2 # From configure.in Id: configure.in 61971 2009-09-19 08:51:11Z JMS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
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
706 LIBGNOMEPRINTUI_CFLAGS
814 ICC_PCH_CREATE_SWITCH
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_DFB_USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
937 COND_TOOLKIT_MGL_USE_GUI_1
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
958 COND_TOOLKIT_X11_USE_GUI_1
960 COND_USE_EXCEPTIONS_0
961 COND_USE_EXCEPTIONS_1
964 COND_USE_GUI_1_USE_OPENGL_1
965 COND_USE_GUI_1_WXUNIV_0
966 COND_USE_GUI_1_WXUNIV_1
967 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
978 COND_USE_SOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
982 COND_USE_SOVERSOLARIS_1
987 COND_WINDOWS_IMPLIB_1
988 COND_WITH_PLUGIN_SDL_1
991 COND_WXUSE_EXPAT_BUILTIN
992 COND_WXUSE_LIBJPEG_BUILTIN
993 COND_WXUSE_LIBPNG_BUILTIN
994 COND_WXUSE_LIBTIFF_BUILTIN
995 COND_WXUSE_REGEX_BUILTIN
996 COND_WXUSE_ZLIB_BUILTIN
997 COND_wxUSE_EXPAT_builtin
998 COND_wxUSE_LIBJPEG_builtin
999 COND_wxUSE_LIBPNG_builtin
1000 COND_wxUSE_LIBTIFF_builtin
1001 COND_wxUSE_REGEX_builtin
1002 COND_wxUSE_ZLIB_builtin
1005 WX_LIBRARY_BASENAME_NOGUI
1006 WX_LIBRARY_BASENAME_GUI
1025 WXCONFIG_LDFLAGS_GUI
1037 WX_RESOURCES_MACOSX_ASCII
1038 WX_RESOURCES_MACOSX_DATA
1048 ac_precious_vars='build_alias
1072 LIBGNOMEPRINTUI_CFLAGS
1073 LIBGNOMEPRINTUI_LIBS
1084 ac_subdirs_all='src/tiff
1087 # Initialize some variables set by options.
1089 ac_init_version=false
1090 # The variables have the same names as the options, with
1091 # dashes changed to underlines.
1092 cache_file=/dev/null
1099 program_transform_name=s,x,x,
1107 # Installation directory options.
1108 # These are left unexpanded so users can "make install exec_prefix=/foo"
1109 # and all the variables that are supposed to be based on exec_prefix
1110 # by default will actually change.
1111 # Use braces instead of parens because sh, perl, etc. also accept them.
1112 # (The list follows the same order as the GNU Coding Standards.)
1113 bindir='${exec_prefix}/bin'
1114 sbindir='${exec_prefix}/sbin'
1115 libexecdir='${exec_prefix}/libexec'
1116 datarootdir='${prefix}/share'
1117 datadir='${datarootdir}'
1118 sysconfdir='${prefix}/etc'
1119 sharedstatedir='${prefix}/com'
1120 localstatedir='${prefix}/var'
1121 includedir='${prefix}/include'
1122 oldincludedir='/usr/include'
1123 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1124 infodir='${datarootdir}/info'
1129 libdir='${exec_prefix}/lib'
1130 localedir='${datarootdir}/locale'
1131 mandir='${datarootdir}/man'
1137 # If the previous option needs an argument, assign it.
1138 if test -n "$ac_prev"; then
1139 eval $ac_prev=\$ac_option
1145 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1149 # Accept the important Cygnus configure options, so we can diagnose typos.
1151 case $ac_dashdash$ac_option in
1155 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1157 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1158 bindir=$ac_optarg ;;
1160 -build | --build | --buil | --bui | --bu)
1161 ac_prev=build_alias ;;
1162 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1163 build_alias=$ac_optarg ;;
1165 -cache-file | --cache-file | --cache-fil | --cache-fi \
1166 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1167 ac_prev=cache_file ;;
1168 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1169 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1170 cache_file=$ac_optarg ;;
1172 --config-cache | -C)
1173 cache_file=config.cache ;;
1175 -datadir | --datadir | --datadi | --datad)
1177 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1178 datadir=$ac_optarg ;;
1180 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1181 | --dataroo | --dataro | --datar)
1182 ac_prev=datarootdir ;;
1183 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1184 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1185 datarootdir=$ac_optarg ;;
1187 -disable-* | --disable-*)
1188 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1192 { (exit 1); exit 1; }; }
1193 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1194 eval enable_$ac_feature=no ;;
1196 -docdir | --docdir | --docdi | --doc | --do)
1198 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1199 docdir=$ac_optarg ;;
1201 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1203 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1204 dvidir=$ac_optarg ;;
1206 -enable-* | --enable-*)
1207 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1210 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1211 { (exit 1); exit 1; }; }
1212 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1213 eval enable_$ac_feature=\$ac_optarg ;;
1215 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1216 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1217 | --exec | --exe | --ex)
1218 ac_prev=exec_prefix ;;
1219 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1220 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1221 | --exec=* | --exe=* | --ex=*)
1222 exec_prefix=$ac_optarg ;;
1224 -gas | --gas | --ga | --g)
1225 # Obsolete; use --with-gas.
1228 -help | --help | --hel | --he | -h)
1229 ac_init_help=long ;;
1230 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1231 ac_init_help=recursive ;;
1232 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1233 ac_init_help=short ;;
1235 -host | --host | --hos | --ho)
1236 ac_prev=host_alias ;;
1237 -host=* | --host=* | --hos=* | --ho=*)
1238 host_alias=$ac_optarg ;;
1240 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1242 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1244 htmldir=$ac_optarg ;;
1246 -includedir | --includedir | --includedi | --included | --include \
1247 | --includ | --inclu | --incl | --inc)
1248 ac_prev=includedir ;;
1249 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1250 | --includ=* | --inclu=* | --incl=* | --inc=*)
1251 includedir=$ac_optarg ;;
1253 -infodir | --infodir | --infodi | --infod | --info | --inf)
1255 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1256 infodir=$ac_optarg ;;
1258 -libdir | --libdir | --libdi | --libd)
1260 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1261 libdir=$ac_optarg ;;
1263 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1264 | --libexe | --libex | --libe)
1265 ac_prev=libexecdir ;;
1266 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1267 | --libexe=* | --libex=* | --libe=*)
1268 libexecdir=$ac_optarg ;;
1270 -localedir | --localedir | --localedi | --localed | --locale)
1271 ac_prev=localedir ;;
1272 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1273 localedir=$ac_optarg ;;
1275 -localstatedir | --localstatedir | --localstatedi | --localstated \
1276 | --localstate | --localstat | --localsta | --localst | --locals)
1277 ac_prev=localstatedir ;;
1278 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1279 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1280 localstatedir=$ac_optarg ;;
1282 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1284 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1285 mandir=$ac_optarg ;;
1287 -nfp | --nfp | --nf)
1288 # Obsolete; use --without-fp.
1291 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1292 | --no-cr | --no-c | -n)
1295 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1296 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1299 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1300 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1301 | --oldin | --oldi | --old | --ol | --o)
1302 ac_prev=oldincludedir ;;
1303 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1304 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1305 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1306 oldincludedir=$ac_optarg ;;
1308 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1310 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1311 prefix=$ac_optarg ;;
1313 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1314 | --program-pre | --program-pr | --program-p)
1315 ac_prev=program_prefix ;;
1316 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1317 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1318 program_prefix=$ac_optarg ;;
1320 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1321 | --program-suf | --program-su | --program-s)
1322 ac_prev=program_suffix ;;
1323 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1324 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1325 program_suffix=$ac_optarg ;;
1327 -program-transform-name | --program-transform-name \
1328 | --program-transform-nam | --program-transform-na \
1329 | --program-transform-n | --program-transform- \
1330 | --program-transform | --program-transfor \
1331 | --program-transfo | --program-transf \
1332 | --program-trans | --program-tran \
1333 | --progr-tra | --program-tr | --program-t)
1334 ac_prev=program_transform_name ;;
1335 -program-transform-name=* | --program-transform-name=* \
1336 | --program-transform-nam=* | --program-transform-na=* \
1337 | --program-transform-n=* | --program-transform-=* \
1338 | --program-transform=* | --program-transfor=* \
1339 | --program-transfo=* | --program-transf=* \
1340 | --program-trans=* | --program-tran=* \
1341 | --progr-tra=* | --program-tr=* | --program-t=*)
1342 program_transform_name=$ac_optarg ;;
1344 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1346 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1347 pdfdir=$ac_optarg ;;
1349 -psdir | --psdir | --psdi | --psd | --ps)
1351 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1354 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1355 | -silent | --silent | --silen | --sile | --sil)
1358 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1360 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1362 sbindir=$ac_optarg ;;
1364 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1365 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1366 | --sharedst | --shareds | --shared | --share | --shar \
1368 ac_prev=sharedstatedir ;;
1369 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1370 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1371 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1373 sharedstatedir=$ac_optarg ;;
1375 -site | --site | --sit)
1377 -site=* | --site=* | --sit=*)
1380 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1382 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1383 srcdir=$ac_optarg ;;
1385 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1386 | --syscon | --sysco | --sysc | --sys | --sy)
1387 ac_prev=sysconfdir ;;
1388 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1389 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1390 sysconfdir=$ac_optarg ;;
1392 -target | --target | --targe | --targ | --tar | --ta | --t)
1393 ac_prev=target_alias ;;
1394 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1395 target_alias=$ac_optarg ;;
1397 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1400 -version | --version | --versio | --versi | --vers | -V)
1401 ac_init_version=: ;;
1404 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1405 # Reject names that are not valid shell variable names.
1406 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1407 { echo "$as_me: error: invalid package name: $ac_package" >&2
1408 { (exit 1); exit 1; }; }
1409 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1410 eval with_$ac_package=\$ac_optarg ;;
1412 -without-* | --without-*)
1413 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid package name: $ac_package" >&2
1417 { (exit 1); exit 1; }; }
1418 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1419 eval with_$ac_package=no ;;
1422 # Obsolete; use --with-x.
1425 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1426 | --x-incl | --x-inc | --x-in | --x-i)
1427 ac_prev=x_includes ;;
1428 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1429 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1430 x_includes=$ac_optarg ;;
1432 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1433 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1434 ac_prev=x_libraries ;;
1435 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1436 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1437 x_libraries=$ac_optarg ;;
1439 -*) { echo "$as_me: error: unrecognized option: $ac_option
1440 Try \`$0 --help' for more information." >&2
1441 { (exit 1); exit 1; }; }
1445 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1446 # Reject names that are not valid shell variable names.
1447 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1448 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1449 { (exit 1); exit 1; }; }
1450 eval $ac_envvar=\$ac_optarg
1451 export $ac_envvar ;;
1454 # FIXME: should be removed in autoconf 3.0.
1455 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1456 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1457 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1458 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1464 if test -n "$ac_prev"; then
1465 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1466 { echo "$as_me: error: missing argument to $ac_option" >&2
1467 { (exit 1); exit 1; }; }
1470 # Be sure to have absolute directory names.
1471 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1472 datadir sysconfdir sharedstatedir localstatedir includedir \
1473 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1474 libdir localedir mandir
1476 eval ac_val=\$$ac_var
1478 [\\/$]* | ?:[\\/]* ) continue;;
1479 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1481 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1482 { (exit 1); exit 1; }; }
1485 # There might be people who depend on the old broken behavior: `$host'
1486 # used to hold the argument of --host etc.
1487 # FIXME: To remove some day.
1490 target=$target_alias
1492 # FIXME: To remove some day.
1493 if test "x$host_alias" != x; then
1494 if test "x$build_alias" = x; then
1495 cross_compiling=maybe
1496 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1497 If a cross compiler is detected then cross compile mode will be used." >&2
1498 elif test "x$build_alias" != "x$host_alias"; then
1504 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1506 test "$silent" = yes && exec 6>/dev/null
1509 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1510 ac_ls_di=`ls -di .` &&
1511 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1512 { echo "$as_me: error: Working directory cannot be determined" >&2
1513 { (exit 1); exit 1; }; }
1514 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1515 { echo "$as_me: error: pwd does not report name of working directory" >&2
1516 { (exit 1); exit 1; }; }
1519 # Find the source files, if location was not specified.
1520 if test -z "$srcdir"; then
1521 ac_srcdir_defaulted=yes
1522 # Try the directory containing this script, then the parent directory.
1523 ac_confdir=`$as_dirname -- "$0" ||
1524 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1525 X"$0" : 'X\(//\)[^/]' \| \
1526 X"$0" : 'X\(//\)$' \| \
1527 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1551 ac_srcdir_defaulted=no
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1554 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1555 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1556 { (exit 1); exit 1; }; }
1558 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1560 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1561 { (exit 1); exit 1; }; }
1563 # When building in place, set srcdir=.
1564 if test "$ac_abs_confdir" = "$ac_pwd"; then
1567 # Remove unnecessary trailing slashes from srcdir.
1568 # Double slashes in file names in object file debugging info
1569 # mess up M-x gdb in Emacs.
1571 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1573 for ac_var in $ac_precious_vars; do
1574 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1575 eval ac_env_${ac_var}_value=\$${ac_var}
1576 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1577 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1581 # Report the --help message.
1583 if test "$ac_init_help" = "long"; then
1584 # Omit some internal or obsolete options to make the list less imposing.
1585 # This message is too long to be a string in the A/UX 3.1 sh.
1587 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1589 Usage: $0 [OPTION]... [VAR=VALUE]...
1591 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1592 VAR=VALUE. See below for descriptions of some of the useful variables.
1594 Defaults for the options are specified in brackets.
1597 -h, --help display this help and exit
1598 --help=short display options specific to this package
1599 --help=recursive display the short help of all the included packages
1600 -V, --version display version information and exit
1601 -q, --quiet, --silent do not print \`checking...' messages
1602 --cache-file=FILE cache test results in FILE [disabled]
1603 -C, --config-cache alias for \`--cache-file=config.cache'
1604 -n, --no-create do not create output files
1605 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1607 Installation directories:
1608 --prefix=PREFIX install architecture-independent files in PREFIX
1609 [$ac_default_prefix]
1610 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1613 By default, \`make install' will install all the files in
1614 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1615 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1616 for instance \`--prefix=\$HOME'.
1618 For better control, use the options below.
1620 Fine tuning of the installation directories:
1621 --bindir=DIR user executables [EPREFIX/bin]
1622 --sbindir=DIR system admin executables [EPREFIX/sbin]
1623 --libexecdir=DIR program executables [EPREFIX/libexec]
1624 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1625 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1626 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1627 --libdir=DIR object code libraries [EPREFIX/lib]
1628 --includedir=DIR C header files [PREFIX/include]
1629 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1630 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1631 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1632 --infodir=DIR info documentation [DATAROOTDIR/info]
1633 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1634 --mandir=DIR man documentation [DATAROOTDIR/man]
1635 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1636 --htmldir=DIR html documentation [DOCDIR]
1637 --dvidir=DIR dvi documentation [DOCDIR]
1638 --pdfdir=DIR pdf documentation [DOCDIR]
1639 --psdir=DIR ps documentation [DOCDIR]
1645 --x-includes=DIR X include files are in DIR
1646 --x-libraries=DIR X library files are in DIR
1649 --build=BUILD configure for building on BUILD [guessed]
1650 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1654 if test -n "$ac_init_help"; then
1655 case $ac_init_help in
1656 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1661 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1662 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1663 --disable-gui don't build GUI parts of the library
1664 --enable-monolithic build wxWidgets as single library
1665 --enable-plugins build parts of wxWidgets as loadable components
1666 --enable-official_build official build of wxWidgets (win32 DLL only)
1667 --enable-vendor=VENDOR vendor name (win32 DLL only)
1668 --disable-all-features disable all optional features to build minimal library
1669 --enable-universal use wxWidgets GUI controls instead of native ones
1670 --enable-nanox use NanoX
1671 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1672 --enable-gpe use GNOME PDA Environment features if possible
1673 --enable-debug build library for debugging
1674 --disable-debug_flag disable all debugging support
1675 --enable-debug_info generate debug information
1676 --enable-debug_gdb create code with extra GDB debugging information
1677 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1678 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1679 --disable-shared create static library instead of shared
1680 --enable-stl use STL for containers
1681 --enable-std_iostreams use standard C++ stream classes
1682 --enable-std_string use standard C++ string classes
1683 --disable-unicode compile without Unicode support
1684 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1685 --enable-utf8 use UTF-8 representation for strings (Unix only)
1686 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1687 --enable-extended_rtti use extended RTTI (XTI)
1688 --enable-omf use OMF object format
1689 --disable-optimise compile without optimisations
1690 --enable-profile create code with profiling information
1691 --enable-no_rtti create code without RTTI information
1692 --enable-no_exceptions create code without C++ exceptions handling
1693 --enable-permissive compile code disregarding strict ANSI
1694 --enable-no_deps create code without dependency information
1695 --disable-vararg_macros don't use vararg macros, even if they are supported
1696 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1697 --enable-compat26 enable wxWidgets 2.6 compatibility
1698 --disable-compat28 disable wxWidgets 2.8 compatibility
1699 --disable-rpath disable use of rpath for uninstalled builds
1700 --enable-objc_uniquifying enable Objective-C class name uniquifying
1701 --disable-visibility disable use of ELF symbols visibility even if supported
1702 --disable-tls disable use of compiler TLS support
1703 --enable-intl use internationalization system
1704 --enable-xlocale use x-locale support (requires wxLocale)
1705 --enable-config use wxConfig (and derived) classes
1706 --enable-protocols use wxProtocol and derived classes
1707 --enable-ftp use wxFTP (requires wxProtocol
1708 --enable-http use wxHTTP (requires wxProtocol
1709 --enable-fileproto use wxFileProto class (requires wxProtocol
1710 --enable-sockets use socket/network classes
1711 --enable-ipv6 enable IPv6 support in wxSocket
1712 --enable-ole use OLE classes (Win32 only)
1713 --enable-dataobj use data object classes
1714 --enable-ipc use interprocess communication (wxSocket etc.)
1715 --enable-baseevtloop use event loop in console programs too
1716 --enable-epollloop use wxEpollDispatcher class (Linux only)
1717 --enable-selectloop use wxSelectDispatcher class
1718 --enable-any use wxAny class
1719 --enable-apple_ieee use the Apple IEEE codec
1720 --enable-arcstream use wxArchive streams
1721 --enable-base64 use base64 encoding/decoding functions
1722 --enable-backtrace use wxStackWalker class for getting backtraces
1723 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1724 --enable-cmdline use wxCmdLineParser class
1725 --enable-datetime use wxDateTime class
1726 --enable-debugreport use wxDebugReport class
1727 --enable-dialupman use dialup network classes
1728 --enable-dynlib use wxLibrary class for DLL loading
1729 --enable-dynamicloader use (new) wxDynamicLibrary class
1730 --enable-exceptions build exception-safe library
1731 --enable-ffile use wxFFile class
1732 --enable-file use wxFile class
1733 --enable-filesystem use virtual file systems classes
1734 --enable-fontenum use wxFontEnumerator class
1735 --enable-fontmap use font encodings conversion classes
1736 --enable-fs_archive use virtual archive filesystems
1737 --enable-fs_inet use virtual HTTP/FTP filesystems
1738 --enable-fs_zip now replaced by fs_archive
1739 --enable-geometry use geometry class
1740 --enable-log use logging system
1741 --enable-longlong use wxLongLong class
1742 --enable-mimetype use wxMimeTypesManager
1743 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1744 --enable-snglinst use wxSingleInstanceChecker class
1745 --enable-sound use wxSound class
1746 --enable-stdpaths use wxStandardPaths class
1747 --enable-stopwatch use wxStopWatch class
1748 --enable-streams use wxStream etc classes
1749 --enable-sysoptions use wxSystemOptions
1750 --enable-tarstream use wxTar streams
1751 --enable-textbuf use wxTextBuffer class
1752 --enable-textfile use wxTextFile class
1753 --enable-timer use wxTimer class
1754 --enable-variant use wxVariant class
1755 --enable-zipstream use wxZip streams
1756 --enable-url use wxURL class
1757 --enable-protocol use wxProtocol class
1758 --enable-protocol-http HTTP support in wxProtocol
1759 --enable-protocol-ftp FTP support in wxProtocol
1760 --enable-protocol-file FILE support in wxProtocol
1761 --enable-threads use threads
1762 --enable-iniconf use wxIniConfig (Win32 only)
1763 --enable-regkey use wxRegKey class (Win32 only)
1764 --enable-docview use document view architecture
1765 --enable-help use help subsystem
1766 --enable-mshtmlhelp use MS HTML Help (win32)
1767 --enable-html use wxHTML sub-library
1768 --enable-htmlhelp use wxHTML-based help
1769 --enable-xrc use XRC resources sub-library
1770 --enable-aui use AUI docking library
1771 --enable-propgrid use wxPropertyGrid library
1772 --enable-ribbon use wxRibbon library
1773 --enable-stc use wxStyledTextCtrl library
1774 --enable-constraints use layout-constraints system
1775 --enable-loggui use standard GUI logger
1776 --enable-logwin use wxLogWindow
1777 --enable-logdialog use wxLogDialog
1778 --enable-mdi use multiple document interface architecture
1779 --enable-mdidoc use docview architecture with MDI
1780 --enable-mediactrl use wxMediaCtrl class
1781 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1782 --enable-webkit use wxWebKitCtrl (Mac)
1783 --enable-richtext use wxRichTextCtrl
1784 --enable-graphics_ctx use graphics context 2D drawing API
1785 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1786 --enable-printarch use printing architecture
1787 --enable-svg use wxSVGFileDC device context
1788 --enable-clipboard use wxClipboard class
1789 --enable-dnd use Drag'n'Drop classes
1790 --enable-metafile use win32 metafiles
1791 --disable-controls disable compilation of all standard controls
1792 --enable-accel use accelerators
1793 --enable-animatectrl use wxAnimationCtrl class
1794 --enable-bmpbutton use wxBitmapButton class
1795 --enable-bmpcombobox use wxBitmapComboBox class
1796 --enable-button use wxButton class
1797 --enable-calendar use wxCalendarCtrl class
1798 --enable-caret use wxCaret class
1799 --enable-checkbox use wxCheckBox class
1800 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1801 --enable-choice use wxChoice class
1802 --enable-choicebook use wxChoicebook class
1803 --enable-collpane use wxCollapsiblePane class
1804 --enable-colourpicker use wxColourPickerCtrl class
1805 --enable-combobox use wxComboBox class
1806 --enable-comboctrl use wxComboCtrl class
1807 --enable-dataviewctrl use wxDataViewCtrl class
1808 --enable-datepick use wxDatePickerCtrl class
1809 --enable-detect_sm use code to detect X11 session manager
1810 --enable-dirpicker use wxDirPickerCtrl class
1811 --enable-display use wxDisplay class
1812 --enable-editablebox use wxEditableListBox class
1813 --enable-filectrl use wxFileCtrl class
1814 --enable-filepicker use wxFilePickerCtrl class
1815 --enable-fontpicker use wxFontPickerCtrl class
1816 --enable-gauge use wxGauge class
1817 --enable-grid use wxGrid class
1818 --enable-headerctrl use wxHeaderCtrl class
1819 --enable-hyperlink use wxHyperlinkCtrl class
1820 --enable-imaglist use wxImageList class
1821 --enable-listbook use wxListbook class
1822 --enable-listbox use wxListBox class
1823 --enable-listctrl use wxListCtrl class
1824 --enable-notebook use wxNotebook class
1825 --enable-notifmsg use wxNotificationMessage class
1826 --enable-odcombobox use wxOwnerDrawnComboBox class
1827 --enable-popupwin use wxPopUpWindow class
1828 --enable-radiobox use wxRadioBox class
1829 --enable-radiobtn use wxRadioButton class
1830 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1831 --enable-sash use wxSashWindow class
1832 --enable-scrollbar use wxScrollBar class and scrollable windows
1833 --enable-searchctrl use wxSearchCtrl class
1834 --enable-slider use wxSlider class
1835 --enable-spinbtn use wxSpinButton class
1836 --enable-spinctrl use wxSpinCtrl class
1837 --enable-splitter use wxSplitterWindow class
1838 --enable-statbmp use wxStaticBitmap class
1839 --enable-statbox use wxStaticBox class
1840 --enable-statline use wxStaticLine class
1841 --enable-stattext use wxStaticText class
1842 --enable-statusbar use wxStatusBar class
1843 --enable-taskbaricon use wxTaskBarIcon class
1844 --enable-tbarnative use native wxToolBar class
1845 --enable-textctrl use wxTextCtrl class
1846 --enable-tipwindow use wxTipWindow class
1847 --enable-togglebtn use wxToggleButton class
1848 --enable-toolbar use wxToolBar class
1849 --enable-toolbook use wxToolbook class
1850 --enable-treebook use wxTreebook class
1851 --enable-treectrl use wxTreeCtrl class
1852 --enable-commondlg use all common dialogs
1853 --enable-aboutdlg use wxAboutBox
1854 --enable-choicedlg use wxChoiceDialog
1855 --enable-coldlg use wxColourDialog
1856 --enable-filedlg use wxFileDialog
1857 --enable-finddlg use wxFindReplaceDialog
1858 --enable-fontdlg use wxFontDialog
1859 --enable-dirdlg use wxDirDialog
1860 --enable-msgdlg use wxMessageDialog
1861 --enable-numberdlg use wxNumberEntryDialog
1862 --enable-splash use wxSplashScreen
1863 --enable-textdlg use wxTextDialog
1864 --enable-tipdlg use startup tips
1865 --enable-progressdlg use wxProgressDialog
1866 --enable-wizarddlg use wxWizard
1867 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1868 --enable-miniframe use wxMiniFrame class
1869 --enable-tooltips use wxToolTip class
1870 --enable-splines use spline drawing code
1871 --enable-mousewheel use mousewheel
1872 --enable-validators use wxValidator and derived classes
1873 --enable-busyinfo use wxBusyInfo
1874 --enable-joystick use wxJoystick
1875 --enable-metafiles use wxMetaFile (Win32 only)
1876 --enable-dragimage use wxDragImage
1877 --enable-accessibility enable accessibility support
1878 --enable-palette use wxPalette class
1879 --enable-image use wxImage class
1880 --enable-gif use gif images (GIF file format)
1881 --enable-pcx use pcx images (PCX file format)
1882 --enable-tga use tga images (TGA file format)
1883 --enable-iff use iff images (IFF file format)
1884 --enable-pnm use pnm images (PNM file format)
1885 --enable-xpm use xpm images (XPM file format)
1886 --enable-ico_cur use Windows ICO and CUR formats
1887 --enable-dccache cache temporary wxDC objects (Win32 only)
1888 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1889 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1890 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1891 --enable-wxdib use wxDIB class (Win32 only)
1892 --enable-autoidman use automatic ids management
1893 --disable-largefile omit support for large files
1894 --disable-gtktest do not try to compile and run a test GTK+ program
1895 --disable-gtktest Do not try to compile and run a test GTK program
1896 --disable-sdltest Do not try to compile and run a test SDL program
1897 --enable-omf use OMF object format (OS/2)
1898 --disable-dependency-tracking
1899 don't use dependency tracking even if the compiler
1901 --disable-precomp-headers
1902 don't use precompiled headers even if compiler can
1905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1907 --without-subdirs don't generate makefiles for samples/demos/...
1908 --with-flavour=NAME specify a name to identify this build
1909 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1910 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1911 --with-motif use Motif/Lesstif
1912 --with-osx_carbon use Mac OS X (Carbon)
1913 --with-osx_cocoa use Mac OS X (Cocoa)
1914 --with-mac use Mac OS X (Default)
1915 --with-cocoa use Cocoa
1916 --with-wine use Wine
1917 --with-msw use MS-Windows
1918 --with-pm use OS/2 Presentation Manager
1919 --with-mgl use SciTech MGL
1920 --with-directfb use DirectFB
1921 --with-microwin use MicroWindows
1923 --with-libpng use libpng (PNG image format)
1924 --with-libjpeg use libjpeg (JPEG file format)
1925 --with-libtiff use libtiff (TIFF file format)
1926 --with-libxpm use libxpm (XPM file format)
1927 --with-libiconv use libiconv (character conversion)
1928 --with-libmspack use libmspack (CHM help files loading)
1929 --without-gtkprint don't use GTK printing support
1930 --without-gnomeprint don't use GNOME printing libraries
1931 --with-gnomevfs use GNOME VFS for associating MIME types
1932 --with-hildon use Hildon framework for Nokia 770/800/810
1933 --with-opengl use OpenGL (or Mesa)
1934 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1935 --with-sdl use SDL for audio on Unix
1936 --with-regex enable support for wxRegEx class
1937 --with-zlib use zlib for LZW compression
1938 --with-expat enable XML support using expat parser
1939 --with-macosx-sdk=PATH use an OS X SDK at PATH
1940 --with-macosx-version-min=VER build binaries which require at least this OS X version
1941 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1942 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1943 --with-x use the X Window System
1944 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1945 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1946 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1947 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1948 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1950 Some influential environment variables:
1951 CC C compiler command
1952 CFLAGS C compiler flags
1953 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1954 nonstandard directory <lib dir>
1955 LIBS libraries to pass to the linker, e.g. -l<library>
1956 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1957 you have headers in a nonstandard directory <include dir>
1959 CXX C++ compiler command
1960 CXXFLAGS C++ compiler flags
1961 PKG_CONFIG path to pkg-config utility
1963 C compiler flags for DIRECTFB, overriding pkg-config
1965 linker flags for DIRECTFB, overriding pkg-config
1966 XMKMF Path to xmkmf, Makefile generator for X Window System
1968 C compiler flags for PANGOX, overriding pkg-config
1969 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1971 C compiler flags for PANGOFT2, overriding pkg-config
1973 linker flags for PANGOFT2, overriding pkg-config
1975 C compiler flags for PANGOXFT, overriding pkg-config
1977 linker flags for PANGOXFT, overriding pkg-config
1979 C compiler flags for GTKPRINT, overriding pkg-config
1981 linker flags for GTKPRINT, overriding pkg-config
1982 LIBGNOMEPRINTUI_CFLAGS
1983 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1984 LIBGNOMEPRINTUI_LIBS
1985 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1987 C compiler flags for GNOMEVFS, overriding pkg-config
1989 linker flags for GNOMEVFS, overriding pkg-config
1991 C compiler flags for HILDON, overriding pkg-config
1992 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1994 C compiler flags for HILDON2, overriding pkg-config
1996 linker flags for HILDON2, overriding pkg-config
1998 C compiler flags for CAIRO, overriding pkg-config
1999 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2000 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2001 GST_LIBS linker flags for GST, overriding pkg-config
2003 Use these variables to override the choices made by `configure' or to help
2004 it to find libraries and programs with nonstandard names/locations.
2006 Report bugs to <wx-dev@lists.wxwidgets.org>.
2011 if test "$ac_init_help" = "recursive"; then
2012 # If there are subdirs, report their specific --help.
2013 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2014 test -d "$ac_dir" || continue
2018 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2020 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2021 # A ".." for each directory in $ac_dir_suffix.
2022 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2023 case $ac_top_builddir_sub in
2024 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2025 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2028 ac_abs_top_builddir=$ac_pwd
2029 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2030 # for backward compatibility:
2031 ac_top_builddir=$ac_top_build_prefix
2034 .) # We are building in place.
2036 ac_top_srcdir=$ac_top_builddir_sub
2037 ac_abs_top_srcdir=$ac_pwd ;;
2038 [\\/]* | ?:[\\/]* ) # Absolute name.
2039 ac_srcdir=$srcdir$ac_dir_suffix;
2040 ac_top_srcdir=$srcdir
2041 ac_abs_top_srcdir=$srcdir ;;
2043 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2044 ac_top_srcdir=$ac_top_build_prefix$srcdir
2045 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2047 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2049 cd "$ac_dir" || { ac_status=$?; continue; }
2050 # Check for guested configure.
2051 if test -f "$ac_srcdir/configure.gnu"; then
2053 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2054 elif test -f "$ac_srcdir/configure"; then
2056 $SHELL "$ac_srcdir/configure" --help=recursive
2058 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2060 cd "$ac_pwd" || { ac_status=$?; break; }
2064 test -n "$ac_init_help" && exit $ac_status
2065 if $ac_init_version; then
2067 wxWidgets configure 2.9.1
2068 generated by GNU Autoconf 2.61
2070 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2071 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2072 This configure script is free software; the Free Software Foundation
2073 gives unlimited permission to copy, distribute and modify it.
2077 cat >config.log <<_ACEOF
2078 This file contains any messages produced by compilers while
2079 running configure, to aid debugging if configure makes a mistake.
2081 It was created by wxWidgets $as_me 2.9.1, which was
2082 generated by GNU Autoconf 2.61. Invocation command line was
2094 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2095 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2096 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2097 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2098 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2100 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2101 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2103 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2104 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2105 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2106 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2107 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2108 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2109 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 test -z "$as_dir" && as_dir=.
2118 echo "PATH: $as_dir"
2134 # Keep a trace of the command line.
2135 # Strip out --no-create and --no-recursion so they do not pile up.
2136 # Strip out --silent because we don't want to record it for future runs.
2137 # Also quote any args containing shell meta-characters.
2138 # Make two passes to allow for proper duplicate-argument suppression.
2142 ac_must_keep_next=false
2148 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2149 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2150 | -silent | --silent | --silen | --sile | --sil)
2153 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2158 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2159 if test $ac_must_keep_next = true; then
2160 ac_must_keep_next=false # Got value, back to normal.
2163 *=* | --config-cache | -C | -disable-* | --disable-* \
2164 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2165 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2166 | -with-* | --with-* | -without-* | --without-* | --x)
2167 case "$ac_configure_args0 " in
2168 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2171 -* ) ac_must_keep_next=true ;;
2174 ac_configure_args="$ac_configure_args '$ac_arg'"
2179 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2180 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2182 # When interrupted or exit'd, cleanup temporary files, and complete
2183 # config.log. We remove comments because anyway the quotes in there
2184 # would cause problems or look ugly.
2185 # WARNING: Use '\'' to represent an apostrophe within the trap.
2186 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2187 trap 'exit_status=$?
2188 # Save into config.log some information that might help in debugging.
2193 ## ---------------- ##
2194 ## Cache variables. ##
2195 ## ---------------- ##
2198 # The following way of writing the cache mishandles newlines in values,
2200 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2201 eval ac_val=\$$ac_var
2205 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2206 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2209 _ | IFS | as_nl) ;; #(
2210 *) $as_unset $ac_var ;;
2215 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2216 *${as_nl}ac_space=\ *)
2218 "s/'\''/'\''\\\\'\'''\''/g;
2219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2222 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2230 ## ----------------- ##
2231 ## Output variables. ##
2232 ## ----------------- ##
2235 for ac_var in $ac_subst_vars
2237 eval ac_val=\$$ac_var
2239 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 echo "$ac_var='\''$ac_val'\''"
2245 if test -n "$ac_subst_files"; then
2247 ## ------------------- ##
2248 ## File substitutions. ##
2249 ## ------------------- ##
2252 for ac_var in $ac_subst_files
2254 eval ac_val=\$$ac_var
2256 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 echo "$ac_var='\''$ac_val'\''"
2263 if test -s confdefs.h; then
2273 test "$ac_signal" != 0 &&
2274 echo "$as_me: caught signal $ac_signal"
2275 echo "$as_me: exit $exit_status"
2277 rm -f core *.core core.conftest.* &&
2278 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2281 for ac_signal in 1 2 13 15; do
2282 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2286 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2287 rm -f -r conftest* confdefs.h
2289 # Predefined preprocessor variables.
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_NAME "$PACKAGE_NAME"
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_STRING "$PACKAGE_STRING"
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2316 # Let the site file select an alternate cache file if it wants to.
2317 # Prefer explicitly selected file to automatically selected ones.
2318 if test -n "$CONFIG_SITE"; then
2319 set x "$CONFIG_SITE"
2320 elif test "x$prefix" != xNONE; then
2321 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2323 set x "$ac_default_prefix/share/config.site" \
2324 "$ac_default_prefix/etc/config.site"
2329 if test -r "$ac_site_file"; then
2330 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2331 echo "$as_me: loading site script $ac_site_file" >&6;}
2332 sed 's/^/| /' "$ac_site_file" >&5
2337 if test -r "$cache_file"; then
2338 # Some versions of bash will fail to source /dev/null (special
2339 # files actually), so we avoid doing that.
2340 if test -f "$cache_file"; then
2341 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2342 echo "$as_me: loading cache $cache_file" >&6;}
2344 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2345 *) . "./$cache_file";;
2349 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2350 echo "$as_me: creating cache $cache_file" >&6;}
2354 # Check that the precious variables saved in the cache have kept the same
2356 ac_cache_corrupted=false
2357 for ac_var in $ac_precious_vars; do
2358 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2359 eval ac_new_set=\$ac_env_${ac_var}_set
2360 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2361 eval ac_new_val=\$ac_env_${ac_var}_value
2362 case $ac_old_set,$ac_new_set in
2364 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2365 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2366 ac_cache_corrupted=: ;;
2368 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2369 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2370 ac_cache_corrupted=: ;;
2373 if test "x$ac_old_val" != "x$ac_new_val"; then
2374 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2375 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2376 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2377 echo "$as_me: former value: $ac_old_val" >&2;}
2378 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2379 echo "$as_me: current value: $ac_new_val" >&2;}
2380 ac_cache_corrupted=:
2383 # Pass precious variables to config.status.
2384 if test "$ac_new_set" = set; then
2386 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2387 *) ac_arg=$ac_var=$ac_new_val ;;
2389 case " $ac_configure_args " in
2390 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2391 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2395 if $ac_cache_corrupted; then
2396 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2397 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2398 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2399 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2400 { (exit 1); exit 1; }; }
2428 ac_cpp='$CPP $CPPFLAGS'
2429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2438 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2439 if test -f "$ac_dir/install-sh"; then
2441 ac_install_sh="$ac_aux_dir/install-sh -c"
2443 elif test -f "$ac_dir/install.sh"; then
2445 ac_install_sh="$ac_aux_dir/install.sh -c"
2447 elif test -f "$ac_dir/shtool"; then
2449 ac_install_sh="$ac_aux_dir/shtool install -c"
2453 if test -z "$ac_aux_dir"; then
2454 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2455 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2456 { (exit 1); exit 1; }; }
2459 # These three variables are undocumented and unsupported,
2460 # and are intended to be withdrawn in a future Autoconf release.
2461 # They can cause serious problems if a builder's source tree is in a directory
2462 # whose full name contains unusual characters.
2463 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2464 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2465 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2468 # Make sure we can run config.sub.
2469 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2470 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2471 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2472 { (exit 1); exit 1; }; }
2474 { echo "$as_me:$LINENO: checking build system type" >&5
2475 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2476 if test "${ac_cv_build+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 ac_build_alias=$build_alias
2480 test "x$ac_build_alias" = x &&
2481 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2482 test "x$ac_build_alias" = x &&
2483 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2484 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2485 { (exit 1); exit 1; }; }
2486 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2487 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2488 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2489 { (exit 1); exit 1; }; }
2492 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2493 echo "${ECHO_T}$ac_cv_build" >&6; }
2494 case $ac_cv_build in
2496 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2497 echo "$as_me: error: invalid value of canonical build" >&2;}
2498 { (exit 1); exit 1; }; };;
2501 ac_save_IFS=$IFS; IFS='-'
2507 # Remember, the first character of IFS is used to create $*,
2508 # except with old shells:
2511 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2514 { echo "$as_me:$LINENO: checking host system type" >&5
2515 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2516 if test "${ac_cv_host+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 if test "x$host_alias" = x; then
2520 ac_cv_host=$ac_cv_build
2522 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2523 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2524 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2525 { (exit 1); exit 1; }; }
2529 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2530 echo "${ECHO_T}$ac_cv_host" >&6; }
2533 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2534 echo "$as_me: error: invalid value of canonical host" >&2;}
2535 { (exit 1); exit 1; }; };;
2538 ac_save_IFS=$IFS; IFS='-'
2544 # Remember, the first character of IFS is used to create $*,
2545 # except with old shells:
2548 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2552 if test "$cross_compiling" != "no"; then
2553 HOST_PREFIX="${host_alias}-"
2554 HOST_SUFFIX="-$host_alias"
2561 wx_major_version_number=2
2562 wx_minor_version_number=9
2564 wx_subrelease_number=0
2566 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2567 WX_VERSION=$WX_RELEASE.$wx_release_number
2568 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2570 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2573 wx_top_builddir="`pwd`"
2586 USE_BSD= USE_DARWIN= USE_FREEBSD=
2592 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2598 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2600 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2602 DEFAULT_wxUSE_COCOA=0
2604 DEFAULT_wxUSE_OSX_CARBON=0
2605 DEFAULT_wxUSE_OSX_COCOA=0
2607 DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_wxUSE_MOTIF=0
2614 DEFAULT_DEFAULT_wxUSE_COCOA=0
2615 DEFAULT_DEFAULT_wxUSE_GTK=0
2616 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2617 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2618 DEFAULT_DEFAULT_wxUSE_MGL=0
2619 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2620 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2621 DEFAULT_DEFAULT_wxUSE_MSW=0
2622 DEFAULT_DEFAULT_wxUSE_PM=0
2623 DEFAULT_DEFAULT_wxUSE_X11=0
2624 DEFAULT_DEFAULT_wxUSE_DFB=0
2628 DYLIB_RPATH_INSTALL=
2629 DYLIB_RPATH_POSTLINK=
2631 DEFAULT_STD_FLAG=yes
2636 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2637 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2638 cat >>confdefs.h <<\_ACEOF
2643 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2647 cat >>confdefs.h <<\_ACEOF
2652 if test "x$TMP" = "xalpha"; then
2654 cat >>confdefs.h <<\_ACEOF
2659 DEFAULT_DEFAULT_wxUSE_GTK=1
2661 *-*-gnu* | *-*-k*bsd*-gnu )
2664 if test "x$TMP" = "xalpha"; then
2666 cat >>confdefs.h <<\_ACEOF
2671 DEFAULT_DEFAULT_wxUSE_GTK=1
2673 *-*-irix5* | *-*-irix6* )
2676 cat >>confdefs.h <<\_ACEOF
2680 cat >>confdefs.h <<\_ACEOF
2684 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 cat >>confdefs.h <<\_ACEOF
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __SOLARIS__ 1
2698 cat >>confdefs.h <<\_ACEOF
2702 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2703 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2709 cat >>confdefs.h <<\_ACEOF
2713 cat >>confdefs.h <<\_ACEOF
2717 cat >>confdefs.h <<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __FREEBSD__ 1
2730 cat >>confdefs.h <<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 *-*-openbsd*|*-*-mirbsd*)
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __OPENBSD__ 1
2743 cat >>confdefs.h <<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __NETBSD__ 1
2756 cat >>confdefs.h <<\_ACEOF
2760 DEFAULT_DEFAULT_wxUSE_GTK=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2763 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2768 cat >>confdefs.h <<\_ACEOF
2772 cat >>confdefs.h <<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2782 cat >>confdefs.h <<\_ACEOF
2786 cat >>confdefs.h <<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 cat >>confdefs.h <<\_ACEOF
2799 cat >>confdefs.h <<\_ACEOF
2803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2809 cat >>confdefs.h <<\_ACEOF
2813 cat >>confdefs.h <<\_ACEOF
2817 cat >>confdefs.h <<\_ACEOF
2821 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __UNIXWARE__ 1
2834 *-*-cygwin* | *-*-mingw32* )
2836 DEFAULT_DEFAULT_wxUSE_MSW=1
2842 cat >>confdefs.h <<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_MGL=1
2850 *-pc-os2_emx | *-pc-os2-emx )
2851 cat >>confdefs.h <<\_ACEOF
2856 cat >>confdefs.h <<\_ACEOF
2861 DEFAULT_DEFAULT_wxUSE_PM=1
2863 LDFLAGS="$LDFLAGS -Zcrtdll"
2864 ac_executable_extensions=".exe"
2865 export ac_executable_extensions
2869 for ac_dir in $PATH; do
2871 if test -z "$ac_TEMP_PATH"; then
2872 ac_TEMP_PATH="$ac_dir"
2874 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2877 export PATH="$ac_TEMP_PATH"
2885 cat >>confdefs.h <<\_ACEOF
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __DARWIN__ 1
2893 cat >>confdefs.h <<\_ACEOF
2894 #define TARGET_CARBON 1
2897 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2902 cat >>confdefs.h <<\_ACEOF
2909 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2910 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2911 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2912 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2914 DEFAULT_DEFAULT_wxUSE_X11=1
2915 DEFAULT_wxUSE_SHARED=no
2920 DEFAULT_wxUSE_ALL_FEATURES=yes
2922 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2923 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_DMALLOC=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS=no
2927 DEFAULT_wxUSE_LIBHILDON=no
2928 DEFAULT_wxUSE_LIBHILDON2=no
2929 DEFAULT_wxUSE_LIBMSPACK=no
2930 DEFAULT_wxUSE_LIBSDL=no
2932 DEFAULT_wxUSE_ACCESSIBILITY=no
2933 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2934 DEFAULT_wxUSE_IPV6=no
2935 DEFAULT_wxUSE_GSTREAMER8=no
2937 DEFAULT_wxUSE_UNICODE_UTF8=auto
2938 DEFAULT_wxUSE_OPENGL=auto
2939 DEFAULT_wxUSE_MEDIACTRL=auto
2940 DEFAULT_wxUSE_COMPILER_TLS=auto
2942 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2944 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2946 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2948 DEFAULT_wxUSE_GTK2=yes
2950 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2956 enablestring=disable
2958 if test -z "$defaultval"; then
2959 if test x"$enablestring" = xdisable; then
2966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2967 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2968 # Check whether --enable-gui was given.
2969 if test "${enable_gui+set}" = set; then
2970 enableval=$enable_gui;
2971 if test "$enableval" = yes; then
2972 wx_cv_use_gui='wxUSE_GUI=yes'
2974 wx_cv_use_gui='wxUSE_GUI=no'
2979 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2984 eval "$wx_cv_use_gui"
2986 if test x"$enablestring" = xdisable; then
2987 if test $wxUSE_GUI = no; then
2996 { echo "$as_me:$LINENO: result: $result" >&5
2997 echo "${ECHO_T}$result" >&6; }
3002 if test -z "$defaultval"; then
3003 if test x"$enablestring" = xdisable; then
3010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3011 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3012 # Check whether --enable-monolithic was given.
3013 if test "${enable_monolithic+set}" = set; then
3014 enableval=$enable_monolithic;
3015 if test "$enableval" = yes; then
3016 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3018 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3023 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3028 eval "$wx_cv_use_monolithic"
3030 if test x"$enablestring" = xdisable; then
3031 if test $wxUSE_MONOLITHIC = no; then
3037 result=$wxUSE_MONOLITHIC
3040 { echo "$as_me:$LINENO: result: $result" >&5
3041 echo "${ECHO_T}$result" >&6; }
3046 if test -z "$defaultval"; then
3047 if test x"$enablestring" = xdisable; then
3054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3055 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3056 # Check whether --enable-plugins was given.
3057 if test "${enable_plugins+set}" = set; then
3058 enableval=$enable_plugins;
3059 if test "$enableval" = yes; then
3060 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3062 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3067 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3072 eval "$wx_cv_use_plugins"
3074 if test x"$enablestring" = xdisable; then
3075 if test $wxUSE_PLUGINS = no; then
3081 result=$wxUSE_PLUGINS
3084 { echo "$as_me:$LINENO: result: $result" >&5
3085 echo "${ECHO_T}$result" >&6; }
3089 defaultval=$wxUSE_ALL_FEATURES
3090 if test -z "$defaultval"; then
3091 if test x"$withstring" = xwithout; then
3097 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3098 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3100 # Check whether --with-subdirs was given.
3101 if test "${with_subdirs+set}" = set; then
3102 withval=$with_subdirs;
3103 if test "$withval" = yes; then
3104 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3106 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3111 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3116 eval "$wx_cv_use_subdirs"
3118 if test x"$withstring" = xwithout; then
3119 if test $wxWITH_SUBDIRS = yes; then
3125 result=$wxWITH_SUBDIRS
3128 { echo "$as_me:$LINENO: result: $result" >&5
3129 echo "${ECHO_T}$result" >&6; }
3132 # Check whether --with-flavour was given.
3133 if test "${with_flavour+set}" = set; then
3134 withval=$with_flavour; WX_FLAVOUR="$withval"
3140 if test -z "$defaultval"; then
3141 if test x"$enablestring" = xdisable; then
3148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3149 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3150 # Check whether --enable-official_build was given.
3151 if test "${enable_official_build+set}" = set; then
3152 enableval=$enable_official_build;
3153 if test "$enableval" = yes; then
3154 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3156 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3161 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3166 eval "$wx_cv_use_official_build"
3168 if test x"$enablestring" = xdisable; then
3169 if test $wxUSE_OFFICIAL_BUILD = no; then
3175 result=$wxUSE_OFFICIAL_BUILD
3178 { echo "$as_me:$LINENO: result: $result" >&5
3179 echo "${ECHO_T}$result" >&6; }
3181 # Check whether --enable-vendor was given.
3182 if test "${enable_vendor+set}" = set; then
3183 enableval=$enable_vendor; VENDOR="$enableval"
3186 if test "x$VENDOR" = "x"; then
3191 enablestring=disable
3193 if test -z "$defaultval"; then
3194 if test x"$enablestring" = xdisable; then
3201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3202 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3203 # Check whether --enable-all-features was given.
3204 if test "${enable_all_features+set}" = set; then
3205 enableval=$enable_all_features;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3209 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3214 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3219 eval "$wx_cv_use_all_features"
3221 if test x"$enablestring" = xdisable; then
3222 if test $wxUSE_ALL_FEATURES = no; then
3228 result=$wxUSE_ALL_FEATURES
3231 { echo "$as_me:$LINENO: result: $result" >&5
3232 echo "${ECHO_T}$result" >&6; }
3235 if test "$wxUSE_ALL_FEATURES" = "no"; then
3236 DEFAULT_wxUSE_MEDIACTRL=no
3240 if test "$wxUSE_GUI" = "yes"; then
3245 if test -z "$defaultval"; then
3246 if test x"$enablestring" = xdisable; then
3253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3254 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3255 # Check whether --enable-universal was given.
3256 if test "${enable_universal+set}" = set; then
3257 enableval=$enable_universal;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3261 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3266 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3271 eval "$wx_cv_use_universal"
3273 if test x"$enablestring" = xdisable; then
3274 if test $wxUSE_UNIVERSAL = no; then
3280 result=$wxUSE_UNIVERSAL
3283 { echo "$as_me:$LINENO: result: $result" >&5
3284 echo "${ECHO_T}$result" >&6; }
3286 if test "$wxUSE_UNIVERSAL" = "yes"; then
3288 # Check whether --with-themes was given.
3289 if test "${with_themes+set}" = set; then
3290 withval=$with_themes; wxUNIV_THEMES="$withval"
3296 # Check whether --with-gtk was given.
3297 if test "${with_gtk+set}" = set; then
3298 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3302 # Check whether --with-motif was given.
3303 if test "${with_motif+set}" = set; then
3304 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3308 # Check whether --with-osx_carbon was given.
3309 if test "${with_osx_carbon+set}" = set; then
3310 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3314 # Check whether --with-osx_cocoa was given.
3315 if test "${with_osx_cocoa+set}" = set; then
3316 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3320 # Check whether --with-mac was given.
3321 if test "${with_mac+set}" = set; then
3322 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3326 # Check whether --with-cocoa was given.
3327 if test "${with_cocoa+set}" = set; then
3328 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3332 # Check whether --with-wine was given.
3333 if test "${with_wine+set}" = set; then
3334 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3338 # Check whether --with-msw was given.
3339 if test "${with_msw+set}" = set; then
3340 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3344 # Check whether --with-pm was given.
3345 if test "${with_pm+set}" = set; then
3346 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-mgl was given.
3351 if test "${with_mgl+set}" = set; then
3352 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-directfb was given.
3357 if test "${with_directfb+set}" = set; then
3358 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-microwin was given.
3363 if test "${with_microwin+set}" = set; then
3364 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-x11 was given.
3369 if test "${with_x11+set}" = set; then
3370 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3376 if test -z "$defaultval"; then
3377 if test x"$enablestring" = xdisable; then
3384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3385 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3386 # Check whether --enable-nanox was given.
3387 if test "${enable_nanox+set}" = set; then
3388 enableval=$enable_nanox;
3389 if test "$enableval" = yes; then
3390 wx_cv_use_nanox='wxUSE_NANOX=yes'
3392 wx_cv_use_nanox='wxUSE_NANOX=no'
3397 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3402 eval "$wx_cv_use_nanox"
3404 if test x"$enablestring" = xdisable; then
3405 if test $wxUSE_NANOX = no; then
3414 { echo "$as_me:$LINENO: result: $result" >&5
3415 echo "${ECHO_T}$result" >&6; }
3418 # Check whether --enable-gtk2 was given.
3419 if test "${enable_gtk2+set}" = set; then
3420 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3426 if test -z "$defaultval"; then
3427 if test x"$enablestring" = xdisable; then
3434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3436 # Check whether --enable-gpe was given.
3437 if test "${enable_gpe+set}" = set; then
3438 enableval=$enable_gpe;
3439 if test "$enableval" = yes; then
3440 wx_cv_use_gpe='wxUSE_GPE=yes'
3442 wx_cv_use_gpe='wxUSE_GPE=no'
3447 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3452 eval "$wx_cv_use_gpe"
3454 if test x"$enablestring" = xdisable; then
3455 if test $wxUSE_GPE = no; then
3464 { echo "$as_me:$LINENO: result: $result" >&5
3465 echo "${ECHO_T}$result" >&6; }
3469 { echo "$as_me:$LINENO: checking for toolkit" >&5
3470 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3474 # In Wine, we need to default to MSW, not GTK or MOTIF
3475 if test "$wxUSE_WINE" = "yes"; then
3476 DEFAULT_DEFAULT_wxUSE_GTK=0
3477 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3478 DEFAULT_DEFAULT_wxUSE_MSW=1
3485 if test "$wxUSE_GUI" = "yes"; then
3487 if test "$USE_BEOS" = 1; then
3488 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3489 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3490 { (exit 1); exit 1; }; }
3493 if test "$TOOLKIT_GIVEN" = 1; then
3494 for toolkit in $ALL_TOOLKITS; do
3496 eval "value=\$${var}"
3497 if test "x$value" = "xno"; then
3499 elif test "x$value" != "x"; then
3503 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3504 eval "wx${toolkit}_VERSION=$value"
3508 for toolkit in $ALL_TOOLKITS; do
3509 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3510 eval "wxUSE_$toolkit=\$${var}"
3514 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3515 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3516 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3519 *-pc-os2_emx | *-pc-os2-emx )
3520 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3523 case "$NUM_TOOLKITS" in
3527 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3528 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3529 { (exit 1); exit 1; }; }
3532 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3533 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3534 { (exit 1); exit 1; }; }
3537 # to be removed when --disable-gtk2 isn't needed
3538 if test "x$wxUSE_GTK2" = "xyes"; then
3540 elif test "x$wxUSE_GTK2" = "xno"; then
3544 for toolkit in $ALL_TOOLKITS; do
3546 eval "value=\$${var}"
3547 if test "$value" = 1; then
3548 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3549 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3550 echo "${ECHO_T}$toolkit_echo" >&6; }
3554 if test "x$host_alias" != "x"; then
3555 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3556 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3558 { echo "$as_me:$LINENO: result: base only" >&5
3559 echo "${ECHO_T}base only" >&6; }
3564 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3570 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3571 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3573 # Check whether --with-libpng was given.
3574 if test "${with_libpng+set}" = set; then
3575 withval=$with_libpng;
3576 if test "$withval" = yes; then
3577 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3578 elif test "$withval" = no; then
3579 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3580 elif test "$withval" = sys; then
3581 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3582 elif test "$withval" = builtin; then
3583 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3585 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3586 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3587 { (exit 1); exit 1; }; }
3592 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3597 eval "$wx_cv_use_libpng"
3599 if test "$wxUSE_LIBPNG" = yes; then
3600 { echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6; }
3602 elif test "$wxUSE_LIBPNG" = no; then
3603 { echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6; }
3605 elif test "$wxUSE_LIBPNG" = sys; then
3606 { echo "$as_me:$LINENO: result: system version" >&5
3607 echo "${ECHO_T}system version" >&6; }
3608 elif test "$wxUSE_LIBPNG" = builtin; then
3609 { echo "$as_me:$LINENO: result: builtin version" >&5
3610 echo "${ECHO_T}builtin version" >&6; }
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3618 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3619 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3621 # Check whether --with-libjpeg was given.
3622 if test "${with_libjpeg+set}" = set; then
3623 withval=$with_libjpeg;
3624 if test "$withval" = yes; then
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3626 elif test "$withval" = no; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3628 elif test "$withval" = sys; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3630 elif test "$withval" = builtin; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3640 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3645 eval "$wx_cv_use_libjpeg"
3647 if test "$wxUSE_LIBJPEG" = yes; then
3648 { echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6; }
3650 elif test "$wxUSE_LIBJPEG" = no; then
3651 { echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6; }
3653 elif test "$wxUSE_LIBJPEG" = sys; then
3654 { echo "$as_me:$LINENO: result: system version" >&5
3655 echo "${ECHO_T}system version" >&6; }
3656 elif test "$wxUSE_LIBJPEG" = builtin; then
3657 { echo "$as_me:$LINENO: result: builtin version" >&5
3658 echo "${ECHO_T}builtin version" >&6; }
3660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3661 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3662 { (exit 1); exit 1; }; }
3666 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3667 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3669 # Check whether --with-libtiff was given.
3670 if test "${with_libtiff+set}" = set; then
3671 withval=$with_libtiff;
3672 if test "$withval" = yes; then
3673 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3674 elif test "$withval" = no; then
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3676 elif test "$withval" = sys; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3678 elif test "$withval" = builtin; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3681 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3682 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3683 { (exit 1); exit 1; }; }
3688 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3693 eval "$wx_cv_use_libtiff"
3695 if test "$wxUSE_LIBTIFF" = yes; then
3696 { echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6; }
3698 elif test "$wxUSE_LIBTIFF" = no; then
3699 { echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6; }
3701 elif test "$wxUSE_LIBTIFF" = sys; then
3702 { echo "$as_me:$LINENO: result: system version" >&5
3703 echo "${ECHO_T}system version" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = builtin; then
3705 { echo "$as_me:$LINENO: result: builtin version" >&5
3706 echo "${ECHO_T}builtin version" >&6; }
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3714 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3715 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3717 # Check whether --with-libxpm was given.
3718 if test "${with_libxpm+set}" = set; then
3719 withval=$with_libxpm;
3720 if test "$withval" = yes; then
3721 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3722 elif test "$withval" = no; then
3723 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3724 elif test "$withval" = sys; then
3725 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3726 elif test "$withval" = builtin; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3730 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3731 { (exit 1); exit 1; }; }
3736 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3741 eval "$wx_cv_use_libxpm"
3743 if test "$wxUSE_LIBXPM" = yes; then
3744 { echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6; }
3746 elif test "$wxUSE_LIBXPM" = no; then
3747 { echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6; }
3749 elif test "$wxUSE_LIBXPM" = sys; then
3750 { echo "$as_me:$LINENO: result: system version" >&5
3751 echo "${ECHO_T}system version" >&6; }
3752 elif test "$wxUSE_LIBXPM" = builtin; then
3753 { echo "$as_me:$LINENO: result: builtin version" >&5
3754 echo "${ECHO_T}builtin version" >&6; }
3756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3757 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3758 { (exit 1); exit 1; }; }
3763 defaultval=$wxUSE_ALL_FEATURES
3764 if test -z "$defaultval"; then
3765 if test x"$withstring" = xwithout; then
3771 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3772 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3774 # Check whether --with-libiconv was given.
3775 if test "${with_libiconv+set}" = set; then
3776 withval=$with_libiconv;
3777 if test "$withval" = yes; then
3778 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3780 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3785 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3790 eval "$wx_cv_use_libiconv"
3792 if test x"$withstring" = xwithout; then
3793 if test $wxUSE_LIBICONV = yes; then
3799 result=$wxUSE_LIBICONV
3802 { echo "$as_me:$LINENO: result: $result" >&5
3803 echo "${ECHO_T}$result" >&6; }
3807 defaultval=$wxUSE_ALL_FEATURES
3808 if test -z "$defaultval"; then
3809 if test x"$withstring" = xwithout; then
3815 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3816 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3818 # Check whether --with-libmspack was given.
3819 if test "${with_libmspack+set}" = set; then
3820 withval=$with_libmspack;
3821 if test "$withval" = yes; then
3822 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3824 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3829 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3834 eval "$wx_cv_use_libmspack"
3836 if test x"$withstring" = xwithout; then
3837 if test $wxUSE_LIBMSPACK = yes; then
3843 result=$wxUSE_LIBMSPACK
3846 { echo "$as_me:$LINENO: result: $result" >&5
3847 echo "${ECHO_T}$result" >&6; }
3851 defaultval=$wxUSE_ALL_FEATURES
3852 if test -z "$defaultval"; then
3853 if test x"$withstring" = xwithout; then
3859 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3860 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3862 # Check whether --with-gtkprint was given.
3863 if test "${with_gtkprint+set}" = set; then
3864 withval=$with_gtkprint;
3865 if test "$withval" = yes; then
3866 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3868 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3873 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3878 eval "$wx_cv_use_gtkprint"
3880 if test x"$withstring" = xwithout; then
3881 if test $wxUSE_GTKPRINT = yes; then
3887 result=$wxUSE_GTKPRINT
3890 { echo "$as_me:$LINENO: result: $result" >&5
3891 echo "${ECHO_T}$result" >&6; }
3895 defaultval=$wxUSE_ALL_FEATURES
3896 if test -z "$defaultval"; then
3897 if test x"$withstring" = xwithout; then
3903 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3904 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3906 # Check whether --with-gnomeprint was given.
3907 if test "${with_gnomeprint+set}" = set; then
3908 withval=$with_gnomeprint;
3909 if test "$withval" = yes; then
3910 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3912 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3917 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3922 eval "$wx_cv_use_gnomeprint"
3924 if test x"$withstring" = xwithout; then
3925 if test $wxUSE_LIBGNOMEPRINT = yes; then
3931 result=$wxUSE_LIBGNOMEPRINT
3934 { echo "$as_me:$LINENO: result: $result" >&5
3935 echo "${ECHO_T}$result" >&6; }
3939 defaultval=$wxUSE_ALL_FEATURES
3940 if test -z "$defaultval"; then
3941 if test x"$withstring" = xwithout; then
3947 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3948 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3950 # Check whether --with-gnomevfs was given.
3951 if test "${with_gnomevfs+set}" = set; then
3952 withval=$with_gnomevfs;
3953 if test "$withval" = yes; then
3954 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3956 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3961 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3966 eval "$wx_cv_use_gnomevfs"
3968 if test x"$withstring" = xwithout; then
3969 if test $wxUSE_LIBGNOMEVFS = yes; then
3975 result=$wxUSE_LIBGNOMEVFS
3978 { echo "$as_me:$LINENO: result: $result" >&5
3979 echo "${ECHO_T}$result" >&6; }
3983 defaultval=$wxUSE_ALL_FEATURES
3984 if test -z "$defaultval"; then
3985 if test x"$withstring" = xwithout; then
3991 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3992 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3994 # Check whether --with-hildon was given.
3995 if test "${with_hildon+set}" = set; then
3996 withval=$with_hildon;
3997 if test "$withval" = yes; then
3998 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4000 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4010 eval "$wx_cv_use_hildon"
4012 if test x"$withstring" = xwithout; then
4013 if test $wxUSE_LIBHILDON = yes; then
4019 result=$wxUSE_LIBHILDON
4022 { echo "$as_me:$LINENO: result: $result" >&5
4023 echo "${ECHO_T}$result" >&6; }
4027 defaultval=$wxUSE_ALL_FEATURES
4028 if test -z "$defaultval"; then
4029 if test x"$withstring" = xwithout; then
4035 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4036 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4038 # Check whether --with-opengl was given.
4039 if test "${with_opengl+set}" = set; then
4040 withval=$with_opengl;
4041 if test "$withval" = yes; then
4042 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4044 wx_cv_use_opengl='wxUSE_OPENGL=no'
4049 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4054 eval "$wx_cv_use_opengl"
4056 if test x"$withstring" = xwithout; then
4057 if test $wxUSE_OPENGL = yes; then
4063 result=$wxUSE_OPENGL
4066 { echo "$as_me:$LINENO: result: $result" >&5
4067 echo "${ECHO_T}$result" >&6; }
4074 defaultval=$wxUSE_ALL_FEATURES
4075 if test -z "$defaultval"; then
4076 if test x"$withstring" = xwithout; then
4082 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4083 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4085 # Check whether --with-dmalloc was given.
4086 if test "${with_dmalloc+set}" = set; then
4087 withval=$with_dmalloc;
4088 if test "$withval" = yes; then
4089 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4091 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4096 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4101 eval "$wx_cv_use_dmalloc"
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_DMALLOC = yes; then
4110 result=$wxUSE_DMALLOC
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4118 defaultval=$wxUSE_ALL_FEATURES
4119 if test -z "$defaultval"; then
4120 if test x"$withstring" = xwithout; then
4126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4127 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4129 # Check whether --with-sdl was given.
4130 if test "${with_sdl+set}" = set; then
4132 if test "$withval" = yes; then
4133 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4135 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4140 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4145 eval "$wx_cv_use_sdl"
4147 if test x"$withstring" = xwithout; then
4148 if test $wxUSE_LIBSDL = yes; then
4154 result=$wxUSE_LIBSDL
4157 { echo "$as_me:$LINENO: result: $result" >&5
4158 echo "${ECHO_T}$result" >&6; }
4161 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4162 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4164 # Check whether --with-regex was given.
4165 if test "${with_regex+set}" = set; then
4166 withval=$with_regex;
4167 if test "$withval" = yes; then
4168 wx_cv_use_regex='wxUSE_REGEX=yes'
4169 elif test "$withval" = no; then
4170 wx_cv_use_regex='wxUSE_REGEX=no'
4171 elif test "$withval" = sys; then
4172 wx_cv_use_regex='wxUSE_REGEX=sys'
4173 elif test "$withval" = builtin; then
4174 wx_cv_use_regex='wxUSE_REGEX=builtin'
4176 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4177 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4178 { (exit 1); exit 1; }; }
4183 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4188 eval "$wx_cv_use_regex"
4190 if test "$wxUSE_REGEX" = yes; then
4191 { echo "$as_me:$LINENO: result: yes" >&5
4192 echo "${ECHO_T}yes" >&6; }
4193 elif test "$wxUSE_REGEX" = no; then
4194 { echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6; }
4196 elif test "$wxUSE_REGEX" = sys; then
4197 { echo "$as_me:$LINENO: result: system version" >&5
4198 echo "${ECHO_T}system version" >&6; }
4199 elif test "$wxUSE_REGEX" = builtin; then
4200 { echo "$as_me:$LINENO: result: builtin version" >&5
4201 echo "${ECHO_T}builtin version" >&6; }
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4209 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4210 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4212 # Check whether --with-zlib was given.
4213 if test "${with_zlib+set}" = set; then
4215 if test "$withval" = yes; then
4216 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4217 elif test "$withval" = no; then
4218 wx_cv_use_zlib='wxUSE_ZLIB=no'
4219 elif test "$withval" = sys; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4221 elif test "$withval" = builtin; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4224 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4225 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4226 { (exit 1); exit 1; }; }
4231 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4236 eval "$wx_cv_use_zlib"
4238 if test "$wxUSE_ZLIB" = yes; then
4239 { echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6; }
4241 elif test "$wxUSE_ZLIB" = no; then
4242 { echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6; }
4244 elif test "$wxUSE_ZLIB" = sys; then
4245 { echo "$as_me:$LINENO: result: system version" >&5
4246 echo "${ECHO_T}system version" >&6; }
4247 elif test "$wxUSE_ZLIB" = builtin; then
4248 { echo "$as_me:$LINENO: result: builtin version" >&5
4249 echo "${ECHO_T}builtin version" >&6; }
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4257 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4258 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4260 # Check whether --with-expat was given.
4261 if test "${with_expat+set}" = set; then
4262 withval=$with_expat;
4263 if test "$withval" = yes; then
4264 wx_cv_use_expat='wxUSE_EXPAT=yes'
4265 elif test "$withval" = no; then
4266 wx_cv_use_expat='wxUSE_EXPAT=no'
4267 elif test "$withval" = sys; then
4268 wx_cv_use_expat='wxUSE_EXPAT=sys'
4269 elif test "$withval" = builtin; then
4270 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4272 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4273 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4274 { (exit 1); exit 1; }; }
4279 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4284 eval "$wx_cv_use_expat"
4286 if test "$wxUSE_EXPAT" = yes; then
4287 { echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6; }
4289 elif test "$wxUSE_EXPAT" = no; then
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4292 elif test "$wxUSE_EXPAT" = sys; then
4293 { echo "$as_me:$LINENO: result: system version" >&5
4294 echo "${ECHO_T}system version" >&6; }
4295 elif test "$wxUSE_EXPAT" = builtin; then
4296 { echo "$as_me:$LINENO: result: builtin version" >&5
4297 echo "${ECHO_T}builtin version" >&6; }
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4305 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4306 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4308 # Check whether --with-macosx-sdk was given.
4309 if test "${with_macosx_sdk+set}" = set; then
4310 withval=$with_macosx_sdk;
4311 wxUSE_MACOSX_SDK=$withval
4312 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4316 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4317 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4319 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4320 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4322 # Check whether --with-macosx-version-min was given.
4323 if test "${with_macosx_version_min+set}" = set; then
4324 withval=$with_macosx_version_min;
4325 wxUSE_MACOSX_VERSION_MIN=$withval
4326 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4330 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4331 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4334 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4335 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4336 # Check whether --enable-debug was given.
4337 if test "${enable_debug+set}" = set; then
4338 enableval=$enable_debug;
4339 if test "$enableval" = yes; then
4341 elif test "$enableval" = no; then
4343 elif test "$enableval" = max; then
4345 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4347 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4348 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4349 { (exit 1); exit 1; }; }
4358 case "$wxUSE_DEBUG" in
4360 DEFAULT_wxUSE_DEBUG_FLAG=yes
4361 DEFAULT_wxUSE_DEBUG_INFO=yes
4363 DEFAULT_wxUSE_OPTIMISE=no
4367 DEFAULT_wxUSE_DEBUG_FLAG=no
4368 DEFAULT_wxUSE_DEBUG_INFO=no
4372 DEFAULT_wxUSE_DEBUG_FLAG=yes
4373 DEFAULT_wxUSE_DEBUG_INFO=no
4378 enablestring=disable
4380 if test -z "$defaultval"; then
4381 if test x"$enablestring" = xdisable; then
4388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4389 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4390 # Check whether --enable-debug_flag was given.
4391 if test "${enable_debug_flag+set}" = set; then
4392 enableval=$enable_debug_flag;
4393 if test "$enableval" = yes; then
4394 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4396 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4401 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4406 eval "$wx_cv_use_debug_flag"
4408 if test x"$enablestring" = xdisable; then
4409 if test $wxUSE_DEBUG_FLAG = no; then
4415 result=$wxUSE_DEBUG_FLAG
4418 { echo "$as_me:$LINENO: result: $result" >&5
4419 echo "${ECHO_T}$result" >&6; }
4424 if test -z "$defaultval"; then
4425 if test x"$enablestring" = xdisable; then
4432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4433 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4434 # Check whether --enable-debug_info was given.
4435 if test "${enable_debug_info+set}" = set; then
4436 enableval=$enable_debug_info;
4437 if test "$enableval" = yes; then
4438 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4440 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4445 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4450 eval "$wx_cv_use_debug_info"
4452 if test x"$enablestring" = xdisable; then
4453 if test $wxUSE_DEBUG_INFO = no; then
4459 result=$wxUSE_DEBUG_INFO
4462 { echo "$as_me:$LINENO: result: $result" >&5
4463 echo "${ECHO_T}$result" >&6; }
4470 if test -z "$defaultval"; then
4471 if test x"$enablestring" = xdisable; then
4478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4479 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4480 # Check whether --enable-debug_gdb was given.
4481 if test "${enable_debug_gdb+set}" = set; then
4482 enableval=$enable_debug_gdb;
4483 if test "$enableval" = yes; then
4484 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4486 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4491 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4496 eval "$wx_cv_use_debug_gdb"
4498 if test x"$enablestring" = xdisable; then
4499 if test $wxUSE_DEBUG_GDB = no; then
4505 result=$wxUSE_DEBUG_GDB
4508 { echo "$as_me:$LINENO: result: $result" >&5
4509 echo "${ECHO_T}$result" >&6; }
4514 if test -z "$defaultval"; then
4515 if test x"$enablestring" = xdisable; then
4522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4524 # Check whether --enable-debug_cntxt was given.
4525 if test "${enable_debug_cntxt+set}" = set; then
4526 enableval=$enable_debug_cntxt;
4527 if test "$enableval" = yes; then
4528 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4530 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4535 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4540 eval "$wx_cv_use_debug_cntxt"
4542 if test x"$enablestring" = xdisable; then
4543 if test $wxUSE_DEBUG_CONTEXT = no; then
4549 result=$wxUSE_DEBUG_CONTEXT
4552 { echo "$as_me:$LINENO: result: $result" >&5
4553 echo "${ECHO_T}$result" >&6; }
4558 if test -z "$defaultval"; then
4559 if test x"$enablestring" = xdisable; then
4566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4568 # Check whether --enable-mem_tracing was given.
4569 if test "${enable_mem_tracing+set}" = set; then
4570 enableval=$enable_mem_tracing;
4571 if test "$enableval" = yes; then
4572 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4574 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4579 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4584 eval "$wx_cv_use_mem_tracing"
4586 if test x"$enablestring" = xdisable; then
4587 if test $wxUSE_MEM_TRACING = no; then
4593 result=$wxUSE_MEM_TRACING
4596 { echo "$as_me:$LINENO: result: $result" >&5
4597 echo "${ECHO_T}$result" >&6; }
4602 enablestring=disable
4604 if test -z "$defaultval"; then
4605 if test x"$enablestring" = xdisable; then
4612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4614 # Check whether --enable-shared was given.
4615 if test "${enable_shared+set}" = set; then
4616 enableval=$enable_shared;
4617 if test "$enableval" = yes; then
4618 wx_cv_use_shared='wxUSE_SHARED=yes'
4620 wx_cv_use_shared='wxUSE_SHARED=no'
4625 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4630 eval "$wx_cv_use_shared"
4632 if test x"$enablestring" = xdisable; then
4633 if test $wxUSE_SHARED = no; then
4639 result=$wxUSE_SHARED
4642 { echo "$as_me:$LINENO: result: $result" >&5
4643 echo "${ECHO_T}$result" >&6; }
4648 if test -z "$defaultval"; then
4649 if test x"$enablestring" = xdisable; then
4656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4658 # Check whether --enable-stl was given.
4659 if test "${enable_stl+set}" = set; then
4660 enableval=$enable_stl;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_stl='wxUSE_STL=yes'
4664 wx_cv_use_stl='wxUSE_STL=no'
4669 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4674 eval "$wx_cv_use_stl"
4676 if test x"$enablestring" = xdisable; then
4677 if test $wxUSE_STL = no; then
4686 { echo "$as_me:$LINENO: result: $result" >&5
4687 echo "${ECHO_T}$result" >&6; }
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4702 # Check whether --enable-std_iostreams was given.
4703 if test "${enable_std_iostreams+set}" = set; then
4704 enableval=$enable_std_iostreams;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4708 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4713 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4718 eval "$wx_cv_use_std_iostreams"
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_STD_IOSTREAM = no; then
4727 result=$wxUSE_STD_IOSTREAM
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4746 # Check whether --enable-std_string was given.
4747 if test "${enable_std_string+set}" = set; then
4748 enableval=$enable_std_string;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4752 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4757 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4762 eval "$wx_cv_use_std_string"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_STD_STRING = no; then
4771 result=$wxUSE_STD_STRING
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4778 enablestring=disable
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4790 # Check whether --enable-unicode was given.
4791 if test "${enable_unicode+set}" = set; then
4792 enableval=$enable_unicode;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4796 wx_cv_use_unicode='wxUSE_UNICODE=no'
4801 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4806 eval "$wx_cv_use_unicode"
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_UNICODE = no; then
4815 result=$wxUSE_UNICODE
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4834 # Check whether --enable-mslu was given.
4835 if test "${enable_mslu+set}" = set; then
4836 enableval=$enable_mslu;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4840 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4845 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4850 eval "$wx_cv_use_mslu"
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_UNICODE_MSLU = no; then
4859 result=$wxUSE_UNICODE_MSLU
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4869 # Check whether --enable-utf8 was given.
4870 if test "${enable_utf8+set}" = set; then
4871 enableval=$enable_utf8;
4872 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4876 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4881 eval "$wx_cv_use_utf8"
4883 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4884 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4889 if test -z "$defaultval"; then
4890 if test x"$enablestring" = xdisable; then
4897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4899 # Check whether --enable-utf8only was given.
4900 if test "${enable_utf8only+set}" = set; then
4901 enableval=$enable_utf8only;
4902 if test "$enableval" = yes; then
4903 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4905 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4910 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4915 eval "$wx_cv_use_utf8only"
4917 if test x"$enablestring" = xdisable; then
4918 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4924 result=$wxUSE_UNICODE_UTF8_LOCALE
4927 { echo "$as_me:$LINENO: result: $result" >&5
4928 echo "${ECHO_T}$result" >&6; }
4933 if test -z "$defaultval"; then
4934 if test x"$enablestring" = xdisable; then
4941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4942 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4943 # Check whether --enable-extended_rtti was given.
4944 if test "${enable_extended_rtti+set}" = set; then
4945 enableval=$enable_extended_rtti;
4946 if test "$enableval" = yes; then
4947 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4949 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4954 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4959 eval "$wx_cv_use_extended_rtti"
4961 if test x"$enablestring" = xdisable; then
4962 if test $wxUSE_EXTENDED_RTTI = no; then
4968 result=$wxUSE_EXTENDED_RTTI
4971 { echo "$as_me:$LINENO: result: $result" >&5
4972 echo "${ECHO_T}$result" >&6; }
4974 if test "$USE_OS2" = 1; then
4975 DEFAULT_wxUSE_OMF=no
4979 if test -z "$defaultval"; then
4980 if test x"$enablestring" = xdisable; then
4987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4989 # Check whether --enable-omf was given.
4990 if test "${enable_omf+set}" = set; then
4991 enableval=$enable_omf;
4992 if test "$enableval" = yes; then
4993 wx_cv_use_omf='wxUSE_OMF=yes'
4995 wx_cv_use_omf='wxUSE_OMF=no'
5000 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5005 eval "$wx_cv_use_omf"
5007 if test x"$enablestring" = xdisable; then
5008 if test $wxUSE_OMF = no; then
5017 { echo "$as_me:$LINENO: result: $result" >&5
5018 echo "${ECHO_T}$result" >&6; }
5023 enablestring=disable
5025 if test -z "$defaultval"; then
5026 if test x"$enablestring" = xdisable; then
5033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5035 # Check whether --enable-optimise was given.
5036 if test "${enable_optimise+set}" = set; then
5037 enableval=$enable_optimise;
5038 if test "$enableval" = yes; then
5039 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5041 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5046 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5051 eval "$wx_cv_use_optimise"
5053 if test x"$enablestring" = xdisable; then
5054 if test $wxUSE_OPTIMISE = no; then
5060 result=$wxUSE_OPTIMISE
5063 { echo "$as_me:$LINENO: result: $result" >&5
5064 echo "${ECHO_T}$result" >&6; }
5070 if test -z "$defaultval"; then
5071 if test x"$enablestring" = xdisable; then
5078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5080 # Check whether --enable-profile was given.
5081 if test "${enable_profile+set}" = set; then
5082 enableval=$enable_profile;
5083 if test "$enableval" = yes; then
5084 wx_cv_use_profile='wxUSE_PROFILE=yes'
5086 wx_cv_use_profile='wxUSE_PROFILE=no'
5091 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5096 eval "$wx_cv_use_profile"
5098 if test x"$enablestring" = xdisable; then
5099 if test $wxUSE_PROFILE = no; then
5105 result=$wxUSE_PROFILE
5108 { echo "$as_me:$LINENO: result: $result" >&5
5109 echo "${ECHO_T}$result" >&6; }
5114 if test -z "$defaultval"; then
5115 if test x"$enablestring" = xdisable; then
5122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5124 # Check whether --enable-no_rtti was given.
5125 if test "${enable_no_rtti+set}" = set; then
5126 enableval=$enable_no_rtti;
5127 if test "$enableval" = yes; then
5128 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5130 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5135 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5140 eval "$wx_cv_use_no_rtti"
5142 if test x"$enablestring" = xdisable; then
5143 if test $wxUSE_NO_RTTI = no; then
5149 result=$wxUSE_NO_RTTI
5152 { echo "$as_me:$LINENO: result: $result" >&5
5153 echo "${ECHO_T}$result" >&6; }
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5168 # Check whether --enable-no_exceptions was given.
5169 if test "${enable_no_exceptions+set}" = set; then
5170 enableval=$enable_no_exceptions;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5174 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5179 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5184 eval "$wx_cv_use_no_exceptions"
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_NO_EXCEPTIONS = no; then
5193 result=$wxUSE_NO_EXCEPTIONS
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5202 if test -z "$defaultval"; then
5203 if test x"$enablestring" = xdisable; then
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5212 # Check whether --enable-permissive was given.
5213 if test "${enable_permissive+set}" = set; then
5214 enableval=$enable_permissive;
5215 if test "$enableval" = yes; then
5216 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5218 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5223 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5228 eval "$wx_cv_use_permissive"
5230 if test x"$enablestring" = xdisable; then
5231 if test $wxUSE_PERMISSIVE = no; then
5237 result=$wxUSE_PERMISSIVE
5240 { echo "$as_me:$LINENO: result: $result" >&5
5241 echo "${ECHO_T}$result" >&6; }
5246 if test -z "$defaultval"; then
5247 if test x"$enablestring" = xdisable; then
5254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5256 # Check whether --enable-no_deps was given.
5257 if test "${enable_no_deps+set}" = set; then
5258 enableval=$enable_no_deps;
5259 if test "$enableval" = yes; then
5260 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5262 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5267 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5272 eval "$wx_cv_use_no_deps"
5274 if test x"$enablestring" = xdisable; then
5275 if test $wxUSE_NO_DEPS = no; then
5281 result=$wxUSE_NO_DEPS
5284 { echo "$as_me:$LINENO: result: $result" >&5
5285 echo "${ECHO_T}$result" >&6; }
5288 enablestring=disable
5290 if test -z "$defaultval"; then
5291 if test x"$enablestring" = xdisable; then
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5300 # Check whether --enable-vararg_macros was given.
5301 if test "${enable_vararg_macros+set}" = set; then
5302 enableval=$enable_vararg_macros;
5303 if test "$enableval" = yes; then
5304 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5306 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5311 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5316 eval "$wx_cv_use_vararg_macros"
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_VARARG_MACROS = no; then
5325 result=$wxUSE_VARARG_MACROS
5328 { echo "$as_me:$LINENO: result: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5334 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5335 # Check whether --enable-universal_binary was given.
5336 if test "${enable_universal_binary+set}" = set; then
5337 enableval=$enable_universal_binary;
5338 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5342 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5347 eval "$wx_cv_use_universal_binary"
5349 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5350 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5356 if test -z "$defaultval"; then
5357 if test x"$enablestring" = xdisable; then
5364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5366 # Check whether --enable-compat26 was given.
5367 if test "${enable_compat26+set}" = set; then
5368 enableval=$enable_compat26;
5369 if test "$enableval" = yes; then
5370 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5372 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5377 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5382 eval "$wx_cv_use_compat26"
5384 if test x"$enablestring" = xdisable; then
5385 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5391 result=$WXWIN_COMPATIBILITY_2_6
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5398 enablestring=disable
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5410 # Check whether --enable-compat28 was given.
5411 if test "${enable_compat28+set}" = set; then
5412 enableval=$enable_compat28;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5416 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5421 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5426 eval "$wx_cv_use_compat28"
5428 if test x"$enablestring" = xdisable; then
5429 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5435 result=$WXWIN_COMPATIBILITY_2_8
5438 { echo "$as_me:$LINENO: result: $result" >&5
5439 echo "${ECHO_T}$result" >&6; }
5443 enablestring=disable
5445 if test -z "$defaultval"; then
5446 if test x"$enablestring" = xdisable; then
5453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5454 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5455 # Check whether --enable-rpath was given.
5456 if test "${enable_rpath+set}" = set; then
5457 enableval=$enable_rpath;
5458 if test "$enableval" = yes; then
5459 wx_cv_use_rpath='wxUSE_RPATH=yes'
5461 wx_cv_use_rpath='wxUSE_RPATH=no'
5466 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5471 eval "$wx_cv_use_rpath"
5473 if test x"$enablestring" = xdisable; then
5474 if test $wxUSE_RPATH = no; then
5483 { echo "$as_me:$LINENO: result: $result" >&5
5484 echo "${ECHO_T}$result" >&6; }
5490 if test -z "$defaultval"; then
5491 if test x"$enablestring" = xdisable; then
5498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5500 # Check whether --enable-objc_uniquifying was given.
5501 if test "${enable_objc_uniquifying+set}" = set; then
5502 enableval=$enable_objc_uniquifying;
5503 if test "$enableval" = yes; then
5504 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5506 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5511 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5516 eval "$wx_cv_use_objc_uniquifying"
5518 if test x"$enablestring" = xdisable; then
5519 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5525 result=$wxUSE_OBJC_UNIQUIFYING
5528 { echo "$as_me:$LINENO: result: $result" >&5
5529 echo "${ECHO_T}$result" >&6; }
5533 enablestring=disable
5535 if test -z "$defaultval"; then
5536 if test x"$enablestring" = xdisable; then
5543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5545 # Check whether --enable-visibility was given.
5546 if test "${enable_visibility+set}" = set; then
5547 enableval=$enable_visibility;
5548 if test "$enableval" = yes; then
5549 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5551 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5556 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5561 eval "$wx_cv_use_visibility"
5563 if test x"$enablestring" = xdisable; then
5564 if test $wxUSE_VISIBILITY = no; then
5570 result=$wxUSE_VISIBILITY
5573 { echo "$as_me:$LINENO: result: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5577 enablestring=disable
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5589 # Check whether --enable-tls was given.
5590 if test "${enable_tls+set}" = set; then
5591 enableval=$enable_tls;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5595 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5600 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5605 eval "$wx_cv_use_tls"
5607 if test x"$enablestring" = xdisable; then
5608 if test $wxUSE_COMPILER_TLS = no; then
5614 result=$wxUSE_COMPILER_TLS
5617 { echo "$as_me:$LINENO: result: $result" >&5
5618 echo "${ECHO_T}$result" >&6; }
5624 defaultval=$wxUSE_ALL_FEATURES
5625 if test -z "$defaultval"; then
5626 if test x"$enablestring" = xdisable; then
5633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5634 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5635 # Check whether --enable-intl was given.
5636 if test "${enable_intl+set}" = set; then
5637 enableval=$enable_intl;
5638 if test "$enableval" = yes; then
5639 wx_cv_use_intl='wxUSE_INTL=yes'
5641 wx_cv_use_intl='wxUSE_INTL=no'
5646 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5651 eval "$wx_cv_use_intl"
5653 if test x"$enablestring" = xdisable; then
5654 if test $wxUSE_INTL = no; then
5663 { echo "$as_me:$LINENO: result: $result" >&5
5664 echo "${ECHO_T}$result" >&6; }
5668 defaultval=$wxUSE_ALL_FEATURES
5669 if test -z "$defaultval"; then
5670 if test x"$enablestring" = xdisable; then
5677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5678 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5679 # Check whether --enable-xlocale was given.
5680 if test "${enable_xlocale+set}" = set; then
5681 enableval=$enable_xlocale;
5682 if test "$enableval" = yes; then
5683 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5685 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5690 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5695 eval "$wx_cv_use_xlocale"
5697 if test x"$enablestring" = xdisable; then
5698 if test $wxUSE_XLOCALE = no; then
5704 result=$wxUSE_XLOCALE
5707 { echo "$as_me:$LINENO: result: $result" >&5
5708 echo "${ECHO_T}$result" >&6; }
5712 defaultval=$wxUSE_ALL_FEATURES
5713 if test -z "$defaultval"; then
5714 if test x"$enablestring" = xdisable; then
5721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5723 # Check whether --enable-config was given.
5724 if test "${enable_config+set}" = set; then
5725 enableval=$enable_config;
5726 if test "$enableval" = yes; then
5727 wx_cv_use_config='wxUSE_CONFIG=yes'
5729 wx_cv_use_config='wxUSE_CONFIG=no'
5734 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5739 eval "$wx_cv_use_config"
5741 if test x"$enablestring" = xdisable; then
5742 if test $wxUSE_CONFIG = no; then
5748 result=$wxUSE_CONFIG
5751 { echo "$as_me:$LINENO: result: $result" >&5
5752 echo "${ECHO_T}$result" >&6; }
5757 defaultval=$wxUSE_ALL_FEATURES
5758 if test -z "$defaultval"; then
5759 if test x"$enablestring" = xdisable; then
5766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5767 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5768 # Check whether --enable-protocols was given.
5769 if test "${enable_protocols+set}" = set; then
5770 enableval=$enable_protocols;
5771 if test "$enableval" = yes; then
5772 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5774 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5779 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5784 eval "$wx_cv_use_protocols"
5786 if test x"$enablestring" = xdisable; then
5787 if test $wxUSE_PROTOCOL = no; then
5793 result=$wxUSE_PROTOCOL
5796 { echo "$as_me:$LINENO: result: $result" >&5
5797 echo "${ECHO_T}$result" >&6; }
5801 defaultval=$wxUSE_ALL_FEATURES
5802 if test -z "$defaultval"; then
5803 if test x"$enablestring" = xdisable; then
5810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5812 # Check whether --enable-ftp was given.
5813 if test "${enable_ftp+set}" = set; then
5814 enableval=$enable_ftp;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5818 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5823 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5828 eval "$wx_cv_use_ftp"
5830 if test x"$enablestring" = xdisable; then
5831 if test $wxUSE_PROTOCOL_FTP = no; then
5837 result=$wxUSE_PROTOCOL_FTP
5840 { echo "$as_me:$LINENO: result: $result" >&5
5841 echo "${ECHO_T}$result" >&6; }
5845 defaultval=$wxUSE_ALL_FEATURES
5846 if test -z "$defaultval"; then
5847 if test x"$enablestring" = xdisable; then
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5856 # Check whether --enable-http was given.
5857 if test "${enable_http+set}" = set; then
5858 enableval=$enable_http;
5859 if test "$enableval" = yes; then
5860 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5862 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5867 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5872 eval "$wx_cv_use_http"
5874 if test x"$enablestring" = xdisable; then
5875 if test $wxUSE_PROTOCOL_HTTP = no; then
5881 result=$wxUSE_PROTOCOL_HTTP
5884 { echo "$as_me:$LINENO: result: $result" >&5
5885 echo "${ECHO_T}$result" >&6; }
5889 defaultval=$wxUSE_ALL_FEATURES
5890 if test -z "$defaultval"; then
5891 if test x"$enablestring" = xdisable; then
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5900 # Check whether --enable-fileproto was given.
5901 if test "${enable_fileproto+set}" = set; then
5902 enableval=$enable_fileproto;
5903 if test "$enableval" = yes; then
5904 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5906 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5911 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5916 eval "$wx_cv_use_fileproto"
5918 if test x"$enablestring" = xdisable; then
5919 if test $wxUSE_PROTOCOL_FILE = no; then
5925 result=$wxUSE_PROTOCOL_FILE
5928 { echo "$as_me:$LINENO: result: $result" >&5
5929 echo "${ECHO_T}$result" >&6; }
5933 defaultval=$wxUSE_ALL_FEATURES
5934 if test -z "$defaultval"; then
5935 if test x"$enablestring" = xdisable; then
5942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5943 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5944 # Check whether --enable-sockets was given.
5945 if test "${enable_sockets+set}" = set; then
5946 enableval=$enable_sockets;
5947 if test "$enableval" = yes; then
5948 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5950 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5955 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5960 eval "$wx_cv_use_sockets"
5962 if test x"$enablestring" = xdisable; then
5963 if test $wxUSE_SOCKETS = no; then
5969 result=$wxUSE_SOCKETS
5972 { echo "$as_me:$LINENO: result: $result" >&5
5973 echo "${ECHO_T}$result" >&6; }
5977 defaultval=$wxUSE_ALL_FEATURES
5978 if test -z "$defaultval"; then
5979 if test x"$enablestring" = xdisable; then
5986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5987 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5988 # Check whether --enable-ipv6 was given.
5989 if test "${enable_ipv6+set}" = set; then
5990 enableval=$enable_ipv6;
5991 if test "$enableval" = yes; then
5992 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5994 wx_cv_use_ipv6='wxUSE_IPV6=no'
5999 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6004 eval "$wx_cv_use_ipv6"
6006 if test x"$enablestring" = xdisable; then
6007 if test $wxUSE_IPV6 = no; then
6016 { echo "$as_me:$LINENO: result: $result" >&5
6017 echo "${ECHO_T}$result" >&6; }
6021 defaultval=$wxUSE_ALL_FEATURES
6022 if test -z "$defaultval"; then
6023 if test x"$enablestring" = xdisable; then
6030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6031 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6032 # Check whether --enable-ole was given.
6033 if test "${enable_ole+set}" = set; then
6034 enableval=$enable_ole;
6035 if test "$enableval" = yes; then
6036 wx_cv_use_ole='wxUSE_OLE=yes'
6038 wx_cv_use_ole='wxUSE_OLE=no'
6043 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6048 eval "$wx_cv_use_ole"
6050 if test x"$enablestring" = xdisable; then
6051 if test $wxUSE_OLE = no; then
6060 { echo "$as_me:$LINENO: result: $result" >&5
6061 echo "${ECHO_T}$result" >&6; }
6065 defaultval=$wxUSE_ALL_FEATURES
6066 if test -z "$defaultval"; then
6067 if test x"$enablestring" = xdisable; then
6074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6075 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6076 # Check whether --enable-dataobj was given.
6077 if test "${enable_dataobj+set}" = set; then
6078 enableval=$enable_dataobj;
6079 if test "$enableval" = yes; then
6080 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6082 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6087 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6092 eval "$wx_cv_use_dataobj"
6094 if test x"$enablestring" = xdisable; then
6095 if test $wxUSE_DATAOBJ = no; then
6101 result=$wxUSE_DATAOBJ
6104 { echo "$as_me:$LINENO: result: $result" >&5
6105 echo "${ECHO_T}$result" >&6; }
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6121 # Check whether --enable-ipc was given.
6122 if test "${enable_ipc+set}" = set; then
6123 enableval=$enable_ipc;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_ipc='wxUSE_IPC=yes'
6127 wx_cv_use_ipc='wxUSE_IPC=no'
6132 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6137 eval "$wx_cv_use_ipc"
6139 if test x"$enablestring" = xdisable; then
6140 if test $wxUSE_IPC = no; then
6149 { echo "$as_me:$LINENO: result: $result" >&5
6150 echo "${ECHO_T}$result" >&6; }
6155 defaultval=$wxUSE_ALL_FEATURES
6156 if test -z "$defaultval"; then
6157 if test x"$enablestring" = xdisable; then
6164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6165 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6166 # Check whether --enable-baseevtloop was given.
6167 if test "${enable_baseevtloop+set}" = set; then
6168 enableval=$enable_baseevtloop;
6169 if test "$enableval" = yes; then
6170 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6172 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6177 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6182 eval "$wx_cv_use_baseevtloop"
6184 if test x"$enablestring" = xdisable; then
6185 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6191 result=$wxUSE_CONSOLE_EVENTLOOP
6194 { echo "$as_me:$LINENO: result: $result" >&5
6195 echo "${ECHO_T}$result" >&6; }
6199 defaultval=$wxUSE_ALL_FEATURES
6200 if test -z "$defaultval"; then
6201 if test x"$enablestring" = xdisable; then
6208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6210 # Check whether --enable-epollloop was given.
6211 if test "${enable_epollloop+set}" = set; then
6212 enableval=$enable_epollloop;
6213 if test "$enableval" = yes; then
6214 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6216 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6221 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6226 eval "$wx_cv_use_epollloop"
6228 if test x"$enablestring" = xdisable; then
6229 if test $wxUSE_EPOLL_DISPATCHER = no; then
6235 result=$wxUSE_EPOLL_DISPATCHER
6238 { echo "$as_me:$LINENO: result: $result" >&5
6239 echo "${ECHO_T}$result" >&6; }
6243 defaultval=$wxUSE_ALL_FEATURES
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6254 # Check whether --enable-selectloop was given.
6255 if test "${enable_selectloop+set}" = set; then
6256 enableval=$enable_selectloop;
6257 if test "$enableval" = yes; then
6258 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6260 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6265 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6270 eval "$wx_cv_use_selectloop"
6272 if test x"$enablestring" = xdisable; then
6273 if test $wxUSE_SELECT_DISPATCHER = no; then
6279 result=$wxUSE_SELECT_DISPATCHER
6282 { echo "$as_me:$LINENO: result: $result" >&5
6283 echo "${ECHO_T}$result" >&6; }
6288 defaultval=$wxUSE_ALL_FEATURES
6289 if test -z "$defaultval"; then
6290 if test x"$enablestring" = xdisable; then
6297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6299 # Check whether --enable-any was given.
6300 if test "${enable_any+set}" = set; then
6301 enableval=$enable_any;
6302 if test "$enableval" = yes; then
6303 wx_cv_use_any='wxUSE_ANY=yes'
6305 wx_cv_use_any='wxUSE_ANY=no'
6310 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6315 eval "$wx_cv_use_any"
6317 if test x"$enablestring" = xdisable; then
6318 if test $wxUSE_ANY = no; then
6327 { echo "$as_me:$LINENO: result: $result" >&5
6328 echo "${ECHO_T}$result" >&6; }
6332 defaultval=$wxUSE_ALL_FEATURES
6333 if test -z "$defaultval"; then
6334 if test x"$enablestring" = xdisable; then
6341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6343 # Check whether --enable-apple_ieee was given.
6344 if test "${enable_apple_ieee+set}" = set; then
6345 enableval=$enable_apple_ieee;
6346 if test "$enableval" = yes; then
6347 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6349 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6354 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6359 eval "$wx_cv_use_apple_ieee"
6361 if test x"$enablestring" = xdisable; then
6362 if test $wxUSE_APPLE_IEEE = no; then
6368 result=$wxUSE_APPLE_IEEE
6371 { echo "$as_me:$LINENO: result: $result" >&5
6372 echo "${ECHO_T}$result" >&6; }
6376 defaultval=$wxUSE_ALL_FEATURES
6377 if test -z "$defaultval"; then
6378 if test x"$enablestring" = xdisable; then
6385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6387 # Check whether --enable-arcstream was given.
6388 if test "${enable_arcstream+set}" = set; then
6389 enableval=$enable_arcstream;
6390 if test "$enableval" = yes; then
6391 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6393 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6398 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6403 eval "$wx_cv_use_arcstream"
6405 if test x"$enablestring" = xdisable; then
6406 if test $wxUSE_ARCHIVE_STREAMS = no; then
6412 result=$wxUSE_ARCHIVE_STREAMS
6415 { echo "$as_me:$LINENO: result: $result" >&5
6416 echo "${ECHO_T}$result" >&6; }
6420 defaultval=$wxUSE_ALL_FEATURES
6421 if test -z "$defaultval"; then
6422 if test x"$enablestring" = xdisable; then
6429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6431 # Check whether --enable-base64 was given.
6432 if test "${enable_base64+set}" = set; then
6433 enableval=$enable_base64;
6434 if test "$enableval" = yes; then
6435 wx_cv_use_base64='wxUSE_BASE64=yes'
6437 wx_cv_use_base64='wxUSE_BASE64=no'
6442 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6447 eval "$wx_cv_use_base64"
6449 if test x"$enablestring" = xdisable; then
6450 if test $wxUSE_BASE64 = no; then
6456 result=$wxUSE_BASE64
6459 { echo "$as_me:$LINENO: result: $result" >&5
6460 echo "${ECHO_T}$result" >&6; }
6464 defaultval=$wxUSE_ALL_FEATURES
6465 if test -z "$defaultval"; then
6466 if test x"$enablestring" = xdisable; then
6473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6474 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6475 # Check whether --enable-backtrace was given.
6476 if test "${enable_backtrace+set}" = set; then
6477 enableval=$enable_backtrace;
6478 if test "$enableval" = yes; then
6479 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6481 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6486 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6491 eval "$wx_cv_use_backtrace"
6493 if test x"$enablestring" = xdisable; then
6494 if test $wxUSE_STACKWALKER = no; then
6500 result=$wxUSE_STACKWALKER
6503 { echo "$as_me:$LINENO: result: $result" >&5
6504 echo "${ECHO_T}$result" >&6; }
6508 defaultval=$wxUSE_ALL_FEATURES
6509 if test -z "$defaultval"; then
6510 if test x"$enablestring" = xdisable; then
6517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6518 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6519 # Check whether --enable-catch_segvs was given.
6520 if test "${enable_catch_segvs+set}" = set; then
6521 enableval=$enable_catch_segvs;
6522 if test "$enableval" = yes; then
6523 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6525 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6530 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6535 eval "$wx_cv_use_catch_segvs"
6537 if test x"$enablestring" = xdisable; then
6538 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6544 result=$wxUSE_ON_FATAL_EXCEPTION
6547 { echo "$as_me:$LINENO: result: $result" >&5
6548 echo "${ECHO_T}$result" >&6; }
6552 defaultval=$wxUSE_ALL_FEATURES
6553 if test -z "$defaultval"; then
6554 if test x"$enablestring" = xdisable; then
6561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6563 # Check whether --enable-cmdline was given.
6564 if test "${enable_cmdline+set}" = set; then
6565 enableval=$enable_cmdline;
6566 if test "$enableval" = yes; then
6567 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6569 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6574 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6579 eval "$wx_cv_use_cmdline"
6581 if test x"$enablestring" = xdisable; then
6582 if test $wxUSE_CMDLINE_PARSER = no; then
6588 result=$wxUSE_CMDLINE_PARSER
6591 { echo "$as_me:$LINENO: result: $result" >&5
6592 echo "${ECHO_T}$result" >&6; }
6596 defaultval=$wxUSE_ALL_FEATURES
6597 if test -z "$defaultval"; then
6598 if test x"$enablestring" = xdisable; then
6605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6607 # Check whether --enable-datetime was given.
6608 if test "${enable_datetime+set}" = set; then
6609 enableval=$enable_datetime;
6610 if test "$enableval" = yes; then
6611 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6613 wx_cv_use_datetime='wxUSE_DATETIME=no'
6618 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6623 eval "$wx_cv_use_datetime"
6625 if test x"$enablestring" = xdisable; then
6626 if test $wxUSE_DATETIME = no; then
6632 result=$wxUSE_DATETIME
6635 { echo "$as_me:$LINENO: result: $result" >&5
6636 echo "${ECHO_T}$result" >&6; }
6640 defaultval=$wxUSE_ALL_FEATURES
6641 if test -z "$defaultval"; then
6642 if test x"$enablestring" = xdisable; then
6649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6651 # Check whether --enable-debugreport was given.
6652 if test "${enable_debugreport+set}" = set; then
6653 enableval=$enable_debugreport;
6654 if test "$enableval" = yes; then
6655 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6657 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6662 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6667 eval "$wx_cv_use_debugreport"
6669 if test x"$enablestring" = xdisable; then
6670 if test $wxUSE_DEBUGREPORT = no; then
6676 result=$wxUSE_DEBUGREPORT
6679 { echo "$as_me:$LINENO: result: $result" >&5
6680 echo "${ECHO_T}$result" >&6; }
6684 defaultval=$wxUSE_ALL_FEATURES
6685 if test -z "$defaultval"; then
6686 if test x"$enablestring" = xdisable; then
6693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6695 # Check whether --enable-dialupman was given.
6696 if test "${enable_dialupman+set}" = set; then
6697 enableval=$enable_dialupman;
6698 if test "$enableval" = yes; then
6699 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6701 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6706 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6711 eval "$wx_cv_use_dialupman"
6713 if test x"$enablestring" = xdisable; then
6714 if test $wxUSE_DIALUP_MANAGER = no; then
6720 result=$wxUSE_DIALUP_MANAGER
6723 { echo "$as_me:$LINENO: result: $result" >&5
6724 echo "${ECHO_T}$result" >&6; }
6728 defaultval=$wxUSE_ALL_FEATURES
6729 if test -z "$defaultval"; then
6730 if test x"$enablestring" = xdisable; then
6737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6738 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6739 # Check whether --enable-dynlib was given.
6740 if test "${enable_dynlib+set}" = set; then
6741 enableval=$enable_dynlib;
6742 if test "$enableval" = yes; then
6743 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6745 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6750 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6755 eval "$wx_cv_use_dynlib"
6757 if test x"$enablestring" = xdisable; then
6758 if test $wxUSE_DYNLIB_CLASS = no; then
6764 result=$wxUSE_DYNLIB_CLASS
6767 { echo "$as_me:$LINENO: result: $result" >&5
6768 echo "${ECHO_T}$result" >&6; }
6772 defaultval=$wxUSE_ALL_FEATURES
6773 if test -z "$defaultval"; then
6774 if test x"$enablestring" = xdisable; then
6781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6783 # Check whether --enable-dynamicloader was given.
6784 if test "${enable_dynamicloader+set}" = set; then
6785 enableval=$enable_dynamicloader;
6786 if test "$enableval" = yes; then
6787 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6789 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6794 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6799 eval "$wx_cv_use_dynamicloader"
6801 if test x"$enablestring" = xdisable; then
6802 if test $wxUSE_DYNAMIC_LOADER = no; then
6808 result=$wxUSE_DYNAMIC_LOADER
6811 { echo "$as_me:$LINENO: result: $result" >&5
6812 echo "${ECHO_T}$result" >&6; }
6816 defaultval=$wxUSE_ALL_FEATURES
6817 if test -z "$defaultval"; then
6818 if test x"$enablestring" = xdisable; then
6825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6827 # Check whether --enable-exceptions was given.
6828 if test "${enable_exceptions+set}" = set; then
6829 enableval=$enable_exceptions;
6830 if test "$enableval" = yes; then
6831 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6833 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6838 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6843 eval "$wx_cv_use_exceptions"
6845 if test x"$enablestring" = xdisable; then
6846 if test $wxUSE_EXCEPTIONS = no; then
6852 result=$wxUSE_EXCEPTIONS
6855 { echo "$as_me:$LINENO: result: $result" >&5
6856 echo "${ECHO_T}$result" >&6; }
6860 defaultval=$wxUSE_ALL_FEATURES
6861 if test -z "$defaultval"; then
6862 if test x"$enablestring" = xdisable; then
6869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6870 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6871 # Check whether --enable-ffile was given.
6872 if test "${enable_ffile+set}" = set; then
6873 enableval=$enable_ffile;
6874 if test "$enableval" = yes; then
6875 wx_cv_use_ffile='wxUSE_FFILE=yes'
6877 wx_cv_use_ffile='wxUSE_FFILE=no'
6882 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6887 eval "$wx_cv_use_ffile"
6889 if test x"$enablestring" = xdisable; then
6890 if test $wxUSE_FFILE = no; then
6899 { echo "$as_me:$LINENO: result: $result" >&5
6900 echo "${ECHO_T}$result" >&6; }
6904 defaultval=$wxUSE_ALL_FEATURES
6905 if test -z "$defaultval"; then
6906 if test x"$enablestring" = xdisable; then
6913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6914 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6915 # Check whether --enable-file was given.
6916 if test "${enable_file+set}" = set; then
6917 enableval=$enable_file;
6918 if test "$enableval" = yes; then
6919 wx_cv_use_file='wxUSE_FILE=yes'
6921 wx_cv_use_file='wxUSE_FILE=no'
6926 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6931 eval "$wx_cv_use_file"
6933 if test x"$enablestring" = xdisable; then
6934 if test $wxUSE_FILE = no; then
6943 { echo "$as_me:$LINENO: result: $result" >&5
6944 echo "${ECHO_T}$result" >&6; }
6948 defaultval=$wxUSE_ALL_FEATURES
6949 if test -z "$defaultval"; then
6950 if test x"$enablestring" = xdisable; then
6957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6958 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6959 # Check whether --enable-filesystem was given.
6960 if test "${enable_filesystem+set}" = set; then
6961 enableval=$enable_filesystem;
6962 if test "$enableval" = yes; then
6963 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6965 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6970 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6975 eval "$wx_cv_use_filesystem"
6977 if test x"$enablestring" = xdisable; then
6978 if test $wxUSE_FILESYSTEM = no; then
6984 result=$wxUSE_FILESYSTEM
6987 { echo "$as_me:$LINENO: result: $result" >&5
6988 echo "${ECHO_T}$result" >&6; }
6992 defaultval=$wxUSE_ALL_FEATURES
6993 if test -z "$defaultval"; then
6994 if test x"$enablestring" = xdisable; then
7001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7003 # Check whether --enable-fontenum was given.
7004 if test "${enable_fontenum+set}" = set; then
7005 enableval=$enable_fontenum;
7006 if test "$enableval" = yes; then
7007 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7009 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7014 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7019 eval "$wx_cv_use_fontenum"
7021 if test x"$enablestring" = xdisable; then
7022 if test $wxUSE_FONTENUM = no; then
7028 result=$wxUSE_FONTENUM
7031 { echo "$as_me:$LINENO: result: $result" >&5
7032 echo "${ECHO_T}$result" >&6; }
7036 defaultval=$wxUSE_ALL_FEATURES
7037 if test -z "$defaultval"; then
7038 if test x"$enablestring" = xdisable; then
7045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7047 # Check whether --enable-fontmap was given.
7048 if test "${enable_fontmap+set}" = set; then
7049 enableval=$enable_fontmap;
7050 if test "$enableval" = yes; then
7051 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7053 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7058 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7063 eval "$wx_cv_use_fontmap"
7065 if test x"$enablestring" = xdisable; then
7066 if test $wxUSE_FONTMAP = no; then
7072 result=$wxUSE_FONTMAP
7075 { echo "$as_me:$LINENO: result: $result" >&5
7076 echo "${ECHO_T}$result" >&6; }
7080 defaultval=$wxUSE_ALL_FEATURES
7081 if test -z "$defaultval"; then
7082 if test x"$enablestring" = xdisable; then
7089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7091 # Check whether --enable-fs_archive was given.
7092 if test "${enable_fs_archive+set}" = set; then
7093 enableval=$enable_fs_archive;
7094 if test "$enableval" = yes; then
7095 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7097 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7102 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7107 eval "$wx_cv_use_fs_archive"
7109 if test x"$enablestring" = xdisable; then
7110 if test $wxUSE_FS_ARCHIVE = no; then
7116 result=$wxUSE_FS_ARCHIVE
7119 { echo "$as_me:$LINENO: result: $result" >&5
7120 echo "${ECHO_T}$result" >&6; }
7124 defaultval=$wxUSE_ALL_FEATURES
7125 if test -z "$defaultval"; then
7126 if test x"$enablestring" = xdisable; then
7133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7134 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7135 # Check whether --enable-fs_inet was given.
7136 if test "${enable_fs_inet+set}" = set; then
7137 enableval=$enable_fs_inet;
7138 if test "$enableval" = yes; then
7139 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7141 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7146 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7151 eval "$wx_cv_use_fs_inet"
7153 if test x"$enablestring" = xdisable; then
7154 if test $wxUSE_FS_INET = no; then
7160 result=$wxUSE_FS_INET
7163 { echo "$as_me:$LINENO: result: $result" >&5
7164 echo "${ECHO_T}$result" >&6; }
7168 defaultval=$wxUSE_ALL_FEATURES
7169 if test -z "$defaultval"; then
7170 if test x"$enablestring" = xdisable; then
7177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7179 # Check whether --enable-fs_zip was given.
7180 if test "${enable_fs_zip+set}" = set; then
7181 enableval=$enable_fs_zip;
7182 if test "$enableval" = yes; then
7183 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7185 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7190 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7195 eval "$wx_cv_use_fs_zip"
7197 if test x"$enablestring" = xdisable; then
7198 if test $wxUSE_FS_ZIP = no; then
7204 result=$wxUSE_FS_ZIP
7207 { echo "$as_me:$LINENO: result: $result" >&5
7208 echo "${ECHO_T}$result" >&6; }
7212 defaultval=$wxUSE_ALL_FEATURES
7213 if test -z "$defaultval"; then
7214 if test x"$enablestring" = xdisable; then
7221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7222 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7223 # Check whether --enable-geometry was given.
7224 if test "${enable_geometry+set}" = set; then
7225 enableval=$enable_geometry;
7226 if test "$enableval" = yes; then
7227 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7229 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7234 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7239 eval "$wx_cv_use_geometry"
7241 if test x"$enablestring" = xdisable; then
7242 if test $wxUSE_GEOMETRY = no; then
7248 result=$wxUSE_GEOMETRY
7251 { echo "$as_me:$LINENO: result: $result" >&5
7252 echo "${ECHO_T}$result" >&6; }
7256 defaultval=$wxUSE_ALL_FEATURES
7257 if test -z "$defaultval"; then
7258 if test x"$enablestring" = xdisable; then
7265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7266 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7267 # Check whether --enable-log was given.
7268 if test "${enable_log+set}" = set; then
7269 enableval=$enable_log;
7270 if test "$enableval" = yes; then
7271 wx_cv_use_log='wxUSE_LOG=yes'
7273 wx_cv_use_log='wxUSE_LOG=no'
7278 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7283 eval "$wx_cv_use_log"
7285 if test x"$enablestring" = xdisable; then
7286 if test $wxUSE_LOG = no; then
7295 { echo "$as_me:$LINENO: result: $result" >&5
7296 echo "${ECHO_T}$result" >&6; }
7300 defaultval=$wxUSE_ALL_FEATURES
7301 if test -z "$defaultval"; then
7302 if test x"$enablestring" = xdisable; then
7309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7310 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7311 # Check whether --enable-longlong was given.
7312 if test "${enable_longlong+set}" = set; then
7313 enableval=$enable_longlong;
7314 if test "$enableval" = yes; then
7315 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7317 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7322 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7327 eval "$wx_cv_use_longlong"
7329 if test x"$enablestring" = xdisable; then
7330 if test $wxUSE_LONGLONG = no; then
7336 result=$wxUSE_LONGLONG
7339 { echo "$as_me:$LINENO: result: $result" >&5
7340 echo "${ECHO_T}$result" >&6; }
7344 defaultval=$wxUSE_ALL_FEATURES
7345 if test -z "$defaultval"; then
7346 if test x"$enablestring" = xdisable; then
7353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7354 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7355 # Check whether --enable-mimetype was given.
7356 if test "${enable_mimetype+set}" = set; then
7357 enableval=$enable_mimetype;
7358 if test "$enableval" = yes; then
7359 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7361 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7366 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7371 eval "$wx_cv_use_mimetype"
7373 if test x"$enablestring" = xdisable; then
7374 if test $wxUSE_MIMETYPE = no; then
7380 result=$wxUSE_MIMETYPE
7383 { echo "$as_me:$LINENO: result: $result" >&5
7384 echo "${ECHO_T}$result" >&6; }
7388 defaultval=$wxUSE_ALL_FEATURES
7389 if test -z "$defaultval"; then
7390 if test x"$enablestring" = xdisable; then
7397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7399 # Check whether --enable-printfposparam was given.
7400 if test "${enable_printfposparam+set}" = set; then
7401 enableval=$enable_printfposparam;
7402 if test "$enableval" = yes; then
7403 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7405 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7410 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7415 eval "$wx_cv_use_printfposparam"
7417 if test x"$enablestring" = xdisable; then
7418 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7424 result=$wxUSE_PRINTF_POS_PARAMS
7427 { echo "$as_me:$LINENO: result: $result" >&5
7428 echo "${ECHO_T}$result" >&6; }
7432 defaultval=$wxUSE_ALL_FEATURES
7433 if test -z "$defaultval"; then
7434 if test x"$enablestring" = xdisable; then
7441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7443 # Check whether --enable-snglinst was given.
7444 if test "${enable_snglinst+set}" = set; then
7445 enableval=$enable_snglinst;
7446 if test "$enableval" = yes; then
7447 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7449 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7454 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7459 eval "$wx_cv_use_snglinst"
7461 if test x"$enablestring" = xdisable; then
7462 if test $wxUSE_SNGLINST_CHECKER = no; then
7468 result=$wxUSE_SNGLINST_CHECKER
7471 { echo "$as_me:$LINENO: result: $result" >&5
7472 echo "${ECHO_T}$result" >&6; }
7476 defaultval=$wxUSE_ALL_FEATURES
7477 if test -z "$defaultval"; then
7478 if test x"$enablestring" = xdisable; then
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7487 # Check whether --enable-sound was given.
7488 if test "${enable_sound+set}" = set; then
7489 enableval=$enable_sound;
7490 if test "$enableval" = yes; then
7491 wx_cv_use_sound='wxUSE_SOUND=yes'
7493 wx_cv_use_sound='wxUSE_SOUND=no'
7498 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7503 eval "$wx_cv_use_sound"
7505 if test x"$enablestring" = xdisable; then
7506 if test $wxUSE_SOUND = no; then
7515 { echo "$as_me:$LINENO: result: $result" >&5
7516 echo "${ECHO_T}$result" >&6; }
7520 defaultval=$wxUSE_ALL_FEATURES
7521 if test -z "$defaultval"; then
7522 if test x"$enablestring" = xdisable; then
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7531 # Check whether --enable-stdpaths was given.
7532 if test "${enable_stdpaths+set}" = set; then
7533 enableval=$enable_stdpaths;
7534 if test "$enableval" = yes; then
7535 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7537 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7542 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7547 eval "$wx_cv_use_stdpaths"
7549 if test x"$enablestring" = xdisable; then
7550 if test $wxUSE_STDPATHS = no; then
7556 result=$wxUSE_STDPATHS
7559 { echo "$as_me:$LINENO: result: $result" >&5
7560 echo "${ECHO_T}$result" >&6; }
7564 defaultval=$wxUSE_ALL_FEATURES
7565 if test -z "$defaultval"; then
7566 if test x"$enablestring" = xdisable; then
7573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7574 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7575 # Check whether --enable-stopwatch was given.
7576 if test "${enable_stopwatch+set}" = set; then
7577 enableval=$enable_stopwatch;
7578 if test "$enableval" = yes; then
7579 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7581 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7586 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7591 eval "$wx_cv_use_stopwatch"
7593 if test x"$enablestring" = xdisable; then
7594 if test $wxUSE_STOPWATCH = no; then
7600 result=$wxUSE_STOPWATCH
7603 { echo "$as_me:$LINENO: result: $result" >&5
7604 echo "${ECHO_T}$result" >&6; }
7608 defaultval=$wxUSE_ALL_FEATURES
7609 if test -z "$defaultval"; then
7610 if test x"$enablestring" = xdisable; then
7617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7618 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7619 # Check whether --enable-streams was given.
7620 if test "${enable_streams+set}" = set; then
7621 enableval=$enable_streams;
7622 if test "$enableval" = yes; then
7623 wx_cv_use_streams='wxUSE_STREAMS=yes'
7625 wx_cv_use_streams='wxUSE_STREAMS=no'
7630 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7635 eval "$wx_cv_use_streams"
7637 if test x"$enablestring" = xdisable; then
7638 if test $wxUSE_STREAMS = no; then
7644 result=$wxUSE_STREAMS
7647 { echo "$as_me:$LINENO: result: $result" >&5
7648 echo "${ECHO_T}$result" >&6; }
7652 defaultval=$wxUSE_ALL_FEATURES
7653 if test -z "$defaultval"; then
7654 if test x"$enablestring" = xdisable; then
7661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7663 # Check whether --enable-system_options was given.
7664 if test "${enable_system_options+set}" = set; then
7665 enableval=$enable_system_options;
7666 if test "$enableval" = yes; then
7667 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7669 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7674 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7679 eval "$wx_cv_use_system_options"
7681 if test x"$enablestring" = xdisable; then
7682 if test $wxUSE_SYSTEM_OPTIONS = no; then
7688 result=$wxUSE_SYSTEM_OPTIONS
7691 { echo "$as_me:$LINENO: result: $result" >&5
7692 echo "${ECHO_T}$result" >&6; }
7696 defaultval=$wxUSE_ALL_FEATURES
7697 if test -z "$defaultval"; then
7698 if test x"$enablestring" = xdisable; then
7705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7706 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7707 # Check whether --enable-tarstream was given.
7708 if test "${enable_tarstream+set}" = set; then
7709 enableval=$enable_tarstream;
7710 if test "$enableval" = yes; then
7711 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7713 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7718 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7723 eval "$wx_cv_use_tarstream"
7725 if test x"$enablestring" = xdisable; then
7726 if test $wxUSE_TARSTREAM = no; then
7732 result=$wxUSE_TARSTREAM
7735 { echo "$as_me:$LINENO: result: $result" >&5
7736 echo "${ECHO_T}$result" >&6; }
7740 defaultval=$wxUSE_ALL_FEATURES
7741 if test -z "$defaultval"; then
7742 if test x"$enablestring" = xdisable; then
7749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7751 # Check whether --enable-textbuf was given.
7752 if test "${enable_textbuf+set}" = set; then
7753 enableval=$enable_textbuf;
7754 if test "$enableval" = yes; then
7755 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7757 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7762 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7767 eval "$wx_cv_use_textbuf"
7769 if test x"$enablestring" = xdisable; then
7770 if test $wxUSE_TEXTBUFFER = no; then
7776 result=$wxUSE_TEXTBUFFER
7779 { echo "$as_me:$LINENO: result: $result" >&5
7780 echo "${ECHO_T}$result" >&6; }
7784 defaultval=$wxUSE_ALL_FEATURES
7785 if test -z "$defaultval"; then
7786 if test x"$enablestring" = xdisable; then
7793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7795 # Check whether --enable-textfile was given.
7796 if test "${enable_textfile+set}" = set; then
7797 enableval=$enable_textfile;
7798 if test "$enableval" = yes; then
7799 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7801 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7806 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7811 eval "$wx_cv_use_textfile"
7813 if test x"$enablestring" = xdisable; then
7814 if test $wxUSE_TEXTFILE = no; then
7820 result=$wxUSE_TEXTFILE
7823 { echo "$as_me:$LINENO: result: $result" >&5
7824 echo "${ECHO_T}$result" >&6; }
7828 defaultval=$wxUSE_ALL_FEATURES
7829 if test -z "$defaultval"; then
7830 if test x"$enablestring" = xdisable; then
7837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7839 # Check whether --enable-timer was given.
7840 if test "${enable_timer+set}" = set; then
7841 enableval=$enable_timer;
7842 if test "$enableval" = yes; then
7843 wx_cv_use_timer='wxUSE_TIMER=yes'
7845 wx_cv_use_timer='wxUSE_TIMER=no'
7850 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7855 eval "$wx_cv_use_timer"
7857 if test x"$enablestring" = xdisable; then
7858 if test $wxUSE_TIMER = no; then
7867 { echo "$as_me:$LINENO: result: $result" >&5
7868 echo "${ECHO_T}$result" >&6; }
7872 defaultval=$wxUSE_ALL_FEATURES
7873 if test -z "$defaultval"; then
7874 if test x"$enablestring" = xdisable; then
7881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7883 # Check whether --enable-variant was given.
7884 if test "${enable_variant+set}" = set; then
7885 enableval=$enable_variant;
7886 if test "$enableval" = yes; then
7887 wx_cv_use_variant='wxUSE_VARIANT=yes'
7889 wx_cv_use_variant='wxUSE_VARIANT=no'
7894 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7899 eval "$wx_cv_use_variant"
7901 if test x"$enablestring" = xdisable; then
7902 if test $wxUSE_VARIANT = no; then
7908 result=$wxUSE_VARIANT
7911 { echo "$as_me:$LINENO: result: $result" >&5
7912 echo "${ECHO_T}$result" >&6; }
7916 defaultval=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x"$enablestring" = xdisable; then
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7927 # Check whether --enable-zipstream was given.
7928 if test "${enable_zipstream+set}" = set; then
7929 enableval=$enable_zipstream;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7933 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7938 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7943 eval "$wx_cv_use_zipstream"
7945 if test x"$enablestring" = xdisable; then
7946 if test $wxUSE_ZIPSTREAM = no; then
7952 result=$wxUSE_ZIPSTREAM
7955 { echo "$as_me:$LINENO: result: $result" >&5
7956 echo "${ECHO_T}$result" >&6; }
7961 defaultval=$wxUSE_ALL_FEATURES
7962 if test -z "$defaultval"; then
7963 if test x"$enablestring" = xdisable; then
7970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7972 # Check whether --enable-url was given.
7973 if test "${enable_url+set}" = set; then
7974 enableval=$enable_url;
7975 if test "$enableval" = yes; then
7976 wx_cv_use_url='wxUSE_URL=yes'
7978 wx_cv_use_url='wxUSE_URL=no'
7983 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7988 eval "$wx_cv_use_url"
7990 if test x"$enablestring" = xdisable; then
7991 if test $wxUSE_URL = no; then
8000 { echo "$as_me:$LINENO: result: $result" >&5
8001 echo "${ECHO_T}$result" >&6; }
8005 defaultval=$wxUSE_ALL_FEATURES
8006 if test -z "$defaultval"; then
8007 if test x"$enablestring" = xdisable; then
8014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8015 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8016 # Check whether --enable-protocol was given.
8017 if test "${enable_protocol+set}" = set; then
8018 enableval=$enable_protocol;
8019 if test "$enableval" = yes; then
8020 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8022 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8027 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8032 eval "$wx_cv_use_protocol"
8034 if test x"$enablestring" = xdisable; then
8035 if test $wxUSE_PROTOCOL = no; then
8041 result=$wxUSE_PROTOCOL
8044 { echo "$as_me:$LINENO: result: $result" >&5
8045 echo "${ECHO_T}$result" >&6; }
8049 defaultval=$wxUSE_ALL_FEATURES
8050 if test -z "$defaultval"; then
8051 if test x"$enablestring" = xdisable; then
8058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8060 # Check whether --enable-protocol_http was given.
8061 if test "${enable_protocol_http+set}" = set; then
8062 enableval=$enable_protocol_http;
8063 if test "$enableval" = yes; then
8064 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8066 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8071 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8076 eval "$wx_cv_use_protocol_http"
8078 if test x"$enablestring" = xdisable; then
8079 if test $wxUSE_PROTOCOL_HTTP = no; then
8085 result=$wxUSE_PROTOCOL_HTTP
8088 { echo "$as_me:$LINENO: result: $result" >&5
8089 echo "${ECHO_T}$result" >&6; }
8093 defaultval=$wxUSE_ALL_FEATURES
8094 if test -z "$defaultval"; then
8095 if test x"$enablestring" = xdisable; then
8102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8103 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8104 # Check whether --enable-protocol_ftp was given.
8105 if test "${enable_protocol_ftp+set}" = set; then
8106 enableval=$enable_protocol_ftp;
8107 if test "$enableval" = yes; then
8108 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8110 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8115 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8120 eval "$wx_cv_use_protocol_ftp"
8122 if test x"$enablestring" = xdisable; then
8123 if test $wxUSE_PROTOCOL_FTP = no; then
8129 result=$wxUSE_PROTOCOL_FTP
8132 { echo "$as_me:$LINENO: result: $result" >&5
8133 echo "${ECHO_T}$result" >&6; }
8137 defaultval=$wxUSE_ALL_FEATURES
8138 if test -z "$defaultval"; then
8139 if test x"$enablestring" = xdisable; then
8146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8148 # Check whether --enable-protocol_file was given.
8149 if test "${enable_protocol_file+set}" = set; then
8150 enableval=$enable_protocol_file;
8151 if test "$enableval" = yes; then
8152 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8154 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8159 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8164 eval "$wx_cv_use_protocol_file"
8166 if test x"$enablestring" = xdisable; then
8167 if test $wxUSE_PROTOCOL_FILE = no; then
8173 result=$wxUSE_PROTOCOL_FILE
8176 { echo "$as_me:$LINENO: result: $result" >&5
8177 echo "${ECHO_T}$result" >&6; }
8182 defaultval=$wxUSE_ALL_FEATURES
8183 if test -z "$defaultval"; then
8184 if test x"$enablestring" = xdisable; then
8191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8193 # Check whether --enable-threads was given.
8194 if test "${enable_threads+set}" = set; then
8195 enableval=$enable_threads;
8196 if test "$enableval" = yes; then
8197 wx_cv_use_threads='wxUSE_THREADS=yes'
8199 wx_cv_use_threads='wxUSE_THREADS=no'
8204 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8209 eval "$wx_cv_use_threads"
8211 if test x"$enablestring" = xdisable; then
8212 if test $wxUSE_THREADS = no; then
8218 result=$wxUSE_THREADS
8221 { echo "$as_me:$LINENO: result: $result" >&5
8222 echo "${ECHO_T}$result" >&6; }
8228 if test -z "$defaultval"; then
8229 if test x"$enablestring" = xdisable; then
8236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8238 # Check whether --enable-iniconf was given.
8239 if test "${enable_iniconf+set}" = set; then
8240 enableval=$enable_iniconf;
8241 if test "$enableval" = yes; then
8242 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8244 wx_cv_use_iniconf='wxUSE_INICONF=no'
8249 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8254 eval "$wx_cv_use_iniconf"
8256 if test x"$enablestring" = xdisable; then
8257 if test $wxUSE_INICONF = no; then
8263 result=$wxUSE_INICONF
8266 { echo "$as_me:$LINENO: result: $result" >&5
8267 echo "${ECHO_T}$result" >&6; }
8271 defaultval=$wxUSE_ALL_FEATURES
8272 if test -z "$defaultval"; then
8273 if test x"$enablestring" = xdisable; then
8280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8282 # Check whether --enable-regkey was given.
8283 if test "${enable_regkey+set}" = set; then
8284 enableval=$enable_regkey;
8285 if test "$enableval" = yes; then
8286 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8288 wx_cv_use_regkey='wxUSE_REGKEY=no'
8293 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8298 eval "$wx_cv_use_regkey"
8300 if test x"$enablestring" = xdisable; then
8301 if test $wxUSE_REGKEY = no; then
8307 result=$wxUSE_REGKEY
8310 { echo "$as_me:$LINENO: result: $result" >&5
8311 echo "${ECHO_T}$result" >&6; }
8314 if test "$wxUSE_GUI" = "yes"; then
8319 defaultval=$wxUSE_ALL_FEATURES
8320 if test -z "$defaultval"; then
8321 if test x"$enablestring" = xdisable; then
8328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8330 # Check whether --enable-docview was given.
8331 if test "${enable_docview+set}" = set; then
8332 enableval=$enable_docview;
8333 if test "$enableval" = yes; then
8334 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8336 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8341 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8346 eval "$wx_cv_use_docview"
8348 if test x"$enablestring" = xdisable; then
8349 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8355 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8358 { echo "$as_me:$LINENO: result: $result" >&5
8359 echo "${ECHO_T}$result" >&6; }
8363 defaultval=$wxUSE_ALL_FEATURES
8364 if test -z "$defaultval"; then
8365 if test x"$enablestring" = xdisable; then
8372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8373 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8374 # Check whether --enable-help was given.
8375 if test "${enable_help+set}" = set; then
8376 enableval=$enable_help;
8377 if test "$enableval" = yes; then
8378 wx_cv_use_help='wxUSE_HELP=yes'
8380 wx_cv_use_help='wxUSE_HELP=no'
8385 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8390 eval "$wx_cv_use_help"
8392 if test x"$enablestring" = xdisable; then
8393 if test $wxUSE_HELP = no; then
8402 { echo "$as_me:$LINENO: result: $result" >&5
8403 echo "${ECHO_T}$result" >&6; }
8407 defaultval=$wxUSE_ALL_FEATURES
8408 if test -z "$defaultval"; then
8409 if test x"$enablestring" = xdisable; then
8416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8417 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8418 # Check whether --enable-mshtmlhelp was given.
8419 if test "${enable_mshtmlhelp+set}" = set; then
8420 enableval=$enable_mshtmlhelp;
8421 if test "$enableval" = yes; then
8422 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8424 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8429 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8434 eval "$wx_cv_use_mshtmlhelp"
8436 if test x"$enablestring" = xdisable; then
8437 if test $wxUSE_MS_HTML_HELP = no; then
8443 result=$wxUSE_MS_HTML_HELP
8446 { echo "$as_me:$LINENO: result: $result" >&5
8447 echo "${ECHO_T}$result" >&6; }
8451 defaultval=$wxUSE_ALL_FEATURES
8452 if test -z "$defaultval"; then
8453 if test x"$enablestring" = xdisable; then
8460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8461 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8462 # Check whether --enable-html was given.
8463 if test "${enable_html+set}" = set; then
8464 enableval=$enable_html;
8465 if test "$enableval" = yes; then
8466 wx_cv_use_html='wxUSE_HTML=yes'
8468 wx_cv_use_html='wxUSE_HTML=no'
8473 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8478 eval "$wx_cv_use_html"
8480 if test x"$enablestring" = xdisable; then
8481 if test $wxUSE_HTML = no; then
8490 { echo "$as_me:$LINENO: result: $result" >&5
8491 echo "${ECHO_T}$result" >&6; }
8495 defaultval=$wxUSE_ALL_FEATURES
8496 if test -z "$defaultval"; then
8497 if test x"$enablestring" = xdisable; then
8504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8505 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8506 # Check whether --enable-htmlhelp was given.
8507 if test "${enable_htmlhelp+set}" = set; then
8508 enableval=$enable_htmlhelp;
8509 if test "$enableval" = yes; then
8510 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8512 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8517 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8522 eval "$wx_cv_use_htmlhelp"
8524 if test x"$enablestring" = xdisable; then
8525 if test $wxUSE_WXHTML_HELP = no; then
8531 result=$wxUSE_WXHTML_HELP
8534 { echo "$as_me:$LINENO: result: $result" >&5
8535 echo "${ECHO_T}$result" >&6; }
8539 defaultval=$wxUSE_ALL_FEATURES
8540 if test -z "$defaultval"; then
8541 if test x"$enablestring" = xdisable; then
8548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8549 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8550 # Check whether --enable-xrc was given.
8551 if test "${enable_xrc+set}" = set; then
8552 enableval=$enable_xrc;
8553 if test "$enableval" = yes; then
8554 wx_cv_use_xrc='wxUSE_XRC=yes'
8556 wx_cv_use_xrc='wxUSE_XRC=no'
8561 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8566 eval "$wx_cv_use_xrc"
8568 if test x"$enablestring" = xdisable; then
8569 if test $wxUSE_XRC = no; then
8578 { echo "$as_me:$LINENO: result: $result" >&5
8579 echo "${ECHO_T}$result" >&6; }
8583 defaultval=$wxUSE_ALL_FEATURES
8584 if test -z "$defaultval"; then
8585 if test x"$enablestring" = xdisable; then
8592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8594 # Check whether --enable-aui was given.
8595 if test "${enable_aui+set}" = set; then
8596 enableval=$enable_aui;
8597 if test "$enableval" = yes; then
8598 wx_cv_use_aui='wxUSE_AUI=yes'
8600 wx_cv_use_aui='wxUSE_AUI=no'
8605 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8610 eval "$wx_cv_use_aui"
8612 if test x"$enablestring" = xdisable; then
8613 if test $wxUSE_AUI = no; then
8622 { echo "$as_me:$LINENO: result: $result" >&5
8623 echo "${ECHO_T}$result" >&6; }
8627 defaultval=$wxUSE_ALL_FEATURES
8628 if test -z "$defaultval"; then
8629 if test x"$enablestring" = xdisable; then
8636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8637 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8638 # Check whether --enable-propgrid was given.
8639 if test "${enable_propgrid+set}" = set; then
8640 enableval=$enable_propgrid;
8641 if test "$enableval" = yes; then
8642 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8644 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8649 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8654 eval "$wx_cv_use_propgrid"
8656 if test x"$enablestring" = xdisable; then
8657 if test $wxUSE_PROPGRID = no; then
8663 result=$wxUSE_PROPGRID
8666 { echo "$as_me:$LINENO: result: $result" >&5
8667 echo "${ECHO_T}$result" >&6; }
8671 defaultval=$wxUSE_ALL_FEATURES
8672 if test -z "$defaultval"; then
8673 if test x"$enablestring" = xdisable; then
8680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8681 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8682 # Check whether --enable-ribbon was given.
8683 if test "${enable_ribbon+set}" = set; then
8684 enableval=$enable_ribbon;
8685 if test "$enableval" = yes; then
8686 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8688 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8693 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8698 eval "$wx_cv_use_ribbon"
8700 if test x"$enablestring" = xdisable; then
8701 if test $wxUSE_RIBBON = no; then
8707 result=$wxUSE_RIBBON
8710 { echo "$as_me:$LINENO: result: $result" >&5
8711 echo "${ECHO_T}$result" >&6; }
8715 defaultval=$wxUSE_ALL_FEATURES
8716 if test -z "$defaultval"; then
8717 if test x"$enablestring" = xdisable; then
8724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8725 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8726 # Check whether --enable-stc was given.
8727 if test "${enable_stc+set}" = set; then
8728 enableval=$enable_stc;
8729 if test "$enableval" = yes; then
8730 wx_cv_use_stc='wxUSE_STC=yes'
8732 wx_cv_use_stc='wxUSE_STC=no'
8737 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8742 eval "$wx_cv_use_stc"
8744 if test x"$enablestring" = xdisable; then
8745 if test $wxUSE_STC = no; then
8754 { echo "$as_me:$LINENO: result: $result" >&5
8755 echo "${ECHO_T}$result" >&6; }
8759 defaultval=$wxUSE_ALL_FEATURES
8760 if test -z "$defaultval"; then
8761 if test x"$enablestring" = xdisable; then
8768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8770 # Check whether --enable-constraints was given.
8771 if test "${enable_constraints+set}" = set; then
8772 enableval=$enable_constraints;
8773 if test "$enableval" = yes; then
8774 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8776 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8781 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8786 eval "$wx_cv_use_constraints"
8788 if test x"$enablestring" = xdisable; then
8789 if test $wxUSE_CONSTRAINTS = no; then
8795 result=$wxUSE_CONSTRAINTS
8798 { echo "$as_me:$LINENO: result: $result" >&5
8799 echo "${ECHO_T}$result" >&6; }
8803 defaultval=$wxUSE_ALL_FEATURES
8804 if test -z "$defaultval"; then
8805 if test x"$enablestring" = xdisable; then
8812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8814 # Check whether --enable-loggui was given.
8815 if test "${enable_loggui+set}" = set; then
8816 enableval=$enable_loggui;
8817 if test "$enableval" = yes; then
8818 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8820 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8825 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8830 eval "$wx_cv_use_loggui"
8832 if test x"$enablestring" = xdisable; then
8833 if test $wxUSE_LOGGUI = no; then
8839 result=$wxUSE_LOGGUI
8842 { echo "$as_me:$LINENO: result: $result" >&5
8843 echo "${ECHO_T}$result" >&6; }
8847 defaultval=$wxUSE_ALL_FEATURES
8848 if test -z "$defaultval"; then
8849 if test x"$enablestring" = xdisable; then
8856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8858 # Check whether --enable-logwin was given.
8859 if test "${enable_logwin+set}" = set; then
8860 enableval=$enable_logwin;
8861 if test "$enableval" = yes; then
8862 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8864 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8869 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8874 eval "$wx_cv_use_logwin"
8876 if test x"$enablestring" = xdisable; then
8877 if test $wxUSE_LOGWINDOW = no; then
8883 result=$wxUSE_LOGWINDOW
8886 { echo "$as_me:$LINENO: result: $result" >&5
8887 echo "${ECHO_T}$result" >&6; }
8891 defaultval=$wxUSE_ALL_FEATURES
8892 if test -z "$defaultval"; then
8893 if test x"$enablestring" = xdisable; then
8900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8901 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8902 # Check whether --enable-logdialog was given.
8903 if test "${enable_logdialog+set}" = set; then
8904 enableval=$enable_logdialog;
8905 if test "$enableval" = yes; then
8906 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8908 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8913 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8918 eval "$wx_cv_use_logdialog"
8920 if test x"$enablestring" = xdisable; then
8921 if test $wxUSE_LOGDIALOG = no; then
8927 result=$wxUSE_LOGDIALOG
8930 { echo "$as_me:$LINENO: result: $result" >&5
8931 echo "${ECHO_T}$result" >&6; }
8935 defaultval=$wxUSE_ALL_FEATURES
8936 if test -z "$defaultval"; then
8937 if test x"$enablestring" = xdisable; then
8944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8946 # Check whether --enable-mdi was given.
8947 if test "${enable_mdi+set}" = set; then
8948 enableval=$enable_mdi;
8949 if test "$enableval" = yes; then
8950 wx_cv_use_mdi='wxUSE_MDI=yes'
8952 wx_cv_use_mdi='wxUSE_MDI=no'
8957 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8962 eval "$wx_cv_use_mdi"
8964 if test x"$enablestring" = xdisable; then
8965 if test $wxUSE_MDI = no; then
8974 { echo "$as_me:$LINENO: result: $result" >&5
8975 echo "${ECHO_T}$result" >&6; }
8979 defaultval=$wxUSE_ALL_FEATURES
8980 if test -z "$defaultval"; then
8981 if test x"$enablestring" = xdisable; then
8988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8989 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8990 # Check whether --enable-mdidoc was given.
8991 if test "${enable_mdidoc+set}" = set; then
8992 enableval=$enable_mdidoc;
8993 if test "$enableval" = yes; then
8994 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8996 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9001 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9006 eval "$wx_cv_use_mdidoc"
9008 if test x"$enablestring" = xdisable; then
9009 if test $wxUSE_MDI_ARCHITECTURE = no; then
9015 result=$wxUSE_MDI_ARCHITECTURE
9018 { echo "$as_me:$LINENO: result: $result" >&5
9019 echo "${ECHO_T}$result" >&6; }
9023 defaultval=$wxUSE_ALL_FEATURES
9024 if test -z "$defaultval"; then
9025 if test x"$enablestring" = xdisable; then
9032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9034 # Check whether --enable-mediactrl was given.
9035 if test "${enable_mediactrl+set}" = set; then
9036 enableval=$enable_mediactrl;
9037 if test "$enableval" = yes; then
9038 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9040 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9045 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9050 eval "$wx_cv_use_mediactrl"
9052 if test x"$enablestring" = xdisable; then
9053 if test $wxUSE_MEDIACTRL = no; then
9059 result=$wxUSE_MEDIACTRL
9062 { echo "$as_me:$LINENO: result: $result" >&5
9063 echo "${ECHO_T}$result" >&6; }
9067 defaultval=$wxUSE_ALL_FEATURES
9068 if test -z "$defaultval"; then
9069 if test x"$enablestring" = xdisable; then
9076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9077 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9078 # Check whether --enable-gstreamer8 was given.
9079 if test "${enable_gstreamer8+set}" = set; then
9080 enableval=$enable_gstreamer8;
9081 if test "$enableval" = yes; then
9082 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9084 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9089 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9094 eval "$wx_cv_use_gstreamer8"
9096 if test x"$enablestring" = xdisable; then
9097 if test $wxUSE_GSTREAMER8 = no; then
9103 result=$wxUSE_GSTREAMER8
9106 { echo "$as_me:$LINENO: result: $result" >&5
9107 echo "${ECHO_T}$result" >&6; }
9111 defaultval=$wxUSE_ALL_FEATURES
9112 if test -z "$defaultval"; then
9113 if test x"$enablestring" = xdisable; then
9120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9122 # Check whether --enable-webkit was given.
9123 if test "${enable_webkit+set}" = set; then
9124 enableval=$enable_webkit;
9125 if test "$enableval" = yes; then
9126 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9128 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9133 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9138 eval "$wx_cv_use_webkit"
9140 if test x"$enablestring" = xdisable; then
9141 if test $wxUSE_WEBKIT = no; then
9147 result=$wxUSE_WEBKIT
9150 { echo "$as_me:$LINENO: result: $result" >&5
9151 echo "${ECHO_T}$result" >&6; }
9155 defaultval=$wxUSE_ALL_FEATURES
9156 if test -z "$defaultval"; then
9157 if test x"$enablestring" = xdisable; then
9164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9165 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9166 # Check whether --enable-richtext was given.
9167 if test "${enable_richtext+set}" = set; then
9168 enableval=$enable_richtext;
9169 if test "$enableval" = yes; then
9170 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9172 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9177 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9182 eval "$wx_cv_use_richtext"
9184 if test x"$enablestring" = xdisable; then
9185 if test $wxUSE_RICHTEXT = no; then
9191 result=$wxUSE_RICHTEXT
9194 { echo "$as_me:$LINENO: result: $result" >&5
9195 echo "${ECHO_T}$result" >&6; }
9199 defaultval=$wxUSE_ALL_FEATURES
9200 if test -z "$defaultval"; then
9201 if test x"$enablestring" = xdisable; then
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9210 # Check whether --enable-graphics_ctx was given.
9211 if test "${enable_graphics_ctx+set}" = set; then
9212 enableval=$enable_graphics_ctx;
9213 if test "$enableval" = yes; then
9214 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9216 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9221 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9226 eval "$wx_cv_use_graphics_ctx"
9228 if test x"$enablestring" = xdisable; then
9229 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9235 result=$wxUSE_GRAPHICS_CONTEXT
9238 { echo "$as_me:$LINENO: result: $result" >&5
9239 echo "${ECHO_T}$result" >&6; }
9243 defaultval=$wxUSE_ALL_FEATURES
9244 if test -z "$defaultval"; then
9245 if test x"$enablestring" = xdisable; then
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9254 # Check whether --enable-postscript was given.
9255 if test "${enable_postscript+set}" = set; then
9256 enableval=$enable_postscript;
9257 if test "$enableval" = yes; then
9258 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9260 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9265 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9270 eval "$wx_cv_use_postscript"
9272 if test x"$enablestring" = xdisable; then
9273 if test $wxUSE_POSTSCRIPT = no; then
9279 result=$wxUSE_POSTSCRIPT
9282 { echo "$as_me:$LINENO: result: $result" >&5
9283 echo "${ECHO_T}$result" >&6; }
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9298 # Check whether --enable-printarch was given.
9299 if test "${enable_printarch+set}" = set; then
9300 enableval=$enable_printarch;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9304 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9309 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9314 eval "$wx_cv_use_printarch"
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9323 result=$wxUSE_PRINTING_ARCHITECTURE
9326 { echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9342 # Check whether --enable-svg was given.
9343 if test "${enable_svg+set}" = set; then
9344 enableval=$enable_svg;
9345 if test "$enableval" = yes; then
9346 wx_cv_use_svg='wxUSE_SVG=yes'
9348 wx_cv_use_svg='wxUSE_SVG=no'
9353 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9358 eval "$wx_cv_use_svg"
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_SVG = no; then
9370 { echo "$as_me:$LINENO: result: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9377 defaultval=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x"$enablestring" = xdisable; then
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9388 # Check whether --enable-clipboard was given.
9389 if test "${enable_clipboard+set}" = set; then
9390 enableval=$enable_clipboard;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9394 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9399 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9404 eval "$wx_cv_use_clipboard"
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_CLIPBOARD = no; then
9413 result=$wxUSE_CLIPBOARD
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9432 # Check whether --enable-dnd was given.
9433 if test "${enable_dnd+set}" = set; then
9434 enableval=$enable_dnd;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9438 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9443 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9448 eval "$wx_cv_use_dnd"
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_DRAG_AND_DROP = no; then
9457 result=$wxUSE_DRAG_AND_DROP
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9465 defaultval=$wxUSE_ALL_FEATURES
9466 if test -z "$defaultval"; then
9467 if test x"$enablestring" = xdisable; then
9474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9476 # Check whether --enable-metafile was given.
9477 if test "${enable_metafile+set}" = set; then
9478 enableval=$enable_metafile;
9479 if test "$enableval" = yes; then
9480 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9482 wx_cv_use_metafile='wxUSE_METAFILE=no'
9487 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9492 eval "$wx_cv_use_metafile"
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_METAFILE = no; then
9501 result=$wxUSE_METAFILE
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9509 DEFAULT_wxUSE_CONTROLS=none
9511 enablestring=disable
9513 if test -z "$defaultval"; then
9514 if test x"$enablestring" = xdisable; then
9521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9522 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9523 # Check whether --enable-controls was given.
9524 if test "${enable_controls+set}" = set; then
9525 enableval=$enable_controls;
9526 if test "$enableval" = yes; then
9527 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9529 wx_cv_use_controls='wxUSE_CONTROLS=no'
9534 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9539 eval "$wx_cv_use_controls"
9541 if test x"$enablestring" = xdisable; then
9542 if test $wxUSE_CONTROLS = no; then
9548 result=$wxUSE_CONTROLS
9551 { echo "$as_me:$LINENO: result: $result" >&5
9552 echo "${ECHO_T}$result" >&6; }
9555 if test "$wxUSE_CONTROLS" = "no"; then
9556 DEFAULT_wxUSE_ACCEL=no
9557 DEFAULT_wxUSE_ANIMATIONCTRL=no
9558 DEFAULT_wxUSE_BMPBUTTON=no
9559 DEFAULT_wxUSE_BUTTON=no
9560 DEFAULT_wxUSE_CALCTRL=no
9561 DEFAULT_wxUSE_CARET=no
9562 DEFAULT_wxUSE_CHECKBOX=no
9563 DEFAULT_wxUSE_CHECKLISTBOX=no
9564 DEFAULT_wxUSE_CHOICE=no
9565 DEFAULT_wxUSE_CHOICEBOOK=no
9566 DEFAULT_wxUSE_COLLPANE=no
9567 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9568 DEFAULT_wxUSE_COMBOBOX=no
9569 DEFAULT_wxUSE_COMBOBOX=no
9570 DEFAULT_wxUSE_DATAVIEWCTRL=no
9571 DEFAULT_wxUSE_DATEPICKCTRL=no
9572 DEFAULT_wxUSE_DETECT_SM=no
9573 DEFAULT_wxUSE_DIRPICKERCTRL=no
9574 DEFAULT_wxUSE_DISPLAY=no
9575 DEFAULT_wxUSE_FILECTRL=no
9576 DEFAULT_wxUSE_FILEPICKERCTRL=no
9577 DEFAULT_wxUSE_FONTPICKERCTRL=no
9578 DEFAULT_wxUSE_GAUGE=no
9579 DEFAULT_wxUSE_GRID=no
9580 DEFAULT_wxUSE_HEADERCTRL=no
9581 DEFAULT_wxUSE_HYPERLINKCTRL=no
9582 DEFAULT_wxUSE_IMAGLIST=no
9583 DEFAULT_wxUSE_LISTBOOK=no
9584 DEFAULT_wxUSE_LISTBOX=no
9585 DEFAULT_wxUSE_LISTCTRL=no
9586 DEFAULT_wxUSE_NOTEBOOK=no
9587 DEFAULT_wxUSE_POPUPWIN=no
9588 DEFAULT_wxUSE_RADIOBOX=no
9589 DEFAULT_wxUSE_RADIOBTN=no
9590 DEFAULT_wxUSE_REARRANGECTRL=no
9591 DEFAULT_wxUSE_SASH=no
9592 DEFAULT_wxUSE_SCROLLBAR=no
9593 DEFAULT_wxUSE_SEARCHCTRL=no
9594 DEFAULT_wxUSE_SLIDER=no
9595 DEFAULT_wxUSE_SPINBTN=no
9596 DEFAULT_wxUSE_SPINCTRL=no
9597 DEFAULT_wxUSE_SPLITTER=no
9598 DEFAULT_wxUSE_STATBMP=no
9599 DEFAULT_wxUSE_STATBOX=no
9600 DEFAULT_wxUSE_STATLINE=no
9601 DEFAULT_wxUSE_STATUSBAR=no
9602 DEFAULT_wxUSE_TIPWINDOW=no
9603 DEFAULT_wxUSE_TOGGLEBTN=no
9604 DEFAULT_wxUSE_TOOLBAR=no
9605 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9606 DEFAULT_wxUSE_TOOLBOOK=no
9607 DEFAULT_wxUSE_TOOLTIPS=no
9608 DEFAULT_wxUSE_TREEBOOK=no
9609 DEFAULT_wxUSE_TREECTRL=no
9614 defaultval=$wxUSE_ALL_FEATURES
9615 if test -z "$defaultval"; then
9616 if test x"$enablestring" = xdisable; then
9623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9624 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9625 # Check whether --enable-accel was given.
9626 if test "${enable_accel+set}" = set; then
9627 enableval=$enable_accel;
9628 if test "$enableval" = yes; then
9629 wx_cv_use_accel='wxUSE_ACCEL=yes'
9631 wx_cv_use_accel='wxUSE_ACCEL=no'
9636 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9641 eval "$wx_cv_use_accel"
9643 if test x"$enablestring" = xdisable; then
9644 if test $wxUSE_ACCEL = no; then
9653 { echo "$as_me:$LINENO: result: $result" >&5
9654 echo "${ECHO_T}$result" >&6; }
9658 defaultval=$wxUSE_ALL_FEATURES
9659 if test -z "$defaultval"; then
9660 if test x"$enablestring" = xdisable; then
9667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9669 # Check whether --enable-animatectrl was given.
9670 if test "${enable_animatectrl+set}" = set; then
9671 enableval=$enable_animatectrl;
9672 if test "$enableval" = yes; then
9673 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9675 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9680 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9685 eval "$wx_cv_use_animatectrl"
9687 if test x"$enablestring" = xdisable; then
9688 if test $wxUSE_ANIMATIONCTRL = no; then
9694 result=$wxUSE_ANIMATIONCTRL
9697 { echo "$as_me:$LINENO: result: $result" >&5
9698 echo "${ECHO_T}$result" >&6; }
9702 defaultval=$wxUSE_ALL_FEATURES
9703 if test -z "$defaultval"; then
9704 if test x"$enablestring" = xdisable; then
9711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9713 # Check whether --enable-bmpbutton was given.
9714 if test "${enable_bmpbutton+set}" = set; then
9715 enableval=$enable_bmpbutton;
9716 if test "$enableval" = yes; then
9717 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9719 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9724 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9729 eval "$wx_cv_use_bmpbutton"
9731 if test x"$enablestring" = xdisable; then
9732 if test $wxUSE_BMPBUTTON = no; then
9738 result=$wxUSE_BMPBUTTON
9741 { echo "$as_me:$LINENO: result: $result" >&5
9742 echo "${ECHO_T}$result" >&6; }
9746 defaultval=$wxUSE_ALL_FEATURES
9747 if test -z "$defaultval"; then
9748 if test x"$enablestring" = xdisable; then
9755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9757 # Check whether --enable-bmpcombobox was given.
9758 if test "${enable_bmpcombobox+set}" = set; then
9759 enableval=$enable_bmpcombobox;
9760 if test "$enableval" = yes; then
9761 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9763 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9768 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9773 eval "$wx_cv_use_bmpcombobox"
9775 if test x"$enablestring" = xdisable; then
9776 if test $wxUSE_BITMAPCOMBOBOX = no; then
9782 result=$wxUSE_BITMAPCOMBOBOX
9785 { echo "$as_me:$LINENO: result: $result" >&5
9786 echo "${ECHO_T}$result" >&6; }
9790 defaultval=$wxUSE_ALL_FEATURES
9791 if test -z "$defaultval"; then
9792 if test x"$enablestring" = xdisable; then
9799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9800 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9801 # Check whether --enable-button was given.
9802 if test "${enable_button+set}" = set; then
9803 enableval=$enable_button;
9804 if test "$enableval" = yes; then
9805 wx_cv_use_button='wxUSE_BUTTON=yes'
9807 wx_cv_use_button='wxUSE_BUTTON=no'
9812 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9817 eval "$wx_cv_use_button"
9819 if test x"$enablestring" = xdisable; then
9820 if test $wxUSE_BUTTON = no; then
9826 result=$wxUSE_BUTTON
9829 { echo "$as_me:$LINENO: result: $result" >&5
9830 echo "${ECHO_T}$result" >&6; }
9834 defaultval=$wxUSE_ALL_FEATURES
9835 if test -z "$defaultval"; then
9836 if test x"$enablestring" = xdisable; then
9843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9845 # Check whether --enable-calendar was given.
9846 if test "${enable_calendar+set}" = set; then
9847 enableval=$enable_calendar;
9848 if test "$enableval" = yes; then
9849 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9851 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9856 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9861 eval "$wx_cv_use_calendar"
9863 if test x"$enablestring" = xdisable; then
9864 if test $wxUSE_CALCTRL = no; then
9870 result=$wxUSE_CALCTRL
9873 { echo "$as_me:$LINENO: result: $result" >&5
9874 echo "${ECHO_T}$result" >&6; }
9878 defaultval=$wxUSE_ALL_FEATURES
9879 if test -z "$defaultval"; then
9880 if test x"$enablestring" = xdisable; then
9887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9889 # Check whether --enable-caret was given.
9890 if test "${enable_caret+set}" = set; then
9891 enableval=$enable_caret;
9892 if test "$enableval" = yes; then
9893 wx_cv_use_caret='wxUSE_CARET=yes'
9895 wx_cv_use_caret='wxUSE_CARET=no'
9900 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9905 eval "$wx_cv_use_caret"
9907 if test x"$enablestring" = xdisable; then
9908 if test $wxUSE_CARET = no; then
9917 { echo "$as_me:$LINENO: result: $result" >&5
9918 echo "${ECHO_T}$result" >&6; }
9922 defaultval=$wxUSE_ALL_FEATURES
9923 if test -z "$defaultval"; then
9924 if test x"$enablestring" = xdisable; then
9931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9933 # Check whether --enable-checkbox was given.
9934 if test "${enable_checkbox+set}" = set; then
9935 enableval=$enable_checkbox;
9936 if test "$enableval" = yes; then
9937 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9939 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9944 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9949 eval "$wx_cv_use_checkbox"
9951 if test x"$enablestring" = xdisable; then
9952 if test $wxUSE_CHECKBOX = no; then
9958 result=$wxUSE_CHECKBOX
9961 { echo "$as_me:$LINENO: result: $result" >&5
9962 echo "${ECHO_T}$result" >&6; }
9966 defaultval=$wxUSE_ALL_FEATURES
9967 if test -z "$defaultval"; then
9968 if test x"$enablestring" = xdisable; then
9975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9977 # Check whether --enable-checklst was given.
9978 if test "${enable_checklst+set}" = set; then
9979 enableval=$enable_checklst;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9983 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9988 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9993 eval "$wx_cv_use_checklst"
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_CHECKLST = no; then
10002 result=$wxUSE_CHECKLST
10005 { echo "$as_me:$LINENO: result: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10021 # Check whether --enable-choice was given.
10022 if test "${enable_choice+set}" = set; then
10023 enableval=$enable_choice;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_choice='wxUSE_CHOICE=yes'
10027 wx_cv_use_choice='wxUSE_CHOICE=no'
10032 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10037 eval "$wx_cv_use_choice"
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_CHOICE = no; then
10046 result=$wxUSE_CHOICE
10049 { echo "$as_me:$LINENO: result: $result" >&5
10050 echo "${ECHO_T}$result" >&6; }
10054 defaultval=$wxUSE_ALL_FEATURES
10055 if test -z "$defaultval"; then
10056 if test x"$enablestring" = xdisable; then
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10065 # Check whether --enable-choicebook was given.
10066 if test "${enable_choicebook+set}" = set; then
10067 enableval=$enable_choicebook;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10071 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10076 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10081 eval "$wx_cv_use_choicebook"
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_CHOICEBOOK = no; then
10090 result=$wxUSE_CHOICEBOOK
10093 { echo "$as_me:$LINENO: result: $result" >&5
10094 echo "${ECHO_T}$result" >&6; }
10098 defaultval=$wxUSE_ALL_FEATURES
10099 if test -z "$defaultval"; then
10100 if test x"$enablestring" = xdisable; then
10107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10109 # Check whether --enable-collpane was given.
10110 if test "${enable_collpane+set}" = set; then
10111 enableval=$enable_collpane;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10115 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10120 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10125 eval "$wx_cv_use_collpane"
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_COLLPANE = no; then
10134 result=$wxUSE_COLLPANE
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10153 # Check whether --enable-colourpicker was given.
10154 if test "${enable_colourpicker+set}" = set; then
10155 enableval=$enable_colourpicker;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10159 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10164 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10169 eval "$wx_cv_use_colourpicker"
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_COLOURPICKERCTRL = no; then
10178 result=$wxUSE_COLOURPICKERCTRL
10181 { echo "$as_me:$LINENO: result: $result" >&5
10182 echo "${ECHO_T}$result" >&6; }
10186 defaultval=$wxUSE_ALL_FEATURES
10187 if test -z "$defaultval"; then
10188 if test x"$enablestring" = xdisable; then
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10197 # Check whether --enable-combobox was given.
10198 if test "${enable_combobox+set}" = set; then
10199 enableval=$enable_combobox;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10203 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10208 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10213 eval "$wx_cv_use_combobox"
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_COMBOBOX = no; then
10222 result=$wxUSE_COMBOBOX
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10241 # Check whether --enable-comboctrl was given.
10242 if test "${enable_comboctrl+set}" = set; then
10243 enableval=$enable_comboctrl;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10247 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10252 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10257 eval "$wx_cv_use_comboctrl"
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_COMBOCTRL = no; then
10266 result=$wxUSE_COMBOCTRL
10269 { echo "$as_me:$LINENO: result: $result" >&5
10270 echo "${ECHO_T}$result" >&6; }
10274 defaultval=$wxUSE_ALL_FEATURES
10275 if test -z "$defaultval"; then
10276 if test x"$enablestring" = xdisable; then
10283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10285 # Check whether --enable-dataviewctrl was given.
10286 if test "${enable_dataviewctrl+set}" = set; then
10287 enableval=$enable_dataviewctrl;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10291 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10296 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10301 eval "$wx_cv_use_dataviewctrl"
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_DATAVIEWCTRL = no; then
10310 result=$wxUSE_DATAVIEWCTRL
10313 { echo "$as_me:$LINENO: result: $result" >&5
10314 echo "${ECHO_T}$result" >&6; }
10318 defaultval=$wxUSE_ALL_FEATURES
10319 if test -z "$defaultval"; then
10320 if test x"$enablestring" = xdisable; then
10327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10329 # Check whether --enable-datepick was given.
10330 if test "${enable_datepick+set}" = set; then
10331 enableval=$enable_datepick;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10335 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10340 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10345 eval "$wx_cv_use_datepick"
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_DATEPICKCTRL = no; then
10354 result=$wxUSE_DATEPICKCTRL
10357 { echo "$as_me:$LINENO: result: $result" >&5
10358 echo "${ECHO_T}$result" >&6; }
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10373 # Check whether --enable-detect_sm was given.
10374 if test "${enable_detect_sm+set}" = set; then
10375 enableval=$enable_detect_sm;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10379 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10384 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10389 eval "$wx_cv_use_detect_sm"
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_DETECT_SM = no; then
10398 result=$wxUSE_DETECT_SM
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10406 defaultval=$wxUSE_ALL_FEATURES
10407 if test -z "$defaultval"; then
10408 if test x"$enablestring" = xdisable; then
10415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10417 # Check whether --enable-dirpicker was given.
10418 if test "${enable_dirpicker+set}" = set; then
10419 enableval=$enable_dirpicker;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10423 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10428 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10433 eval "$wx_cv_use_dirpicker"
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_DIRPICKERCTRL = no; then
10442 result=$wxUSE_DIRPICKERCTRL
10445 { echo "$as_me:$LINENO: result: $result" >&5
10446 echo "${ECHO_T}$result" >&6; }
10450 defaultval=$wxUSE_ALL_FEATURES
10451 if test -z "$defaultval"; then
10452 if test x"$enablestring" = xdisable; then
10459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10461 # Check whether --enable-display was given.
10462 if test "${enable_display+set}" = set; then
10463 enableval=$enable_display;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_display='wxUSE_DISPLAY=yes'
10467 wx_cv_use_display='wxUSE_DISPLAY=no'
10472 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10477 eval "$wx_cv_use_display"
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_DISPLAY = no; then
10486 result=$wxUSE_DISPLAY
10489 { echo "$as_me:$LINENO: result: $result" >&5
10490 echo "${ECHO_T}$result" >&6; }
10494 defaultval=$wxUSE_ALL_FEATURES
10495 if test -z "$defaultval"; then
10496 if test x"$enablestring" = xdisable; then
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10505 # Check whether --enable-editablebox was given.
10506 if test "${enable_editablebox+set}" = set; then
10507 enableval=$enable_editablebox;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10511 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10516 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10521 eval "$wx_cv_use_editablebox"
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_EDITABLELISTBOX = no; then
10530 result=$wxUSE_EDITABLELISTBOX
10533 { echo "$as_me:$LINENO: result: $result" >&5
10534 echo "${ECHO_T}$result" >&6; }
10538 defaultval=$wxUSE_ALL_FEATURES
10539 if test -z "$defaultval"; then
10540 if test x"$enablestring" = xdisable; then
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10549 # Check whether --enable-filectrl was given.
10550 if test "${enable_filectrl+set}" = set; then
10551 enableval=$enable_filectrl;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10555 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10560 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10565 eval "$wx_cv_use_filectrl"
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_FILECTRL = no; then
10574 result=$wxUSE_FILECTRL
10577 { echo "$as_me:$LINENO: result: $result" >&5
10578 echo "${ECHO_T}$result" >&6; }
10582 defaultval=$wxUSE_ALL_FEATURES
10583 if test -z "$defaultval"; then
10584 if test x"$enablestring" = xdisable; then
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10593 # Check whether --enable-filepicker was given.
10594 if test "${enable_filepicker+set}" = set; then
10595 enableval=$enable_filepicker;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10599 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10604 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10609 eval "$wx_cv_use_filepicker"
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_FILEPICKERCTRL = no; then
10618 result=$wxUSE_FILEPICKERCTRL
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10637 # Check whether --enable-fontpicker was given.
10638 if test "${enable_fontpicker+set}" = set; then
10639 enableval=$enable_fontpicker;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10643 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10648 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10653 eval "$wx_cv_use_fontpicker"
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_FONTPICKERCTRL = no; then
10662 result=$wxUSE_FONTPICKERCTRL
10665 { echo "$as_me:$LINENO: result: $result" >&5
10666 echo "${ECHO_T}$result" >&6; }
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10681 # Check whether --enable-gauge was given.
10682 if test "${enable_gauge+set}" = set; then
10683 enableval=$enable_gauge;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10687 wx_cv_use_gauge='wxUSE_GAUGE=no'
10692 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10697 eval "$wx_cv_use_gauge"
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_GAUGE = no; then
10706 result=$wxUSE_GAUGE
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10725 # Check whether --enable-grid was given.
10726 if test "${enable_grid+set}" = set; then
10727 enableval=$enable_grid;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_grid='wxUSE_GRID=yes'
10731 wx_cv_use_grid='wxUSE_GRID=no'
10736 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10741 eval "$wx_cv_use_grid"
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_GRID = no; then
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10758 defaultval=$wxUSE_ALL_FEATURES
10759 if test -z "$defaultval"; then
10760 if test x"$enablestring" = xdisable; then
10767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10769 # Check whether --enable-headerctrl was given.
10770 if test "${enable_headerctrl+set}" = set; then
10771 enableval=$enable_headerctrl;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10775 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10780 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10785 eval "$wx_cv_use_headerctrl"
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_HEADERCTRL = no; then
10794 result=$wxUSE_HEADERCTRL
10797 { echo "$as_me:$LINENO: result: $result" >&5
10798 echo "${ECHO_T}$result" >&6; }
10802 defaultval=$wxUSE_ALL_FEATURES
10803 if test -z "$defaultval"; then
10804 if test x"$enablestring" = xdisable; then
10811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10813 # Check whether --enable-hyperlink was given.
10814 if test "${enable_hyperlink+set}" = set; then
10815 enableval=$enable_hyperlink;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10819 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10824 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10829 eval "$wx_cv_use_hyperlink"
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_HYPERLINKCTRL = no; then
10838 result=$wxUSE_HYPERLINKCTRL
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10857 # Check whether --enable-imaglist was given.
10858 if test "${enable_imaglist+set}" = set; then
10859 enableval=$enable_imaglist;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10863 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10868 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10873 eval "$wx_cv_use_imaglist"
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_IMAGLIST = no; then
10882 result=$wxUSE_IMAGLIST
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10901 # Check whether --enable-listbook was given.
10902 if test "${enable_listbook+set}" = set; then
10903 enableval=$enable_listbook;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10907 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10912 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10917 eval "$wx_cv_use_listbook"
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_LISTBOOK = no; then
10926 result=$wxUSE_LISTBOOK
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10945 # Check whether --enable-listbox was given.
10946 if test "${enable_listbox+set}" = set; then
10947 enableval=$enable_listbox;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10951 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10956 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10961 eval "$wx_cv_use_listbox"
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_LISTBOX = no; then
10970 result=$wxUSE_LISTBOX
10973 { echo "$as_me:$LINENO: result: $result" >&5
10974 echo "${ECHO_T}$result" >&6; }
10978 defaultval=$wxUSE_ALL_FEATURES
10979 if test -z "$defaultval"; then
10980 if test x"$enablestring" = xdisable; then
10987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10989 # Check whether --enable-listctrl was given.
10990 if test "${enable_listctrl+set}" = set; then
10991 enableval=$enable_listctrl;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10995 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11000 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11005 eval "$wx_cv_use_listctrl"
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_LISTCTRL = no; then
11014 result=$wxUSE_LISTCTRL
11017 { echo "$as_me:$LINENO: result: $result" >&5
11018 echo "${ECHO_T}$result" >&6; }
11022 defaultval=$wxUSE_ALL_FEATURES
11023 if test -z "$defaultval"; then
11024 if test x"$enablestring" = xdisable; then
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11033 # Check whether --enable-notebook was given.
11034 if test "${enable_notebook+set}" = set; then
11035 enableval=$enable_notebook;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11039 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11044 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11049 eval "$wx_cv_use_notebook"
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_NOTEBOOK = no; then
11058 result=$wxUSE_NOTEBOOK
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11077 # Check whether --enable-notifmsg was given.
11078 if test "${enable_notifmsg+set}" = set; then
11079 enableval=$enable_notifmsg;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11083 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11088 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11093 eval "$wx_cv_use_notifmsg"
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11102 result=$wxUSE_NOTIFICATION_MESSAGE
11105 { echo "$as_me:$LINENO: result: $result" >&5
11106 echo "${ECHO_T}$result" >&6; }
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11121 # Check whether --enable-odcombobox was given.
11122 if test "${enable_odcombobox+set}" = set; then
11123 enableval=$enable_odcombobox;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11127 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11132 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11137 eval "$wx_cv_use_odcombobox"
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_ODCOMBOBOX = no; then
11146 result=$wxUSE_ODCOMBOBOX
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11165 # Check whether --enable-popupwin was given.
11166 if test "${enable_popupwin+set}" = set; then
11167 enableval=$enable_popupwin;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11171 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11176 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11181 eval "$wx_cv_use_popupwin"
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_POPUPWIN = no; then
11190 result=$wxUSE_POPUPWIN
11193 { echo "$as_me:$LINENO: result: $result" >&5
11194 echo "${ECHO_T}$result" >&6; }
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11209 # Check whether --enable-radiobox was given.
11210 if test "${enable_radiobox+set}" = set; then
11211 enableval=$enable_radiobox;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11215 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11220 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11225 eval "$wx_cv_use_radiobox"
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_RADIOBOX = no; then
11234 result=$wxUSE_RADIOBOX
11237 { echo "$as_me:$LINENO: result: $result" >&5
11238 echo "${ECHO_T}$result" >&6; }
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11253 # Check whether --enable-radiobtn was given.
11254 if test "${enable_radiobtn+set}" = set; then
11255 enableval=$enable_radiobtn;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11259 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11264 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11269 eval "$wx_cv_use_radiobtn"
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_RADIOBTN = no; then
11278 result=$wxUSE_RADIOBTN
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11297 # Check whether --enable-rearrangectrl was given.
11298 if test "${enable_rearrangectrl+set}" = set; then
11299 enableval=$enable_rearrangectrl;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11303 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11308 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11313 eval "$wx_cv_use_rearrangectrl"
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_REARRANGECTRL = no; then
11322 result=$wxUSE_REARRANGECTRL
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11341 # Check whether --enable-sash was given.
11342 if test "${enable_sash+set}" = set; then
11343 enableval=$enable_sash;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_sash='wxUSE_SASH=yes'
11347 wx_cv_use_sash='wxUSE_SASH=no'
11352 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11357 eval "$wx_cv_use_sash"
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_SASH = no; then
11369 { echo "$as_me:$LINENO: result: $result" >&5
11370 echo "${ECHO_T}$result" >&6; }
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11385 # Check whether --enable-scrollbar was given.
11386 if test "${enable_scrollbar+set}" = set; then
11387 enableval=$enable_scrollbar;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11391 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11396 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11401 eval "$wx_cv_use_scrollbar"
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_SCROLLBAR = no; then
11410 result=$wxUSE_SCROLLBAR
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11429 # Check whether --enable-searchctrl was given.
11430 if test "${enable_searchctrl+set}" = set; then
11431 enableval=$enable_searchctrl;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11435 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11440 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11445 eval "$wx_cv_use_searchctrl"
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_SEARCHCTRL = no; then
11454 result=$wxUSE_SEARCHCTRL
11457 { echo "$as_me:$LINENO: result: $result" >&5
11458 echo "${ECHO_T}$result" >&6; }
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11473 # Check whether --enable-slider was given.
11474 if test "${enable_slider+set}" = set; then
11475 enableval=$enable_slider;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_slider='wxUSE_SLIDER=yes'
11479 wx_cv_use_slider='wxUSE_SLIDER=no'
11484 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11489 eval "$wx_cv_use_slider"
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_SLIDER = no; then
11498 result=$wxUSE_SLIDER
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11517 # Check whether --enable-spinbtn was given.
11518 if test "${enable_spinbtn+set}" = set; then
11519 enableval=$enable_spinbtn;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11523 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11528 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11533 eval "$wx_cv_use_spinbtn"
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_SPINBTN = no; then
11542 result=$wxUSE_SPINBTN
11545 { echo "$as_me:$LINENO: result: $result" >&5
11546 echo "${ECHO_T}$result" >&6; }
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11561 # Check whether --enable-spinctrl was given.
11562 if test "${enable_spinctrl+set}" = set; then
11563 enableval=$enable_spinctrl;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11567 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11572 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11577 eval "$wx_cv_use_spinctrl"
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_SPINCTRL = no; then
11586 result=$wxUSE_SPINCTRL
11589 { echo "$as_me:$LINENO: result: $result" >&5
11590 echo "${ECHO_T}$result" >&6; }
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11605 # Check whether --enable-splitter was given.
11606 if test "${enable_splitter+set}" = set; then
11607 enableval=$enable_splitter;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11611 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11616 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11621 eval "$wx_cv_use_splitter"
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_SPLITTER = no; then
11630 result=$wxUSE_SPLITTER
11633 { echo "$as_me:$LINENO: result: $result" >&5
11634 echo "${ECHO_T}$result" >&6; }
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11649 # Check whether --enable-statbmp was given.
11650 if test "${enable_statbmp+set}" = set; then
11651 enableval=$enable_statbmp;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11655 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11660 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11665 eval "$wx_cv_use_statbmp"
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_STATBMP = no; then
11674 result=$wxUSE_STATBMP
11677 { echo "$as_me:$LINENO: result: $result" >&5
11678 echo "${ECHO_T}$result" >&6; }
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11693 # Check whether --enable-statbox was given.
11694 if test "${enable_statbox+set}" = set; then
11695 enableval=$enable_statbox;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11699 wx_cv_use_statbox='wxUSE_STATBOX=no'
11704 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11709 eval "$wx_cv_use_statbox"
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_STATBOX = no; then
11718 result=$wxUSE_STATBOX
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11737 # Check whether --enable-statline was given.
11738 if test "${enable_statline+set}" = set; then
11739 enableval=$enable_statline;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_statline='wxUSE_STATLINE=yes'
11743 wx_cv_use_statline='wxUSE_STATLINE=no'
11748 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11753 eval "$wx_cv_use_statline"
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_STATLINE = no; then
11762 result=$wxUSE_STATLINE
11765 { echo "$as_me:$LINENO: result: $result" >&5
11766 echo "${ECHO_T}$result" >&6; }
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11781 # Check whether --enable-stattext was given.
11782 if test "${enable_stattext+set}" = set; then
11783 enableval=$enable_stattext;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11787 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11792 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11797 eval "$wx_cv_use_stattext"
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_STATTEXT = no; then
11806 result=$wxUSE_STATTEXT
11809 { echo "$as_me:$LINENO: result: $result" >&5
11810 echo "${ECHO_T}$result" >&6; }
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11825 # Check whether --enable-statusbar was given.
11826 if test "${enable_statusbar+set}" = set; then
11827 enableval=$enable_statusbar;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11831 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11836 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11841 eval "$wx_cv_use_statusbar"
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_STATUSBAR = no; then
11850 result=$wxUSE_STATUSBAR
11853 { echo "$as_me:$LINENO: result: $result" >&5
11854 echo "${ECHO_T}$result" >&6; }
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11869 # Check whether --enable-taskbaricon was given.
11870 if test "${enable_taskbaricon+set}" = set; then
11871 enableval=$enable_taskbaricon;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11875 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11880 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11885 eval "$wx_cv_use_taskbaricon"
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_TASKBARICON = no; then
11894 result=$wxUSE_TASKBARICON
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11913 # Check whether --enable-tbarnative was given.
11914 if test "${enable_tbarnative+set}" = set; then
11915 enableval=$enable_tbarnative;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11919 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11924 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11929 eval "$wx_cv_use_tbarnative"
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_TOOLBAR_NATIVE = no; then
11938 result=$wxUSE_TOOLBAR_NATIVE
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11957 # Check whether --enable-textctrl was given.
11958 if test "${enable_textctrl+set}" = set; then
11959 enableval=$enable_textctrl;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11963 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11968 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11973 eval "$wx_cv_use_textctrl"
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_TEXTCTRL = no; then
11982 result=$wxUSE_TEXTCTRL
11985 { echo "$as_me:$LINENO: result: $result" >&5
11986 echo "${ECHO_T}$result" >&6; }
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12001 # Check whether --enable-tipwindow was given.
12002 if test "${enable_tipwindow+set}" = set; then
12003 enableval=$enable_tipwindow;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12007 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12012 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12017 eval "$wx_cv_use_tipwindow"
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_TIPWINDOW = no; then
12026 result=$wxUSE_TIPWINDOW
12029 { echo "$as_me:$LINENO: result: $result" >&5
12030 echo "${ECHO_T}$result" >&6; }
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12045 # Check whether --enable-togglebtn was given.
12046 if test "${enable_togglebtn+set}" = set; then
12047 enableval=$enable_togglebtn;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12051 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12056 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12061 eval "$wx_cv_use_togglebtn"
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_TOGGLEBTN = no; then
12070 result=$wxUSE_TOGGLEBTN
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12089 # Check whether --enable-toolbar was given.
12090 if test "${enable_toolbar+set}" = set; then
12091 enableval=$enable_toolbar;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12095 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12100 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12105 eval "$wx_cv_use_toolbar"
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_TOOLBAR = no; then
12114 result=$wxUSE_TOOLBAR
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12133 # Check whether --enable-toolbook was given.
12134 if test "${enable_toolbook+set}" = set; then
12135 enableval=$enable_toolbook;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12139 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12144 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12149 eval "$wx_cv_use_toolbook"
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_TOOLBOOK = no; then
12158 result=$wxUSE_TOOLBOOK
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12177 # Check whether --enable-treebook was given.
12178 if test "${enable_treebook+set}" = set; then
12179 enableval=$enable_treebook;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12183 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12188 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12193 eval "$wx_cv_use_treebook"
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_TREEBOOK = no; then
12202 result=$wxUSE_TREEBOOK
12205 { echo "$as_me:$LINENO: result: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12221 # Check whether --enable-treectrl was given.
12222 if test "${enable_treectrl+set}" = set; then
12223 enableval=$enable_treectrl;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12227 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12232 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12237 eval "$wx_cv_use_treectrl"
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_TREECTRL = no; then
12246 result=$wxUSE_TREECTRL
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12256 defaultval=$wxUSE_ALL_FEATURES
12257 if test -z "$defaultval"; then
12258 if test x"$enablestring" = xdisable; then
12265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12266 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12267 # Check whether --enable-commondlg was given.
12268 if test "${enable_commondlg+set}" = set; then
12269 enableval=$enable_commondlg;
12270 if test "$enableval" = yes; then
12271 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12273 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12278 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12283 eval "$wx_cv_use_commondlg"
12285 if test x"$enablestring" = xdisable; then
12286 if test $wxUSE_COMMONDLGS = no; then
12292 result=$wxUSE_COMMONDLGS
12295 { echo "$as_me:$LINENO: result: $result" >&5
12296 echo "${ECHO_T}$result" >&6; }
12300 defaultval=$wxUSE_ALL_FEATURES
12301 if test -z "$defaultval"; then
12302 if test x"$enablestring" = xdisable; then
12309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12310 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12311 # Check whether --enable-aboutdlg was given.
12312 if test "${enable_aboutdlg+set}" = set; then
12313 enableval=$enable_aboutdlg;
12314 if test "$enableval" = yes; then
12315 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12317 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12322 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12327 eval "$wx_cv_use_aboutdlg"
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_ABOUTDLG = no; then
12336 result=$wxUSE_ABOUTDLG
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12355 # Check whether --enable-choicedlg was given.
12356 if test "${enable_choicedlg+set}" = set; then
12357 enableval=$enable_choicedlg;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12361 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12366 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12371 eval "$wx_cv_use_choicedlg"
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_CHOICEDLG = no; then
12380 result=$wxUSE_CHOICEDLG
12383 { echo "$as_me:$LINENO: result: $result" >&5
12384 echo "${ECHO_T}$result" >&6; }
12388 defaultval=$wxUSE_ALL_FEATURES
12389 if test -z "$defaultval"; then
12390 if test x"$enablestring" = xdisable; then
12397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12398 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12399 # Check whether --enable-coldlg was given.
12400 if test "${enable_coldlg+set}" = set; then
12401 enableval=$enable_coldlg;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12405 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12410 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12415 eval "$wx_cv_use_coldlg"
12417 if test x"$enablestring" = xdisable; then
12418 if test $wxUSE_COLOURDLG = no; then
12424 result=$wxUSE_COLOURDLG
12427 { echo "$as_me:$LINENO: result: $result" >&5
12428 echo "${ECHO_T}$result" >&6; }
12432 defaultval=$wxUSE_ALL_FEATURES
12433 if test -z "$defaultval"; then
12434 if test x"$enablestring" = xdisable; then
12441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12442 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12443 # Check whether --enable-filedlg was given.
12444 if test "${enable_filedlg+set}" = set; then
12445 enableval=$enable_filedlg;
12446 if test "$enableval" = yes; then
12447 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12449 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12454 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12459 eval "$wx_cv_use_filedlg"
12461 if test x"$enablestring" = xdisable; then
12462 if test $wxUSE_FILEDLG = no; then
12468 result=$wxUSE_FILEDLG
12471 { echo "$as_me:$LINENO: result: $result" >&5
12472 echo "${ECHO_T}$result" >&6; }
12476 defaultval=$wxUSE_ALL_FEATURES
12477 if test -z "$defaultval"; then
12478 if test x"$enablestring" = xdisable; then
12485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12486 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12487 # Check whether --enable-finddlg was given.
12488 if test "${enable_finddlg+set}" = set; then
12489 enableval=$enable_finddlg;
12490 if test "$enableval" = yes; then
12491 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12493 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12498 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12503 eval "$wx_cv_use_finddlg"
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_FINDREPLDLG = no; then
12512 result=$wxUSE_FINDREPLDLG
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12531 # Check whether --enable-fontdlg was given.
12532 if test "${enable_fontdlg+set}" = set; then
12533 enableval=$enable_fontdlg;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12537 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12542 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12547 eval "$wx_cv_use_fontdlg"
12549 if test x"$enablestring" = xdisable; then
12550 if test $wxUSE_FONTDLG = no; then
12556 result=$wxUSE_FONTDLG
12559 { echo "$as_me:$LINENO: result: $result" >&5
12560 echo "${ECHO_T}$result" >&6; }
12564 defaultval=$wxUSE_ALL_FEATURES
12565 if test -z "$defaultval"; then
12566 if test x"$enablestring" = xdisable; then
12573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12574 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12575 # Check whether --enable-dirdlg was given.
12576 if test "${enable_dirdlg+set}" = set; then
12577 enableval=$enable_dirdlg;
12578 if test "$enableval" = yes; then
12579 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12581 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12586 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12591 eval "$wx_cv_use_dirdlg"
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_DIRDLG = no; then
12600 result=$wxUSE_DIRDLG
12603 { echo "$as_me:$LINENO: result: $result" >&5
12604 echo "${ECHO_T}$result" >&6; }
12608 defaultval=$wxUSE_ALL_FEATURES
12609 if test -z "$defaultval"; then
12610 if test x"$enablestring" = xdisable; then
12617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12619 # Check whether --enable-msgdlg was given.
12620 if test "${enable_msgdlg+set}" = set; then
12621 enableval=$enable_msgdlg;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12625 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12630 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12635 eval "$wx_cv_use_msgdlg"
12637 if test x"$enablestring" = xdisable; then
12638 if test $wxUSE_MSGDLG = no; then
12644 result=$wxUSE_MSGDLG
12647 { echo "$as_me:$LINENO: result: $result" >&5
12648 echo "${ECHO_T}$result" >&6; }
12652 defaultval=$wxUSE_ALL_FEATURES
12653 if test -z "$defaultval"; then
12654 if test x"$enablestring" = xdisable; then
12661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12662 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12663 # Check whether --enable-numberdlg was given.
12664 if test "${enable_numberdlg+set}" = set; then
12665 enableval=$enable_numberdlg;
12666 if test "$enableval" = yes; then
12667 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12669 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12674 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12679 eval "$wx_cv_use_numberdlg"
12681 if test x"$enablestring" = xdisable; then
12682 if test $wxUSE_NUMBERDLG = no; then
12688 result=$wxUSE_NUMBERDLG
12691 { echo "$as_me:$LINENO: result: $result" >&5
12692 echo "${ECHO_T}$result" >&6; }
12696 defaultval=$wxUSE_ALL_FEATURES
12697 if test -z "$defaultval"; then
12698 if test x"$enablestring" = xdisable; then
12705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12706 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12707 # Check whether --enable-splash was given.
12708 if test "${enable_splash+set}" = set; then
12709 enableval=$enable_splash;
12710 if test "$enableval" = yes; then
12711 wx_cv_use_splash='wxUSE_SPLASH=yes'
12713 wx_cv_use_splash='wxUSE_SPLASH=no'
12718 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12723 eval "$wx_cv_use_splash"
12725 if test x"$enablestring" = xdisable; then
12726 if test $wxUSE_SPLASH = no; then
12732 result=$wxUSE_SPLASH
12735 { echo "$as_me:$LINENO: result: $result" >&5
12736 echo "${ECHO_T}$result" >&6; }
12740 defaultval=$wxUSE_ALL_FEATURES
12741 if test -z "$defaultval"; then
12742 if test x"$enablestring" = xdisable; then
12749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12750 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12751 # Check whether --enable-textdlg was given.
12752 if test "${enable_textdlg+set}" = set; then
12753 enableval=$enable_textdlg;
12754 if test "$enableval" = yes; then
12755 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12757 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12762 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12767 eval "$wx_cv_use_textdlg"
12769 if test x"$enablestring" = xdisable; then
12770 if test $wxUSE_TEXTDLG = no; then
12776 result=$wxUSE_TEXTDLG
12779 { echo "$as_me:$LINENO: result: $result" >&5
12780 echo "${ECHO_T}$result" >&6; }
12784 defaultval=$wxUSE_ALL_FEATURES
12785 if test -z "$defaultval"; then
12786 if test x"$enablestring" = xdisable; then
12793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12794 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12795 # Check whether --enable-tipdlg was given.
12796 if test "${enable_tipdlg+set}" = set; then
12797 enableval=$enable_tipdlg;
12798 if test "$enableval" = yes; then
12799 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12801 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12806 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12811 eval "$wx_cv_use_tipdlg"
12813 if test x"$enablestring" = xdisable; then
12814 if test $wxUSE_STARTUP_TIPS = no; then
12820 result=$wxUSE_STARTUP_TIPS
12823 { echo "$as_me:$LINENO: result: $result" >&5
12824 echo "${ECHO_T}$result" >&6; }
12828 defaultval=$wxUSE_ALL_FEATURES
12829 if test -z "$defaultval"; then
12830 if test x"$enablestring" = xdisable; then
12837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12838 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12839 # Check whether --enable-progressdlg was given.
12840 if test "${enable_progressdlg+set}" = set; then
12841 enableval=$enable_progressdlg;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12845 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12850 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12855 eval "$wx_cv_use_progressdlg"
12857 if test x"$enablestring" = xdisable; then
12858 if test $wxUSE_PROGRESSDLG = no; then
12864 result=$wxUSE_PROGRESSDLG
12867 { echo "$as_me:$LINENO: result: $result" >&5
12868 echo "${ECHO_T}$result" >&6; }
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12883 # Check whether --enable-wizarddlg was given.
12884 if test "${enable_wizarddlg+set}" = set; then
12885 enableval=$enable_wizarddlg;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12889 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12894 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12899 eval "$wx_cv_use_wizarddlg"
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_WIZARDDLG = no; then
12908 result=$wxUSE_WIZARDDLG
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12918 defaultval=$wxUSE_ALL_FEATURES
12919 if test -z "$defaultval"; then
12920 if test x"$enablestring" = xdisable; then
12927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12928 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12929 # Check whether --enable-menus was given.
12930 if test "${enable_menus+set}" = set; then
12931 enableval=$enable_menus;
12932 if test "$enableval" = yes; then
12933 wx_cv_use_menus='wxUSE_MENUS=yes'
12935 wx_cv_use_menus='wxUSE_MENUS=no'
12940 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12945 eval "$wx_cv_use_menus"
12947 if test x"$enablestring" = xdisable; then
12948 if test $wxUSE_MENUS = no; then
12954 result=$wxUSE_MENUS
12957 { echo "$as_me:$LINENO: result: $result" >&5
12958 echo "${ECHO_T}$result" >&6; }
12962 defaultval=$wxUSE_ALL_FEATURES
12963 if test -z "$defaultval"; then
12964 if test x"$enablestring" = xdisable; then
12971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12972 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12973 # Check whether --enable-miniframe was given.
12974 if test "${enable_miniframe+set}" = set; then
12975 enableval=$enable_miniframe;
12976 if test "$enableval" = yes; then
12977 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12979 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12984 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12989 eval "$wx_cv_use_miniframe"
12991 if test x"$enablestring" = xdisable; then
12992 if test $wxUSE_MINIFRAME = no; then
12998 result=$wxUSE_MINIFRAME
13001 { echo "$as_me:$LINENO: result: $result" >&5
13002 echo "${ECHO_T}$result" >&6; }
13006 defaultval=$wxUSE_ALL_FEATURES
13007 if test -z "$defaultval"; then
13008 if test x"$enablestring" = xdisable; then
13015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13016 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13017 # Check whether --enable-tooltips was given.
13018 if test "${enable_tooltips+set}" = set; then
13019 enableval=$enable_tooltips;
13020 if test "$enableval" = yes; then
13021 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13023 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13028 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13033 eval "$wx_cv_use_tooltips"
13035 if test x"$enablestring" = xdisable; then
13036 if test $wxUSE_TOOLTIPS = no; then
13042 result=$wxUSE_TOOLTIPS
13045 { echo "$as_me:$LINENO: result: $result" >&5
13046 echo "${ECHO_T}$result" >&6; }
13050 defaultval=$wxUSE_ALL_FEATURES
13051 if test -z "$defaultval"; then
13052 if test x"$enablestring" = xdisable; then
13059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13060 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13061 # Check whether --enable-splines was given.
13062 if test "${enable_splines+set}" = set; then
13063 enableval=$enable_splines;
13064 if test "$enableval" = yes; then
13065 wx_cv_use_splines='wxUSE_SPLINES=yes'
13067 wx_cv_use_splines='wxUSE_SPLINES=no'
13072 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13077 eval "$wx_cv_use_splines"
13079 if test x"$enablestring" = xdisable; then
13080 if test $wxUSE_SPLINES = no; then
13086 result=$wxUSE_SPLINES
13089 { echo "$as_me:$LINENO: result: $result" >&5
13090 echo "${ECHO_T}$result" >&6; }
13094 defaultval=$wxUSE_ALL_FEATURES
13095 if test -z "$defaultval"; then
13096 if test x"$enablestring" = xdisable; then
13103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13104 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13105 # Check whether --enable-mousewheel was given.
13106 if test "${enable_mousewheel+set}" = set; then
13107 enableval=$enable_mousewheel;
13108 if test "$enableval" = yes; then
13109 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13111 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13116 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13121 eval "$wx_cv_use_mousewheel"
13123 if test x"$enablestring" = xdisable; then
13124 if test $wxUSE_MOUSEWHEEL = no; then
13130 result=$wxUSE_MOUSEWHEEL
13133 { echo "$as_me:$LINENO: result: $result" >&5
13134 echo "${ECHO_T}$result" >&6; }
13138 defaultval=$wxUSE_ALL_FEATURES
13139 if test -z "$defaultval"; then
13140 if test x"$enablestring" = xdisable; then
13147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13148 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13149 # Check whether --enable-validators was given.
13150 if test "${enable_validators+set}" = set; then
13151 enableval=$enable_validators;
13152 if test "$enableval" = yes; then
13153 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13155 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13160 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13165 eval "$wx_cv_use_validators"
13167 if test x"$enablestring" = xdisable; then
13168 if test $wxUSE_VALIDATORS = no; then
13174 result=$wxUSE_VALIDATORS
13177 { echo "$as_me:$LINENO: result: $result" >&5
13178 echo "${ECHO_T}$result" >&6; }
13182 defaultval=$wxUSE_ALL_FEATURES
13183 if test -z "$defaultval"; then
13184 if test x"$enablestring" = xdisable; then
13191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13192 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13193 # Check whether --enable-busyinfo was given.
13194 if test "${enable_busyinfo+set}" = set; then
13195 enableval=$enable_busyinfo;
13196 if test "$enableval" = yes; then
13197 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13199 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13204 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13209 eval "$wx_cv_use_busyinfo"
13211 if test x"$enablestring" = xdisable; then
13212 if test $wxUSE_BUSYINFO = no; then
13218 result=$wxUSE_BUSYINFO
13221 { echo "$as_me:$LINENO: result: $result" >&5
13222 echo "${ECHO_T}$result" >&6; }
13226 defaultval=$wxUSE_ALL_FEATURES
13227 if test -z "$defaultval"; then
13228 if test x"$enablestring" = xdisable; then
13235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13236 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13237 # Check whether --enable-joystick was given.
13238 if test "${enable_joystick+set}" = set; then
13239 enableval=$enable_joystick;
13240 if test "$enableval" = yes; then
13241 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13243 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13248 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13253 eval "$wx_cv_use_joystick"
13255 if test x"$enablestring" = xdisable; then
13256 if test $wxUSE_JOYSTICK = no; then
13262 result=$wxUSE_JOYSTICK
13265 { echo "$as_me:$LINENO: result: $result" >&5
13266 echo "${ECHO_T}$result" >&6; }
13270 defaultval=$wxUSE_ALL_FEATURES
13271 if test -z "$defaultval"; then
13272 if test x"$enablestring" = xdisable; then
13279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13280 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13281 # Check whether --enable-metafile was given.
13282 if test "${enable_metafile+set}" = set; then
13283 enableval=$enable_metafile;
13284 if test "$enableval" = yes; then
13285 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13287 wx_cv_use_metafile='wxUSE_METAFILE=no'
13292 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13297 eval "$wx_cv_use_metafile"
13299 if test x"$enablestring" = xdisable; then
13300 if test $wxUSE_METAFILE = no; then
13306 result=$wxUSE_METAFILE
13309 { echo "$as_me:$LINENO: result: $result" >&5
13310 echo "${ECHO_T}$result" >&6; }
13314 defaultval=$wxUSE_ALL_FEATURES
13315 if test -z "$defaultval"; then
13316 if test x"$enablestring" = xdisable; then
13323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13324 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13325 # Check whether --enable-dragimage was given.
13326 if test "${enable_dragimage+set}" = set; then
13327 enableval=$enable_dragimage;
13328 if test "$enableval" = yes; then
13329 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13331 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13336 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13341 eval "$wx_cv_use_dragimage"
13343 if test x"$enablestring" = xdisable; then
13344 if test $wxUSE_DRAGIMAGE = no; then
13350 result=$wxUSE_DRAGIMAGE
13353 { echo "$as_me:$LINENO: result: $result" >&5
13354 echo "${ECHO_T}$result" >&6; }
13358 defaultval=$wxUSE_ALL_FEATURES
13359 if test -z "$defaultval"; then
13360 if test x"$enablestring" = xdisable; then
13367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13368 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13369 # Check whether --enable-accessibility was given.
13370 if test "${enable_accessibility+set}" = set; then
13371 enableval=$enable_accessibility;
13372 if test "$enableval" = yes; then
13373 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13375 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13380 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13385 eval "$wx_cv_use_accessibility"
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_ACCESSIBILITY = no; then
13394 result=$wxUSE_ACCESSIBILITY
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13414 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13415 # Check whether --enable-palette was given.
13416 if test "${enable_palette+set}" = set; then
13417 enableval=$enable_palette;
13418 if test "$enableval" = yes; then
13419 wx_cv_use_palette='wxUSE_PALETTE=yes'
13421 wx_cv_use_palette='wxUSE_PALETTE=no'
13426 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13431 eval "$wx_cv_use_palette"
13433 if test x"$enablestring" = xdisable; then
13434 if test $wxUSE_PALETTE = no; then
13440 result=$wxUSE_PALETTE
13443 { echo "$as_me:$LINENO: result: $result" >&5
13444 echo "${ECHO_T}$result" >&6; }
13448 defaultval=$wxUSE_ALL_FEATURES
13449 if test -z "$defaultval"; then
13450 if test x"$enablestring" = xdisable; then
13457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13458 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13459 # Check whether --enable-image was given.
13460 if test "${enable_image+set}" = set; then
13461 enableval=$enable_image;
13462 if test "$enableval" = yes; then
13463 wx_cv_use_image='wxUSE_IMAGE=yes'
13465 wx_cv_use_image='wxUSE_IMAGE=no'
13470 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13475 eval "$wx_cv_use_image"
13477 if test x"$enablestring" = xdisable; then
13478 if test $wxUSE_IMAGE = no; then
13484 result=$wxUSE_IMAGE
13487 { echo "$as_me:$LINENO: result: $result" >&5
13488 echo "${ECHO_T}$result" >&6; }
13492 defaultval=$wxUSE_ALL_FEATURES
13493 if test -z "$defaultval"; then
13494 if test x"$enablestring" = xdisable; then
13501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13502 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13503 # Check whether --enable-gif was given.
13504 if test "${enable_gif+set}" = set; then
13505 enableval=$enable_gif;
13506 if test "$enableval" = yes; then
13507 wx_cv_use_gif='wxUSE_GIF=yes'
13509 wx_cv_use_gif='wxUSE_GIF=no'
13514 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13519 eval "$wx_cv_use_gif"
13521 if test x"$enablestring" = xdisable; then
13522 if test $wxUSE_GIF = no; then
13531 { echo "$as_me:$LINENO: result: $result" >&5
13532 echo "${ECHO_T}$result" >&6; }
13536 defaultval=$wxUSE_ALL_FEATURES
13537 if test -z "$defaultval"; then
13538 if test x"$enablestring" = xdisable; then
13545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13546 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13547 # Check whether --enable-pcx was given.
13548 if test "${enable_pcx+set}" = set; then
13549 enableval=$enable_pcx;
13550 if test "$enableval" = yes; then
13551 wx_cv_use_pcx='wxUSE_PCX=yes'
13553 wx_cv_use_pcx='wxUSE_PCX=no'
13558 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13563 eval "$wx_cv_use_pcx"
13565 if test x"$enablestring" = xdisable; then
13566 if test $wxUSE_PCX = no; then
13575 { echo "$as_me:$LINENO: result: $result" >&5
13576 echo "${ECHO_T}$result" >&6; }
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13590 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13591 # Check whether --enable-tga was given.
13592 if test "${enable_tga+set}" = set; then
13593 enableval=$enable_tga;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_tga='wxUSE_TGA=yes'
13597 wx_cv_use_tga='wxUSE_TGA=no'
13602 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13607 eval "$wx_cv_use_tga"
13609 if test x"$enablestring" = xdisable; then
13610 if test $wxUSE_TGA = no; then
13619 { echo "$as_me:$LINENO: result: $result" >&5
13620 echo "${ECHO_T}$result" >&6; }
13624 defaultval=$wxUSE_ALL_FEATURES
13625 if test -z "$defaultval"; then
13626 if test x"$enablestring" = xdisable; then
13633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13634 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13635 # Check whether --enable-iff was given.
13636 if test "${enable_iff+set}" = set; then
13637 enableval=$enable_iff;
13638 if test "$enableval" = yes; then
13639 wx_cv_use_iff='wxUSE_IFF=yes'
13641 wx_cv_use_iff='wxUSE_IFF=no'
13646 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13651 eval "$wx_cv_use_iff"
13653 if test x"$enablestring" = xdisable; then
13654 if test $wxUSE_IFF = no; then
13663 { echo "$as_me:$LINENO: result: $result" >&5
13664 echo "${ECHO_T}$result" >&6; }
13668 defaultval=$wxUSE_ALL_FEATURES
13669 if test -z "$defaultval"; then
13670 if test x"$enablestring" = xdisable; then
13677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13678 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13679 # Check whether --enable-pnm was given.
13680 if test "${enable_pnm+set}" = set; then
13681 enableval=$enable_pnm;
13682 if test "$enableval" = yes; then
13683 wx_cv_use_pnm='wxUSE_PNM=yes'
13685 wx_cv_use_pnm='wxUSE_PNM=no'
13690 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13695 eval "$wx_cv_use_pnm"
13697 if test x"$enablestring" = xdisable; then
13698 if test $wxUSE_PNM = no; then
13707 { echo "$as_me:$LINENO: result: $result" >&5
13708 echo "${ECHO_T}$result" >&6; }
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13722 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13723 # Check whether --enable-xpm was given.
13724 if test "${enable_xpm+set}" = set; then
13725 enableval=$enable_xpm;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_xpm='wxUSE_XPM=yes'
13729 wx_cv_use_xpm='wxUSE_XPM=no'
13734 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13739 eval "$wx_cv_use_xpm"
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_XPM = no; then
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13767 # Check whether --enable-ico_cur was given.
13768 if test "${enable_ico_cur+set}" = set; then
13769 enableval=$enable_ico_cur;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13773 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13778 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13783 eval "$wx_cv_use_ico_cur"
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_ICO_CUR = no; then
13792 result=$wxUSE_ICO_CUR
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13802 defaultval=$wxUSE_ALL_FEATURES
13803 if test -z "$defaultval"; then
13804 if test x"$enablestring" = xdisable; then
13811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13812 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13813 # Check whether --enable-dccache was given.
13814 if test "${enable_dccache+set}" = set; then
13815 enableval=$enable_dccache;
13816 if test "$enableval" = yes; then
13817 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13819 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13824 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13829 eval "$wx_cv_use_dccache"
13831 if test x"$enablestring" = xdisable; then
13832 if test $wxUSE_DC_CACHEING = no; then
13838 result=$wxUSE_DC_CACHEING
13841 { echo "$as_me:$LINENO: result: $result" >&5
13842 echo "${ECHO_T}$result" >&6; }
13846 defaultval=$wxUSE_ALL_FEATURES
13847 if test -z "$defaultval"; then
13848 if test x"$enablestring" = xdisable; then
13855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13856 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13857 # Check whether --enable-ps-in-msw was given.
13858 if test "${enable_ps_in_msw+set}" = set; then
13859 enableval=$enable_ps_in_msw;
13860 if test "$enableval" = yes; then
13861 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13863 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13868 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13873 eval "$wx_cv_use_ps_in_msw"
13875 if test x"$enablestring" = xdisable; then
13876 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13882 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13885 { echo "$as_me:$LINENO: result: $result" >&5
13886 echo "${ECHO_T}$result" >&6; }
13890 defaultval=$wxUSE_ALL_FEATURES
13891 if test -z "$defaultval"; then
13892 if test x"$enablestring" = xdisable; then
13899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13900 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13901 # Check whether --enable-ownerdrawn was given.
13902 if test "${enable_ownerdrawn+set}" = set; then
13903 enableval=$enable_ownerdrawn;
13904 if test "$enableval" = yes; then
13905 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13907 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13912 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13917 eval "$wx_cv_use_ownerdrawn"
13919 if test x"$enablestring" = xdisable; then
13920 if test $wxUSE_OWNER_DRAWN = no; then
13926 result=$wxUSE_OWNER_DRAWN
13929 { echo "$as_me:$LINENO: result: $result" >&5
13930 echo "${ECHO_T}$result" >&6; }
13934 defaultval=$wxUSE_ALL_FEATURES
13935 if test -z "$defaultval"; then
13936 if test x"$enablestring" = xdisable; then
13943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13944 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13945 # Check whether --enable-uxtheme was given.
13946 if test "${enable_uxtheme+set}" = set; then
13947 enableval=$enable_uxtheme;
13948 if test "$enableval" = yes; then
13949 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13951 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13956 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13961 eval "$wx_cv_use_uxtheme"
13963 if test x"$enablestring" = xdisable; then
13964 if test $wxUSE_UXTHEME = no; then
13970 result=$wxUSE_UXTHEME
13973 { echo "$as_me:$LINENO: result: $result" >&5
13974 echo "${ECHO_T}$result" >&6; }
13978 defaultval=$wxUSE_ALL_FEATURES
13979 if test -z "$defaultval"; then
13980 if test x"$enablestring" = xdisable; then
13987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13988 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13989 # Check whether --enable-wxdib was given.
13990 if test "${enable_wxdib+set}" = set; then
13991 enableval=$enable_wxdib;
13992 if test "$enableval" = yes; then
13993 wx_cv_use_wxdib='wxUSE_DIB=yes'
13995 wx_cv_use_wxdib='wxUSE_DIB=no'
14000 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14005 eval "$wx_cv_use_wxdib"
14007 if test x"$enablestring" = xdisable; then
14008 if test $wxUSE_DIB = no; then
14017 { echo "$as_me:$LINENO: result: $result" >&5
14018 echo "${ECHO_T}$result" >&6; }
14021 if test "$wxUSE_MSW" != 1; then
14022 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14027 defaultval=$wxUSE_ALL_FEATURES
14028 if test -z "$defaultval"; then
14029 if test x"$enablestring" = xdisable; then
14036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14037 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14038 # Check whether --enable-autoidman was given.
14039 if test "${enable_autoidman+set}" = set; then
14040 enableval=$enable_autoidman;
14041 if test "$enableval" = yes; then
14042 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14044 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14049 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14054 eval "$wx_cv_use_autoidman"
14056 if test x"$enablestring" = xdisable; then
14057 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14063 result=$wxUSE_AUTOID_MANAGEMENT
14066 { echo "$as_me:$LINENO: result: $result" >&5
14067 echo "${ECHO_T}$result" >&6; }
14073 cat >confcache <<\_ACEOF
14074 # This file is a shell script that caches the results of configure
14075 # tests run on this system so they can be shared between configure
14076 # scripts and configure runs, see configure's option --config-cache.
14077 # It is not useful on other systems. If it contains results you don't
14078 # want to keep, you may remove or edit it.
14080 # config.status only pays attention to the cache file if you give it
14081 # the --recheck option to rerun configure.
14083 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14084 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14085 # following values.
14089 # The following way of writing the cache mishandles newlines in values,
14090 # but we know of no workaround that is simple, portable, and efficient.
14091 # So, we kill variables containing newlines.
14092 # Ultrix sh set writes to stderr and can't be redirected directly,
14093 # and sets the high bit in the cache file unless we assign to the vars.
14095 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14096 eval ac_val=\$$ac_var
14100 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14101 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14104 _ | IFS | as_nl) ;; #(
14105 *) $as_unset $ac_var ;;
14111 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14112 *${as_nl}ac_space=\ *)
14113 # `set' does not quote correctly, so add quotes (double-quote
14114 # substitution turns \\\\ into \\, and sed turns \\ into \).
14117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14120 # `set' quotes correctly as required by POSIX, so do not add quotes.
14121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14132 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14134 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14135 if test -w "$cache_file"; then
14136 test "x$cache_file" != "x/dev/null" &&
14137 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14138 echo "$as_me: updating cache $cache_file" >&6;}
14139 cat confcache >$cache_file
14141 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14142 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14152 ac_cpp='$CPP $CPPFLAGS'
14153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14156 if test -n "$ac_tool_prefix"; then
14157 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14161 if test "${ac_cv_prog_CC+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 if test -n "$CC"; then
14165 ac_cv_prog_CC="$CC" # Let the user override the test.
14167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14168 for as_dir in $PATH
14171 test -z "$as_dir" && as_dir=.
14172 for ac_exec_ext in '' $ac_executable_extensions; do
14173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14174 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14185 if test -n "$CC"; then
14186 { echo "$as_me:$LINENO: result: $CC" >&5
14187 echo "${ECHO_T}$CC" >&6; }
14189 { echo "$as_me:$LINENO: result: no" >&5
14190 echo "${ECHO_T}no" >&6; }
14195 if test -z "$ac_cv_prog_CC"; then
14197 # Extract the first word of "gcc", so it can be a program name with args.
14198 set dummy gcc; ac_word=$2
14199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14201 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14202 echo $ECHO_N "(cached) $ECHO_C" >&6
14204 if test -n "$ac_ct_CC"; then
14205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14208 for as_dir in $PATH
14211 test -z "$as_dir" && as_dir=.
14212 for ac_exec_ext in '' $ac_executable_extensions; do
14213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14214 ac_cv_prog_ac_ct_CC="gcc"
14215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14225 if test -n "$ac_ct_CC"; then
14226 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14227 echo "${ECHO_T}$ac_ct_CC" >&6; }
14229 { echo "$as_me:$LINENO: result: no" >&5
14230 echo "${ECHO_T}no" >&6; }
14233 if test "x$ac_ct_CC" = x; then
14236 case $cross_compiling:$ac_tool_warned in
14238 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14239 whose name does not start with the host triplet. If you think this
14240 configuration is useful to you, please write to autoconf@gnu.org." >&5
14241 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14242 whose name does not start with the host triplet. If you think this
14243 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14244 ac_tool_warned=yes ;;
14249 CC="$ac_cv_prog_CC"
14252 if test -z "$CC"; then
14253 if test -n "$ac_tool_prefix"; then
14254 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14255 set dummy ${ac_tool_prefix}cc; ac_word=$2
14256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14258 if test "${ac_cv_prog_CC+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 if test -n "$CC"; then
14262 ac_cv_prog_CC="$CC" # Let the user override the test.
14264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14265 for as_dir in $PATH
14268 test -z "$as_dir" && as_dir=.
14269 for ac_exec_ext in '' $ac_executable_extensions; do
14270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14271 ac_cv_prog_CC="${ac_tool_prefix}cc"
14272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14282 if test -n "$CC"; then
14283 { echo "$as_me:$LINENO: result: $CC" >&5
14284 echo "${ECHO_T}$CC" >&6; }
14286 { echo "$as_me:$LINENO: result: no" >&5
14287 echo "${ECHO_T}no" >&6; }
14293 if test -z "$CC"; then
14294 # Extract the first word of "cc", so it can be a program name with args.
14295 set dummy cc; ac_word=$2
14296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14298 if test "${ac_cv_prog_CC+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 if test -n "$CC"; then
14302 ac_cv_prog_CC="$CC" # Let the user override the test.
14304 ac_prog_rejected=no
14305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14306 for as_dir in $PATH
14309 test -z "$as_dir" && as_dir=.
14310 for ac_exec_ext in '' $ac_executable_extensions; do
14311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14312 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14313 ac_prog_rejected=yes
14317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14324 if test $ac_prog_rejected = yes; then
14325 # We found a bogon in the path, so make sure we never use it.
14326 set dummy $ac_cv_prog_CC
14328 if test $# != 0; then
14329 # We chose a different compiler from the bogus one.
14330 # However, it has the same basename, so the bogon will be chosen
14331 # first if we set CC to just the basename; use the full file name.
14333 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14339 if test -n "$CC"; then
14340 { echo "$as_me:$LINENO: result: $CC" >&5
14341 echo "${ECHO_T}$CC" >&6; }
14343 { echo "$as_me:$LINENO: result: no" >&5
14344 echo "${ECHO_T}no" >&6; }
14349 if test -z "$CC"; then
14350 if test -n "$ac_tool_prefix"; then
14351 for ac_prog in cl.exe
14353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14357 if test "${ac_cv_prog_CC+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 if test -n "$CC"; then
14361 ac_cv_prog_CC="$CC" # Let the user override the test.
14363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14364 for as_dir in $PATH
14367 test -z "$as_dir" && as_dir=.
14368 for ac_exec_ext in '' $ac_executable_extensions; do
14369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14370 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14381 if test -n "$CC"; then
14382 { echo "$as_me:$LINENO: result: $CC" >&5
14383 echo "${ECHO_T}$CC" >&6; }
14385 { echo "$as_me:$LINENO: result: no" >&5
14386 echo "${ECHO_T}no" >&6; }
14390 test -n "$CC" && break
14393 if test -z "$CC"; then
14395 for ac_prog in cl.exe
14397 # Extract the first word of "$ac_prog", so it can be a program name with args.
14398 set dummy $ac_prog; ac_word=$2
14399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14401 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 if test -n "$ac_ct_CC"; then
14405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14408 for as_dir in $PATH
14411 test -z "$as_dir" && as_dir=.
14412 for ac_exec_ext in '' $ac_executable_extensions; do
14413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14414 ac_cv_prog_ac_ct_CC="$ac_prog"
14415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14425 if test -n "$ac_ct_CC"; then
14426 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14427 echo "${ECHO_T}$ac_ct_CC" >&6; }
14429 { echo "$as_me:$LINENO: result: no" >&5
14430 echo "${ECHO_T}no" >&6; }
14434 test -n "$ac_ct_CC" && break
14437 if test "x$ac_ct_CC" = x; then
14440 case $cross_compiling:$ac_tool_warned in
14442 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14443 whose name does not start with the host triplet. If you think this
14444 configuration is useful to you, please write to autoconf@gnu.org." >&5
14445 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14446 whose name does not start with the host triplet. If you think this
14447 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14448 ac_tool_warned=yes ;;
14457 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14458 See \`config.log' for more details." >&5
14459 echo "$as_me: error: no acceptable C compiler found in \$PATH
14460 See \`config.log' for more details." >&2;}
14461 { (exit 1); exit 1; }; }
14463 # Provide some information about the compiler.
14464 echo "$as_me:$LINENO: checking for C compiler version" >&5
14465 ac_compiler=`set X $ac_compile; echo $2`
14466 { (ac_try="$ac_compiler --version >&5"
14467 case "(($ac_try" in
14468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14469 *) ac_try_echo=$ac_try;;
14471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14472 (eval "$ac_compiler --version >&5") 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }
14476 { (ac_try="$ac_compiler -v >&5"
14477 case "(($ac_try" in
14478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_compiler -v >&5") 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }
14486 { (ac_try="$ac_compiler -V >&5"
14487 case "(($ac_try" in
14488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14489 *) ac_try_echo=$ac_try;;
14491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14492 (eval "$ac_compiler -V >&5") 2>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }
14497 cat >conftest.$ac_ext <<_ACEOF
14500 cat confdefs.h >>conftest.$ac_ext
14501 cat >>conftest.$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14512 ac_clean_files_save=$ac_clean_files
14513 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14514 # Try to create an executable without -o first, disregard a.out.
14515 # It will help us diagnose broken compilers, and finding out an intuition
14517 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14518 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14519 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14521 # List of possible output files, starting from the most likely.
14522 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14523 # only as a last resort. b.out is created by i960 compilers.
14524 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14526 # The IRIX 6 linker writes into existing files which may not be
14527 # executable, retaining their permissions. Remove them first so a
14528 # subsequent execution test works.
14530 for ac_file in $ac_files
14533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14534 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14539 if { (ac_try="$ac_link_default"
14540 case "(($ac_try" in
14541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14542 *) ac_try_echo=$ac_try;;
14544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14545 (eval "$ac_link_default") 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; then
14549 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14550 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14551 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14552 # so that the user can short-circuit this test for compilers unknown to
14554 for ac_file in $ac_files ''
14556 test -f "$ac_file" || continue
14558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14561 # We found the default executable, but exeext='' is most
14565 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14567 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14569 # We set ac_cv_exeext here because the later test for it is not
14570 # safe: cross compilers may not add the suffix if given an `-o'
14571 # argument, so we may need to know it at that point already.
14572 # Even if this section looks crufty: it has the advantage of
14573 # actually working.
14579 test "$ac_cv_exeext" = no && ac_cv_exeext=
14585 { echo "$as_me:$LINENO: result: $ac_file" >&5
14586 echo "${ECHO_T}$ac_file" >&6; }
14587 if test -z "$ac_file"; then
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.$ac_ext >&5
14591 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14592 See \`config.log' for more details." >&5
14593 echo "$as_me: error: C compiler cannot create executables
14594 See \`config.log' for more details." >&2;}
14595 { (exit 77); exit 77; }; }
14598 ac_exeext=$ac_cv_exeext
14600 # Check that the compiler produces executables we can run. If not, either
14601 # the compiler is broken, or we cross compile.
14602 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14603 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14604 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14605 # If not cross compiling, check that we can run a simple program.
14606 if test "$cross_compiling" != yes; then
14607 if { ac_try='./$ac_file'
14608 { (case "(($ac_try" in
14609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14610 *) ac_try_echo=$ac_try;;
14612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14613 (eval "$ac_try") 2>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; }; then
14619 if test "$cross_compiling" = maybe; then
14620 cross_compiling=yes
14622 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14623 If you meant to cross compile, use \`--host'.
14624 See \`config.log' for more details." >&5
14625 echo "$as_me: error: cannot run C compiled programs.
14626 If you meant to cross compile, use \`--host'.
14627 See \`config.log' for more details." >&2;}
14628 { (exit 1); exit 1; }; }
14632 { echo "$as_me:$LINENO: result: yes" >&5
14633 echo "${ECHO_T}yes" >&6; }
14635 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14636 ac_clean_files=$ac_clean_files_save
14637 # Check that the compiler produces executables we can run. If not, either
14638 # the compiler is broken, or we cross compile.
14639 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14640 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14641 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14642 echo "${ECHO_T}$cross_compiling" >&6; }
14644 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14645 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14646 if { (ac_try="$ac_link"
14647 case "(($ac_try" in
14648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14649 *) ac_try_echo=$ac_try;;
14651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14652 (eval "$ac_link") 2>&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; then
14656 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14657 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14658 # work properly (i.e., refer to `conftest.exe'), while it won't with
14660 for ac_file in conftest.exe conftest conftest.*; do
14661 test -f "$ac_file" || continue
14663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14664 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14670 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14671 See \`config.log' for more details." >&5
14672 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14673 See \`config.log' for more details." >&2;}
14674 { (exit 1); exit 1; }; }
14677 rm -f conftest$ac_cv_exeext
14678 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14679 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14681 rm -f conftest.$ac_ext
14682 EXEEXT=$ac_cv_exeext
14684 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14685 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14686 if test "${ac_cv_objext+set}" = set; then
14687 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 cat >conftest.$ac_ext <<_ACEOF
14692 cat confdefs.h >>conftest.$ac_ext
14693 cat >>conftest.$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14704 rm -f conftest.o conftest.obj
14705 if { (ac_try="$ac_compile"
14706 case "(($ac_try" in
14707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14708 *) ac_try_echo=$ac_try;;
14710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14711 (eval "$ac_compile") 2>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); }; then
14715 for ac_file in conftest.o conftest.obj conftest.*; do
14716 test -f "$ac_file" || continue;
14718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.$ac_ext >&5
14727 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14728 See \`config.log' for more details." >&5
14729 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14730 See \`config.log' for more details." >&2;}
14731 { (exit 1); exit 1; }; }
14734 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14736 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14737 echo "${ECHO_T}$ac_cv_objext" >&6; }
14738 OBJEXT=$ac_cv_objext
14740 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14741 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14742 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14743 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 cat >conftest.$ac_ext <<_ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14763 rm -f conftest.$ac_objext
14764 if { (ac_try="$ac_compile"
14765 case "(($ac_try" in
14766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14767 *) ac_try_echo=$ac_try;;
14769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14770 (eval "$ac_compile") 2>conftest.er1
14772 grep -v '^ *+' conftest.er1 >conftest.err
14774 cat conftest.err >&5
14775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776 (exit $ac_status); } && {
14777 test -z "$ac_c_werror_flag" ||
14778 test ! -s conftest.err
14779 } && test -s conftest.$ac_objext; then
14780 ac_compiler_gnu=yes
14782 echo "$as_me: failed program was:" >&5
14783 sed 's/^/| /' conftest.$ac_ext >&5
14788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14789 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14792 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14793 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14794 GCC=`test $ac_compiler_gnu = yes && echo yes`
14795 ac_test_CFLAGS=${CFLAGS+set}
14796 ac_save_CFLAGS=$CFLAGS
14797 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14798 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14799 if test "${ac_cv_prog_cc_g+set}" = set; then
14800 echo $ECHO_N "(cached) $ECHO_C" >&6
14802 ac_save_c_werror_flag=$ac_c_werror_flag
14803 ac_c_werror_flag=yes
14806 cat >conftest.$ac_ext <<_ACEOF
14809 cat confdefs.h >>conftest.$ac_ext
14810 cat >>conftest.$ac_ext <<_ACEOF
14811 /* end confdefs.h. */
14821 rm -f conftest.$ac_objext
14822 if { (ac_try="$ac_compile"
14823 case "(($ac_try" in
14824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14825 *) ac_try_echo=$ac_try;;
14827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14828 (eval "$ac_compile") 2>conftest.er1
14830 grep -v '^ *+' conftest.er1 >conftest.err
14832 cat conftest.err >&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); } && {
14835 test -z "$ac_c_werror_flag" ||
14836 test ! -s conftest.err
14837 } && test -s conftest.$ac_objext; then
14838 ac_cv_prog_cc_g=yes
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.$ac_ext >&5
14844 cat >conftest.$ac_ext <<_ACEOF
14847 cat confdefs.h >>conftest.$ac_ext
14848 cat >>conftest.$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14859 rm -f conftest.$ac_objext
14860 if { (ac_try="$ac_compile"
14861 case "(($ac_try" in
14862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14863 *) ac_try_echo=$ac_try;;
14865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14866 (eval "$ac_compile") 2>conftest.er1
14868 grep -v '^ *+' conftest.er1 >conftest.err
14870 cat conftest.err >&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } && {
14873 test -z "$ac_c_werror_flag" ||
14874 test ! -s conftest.err
14875 } && test -s conftest.$ac_objext; then
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.$ac_ext >&5
14881 ac_c_werror_flag=$ac_save_c_werror_flag
14883 cat >conftest.$ac_ext <<_ACEOF
14886 cat confdefs.h >>conftest.$ac_ext
14887 cat >>conftest.$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14898 rm -f conftest.$ac_objext
14899 if { (ac_try="$ac_compile"
14900 case "(($ac_try" in
14901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14902 *) ac_try_echo=$ac_try;;
14904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14905 (eval "$ac_compile") 2>conftest.er1
14907 grep -v '^ *+' conftest.er1 >conftest.err
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } && {
14912 test -z "$ac_c_werror_flag" ||
14913 test ! -s conftest.err
14914 } && test -s conftest.$ac_objext; then
14915 ac_cv_prog_cc_g=yes
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.$ac_ext >&5
14923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14930 ac_c_werror_flag=$ac_save_c_werror_flag
14932 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14933 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14934 if test "$ac_test_CFLAGS" = set; then
14935 CFLAGS=$ac_save_CFLAGS
14936 elif test $ac_cv_prog_cc_g = yes; then
14937 if test "$GCC" = yes; then
14943 if test "$GCC" = yes; then
14949 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14950 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14951 if test "${ac_cv_prog_cc_c89+set}" = set; then
14952 echo $ECHO_N "(cached) $ECHO_C" >&6
14954 ac_cv_prog_cc_c89=no
14956 cat >conftest.$ac_ext <<_ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14962 #include <stdarg.h>
14964 #include <sys/types.h>
14965 #include <sys/stat.h>
14966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14967 struct buf { int x; };
14968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14969 static char *e (p, i)
14975 static char *f (char * (*g) (char **, int), char **p, ...)
14980 s = g (p, va_arg (v,int));
14985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14986 function prototypes and stuff, but not '\xHH' hex character constants.
14987 These don't provoke an error unfortunately, instead are silently treated
14988 as 'x'. The following induces an error, until -std is added to get
14989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14990 array size at least. It's necessary to write '\x00'==0 to get something
14991 that's true only with -std. */
14992 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14995 inside strings and character constants. */
14997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14999 int test (int i, double x);
15000 struct s1 {int (*f) (int a);};
15001 struct s2 {int (*f) (double a);};
15002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15008 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15013 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15016 CC="$ac_save_CC $ac_arg"
15017 rm -f conftest.$ac_objext
15018 if { (ac_try="$ac_compile"
15019 case "(($ac_try" in
15020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15021 *) ac_try_echo=$ac_try;;
15023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15024 (eval "$ac_compile") 2>conftest.er1
15026 grep -v '^ *+' conftest.er1 >conftest.err
15028 cat conftest.err >&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } && {
15031 test -z "$ac_c_werror_flag" ||
15032 test ! -s conftest.err
15033 } && test -s conftest.$ac_objext; then
15034 ac_cv_prog_cc_c89=$ac_arg
15036 echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.$ac_ext >&5
15042 rm -f core conftest.err conftest.$ac_objext
15043 test "x$ac_cv_prog_cc_c89" != "xno" && break
15045 rm -f conftest.$ac_ext
15050 case "x$ac_cv_prog_cc_c89" in
15052 { echo "$as_me:$LINENO: result: none needed" >&5
15053 echo "${ECHO_T}none needed" >&6; } ;;
15055 { echo "$as_me:$LINENO: result: unsupported" >&5
15056 echo "${ECHO_T}unsupported" >&6; } ;;
15058 CC="$CC $ac_cv_prog_cc_c89"
15059 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15060 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15065 ac_cpp='$CPP $CPPFLAGS'
15066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074 ac_cpp='$CPP $CPPFLAGS'
15075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15079 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15080 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15081 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 cat >conftest.$ac_ext <<_ACEOF
15087 cat confdefs.h >>conftest.$ac_ext
15088 cat >>conftest.$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15095 #ifndef __INTEL_COMPILER
15103 rm -f conftest.$ac_objext
15104 if { (ac_try="$ac_compile"
15105 case "(($ac_try" in
15106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15107 *) ac_try_echo=$ac_try;;
15109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15110 (eval "$ac_compile") 2>conftest.er1
15112 grep -v '^ *+' conftest.er1 >conftest.err
15114 cat conftest.err >&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } && {
15117 test -z "$ac_c_werror_flag" ||
15118 test ! -s conftest.err
15119 } && test -s conftest.$ac_objext; then
15120 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15122 echo "$as_me: failed program was:" >&5
15123 sed 's/^/| /' conftest.$ac_ext >&5
15125 bakefile_cv_c_compiler___INTEL_COMPILER=no
15129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15133 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15134 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15135 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15141 ac_cpp='$CPP $CPPFLAGS'
15142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15149 if test "$INTELCC" = "yes"; then
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15158 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15159 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15160 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 cat >conftest.$ac_ext <<_ACEOF
15166 cat confdefs.h >>conftest.$ac_ext
15167 cat >>conftest.$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15174 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15182 rm -f conftest.$ac_objext
15183 if { (ac_try="$ac_compile"
15184 case "(($ac_try" in
15185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15186 *) ac_try_echo=$ac_try;;
15188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15189 (eval "$ac_compile") 2>conftest.er1
15191 grep -v '^ *+' conftest.er1 >conftest.err
15193 cat conftest.err >&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); } && {
15196 test -z "$ac_c_werror_flag" ||
15197 test ! -s conftest.err
15198 } && test -s conftest.$ac_objext; then
15199 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.$ac_ext >&5
15204 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15212 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15213 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15214 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15220 ac_cpp='$CPP $CPPFLAGS'
15221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15230 ac_cpp='$CPP $CPPFLAGS'
15231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15235 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15236 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15237 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15238 echo $ECHO_N "(cached) $ECHO_C" >&6
15240 cat >conftest.$ac_ext <<_ACEOF
15243 cat confdefs.h >>conftest.$ac_ext
15244 cat >>conftest.$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15251 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15259 rm -f conftest.$ac_objext
15260 if { (ac_try="$ac_compile"
15261 case "(($ac_try" in
15262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15263 *) ac_try_echo=$ac_try;;
15265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15266 (eval "$ac_compile") 2>conftest.er1
15268 grep -v '^ *+' conftest.er1 >conftest.err
15270 cat conftest.err >&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); } && {
15273 test -z "$ac_c_werror_flag" ||
15274 test ! -s conftest.err
15275 } && test -s conftest.$ac_objext; then
15276 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.$ac_ext >&5
15281 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15290 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15291 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15297 ac_cpp='$CPP $CPPFLAGS'
15298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15306 if test "x$GCC" != "xyes"; then
15307 if test "xCC" = "xC"; then
15308 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15309 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15310 if test "${bakefile_cv_c_exto+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 cat >conftest.$ac_ext <<_ACEOF
15316 cat confdefs.h >>conftest.$ac_ext
15317 cat >>conftest.$ac_ext <<_ACEOF
15318 /* end confdefs.h. */
15328 rm -f conftest.$ac_objext conftest.$ac_ext.o
15329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15330 (eval $ac_compile) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; then
15334 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15336 conftest.$ac_ext.o)
15337 bakefile_cv_c_exto="-ext o"
15344 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15345 See \`config.log' for more details." >&5
15346 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15347 See \`config.log' for more details." >&2;}
15348 { (exit 1); exit 1; }; }
15352 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15355 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15356 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15357 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15358 if test "c" = "c"; then
15359 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15361 if test "c" = "cxx"; then
15362 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15366 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15367 unset ac_cv_prog_cc_g
15368 ac_test_CFLAGS=${CFLAGS+set}
15369 ac_save_CFLAGS=$CFLAGS
15370 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15371 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15372 if test "${ac_cv_prog_cc_g+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 ac_save_c_werror_flag=$ac_c_werror_flag
15376 ac_c_werror_flag=yes
15379 cat >conftest.$ac_ext <<_ACEOF
15382 cat confdefs.h >>conftest.$ac_ext
15383 cat >>conftest.$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15403 grep -v '^ *+' conftest.er1 >conftest.err
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 ac_cv_prog_cc_g=yes
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15417 cat >conftest.$ac_ext <<_ACEOF
15420 cat confdefs.h >>conftest.$ac_ext
15421 cat >>conftest.$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15432 rm -f conftest.$ac_objext
15433 if { (ac_try="$ac_compile"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15439 (eval "$ac_compile") 2>conftest.er1
15441 grep -v '^ *+' conftest.er1 >conftest.err
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } && {
15446 test -z "$ac_c_werror_flag" ||
15447 test ! -s conftest.err
15448 } && test -s conftest.$ac_objext; then
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15454 ac_c_werror_flag=$ac_save_c_werror_flag
15456 cat >conftest.$ac_ext <<_ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15471 rm -f conftest.$ac_objext
15472 if { (ac_try="$ac_compile"
15473 case "(($ac_try" in
15474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15475 *) ac_try_echo=$ac_try;;
15477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15478 (eval "$ac_compile") 2>conftest.er1
15480 grep -v '^ *+' conftest.er1 >conftest.err
15482 cat conftest.err >&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } && {
15485 test -z "$ac_c_werror_flag" ||
15486 test ! -s conftest.err
15487 } && test -s conftest.$ac_objext; then
15488 ac_cv_prog_cc_g=yes
15490 echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.$ac_ext >&5
15496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15503 ac_c_werror_flag=$ac_save_c_werror_flag
15505 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15506 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15507 if test "$ac_test_CFLAGS" = set; then
15508 CFLAGS=$ac_save_CFLAGS
15509 elif test $ac_cv_prog_cc_g = yes; then
15510 if test "$GCC" = yes; then
15516 if test "$GCC" = yes; then
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15535 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15536 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15537 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 cat >conftest.$ac_ext <<_ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15559 rm -f conftest.$ac_objext
15560 if { (ac_try="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15568 grep -v '^ *+' conftest.er1 >conftest.err
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 bakefile_cv_c_compiler___xlC__=yes
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15581 bakefile_cv_c_compiler___xlC__=no
15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15590 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15591 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610 ac_cpp='$CPP $CPPFLAGS'
15611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15615 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15616 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15617 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 cat >conftest.$ac_ext <<_ACEOF
15623 cat confdefs.h >>conftest.$ac_ext
15624 cat >>conftest.$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15639 rm -f conftest.$ac_objext
15640 if { (ac_try="$ac_compile"
15641 case "(($ac_try" in
15642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15643 *) ac_try_echo=$ac_try;;
15645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15646 (eval "$ac_compile") 2>conftest.er1
15648 grep -v '^ *+' conftest.er1 >conftest.err
15650 cat conftest.err >&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } && {
15653 test -z "$ac_c_werror_flag" ||
15654 test ! -s conftest.err
15655 } && test -s conftest.$ac_objext; then
15656 bakefile_cv_c_compiler___MWERKS__=yes
15658 echo "$as_me: failed program was:" >&5
15659 sed 's/^/| /' conftest.$ac_ext >&5
15661 bakefile_cv_c_compiler___MWERKS__=no
15665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15670 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15671 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15677 ac_cpp='$CPP $CPPFLAGS'
15678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15684 if test "$MWCC" != "yes"; then
15688 ac_cpp='$CPP $CPPFLAGS'
15689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15694 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15695 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 cat >conftest.$ac_ext <<_ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15717 rm -f conftest.$ac_objext
15718 if { (ac_try="$ac_compile"
15719 case "(($ac_try" in
15720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15721 *) ac_try_echo=$ac_try;;
15723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15724 (eval "$ac_compile") 2>conftest.er1
15726 grep -v '^ *+' conftest.er1 >conftest.err
15728 cat conftest.err >&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } && {
15731 test -z "$ac_c_werror_flag" ||
15732 test ! -s conftest.err
15733 } && test -s conftest.$ac_objext; then
15734 bakefile_cv_c_compiler___xlC__=yes
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.$ac_ext >&5
15739 bakefile_cv_c_compiler___xlC__=no
15743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15747 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15748 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15749 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15755 ac_cpp='$CPP $CPPFLAGS'
15756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15775 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15776 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 cat >conftest.$ac_ext <<_ACEOF
15782 cat confdefs.h >>conftest.$ac_ext
15783 cat >>conftest.$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15790 #ifndef _SGI_COMPILER_VERSION
15798 rm -f conftest.$ac_objext
15799 if { (ac_try="$ac_compile"
15800 case "(($ac_try" in
15801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15802 *) ac_try_echo=$ac_try;;
15804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15805 (eval "$ac_compile") 2>conftest.er1
15807 grep -v '^ *+' conftest.er1 >conftest.err
15809 cat conftest.err >&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } && {
15812 test -z "$ac_c_werror_flag" ||
15813 test ! -s conftest.err
15814 } && test -s conftest.$ac_objext; then
15815 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.$ac_ext >&5
15820 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15829 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15830 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15836 ac_cpp='$CPP $CPPFLAGS'
15837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15846 if test "$INTELCC" != "yes"; then
15850 ac_cpp='$CPP $CPPFLAGS'
15851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15855 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15856 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15857 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15858 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 cat >conftest.$ac_ext <<_ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15879 rm -f conftest.$ac_objext
15880 if { (ac_try="$ac_compile"
15881 case "(($ac_try" in
15882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15883 *) ac_try_echo=$ac_try;;
15885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15886 (eval "$ac_compile") 2>conftest.er1
15888 grep -v '^ *+' conftest.er1 >conftest.err
15890 cat conftest.err >&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } && {
15893 test -z "$ac_c_werror_flag" ||
15894 test ! -s conftest.err
15895 } && test -s conftest.$ac_objext; then
15896 bakefile_cv_c_compiler___SUNPRO_C=yes
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.$ac_ext >&5
15901 bakefile_cv_c_compiler___SUNPRO_C=no
15905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15910 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15911 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15917 ac_cpp='$CPP $CPPFLAGS'
15918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15937 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15938 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15941 cat >conftest.$ac_ext <<_ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15960 rm -f conftest.$ac_objext
15961 if { (ac_try="$ac_compile"
15962 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15967 (eval "$ac_compile") 2>conftest.er1
15969 grep -v '^ *+' conftest.er1 >conftest.err
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && {
15974 test -z "$ac_c_werror_flag" ||
15975 test ! -s conftest.err
15976 } && test -s conftest.$ac_objext; then
15977 bakefile_cv_c_compiler___HP_cc=yes
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15982 bakefile_cv_c_compiler___HP_cc=no
15986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15991 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15992 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011 ac_cpp='$CPP $CPPFLAGS'
16012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16016 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16017 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16018 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 cat >conftest.$ac_ext <<_ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16040 rm -f conftest.$ac_objext
16041 if { (ac_try="$ac_compile"
16042 case "(($ac_try" in
16043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16044 *) ac_try_echo=$ac_try;;
16046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16047 (eval "$ac_compile") 2>conftest.er1
16049 grep -v '^ *+' conftest.er1 >conftest.err
16051 cat conftest.err >&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && {
16054 test -z "$ac_c_werror_flag" ||
16055 test ! -s conftest.err
16056 } && test -s conftest.$ac_objext; then
16057 bakefile_cv_c_compiler___DECC=yes
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.$ac_ext >&5
16062 bakefile_cv_c_compiler___DECC=no
16066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16070 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16071 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16072 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16078 ac_cpp='$CPP $CPPFLAGS'
16079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16091 ac_cpp='$CPP $CPPFLAGS'
16092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16097 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16098 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 cat >conftest.$ac_ext <<_ACEOF
16104 cat confdefs.h >>conftest.$ac_ext
16105 cat >>conftest.$ac_ext <<_ACEOF
16106 /* end confdefs.h. */
16120 rm -f conftest.$ac_objext
16121 if { (ac_try="$ac_compile"
16122 case "(($ac_try" in
16123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124 *) ac_try_echo=$ac_try;;
16126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16127 (eval "$ac_compile") 2>conftest.er1
16129 grep -v '^ *+' conftest.er1 >conftest.err
16131 cat conftest.err >&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } && {
16134 test -z "$ac_c_werror_flag" ||
16135 test ! -s conftest.err
16136 } && test -s conftest.$ac_objext; then
16137 bakefile_cv_c_compiler___SUNPRO_C=yes
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16142 bakefile_cv_c_compiler___SUNPRO_C=no
16146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16151 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16152 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16158 ac_cpp='$CPP $CPPFLAGS'
16159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16172 ac_cpp='$CPP $CPPFLAGS'
16173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16176 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16177 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16178 # On Suns, sometimes $CPP names a directory.
16179 if test -n "$CPP" && test -d "$CPP"; then
16182 if test -z "$CPP"; then
16183 if test "${ac_cv_prog_CPP+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6
16186 # Double quotes because CPP needs to be expanded
16187 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16189 ac_preproc_ok=false
16190 for ac_c_preproc_warn_flag in '' yes
16192 # Use a header file that comes with gcc, so configuring glibc
16193 # with a fresh cross-compiler works.
16194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16195 # <limits.h> exists even on freestanding compilers.
16196 # On the NeXT, cc -E runs the code through the compiler's parser,
16197 # not just through cpp. "Syntax error" is here to catch this case.
16198 cat >conftest.$ac_ext <<_ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16205 # include <limits.h>
16207 # include <assert.h>
16211 if { (ac_try="$ac_cpp conftest.$ac_ext"
16212 case "(($ac_try" in
16213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16214 *) ac_try_echo=$ac_try;;
16216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16219 grep -v '^ *+' conftest.er1 >conftest.err
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } >/dev/null && {
16224 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16225 test ! -s conftest.err
16229 echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.$ac_ext >&5
16232 # Broken: fails on valid input.
16236 rm -f conftest.err conftest.$ac_ext
16238 # OK, works on sane cases. Now check whether nonexistent headers
16239 # can be detected and how.
16240 cat >conftest.$ac_ext <<_ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 #include <ac_nonexistent.h>
16248 if { (ac_try="$ac_cpp conftest.$ac_ext"
16249 case "(($ac_try" in
16250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16251 *) ac_try_echo=$ac_try;;
16253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16256 grep -v '^ *+' conftest.er1 >conftest.err
16258 cat conftest.err >&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); } >/dev/null && {
16261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16262 test ! -s conftest.err
16264 # Broken: success on invalid input.
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.$ac_ext >&5
16270 # Passes both tests.
16275 rm -f conftest.err conftest.$ac_ext
16278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16279 rm -f conftest.err conftest.$ac_ext
16280 if $ac_preproc_ok; then
16285 ac_cv_prog_CPP=$CPP
16288 CPP=$ac_cv_prog_CPP
16290 ac_cv_prog_CPP=$CPP
16292 { echo "$as_me:$LINENO: result: $CPP" >&5
16293 echo "${ECHO_T}$CPP" >&6; }
16294 ac_preproc_ok=false
16295 for ac_c_preproc_warn_flag in '' yes
16297 # Use a header file that comes with gcc, so configuring glibc
16298 # with a fresh cross-compiler works.
16299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16300 # <limits.h> exists even on freestanding compilers.
16301 # On the NeXT, cc -E runs the code through the compiler's parser,
16302 # not just through cpp. "Syntax error" is here to catch this case.
16303 cat >conftest.$ac_ext <<_ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16310 # include <limits.h>
16312 # include <assert.h>
16316 if { (ac_try="$ac_cpp conftest.$ac_ext"
16317 case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16324 grep -v '^ *+' conftest.er1 >conftest.err
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } >/dev/null && {
16329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.$ac_ext >&5
16337 # Broken: fails on valid input.
16341 rm -f conftest.err conftest.$ac_ext
16343 # OK, works on sane cases. Now check whether nonexistent headers
16344 # can be detected and how.
16345 cat >conftest.$ac_ext <<_ACEOF
16348 cat confdefs.h >>conftest.$ac_ext
16349 cat >>conftest.$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16351 #include <ac_nonexistent.h>
16353 if { (ac_try="$ac_cpp conftest.$ac_ext"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16361 grep -v '^ *+' conftest.er1 >conftest.err
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } >/dev/null && {
16366 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16369 # Broken: success on invalid input.
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.$ac_ext >&5
16375 # Passes both tests.
16380 rm -f conftest.err conftest.$ac_ext
16383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16384 rm -f conftest.err conftest.$ac_ext
16385 if $ac_preproc_ok; then
16388 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16389 See \`config.log' for more details." >&5
16390 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16391 See \`config.log' for more details." >&2;}
16392 { (exit 1); exit 1; }; }
16396 ac_cpp='$CPP $CPPFLAGS'
16397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16402 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16403 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16404 if test "${ac_cv_path_GREP+set}" = set; then
16405 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 # Extract the first word of "grep ggrep" to use in msg output
16408 if test -z "$GREP"; then
16409 set dummy grep ggrep; ac_prog_name=$2
16410 if test "${ac_cv_path_GREP+set}" = set; then
16411 echo $ECHO_N "(cached) $ECHO_C" >&6
16413 ac_path_GREP_found=false
16414 # Loop through the user's path and test for each of PROGNAME-LIST
16415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16416 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16419 test -z "$as_dir" && as_dir=.
16420 for ac_prog in grep ggrep; do
16421 for ac_exec_ext in '' $ac_executable_extensions; do
16422 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16423 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16424 # Check for GNU ac_path_GREP and select it if it is found.
16425 # Check for GNU $ac_path_GREP
16426 case `"$ac_path_GREP" --version 2>&1` in
16428 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16431 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16434 cat "conftest.in" "conftest.in" >"conftest.tmp"
16435 mv "conftest.tmp" "conftest.in"
16436 cp "conftest.in" "conftest.nl"
16437 echo 'GREP' >> "conftest.nl"
16438 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16439 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16440 ac_count=`expr $ac_count + 1`
16441 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16442 # Best one so far, save it but keep looking for a better one
16443 ac_cv_path_GREP="$ac_path_GREP"
16444 ac_path_GREP_max=$ac_count
16446 # 10*(2^10) chars as input seems more than enough
16447 test $ac_count -gt 10 && break
16449 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16453 $ac_path_GREP_found && break 3
16463 GREP="$ac_cv_path_GREP"
16464 if test -z "$GREP"; then
16465 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16466 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16467 { (exit 1); exit 1; }; }
16471 ac_cv_path_GREP=$GREP
16476 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16477 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16478 GREP="$ac_cv_path_GREP"
16481 { echo "$as_me:$LINENO: checking for egrep" >&5
16482 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16483 if test "${ac_cv_path_EGREP+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16487 then ac_cv_path_EGREP="$GREP -E"
16489 # Extract the first word of "egrep" to use in msg output
16490 if test -z "$EGREP"; then
16491 set dummy egrep; ac_prog_name=$2
16492 if test "${ac_cv_path_EGREP+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 ac_path_EGREP_found=false
16496 # Loop through the user's path and test for each of PROGNAME-LIST
16497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16498 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16501 test -z "$as_dir" && as_dir=.
16502 for ac_prog in egrep; do
16503 for ac_exec_ext in '' $ac_executable_extensions; do
16504 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16505 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16506 # Check for GNU ac_path_EGREP and select it if it is found.
16507 # Check for GNU $ac_path_EGREP
16508 case `"$ac_path_EGREP" --version 2>&1` in
16510 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16513 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16516 cat "conftest.in" "conftest.in" >"conftest.tmp"
16517 mv "conftest.tmp" "conftest.in"
16518 cp "conftest.in" "conftest.nl"
16519 echo 'EGREP' >> "conftest.nl"
16520 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16522 ac_count=`expr $ac_count + 1`
16523 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16524 # Best one so far, save it but keep looking for a better one
16525 ac_cv_path_EGREP="$ac_path_EGREP"
16526 ac_path_EGREP_max=$ac_count
16528 # 10*(2^10) chars as input seems more than enough
16529 test $ac_count -gt 10 && break
16531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16535 $ac_path_EGREP_found && break 3
16545 EGREP="$ac_cv_path_EGREP"
16546 if test -z "$EGREP"; then
16547 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16548 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16549 { (exit 1); exit 1; }; }
16553 ac_cv_path_EGREP=$EGREP
16559 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16560 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16561 EGREP="$ac_cv_path_EGREP"
16564 if test $ac_cv_c_compiler_gnu = yes; then
16565 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16566 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16567 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 ac_pattern="Autoconf.*'x'"
16571 cat >conftest.$ac_ext <<_ACEOF
16574 cat confdefs.h >>conftest.$ac_ext
16575 cat >>conftest.$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16581 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16582 ac_cv_prog_gcc_traditional=yes
16584 ac_cv_prog_gcc_traditional=no
16589 if test $ac_cv_prog_gcc_traditional = no; then
16590 cat >conftest.$ac_ext <<_ACEOF
16593 cat confdefs.h >>conftest.$ac_ext
16594 cat >>conftest.$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596 #include <termio.h>
16599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16600 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16601 ac_cv_prog_gcc_traditional=yes
16607 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16608 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16609 if test $ac_cv_prog_gcc_traditional = yes; then
16610 CC="$CC -traditional"
16615 CXXFLAGS=${CXXFLAGS:=}
16620 ac_cpp='$CXXCPP $CPPFLAGS'
16621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16624 if test -z "$CXX"; then
16625 if test -n "$CCC"; then
16628 if test -n "$ac_tool_prefix"; then
16629 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16635 if test "${ac_cv_prog_CXX+set}" = set; then
16636 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 if test -n "$CXX"; then
16639 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16642 for as_dir in $PATH
16645 test -z "$as_dir" && as_dir=.
16646 for ac_exec_ext in '' $ac_executable_extensions; do
16647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16648 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16658 CXX=$ac_cv_prog_CXX
16659 if test -n "$CXX"; then
16660 { echo "$as_me:$LINENO: result: $CXX" >&5
16661 echo "${ECHO_T}$CXX" >&6; }
16663 { echo "$as_me:$LINENO: result: no" >&5
16664 echo "${ECHO_T}no" >&6; }
16668 test -n "$CXX" && break
16671 if test -z "$CXX"; then
16673 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16675 # Extract the first word of "$ac_prog", so it can be a program name with args.
16676 set dummy $ac_prog; ac_word=$2
16677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16679 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16680 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 if test -n "$ac_ct_CXX"; then
16683 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16686 for as_dir in $PATH
16689 test -z "$as_dir" && as_dir=.
16690 for ac_exec_ext in '' $ac_executable_extensions; do
16691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16692 ac_cv_prog_ac_ct_CXX="$ac_prog"
16693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16702 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16703 if test -n "$ac_ct_CXX"; then
16704 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16705 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16707 { echo "$as_me:$LINENO: result: no" >&5
16708 echo "${ECHO_T}no" >&6; }
16712 test -n "$ac_ct_CXX" && break
16715 if test "x$ac_ct_CXX" = x; then
16718 case $cross_compiling:$ac_tool_warned in
16720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16721 whose name does not start with the host triplet. If you think this
16722 configuration is useful to you, please write to autoconf@gnu.org." >&5
16723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16724 whose name does not start with the host triplet. If you think this
16725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16726 ac_tool_warned=yes ;;
16734 # Provide some information about the compiler.
16735 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16736 ac_compiler=`set X $ac_compile; echo $2`
16737 { (ac_try="$ac_compiler --version >&5"
16738 case "(($ac_try" in
16739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16740 *) ac_try_echo=$ac_try;;
16742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16743 (eval "$ac_compiler --version >&5") 2>&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }
16747 { (ac_try="$ac_compiler -v >&5"
16748 case "(($ac_try" in
16749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16750 *) ac_try_echo=$ac_try;;
16752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16753 (eval "$ac_compiler -v >&5") 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }
16757 { (ac_try="$ac_compiler -V >&5"
16758 case "(($ac_try" in
16759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16760 *) ac_try_echo=$ac_try;;
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_compiler -V >&5") 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }
16768 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16769 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16770 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 cat >conftest.$ac_ext <<_ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16791 rm -f conftest.$ac_objext
16792 if { (ac_try="$ac_compile"
16793 case "(($ac_try" in
16794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16795 *) ac_try_echo=$ac_try;;
16797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16798 (eval "$ac_compile") 2>conftest.er1
16800 grep -v '^ *+' conftest.er1 >conftest.err
16802 cat conftest.err >&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && {
16805 test -z "$ac_cxx_werror_flag" ||
16806 test ! -s conftest.err
16807 } && test -s conftest.$ac_objext; then
16808 ac_compiler_gnu=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.$ac_ext >&5
16816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16817 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16820 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16821 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16822 GXX=`test $ac_compiler_gnu = yes && echo yes`
16823 ac_test_CXXFLAGS=${CXXFLAGS+set}
16824 ac_save_CXXFLAGS=$CXXFLAGS
16825 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16826 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_cxx_g+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16831 ac_cxx_werror_flag=yes
16832 ac_cv_prog_cxx_g=no
16834 cat >conftest.$ac_ext <<_ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16849 rm -f conftest.$ac_objext
16850 if { (ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_compile") 2>conftest.er1
16858 grep -v '^ *+' conftest.er1 >conftest.err
16860 cat conftest.err >&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } && {
16863 test -z "$ac_cxx_werror_flag" ||
16864 test ! -s conftest.err
16865 } && test -s conftest.$ac_objext; then
16866 ac_cv_prog_cxx_g=yes
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16872 cat >conftest.$ac_ext <<_ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16887 rm -f conftest.$ac_objext
16888 if { (ac_try="$ac_compile"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compile") 2>conftest.er1
16896 grep -v '^ *+' conftest.er1 >conftest.err
16898 cat conftest.err >&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } && {
16901 test -z "$ac_cxx_werror_flag" ||
16902 test ! -s conftest.err
16903 } && test -s conftest.$ac_objext; then
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16909 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16911 cat >conftest.$ac_ext <<_ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16926 rm -f conftest.$ac_objext
16927 if { (ac_try="$ac_compile"
16928 case "(($ac_try" in
16929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_compile") 2>conftest.er1
16935 grep -v '^ *+' conftest.er1 >conftest.err
16937 cat conftest.err >&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } && {
16940 test -z "$ac_cxx_werror_flag" ||
16941 test ! -s conftest.err
16942 } && test -s conftest.$ac_objext; then
16943 ac_cv_prog_cxx_g=yes
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16960 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16961 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16962 if test "$ac_test_CXXFLAGS" = set; then
16963 CXXFLAGS=$ac_save_CXXFLAGS
16964 elif test $ac_cv_prog_cxx_g = yes; then
16965 if test "$GXX" = yes; then
16971 if test "$GXX" = yes; then
16978 ac_cpp='$CPP $CPPFLAGS'
16979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16987 ac_cpp='$CXXCPP $CPPFLAGS'
16988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16992 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16993 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16994 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6
16997 cat >conftest.$ac_ext <<_ACEOF
17000 cat confdefs.h >>conftest.$ac_ext
17001 cat >>conftest.$ac_ext <<_ACEOF
17002 /* end confdefs.h. */
17008 #ifndef __INTEL_COMPILER
17016 rm -f conftest.$ac_objext
17017 if { (ac_try="$ac_compile"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_compile") 2>conftest.er1
17025 grep -v '^ *+' conftest.er1 >conftest.err
17027 cat conftest.err >&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } && {
17030 test -z "$ac_cxx_werror_flag" ||
17031 test ! -s conftest.err
17032 } && test -s conftest.$ac_objext; then
17033 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17038 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17046 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17047 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17048 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17054 ac_cpp='$CPP $CPPFLAGS'
17055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17062 if test "$INTELCXX" = "yes"; then
17066 ac_cpp='$CXXCPP $CPPFLAGS'
17067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17071 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17072 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17073 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 cat >conftest.$ac_ext <<_ACEOF
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17087 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17095 rm -f conftest.$ac_objext
17096 if { (ac_try="$ac_compile"
17097 case "(($ac_try" in
17098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17099 *) ac_try_echo=$ac_try;;
17101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17102 (eval "$ac_compile") 2>conftest.er1
17104 grep -v '^ *+' conftest.er1 >conftest.err
17106 cat conftest.err >&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } && {
17109 test -z "$ac_cxx_werror_flag" ||
17110 test ! -s conftest.err
17111 } && test -s conftest.$ac_objext; then
17112 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.$ac_ext >&5
17117 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17126 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17127 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17133 ac_cpp='$CPP $CPPFLAGS'
17134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17143 ac_cpp='$CXXCPP $CPPFLAGS'
17144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17148 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17149 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17150 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 cat >conftest.$ac_ext <<_ACEOF
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17164 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17172 rm -f conftest.$ac_objext
17173 if { (ac_try="$ac_compile"
17174 case "(($ac_try" in
17175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17176 *) ac_try_echo=$ac_try;;
17178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17179 (eval "$ac_compile") 2>conftest.er1
17181 grep -v '^ *+' conftest.er1 >conftest.err
17183 cat conftest.err >&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } && {
17186 test -z "$ac_cxx_werror_flag" ||
17187 test ! -s conftest.err
17188 } && test -s conftest.$ac_objext; then
17189 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17191 echo "$as_me: failed program was:" >&5
17192 sed 's/^/| /' conftest.$ac_ext >&5
17194 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17202 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17203 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17204 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17210 ac_cpp='$CPP $CPPFLAGS'
17211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17219 if test "x$GCXX" != "xyes"; then
17220 if test "xCXX" = "xC"; then
17221 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17222 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17223 if test "${bakefile_cv_c_exto+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 cat >conftest.$ac_ext <<_ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17241 rm -f conftest.$ac_objext conftest.$ac_ext.o
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; then
17247 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17249 conftest.$ac_ext.o)
17250 bakefile_cv_c_exto="-ext o"
17257 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17258 See \`config.log' for more details." >&5
17259 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17260 See \`config.log' for more details." >&2;}
17261 { (exit 1); exit 1; }; }
17265 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17268 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17269 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17270 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17271 if test "c" = "c"; then
17272 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17274 if test "c" = "cxx"; then
17275 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17279 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17280 unset ac_cv_prog_cc_g
17281 ac_test_CFLAGS=${CFLAGS+set}
17282 ac_save_CFLAGS=$CFLAGS
17283 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17284 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17285 if test "${ac_cv_prog_cc_g+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 ac_save_c_werror_flag=$ac_c_werror_flag
17289 ac_c_werror_flag=yes
17292 cat >conftest.$ac_ext <<_ACEOF
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17307 rm -f conftest.$ac_objext
17308 if { (ac_try="$ac_compile"
17309 case "(($ac_try" in
17310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17311 *) ac_try_echo=$ac_try;;
17313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17314 (eval "$ac_compile") 2>conftest.er1
17316 grep -v '^ *+' conftest.er1 >conftest.err
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } && {
17321 test -z "$ac_c_werror_flag" ||
17322 test ! -s conftest.err
17323 } && test -s conftest.$ac_objext; then
17324 ac_cv_prog_cc_g=yes
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.$ac_ext >&5
17330 cat >conftest.$ac_ext <<_ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17354 grep -v '^ *+' conftest.er1 >conftest.err
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.$ac_objext; then
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 ac_c_werror_flag=$ac_save_c_werror_flag
17369 cat >conftest.$ac_ext <<_ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17384 rm -f conftest.$ac_objext
17385 if { (ac_try="$ac_compile"
17386 case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_compile") 2>conftest.er1
17393 grep -v '^ *+' conftest.er1 >conftest.err
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } && {
17398 test -z "$ac_c_werror_flag" ||
17399 test ! -s conftest.err
17400 } && test -s conftest.$ac_objext; then
17401 ac_cv_prog_cc_g=yes
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 ac_c_werror_flag=$ac_save_c_werror_flag
17418 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17419 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17420 if test "$ac_test_CFLAGS" = set; then
17421 CFLAGS=$ac_save_CFLAGS
17422 elif test $ac_cv_prog_cc_g = yes; then
17423 if test "$GCC" = yes; then
17429 if test "$GCC" = yes; then
17443 ac_cpp='$CXXCPP $CPPFLAGS'
17444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17448 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17449 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17450 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17451 echo $ECHO_N "(cached) $ECHO_C" >&6
17453 cat >conftest.$ac_ext <<_ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17472 rm -f conftest.$ac_objext
17473 if { (ac_try="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17481 grep -v '^ *+' conftest.er1 >conftest.err
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_cxx_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.$ac_objext; then
17489 bakefile_cv_cxx_compiler___xlC__=yes
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17494 bakefile_cv_cxx_compiler___xlC__=no
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17503 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17504 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17510 ac_cpp='$CPP $CPPFLAGS'
17511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17523 ac_cpp='$CXXCPP $CPPFLAGS'
17524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17528 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17529 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17530 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 cat >conftest.$ac_ext <<_ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17552 rm -f conftest.$ac_objext
17553 if { (ac_try="$ac_compile"
17554 case "(($ac_try" in
17555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17556 *) ac_try_echo=$ac_try;;
17558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17559 (eval "$ac_compile") 2>conftest.er1
17561 grep -v '^ *+' conftest.er1 >conftest.err
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } && {
17566 test -z "$ac_cxx_werror_flag" ||
17567 test ! -s conftest.err
17568 } && test -s conftest.$ac_objext; then
17569 bakefile_cv_cxx_compiler___MWERKS__=yes
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.$ac_ext >&5
17574 bakefile_cv_cxx_compiler___MWERKS__=no
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17583 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17584 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17590 ac_cpp='$CPP $CPPFLAGS'
17591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17597 if test "$MWCXX" != "yes"; then
17601 ac_cpp='$CXXCPP $CPPFLAGS'
17602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17606 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17607 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17608 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17609 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 cat >conftest.$ac_ext <<_ACEOF
17614 cat confdefs.h >>conftest.$ac_ext
17615 cat >>conftest.$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17630 rm -f conftest.$ac_objext
17631 if { (ac_try="$ac_compile"
17632 case "(($ac_try" in
17633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17634 *) ac_try_echo=$ac_try;;
17636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17637 (eval "$ac_compile") 2>conftest.er1
17639 grep -v '^ *+' conftest.er1 >conftest.err
17641 cat conftest.err >&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } && {
17644 test -z "$ac_cxx_werror_flag" ||
17645 test ! -s conftest.err
17646 } && test -s conftest.$ac_objext; then
17647 bakefile_cv_cxx_compiler___xlC__=yes
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.$ac_ext >&5
17652 bakefile_cv_cxx_compiler___xlC__=no
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17660 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17661 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17662 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17668 ac_cpp='$CPP $CPPFLAGS'
17669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17682 ac_cpp='$CXXCPP $CPPFLAGS'
17683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17687 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17688 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17689 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 cat >conftest.$ac_ext <<_ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17703 #ifndef _SGI_COMPILER_VERSION
17711 rm -f conftest.$ac_objext
17712 if { (ac_try="$ac_compile"
17713 case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 (eval "$ac_compile") 2>conftest.er1
17720 grep -v '^ *+' conftest.er1 >conftest.err
17722 cat conftest.err >&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } && {
17725 test -z "$ac_cxx_werror_flag" ||
17726 test ! -s conftest.err
17727 } && test -s conftest.$ac_objext; then
17728 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.$ac_ext >&5
17733 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17741 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17742 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17743 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17749 ac_cpp='$CPP $CPPFLAGS'
17750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17759 if test "$INTELCXX" != "yes"; then
17763 ac_cpp='$CXXCPP $CPPFLAGS'
17764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17768 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17769 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17770 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17771 echo $ECHO_N "(cached) $ECHO_C" >&6
17773 cat >conftest.$ac_ext <<_ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17784 #ifndef __SUNPRO_CC
17792 rm -f conftest.$ac_objext
17793 if { (ac_try="$ac_compile"
17794 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_compile") 2>conftest.er1
17801 grep -v '^ *+' conftest.er1 >conftest.err
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } && {
17806 test -z "$ac_cxx_werror_flag" ||
17807 test ! -s conftest.err
17808 } && test -s conftest.$ac_objext; then
17809 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.$ac_ext >&5
17814 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17823 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17824 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17830 ac_cpp='$CPP $CPPFLAGS'
17831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17844 ac_cpp='$CXXCPP $CPPFLAGS'
17845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17849 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17850 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17851 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 cat >conftest.$ac_ext <<_ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17877 *) ac_try_echo=$ac_try;;
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17882 grep -v '^ *+' conftest.er1 >conftest.err
17884 cat conftest.err >&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_cxx_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.$ac_objext; then
17890 bakefile_cv_cxx_compiler___HP_aCC=yes
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17895 bakefile_cv_cxx_compiler___HP_aCC=no
17899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17903 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17904 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17905 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17924 ac_cpp='$CXXCPP $CPPFLAGS'
17925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17929 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17930 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 cat >conftest.$ac_ext <<_ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17962 grep -v '^ *+' conftest.er1 >conftest.err
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_cxx_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_cxx_compiler___DECCXX=yes
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17975 bakefile_cv_cxx_compiler___DECCXX=no
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17984 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17985 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18004 ac_cpp='$CXXCPP $CPPFLAGS'
18005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18009 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18010 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18011 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 cat >conftest.$ac_ext <<_ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18025 #ifndef __SUNPRO_CC
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18042 grep -v '^ *+' conftest.er1 >conftest.err
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_cxx_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18055 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18064 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18065 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18071 ac_cpp='$CPP $CPPFLAGS'
18072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18084 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18085 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18086 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18087 { (exit 1); exit 1; }; }
18090 if test "x$SUNCXX" != xyes; then
18091 if test -n "$ac_tool_prefix"; then
18092 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18093 set dummy ${ac_tool_prefix}ar; ac_word=$2
18094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18096 if test "${ac_cv_prog_AR+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 if test -n "$AR"; then
18100 ac_cv_prog_AR="$AR" # Let the user override the test.
18102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18103 for as_dir in $PATH
18106 test -z "$as_dir" && as_dir=.
18107 for ac_exec_ext in '' $ac_executable_extensions; do
18108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18109 ac_cv_prog_AR="${ac_tool_prefix}ar"
18110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18120 if test -n "$AR"; then
18121 { echo "$as_me:$LINENO: result: $AR" >&5
18122 echo "${ECHO_T}$AR" >&6; }
18124 { echo "$as_me:$LINENO: result: no" >&5
18125 echo "${ECHO_T}no" >&6; }
18130 if test -z "$ac_cv_prog_AR"; then
18132 # Extract the first word of "ar", so it can be a program name with args.
18133 set dummy ar; ac_word=$2
18134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18136 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18137 echo $ECHO_N "(cached) $ECHO_C" >&6
18139 if test -n "$ac_ct_AR"; then
18140 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18143 for as_dir in $PATH
18146 test -z "$as_dir" && as_dir=.
18147 for ac_exec_ext in '' $ac_executable_extensions; do
18148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18149 ac_cv_prog_ac_ct_AR="ar"
18150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18159 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18160 if test -n "$ac_ct_AR"; then
18161 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18162 echo "${ECHO_T}$ac_ct_AR" >&6; }
18164 { echo "$as_me:$LINENO: result: no" >&5
18165 echo "${ECHO_T}no" >&6; }
18168 if test "x$ac_ct_AR" = x; then
18171 case $cross_compiling:$ac_tool_warned in
18173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18174 whose name does not start with the host triplet. If you think this
18175 configuration is useful to you, please write to autoconf@gnu.org." >&5
18176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18177 whose name does not start with the host triplet. If you think this
18178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18179 ac_tool_warned=yes ;;
18184 AR="$ac_cv_prog_AR"
18187 if test "x$AR" = "x" ; then
18188 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18189 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18190 { (exit 1); exit 1; }; }
18195 if test "$wxUSE_MAC" = 1; then
18197 retest_macosx_linking=no
18199 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18200 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18201 # Implicitly turn on the new --with-macosx-sdk using the default
18202 # SDK which provides the behavior this option has always had.
18203 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18204 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18205 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18206 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18207 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18208 wxUSE_MACOSX_SDK=yes
18211 # Complain to user if he specified an argument to --enable-universal_binary
18212 # and also 1) specified --with-macosx-sdk using the default (yes) or
18213 # 2) specified --with-macosx-sdk using a path or 3) specified
18214 # --without-macosx-sdk (no).
18215 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18216 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18217 See \`config.log' for more details." >&5
18218 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18219 See \`config.log' for more details." >&2;}
18220 { (exit 1); exit 1; }; }
18222 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18223 # special-case the empty string because the below test simply
18224 # converts "no" to the empty string anyway.
18225 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18226 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18227 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18230 OSX_UNIV_OPTS="-arch ppc -arch i386"
18231 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18232 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18233 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18234 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18235 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18236 retest_macosx_linking=yes
18238 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18239 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18243 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18245 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18246 # TODO: Search for most recent SDK and use it.
18247 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18251 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18252 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18253 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18254 if ! test -d "$wxUSE_MACOSX_SDK"; then
18255 { { echo "$as_me:$LINENO: error: not found
18256 See \`config.log' for more details." >&5
18257 echo "$as_me: error: not found
18258 See \`config.log' for more details." >&2;}
18259 { (exit 1); exit 1; }; }
18261 { echo "$as_me:$LINENO: result: exists" >&5
18262 echo "${ECHO_T}exists" >&6; }
18264 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18265 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18266 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18267 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18268 retest_macosx_linking=yes
18271 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18272 wxUSE_MACOSX_VERSION_MIN=
18273 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18274 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18275 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18276 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18278 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/'`
18280 # If that failed, try again with the new key
18281 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18283 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/'`
18287 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18288 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18289 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18290 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18292 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18293 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18294 wxUSE_MACOSX_VERSION_MIN=
18297 wxUSE_MACOSX_VERSION_MIN=
18299 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18300 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18301 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18302 # otherwise configure stops on leopard for universal_binary
18303 wxUSE_MACOSX_VERSION_MIN=10.4
18305 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18306 wxUSE_MACOSX_VERSION_MIN=10.5
18311 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18315 if test "$wxUSE_OSX_CARBON" = 1; then
18319 if test "x$NEEDS_GCC40" == "xyes"; then
18320 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18321 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18322 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18323 if test "x$CC" = "xgcc"; then
18324 CCVERSION=`$CC --version | grep 4.[2-9].`
18325 if test "x$CCVERSION" != "x"; then
18326 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18327 CC="/usr/bin/gcc-4.0"
18331 if test "x$CXX" = "xg++"; then
18332 CCVERSION=`$CXX --version | grep 4.[2-9].`
18333 if test "x$CCVERSION" != "x"; then
18334 CXX="/usr/bin/g++-4.0"
18339 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18340 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18341 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18342 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18343 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18344 retest_macosx_linking=yes
18347 if test "x$retest_macosx_linking" = "xyes"; then
18349 ac_cpp='$CPP $CPPFLAGS'
18350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18354 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18355 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18356 cat >conftest.$ac_ext <<_ACEOF
18359 cat confdefs.h >>conftest.$ac_ext
18360 cat >>conftest.$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18371 rm -f conftest.$ac_objext conftest$ac_exeext
18372 if { (ac_try="$ac_link"
18373 case "(($ac_try" in
18374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18375 *) ac_try_echo=$ac_try;;
18377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18378 (eval "$ac_link") 2>conftest.er1
18380 grep -v '^ *+' conftest.er1 >conftest.err
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } && {
18385 test -z "$ac_c_werror_flag" ||
18386 test ! -s conftest.err
18387 } && test -s conftest$ac_exeext &&
18388 $as_test_x conftest$ac_exeext; then
18389 { echo "$as_me:$LINENO: result: yes" >&5
18390 echo "${ECHO_T}yes" >&6; }
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18396 See \`config.log' for more details." >&5
18397 echo "$as_me: error: no. Try a different SDK
18398 See \`config.log' for more details." >&2;}
18399 { (exit 1); exit 1; }; }; exit 1
18402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18403 conftest$ac_exeext conftest.$ac_ext
18405 ac_cpp='$CPP $CPPFLAGS'
18406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18412 ac_cpp='$CXXCPP $CPPFLAGS'
18413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18417 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18418 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18419 cat >conftest.$ac_ext <<_ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18434 rm -f conftest.$ac_objext conftest$ac_exeext
18435 if { (ac_try="$ac_link"
18436 case "(($ac_try" in
18437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18438 *) ac_try_echo=$ac_try;;
18440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18441 (eval "$ac_link") 2>conftest.er1
18443 grep -v '^ *+' conftest.er1 >conftest.err
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } && {
18448 test -z "$ac_cxx_werror_flag" ||
18449 test ! -s conftest.err
18450 } && test -s conftest$ac_exeext &&
18451 $as_test_x conftest$ac_exeext; then
18452 { echo "$as_me:$LINENO: result: yes" >&5
18453 echo "${ECHO_T}yes" >&6; }
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18458 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18459 See \`config.log' for more details." >&5
18460 echo "$as_me: error: no. Try a different SDK
18461 See \`config.log' for more details." >&2;}
18462 { (exit 1); exit 1; }; }; exit 1
18465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18466 conftest$ac_exeext conftest.$ac_ext
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18479 INSTALL_PROGRAM="cp -fp"
18480 INSTALL_DATA="cp -fp"
18487 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18488 CXXFLAGS="-qunique $CXXFLAGS"
18492 powerpc-*-darwin* )
18493 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18494 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18495 cat >conftest.$ac_ext <<_ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18505 #ifndef __POWERPC__
18506 choke me for lack of PowerPC
18513 rm -f conftest.$ac_objext
18514 if { (ac_try="$ac_compile"
18515 case "(($ac_try" in
18516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18517 *) ac_try_echo=$ac_try;;
18519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18520 (eval "$ac_compile") 2>conftest.er1
18522 grep -v '^ *+' conftest.er1 >conftest.err
18524 cat conftest.err >&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } && {
18527 test -z "$ac_c_werror_flag" ||
18528 test ! -s conftest.err
18529 } && test -s conftest.$ac_objext; then
18530 { echo "$as_me:$LINENO: result: yes" >&5
18531 echo "${ECHO_T}yes" >&6; }
18533 echo "$as_me: failed program was:" >&5
18534 sed 's/^/| /' conftest.$ac_ext >&5
18536 { echo "$as_me:$LINENO: result: no" >&5
18537 echo "${ECHO_T}no" >&6; }
18538 cat >>confdefs.h <<\_ACEOF
18539 #define __POWERPC__ 1
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18552 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18553 cat >conftest.$ac_ext <<_ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <CoreFoundation/CFBase.h>
18569 rm -f conftest.$ac_objext
18570 if { (ac_try="$ac_compile"
18571 case "(($ac_try" in
18572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18573 *) ac_try_echo=$ac_try;;
18575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18576 (eval "$ac_compile") 2>conftest.er1
18578 grep -v '^ *+' conftest.er1 >conftest.err
18580 cat conftest.err >&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); } && {
18583 test -z "$ac_c_werror_flag" ||
18584 test ! -s conftest.err
18585 } && test -s conftest.$ac_objext; then
18586 { echo "$as_me:$LINENO: result: yes" >&5
18587 echo "${ECHO_T}yes" >&6; }
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 { echo "$as_me:$LINENO: result: no" >&5
18593 echo "${ECHO_T}no" >&6; }
18594 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18595 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18596 cat >conftest.$ac_ext <<_ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 #define __CF_USE_FRAMEWORK_INCLUDES__
18603 #include <CoreFoundation/CFBase.h>
18613 rm -f conftest.$ac_objext
18614 if { (ac_try="$ac_compile"
18615 case "(($ac_try" in
18616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18617 *) ac_try_echo=$ac_try;;
18619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18620 (eval "$ac_compile") 2>conftest.er1
18622 grep -v '^ *+' conftest.er1 >conftest.err
18624 cat conftest.err >&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } && {
18627 test -z "$ac_c_werror_flag" ||
18628 test ! -s conftest.err
18629 } && test -s conftest.$ac_objext; then
18630 { echo "$as_me:$LINENO: result: yes" >&5
18631 echo "${ECHO_T}yes" >&6; }
18632 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18638 See \`config.log' for more details." >&5
18639 echo "$as_me: error: no. CoreFoundation not available.
18640 See \`config.log' for more details." >&2;}
18641 { (exit 1); exit 1; }; }
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18655 doesnt_want_win32=0
18658 if test "$wxUSE_MSW" = 1 ; then
18661 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18662 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18663 if test "${wx_cv_nocygwin+set}" = set; then
18664 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 cat >conftest.$ac_ext <<_ACEOF
18670 cat confdefs.h >>conftest.$ac_ext
18671 cat >>conftest.$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18686 rm -f conftest.$ac_objext
18687 if { (ac_try="$ac_compile"
18688 case "(($ac_try" in
18689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18690 *) ac_try_echo=$ac_try;;
18692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_compile") 2>conftest.er1
18695 grep -v '^ *+' conftest.er1 >conftest.err
18697 cat conftest.err >&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } && {
18700 test -z "$ac_c_werror_flag" ||
18701 test ! -s conftest.err
18702 } && test -s conftest.$ac_objext; then
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5
18712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18716 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18717 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18719 if test "$wx_cv_nocygwin" = "yes"; then
18722 doesnt_want_win32=1
18725 if test "$wants_win32" = 1 ; then
18726 BAKEFILE_FORCE_PLATFORM=win32
18734 if test "$wxUSE_WINE" = "yes"; then
18736 LDFLAGS_GUI="-mwindows"
18739 if test "$wants_win32" = 1 ; then
18742 cat >>confdefs.h <<\_ACEOF
18743 #define __WIN32__ 1
18746 cat >>confdefs.h <<\_ACEOF
18747 #define __WIN95__ 1
18750 cat >>confdefs.h <<\_ACEOF
18751 #define __WINDOWS__ 1
18754 cat >>confdefs.h <<\_ACEOF
18755 #define __GNUWIN32__ 1
18758 cat >>confdefs.h <<\_ACEOF
18763 if test "$doesnt_want_win32" = 1 ; then
18768 if test "$USE_UNIX" = 1 ; then
18770 cat >>confdefs.h <<\_ACEOF
18777 *-pc-os2_emx | *-pc-os2-emx )
18778 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18779 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18780 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18781 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18782 echo $ECHO_N "(cached) $ECHO_C" >&6
18784 ac_check_lib_save_LIBS=$LIBS
18785 LIBS="-lcExt $LIBS"
18786 cat >conftest.$ac_ext <<_ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18793 /* Override any GCC internal prototype to avoid an error.
18794 Use char because int might match the return type of a GCC
18795 builtin and then its argument prototype would still apply. */
18808 rm -f conftest.$ac_objext conftest$ac_exeext
18809 if { (ac_try="$ac_link"
18810 case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 *) ac_try_echo=$ac_try;;
18814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18815 (eval "$ac_link") 2>conftest.er1
18817 grep -v '^ *+' conftest.er1 >conftest.err
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } && {
18822 test -z "$ac_c_werror_flag" ||
18823 test ! -s conftest.err
18824 } && test -s conftest$ac_exeext &&
18825 $as_test_x conftest$ac_exeext; then
18826 ac_cv_lib_cExt_drand48=yes
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18831 ac_cv_lib_cExt_drand48=no
18834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18835 conftest$ac_exeext conftest.$ac_ext
18836 LIBS=$ac_check_lib_save_LIBS
18838 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18839 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18840 if test $ac_cv_lib_cExt_drand48 = yes; then
18841 LIBS="$LIBS -lcExt"
18845 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18847 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18848 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18849 if test "${wx_cv_gccversion+set}" = set; then
18850 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 if test "$cross_compiling" = yes; then
18854 wx_cv_gccversion="EMX2"
18857 cat >conftest.$ac_ext <<_ACEOF
18860 cat confdefs.h >>conftest.$ac_ext
18861 cat >>conftest.$ac_ext <<_ACEOF
18862 /* end confdefs.h. */
18868 FILE *f=fopen("conftestval", "w");
18873 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18875 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18885 rm -f conftest$ac_exeext
18886 if { (ac_try="$ac_link"
18887 case "(($ac_try" in
18888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18889 *) ac_try_echo=$ac_try;;
18891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18892 (eval "$ac_link") 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); }; }; then
18905 wx_cv_gccversion=`cat conftestval`
18907 echo "$as_me: program exited with status $ac_status" >&5
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18911 ( exit $ac_status )
18912 wx_cv_gccversion="EMX2"
18914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18920 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18921 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18922 if test "$wx_cv_gccversion" = "EMX2"; then
18923 LIBS="$LIBS -lstdcpp"
18924 LDFLAGS="$LDFLAGS -Zsysv-signals"
18926 if test "$wx_cv_gccversion" = "EMX3"; then
18927 LIBS="$LIBS -lstdcxx -lgcc"
18928 LDFLAGS="$LDFLAGS -Zsysv-signals"
18930 LIBS="$LIBS -lstdc++"
18933 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18934 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18935 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18942 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18943 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18944 if test "${ac_cv_string_strcasecmp+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 cat >conftest.$ac_ext <<_ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18955 #include <string.h>
18961 strcasecmp("foo", "bar");
18967 rm -f conftest.$ac_objext conftest$ac_exeext
18968 if { (ac_try="$ac_link"
18969 case "(($ac_try" in
18970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18971 *) ac_try_echo=$ac_try;;
18973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18974 (eval "$ac_link") 2>conftest.er1
18976 grep -v '^ *+' conftest.er1 >conftest.err
18978 cat conftest.err >&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } && {
18981 test -z "$ac_c_werror_flag" ||
18982 test ! -s conftest.err
18983 } && test -s conftest$ac_exeext &&
18984 $as_test_x conftest$ac_exeext; then
18985 ac_cv_string_strcasecmp=yes
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18990 ac_cv_string_strcasecmp=no
18994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18995 conftest$ac_exeext conftest.$ac_ext
18998 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18999 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19001 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19002 cat >>confdefs.h <<\_ACEOF
19003 #define HAVE_STRCASECMP_IN_STRING_H 1
19007 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19008 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19009 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 cat >conftest.$ac_ext <<_ACEOF
19016 cat confdefs.h >>conftest.$ac_ext
19017 cat >>conftest.$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19020 #include <strings.h>
19026 strcasecmp("foo", "bar");
19032 rm -f conftest.$ac_objext conftest$ac_exeext
19033 if { (ac_try="$ac_link"
19034 case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19039 (eval "$ac_link") 2>conftest.er1
19041 grep -v '^ *+' conftest.er1 >conftest.err
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } && {
19046 test -z "$ac_c_werror_flag" ||
19047 test ! -s conftest.err
19048 } && test -s conftest$ac_exeext &&
19049 $as_test_x conftest$ac_exeext; then
19050 ac_cv_strings_strcasecmp=yes
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19055 ac_cv_strings_strcasecmp=no
19059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19060 conftest$ac_exeext conftest.$ac_ext
19063 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19064 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19066 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19067 cat >>confdefs.h <<\_ACEOF
19068 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19072 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19073 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19074 { (exit 1); exit 1; }; }
19082 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19083 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19084 if test "${ac_cv_header_stdc+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 cat >conftest.$ac_ext <<_ACEOF
19090 cat confdefs.h >>conftest.$ac_ext
19091 cat >>conftest.$ac_ext <<_ACEOF
19092 /* end confdefs.h. */
19093 #include <stdlib.h>
19094 #include <stdarg.h>
19095 #include <string.h>
19106 rm -f conftest.$ac_objext
19107 if { (ac_try="$ac_compile"
19108 case "(($ac_try" in
19109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19110 *) ac_try_echo=$ac_try;;
19112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19113 (eval "$ac_compile") 2>conftest.er1
19115 grep -v '^ *+' conftest.er1 >conftest.err
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } && {
19120 test -z "$ac_c_werror_flag" ||
19121 test ! -s conftest.err
19122 } && test -s conftest.$ac_objext; then
19123 ac_cv_header_stdc=yes
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19128 ac_cv_header_stdc=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19133 if test $ac_cv_header_stdc = yes; then
19134 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19135 cat >conftest.$ac_ext <<_ACEOF
19138 cat confdefs.h >>conftest.$ac_ext
19139 cat >>conftest.$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141 #include <string.h>
19144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19145 $EGREP "memchr" >/dev/null 2>&1; then
19148 ac_cv_header_stdc=no
19154 if test $ac_cv_header_stdc = yes; then
19155 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19156 cat >conftest.$ac_ext <<_ACEOF
19159 cat confdefs.h >>conftest.$ac_ext
19160 cat >>conftest.$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 #include <stdlib.h>
19165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19166 $EGREP "free" >/dev/null 2>&1; then
19169 ac_cv_header_stdc=no
19175 if test $ac_cv_header_stdc = yes; then
19176 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19177 if test "$cross_compiling" = yes; then
19180 cat >conftest.$ac_ext <<_ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19187 #include <stdlib.h>
19188 #if ((' ' & 0x0FF) == 0x020)
19189 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19190 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19192 # define ISLOWER(c) \
19193 (('a' <= (c) && (c) <= 'i') \
19194 || ('j' <= (c) && (c) <= 'r') \
19195 || ('s' <= (c) && (c) <= 'z'))
19196 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19204 for (i = 0; i < 256; i++)
19205 if (XOR (islower (i), ISLOWER (i))
19206 || toupper (i) != TOUPPER (i))
19211 rm -f conftest$ac_exeext
19212 if { (ac_try="$ac_link"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_link") 2>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19222 { (case "(($ac_try" in
19223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19224 *) ac_try_echo=$ac_try;;
19226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19227 (eval "$ac_try") 2>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); }; }; then
19233 echo "$as_me: program exited with status $ac_status" >&5
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 ( exit $ac_status )
19238 ac_cv_header_stdc=no
19240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19246 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19247 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19248 if test $ac_cv_header_stdc = yes; then
19250 cat >>confdefs.h <<\_ACEOF
19251 #define STDC_HEADERS 1
19256 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19266 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19267 inttypes.h stdint.h unistd.h
19269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19275 cat >conftest.$ac_ext <<_ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 $ac_includes_default
19283 #include <$ac_header>
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19294 grep -v '^ *+' conftest.er1 >conftest.err
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 eval "$as_ac_Header=yes"
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19307 eval "$as_ac_Header=no"
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19312 ac_res=`eval echo '${'$as_ac_Header'}'`
19313 { echo "$as_me:$LINENO: result: $ac_res" >&5
19314 echo "${ECHO_T}$ac_res" >&6; }
19315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19316 cat >>confdefs.h <<_ACEOF
19317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19327 for ac_header in langinfo.h wchar.h
19329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19333 echo $ECHO_N "(cached) $ECHO_C" >&6
19335 cat >conftest.$ac_ext <<_ACEOF
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 $ac_includes_default
19343 #include <$ac_header>
19345 rm -f conftest.$ac_objext
19346 if { (ac_try="$ac_compile"
19347 case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_compile") 2>conftest.er1
19354 grep -v '^ *+' conftest.er1 >conftest.err
19356 cat conftest.err >&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); } && {
19359 test -z "$ac_c_werror_flag" ||
19360 test ! -s conftest.err
19361 } && test -s conftest.$ac_objext; then
19362 eval "$as_ac_Header=yes"
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19367 eval "$as_ac_Header=no"
19370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19372 ac_res=`eval echo '${'$as_ac_Header'}'`
19373 { echo "$as_me:$LINENO: result: $ac_res" >&5
19374 echo "${ECHO_T}$ac_res" >&6; }
19375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19376 cat >>confdefs.h <<_ACEOF
19377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19385 if test "$ac_cv_header_wchar_h" != "yes"; then
19387 for ac_header in wcstr.h
19389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19390 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 cat >conftest.$ac_ext <<_ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 $ac_includes_default
19403 #include <$ac_header>
19405 rm -f conftest.$ac_objext
19406 if { (ac_try="$ac_compile"
19407 case "(($ac_try" in
19408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19409 *) ac_try_echo=$ac_try;;
19411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19412 (eval "$ac_compile") 2>conftest.er1
19414 grep -v '^ *+' conftest.er1 >conftest.err
19416 cat conftest.err >&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } && {
19419 test -z "$ac_c_werror_flag" ||
19420 test ! -s conftest.err
19421 } && test -s conftest.$ac_objext; then
19422 eval "$as_ac_Header=yes"
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.$ac_ext >&5
19427 eval "$as_ac_Header=no"
19430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19432 ac_res=`eval echo '${'$as_ac_Header'}'`
19433 { echo "$as_me:$LINENO: result: $ac_res" >&5
19434 echo "${ECHO_T}$ac_res" >&6; }
19435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19436 cat >>confdefs.h <<_ACEOF
19437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19447 *-pc-os2_emx | *-pc-os2-emx )
19448 if test $ac_cv_header_langinfo_h = "yes" \
19449 -a \( "$wx_cv_gccversion" = "EMX2" \
19450 -o "$wx_cv_gccversion" = "EMX3" \
19451 -o "$wx_cv_gccversion" = "Innotek5" \); then
19452 LIBS="$LIBS -lintl"
19457 if test "$USE_UNIX" = 1 ; then
19459 for ac_header in sys/select.h
19461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19462 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19464 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19465 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 cat >conftest.$ac_ext <<_ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473 $ac_includes_default
19475 #include <$ac_header>
19477 rm -f conftest.$ac_objext
19478 if { (ac_try="$ac_compile"
19479 case "(($ac_try" in
19480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19481 *) ac_try_echo=$ac_try;;
19483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19484 (eval "$ac_compile") 2>conftest.er1
19486 grep -v '^ *+' conftest.er1 >conftest.err
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } && {
19491 test -z "$ac_c_werror_flag" ||
19492 test ! -s conftest.err
19493 } && test -s conftest.$ac_objext; then
19494 eval "$as_ac_Header=yes"
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19499 eval "$as_ac_Header=no"
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19504 ac_res=`eval echo '${'$as_ac_Header'}'`
19505 { echo "$as_me:$LINENO: result: $ac_res" >&5
19506 echo "${ECHO_T}$ac_res" >&6; }
19507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19508 cat >>confdefs.h <<_ACEOF
19509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19519 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19520 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19521 if test "${ac_cv_c_const+set}" = set; then
19522 echo $ECHO_N "(cached) $ECHO_C" >&6
19524 cat >conftest.$ac_ext <<_ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19534 /* FIXME: Include the comments suggested by Paul. */
19535 #ifndef __cplusplus
19536 /* Ultrix mips cc rejects this. */
19537 typedef int charset[2];
19539 /* SunOS 4.1.1 cc rejects this. */
19540 char const *const *pcpcc;
19542 /* NEC SVR4.0.2 mips cc rejects this. */
19543 struct point {int x, y;};
19544 static struct point const zero = {0,0};
19545 /* AIX XL C 1.02.0.0 rejects this.
19546 It does not let you subtract one const X* pointer from another in
19547 an arm of an if-expression whose if-part is not a constant
19549 const char *g = "string";
19550 pcpcc = &g + (g ? g-g : 0);
19551 /* HPUX 7.0 cc rejects these. */
19553 ppc = (char**) pcpcc;
19554 pcpcc = (char const *const *) ppc;
19555 { /* SCO 3.2v4 cc rejects this. */
19557 char const *s = 0 ? (char *) 0 : (char const *) 0;
19562 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19563 int x[] = {25, 17};
19564 const int *foo = &x[0];
19567 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19568 typedef const int *iptr;
19572 { /* AIX XL C 1.02.0.0 rejects this saying
19573 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19574 struct s { int j; const int *ap[3]; };
19575 struct s *b; b->j = 5;
19577 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19578 const int foo = 10;
19579 if (!foo) return 0;
19581 return !cs[0] && !zero.x;
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19597 grep -v '^ *+' conftest.er1 >conftest.err
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.$ac_objext; then
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.$ac_ext >&5
19613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19615 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19616 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19617 if test $ac_cv_c_const = no; then
19619 cat >>confdefs.h <<\_ACEOF
19625 { echo "$as_me:$LINENO: checking for inline" >&5
19626 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19627 if test "${ac_cv_c_inline+set}" = set; then
19628 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 for ac_kw in inline __inline__ __inline; do
19632 cat >conftest.$ac_ext <<_ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 #ifndef __cplusplus
19640 static $ac_kw foo_t static_foo () {return 0; }
19641 $ac_kw foo_t foo () {return 0; }
19645 rm -f conftest.$ac_objext
19646 if { (ac_try="$ac_compile"
19647 case "(($ac_try" in
19648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19649 *) ac_try_echo=$ac_try;;
19651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19652 (eval "$ac_compile") 2>conftest.er1
19654 grep -v '^ *+' conftest.er1 >conftest.err
19656 cat conftest.err >&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } && {
19659 test -z "$ac_c_werror_flag" ||
19660 test ! -s conftest.err
19661 } && test -s conftest.$ac_objext; then
19662 ac_cv_c_inline=$ac_kw
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 test "$ac_cv_c_inline" != no && break
19675 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19676 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19679 case $ac_cv_c_inline in
19682 case $ac_cv_c_inline in
19684 *) ac_val=$ac_cv_c_inline;;
19686 cat >>confdefs.h <<_ACEOF
19687 #ifndef __cplusplus
19688 #define inline $ac_val
19695 { echo "$as_me:$LINENO: checking for short" >&5
19696 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19697 if test "${ac_cv_type_short+set}" = set; then
19698 echo $ECHO_N "(cached) $ECHO_C" >&6
19700 cat >conftest.$ac_ext <<_ACEOF
19703 cat confdefs.h >>conftest.$ac_ext
19704 cat >>conftest.$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 $ac_includes_default
19707 typedef short ac__type_new_;
19711 if ((ac__type_new_ *) 0)
19713 if (sizeof (ac__type_new_))
19719 rm -f conftest.$ac_objext
19720 if { (ac_try="$ac_compile"
19721 case "(($ac_try" in
19722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19723 *) ac_try_echo=$ac_try;;
19725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19726 (eval "$ac_compile") 2>conftest.er1
19728 grep -v '^ *+' conftest.er1 >conftest.err
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } && {
19733 test -z "$ac_c_werror_flag" ||
19734 test ! -s conftest.err
19735 } && test -s conftest.$ac_objext; then
19736 ac_cv_type_short=yes
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19741 ac_cv_type_short=no
19744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19746 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19747 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19749 # The cast to long int works around a bug in the HP C Compiler
19750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19752 # This bug is HP SR number 8606223364.
19753 { echo "$as_me:$LINENO: checking size of short" >&5
19754 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19755 if test "${ac_cv_sizeof_short+set}" = set; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19758 if test "$cross_compiling" = yes; then
19759 # Depending upon the size, compute the lo and hi bounds.
19760 cat >conftest.$ac_ext <<_ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 $ac_includes_default
19767 typedef short ac__type_sizeof_;
19771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19778 rm -f conftest.$ac_objext
19779 if { (ac_try="$ac_compile"
19780 case "(($ac_try" in
19781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19785 (eval "$ac_compile") 2>conftest.er1
19787 grep -v '^ *+' conftest.er1 >conftest.err
19789 cat conftest.err >&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } && {
19792 test -z "$ac_c_werror_flag" ||
19793 test ! -s conftest.err
19794 } && test -s conftest.$ac_objext; then
19797 cat >conftest.$ac_ext <<_ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19804 typedef short ac__type_sizeof_;
19808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19815 rm -f conftest.$ac_objext
19816 if { (ac_try="$ac_compile"
19817 case "(($ac_try" in
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_compile") 2>conftest.er1
19824 grep -v '^ *+' conftest.er1 >conftest.err
19826 cat conftest.err >&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); } && {
19829 test -z "$ac_c_werror_flag" ||
19830 test ! -s conftest.err
19831 } && test -s conftest.$ac_objext; then
19832 ac_hi=$ac_mid; break
19834 echo "$as_me: failed program was:" >&5
19835 sed 's/^/| /' conftest.$ac_ext >&5
19837 ac_lo=`expr $ac_mid + 1`
19838 if test $ac_lo -le $ac_mid; then
19842 ac_mid=`expr 2 '*' $ac_mid + 1`
19845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.$ac_ext >&5
19851 cat >conftest.$ac_ext <<_ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 $ac_includes_default
19858 typedef short ac__type_sizeof_;
19862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19869 rm -f conftest.$ac_objext
19870 if { (ac_try="$ac_compile"
19871 case "(($ac_try" in
19872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19873 *) ac_try_echo=$ac_try;;
19875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19876 (eval "$ac_compile") 2>conftest.er1
19878 grep -v '^ *+' conftest.er1 >conftest.err
19880 cat conftest.err >&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && {
19883 test -z "$ac_c_werror_flag" ||
19884 test ! -s conftest.err
19885 } && test -s conftest.$ac_objext; then
19888 cat >conftest.$ac_ext <<_ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19895 typedef short ac__type_sizeof_;
19899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19906 rm -f conftest.$ac_objext
19907 if { (ac_try="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19915 grep -v '^ *+' conftest.er1 >conftest.err
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && {
19920 test -z "$ac_c_werror_flag" ||
19921 test ! -s conftest.err
19922 } && test -s conftest.$ac_objext; then
19923 ac_lo=$ac_mid; break
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19928 ac_hi=`expr '(' $ac_mid ')' - 1`
19929 if test $ac_mid -le $ac_hi; then
19933 ac_mid=`expr 2 '*' $ac_mid`
19936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.$ac_ext >&5
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19949 # Binary search between lo and hi bounds.
19950 while test "x$ac_lo" != "x$ac_hi"; do
19951 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19952 cat >conftest.$ac_ext <<_ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 $ac_includes_default
19959 typedef short ac__type_sizeof_;
19963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19970 rm -f conftest.$ac_objext
19971 if { (ac_try="$ac_compile"
19972 case "(($ac_try" in
19973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19974 *) ac_try_echo=$ac_try;;
19976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19977 (eval "$ac_compile") 2>conftest.er1
19979 grep -v '^ *+' conftest.er1 >conftest.err
19981 cat conftest.err >&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } && {
19984 test -z "$ac_c_werror_flag" ||
19985 test ! -s conftest.err
19986 } && test -s conftest.$ac_objext; then
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19992 ac_lo=`expr '(' $ac_mid ')' + 1`
19995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19998 ?*) ac_cv_sizeof_short=$ac_lo;;
19999 '') if test "$ac_cv_type_short" = yes; then
20000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20001 See \`config.log' for more details." >&5
20002 echo "$as_me: error: cannot compute sizeof (short)
20003 See \`config.log' for more details." >&2;}
20004 { (exit 77); exit 77; }; }
20006 ac_cv_sizeof_short=0
20010 cat >conftest.$ac_ext <<_ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef short ac__type_sizeof_;
20018 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20019 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20021 #include <stdlib.h>
20026 FILE *f = fopen ("conftest.val", "w");
20029 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20031 long int i = longval ();
20032 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20034 fprintf (f, "%ld\n", i);
20038 unsigned long int i = ulongval ();
20039 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20041 fprintf (f, "%lu\n", i);
20043 return ferror (f) || fclose (f) != 0;
20049 rm -f conftest$ac_exeext
20050 if { (ac_try="$ac_link"
20051 case "(($ac_try" in
20052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20053 *) ac_try_echo=$ac_try;;
20055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20056 (eval "$ac_link") 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20060 { (case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_try") 2>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20069 ac_cv_sizeof_short=`cat conftest.val`
20071 echo "$as_me: program exited with status $ac_status" >&5
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.$ac_ext >&5
20075 ( exit $ac_status )
20076 if test "$ac_cv_type_short" = yes; then
20077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20078 See \`config.log' for more details." >&5
20079 echo "$as_me: error: cannot compute sizeof (short)
20080 See \`config.log' for more details." >&2;}
20081 { (exit 77); exit 77; }; }
20083 ac_cv_sizeof_short=0
20086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20090 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20091 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20095 cat >>confdefs.h <<_ACEOF
20096 #define SIZEOF_SHORT $ac_cv_sizeof_short
20100 { echo "$as_me:$LINENO: checking for void *" >&5
20101 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20102 if test "${ac_cv_type_void_p+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 cat >conftest.$ac_ext <<_ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 $ac_includes_default
20112 typedef void * ac__type_new_;
20116 if ((ac__type_new_ *) 0)
20118 if (sizeof (ac__type_new_))
20124 rm -f conftest.$ac_objext
20125 if { (ac_try="$ac_compile"
20126 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_compile") 2>conftest.er1
20133 grep -v '^ *+' conftest.er1 >conftest.err
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest.$ac_objext; then
20141 ac_cv_type_void_p=yes
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20146 ac_cv_type_void_p=no
20149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20151 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20152 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20154 # The cast to long int works around a bug in the HP C Compiler
20155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20157 # This bug is HP SR number 8606223364.
20158 { echo "$as_me:$LINENO: checking size of void *" >&5
20159 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20160 if test "${ac_cv_sizeof_void_p+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 if test "$cross_compiling" = yes; then
20164 # Depending upon the size, compute the lo and hi bounds.
20165 cat >conftest.$ac_ext <<_ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20171 $ac_includes_default
20172 typedef void * ac__type_sizeof_;
20176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20183 rm -f conftest.$ac_objext
20184 if { (ac_try="$ac_compile"
20185 case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_compile") 2>conftest.er1
20192 grep -v '^ *+' conftest.er1 >conftest.err
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && {
20197 test -z "$ac_c_werror_flag" ||
20198 test ! -s conftest.err
20199 } && test -s conftest.$ac_objext; then
20202 cat >conftest.$ac_ext <<_ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20209 typedef void * ac__type_sizeof_;
20213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20220 rm -f conftest.$ac_objext
20221 if { (ac_try="$ac_compile"
20222 case "(($ac_try" in
20223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20224 *) ac_try_echo=$ac_try;;
20226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 (eval "$ac_compile") 2>conftest.er1
20229 grep -v '^ *+' conftest.er1 >conftest.err
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } && {
20234 test -z "$ac_c_werror_flag" ||
20235 test ! -s conftest.err
20236 } && test -s conftest.$ac_objext; then
20237 ac_hi=$ac_mid; break
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20242 ac_lo=`expr $ac_mid + 1`
20243 if test $ac_lo -le $ac_mid; then
20247 ac_mid=`expr 2 '*' $ac_mid + 1`
20250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 echo "$as_me: failed program was:" >&5
20254 sed 's/^/| /' conftest.$ac_ext >&5
20256 cat >conftest.$ac_ext <<_ACEOF
20259 cat confdefs.h >>conftest.$ac_ext
20260 cat >>conftest.$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20262 $ac_includes_default
20263 typedef void * ac__type_sizeof_;
20267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20274 rm -f conftest.$ac_objext
20275 if { (ac_try="$ac_compile"
20276 case "(($ac_try" in
20277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20278 *) ac_try_echo=$ac_try;;
20280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20281 (eval "$ac_compile") 2>conftest.er1
20283 grep -v '^ *+' conftest.er1 >conftest.err
20285 cat conftest.err >&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } && {
20288 test -z "$ac_c_werror_flag" ||
20289 test ! -s conftest.err
20290 } && test -s conftest.$ac_objext; then
20293 cat >conftest.$ac_ext <<_ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 $ac_includes_default
20300 typedef void * ac__type_sizeof_;
20304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20311 rm -f conftest.$ac_objext
20312 if { (ac_try="$ac_compile"
20313 case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_compile") 2>conftest.er1
20320 grep -v '^ *+' conftest.er1 >conftest.err
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && {
20325 test -z "$ac_c_werror_flag" ||
20326 test ! -s conftest.err
20327 } && test -s conftest.$ac_objext; then
20328 ac_lo=$ac_mid; break
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20333 ac_hi=`expr '(' $ac_mid ')' - 1`
20334 if test $ac_mid -le $ac_hi; then
20338 ac_mid=`expr 2 '*' $ac_mid`
20341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20354 # Binary search between lo and hi bounds.
20355 while test "x$ac_lo" != "x$ac_hi"; do
20356 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20357 cat >conftest.$ac_ext <<_ACEOF
20360 cat confdefs.h >>conftest.$ac_ext
20361 cat >>conftest.$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20363 $ac_includes_default
20364 typedef void * ac__type_sizeof_;
20368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20375 rm -f conftest.$ac_objext
20376 if { (ac_try="$ac_compile"
20377 case "(($ac_try" in
20378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20379 *) ac_try_echo=$ac_try;;
20381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20382 (eval "$ac_compile") 2>conftest.er1
20384 grep -v '^ *+' conftest.er1 >conftest.err
20386 cat conftest.err >&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); } && {
20389 test -z "$ac_c_werror_flag" ||
20390 test ! -s conftest.err
20391 } && test -s conftest.$ac_objext; then
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20397 ac_lo=`expr '(' $ac_mid ')' + 1`
20400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20403 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20404 '') if test "$ac_cv_type_void_p" = yes; then
20405 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20406 See \`config.log' for more details." >&5
20407 echo "$as_me: error: cannot compute sizeof (void *)
20408 See \`config.log' for more details." >&2;}
20409 { (exit 77); exit 77; }; }
20411 ac_cv_sizeof_void_p=0
20415 cat >conftest.$ac_ext <<_ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef void * ac__type_sizeof_;
20423 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20424 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20426 #include <stdlib.h>
20431 FILE *f = fopen ("conftest.val", "w");
20434 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20436 long int i = longval ();
20437 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20439 fprintf (f, "%ld\n", i);
20443 unsigned long int i = ulongval ();
20444 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20446 fprintf (f, "%lu\n", i);
20448 return ferror (f) || fclose (f) != 0;
20454 rm -f conftest$ac_exeext
20455 if { (ac_try="$ac_link"
20456 case "(($ac_try" in
20457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458 *) ac_try_echo=$ac_try;;
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461 (eval "$ac_link") 2>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20465 { (case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_try") 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; }; then
20474 ac_cv_sizeof_void_p=`cat conftest.val`
20476 echo "$as_me: program exited with status $ac_status" >&5
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.$ac_ext >&5
20480 ( exit $ac_status )
20481 if test "$ac_cv_type_void_p" = yes; then
20482 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20483 See \`config.log' for more details." >&5
20484 echo "$as_me: error: cannot compute sizeof (void *)
20485 See \`config.log' for more details." >&2;}
20486 { (exit 77); exit 77; }; }
20488 ac_cv_sizeof_void_p=0
20491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20495 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20496 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20500 cat >>confdefs.h <<_ACEOF
20501 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20505 { echo "$as_me:$LINENO: checking for int" >&5
20506 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20507 if test "${ac_cv_type_int+set}" = set; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20510 cat >conftest.$ac_ext <<_ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20517 typedef int ac__type_new_;
20521 if ((ac__type_new_ *) 0)
20523 if (sizeof (ac__type_new_))
20529 rm -f conftest.$ac_objext
20530 if { (ac_try="$ac_compile"
20531 case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;;
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20536 (eval "$ac_compile") 2>conftest.er1
20538 grep -v '^ *+' conftest.er1 >conftest.err
20540 cat conftest.err >&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } && {
20543 test -z "$ac_c_werror_flag" ||
20544 test ! -s conftest.err
20545 } && test -s conftest.$ac_objext; then
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20556 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20557 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20559 # The cast to long int works around a bug in the HP C Compiler
20560 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20561 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20562 # This bug is HP SR number 8606223364.
20563 { echo "$as_me:$LINENO: checking size of int" >&5
20564 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20565 if test "${ac_cv_sizeof_int+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20568 if test "$cross_compiling" = yes; then
20569 # Depending upon the size, compute the lo and hi bounds.
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
20577 typedef int ac__type_sizeof_;
20581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20588 rm -f conftest.$ac_objext
20589 if { (ac_try="$ac_compile"
20590 case "(($ac_try" in
20591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20592 *) ac_try_echo=$ac_try;;
20594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20595 (eval "$ac_compile") 2>conftest.er1
20597 grep -v '^ *+' conftest.er1 >conftest.err
20599 cat conftest.err >&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } && {
20602 test -z "$ac_c_werror_flag" ||
20603 test ! -s conftest.err
20604 } && test -s conftest.$ac_objext; then
20607 cat >conftest.$ac_ext <<_ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20614 typedef int ac__type_sizeof_;
20618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20625 rm -f conftest.$ac_objext
20626 if { (ac_try="$ac_compile"
20627 case "(($ac_try" in
20628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20629 *) ac_try_echo=$ac_try;;
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_compile") 2>conftest.er1
20634 grep -v '^ *+' conftest.er1 >conftest.err
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest.$ac_objext; then
20642 ac_hi=$ac_mid; break
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20647 ac_lo=`expr $ac_mid + 1`
20648 if test $ac_lo -le $ac_mid; then
20652 ac_mid=`expr 2 '*' $ac_mid + 1`
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20658 echo "$as_me: failed program was:" >&5
20659 sed 's/^/| /' conftest.$ac_ext >&5
20661 cat >conftest.$ac_ext <<_ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 $ac_includes_default
20668 typedef int ac__type_sizeof_;
20672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20679 rm -f conftest.$ac_objext
20680 if { (ac_try="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20688 grep -v '^ *+' conftest.er1 >conftest.err
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.$ac_objext; then
20698 cat >conftest.$ac_ext <<_ACEOF
20701 cat confdefs.h >>conftest.$ac_ext
20702 cat >>conftest.$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704 $ac_includes_default
20705 typedef int ac__type_sizeof_;
20709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20716 rm -f conftest.$ac_objext
20717 if { (ac_try="$ac_compile"
20718 case "(($ac_try" in
20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20720 *) ac_try_echo=$ac_try;;
20722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20723 (eval "$ac_compile") 2>conftest.er1
20725 grep -v '^ *+' conftest.er1 >conftest.err
20727 cat conftest.err >&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); } && {
20730 test -z "$ac_c_werror_flag" ||
20731 test ! -s conftest.err
20732 } && test -s conftest.$ac_objext; then
20733 ac_lo=$ac_mid; break
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.$ac_ext >&5
20738 ac_hi=`expr '(' $ac_mid ')' - 1`
20739 if test $ac_mid -le $ac_hi; then
20743 ac_mid=`expr 2 '*' $ac_mid`
20746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20749 echo "$as_me: failed program was:" >&5
20750 sed 's/^/| /' conftest.$ac_ext >&5
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20759 # Binary search between lo and hi bounds.
20760 while test "x$ac_lo" != "x$ac_hi"; do
20761 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20762 cat >conftest.$ac_ext <<_ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768 $ac_includes_default
20769 typedef int ac__type_sizeof_;
20773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20780 rm -f conftest.$ac_objext
20781 if { (ac_try="$ac_compile"
20782 case "(($ac_try" in
20783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20784 *) ac_try_echo=$ac_try;;
20786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20787 (eval "$ac_compile") 2>conftest.er1
20789 grep -v '^ *+' conftest.er1 >conftest.err
20791 cat conftest.err >&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } && {
20794 test -z "$ac_c_werror_flag" ||
20795 test ! -s conftest.err
20796 } && test -s conftest.$ac_objext; then
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20802 ac_lo=`expr '(' $ac_mid ')' + 1`
20805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 ?*) ac_cv_sizeof_int=$ac_lo;;
20809 '') if test "$ac_cv_type_int" = yes; then
20810 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20811 See \`config.log' for more details." >&5
20812 echo "$as_me: error: cannot compute sizeof (int)
20813 See \`config.log' for more details." >&2;}
20814 { (exit 77); exit 77; }; }
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef int ac__type_sizeof_;
20828 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20829 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20831 #include <stdlib.h>
20836 FILE *f = fopen ("conftest.val", "w");
20839 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20841 long int i = longval ();
20842 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20844 fprintf (f, "%ld\n", i);
20848 unsigned long int i = ulongval ();
20849 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20851 fprintf (f, "%lu\n", i);
20853 return ferror (f) || fclose (f) != 0;
20859 rm -f conftest$ac_exeext
20860 if { (ac_try="$ac_link"
20861 case "(($ac_try" in
20862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863 *) ac_try_echo=$ac_try;;
20865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20866 (eval "$ac_link") 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20870 { (case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_try") 2>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; }; then
20879 ac_cv_sizeof_int=`cat conftest.val`
20881 echo "$as_me: program exited with status $ac_status" >&5
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.$ac_ext >&5
20885 ( exit $ac_status )
20886 if test "$ac_cv_type_int" = yes; then
20887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20888 See \`config.log' for more details." >&5
20889 echo "$as_me: error: cannot compute sizeof (int)
20890 See \`config.log' for more details." >&2;}
20891 { (exit 77); exit 77; }; }
20896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20900 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20901 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20905 cat >>confdefs.h <<_ACEOF
20906 #define SIZEOF_INT $ac_cv_sizeof_int
20910 { echo "$as_me:$LINENO: checking for long" >&5
20911 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20912 if test "${ac_cv_type_long+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20915 cat >conftest.$ac_ext <<_ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20921 $ac_includes_default
20922 typedef long ac__type_new_;
20926 if ((ac__type_new_ *) 0)
20928 if (sizeof (ac__type_new_))
20934 rm -f conftest.$ac_objext
20935 if { (ac_try="$ac_compile"
20936 case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_compile") 2>conftest.er1
20943 grep -v '^ *+' conftest.er1 >conftest.err
20945 cat conftest.err >&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } && {
20948 test -z "$ac_c_werror_flag" ||
20949 test ! -s conftest.err
20950 } && test -s conftest.$ac_objext; then
20951 ac_cv_type_long=yes
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5
20959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20961 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20962 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20964 # The cast to long int works around a bug in the HP C Compiler
20965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20967 # This bug is HP SR number 8606223364.
20968 { echo "$as_me:$LINENO: checking size of long" >&5
20969 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20970 if test "${ac_cv_sizeof_long+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20973 if test "$cross_compiling" = yes; then
20974 # Depending upon the size, compute the lo and hi bounds.
20975 cat >conftest.$ac_ext <<_ACEOF
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20981 $ac_includes_default
20982 typedef long ac__type_sizeof_;
20986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20993 rm -f conftest.$ac_objext
20994 if { (ac_try="$ac_compile"
20995 case "(($ac_try" in
20996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21000 (eval "$ac_compile") 2>conftest.er1
21002 grep -v '^ *+' conftest.er1 >conftest.err
21004 cat conftest.err >&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } && {
21007 test -z "$ac_c_werror_flag" ||
21008 test ! -s conftest.err
21009 } && test -s conftest.$ac_objext; then
21012 cat >conftest.$ac_ext <<_ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 typedef long ac__type_sizeof_;
21023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21030 rm -f conftest.$ac_objext
21031 if { (ac_try="$ac_compile"
21032 case "(($ac_try" in
21033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_compile") 2>conftest.er1
21039 grep -v '^ *+' conftest.er1 >conftest.err
21041 cat conftest.err >&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } && {
21044 test -z "$ac_c_werror_flag" ||
21045 test ! -s conftest.err
21046 } && test -s conftest.$ac_objext; then
21047 ac_hi=$ac_mid; break
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.$ac_ext >&5
21052 ac_lo=`expr $ac_mid + 1`
21053 if test $ac_lo -le $ac_mid; then
21057 ac_mid=`expr 2 '*' $ac_mid + 1`
21060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21066 cat >conftest.$ac_ext <<_ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 $ac_includes_default
21073 typedef long ac__type_sizeof_;
21077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21084 rm -f conftest.$ac_objext
21085 if { (ac_try="$ac_compile"
21086 case "(($ac_try" in
21087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21088 *) ac_try_echo=$ac_try;;
21090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21091 (eval "$ac_compile") 2>conftest.er1
21093 grep -v '^ *+' conftest.er1 >conftest.err
21095 cat conftest.err >&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); } && {
21098 test -z "$ac_c_werror_flag" ||
21099 test ! -s conftest.err
21100 } && test -s conftest.$ac_objext; then
21103 cat >conftest.$ac_ext <<_ACEOF
21106 cat confdefs.h >>conftest.$ac_ext
21107 cat >>conftest.$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21109 $ac_includes_default
21110 typedef long ac__type_sizeof_;
21114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21121 rm -f conftest.$ac_objext
21122 if { (ac_try="$ac_compile"
21123 case "(($ac_try" in
21124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21125 *) ac_try_echo=$ac_try;;
21127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_compile") 2>conftest.er1
21130 grep -v '^ *+' conftest.er1 >conftest.err
21132 cat conftest.err >&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } && {
21135 test -z "$ac_c_werror_flag" ||
21136 test ! -s conftest.err
21137 } && test -s conftest.$ac_objext; then
21138 ac_lo=$ac_mid; break
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.$ac_ext >&5
21143 ac_hi=`expr '(' $ac_mid ')' - 1`
21144 if test $ac_mid -le $ac_hi; then
21148 ac_mid=`expr 2 '*' $ac_mid`
21151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21164 # Binary search between lo and hi bounds.
21165 while test "x$ac_lo" != "x$ac_hi"; do
21166 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21167 cat >conftest.$ac_ext <<_ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 $ac_includes_default
21174 typedef long ac__type_sizeof_;
21178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21185 rm -f conftest.$ac_objext
21186 if { (ac_try="$ac_compile"
21187 case "(($ac_try" in
21188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21189 *) ac_try_echo=$ac_try;;
21191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21192 (eval "$ac_compile") 2>conftest.er1
21194 grep -v '^ *+' conftest.er1 >conftest.err
21196 cat conftest.err >&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } && {
21199 test -z "$ac_c_werror_flag" ||
21200 test ! -s conftest.err
21201 } && test -s conftest.$ac_objext; then
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21207 ac_lo=`expr '(' $ac_mid ')' + 1`
21210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21213 ?*) ac_cv_sizeof_long=$ac_lo;;
21214 '') if test "$ac_cv_type_long" = yes; then
21215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21216 See \`config.log' for more details." >&5
21217 echo "$as_me: error: cannot compute sizeof (long)
21218 See \`config.log' for more details." >&2;}
21219 { (exit 77); exit 77; }; }
21221 ac_cv_sizeof_long=0
21225 cat >conftest.$ac_ext <<_ACEOF
21228 cat confdefs.h >>conftest.$ac_ext
21229 cat >>conftest.$ac_ext <<_ACEOF
21230 /* end confdefs.h. */
21231 $ac_includes_default
21232 typedef long ac__type_sizeof_;
21233 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21234 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21236 #include <stdlib.h>
21241 FILE *f = fopen ("conftest.val", "w");
21244 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21246 long int i = longval ();
21247 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21249 fprintf (f, "%ld\n", i);
21253 unsigned long int i = ulongval ();
21254 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21256 fprintf (f, "%lu\n", i);
21258 return ferror (f) || fclose (f) != 0;
21264 rm -f conftest$ac_exeext
21265 if { (ac_try="$ac_link"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_link") 2>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21275 { (case "(($ac_try" in
21276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21277 *) ac_try_echo=$ac_try;;
21279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21280 (eval "$ac_try") 2>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; }; then
21284 ac_cv_sizeof_long=`cat conftest.val`
21286 echo "$as_me: program exited with status $ac_status" >&5
21287 echo "$as_me: failed program was:" >&5
21288 sed 's/^/| /' conftest.$ac_ext >&5
21290 ( exit $ac_status )
21291 if test "$ac_cv_type_long" = yes; then
21292 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21293 See \`config.log' for more details." >&5
21294 echo "$as_me: error: cannot compute sizeof (long)
21295 See \`config.log' for more details." >&2;}
21296 { (exit 77); exit 77; }; }
21298 ac_cv_sizeof_long=0
21301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21305 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21306 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21310 cat >>confdefs.h <<_ACEOF
21311 #define SIZEOF_LONG $ac_cv_sizeof_long
21315 { echo "$as_me:$LINENO: checking for size_t" >&5
21316 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21317 if test "${ac_cv_type_size_t+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21320 cat >conftest.$ac_ext <<_ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 $ac_includes_default
21327 typedef size_t ac__type_new_;
21331 if ((ac__type_new_ *) 0)
21333 if (sizeof (ac__type_new_))
21339 rm -f conftest.$ac_objext
21340 if { (ac_try="$ac_compile"
21341 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_compile") 2>conftest.er1
21348 grep -v '^ *+' conftest.er1 >conftest.err
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest.$ac_objext; then
21356 ac_cv_type_size_t=yes
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21361 ac_cv_type_size_t=no
21364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21367 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21369 # The cast to long int works around a bug in the HP C Compiler
21370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21372 # This bug is HP SR number 8606223364.
21373 { echo "$as_me:$LINENO: checking size of size_t" >&5
21374 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21375 if test "${ac_cv_sizeof_size_t+set}" = set; then
21376 echo $ECHO_N "(cached) $ECHO_C" >&6
21378 if test "$cross_compiling" = yes; then
21379 # Depending upon the size, compute the lo and hi bounds.
21380 cat >conftest.$ac_ext <<_ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 $ac_includes_default
21387 typedef size_t ac__type_sizeof_;
21391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21398 rm -f conftest.$ac_objext
21399 if { (ac_try="$ac_compile"
21400 case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_compile") 2>conftest.er1
21407 grep -v '^ *+' conftest.er1 >conftest.err
21409 cat conftest.err >&5
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); } && {
21412 test -z "$ac_c_werror_flag" ||
21413 test ! -s conftest.err
21414 } && test -s conftest.$ac_objext; then
21417 cat >conftest.$ac_ext <<_ACEOF
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 $ac_includes_default
21424 typedef size_t ac__type_sizeof_;
21428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21435 rm -f conftest.$ac_objext
21436 if { (ac_try="$ac_compile"
21437 case "(($ac_try" in
21438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21439 *) ac_try_echo=$ac_try;;
21441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21442 (eval "$ac_compile") 2>conftest.er1
21444 grep -v '^ *+' conftest.er1 >conftest.err
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } && {
21449 test -z "$ac_c_werror_flag" ||
21450 test ! -s conftest.err
21451 } && test -s conftest.$ac_objext; then
21452 ac_hi=$ac_mid; break
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21457 ac_lo=`expr $ac_mid + 1`
21458 if test $ac_lo -le $ac_mid; then
21462 ac_mid=`expr 2 '*' $ac_mid + 1`
21465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21468 echo "$as_me: failed program was:" >&5
21469 sed 's/^/| /' conftest.$ac_ext >&5
21471 cat >conftest.$ac_ext <<_ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 $ac_includes_default
21478 typedef size_t ac__type_sizeof_;
21482 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21489 rm -f conftest.$ac_objext
21490 if { (ac_try="$ac_compile"
21491 case "(($ac_try" in
21492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_compile") 2>conftest.er1
21498 grep -v '^ *+' conftest.er1 >conftest.err
21500 cat conftest.err >&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } && {
21503 test -z "$ac_c_werror_flag" ||
21504 test ! -s conftest.err
21505 } && test -s conftest.$ac_objext; then
21508 cat >conftest.$ac_ext <<_ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 $ac_includes_default
21515 typedef size_t ac__type_sizeof_;
21519 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21526 rm -f conftest.$ac_objext
21527 if { (ac_try="$ac_compile"
21528 case "(($ac_try" in
21529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21530 *) ac_try_echo=$ac_try;;
21532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21533 (eval "$ac_compile") 2>conftest.er1
21535 grep -v '^ *+' conftest.er1 >conftest.err
21537 cat conftest.err >&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); } && {
21540 test -z "$ac_c_werror_flag" ||
21541 test ! -s conftest.err
21542 } && test -s conftest.$ac_objext; then
21543 ac_lo=$ac_mid; break
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21548 ac_hi=`expr '(' $ac_mid ')' - 1`
21549 if test $ac_mid -le $ac_hi; then
21553 ac_mid=`expr 2 '*' $ac_mid`
21556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21569 # Binary search between lo and hi bounds.
21570 while test "x$ac_lo" != "x$ac_hi"; do
21571 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21572 cat >conftest.$ac_ext <<_ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21579 typedef size_t ac__type_sizeof_;
21583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_compile") 2>conftest.er1
21599 grep -v '^ *+' conftest.er1 >conftest.err
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } && {
21604 test -z "$ac_c_werror_flag" ||
21605 test ! -s conftest.err
21606 } && test -s conftest.$ac_objext; then
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 ac_lo=`expr '(' $ac_mid ')' + 1`
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21619 '') if test "$ac_cv_type_size_t" = yes; then
21620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21621 See \`config.log' for more details." >&5
21622 echo "$as_me: error: cannot compute sizeof (size_t)
21623 See \`config.log' for more details." >&2;}
21624 { (exit 77); exit 77; }; }
21626 ac_cv_sizeof_size_t=0
21630 cat >conftest.$ac_ext <<_ACEOF
21633 cat confdefs.h >>conftest.$ac_ext
21634 cat >>conftest.$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21636 $ac_includes_default
21637 typedef size_t ac__type_sizeof_;
21638 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21639 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21641 #include <stdlib.h>
21646 FILE *f = fopen ("conftest.val", "w");
21649 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21651 long int i = longval ();
21652 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21654 fprintf (f, "%ld\n", i);
21658 unsigned long int i = ulongval ();
21659 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21661 fprintf (f, "%lu\n", i);
21663 return ferror (f) || fclose (f) != 0;
21669 rm -f conftest$ac_exeext
21670 if { (ac_try="$ac_link"
21671 case "(($ac_try" in
21672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21673 *) ac_try_echo=$ac_try;;
21675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21676 (eval "$ac_link") 2>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21680 { (case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_try") 2>&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); }; }; then
21689 ac_cv_sizeof_size_t=`cat conftest.val`
21691 echo "$as_me: program exited with status $ac_status" >&5
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.$ac_ext >&5
21695 ( exit $ac_status )
21696 if test "$ac_cv_type_size_t" = yes; then
21697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21698 See \`config.log' for more details." >&5
21699 echo "$as_me: error: cannot compute sizeof (size_t)
21700 See \`config.log' for more details." >&2;}
21701 { (exit 77); exit 77; }; }
21703 ac_cv_sizeof_size_t=0
21706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21710 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21711 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21715 cat >>confdefs.h <<_ACEOF
21716 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21723 { echo "$as_me:$LINENO: checking for long long" >&5
21724 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21725 if test "${ac_cv_type_long_long+set}" = set; then
21726 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 cat >conftest.$ac_ext <<_ACEOF
21731 cat confdefs.h >>conftest.$ac_ext
21732 cat >>conftest.$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21734 $ac_includes_default
21735 typedef long long ac__type_new_;
21739 if ((ac__type_new_ *) 0)
21741 if (sizeof (ac__type_new_))
21747 rm -f conftest.$ac_objext
21748 if { (ac_try="$ac_compile"
21749 case "(($ac_try" in
21750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21751 *) ac_try_echo=$ac_try;;
21753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21754 (eval "$ac_compile") 2>conftest.er1
21756 grep -v '^ *+' conftest.er1 >conftest.err
21758 cat conftest.err >&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } && {
21761 test -z "$ac_c_werror_flag" ||
21762 test ! -s conftest.err
21763 } && test -s conftest.$ac_objext; then
21764 ac_cv_type_long_long=yes
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.$ac_ext >&5
21769 ac_cv_type_long_long=no
21772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21774 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21775 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21777 # The cast to long int works around a bug in the HP C Compiler
21778 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21779 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21780 # This bug is HP SR number 8606223364.
21781 { echo "$as_me:$LINENO: checking size of long long" >&5
21782 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21783 if test "${ac_cv_sizeof_long_long+set}" = set; then
21784 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 if test "$cross_compiling" = yes; then
21787 # Depending upon the size, compute the lo and hi bounds.
21788 cat >conftest.$ac_ext <<_ACEOF
21791 cat confdefs.h >>conftest.$ac_ext
21792 cat >>conftest.$ac_ext <<_ACEOF
21793 /* end confdefs.h. */
21794 $ac_includes_default
21795 typedef long long ac__type_sizeof_;
21799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21806 rm -f conftest.$ac_objext
21807 if { (ac_try="$ac_compile"
21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_compile") 2>conftest.er1
21815 grep -v '^ *+' conftest.er1 >conftest.err
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } && {
21820 test -z "$ac_c_werror_flag" ||
21821 test ! -s conftest.err
21822 } && test -s conftest.$ac_objext; then
21825 cat >conftest.$ac_ext <<_ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21831 $ac_includes_default
21832 typedef long long ac__type_sizeof_;
21836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21843 rm -f conftest.$ac_objext
21844 if { (ac_try="$ac_compile"
21845 case "(($ac_try" in
21846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21847 *) ac_try_echo=$ac_try;;
21849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21850 (eval "$ac_compile") 2>conftest.er1
21852 grep -v '^ *+' conftest.er1 >conftest.err
21854 cat conftest.err >&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); } && {
21857 test -z "$ac_c_werror_flag" ||
21858 test ! -s conftest.err
21859 } && test -s conftest.$ac_objext; then
21860 ac_hi=$ac_mid; break
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.$ac_ext >&5
21865 ac_lo=`expr $ac_mid + 1`
21866 if test $ac_lo -le $ac_mid; then
21870 ac_mid=`expr 2 '*' $ac_mid + 1`
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21879 cat >conftest.$ac_ext <<_ACEOF
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 $ac_includes_default
21886 typedef long long ac__type_sizeof_;
21890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21897 rm -f conftest.$ac_objext
21898 if { (ac_try="$ac_compile"
21899 case "(($ac_try" in
21900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21901 *) ac_try_echo=$ac_try;;
21903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21904 (eval "$ac_compile") 2>conftest.er1
21906 grep -v '^ *+' conftest.er1 >conftest.err
21908 cat conftest.err >&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); } && {
21911 test -z "$ac_c_werror_flag" ||
21912 test ! -s conftest.err
21913 } && test -s conftest.$ac_objext; then
21916 cat >conftest.$ac_ext <<_ACEOF
21919 cat confdefs.h >>conftest.$ac_ext
21920 cat >>conftest.$ac_ext <<_ACEOF
21921 /* end confdefs.h. */
21922 $ac_includes_default
21923 typedef long long ac__type_sizeof_;
21927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21934 rm -f conftest.$ac_objext
21935 if { (ac_try="$ac_compile"
21936 case "(($ac_try" in
21937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21938 *) ac_try_echo=$ac_try;;
21940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21941 (eval "$ac_compile") 2>conftest.er1
21943 grep -v '^ *+' conftest.er1 >conftest.err
21945 cat conftest.err >&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } && {
21948 test -z "$ac_c_werror_flag" ||
21949 test ! -s conftest.err
21950 } && test -s conftest.$ac_objext; then
21951 ac_lo=$ac_mid; break
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21956 ac_hi=`expr '(' $ac_mid ')' - 1`
21957 if test $ac_mid -le $ac_hi; then
21961 ac_mid=`expr 2 '*' $ac_mid`
21964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21967 echo "$as_me: failed program was:" >&5
21968 sed 's/^/| /' conftest.$ac_ext >&5
21973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21977 # Binary search between lo and hi bounds.
21978 while test "x$ac_lo" != "x$ac_hi"; do
21979 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21980 cat >conftest.$ac_ext <<_ACEOF
21983 cat confdefs.h >>conftest.$ac_ext
21984 cat >>conftest.$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21986 $ac_includes_default
21987 typedef long long ac__type_sizeof_;
21991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21998 rm -f conftest.$ac_objext
21999 if { (ac_try="$ac_compile"
22000 case "(($ac_try" in
22001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22002 *) ac_try_echo=$ac_try;;
22004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22005 (eval "$ac_compile") 2>conftest.er1
22007 grep -v '^ *+' conftest.er1 >conftest.err
22009 cat conftest.err >&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } && {
22012 test -z "$ac_c_werror_flag" ||
22013 test ! -s conftest.err
22014 } && test -s conftest.$ac_objext; then
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.$ac_ext >&5
22020 ac_lo=`expr '(' $ac_mid ')' + 1`
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22026 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22027 '') if test "$ac_cv_type_long_long" = yes; then
22028 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22029 See \`config.log' for more details." >&5
22030 echo "$as_me: error: cannot compute sizeof (long long)
22031 See \`config.log' for more details." >&2;}
22032 { (exit 77); exit 77; }; }
22034 ac_cv_sizeof_long_long=0
22038 cat >conftest.$ac_ext <<_ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22044 $ac_includes_default
22045 typedef long long ac__type_sizeof_;
22046 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22047 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22049 #include <stdlib.h>
22054 FILE *f = fopen ("conftest.val", "w");
22057 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22059 long int i = longval ();
22060 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22062 fprintf (f, "%ld\n", i);
22066 unsigned long int i = ulongval ();
22067 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22069 fprintf (f, "%lu\n", i);
22071 return ferror (f) || fclose (f) != 0;
22077 rm -f conftest$ac_exeext
22078 if { (ac_try="$ac_link"
22079 case "(($ac_try" in
22080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22081 *) ac_try_echo=$ac_try;;
22083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22084 (eval "$ac_link") 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22088 { (case "(($ac_try" in
22089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22090 *) ac_try_echo=$ac_try;;
22092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22093 (eval "$ac_try") 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; }; then
22097 ac_cv_sizeof_long_long=`cat conftest.val`
22099 echo "$as_me: program exited with status $ac_status" >&5
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22103 ( exit $ac_status )
22104 if test "$ac_cv_type_long_long" = yes; then
22105 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22106 See \`config.log' for more details." >&5
22107 echo "$as_me: error: cannot compute sizeof (long long)
22108 See \`config.log' for more details." >&2;}
22109 { (exit 77); exit 77; }; }
22111 ac_cv_sizeof_long_long=0
22114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22118 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22119 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22123 cat >>confdefs.h <<_ACEOF
22124 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22130 { echo "$as_me:$LINENO: checking for long long" >&5
22131 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22132 if test "${ac_cv_type_long_long+set}" = set; then
22133 echo $ECHO_N "(cached) $ECHO_C" >&6
22135 cat >conftest.$ac_ext <<_ACEOF
22138 cat confdefs.h >>conftest.$ac_ext
22139 cat >>conftest.$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141 $ac_includes_default
22142 typedef long long ac__type_new_;
22146 if ((ac__type_new_ *) 0)
22148 if (sizeof (ac__type_new_))
22154 rm -f conftest.$ac_objext
22155 if { (ac_try="$ac_compile"
22156 case "(($ac_try" in
22157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22158 *) ac_try_echo=$ac_try;;
22160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22161 (eval "$ac_compile") 2>conftest.er1
22163 grep -v '^ *+' conftest.er1 >conftest.err
22165 cat conftest.err >&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); } && {
22168 test -z "$ac_c_werror_flag" ||
22169 test ! -s conftest.err
22170 } && test -s conftest.$ac_objext; then
22171 ac_cv_type_long_long=yes
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.$ac_ext >&5
22176 ac_cv_type_long_long=no
22179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22181 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22182 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22184 # The cast to long int works around a bug in the HP C Compiler
22185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22187 # This bug is HP SR number 8606223364.
22188 { echo "$as_me:$LINENO: checking size of long long" >&5
22189 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22190 if test "${ac_cv_sizeof_long_long+set}" = set; then
22191 echo $ECHO_N "(cached) $ECHO_C" >&6
22193 if test "$cross_compiling" = yes; then
22194 # Depending upon the size, compute the lo and hi bounds.
22195 cat >conftest.$ac_ext <<_ACEOF
22198 cat confdefs.h >>conftest.$ac_ext
22199 cat >>conftest.$ac_ext <<_ACEOF
22200 /* end confdefs.h. */
22201 $ac_includes_default
22202 typedef long long ac__type_sizeof_;
22206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22213 rm -f conftest.$ac_objext
22214 if { (ac_try="$ac_compile"
22215 case "(($ac_try" in
22216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22217 *) ac_try_echo=$ac_try;;
22219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22220 (eval "$ac_compile") 2>conftest.er1
22222 grep -v '^ *+' conftest.er1 >conftest.err
22224 cat conftest.err >&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } && {
22227 test -z "$ac_c_werror_flag" ||
22228 test ! -s conftest.err
22229 } && test -s conftest.$ac_objext; then
22232 cat >conftest.$ac_ext <<_ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef long long ac__type_sizeof_;
22243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22250 rm -f conftest.$ac_objext
22251 if { (ac_try="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22259 grep -v '^ *+' conftest.er1 >conftest.err
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } && {
22264 test -z "$ac_c_werror_flag" ||
22265 test ! -s conftest.err
22266 } && test -s conftest.$ac_objext; then
22267 ac_hi=$ac_mid; break
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22272 ac_lo=`expr $ac_mid + 1`
22273 if test $ac_lo -le $ac_mid; then
22277 ac_mid=`expr 2 '*' $ac_mid + 1`
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22286 cat >conftest.$ac_ext <<_ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 $ac_includes_default
22293 typedef long long ac__type_sizeof_;
22297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22304 rm -f conftest.$ac_objext
22305 if { (ac_try="$ac_compile"
22306 case "(($ac_try" in
22307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22308 *) ac_try_echo=$ac_try;;
22310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22311 (eval "$ac_compile") 2>conftest.er1
22313 grep -v '^ *+' conftest.er1 >conftest.err
22315 cat conftest.err >&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } && {
22318 test -z "$ac_c_werror_flag" ||
22319 test ! -s conftest.err
22320 } && test -s conftest.$ac_objext; then
22323 cat >conftest.$ac_ext <<_ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 $ac_includes_default
22330 typedef long long ac__type_sizeof_;
22334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22341 rm -f conftest.$ac_objext
22342 if { (ac_try="$ac_compile"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_compile") 2>conftest.er1
22350 grep -v '^ *+' conftest.er1 >conftest.err
22352 cat conftest.err >&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } && {
22355 test -z "$ac_c_werror_flag" ||
22356 test ! -s conftest.err
22357 } && test -s conftest.$ac_objext; then
22358 ac_lo=$ac_mid; break
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22363 ac_hi=`expr '(' $ac_mid ')' - 1`
22364 if test $ac_mid -le $ac_hi; then
22368 ac_mid=`expr 2 '*' $ac_mid`
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22374 echo "$as_me: failed program was:" >&5
22375 sed 's/^/| /' conftest.$ac_ext >&5
22380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 # Binary search between lo and hi bounds.
22385 while test "x$ac_lo" != "x$ac_hi"; do
22386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22387 cat >conftest.$ac_ext <<_ACEOF
22390 cat confdefs.h >>conftest.$ac_ext
22391 cat >>conftest.$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393 $ac_includes_default
22394 typedef long long ac__type_sizeof_;
22398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22405 rm -f conftest.$ac_objext
22406 if { (ac_try="$ac_compile"
22407 case "(($ac_try" in
22408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22409 *) ac_try_echo=$ac_try;;
22411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22412 (eval "$ac_compile") 2>conftest.er1
22414 grep -v '^ *+' conftest.er1 >conftest.err
22416 cat conftest.err >&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } && {
22419 test -z "$ac_c_werror_flag" ||
22420 test ! -s conftest.err
22421 } && test -s conftest.$ac_objext; then
22424 echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.$ac_ext >&5
22427 ac_lo=`expr '(' $ac_mid ')' + 1`
22430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22433 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22434 '') if test "$ac_cv_type_long_long" = yes; then
22435 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22436 See \`config.log' for more details." >&5
22437 echo "$as_me: error: cannot compute sizeof (long long)
22438 See \`config.log' for more details." >&2;}
22439 { (exit 77); exit 77; }; }
22441 ac_cv_sizeof_long_long=0
22445 cat >conftest.$ac_ext <<_ACEOF
22448 cat confdefs.h >>conftest.$ac_ext
22449 cat >>conftest.$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22451 $ac_includes_default
22452 typedef long long ac__type_sizeof_;
22453 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22454 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22456 #include <stdlib.h>
22461 FILE *f = fopen ("conftest.val", "w");
22464 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22466 long int i = longval ();
22467 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22469 fprintf (f, "%ld\n", i);
22473 unsigned long int i = ulongval ();
22474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22476 fprintf (f, "%lu\n", i);
22478 return ferror (f) || fclose (f) != 0;
22484 rm -f conftest$ac_exeext
22485 if { (ac_try="$ac_link"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_link") 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22495 { (case "(($ac_try" in
22496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22497 *) ac_try_echo=$ac_try;;
22499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22500 (eval "$ac_try") 2>&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); }; }; then
22504 ac_cv_sizeof_long_long=`cat conftest.val`
22506 echo "$as_me: program exited with status $ac_status" >&5
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22510 ( exit $ac_status )
22511 if test "$ac_cv_type_long_long" = yes; then
22512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22513 See \`config.log' for more details." >&5
22514 echo "$as_me: error: cannot compute sizeof (long long)
22515 See \`config.log' for more details." >&2;}
22516 { (exit 77); exit 77; }; }
22518 ac_cv_sizeof_long_long=0
22521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22525 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22526 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22530 cat >>confdefs.h <<_ACEOF
22531 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22535 if test "$ac_cv_sizeof_long_long" != 0; then
22536 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22540 { echo "$as_me:$LINENO: checking for long long" >&5
22541 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22542 if test "${ac_cv_type_long_long+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 cat >conftest.$ac_ext <<_ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 $ac_includes_default
22552 typedef long long ac__type_new_;
22556 if ((ac__type_new_ *) 0)
22558 if (sizeof (ac__type_new_))
22564 rm -f conftest.$ac_objext
22565 if { (ac_try="$ac_compile"
22566 case "(($ac_try" in
22567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22568 *) ac_try_echo=$ac_try;;
22570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22571 (eval "$ac_compile") 2>conftest.er1
22573 grep -v '^ *+' conftest.er1 >conftest.err
22575 cat conftest.err >&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && {
22578 test -z "$ac_c_werror_flag" ||
22579 test ! -s conftest.err
22580 } && test -s conftest.$ac_objext; then
22581 ac_cv_type_long_long=yes
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22586 ac_cv_type_long_long=no
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22591 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22592 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22594 # The cast to long int works around a bug in the HP C Compiler
22595 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22596 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22597 # This bug is HP SR number 8606223364.
22598 { echo "$as_me:$LINENO: checking size of long long" >&5
22599 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22600 if test "${ac_cv_sizeof_long_long+set}" = set; then
22601 echo $ECHO_N "(cached) $ECHO_C" >&6
22603 if test "$cross_compiling" = yes; then
22604 # Depending upon the size, compute the lo and hi bounds.
22605 cat >conftest.$ac_ext <<_ACEOF
22608 cat confdefs.h >>conftest.$ac_ext
22609 cat >>conftest.$ac_ext <<_ACEOF
22610 /* end confdefs.h. */
22611 $ac_includes_default
22612 typedef long long ac__type_sizeof_;
22616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22623 rm -f conftest.$ac_objext
22624 if { (ac_try="$ac_compile"
22625 case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_compile") 2>conftest.er1
22632 grep -v '^ *+' conftest.er1 >conftest.err
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } && {
22637 test -z "$ac_c_werror_flag" ||
22638 test ! -s conftest.err
22639 } && test -s conftest.$ac_objext; then
22642 cat >conftest.$ac_ext <<_ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 $ac_includes_default
22649 typedef long long ac__type_sizeof_;
22653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22660 rm -f conftest.$ac_objext
22661 if { (ac_try="$ac_compile"
22662 case "(($ac_try" in
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_compile") 2>conftest.er1
22669 grep -v '^ *+' conftest.er1 >conftest.err
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } && {
22674 test -z "$ac_c_werror_flag" ||
22675 test ! -s conftest.err
22676 } && test -s conftest.$ac_objext; then
22677 ac_hi=$ac_mid; break
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.$ac_ext >&5
22682 ac_lo=`expr $ac_mid + 1`
22683 if test $ac_lo -le $ac_mid; then
22687 ac_mid=`expr 2 '*' $ac_mid + 1`
22690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.$ac_ext >&5
22696 cat >conftest.$ac_ext <<_ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 $ac_includes_default
22703 typedef long long ac__type_sizeof_;
22707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22714 rm -f conftest.$ac_objext
22715 if { (ac_try="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22723 grep -v '^ *+' conftest.er1 >conftest.err
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && {
22728 test -z "$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22730 } && test -s conftest.$ac_objext; then
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 long long ac__type_sizeof_;
22744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22751 rm -f conftest.$ac_objext
22752 if { (ac_try="$ac_compile"
22753 case "(($ac_try" in
22754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22755 *) ac_try_echo=$ac_try;;
22757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22758 (eval "$ac_compile") 2>conftest.er1
22760 grep -v '^ *+' conftest.er1 >conftest.err
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } && {
22765 test -z "$ac_c_werror_flag" ||
22766 test ! -s conftest.err
22767 } && test -s conftest.$ac_objext; then
22768 ac_lo=$ac_mid; break
22770 echo "$as_me: failed program was:" >&5
22771 sed 's/^/| /' conftest.$ac_ext >&5
22773 ac_hi=`expr '(' $ac_mid ')' - 1`
22774 if test $ac_mid -le $ac_hi; then
22778 ac_mid=`expr 2 '*' $ac_mid`
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22784 echo "$as_me: failed program was:" >&5
22785 sed 's/^/| /' conftest.$ac_ext >&5
22790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 # Binary search between lo and hi bounds.
22795 while test "x$ac_lo" != "x$ac_hi"; do
22796 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22797 cat >conftest.$ac_ext <<_ACEOF
22800 cat confdefs.h >>conftest.$ac_ext
22801 cat >>conftest.$ac_ext <<_ACEOF
22802 /* end confdefs.h. */
22803 $ac_includes_default
22804 typedef long long ac__type_sizeof_;
22808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22815 rm -f conftest.$ac_objext
22816 if { (ac_try="$ac_compile"
22817 case "(($ac_try" in
22818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22819 *) ac_try_echo=$ac_try;;
22821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22822 (eval "$ac_compile") 2>conftest.er1
22824 grep -v '^ *+' conftest.er1 >conftest.err
22826 cat conftest.err >&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); } && {
22829 test -z "$ac_c_werror_flag" ||
22830 test ! -s conftest.err
22831 } && test -s conftest.$ac_objext; then
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.$ac_ext >&5
22837 ac_lo=`expr '(' $ac_mid ')' + 1`
22840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22843 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22844 '') if test "$ac_cv_type_long_long" = yes; then
22845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22846 See \`config.log' for more details." >&5
22847 echo "$as_me: error: cannot compute sizeof (long long)
22848 See \`config.log' for more details." >&2;}
22849 { (exit 77); exit 77; }; }
22851 ac_cv_sizeof_long_long=0
22855 cat >conftest.$ac_ext <<_ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22861 $ac_includes_default
22862 typedef long long ac__type_sizeof_;
22863 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22864 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22866 #include <stdlib.h>
22871 FILE *f = fopen ("conftest.val", "w");
22874 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22876 long int i = longval ();
22877 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22879 fprintf (f, "%ld\n", i);
22883 unsigned long int i = ulongval ();
22884 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22886 fprintf (f, "%lu\n", i);
22888 return ferror (f) || fclose (f) != 0;
22894 rm -f conftest$ac_exeext
22895 if { (ac_try="$ac_link"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_link") 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 ac_cv_sizeof_long_long=`cat conftest.val`
22916 echo "$as_me: program exited with status $ac_status" >&5
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.$ac_ext >&5
22920 ( exit $ac_status )
22921 if test "$ac_cv_type_long_long" = yes; then
22922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22923 See \`config.log' for more details." >&5
22924 echo "$as_me: error: cannot compute sizeof (long long)
22925 See \`config.log' for more details." >&2;}
22926 { (exit 77); exit 77; }; }
22928 ac_cv_sizeof_long_long=0
22931 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22935 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22936 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22940 cat >>confdefs.h <<_ACEOF
22941 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22947 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22948 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22949 if test "${ac_cv_type_wchar_t+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22952 cat >conftest.$ac_ext <<_ACEOF
22955 cat confdefs.h >>conftest.$ac_ext
22956 cat >>conftest.$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22959 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22960 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22961 # error "fake wchar_t"
22963 #ifdef HAVE_WCHAR_H
22965 # include <stddef.h>
22967 # include <wchar.h>
22969 #ifdef HAVE_STDLIB_H
22970 # include <stdlib.h>
22976 typedef wchar_t ac__type_new_;
22980 if ((ac__type_new_ *) 0)
22982 if (sizeof (ac__type_new_))
22988 rm -f conftest.$ac_objext
22989 if { (ac_try="$ac_compile"
22990 case "(($ac_try" in
22991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995 (eval "$ac_compile") 2>conftest.er1
22997 grep -v '^ *+' conftest.er1 >conftest.err
22999 cat conftest.err >&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } && {
23002 test -z "$ac_c_werror_flag" ||
23003 test ! -s conftest.err
23004 } && test -s conftest.$ac_objext; then
23005 ac_cv_type_wchar_t=yes
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.$ac_ext >&5
23010 ac_cv_type_wchar_t=no
23013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23015 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23016 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23018 # The cast to long int works around a bug in the HP C Compiler
23019 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23020 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23021 # This bug is HP SR number 8606223364.
23022 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23023 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23024 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 if test "$cross_compiling" = yes; then
23028 # Depending upon the size, compute the lo and hi bounds.
23029 cat >conftest.$ac_ext <<_ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h. */
23036 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23037 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23038 # error "fake wchar_t"
23040 #ifdef HAVE_WCHAR_H
23042 # include <stddef.h>
23044 # include <wchar.h>
23046 #ifdef HAVE_STDLIB_H
23047 # include <stdlib.h>
23053 typedef wchar_t ac__type_sizeof_;
23057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23064 rm -f conftest.$ac_objext
23065 if { (ac_try="$ac_compile"
23066 case "(($ac_try" in
23067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23068 *) ac_try_echo=$ac_try;;
23070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23071 (eval "$ac_compile") 2>conftest.er1
23073 grep -v '^ *+' conftest.er1 >conftest.err
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } && {
23078 test -z "$ac_c_werror_flag" ||
23079 test ! -s conftest.err
23080 } && test -s conftest.$ac_objext; then
23083 cat >conftest.$ac_ext <<_ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23090 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23091 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23092 # error "fake wchar_t"
23094 #ifdef HAVE_WCHAR_H
23096 # include <stddef.h>
23098 # include <wchar.h>
23100 #ifdef HAVE_STDLIB_H
23101 # include <stdlib.h>
23107 typedef wchar_t ac__type_sizeof_;
23111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23118 rm -f conftest.$ac_objext
23119 if { (ac_try="$ac_compile"
23120 case "(($ac_try" in
23121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23122 *) ac_try_echo=$ac_try;;
23124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23125 (eval "$ac_compile") 2>conftest.er1
23127 grep -v '^ *+' conftest.er1 >conftest.err
23129 cat conftest.err >&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } && {
23132 test -z "$ac_c_werror_flag" ||
23133 test ! -s conftest.err
23134 } && test -s conftest.$ac_objext; then
23135 ac_hi=$ac_mid; break
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.$ac_ext >&5
23140 ac_lo=`expr $ac_mid + 1`
23141 if test $ac_lo -le $ac_mid; then
23145 ac_mid=`expr 2 '*' $ac_mid + 1`
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23154 cat >conftest.$ac_ext <<_ACEOF
23157 cat confdefs.h >>conftest.$ac_ext
23158 cat >>conftest.$ac_ext <<_ACEOF
23159 /* end confdefs.h. */
23161 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23162 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23163 # error "fake wchar_t"
23165 #ifdef HAVE_WCHAR_H
23167 # include <stddef.h>
23169 # include <wchar.h>
23171 #ifdef HAVE_STDLIB_H
23172 # include <stdlib.h>
23178 typedef wchar_t ac__type_sizeof_;
23182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23189 rm -f conftest.$ac_objext
23190 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23198 grep -v '^ *+' conftest.er1 >conftest.err
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } && {
23203 test -z "$ac_c_werror_flag" ||
23204 test ! -s conftest.err
23205 } && test -s conftest.$ac_objext; then
23208 cat >conftest.$ac_ext <<_ACEOF
23211 cat confdefs.h >>conftest.$ac_ext
23212 cat >>conftest.$ac_ext <<_ACEOF
23213 /* end confdefs.h. */
23215 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23216 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23217 # error "fake wchar_t"
23219 #ifdef HAVE_WCHAR_H
23221 # include <stddef.h>
23223 # include <wchar.h>
23225 #ifdef HAVE_STDLIB_H
23226 # include <stdlib.h>
23232 typedef wchar_t ac__type_sizeof_;
23236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23243 rm -f conftest.$ac_objext
23244 if { (ac_try="$ac_compile"
23245 case "(($ac_try" in
23246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23247 *) ac_try_echo=$ac_try;;
23249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23250 (eval "$ac_compile") 2>conftest.er1
23252 grep -v '^ *+' conftest.er1 >conftest.err
23254 cat conftest.err >&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); } && {
23257 test -z "$ac_c_werror_flag" ||
23258 test ! -s conftest.err
23259 } && test -s conftest.$ac_objext; then
23260 ac_lo=$ac_mid; break
23262 echo "$as_me: failed program was:" >&5
23263 sed 's/^/| /' conftest.$ac_ext >&5
23265 ac_hi=`expr '(' $ac_mid ')' - 1`
23266 if test $ac_mid -le $ac_hi; then
23270 ac_mid=`expr 2 '*' $ac_mid`
23273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23286 # Binary search between lo and hi bounds.
23287 while test "x$ac_lo" != "x$ac_hi"; do
23288 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23289 cat >conftest.$ac_ext <<_ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23296 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23297 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23298 # error "fake wchar_t"
23300 #ifdef HAVE_WCHAR_H
23302 # include <stddef.h>
23304 # include <wchar.h>
23306 #ifdef HAVE_STDLIB_H
23307 # include <stdlib.h>
23313 typedef wchar_t ac__type_sizeof_;
23317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23324 rm -f conftest.$ac_objext
23325 if { (ac_try="$ac_compile"
23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_compile") 2>conftest.er1
23333 grep -v '^ *+' conftest.er1 >conftest.err
23335 cat conftest.err >&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); } && {
23338 test -z "$ac_c_werror_flag" ||
23339 test ! -s conftest.err
23340 } && test -s conftest.$ac_objext; then
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23346 ac_lo=`expr '(' $ac_mid ')' + 1`
23349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23352 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23353 '') if test "$ac_cv_type_wchar_t" = yes; then
23354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23355 See \`config.log' for more details." >&5
23356 echo "$as_me: error: cannot compute sizeof (wchar_t)
23357 See \`config.log' for more details." >&2;}
23358 { (exit 77); exit 77; }; }
23360 ac_cv_sizeof_wchar_t=0
23364 cat >conftest.$ac_ext <<_ACEOF
23367 cat confdefs.h >>conftest.$ac_ext
23368 cat >>conftest.$ac_ext <<_ACEOF
23369 /* end confdefs.h. */
23371 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23372 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23373 # error "fake wchar_t"
23375 #ifdef HAVE_WCHAR_H
23377 # include <stddef.h>
23379 # include <wchar.h>
23381 #ifdef HAVE_STDLIB_H
23382 # include <stdlib.h>
23388 typedef wchar_t ac__type_sizeof_;
23389 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23390 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23392 #include <stdlib.h>
23397 FILE *f = fopen ("conftest.val", "w");
23400 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23402 long int i = longval ();
23403 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23405 fprintf (f, "%ld\n", i);
23409 unsigned long int i = ulongval ();
23410 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23412 fprintf (f, "%lu\n", i);
23414 return ferror (f) || fclose (f) != 0;
23420 rm -f conftest$ac_exeext
23421 if { (ac_try="$ac_link"
23422 case "(($ac_try" in
23423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23424 *) ac_try_echo=$ac_try;;
23426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23427 (eval "$ac_link") 2>&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23431 { (case "(($ac_try" in
23432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23433 *) ac_try_echo=$ac_try;;
23435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23436 (eval "$ac_try") 2>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; }; then
23440 ac_cv_sizeof_wchar_t=`cat conftest.val`
23442 echo "$as_me: program exited with status $ac_status" >&5
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.$ac_ext >&5
23446 ( exit $ac_status )
23447 if test "$ac_cv_type_wchar_t" = yes; then
23448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23449 See \`config.log' for more details." >&5
23450 echo "$as_me: error: cannot compute sizeof (wchar_t)
23451 See \`config.log' for more details." >&2;}
23452 { (exit 77); exit 77; }; }
23454 ac_cv_sizeof_wchar_t=0
23457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23461 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23462 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23466 cat >>confdefs.h <<_ACEOF
23467 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23471 if test "$ac_cv_sizeof_wchar_t" != 0; then
23477 { echo "$as_me:$LINENO: checking for va_copy" >&5
23478 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23479 if test "${wx_cv_func_va_copy+set}" = set; then
23480 echo $ECHO_N "(cached) $ECHO_C" >&6
23484 ac_cpp='$CXXCPP $CPPFLAGS'
23485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23489 cat >conftest.$ac_ext <<_ACEOF
23491 #include <stdarg.h>
23492 void foo(char *f, ...)
23506 rm -f conftest.$ac_objext conftest$ac_exeext
23507 if { (ac_try="$ac_link"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_link") 2>conftest.er1
23515 grep -v '^ *+' conftest.er1 >conftest.err
23517 cat conftest.err >&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); } && {
23520 test -z "$ac_cxx_werror_flag" ||
23521 test ! -s conftest.err
23522 } && test -s conftest$ac_exeext &&
23523 $as_test_x conftest$ac_exeext; then
23524 wx_cv_func_va_copy=yes
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.$ac_ext >&5
23529 wx_cv_func_va_copy=no
23533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23534 conftest$ac_exeext conftest.$ac_ext
23536 ac_cpp='$CPP $CPPFLAGS'
23537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23545 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23547 if test $wx_cv_func_va_copy = "yes"; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define HAVE_VA_COPY 1
23553 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23554 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23555 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23556 echo $ECHO_N "(cached) $ECHO_C" >&6
23559 if test "$cross_compiling" = yes; then
23560 wx_cv_type_va_list_lvalue=yes
23563 cat >conftest.$ac_ext <<_ACEOF
23565 #include <stdarg.h>
23566 int foo(char *f, ...)
23571 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23579 return foo("hi", 17);
23582 rm -f conftest$ac_exeext
23583 if { (ac_try="$ac_link"
23584 case "(($ac_try" in
23585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23586 *) ac_try_echo=$ac_try;;
23588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23589 (eval "$ac_link") 2>&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23593 { (case "(($ac_try" in
23594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23595 *) ac_try_echo=$ac_try;;
23597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23598 (eval "$ac_try") 2>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); }; }; then
23602 wx_cv_type_va_list_lvalue=yes
23604 echo "$as_me: program exited with status $ac_status" >&5
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23608 ( exit $ac_status )
23609 wx_cv_type_va_list_lvalue=no
23611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23618 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23619 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23621 if test $wx_cv_type_va_list_lvalue != "yes"; then
23622 cat >>confdefs.h <<\_ACEOF
23623 #define VA_LIST_IS_ARRAY 1
23629 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23631 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23632 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23633 if test "${wx_cv_have_variadic_macros+set}" = set; then
23634 echo $ECHO_N "(cached) $ECHO_C" >&6
23638 ac_cpp='$CXXCPP $CPPFLAGS'
23639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23643 cat >conftest.$ac_ext <<_ACEOF
23646 cat confdefs.h >>conftest.$ac_ext
23647 cat >>conftest.$ac_ext <<_ACEOF
23648 /* end confdefs.h. */
23651 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23657 test("%s %d %p", "test", 1, 0);
23664 rm -f conftest.$ac_objext
23665 if { (ac_try="$ac_compile"
23666 case "(($ac_try" in
23667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23668 *) ac_try_echo=$ac_try;;
23670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23671 (eval "$ac_compile") 2>conftest.er1
23673 grep -v '^ *+' conftest.er1 >conftest.err
23675 cat conftest.err >&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } && {
23678 test -z "$ac_cxx_werror_flag" ||
23679 test ! -s conftest.err
23680 } && test -s conftest.$ac_objext; then
23681 wx_cv_have_variadic_macros=yes
23683 echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.$ac_ext >&5
23686 wx_cv_have_variadic_macros=no
23690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23692 ac_cpp='$CPP $CPPFLAGS'
23693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23700 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23701 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23703 if test $wx_cv_have_variadic_macros = "yes"; then
23704 cat >>confdefs.h <<\_ACEOF
23705 #define HAVE_VARIADIC_MACROS 1
23712 LARGEFILE_CPPFLAGS=
23713 # Check whether --enable-largefile was given.
23714 if test "${enable_largefile+set}" = set; then
23715 enableval=$enable_largefile;
23718 if test "$enable_largefile" != no; then
23721 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23722 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23723 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23724 echo $ECHO_N "(cached) $ECHO_C" >&6
23727 cat >conftest.$ac_ext <<_ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733 #define _FILE_OFFSET_BITS 64
23734 #include <sys/types.h>
23739 unsigned int field: sizeof(off_t) == 8;
23746 rm -f conftest.$ac_objext
23747 if { (ac_try="$ac_compile"
23748 case "(($ac_try" in
23749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23750 *) ac_try_echo=$ac_try;;
23752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23753 (eval "$ac_compile") 2>conftest.er1
23755 grep -v '^ *+' conftest.er1 >conftest.err
23757 cat conftest.err >&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); } && {
23760 test -z "$ac_c_werror_flag" ||
23761 test ! -s conftest.err
23762 } && test -s conftest.$ac_objext; then
23763 ac_cv_sys_file_offset_bits=64
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.$ac_ext >&5
23768 ac_cv_sys_file_offset_bits=no
23771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23775 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23776 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23778 if test "$ac_cv_sys_file_offset_bits" != no; then
23780 cat >>confdefs.h <<_ACEOF
23781 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23786 if test "x$wx_largefile" != "xyes"; then
23788 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23789 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23790 if test "${ac_cv_sys_large_files+set}" = set; then
23791 echo $ECHO_N "(cached) $ECHO_C" >&6
23794 cat >conftest.$ac_ext <<_ACEOF
23797 cat confdefs.h >>conftest.$ac_ext
23798 cat >>conftest.$ac_ext <<_ACEOF
23799 /* end confdefs.h. */
23800 #define _LARGE_FILES 1
23801 #include <sys/types.h>
23806 unsigned int field: sizeof(off_t) == 8;
23813 rm -f conftest.$ac_objext
23814 if { (ac_try="$ac_compile"
23815 case "(($ac_try" in
23816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23817 *) ac_try_echo=$ac_try;;
23819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23820 (eval "$ac_compile") 2>conftest.er1
23822 grep -v '^ *+' conftest.er1 >conftest.err
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } && {
23827 test -z "$ac_c_werror_flag" ||
23828 test ! -s conftest.err
23829 } && test -s conftest.$ac_objext; then
23830 ac_cv_sys_large_files=1
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23835 ac_cv_sys_large_files=no
23838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23842 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23843 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23845 if test "$ac_cv_sys_large_files" != no; then
23847 cat >>confdefs.h <<_ACEOF
23848 #define _LARGE_FILES $ac_cv_sys_large_files
23855 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23856 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23857 if test "x$wx_largefile" = "xyes"; then
23858 cat >>confdefs.h <<\_ACEOF
23859 #define HAVE_LARGEFILE_SUPPORT 1
23863 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23864 echo "${ECHO_T}$wx_largefile" >&6; }
23867 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23868 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23869 elif test "$ac_cv_sys_large_files" = 1; then
23870 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23873 if test -n "$LARGEFILE_CPPFLAGS"; then
23874 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23876 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23877 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23878 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23879 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 ac_cpp='$CXXCPP $CPPFLAGS'
23885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23889 cat >conftest.$ac_ext <<_ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23900 #ifndef __STDC_EXT__
23908 rm -f conftest.$ac_objext
23909 if { (ac_try="$ac_compile"
23910 case "(($ac_try" in
23911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23912 *) ac_try_echo=$ac_try;;
23914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23915 (eval "$ac_compile") 2>conftest.er1
23917 grep -v '^ *+' conftest.er1 >conftest.err
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } && {
23922 test -z "$ac_cxx_werror_flag" ||
23923 test ! -s conftest.err
23924 } && test -s conftest.$ac_objext; then
23925 wx_cv_STDC_EXT_required=no
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5
23930 wx_cv_STDC_EXT_required=yes
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23936 ac_cpp='$CPP $CPPFLAGS'
23937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23944 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23945 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23946 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23947 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958 old_CPPFLAGS="$CPPFLAGS"
23959 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23960 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23961 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23962 if test "${ac_cv_sys_largefile_source+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23966 cat >conftest.$ac_ext <<_ACEOF
23969 cat confdefs.h >>conftest.$ac_ext
23970 cat >>conftest.$ac_ext <<_ACEOF
23971 /* end confdefs.h. */
23972 #include <sys/types.h> /* for off_t */
23977 int (*fp) (FILE *, off_t, int) = fseeko;
23978 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23983 rm -f conftest.$ac_objext conftest$ac_exeext
23984 if { (ac_try="$ac_link"
23985 case "(($ac_try" in
23986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23987 *) ac_try_echo=$ac_try;;
23989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23990 (eval "$ac_link") 2>conftest.er1
23992 grep -v '^ *+' conftest.er1 >conftest.err
23994 cat conftest.err >&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } && {
23997 test -z "$ac_cxx_werror_flag" ||
23998 test ! -s conftest.err
23999 } && test -s conftest$ac_exeext &&
24000 $as_test_x conftest$ac_exeext; then
24001 ac_cv_sys_largefile_source=no; break
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24010 conftest$ac_exeext conftest.$ac_ext
24011 cat >conftest.$ac_ext <<_ACEOF
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24017 #define _LARGEFILE_SOURCE 1
24018 #include <sys/types.h> /* for off_t */
24023 int (*fp) (FILE *, off_t, int) = fseeko;
24024 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24029 rm -f conftest.$ac_objext conftest$ac_exeext
24030 if { (ac_try="$ac_link"
24031 case "(($ac_try" in
24032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24033 *) ac_try_echo=$ac_try;;
24035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24036 (eval "$ac_link") 2>conftest.er1
24038 grep -v '^ *+' conftest.er1 >conftest.err
24040 cat conftest.err >&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); } && {
24043 test -z "$ac_cxx_werror_flag" ||
24044 test ! -s conftest.err
24045 } && test -s conftest$ac_exeext &&
24046 $as_test_x conftest$ac_exeext; then
24047 ac_cv_sys_largefile_source=1; break
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24056 conftest$ac_exeext conftest.$ac_ext
24057 ac_cv_sys_largefile_source=unknown
24061 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24062 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24063 case $ac_cv_sys_largefile_source in #(
24066 cat >>confdefs.h <<_ACEOF
24067 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24073 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24074 # in glibc 2.1.3, but that breaks too many other things.
24075 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24076 if test $ac_cv_sys_largefile_source != unknown; then
24078 cat >>confdefs.h <<\_ACEOF
24079 #define HAVE_FSEEKO 1
24084 CPPFLAGS="$old_CPPFLAGS"
24086 ac_cpp='$CPP $CPPFLAGS'
24087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24091 if test "$ac_cv_sys_largefile_source" != no; then
24092 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24095 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24096 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24097 if test "${ac_cv_c_bigendian+set}" = set; then
24098 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 ac_cv_c_bigendian=unknown
24101 # See if sys/param.h defines the BYTE_ORDER macro.
24102 cat >conftest.$ac_ext <<_ACEOF
24105 cat confdefs.h >>conftest.$ac_ext
24106 cat >>conftest.$ac_ext <<_ACEOF
24107 /* end confdefs.h. */
24108 #include <sys/types.h>
24109 #include <sys/param.h>
24114 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24115 bogus endian macros
24121 rm -f conftest.$ac_objext
24122 if { (ac_try="$ac_compile"
24123 case "(($ac_try" in
24124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125 *) ac_try_echo=$ac_try;;
24127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24128 (eval "$ac_compile") 2>conftest.er1
24130 grep -v '^ *+' conftest.er1 >conftest.err
24132 cat conftest.err >&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } && {
24135 test -z "$ac_c_werror_flag" ||
24136 test ! -s conftest.err
24137 } && test -s conftest.$ac_objext; then
24138 # It does; now see whether it defined to BIG_ENDIAN or not.
24139 cat >conftest.$ac_ext <<_ACEOF
24142 cat confdefs.h >>conftest.$ac_ext
24143 cat >>conftest.$ac_ext <<_ACEOF
24144 /* end confdefs.h. */
24145 #include <sys/types.h>
24146 #include <sys/param.h>
24151 #if BYTE_ORDER != BIG_ENDIAN
24158 rm -f conftest.$ac_objext
24159 if { (ac_try="$ac_compile"
24160 case "(($ac_try" in
24161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24162 *) ac_try_echo=$ac_try;;
24164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24165 (eval "$ac_compile") 2>conftest.er1
24167 grep -v '^ *+' conftest.er1 >conftest.err
24169 cat conftest.err >&5
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); } && {
24172 test -z "$ac_c_werror_flag" ||
24173 test ! -s conftest.err
24174 } && test -s conftest.$ac_objext; then
24175 ac_cv_c_bigendian=yes
24177 echo "$as_me: failed program was:" >&5
24178 sed 's/^/| /' conftest.$ac_ext >&5
24180 ac_cv_c_bigendian=no
24183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 echo "$as_me: failed program was:" >&5
24186 sed 's/^/| /' conftest.$ac_ext >&5
24191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24192 if test $ac_cv_c_bigendian = unknown; then
24193 if test "$cross_compiling" = yes; then
24194 ac_cv_c_bigendian=unknown
24196 cat >conftest.$ac_ext <<_ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24203 /* Are we little or big endian? From Harbison&Steele. */
24207 char c[sizeof (long)];
24210 exit (u.c[sizeof (long) - 1] == 1);
24213 rm -f conftest$ac_exeext
24214 if { (ac_try="$ac_link"
24215 case "(($ac_try" in
24216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217 *) ac_try_echo=$ac_try;;
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220 (eval "$ac_link") 2>&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24224 { (case "(($ac_try" in
24225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24226 *) ac_try_echo=$ac_try;;
24228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24229 (eval "$ac_try") 2>&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; }; then
24233 ac_cv_c_bigendian=no
24235 echo "$as_me: program exited with status $ac_status" >&5
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24239 ( exit $ac_status )
24240 ac_cv_c_bigendian=yes
24242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24248 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24249 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24250 if test $ac_cv_c_bigendian = unknown; then
24251 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24252 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24254 if test $ac_cv_c_bigendian = yes; then
24255 cat >>confdefs.h <<\_ACEOF
24256 #define WORDS_BIGENDIAN 1
24265 ac_cpp='$CXXCPP $CPPFLAGS'
24266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24272 for ac_header in iostream
24274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 cat >conftest.$ac_ext <<_ACEOF
24283 cat confdefs.h >>conftest.$ac_ext
24284 cat >>conftest.$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24288 #include <$ac_header>
24290 rm -f conftest.$ac_objext
24291 if { (ac_try="$ac_compile"
24292 case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_compile") 2>conftest.er1
24299 grep -v '^ *+' conftest.er1 >conftest.err
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_cxx_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest.$ac_objext; then
24307 eval "$as_ac_Header=yes"
24309 echo "$as_me: failed program was:" >&5
24310 sed 's/^/| /' conftest.$ac_ext >&5
24312 eval "$as_ac_Header=no"
24315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24317 ac_res=`eval echo '${'$as_ac_Header'}'`
24318 { echo "$as_me:$LINENO: result: $ac_res" >&5
24319 echo "${ECHO_T}$ac_res" >&6; }
24320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24321 cat >>confdefs.h <<_ACEOF
24322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24330 if test "$ac_cv_header_iostream" = "yes" ; then
24333 cat >>confdefs.h <<\_ACEOF
24334 #define wxUSE_IOSTREAMH 1
24340 ac_cpp='$CPP $CPPFLAGS'
24341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24348 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24349 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24350 if test "${wx_cv_explicit+set}" = set; then
24351 echo $ECHO_N "(cached) $ECHO_C" >&6
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24362 cat >conftest.$ac_ext <<_ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24369 class Foo { public: explicit Foo(int) {} };
24381 rm -f conftest.$ac_objext
24382 if { (ac_try="$ac_compile"
24383 case "(($ac_try" in
24384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24385 *) ac_try_echo=$ac_try;;
24387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24388 (eval "$ac_compile") 2>conftest.er1
24390 grep -v '^ *+' conftest.er1 >conftest.err
24392 cat conftest.err >&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } && {
24395 test -z "$ac_cxx_werror_flag" ||
24396 test ! -s conftest.err
24397 } && test -s conftest.$ac_objext; then
24399 cat >conftest.$ac_ext <<_ACEOF
24402 cat confdefs.h >>conftest.$ac_ext
24403 cat >>conftest.$ac_ext <<_ACEOF
24404 /* end confdefs.h. */
24406 class Foo { public: explicit Foo(int) {} };
24407 static void TakeFoo(const Foo& foo) { }
24420 rm -f conftest.$ac_objext
24421 if { (ac_try="$ac_compile"
24422 case "(($ac_try" in
24423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24424 *) ac_try_echo=$ac_try;;
24426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24427 (eval "$ac_compile") 2>conftest.er1
24429 grep -v '^ *+' conftest.er1 >conftest.err
24431 cat conftest.err >&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } && {
24434 test -z "$ac_cxx_werror_flag" ||
24435 test ! -s conftest.err
24436 } && test -s conftest.$ac_objext; then
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24449 echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.$ac_ext >&5
24456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24459 ac_cpp='$CPP $CPPFLAGS'
24460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24466 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24467 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24469 if test "$wx_cv_explicit" = "yes"; then
24470 cat >>confdefs.h <<\_ACEOF
24471 #define HAVE_EXPLICIT 1
24477 if test "x$SUNCXX" = xyes; then
24478 CXXFLAGS="-features=tmplife $CXXFLAGS"
24481 if test "x$SUNCC" = xyes; then
24482 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24485 if test "x$SGICC" = "xyes"; then
24486 CFLAGS="-woff 3970 $CFLAGS"
24488 if test "x$SGICXX" = "xyes"; then
24489 CXXFLAGS="-woff 3970 $CXXFLAGS"
24492 if test "x$HPCC" = "xyes"; then
24493 CFLAGS="+W 2011,2450 $CFLAGS"
24495 if test "x$HPCXX" = "xyes"; then
24496 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24499 if test "x$COMPAQCXX" = "xyes"; then
24500 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24504 ac_cpp='$CXXCPP $CPPFLAGS'
24505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24510 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24511 if test "$wxUSE_UNICODE" = "yes"; then
24512 std_string="std::wstring"
24513 char_type="wchar_t"
24515 std_string="std::string"
24519 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24520 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24521 if test "${wx_cv_class_stdstring+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 cat >conftest.$ac_ext <<_ACEOF
24528 cat confdefs.h >>conftest.$ac_ext
24529 cat >>conftest.$ac_ext <<_ACEOF
24530 /* end confdefs.h. */
24540 rm -f conftest.$ac_objext
24541 if { (ac_try="$ac_compile"
24542 case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_compile") 2>conftest.er1
24549 grep -v '^ *+' conftest.er1 >conftest.err
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } && {
24554 test -z "$ac_cxx_werror_flag" ||
24555 test ! -s conftest.err
24556 } && test -s conftest.$ac_objext; then
24557 wx_cv_class_stdstring=yes
24559 echo "$as_me: failed program was:" >&5
24560 sed 's/^/| /' conftest.$ac_ext >&5
24562 wx_cv_class_stdstring=no
24566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24570 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24571 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24573 if test "$wx_cv_class_stdstring" = yes; then
24574 if test "$wxUSE_UNICODE" = "yes"; then
24575 cat >>confdefs.h <<\_ACEOF
24576 #define HAVE_STD_WSTRING 1
24581 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24582 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24583 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24584 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 cat >conftest.$ac_ext <<_ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24594 #ifdef HAVE_WCHAR_H
24596 # include <stddef.h>
24598 # include <wchar.h>
24600 #ifdef HAVE_STDLIB_H
24601 # include <stdlib.h>
24609 std::basic_string<$char_type> foo;
24610 const $char_type* dummy = foo.c_str();
24615 rm -f conftest.$ac_objext
24616 if { (ac_try="$ac_compile"
24617 case "(($ac_try" in
24618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24619 *) ac_try_echo=$ac_try;;
24621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24622 (eval "$ac_compile") 2>conftest.er1
24624 grep -v '^ *+' conftest.er1 >conftest.err
24626 cat conftest.err >&5
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); } && {
24629 test -z "$ac_cxx_werror_flag" ||
24630 test ! -s conftest.err
24631 } && test -s conftest.$ac_objext; then
24632 wx_cv_class_stdbasicstring=yes
24634 echo "$as_me: failed program was:" >&5
24635 sed 's/^/| /' conftest.$ac_ext >&5
24637 wx_cv_class_stdbasicstring=no
24641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24645 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24646 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24648 if test "$wx_cv_class_stdbasicstring" != yes; then
24649 if test "$wxUSE_STL" = "yes"; then
24650 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24651 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24652 { (exit 1); exit 1; }; }
24653 elif test "$wxUSE_STD_STRING" = "yes"; then
24654 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24655 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24656 { (exit 1); exit 1; }; }
24658 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24659 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24660 wxUSE_STD_STRING=no
24666 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24667 { echo "$as_me:$LINENO: checking for std::istream" >&5
24668 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24669 if test "${ac_cv_type_std__istream+set}" = set; then
24670 echo $ECHO_N "(cached) $ECHO_C" >&6
24672 cat >conftest.$ac_ext <<_ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 #include <iostream>
24680 typedef std::istream ac__type_new_;
24684 if ((ac__type_new_ *) 0)
24686 if (sizeof (ac__type_new_))
24692 rm -f conftest.$ac_objext
24693 if { (ac_try="$ac_compile"
24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_compile") 2>conftest.er1
24701 grep -v '^ *+' conftest.er1 >conftest.err
24703 cat conftest.err >&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); } && {
24706 test -z "$ac_cxx_werror_flag" ||
24707 test ! -s conftest.err
24708 } && test -s conftest.$ac_objext; then
24709 ac_cv_type_std__istream=yes
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.$ac_ext >&5
24714 ac_cv_type_std__istream=no
24717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24719 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24720 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24721 if test $ac_cv_type_std__istream = yes; then
24723 cat >>confdefs.h <<_ACEOF
24724 #define HAVE_STD__ISTREAM 1
24729 wxUSE_STD_IOSTREAM=no
24731 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24732 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24733 if test "${ac_cv_type_std__ostream+set}" = set; then
24734 echo $ECHO_N "(cached) $ECHO_C" >&6
24736 cat >conftest.$ac_ext <<_ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24742 #include <iostream>
24744 typedef std::ostream ac__type_new_;
24748 if ((ac__type_new_ *) 0)
24750 if (sizeof (ac__type_new_))
24756 rm -f conftest.$ac_objext
24757 if { (ac_try="$ac_compile"
24758 case "(($ac_try" in
24759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24760 *) ac_try_echo=$ac_try;;
24762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24763 (eval "$ac_compile") 2>conftest.er1
24765 grep -v '^ *+' conftest.er1 >conftest.err
24767 cat conftest.err >&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } && {
24770 test -z "$ac_cxx_werror_flag" ||
24771 test ! -s conftest.err
24772 } && test -s conftest.$ac_objext; then
24773 ac_cv_type_std__ostream=yes
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24778 ac_cv_type_std__ostream=no
24781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24784 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24785 if test $ac_cv_type_std__ostream = yes; then
24787 cat >>confdefs.h <<_ACEOF
24788 #define HAVE_STD__OSTREAM 1
24793 wxUSE_STD_IOSTREAM=no
24797 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24798 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24799 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24800 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24801 { (exit 1); exit 1; }; }
24803 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24804 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24809 if test "$wxUSE_STL" = "yes"; then
24810 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24811 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24812 if test "${wx_cv_lib_stl+set}" = set; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24815 cat >conftest.$ac_ext <<_ACEOF
24818 cat confdefs.h >>conftest.$ac_ext
24819 cat >>conftest.$ac_ext <<_ACEOF
24820 /* end confdefs.h. */
24822 #include <functional>
24823 #include <algorithm>
24829 std::vector<int> moo;
24830 std::list<int> foo;
24831 std::vector<int>::iterator it =
24832 std::find_if(moo.begin(), moo.end(),
24833 std::bind2nd(std::less<int>(), 3));
24838 rm -f conftest.$ac_objext
24839 if { (ac_try="$ac_compile"
24840 case "(($ac_try" in
24841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24842 *) ac_try_echo=$ac_try;;
24844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24845 (eval "$ac_compile") 2>conftest.er1
24847 grep -v '^ *+' conftest.er1 >conftest.err
24849 cat conftest.err >&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); } && {
24852 test -z "$ac_cxx_werror_flag" ||
24853 test ! -s conftest.err
24854 } && test -s conftest.$ac_objext; then
24857 echo "$as_me: failed program was:" >&5
24858 sed 's/^/| /' conftest.$ac_ext >&5
24864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24867 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24868 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24870 if test "$wx_cv_lib_stl" != yes; then
24871 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24872 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24873 { (exit 1); exit 1; }; }
24876 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24877 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24878 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24879 echo $ECHO_N "(cached) $ECHO_C" >&6
24881 cat >conftest.$ac_ext <<_ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24891 std::string foo, bar;
24893 foo.compare(1, 1, bar);
24894 foo.compare(1, 1, bar, 1, 1);
24896 foo.compare(1, 1, "");
24897 foo.compare(1, 1, "", 2);
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24911 grep -v '^ *+' conftest.er1 >conftest.err
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_func_stdstring_compare=yes
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24924 wx_cv_func_stdstring_compare=no
24928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24931 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24932 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24934 if test "$wx_cv_func_stdstring_compare" = yes; then
24935 cat >>confdefs.h <<\_ACEOF
24936 #define HAVE_STD_STRING_COMPARE 1
24941 if test "$wx_cv_class_gnuhashmapset" = yes; then
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_EXT_HASH_MAP 1
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_GNU_CXX_HASH_MAP 1
24952 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24953 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24954 if test "${ac_cv_header_unordered_map+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 cat >conftest.$ac_ext <<_ACEOF
24960 cat confdefs.h >>conftest.$ac_ext
24961 cat >>conftest.$ac_ext <<_ACEOF
24962 /* end confdefs.h. */
24966 #include <unordered_map>
24968 rm -f conftest.$ac_objext
24969 if { (ac_try="$ac_compile"
24970 case "(($ac_try" in
24971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24972 *) ac_try_echo=$ac_try;;
24974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24975 (eval "$ac_compile") 2>conftest.er1
24977 grep -v '^ *+' conftest.er1 >conftest.err
24979 cat conftest.err >&5
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); } && {
24982 test -z "$ac_cxx_werror_flag" ||
24983 test ! -s conftest.err
24984 } && test -s conftest.$ac_objext; then
24985 ac_cv_header_unordered_map=yes
24987 echo "$as_me: failed program was:" >&5
24988 sed 's/^/| /' conftest.$ac_ext >&5
24990 ac_cv_header_unordered_map=no
24993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24995 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24996 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24997 if test $ac_cv_header_unordered_map = yes; then
24998 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24999 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25000 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25001 echo $ECHO_N "(cached) $ECHO_C" >&6
25003 cat >conftest.$ac_ext <<_ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h. */
25009 #include <unordered_map>
25010 #include <unordered_set>
25014 std::unordered_map<double*, char*> test1;
25015 std::unordered_set<char*> test2;
25020 rm -f conftest.$ac_objext
25021 if { (ac_try="$ac_compile"
25022 case "(($ac_try" in
25023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25024 *) ac_try_echo=$ac_try;;
25026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25027 (eval "$ac_compile") 2>conftest.er1
25029 grep -v '^ *+' conftest.er1 >conftest.err
25031 cat conftest.err >&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } && {
25034 test -z "$ac_cxx_werror_flag" ||
25035 test ! -s conftest.err
25036 } && test -s conftest.$ac_objext; then
25037 wx_cv_class_stdunorderedmapset=yes
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25042 wx_cv_class_stdunorderedmapset=no
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25049 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25050 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25055 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25056 cat >>confdefs.h <<\_ACEOF
25057 #define HAVE_STD_UNORDERED_MAP 1
25060 cat >>confdefs.h <<\_ACEOF
25061 #define HAVE_STD_UNORDERED_SET 1
25065 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25066 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25067 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 cat >conftest.$ac_ext <<_ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25079 #include <tr1/unordered_map>
25081 rm -f conftest.$ac_objext
25082 if { (ac_try="$ac_compile"
25083 case "(($ac_try" in
25084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25085 *) ac_try_echo=$ac_try;;
25087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25088 (eval "$ac_compile") 2>conftest.er1
25090 grep -v '^ *+' conftest.er1 >conftest.err
25092 cat conftest.err >&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); } && {
25095 test -z "$ac_cxx_werror_flag" ||
25096 test ! -s conftest.err
25097 } && test -s conftest.$ac_objext; then
25098 ac_cv_header_tr1_unordered_map=yes
25100 echo "$as_me: failed program was:" >&5
25101 sed 's/^/| /' conftest.$ac_ext >&5
25103 ac_cv_header_tr1_unordered_map=no
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25109 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25110 if test $ac_cv_header_tr1_unordered_map = yes; then
25111 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25112 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25113 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25116 cat >conftest.$ac_ext <<_ACEOF
25119 cat confdefs.h >>conftest.$ac_ext
25120 cat >>conftest.$ac_ext <<_ACEOF
25121 /* end confdefs.h. */
25122 #include <tr1/unordered_map>
25123 #include <tr1/unordered_set>
25127 std::tr1::unordered_map<double*, char*> test1;
25128 std::tr1::unordered_set<char*> test2;
25129 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25130 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25136 rm -f conftest.$ac_objext
25137 if { (ac_try="$ac_compile"
25138 case "(($ac_try" in
25139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25140 *) ac_try_echo=$ac_try;;
25142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25143 (eval "$ac_compile") 2>conftest.er1
25145 grep -v '^ *+' conftest.er1 >conftest.err
25147 cat conftest.err >&5
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); } && {
25150 test -z "$ac_cxx_werror_flag" ||
25151 test ! -s conftest.err
25152 } && test -s conftest.$ac_objext; then
25153 wx_cv_class_tr1unorderedmapset=yes
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.$ac_ext >&5
25158 wx_cv_class_tr1unorderedmapset=no
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25166 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25171 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25172 cat >>confdefs.h <<\_ACEOF
25173 #define HAVE_TR1_UNORDERED_MAP 1
25176 cat >>confdefs.h <<\_ACEOF
25177 #define HAVE_TR1_UNORDERED_SET 1
25181 { echo "$as_me:$LINENO: checking for hash_map" >&5
25182 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25183 if test "${ac_cv_header_hash_map+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 cat >conftest.$ac_ext <<_ACEOF
25189 cat confdefs.h >>conftest.$ac_ext
25190 cat >>conftest.$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25195 #include <hash_map>
25197 rm -f conftest.$ac_objext
25198 if { (ac_try="$ac_compile"
25199 case "(($ac_try" in
25200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25201 *) ac_try_echo=$ac_try;;
25203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25204 (eval "$ac_compile") 2>conftest.er1
25206 grep -v '^ *+' conftest.er1 >conftest.err
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } && {
25211 test -z "$ac_cxx_werror_flag" ||
25212 test ! -s conftest.err
25213 } && test -s conftest.$ac_objext; then
25214 ac_cv_header_hash_map=yes
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25219 ac_cv_header_hash_map=no
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25225 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25226 if test $ac_cv_header_hash_map = yes; then
25227 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25228 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25229 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 cat >conftest.$ac_ext <<_ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 #include <hash_map>
25239 #include <hash_set>
25243 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25244 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25249 rm -f conftest.$ac_objext
25250 if { (ac_try="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25258 grep -v '^ *+' conftest.er1 >conftest.err
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_cxx_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 wx_cv_class_stdhashmapset=yes
25268 echo "$as_me: failed program was:" >&5
25269 sed 's/^/| /' conftest.$ac_ext >&5
25271 wx_cv_class_stdhashmapset=no
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25279 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25284 if test "$wx_cv_class_stdhashmapset" = yes; then
25285 cat >>confdefs.h <<\_ACEOF
25286 #define HAVE_HASH_MAP 1
25289 cat >>confdefs.h <<\_ACEOF
25290 #define HAVE_STD_HASH_MAP 1
25295 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25296 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25297 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 cat >conftest.$ac_ext <<_ACEOF
25303 cat confdefs.h >>conftest.$ac_ext
25304 cat >>conftest.$ac_ext <<_ACEOF
25305 /* end confdefs.h. */
25309 #include <ext/hash_map>
25311 rm -f conftest.$ac_objext
25312 if { (ac_try="$ac_compile"
25313 case "(($ac_try" in
25314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25315 *) ac_try_echo=$ac_try;;
25317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25318 (eval "$ac_compile") 2>conftest.er1
25320 grep -v '^ *+' conftest.er1 >conftest.err
25322 cat conftest.err >&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); } && {
25325 test -z "$ac_cxx_werror_flag" ||
25326 test ! -s conftest.err
25327 } && test -s conftest.$ac_objext; then
25328 ac_cv_header_ext_hash_map=yes
25330 echo "$as_me: failed program was:" >&5
25331 sed 's/^/| /' conftest.$ac_ext >&5
25333 ac_cv_header_ext_hash_map=no
25336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25339 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25340 if test $ac_cv_header_ext_hash_map = yes; then
25341 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25342 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25343 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 cat >conftest.$ac_ext <<_ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352 #include <ext/hash_map>
25353 #include <ext/hash_set>
25357 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25358 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25363 rm -f conftest.$ac_objext
25364 if { (ac_try="$ac_compile"
25365 case "(($ac_try" in
25366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25367 *) ac_try_echo=$ac_try;;
25369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25370 (eval "$ac_compile") 2>conftest.er1
25372 grep -v '^ *+' conftest.er1 >conftest.err
25374 cat conftest.err >&5
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); } && {
25377 test -z "$ac_cxx_werror_flag" ||
25378 test ! -s conftest.err
25379 } && test -s conftest.$ac_objext; then
25380 wx_cv_class_gnuhashmapset=yes
25382 echo "$as_me: failed program was:" >&5
25383 sed 's/^/| /' conftest.$ac_ext >&5
25385 wx_cv_class_gnuhashmapset=no
25388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25392 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25393 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25404 if test -n "$GCC"; then
25405 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25406 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25407 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25411 cat >conftest.$ac_ext <<_ACEOF
25414 cat confdefs.h >>conftest.$ac_ext
25415 cat >>conftest.$ac_ext <<_ACEOF
25416 /* end confdefs.h. */
25422 unsigned int value=0;
25423 /* wxAtomicInc doesn't use return value here */
25424 __sync_fetch_and_add(&value, 2);
25425 __sync_sub_and_fetch(&value, 1);
25426 /* but wxAtomicDec does, so mimic that: */
25427 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25433 rm -f conftest.$ac_objext conftest$ac_exeext
25434 if { (ac_try="$ac_link"
25435 case "(($ac_try" in
25436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25437 *) ac_try_echo=$ac_try;;
25439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25440 (eval "$ac_link") 2>conftest.er1
25442 grep -v '^ *+' conftest.er1 >conftest.err
25444 cat conftest.err >&5
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); } && {
25447 test -z "$ac_cxx_werror_flag" ||
25448 test ! -s conftest.err
25449 } && test -s conftest$ac_exeext &&
25450 $as_test_x conftest$ac_exeext; then
25451 wx_cv_cc_gcc_atomic_builtins=yes
25453 echo "$as_me: failed program was:" >&5
25454 sed 's/^/| /' conftest.$ac_ext >&5
25456 wx_cv_cc_gcc_atomic_builtins=no
25459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25460 conftest$ac_exeext conftest.$ac_ext
25464 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25465 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25466 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25467 cat >>confdefs.h <<\_ACEOF
25468 #define HAVE_GCC_ATOMIC_BUILTINS 1
25476 ac_cpp='$CPP $CPPFLAGS'
25477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25484 /usr/local/include \
25485 /usr/local/X11/include \
25486 /usr/local/include/X11 \
25487 /usr/local/X11R7/include \
25488 /usr/local/X11R6/include \
25489 /usr/local/include/X11R7 \
25490 /usr/local/include/X11R6 \
25492 /usr/Motif-2.1/include \
25493 /usr/Motif-1.2/include \
25494 /usr/include/Motif1.2 \
25497 /usr/openwin/include \
25501 /usr/X11R7/include \
25502 /usr/X11R6/include \
25503 /usr/X11R6.4/include \
25505 /usr/include/X11R7 \
25506 /usr/include/X11R6 \
25511 /usr/XFree86/include/X11 \
25514 /usr/local/X1R5/include \
25515 /usr/local/include/X11R5 \
25516 /usr/X11R5/include \
25517 /usr/include/X11R5 \
25519 /usr/local/X11R4/include \
25520 /usr/local/include/X11R4 \
25521 /usr/X11R4/include \
25522 /usr/include/X11R4 \
25524 /usr/openwin/share/include"
25526 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25527 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25531 if test "${wx_cv_std_libpath+set}" = set; then
25532 echo $ECHO_N "(cached) $ECHO_C" >&6
25535 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25536 for e in a so sl dylib dll.a; do
25538 if test -f $libc; then
25541 cat >conftest.$ac_ext <<_ACEOF
25542 int main() { return 0; }
25544 rm -f conftest.$ac_objext conftest$ac_exeext
25545 if { (ac_try="$ac_link"
25546 case "(($ac_try" in
25547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25548 *) ac_try_echo=$ac_try;;
25550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25551 (eval "$ac_link") 2>conftest.er1
25553 grep -v '^ *+' conftest.er1 >conftest.err
25555 cat conftest.err >&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } && {
25558 test -z "$ac_c_werror_flag" ||
25559 test ! -s conftest.err
25560 } && test -s conftest$ac_exeext &&
25561 $as_test_x conftest$ac_exeext; then
25562 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.$ac_ext >&5
25570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25571 conftest$ac_exeext conftest.$ac_ext
25573 if test "x$wx_cv_std_libpath" != "x"; then
25579 if test "x$wx_cv_std_libpath" = "x"; then
25580 wx_cv_std_libpath="lib"
25589 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25590 wx_cv_std_libpath="lib/64"
25592 wx_cv_std_libpath="lib"
25597 if test "$ac_cv_sizeof_void_p" = 8 -a \
25598 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25599 wx_cv_std_libpath="lib64"
25601 wx_cv_std_libpath="lib"
25606 wx_cv_std_libpath="lib";
25610 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25611 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25613 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25615 if test "$build" != "$host" -a "$GCC" = yes; then
25616 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25617 cross_root=`dirname $cross_root`
25618 cross_root=`dirname $cross_root`
25620 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25621 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25622 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25624 if test -z "$PKG_CONFIG_PATH"; then
25625 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25626 export PKG_CONFIG_PATH
25629 if test -z "$x_includes" -o "$x_includes" = NONE; then
25632 for ac_dir in $SEARCH_INCLUDE /usr/include;
25634 if test -f "$ac_dir/X11/Intrinsic.h"; then
25635 ac_find_includes=$ac_dir
25640 x_includes=$ac_find_includes
25642 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25645 for ac_dir in $SEARCH_LIB;
25647 for ac_extension in a so sl dylib dll.a; do
25648 if test -f "$ac_dir/libXt.$ac_extension"; then
25649 ac_find_libraries=$ac_dir
25655 x_libraries=$ac_find_libraries
25661 cat >confcache <<\_ACEOF
25662 # This file is a shell script that caches the results of configure
25663 # tests run on this system so they can be shared between configure
25664 # scripts and configure runs, see configure's option --config-cache.
25665 # It is not useful on other systems. If it contains results you don't
25666 # want to keep, you may remove or edit it.
25668 # config.status only pays attention to the cache file if you give it
25669 # the --recheck option to rerun configure.
25671 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25672 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25673 # following values.
25677 # The following way of writing the cache mishandles newlines in values,
25678 # but we know of no workaround that is simple, portable, and efficient.
25679 # So, we kill variables containing newlines.
25680 # Ultrix sh set writes to stderr and can't be redirected directly,
25681 # and sets the high bit in the cache file unless we assign to the vars.
25683 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25684 eval ac_val=\$$ac_var
25688 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25689 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25692 _ | IFS | as_nl) ;; #(
25693 *) $as_unset $ac_var ;;
25699 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25700 *${as_nl}ac_space=\ *)
25701 # `set' does not quote correctly, so add quotes (double-quote
25702 # substitution turns \\\\ into \\, and sed turns \\ into \).
25705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25708 # `set' quotes correctly as required by POSIX, so do not add quotes.
25709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25720 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25722 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25723 if test -w "$cache_file"; then
25724 test "x$cache_file" != "x/dev/null" &&
25725 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25726 echo "$as_me: updating cache $cache_file" >&6;}
25727 cat confcache >$cache_file
25729 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25730 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25735 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25736 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25737 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25738 if test "${wx_cv_lib_glibc21+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 cat >conftest.$ac_ext <<_ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25748 #include <features.h>
25753 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25761 rm -f conftest.$ac_objext
25762 if { (ac_try="$ac_compile"
25763 case "(($ac_try" in
25764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25765 *) ac_try_echo=$ac_try;;
25767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25768 (eval "$ac_compile") 2>conftest.er1
25770 grep -v '^ *+' conftest.er1 >conftest.err
25772 cat conftest.err >&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } && {
25775 test -z "$ac_c_werror_flag" ||
25776 test ! -s conftest.err
25777 } && test -s conftest.$ac_objext; then
25779 wx_cv_lib_glibc21=yes
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25786 wx_cv_lib_glibc21=no
25791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25794 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25795 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25796 if test "$wx_cv_lib_glibc21" = "yes"; then
25797 cat >>confdefs.h <<\_ACEOF
25798 #define wxHAVE_GLIBC2 1
25804 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25805 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25806 cat >>confdefs.h <<\_ACEOF
25807 #define _GNU_SOURCE 1
25818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 cat >conftest.$ac_ext <<_ACEOF
25827 cat confdefs.h >>conftest.$ac_ext
25828 cat >>conftest.$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25832 #define $ac_func innocuous_$ac_func
25834 /* System header to define __stub macros and hopefully few prototypes,
25835 which can conflict with char $ac_func (); below.
25836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25837 <limits.h> exists even on freestanding compilers. */
25840 # include <limits.h>
25842 # include <assert.h>
25847 /* Override any GCC internal prototype to avoid an error.
25848 Use char because int might match the return type of a GCC
25849 builtin and then its argument prototype would still apply. */
25854 /* The GNU C library defines this for functions which it implements
25855 to always fail with ENOSYS. Some functions are actually named
25856 something starting with __ and the normal name is an alias. */
25857 #if defined __stub_$ac_func || defined __stub___$ac_func
25864 return $ac_func ();
25869 rm -f conftest.$ac_objext conftest$ac_exeext
25870 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest$ac_exeext &&
25886 $as_test_x conftest$ac_exeext; then
25887 eval "$as_ac_var=yes"
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25892 eval "$as_ac_var=no"
25895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25896 conftest$ac_exeext conftest.$ac_ext
25898 ac_res=`eval echo '${'$as_ac_var'}'`
25899 { echo "$as_me:$LINENO: result: $ac_res" >&5
25900 echo "${ECHO_T}$ac_res" >&6; }
25901 if test `eval echo '${'$as_ac_var'}'` = yes; then
25902 cat >>confdefs.h <<_ACEOF
25903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25910 for ac_func in floor
25912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25913 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25915 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25916 echo $ECHO_N "(cached) $ECHO_C" >&6
25918 cat >conftest.$ac_ext <<_ACEOF
25921 cat confdefs.h >>conftest.$ac_ext
25922 cat >>conftest.$ac_ext <<_ACEOF
25923 /* end confdefs.h. */
25924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25926 #define $ac_func innocuous_$ac_func
25928 /* System header to define __stub macros and hopefully few prototypes,
25929 which can conflict with char $ac_func (); below.
25930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25931 <limits.h> exists even on freestanding compilers. */
25934 # include <limits.h>
25936 # include <assert.h>
25941 /* Override any GCC internal prototype to avoid an error.
25942 Use char because int might match the return type of a GCC
25943 builtin and then its argument prototype would still apply. */
25948 /* The GNU C library defines this for functions which it implements
25949 to always fail with ENOSYS. Some functions are actually named
25950 something starting with __ and the normal name is an alias. */
25951 #if defined __stub_$ac_func || defined __stub___$ac_func
25958 return $ac_func ();
25963 rm -f conftest.$ac_objext conftest$ac_exeext
25964 if { (ac_try="$ac_link"
25965 case "(($ac_try" in
25966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25967 *) ac_try_echo=$ac_try;;
25969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25970 (eval "$ac_link") 2>conftest.er1
25972 grep -v '^ *+' conftest.er1 >conftest.err
25974 cat conftest.err >&5
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); } && {
25977 test -z "$ac_c_werror_flag" ||
25978 test ! -s conftest.err
25979 } && test -s conftest$ac_exeext &&
25980 $as_test_x conftest$ac_exeext; then
25981 eval "$as_ac_var=yes"
25983 echo "$as_me: failed program was:" >&5
25984 sed 's/^/| /' conftest.$ac_ext >&5
25986 eval "$as_ac_var=no"
25989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25990 conftest$ac_exeext conftest.$ac_ext
25992 ac_res=`eval echo '${'$as_ac_var'}'`
25993 { echo "$as_me:$LINENO: result: $ac_res" >&5
25994 echo "${ECHO_T}$ac_res" >&6; }
25995 if test `eval echo '${'$as_ac_var'}'` = yes; then
25996 cat >>confdefs.h <<_ACEOF
25997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26003 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26004 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26005 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26006 { echo "$as_me:$LINENO: result: yes" >&5
26007 echo "${ECHO_T}yes" >&6; }
26009 { echo "$as_me:$LINENO: result: no" >&5
26010 echo "${ECHO_T}no" >&6; }
26012 # use different functions to avoid configure caching
26018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26024 cat >conftest.$ac_ext <<_ACEOF
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26032 #define $ac_func innocuous_$ac_func
26034 /* System header to define __stub macros and hopefully few prototypes,
26035 which can conflict with char $ac_func (); below.
26036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26037 <limits.h> exists even on freestanding compilers. */
26040 # include <limits.h>
26042 # include <assert.h>
26047 /* Override any GCC internal prototype to avoid an error.
26048 Use char because int might match the return type of a GCC
26049 builtin and then its argument prototype would still apply. */
26054 /* The GNU C library defines this for functions which it implements
26055 to always fail with ENOSYS. Some functions are actually named
26056 something starting with __ and the normal name is an alias. */
26057 #if defined __stub_$ac_func || defined __stub___$ac_func
26064 return $ac_func ();
26069 rm -f conftest.$ac_objext conftest$ac_exeext
26070 if { (ac_try="$ac_link"
26071 case "(($ac_try" in
26072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26073 *) ac_try_echo=$ac_try;;
26075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26076 (eval "$ac_link") 2>conftest.er1
26078 grep -v '^ *+' conftest.er1 >conftest.err
26080 cat conftest.err >&5
26081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26082 (exit $ac_status); } && {
26083 test -z "$ac_c_werror_flag" ||
26084 test ! -s conftest.err
26085 } && test -s conftest$ac_exeext &&
26086 $as_test_x conftest$ac_exeext; then
26087 eval "$as_ac_var=yes"
26089 echo "$as_me: failed program was:" >&5
26090 sed 's/^/| /' conftest.$ac_ext >&5
26092 eval "$as_ac_var=no"
26095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26096 conftest$ac_exeext conftest.$ac_ext
26098 ac_res=`eval echo '${'$as_ac_var'}'`
26099 { echo "$as_me:$LINENO: result: $ac_res" >&5
26100 echo "${ECHO_T}$ac_res" >&6; }
26101 if test `eval echo '${'$as_ac_var'}'` = yes; then
26102 cat >>confdefs.h <<_ACEOF
26103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26110 for ac_func in ceil
26112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26118 cat >conftest.$ac_ext <<_ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26126 #define $ac_func innocuous_$ac_func
26128 /* System header to define __stub macros and hopefully few prototypes,
26129 which can conflict with char $ac_func (); below.
26130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26131 <limits.h> exists even on freestanding compilers. */
26134 # include <limits.h>
26136 # include <assert.h>
26141 /* Override any GCC internal prototype to avoid an error.
26142 Use char because int might match the return type of a GCC
26143 builtin and then its argument prototype would still apply. */
26148 /* The GNU C library defines this for functions which it implements
26149 to always fail with ENOSYS. Some functions are actually named
26150 something starting with __ and the normal name is an alias. */
26151 #if defined __stub_$ac_func || defined __stub___$ac_func
26158 return $ac_func ();
26163 rm -f conftest.$ac_objext conftest$ac_exeext
26164 if { (ac_try="$ac_link"
26165 case "(($ac_try" in
26166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26167 *) ac_try_echo=$ac_try;;
26169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26170 (eval "$ac_link") 2>conftest.er1
26172 grep -v '^ *+' conftest.er1 >conftest.err
26174 cat conftest.err >&5
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); } && {
26177 test -z "$ac_c_werror_flag" ||
26178 test ! -s conftest.err
26179 } && test -s conftest$ac_exeext &&
26180 $as_test_x conftest$ac_exeext; then
26181 eval "$as_ac_var=yes"
26183 echo "$as_me: failed program was:" >&5
26184 sed 's/^/| /' conftest.$ac_ext >&5
26186 eval "$as_ac_var=no"
26189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26190 conftest$ac_exeext conftest.$ac_ext
26192 ac_res=`eval echo '${'$as_ac_var'}'`
26193 { echo "$as_me:$LINENO: result: $ac_res" >&5
26194 echo "${ECHO_T}$ac_res" >&6; }
26195 if test `eval echo '${'$as_ac_var'}'` = yes; then
26196 cat >>confdefs.h <<_ACEOF
26197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26203 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26204 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26205 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26206 { echo "$as_me:$LINENO: result: yes" >&5
26207 echo "${ECHO_T}yes" >&6; }
26209 { echo "$as_me:$LINENO: result: no" >&5
26210 echo "${ECHO_T}no" >&6; }
26211 # not sure we should warn the user, crash, etc.
26216 ac_cpp='$CXXCPP $CPPFLAGS'
26217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26221 if test "wxUSE_UNICODE" = "yes"; then
26223 for wx_func in wcstoull
26225 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26226 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26227 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26231 cat >conftest.$ac_ext <<_ACEOF
26235 cat confdefs.h >>conftest.$ac_ext
26236 cat >>conftest.$ac_ext <<_ACEOF
26237 /* end confdefs.h. */
26240 $ac_includes_default
26256 rm -f conftest.$ac_objext conftest$ac_exeext
26257 if { (ac_try="$ac_link"
26258 case "(($ac_try" in
26259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26260 *) ac_try_echo=$ac_try;;
26262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26263 (eval "$ac_link") 2>conftest.er1
26265 grep -v '^ *+' conftest.er1 >conftest.err
26267 cat conftest.err >&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } && {
26270 test -z "$ac_cxx_werror_flag" ||
26271 test ! -s conftest.err
26272 } && test -s conftest$ac_exeext &&
26273 $as_test_x conftest$ac_exeext; then
26274 eval wx_cv_func_$wx_func=yes
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26279 eval wx_cv_func_$wx_func=no
26282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26283 conftest$ac_exeext conftest.$ac_ext
26286 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26287 { echo "$as_me:$LINENO: result: $ac_res" >&5
26288 echo "${ECHO_T}$ac_res" >&6; }
26290 if eval test \$wx_cv_func_$wx_func = yes
26292 cat >>confdefs.h <<_ACEOF
26293 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26305 for wx_func in strtoull
26307 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26308 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26309 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26310 echo $ECHO_N "(cached) $ECHO_C" >&6
26313 cat >conftest.$ac_ext <<_ACEOF
26317 cat confdefs.h >>conftest.$ac_ext
26318 cat >>conftest.$ac_ext <<_ACEOF
26319 /* end confdefs.h. */
26322 $ac_includes_default
26338 rm -f conftest.$ac_objext conftest$ac_exeext
26339 if { (ac_try="$ac_link"
26340 case "(($ac_try" in
26341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26342 *) ac_try_echo=$ac_try;;
26344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26345 (eval "$ac_link") 2>conftest.er1
26347 grep -v '^ *+' conftest.er1 >conftest.err
26349 cat conftest.err >&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); } && {
26352 test -z "$ac_cxx_werror_flag" ||
26353 test ! -s conftest.err
26354 } && test -s conftest$ac_exeext &&
26355 $as_test_x conftest$ac_exeext; then
26356 eval wx_cv_func_$wx_func=yes
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26361 eval wx_cv_func_$wx_func=no
26364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26365 conftest$ac_exeext conftest.$ac_ext
26368 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26369 { echo "$as_me:$LINENO: result: $ac_res" >&5
26370 echo "${ECHO_T}$ac_res" >&6; }
26372 if eval test \$wx_cv_func_$wx_func = yes
26374 cat >>confdefs.h <<_ACEOF
26375 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26387 ac_cpp='$CPP $CPPFLAGS'
26388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26395 if test "$wxUSE_REGEX" != "no"; then
26396 cat >>confdefs.h <<\_ACEOF
26397 #define wxUSE_REGEX 1
26401 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26402 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26403 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26404 wxUSE_REGEX=builtin
26407 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26408 { echo "$as_me:$LINENO: checking for regex.h" >&5
26409 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26410 if test "${ac_cv_header_regex_h+set}" = set; then
26411 echo $ECHO_N "(cached) $ECHO_C" >&6
26413 cat >conftest.$ac_ext <<_ACEOF
26416 cat confdefs.h >>conftest.$ac_ext
26417 cat >>conftest.$ac_ext <<_ACEOF
26418 /* end confdefs.h. */
26423 rm -f conftest.$ac_objext
26424 if { (ac_try="$ac_compile"
26425 case "(($ac_try" in
26426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26427 *) ac_try_echo=$ac_try;;
26429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26430 (eval "$ac_compile") 2>conftest.er1
26432 grep -v '^ *+' conftest.er1 >conftest.err
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } && {
26437 test -z "$ac_c_werror_flag" ||
26438 test ! -s conftest.err
26439 } && test -s conftest.$ac_objext; then
26440 ac_cv_header_regex_h=yes
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.$ac_ext >&5
26445 ac_cv_header_regex_h=no
26448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26451 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26452 if test $ac_cv_header_regex_h = yes; then
26455 for ac_func in regcomp re_search
26457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26463 cat >conftest.$ac_ext <<_ACEOF
26466 cat confdefs.h >>conftest.$ac_ext
26467 cat >>conftest.$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26471 #define $ac_func innocuous_$ac_func
26473 /* System header to define __stub macros and hopefully few prototypes,
26474 which can conflict with char $ac_func (); below.
26475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26476 <limits.h> exists even on freestanding compilers. */
26479 # include <limits.h>
26481 # include <assert.h>
26486 /* Override any GCC internal prototype to avoid an error.
26487 Use char because int might match the return type of a GCC
26488 builtin and then its argument prototype would still apply. */
26493 /* The GNU C library defines this for functions which it implements
26494 to always fail with ENOSYS. Some functions are actually named
26495 something starting with __ and the normal name is an alias. */
26496 #if defined __stub_$ac_func || defined __stub___$ac_func
26503 return $ac_func ();
26508 rm -f conftest.$ac_objext conftest$ac_exeext
26509 if { (ac_try="$ac_link"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26512 *) ac_try_echo=$ac_try;;
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_link") 2>conftest.er1
26517 grep -v '^ *+' conftest.er1 >conftest.err
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_c_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest$ac_exeext &&
26525 $as_test_x conftest$ac_exeext; then
26526 eval "$as_ac_var=yes"
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26531 eval "$as_ac_var=no"
26534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26535 conftest$ac_exeext conftest.$ac_ext
26537 ac_res=`eval echo '${'$as_ac_var'}'`
26538 { echo "$as_me:$LINENO: result: $ac_res" >&5
26539 echo "${ECHO_T}$ac_res" >&6; }
26540 if test `eval echo '${'$as_ac_var'}'` = yes; then
26541 cat >>confdefs.h <<_ACEOF
26542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26552 if test "x$ac_cv_func_regcomp" != "xyes"; then
26553 if test "$wxUSE_REGEX" = "sys" ; then
26554 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26555 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26556 { (exit 1); exit 1; }; }
26558 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26559 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26560 wxUSE_REGEX=builtin
26564 cat >>confdefs.h <<\_ACEOF
26565 #define WX_NO_REGEX_ADVANCED 1
26574 if test "$wxUSE_ZLIB" != "no" ; then
26575 cat >>confdefs.h <<\_ACEOF
26576 #define wxUSE_ZLIB 1
26580 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26581 if test "$USE_DARWIN" = 1; then
26582 system_zlib_h_ok="yes"
26584 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26585 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26586 if test "${ac_cv_header_zlib_h+set}" = set; then
26587 echo $ECHO_N "(cached) $ECHO_C" >&6
26589 if test "$cross_compiling" = yes; then
26590 unset ac_cv_header_zlib_h
26593 cat >conftest.$ac_ext <<_ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26605 FILE *f=fopen("conftestval", "w");
26608 ZLIB_VERSION[0] == '1' &&
26609 (ZLIB_VERSION[2] > '1' ||
26610 (ZLIB_VERSION[2] == '1' &&
26611 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26616 rm -f conftest$ac_exeext
26617 if { (ac_try="$ac_link"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_link") 2>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26627 { (case "(($ac_try" in
26628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26629 *) ac_try_echo=$ac_try;;
26631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26632 (eval "$ac_try") 2>&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); }; }; then
26636 ac_cv_header_zlib_h=`cat conftestval`
26638 echo "$as_me: program exited with status $ac_status" >&5
26639 echo "$as_me: failed program was:" >&5
26640 sed 's/^/| /' conftest.$ac_ext >&5
26642 ( exit $ac_status )
26643 ac_cv_header_zlib_h=no
26645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26651 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26652 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26653 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26654 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26655 if test "${ac_cv_header_zlib_h+set}" = set; then
26656 echo $ECHO_N "(cached) $ECHO_C" >&6
26658 cat >conftest.$ac_ext <<_ACEOF
26661 cat confdefs.h >>conftest.$ac_ext
26662 cat >>conftest.$ac_ext <<_ACEOF
26663 /* end confdefs.h. */
26668 rm -f conftest.$ac_objext
26669 if { (ac_try="$ac_compile"
26670 case "(($ac_try" in
26671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26672 *) ac_try_echo=$ac_try;;
26674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26675 (eval "$ac_compile") 2>conftest.er1
26677 grep -v '^ *+' conftest.er1 >conftest.err
26679 cat conftest.err >&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } && {
26682 test -z "$ac_c_werror_flag" ||
26683 test ! -s conftest.err
26684 } && test -s conftest.$ac_objext; then
26685 ac_cv_header_zlib_h=yes
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26690 ac_cv_header_zlib_h=no
26693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26695 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26696 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26700 system_zlib_h_ok=$ac_cv_header_zlib_h
26703 if test "$system_zlib_h_ok" = "yes"; then
26704 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26705 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26706 if test "${ac_cv_lib_z_deflate+set}" = set; then
26707 echo $ECHO_N "(cached) $ECHO_C" >&6
26709 ac_check_lib_save_LIBS=$LIBS
26711 cat >conftest.$ac_ext <<_ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26718 /* Override any GCC internal prototype to avoid an error.
26719 Use char because int might match the return type of a GCC
26720 builtin and then its argument prototype would still apply. */
26733 rm -f conftest.$ac_objext conftest$ac_exeext
26734 if { (ac_try="$ac_link"
26735 case "(($ac_try" in
26736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26737 *) ac_try_echo=$ac_try;;
26739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26740 (eval "$ac_link") 2>conftest.er1
26742 grep -v '^ *+' conftest.er1 >conftest.err
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } && {
26747 test -z "$ac_c_werror_flag" ||
26748 test ! -s conftest.err
26749 } && test -s conftest$ac_exeext &&
26750 $as_test_x conftest$ac_exeext; then
26751 ac_cv_lib_z_deflate=yes
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.$ac_ext >&5
26756 ac_cv_lib_z_deflate=no
26759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26760 conftest$ac_exeext conftest.$ac_ext
26761 LIBS=$ac_check_lib_save_LIBS
26763 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26764 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26765 if test $ac_cv_lib_z_deflate = yes; then
26771 if test "x$ZLIB_LINK" = "x" ; then
26772 if test "$wxUSE_ZLIB" = "sys" ; then
26773 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26774 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26775 { (exit 1); exit 1; }; }
26777 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26778 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26789 if test "$wxUSE_LIBPNG" != "no" ; then
26790 cat >>confdefs.h <<\_ACEOF
26791 #define wxUSE_LIBPNG 1
26795 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26796 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26797 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26801 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26802 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26803 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26804 wxUSE_LIBPNG=builtin
26807 if test "$wxUSE_MGL" != 1 ; then
26808 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26809 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26810 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26811 if test "${ac_cv_header_png_h+set}" = set; then
26812 echo $ECHO_N "(cached) $ECHO_C" >&6
26814 if test "$cross_compiling" = yes; then
26815 unset ac_cv_header_png_h
26818 cat >conftest.$ac_ext <<_ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26830 FILE *f=fopen("conftestval", "w");
26833 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26838 rm -f conftest$ac_exeext
26839 if { (ac_try="$ac_link"
26840 case "(($ac_try" in
26841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26842 *) ac_try_echo=$ac_try;;
26844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26845 (eval "$ac_link") 2>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26849 { (case "(($ac_try" in
26850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26851 *) ac_try_echo=$ac_try;;
26853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26854 (eval "$ac_try") 2>&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 ac_cv_header_png_h=`cat conftestval`
26860 echo "$as_me: program exited with status $ac_status" >&5
26861 echo "$as_me: failed program was:" >&5
26862 sed 's/^/| /' conftest.$ac_ext >&5
26864 ( exit $ac_status )
26865 ac_cv_header_png_h=no
26867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26873 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26874 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26875 { echo "$as_me:$LINENO: checking for png.h" >&5
26876 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26877 if test "${ac_cv_header_png_h+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26880 cat >conftest.$ac_ext <<_ACEOF
26883 cat confdefs.h >>conftest.$ac_ext
26884 cat >>conftest.$ac_ext <<_ACEOF
26885 /* end confdefs.h. */
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26899 grep -v '^ *+' conftest.er1 >conftest.err
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_c_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26907 ac_cv_header_png_h=yes
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26912 ac_cv_header_png_h=no
26915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26917 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26918 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26922 if test "$ac_cv_header_png_h" = "yes"; then
26923 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26924 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26925 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26926 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 ac_check_lib_save_LIBS=$LIBS
26929 LIBS="-lpng -lz -lm $LIBS"
26930 cat >conftest.$ac_ext <<_ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26937 /* Override any GCC internal prototype to avoid an error.
26938 Use char because int might match the return type of a GCC
26939 builtin and then its argument prototype would still apply. */
26943 char png_check_sig ();
26947 return png_check_sig ();
26952 rm -f conftest.$ac_objext conftest$ac_exeext
26953 if { (ac_try="$ac_link"
26954 case "(($ac_try" in
26955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26956 *) ac_try_echo=$ac_try;;
26958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26959 (eval "$ac_link") 2>conftest.er1
26961 grep -v '^ *+' conftest.er1 >conftest.err
26963 cat conftest.err >&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } && {
26966 test -z "$ac_c_werror_flag" ||
26967 test ! -s conftest.err
26968 } && test -s conftest$ac_exeext &&
26969 $as_test_x conftest$ac_exeext; then
26970 ac_cv_lib_png_png_check_sig=yes
26972 echo "$as_me: failed program was:" >&5
26973 sed 's/^/| /' conftest.$ac_ext >&5
26975 ac_cv_lib_png_png_check_sig=no
26978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26979 conftest$ac_exeext conftest.$ac_ext
26980 LIBS=$ac_check_lib_save_LIBS
26982 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26983 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26984 if test $ac_cv_lib_png_png_check_sig = yes; then
26985 PNG_LINK=" -lpng -lz"
26990 if test "x$PNG_LINK" = "x" ; then
26991 if test "$wxUSE_LIBPNG" = "sys" ; then
26992 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26993 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26994 { (exit 1); exit 1; }; }
26996 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26997 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26998 wxUSE_LIBPNG=builtin
27009 if test "$wxUSE_LIBJPEG" != "no" ; then
27010 cat >>confdefs.h <<\_ACEOF
27011 #define wxUSE_LIBJPEG 1
27015 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27016 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27017 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27021 if test "$wxUSE_MGL" != 1 ; then
27022 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27023 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27024 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27025 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 cat >conftest.$ac_ext <<_ACEOF
27031 cat confdefs.h >>conftest.$ac_ext
27032 cat >>conftest.$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27035 #undef HAVE_STDLIB_H
27037 #include <jpeglib.h>
27048 rm -f conftest.$ac_objext
27049 if { (ac_try="$ac_compile"
27050 case "(($ac_try" in
27051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27052 *) ac_try_echo=$ac_try;;
27054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27055 (eval "$ac_compile") 2>conftest.er1
27057 grep -v '^ *+' conftest.er1 >conftest.err
27059 cat conftest.err >&5
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); } && {
27062 test -z "$ac_c_werror_flag" ||
27063 test ! -s conftest.err
27064 } && test -s conftest.$ac_objext; then
27065 ac_cv_header_jpeglib_h=yes
27067 echo "$as_me: failed program was:" >&5
27068 sed 's/^/| /' conftest.$ac_ext >&5
27070 ac_cv_header_jpeglib_h=no
27074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27078 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27079 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27081 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27082 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27083 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27084 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27085 echo $ECHO_N "(cached) $ECHO_C" >&6
27087 ac_check_lib_save_LIBS=$LIBS
27088 LIBS="-ljpeg $LIBS"
27089 cat >conftest.$ac_ext <<_ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27096 /* Override any GCC internal prototype to avoid an error.
27097 Use char because int might match the return type of a GCC
27098 builtin and then its argument prototype would still apply. */
27102 char jpeg_read_header ();
27106 return jpeg_read_header ();
27111 rm -f conftest.$ac_objext conftest$ac_exeext
27112 if { (ac_try="$ac_link"
27113 case "(($ac_try" in
27114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27115 *) ac_try_echo=$ac_try;;
27117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27118 (eval "$ac_link") 2>conftest.er1
27120 grep -v '^ *+' conftest.er1 >conftest.err
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } && {
27125 test -z "$ac_c_werror_flag" ||
27126 test ! -s conftest.err
27127 } && test -s conftest$ac_exeext &&
27128 $as_test_x conftest$ac_exeext; then
27129 ac_cv_lib_jpeg_jpeg_read_header=yes
27131 echo "$as_me: failed program was:" >&5
27132 sed 's/^/| /' conftest.$ac_ext >&5
27134 ac_cv_lib_jpeg_jpeg_read_header=no
27137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27138 conftest$ac_exeext conftest.$ac_ext
27139 LIBS=$ac_check_lib_save_LIBS
27141 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27142 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27143 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27144 JPEG_LINK=" -ljpeg"
27149 if test "x$JPEG_LINK" = "x" ; then
27150 if test "$wxUSE_LIBJPEG" = "sys" ; then
27151 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27152 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27153 { (exit 1); exit 1; }; }
27155 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27156 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27157 wxUSE_LIBJPEG=builtin
27162 if test "$wxUSE_MSW" = 1; then
27163 { echo "$as_me:$LINENO: checking for boolean" >&5
27164 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27165 if test "${ac_cv_type_boolean+set}" = set; then
27166 echo $ECHO_N "(cached) $ECHO_C" >&6
27168 cat >conftest.$ac_ext <<_ACEOF
27171 cat confdefs.h >>conftest.$ac_ext
27172 cat >>conftest.$ac_ext <<_ACEOF
27173 /* end confdefs.h. */
27174 #include <windows.h>
27176 typedef boolean ac__type_new_;
27180 if ((ac__type_new_ *) 0)
27182 if (sizeof (ac__type_new_))
27188 rm -f conftest.$ac_objext
27189 if { (ac_try="$ac_compile"
27190 case "(($ac_try" in
27191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27192 *) ac_try_echo=$ac_try;;
27194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27195 (eval "$ac_compile") 2>conftest.er1
27197 grep -v '^ *+' conftest.er1 >conftest.err
27199 cat conftest.err >&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } && {
27202 test -z "$ac_c_werror_flag" ||
27203 test ! -s conftest.err
27204 } && test -s conftest.$ac_objext; then
27205 ac_cv_type_boolean=yes
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.$ac_ext >&5
27210 ac_cv_type_boolean=no
27213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27215 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27216 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27217 if test $ac_cv_type_boolean = yes; then
27219 cat >>confdefs.h <<_ACEOF
27220 #define HAVE_BOOLEAN 1
27224 { echo "$as_me:$LINENO: checking for boolean" >&5
27225 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27226 if test "${ac_cv_type_boolean+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 cat >conftest.$ac_ext <<_ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27236 #undef HAVE_BOOLEAN
27238 #include <jpeglib.h>
27241 typedef boolean ac__type_new_;
27245 if ((ac__type_new_ *) 0)
27247 if (sizeof (ac__type_new_))
27253 rm -f conftest.$ac_objext
27254 if { (ac_try="$ac_compile"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_compile") 2>conftest.er1
27262 grep -v '^ *+' conftest.er1 >conftest.err
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest.$ac_objext; then
27270 ac_cv_type_boolean=yes
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27275 ac_cv_type_boolean=no
27278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27280 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27281 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27283 # The cast to long int works around a bug in the HP C Compiler
27284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27286 # This bug is HP SR number 8606223364.
27287 { echo "$as_me:$LINENO: checking size of boolean" >&5
27288 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27289 if test "${ac_cv_sizeof_boolean+set}" = set; then
27290 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 if test "$cross_compiling" = yes; then
27293 # Depending upon the size, compute the lo and hi bounds.
27294 cat >conftest.$ac_ext <<_ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27301 #undef HAVE_BOOLEAN
27303 #include <jpeglib.h>
27306 typedef boolean ac__type_sizeof_;
27310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27317 rm -f conftest.$ac_objext
27318 if { (ac_try="$ac_compile"
27319 case "(($ac_try" in
27320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27321 *) ac_try_echo=$ac_try;;
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_compile") 2>conftest.er1
27326 grep -v '^ *+' conftest.er1 >conftest.err
27328 cat conftest.err >&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } && {
27331 test -z "$ac_c_werror_flag" ||
27332 test ! -s conftest.err
27333 } && test -s conftest.$ac_objext; then
27336 cat >conftest.$ac_ext <<_ACEOF
27339 cat confdefs.h >>conftest.$ac_ext
27340 cat >>conftest.$ac_ext <<_ACEOF
27341 /* end confdefs.h. */
27343 #undef HAVE_BOOLEAN
27345 #include <jpeglib.h>
27348 typedef boolean ac__type_sizeof_;
27352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27359 rm -f conftest.$ac_objext
27360 if { (ac_try="$ac_compile"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_compile") 2>conftest.er1
27368 grep -v '^ *+' conftest.er1 >conftest.err
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_c_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest.$ac_objext; then
27376 ac_hi=$ac_mid; break
27378 echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27381 ac_lo=`expr $ac_mid + 1`
27382 if test $ac_lo -le $ac_mid; then
27386 ac_mid=`expr 2 '*' $ac_mid + 1`
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27392 echo "$as_me: failed program was:" >&5
27393 sed 's/^/| /' conftest.$ac_ext >&5
27395 cat >conftest.$ac_ext <<_ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27402 #undef HAVE_BOOLEAN
27404 #include <jpeglib.h>
27407 typedef boolean ac__type_sizeof_;
27411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27418 rm -f conftest.$ac_objext
27419 if { (ac_try="$ac_compile"
27420 case "(($ac_try" in
27421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27422 *) ac_try_echo=$ac_try;;
27424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27425 (eval "$ac_compile") 2>conftest.er1
27427 grep -v '^ *+' conftest.er1 >conftest.err
27429 cat conftest.err >&5
27430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431 (exit $ac_status); } && {
27432 test -z "$ac_c_werror_flag" ||
27433 test ! -s conftest.err
27434 } && test -s conftest.$ac_objext; then
27437 cat >conftest.$ac_ext <<_ACEOF
27440 cat confdefs.h >>conftest.$ac_ext
27441 cat >>conftest.$ac_ext <<_ACEOF
27442 /* end confdefs.h. */
27444 #undef HAVE_BOOLEAN
27446 #include <jpeglib.h>
27449 typedef boolean ac__type_sizeof_;
27453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27460 rm -f conftest.$ac_objext
27461 if { (ac_try="$ac_compile"
27462 case "(($ac_try" in
27463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27464 *) ac_try_echo=$ac_try;;
27466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_compile") 2>conftest.er1
27469 grep -v '^ *+' conftest.er1 >conftest.err
27471 cat conftest.err >&5
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); } && {
27474 test -z "$ac_c_werror_flag" ||
27475 test ! -s conftest.err
27476 } && test -s conftest.$ac_objext; then
27477 ac_lo=$ac_mid; break
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27482 ac_hi=`expr '(' $ac_mid ')' - 1`
27483 if test $ac_mid -le $ac_hi; then
27487 ac_mid=`expr 2 '*' $ac_mid`
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27493 echo "$as_me: failed program was:" >&5
27494 sed 's/^/| /' conftest.$ac_ext >&5
27499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27503 # Binary search between lo and hi bounds.
27504 while test "x$ac_lo" != "x$ac_hi"; do
27505 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27506 cat >conftest.$ac_ext <<_ACEOF
27509 cat confdefs.h >>conftest.$ac_ext
27510 cat >>conftest.$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27513 #undef HAVE_BOOLEAN
27515 #include <jpeglib.h>
27518 typedef boolean ac__type_sizeof_;
27522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27529 rm -f conftest.$ac_objext
27530 if { (ac_try="$ac_compile"
27531 case "(($ac_try" in
27532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27533 *) ac_try_echo=$ac_try;;
27535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27536 (eval "$ac_compile") 2>conftest.er1
27538 grep -v '^ *+' conftest.er1 >conftest.err
27540 cat conftest.err >&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } && {
27543 test -z "$ac_c_werror_flag" ||
27544 test ! -s conftest.err
27545 } && test -s conftest.$ac_objext; then
27548 echo "$as_me: failed program was:" >&5
27549 sed 's/^/| /' conftest.$ac_ext >&5
27551 ac_lo=`expr '(' $ac_mid ')' + 1`
27554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27557 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27558 '') if test "$ac_cv_type_boolean" = yes; then
27559 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27560 See \`config.log' for more details." >&5
27561 echo "$as_me: error: cannot compute sizeof (boolean)
27562 See \`config.log' for more details." >&2;}
27563 { (exit 77); exit 77; }; }
27565 ac_cv_sizeof_boolean=0
27569 cat >conftest.$ac_ext <<_ACEOF
27572 cat confdefs.h >>conftest.$ac_ext
27573 cat >>conftest.$ac_ext <<_ACEOF
27574 /* end confdefs.h. */
27576 #undef HAVE_BOOLEAN
27578 #include <jpeglib.h>
27581 typedef boolean ac__type_sizeof_;
27582 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27583 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27585 #include <stdlib.h>
27590 FILE *f = fopen ("conftest.val", "w");
27593 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27595 long int i = longval ();
27596 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27598 fprintf (f, "%ld\n", i);
27602 unsigned long int i = ulongval ();
27603 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27605 fprintf (f, "%lu\n", i);
27607 return ferror (f) || fclose (f) != 0;
27613 rm -f conftest$ac_exeext
27614 if { (ac_try="$ac_link"
27615 case "(($ac_try" in
27616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27617 *) ac_try_echo=$ac_try;;
27619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27620 (eval "$ac_link") 2>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27624 { (case "(($ac_try" in
27625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27626 *) ac_try_echo=$ac_try;;
27628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27629 (eval "$ac_try") 2>&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); }; }; then
27633 ac_cv_sizeof_boolean=`cat conftest.val`
27635 echo "$as_me: program exited with status $ac_status" >&5
27636 echo "$as_me: failed program was:" >&5
27637 sed 's/^/| /' conftest.$ac_ext >&5
27639 ( exit $ac_status )
27640 if test "$ac_cv_type_boolean" = yes; then
27641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27642 See \`config.log' for more details." >&5
27643 echo "$as_me: error: cannot compute sizeof (boolean)
27644 See \`config.log' for more details." >&2;}
27645 { (exit 77); exit 77; }; }
27647 ac_cv_sizeof_boolean=0
27650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27654 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27655 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27659 cat >>confdefs.h <<_ACEOF
27660 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27664 cat >>confdefs.h <<_ACEOF
27665 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27679 TIFF_PREREQ_LINKS=-lm
27680 if test "$wxUSE_LIBTIFF" != "no" ; then
27681 cat >>confdefs.h <<\_ACEOF
27682 #define wxUSE_LIBTIFF 1
27686 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27687 if test "$wxUSE_LIBJPEG" = "sys"; then
27688 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27690 if test "$wxUSE_ZLIB" = "sys"; then
27691 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27693 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27694 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27695 if test "${ac_cv_header_tiffio_h+set}" = set; then
27696 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 cat >conftest.$ac_ext <<_ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27707 #include <tiffio.h>
27709 rm -f conftest.$ac_objext
27710 if { (ac_try="$ac_compile"
27711 case "(($ac_try" in
27712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27713 *) ac_try_echo=$ac_try;;
27715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27716 (eval "$ac_compile") 2>conftest.er1
27718 grep -v '^ *+' conftest.er1 >conftest.err
27720 cat conftest.err >&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } && {
27723 test -z "$ac_c_werror_flag" ||
27724 test ! -s conftest.err
27725 } && test -s conftest.$ac_objext; then
27726 ac_cv_header_tiffio_h=yes
27728 echo "$as_me: failed program was:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27731 ac_cv_header_tiffio_h=no
27734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27736 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27737 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27738 if test $ac_cv_header_tiffio_h = yes; then
27740 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27741 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27742 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27743 echo $ECHO_N "(cached) $ECHO_C" >&6
27745 ac_check_lib_save_LIBS=$LIBS
27746 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27747 cat >conftest.$ac_ext <<_ACEOF
27750 cat confdefs.h >>conftest.$ac_ext
27751 cat >>conftest.$ac_ext <<_ACEOF
27752 /* end confdefs.h. */
27754 /* Override any GCC internal prototype to avoid an error.
27755 Use char because int might match the return type of a GCC
27756 builtin and then its argument prototype would still apply. */
27764 return TIFFError ();
27769 rm -f conftest.$ac_objext conftest$ac_exeext
27770 if { (ac_try="$ac_link"
27771 case "(($ac_try" in
27772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27773 *) ac_try_echo=$ac_try;;
27775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27776 (eval "$ac_link") 2>conftest.er1
27778 grep -v '^ *+' conftest.er1 >conftest.err
27780 cat conftest.err >&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); } && {
27783 test -z "$ac_c_werror_flag" ||
27784 test ! -s conftest.err
27785 } && test -s conftest$ac_exeext &&
27786 $as_test_x conftest$ac_exeext; then
27787 ac_cv_lib_tiff_TIFFError=yes
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27792 ac_cv_lib_tiff_TIFFError=no
27795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27796 conftest$ac_exeext conftest.$ac_ext
27797 LIBS=$ac_check_lib_save_LIBS
27799 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27800 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27801 if test $ac_cv_lib_tiff_TIFFError = yes; then
27802 TIFF_LINK=" -ltiff"
27810 if test "x$TIFF_LINK" = "x" ; then
27811 if test "$wxUSE_LIBTIFF" = "sys" ; then
27812 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27813 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27814 { (exit 1); exit 1; }; }
27816 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27817 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27818 wxUSE_LIBTIFF=builtin
27824 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27825 if test "$wxUSE_LIBJPEG" = "no"; then
27826 ac_configure_args="$ac_configure_args --disable-jpeg"
27828 subdirs="$subdirs src/tiff"
27834 if test "$wxUSE_WCHAR_T" != "yes"; then
27835 if test "$wxUSE_EXPAT" != "no"; then
27836 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27837 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27840 if test "$wxUSE_XML" != "no"; then
27841 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27842 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27847 if test "$wxUSE_EXPAT" != "no"; then
27849 cat >>confdefs.h <<\_ACEOF
27850 #define wxUSE_EXPAT 1
27853 cat >>confdefs.h <<\_ACEOF
27854 #define wxUSE_XML 1
27858 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27859 { echo "$as_me:$LINENO: checking for expat.h" >&5
27860 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27861 if test "${ac_cv_header_expat_h+set}" = set; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 cat >conftest.$ac_ext <<_ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27874 rm -f conftest.$ac_objext
27875 if { (ac_try="$ac_compile"
27876 case "(($ac_try" in
27877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27878 *) ac_try_echo=$ac_try;;
27880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27881 (eval "$ac_compile") 2>conftest.er1
27883 grep -v '^ *+' conftest.er1 >conftest.err
27885 cat conftest.err >&5
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); } && {
27888 test -z "$ac_c_werror_flag" ||
27889 test ! -s conftest.err
27890 } && test -s conftest.$ac_objext; then
27891 ac_cv_header_expat_h=yes
27893 echo "$as_me: failed program was:" >&5
27894 sed 's/^/| /' conftest.$ac_ext >&5
27896 ac_cv_header_expat_h=no
27899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27901 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27902 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27903 if test $ac_cv_header_expat_h = yes; then
27908 if test "x$found_expat_h" = "x1"; then
27909 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27910 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27911 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27916 ac_cpp='$CXXCPP $CPPFLAGS'
27917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27921 cat >conftest.$ac_ext <<_ACEOF
27924 cat confdefs.h >>conftest.$ac_ext
27925 cat >>conftest.$ac_ext <<_ACEOF
27926 /* end confdefs.h. */
27936 rm -f conftest.$ac_objext
27937 if { (ac_try="$ac_compile"
27938 case "(($ac_try" in
27939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27940 *) ac_try_echo=$ac_try;;
27942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27943 (eval "$ac_compile") 2>conftest.er1
27945 grep -v '^ *+' conftest.er1 >conftest.err
27947 cat conftest.err >&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); } && {
27950 test -z "$ac_cxx_werror_flag" ||
27951 test ! -s conftest.err
27952 } && test -s conftest.$ac_objext; then
27953 wx_cv_expat_is_not_broken=yes
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.$ac_ext >&5
27958 wx_cv_expat_is_not_broken=no
27962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27964 ac_cpp='$CPP $CPPFLAGS'
27965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27972 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27973 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27974 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27975 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27976 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27977 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 ac_check_lib_save_LIBS=$LIBS
27981 LIBS="-lexpat $LIBS"
27982 cat >conftest.$ac_ext <<_ACEOF
27985 cat confdefs.h >>conftest.$ac_ext
27986 cat >>conftest.$ac_ext <<_ACEOF
27987 /* end confdefs.h. */
27989 /* Override any GCC internal prototype to avoid an error.
27990 Use char because int might match the return type of a GCC
27991 builtin and then its argument prototype would still apply. */
27995 char XML_ParserCreate ();
27999 return XML_ParserCreate ();
28004 rm -f conftest.$ac_objext conftest$ac_exeext
28005 if { (ac_try="$ac_link"
28006 case "(($ac_try" in
28007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28008 *) ac_try_echo=$ac_try;;
28010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28011 (eval "$ac_link") 2>conftest.er1
28013 grep -v '^ *+' conftest.er1 >conftest.err
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && {
28018 test -z "$ac_c_werror_flag" ||
28019 test ! -s conftest.err
28020 } && test -s conftest$ac_exeext &&
28021 $as_test_x conftest$ac_exeext; then
28022 ac_cv_lib_expat_XML_ParserCreate=yes
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.$ac_ext >&5
28027 ac_cv_lib_expat_XML_ParserCreate=no
28030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28031 conftest$ac_exeext conftest.$ac_ext
28032 LIBS=$ac_check_lib_save_LIBS
28034 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28035 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28036 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28037 EXPAT_LINK=" -lexpat"
28042 if test "x$EXPAT_LINK" = "x" ; then
28043 if test "$wxUSE_EXPAT" = "sys" ; then
28044 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28045 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28046 { (exit 1); exit 1; }; }
28048 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28049 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28050 wxUSE_EXPAT=builtin
28056 if test "$wxUSE_EXPAT" = "builtin" ; then
28057 subdirs="$subdirs src/expat"
28064 if test "$wxUSE_LIBMSPACK" != "no"; then
28065 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28066 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28067 if test "${ac_cv_header_mspack_h+set}" = set; then
28068 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 cat >conftest.$ac_ext <<_ACEOF
28073 cat confdefs.h >>conftest.$ac_ext
28074 cat >>conftest.$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28078 #include <mspack.h>
28080 rm -f conftest.$ac_objext
28081 if { (ac_try="$ac_compile"
28082 case "(($ac_try" in
28083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28084 *) ac_try_echo=$ac_try;;
28086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28087 (eval "$ac_compile") 2>conftest.er1
28089 grep -v '^ *+' conftest.er1 >conftest.err
28091 cat conftest.err >&5
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); } && {
28094 test -z "$ac_c_werror_flag" ||
28095 test ! -s conftest.err
28096 } && test -s conftest.$ac_objext; then
28097 ac_cv_header_mspack_h=yes
28099 echo "$as_me: failed program was:" >&5
28100 sed 's/^/| /' conftest.$ac_ext >&5
28102 ac_cv_header_mspack_h=no
28105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28107 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28108 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28109 if test $ac_cv_header_mspack_h = yes; then
28114 if test "x$found_mspack_h" = "x1"; then
28115 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28116 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28117 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28120 ac_check_lib_save_LIBS=$LIBS
28121 LIBS="-lmspack $LIBS"
28122 cat >conftest.$ac_ext <<_ACEOF
28125 cat confdefs.h >>conftest.$ac_ext
28126 cat >>conftest.$ac_ext <<_ACEOF
28127 /* end confdefs.h. */
28129 /* Override any GCC internal prototype to avoid an error.
28130 Use char because int might match the return type of a GCC
28131 builtin and then its argument prototype would still apply. */
28135 char mspack_create_chm_decompressor ();
28139 return mspack_create_chm_decompressor ();
28144 rm -f conftest.$ac_objext conftest$ac_exeext
28145 if { (ac_try="$ac_link"
28146 case "(($ac_try" in
28147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28148 *) ac_try_echo=$ac_try;;
28150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28151 (eval "$ac_link") 2>conftest.er1
28153 grep -v '^ *+' conftest.er1 >conftest.err
28155 cat conftest.err >&5
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); } && {
28158 test -z "$ac_c_werror_flag" ||
28159 test ! -s conftest.err
28160 } && test -s conftest$ac_exeext &&
28161 $as_test_x conftest$ac_exeext; then
28162 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28164 echo "$as_me: failed program was:" >&5
28165 sed 's/^/| /' conftest.$ac_ext >&5
28167 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28171 conftest$ac_exeext conftest.$ac_ext
28172 LIBS=$ac_check_lib_save_LIBS
28174 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28175 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28176 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28177 MSPACK_LINK=" -lmspack"
28181 if test "x$MSPACK_LINK" = "x" ; then
28186 if test "$wxUSE_LIBMSPACK" != "no"; then
28187 cat >>confdefs.h <<\_ACEOF
28188 #define wxUSE_LIBMSPACK 1
28202 if test "$USE_WIN32" = 1 ; then
28204 for ac_header in w32api.h
28206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28207 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28212 cat >conftest.$ac_ext <<_ACEOF
28215 cat confdefs.h >>conftest.$ac_ext
28216 cat >>conftest.$ac_ext <<_ACEOF
28217 /* end confdefs.h. */
28220 #include <$ac_header>
28222 rm -f conftest.$ac_objext
28223 if { (ac_try="$ac_compile"
28224 case "(($ac_try" in
28225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_compile") 2>conftest.er1
28231 grep -v '^ *+' conftest.er1 >conftest.err
28233 cat conftest.err >&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } && {
28236 test -z "$ac_c_werror_flag" ||
28237 test ! -s conftest.err
28238 } && test -s conftest.$ac_objext; then
28239 eval "$as_ac_Header=yes"
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28244 eval "$as_ac_Header=no"
28247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28249 ac_res=`eval echo '${'$as_ac_Header'}'`
28250 { echo "$as_me:$LINENO: result: $ac_res" >&5
28251 echo "${ECHO_T}$ac_res" >&6; }
28252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28253 cat >>confdefs.h <<_ACEOF
28254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28261 { echo "$as_me:$LINENO: checking for windows.h" >&5
28262 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28263 if test "${ac_cv_header_windows_h+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 cat >conftest.$ac_ext <<_ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28274 #include <windows.h>
28276 rm -f conftest.$ac_objext
28277 if { (ac_try="$ac_compile"
28278 case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_compile") 2>conftest.er1
28285 grep -v '^ *+' conftest.er1 >conftest.err
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } && {
28290 test -z "$ac_c_werror_flag" ||
28291 test ! -s conftest.err
28292 } && test -s conftest.$ac_objext; then
28293 ac_cv_header_windows_h=yes
28295 echo "$as_me: failed program was:" >&5
28296 sed 's/^/| /' conftest.$ac_ext >&5
28298 ac_cv_header_windows_h=no
28301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28303 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28304 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28305 if test $ac_cv_header_windows_h = yes; then
28309 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28310 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28311 { (exit 1); exit 1; }; }
28318 x86_64-*-mingw32* )
28319 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28322 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28325 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28326 LIBS="$LIBS -loleacc"
28331 LIBS="$LIBS -lkernel32 -luser32"
28334 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28335 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28337 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28339 WIN32INSTALL=win32install
28341 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28342 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28343 if test "${ac_cv_header_pbt_h+set}" = set; then
28344 echo $ECHO_N "(cached) $ECHO_C" >&6
28346 cat >conftest.$ac_ext <<_ACEOF
28349 cat confdefs.h >>conftest.$ac_ext
28350 cat >>conftest.$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28356 rm -f conftest.$ac_objext
28357 if { (ac_try="$ac_compile"
28358 case "(($ac_try" in
28359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28360 *) ac_try_echo=$ac_try;;
28362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28363 (eval "$ac_compile") 2>conftest.er1
28365 grep -v '^ *+' conftest.er1 >conftest.err
28367 cat conftest.err >&5
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); } && {
28370 test -z "$ac_c_werror_flag" ||
28371 test ! -s conftest.err
28372 } && test -s conftest.$ac_objext; then
28373 ac_cv_header_pbt_h=yes
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28378 ac_cv_header_pbt_h=no
28381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28383 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28384 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28385 if test $ac_cv_header_pbt_h = yes; then
28388 cat >>confdefs.h <<\_ACEOF
28389 #define NEED_PBT_H 1
28397 if test "$wxUSE_GUI" = "yes"; then
28407 if test "$wxUSE_COCOA" = 1 ; then
28408 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28409 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28410 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28411 wxUSE_PRINTING_ARCHITECTURE=no
28413 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28414 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28415 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28416 wxUSE_DRAG_AND_DROP=no
28418 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28419 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28420 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28425 if test "$wxUSE_MSW" = 1 ; then
28431 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28435 if test "$wxUSE_GTK" = 1; then
28436 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28437 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28439 gtk_version_cached=1
28440 if test "${wx_cv_lib_gtk+set}" = set; then
28441 echo $ECHO_N "(cached) $ECHO_C" >&6
28444 gtk_version_cached=0
28445 { echo "$as_me:$LINENO: result: " >&5
28446 echo "${ECHO_T}" >&6; }
28449 if test "$wxUSE_THREADS" = "yes"; then
28450 GTK_MODULES=gthread
28454 if test "x$wxGTK_VERSION" != "x1"
28458 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28463 # Check whether --enable-gtktest was given.
28464 if test "${enable_gtktest+set}" = set; then
28465 enableval=$enable_gtktest;
28471 pkg_config_args=gtk+-2.0
28472 for module in . $GTK_MODULES
28476 pkg_config_args="$pkg_config_args gthread-2.0"
28483 # Extract the first word of "pkg-config", so it can be a program name with args.
28484 set dummy pkg-config; ac_word=$2
28485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28488 echo $ECHO_N "(cached) $ECHO_C" >&6
28490 case $PKG_CONFIG in
28492 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28496 for as_dir in $PATH
28499 test -z "$as_dir" && as_dir=.
28500 for ac_exec_ext in '' $ac_executable_extensions; do
28501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28502 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28510 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28514 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28515 if test -n "$PKG_CONFIG"; then
28516 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28517 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28519 { echo "$as_me:$LINENO: result: no" >&5
28520 echo "${ECHO_T}no" >&6; }
28525 if test x$PKG_CONFIG != xno ; then
28526 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28529 echo "*** pkg-config too old; version 0.7 or better required."
28537 min_gtk_version=2.4.0
28538 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28539 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28541 if test x$PKG_CONFIG != xno ; then
28542 ## don't try to run the test against uninstalled libtool libs
28543 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28544 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28548 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28555 if test x"$no_gtk" = x ; then
28556 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28557 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28558 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28560 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28561 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28562 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28564 if test "x$enable_gtktest" = "xyes" ; then
28565 ac_save_CFLAGS="$CFLAGS"
28566 ac_save_LIBS="$LIBS"
28567 CFLAGS="$CFLAGS $GTK_CFLAGS"
28568 LIBS="$GTK_LIBS $LIBS"
28570 if test "$cross_compiling" = yes; then
28571 echo $ac_n "cross compiling; assumed OK... $ac_c"
28573 cat >conftest.$ac_ext <<_ACEOF
28576 cat confdefs.h >>conftest.$ac_ext
28577 cat >>conftest.$ac_ext <<_ACEOF
28578 /* end confdefs.h. */
28580 #include <gtk/gtk.h>
28582 #include <stdlib.h>
28587 int major, minor, micro;
28590 system ("touch conf.gtktest");
28592 /* HP/UX 9 (%@#!) writes to sscanf strings */
28593 tmp_version = g_strdup("$min_gtk_version");
28594 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28595 printf("%s, bad version string\n", "$min_gtk_version");
28599 if ((gtk_major_version != $gtk_config_major_version) ||
28600 (gtk_minor_version != $gtk_config_minor_version) ||
28601 (gtk_micro_version != $gtk_config_micro_version))
28603 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28604 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28605 gtk_major_version, gtk_minor_version, gtk_micro_version);
28606 printf ("*** was found! If pkg-config was correct, then it is best\n");
28607 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28608 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28609 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28610 printf("*** required on your system.\n");
28611 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28612 printf("*** to point to the correct configuration files\n");
28614 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28615 (gtk_minor_version != GTK_MINOR_VERSION) ||
28616 (gtk_micro_version != GTK_MICRO_VERSION))
28618 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28619 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28620 printf("*** library (version %d.%d.%d)\n",
28621 gtk_major_version, gtk_minor_version, gtk_micro_version);
28625 if ((gtk_major_version > major) ||
28626 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28627 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28633 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28634 gtk_major_version, gtk_minor_version, gtk_micro_version);
28635 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28636 major, minor, micro);
28637 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28639 printf("*** If you have already installed a sufficiently new version, this error\n");
28640 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28641 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28642 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28643 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28644 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28645 printf("*** so that the correct libraries are found at run-time))\n");
28652 rm -f conftest$ac_exeext
28653 if { (ac_try="$ac_link"
28654 case "(($ac_try" in
28655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28656 *) ac_try_echo=$ac_try;;
28658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28659 (eval "$ac_link") 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28663 { (case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28665 *) ac_try_echo=$ac_try;;
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_try") 2>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); }; }; then
28674 echo "$as_me: program exited with status $ac_status" >&5
28675 echo "$as_me: failed program was:" >&5
28676 sed 's/^/| /' conftest.$ac_ext >&5
28678 ( exit $ac_status )
28681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28685 CFLAGS="$ac_save_CFLAGS"
28686 LIBS="$ac_save_LIBS"
28689 if test "x$no_gtk" = x ; then
28690 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28691 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28694 { echo "$as_me:$LINENO: result: no" >&5
28695 echo "${ECHO_T}no" >&6; }
28696 if test "$PKG_CONFIG" = "no" ; then
28697 echo "*** A new enough version of pkg-config was not found."
28698 echo "*** See http://pkgconfig.sourceforge.net"
28700 if test -f conf.gtktest ; then
28703 echo "*** Could not run GTK+ test program, checking why..."
28704 ac_save_CFLAGS="$CFLAGS"
28705 ac_save_LIBS="$LIBS"
28706 CFLAGS="$CFLAGS $GTK_CFLAGS"
28707 LIBS="$LIBS $GTK_LIBS"
28708 cat >conftest.$ac_ext <<_ACEOF
28711 cat confdefs.h >>conftest.$ac_ext
28712 cat >>conftest.$ac_ext <<_ACEOF
28713 /* end confdefs.h. */
28715 #include <gtk/gtk.h>
28721 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28726 rm -f conftest.$ac_objext conftest$ac_exeext
28727 if { (ac_try="$ac_link"
28728 case "(($ac_try" in
28729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28730 *) ac_try_echo=$ac_try;;
28732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28733 (eval "$ac_link") 2>conftest.er1
28735 grep -v '^ *+' conftest.er1 >conftest.err
28737 cat conftest.err >&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); } && {
28740 test -z "$ac_c_werror_flag" ||
28741 test ! -s conftest.err
28742 } && test -s conftest$ac_exeext &&
28743 $as_test_x conftest$ac_exeext; then
28744 echo "*** The test program compiled, but did not run. This usually means"
28745 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28746 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28747 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28748 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28749 echo "*** is required on your system"
28751 echo "*** If you have an old version installed, it is best to remove it, although"
28752 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28754 echo "$as_me: failed program was:" >&5
28755 sed 's/^/| /' conftest.$ac_ext >&5
28757 echo "*** The test program failed to compile or link. See the file config.log for the"
28758 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28762 conftest$ac_exeext conftest.$ac_ext
28763 CFLAGS="$ac_save_CFLAGS"
28764 LIBS="$ac_save_LIBS"
28778 if test "$wxUSE_SHARED" != "yes"; then
28779 GTK_LIBS="$GTK_LIBS -lX11"
28784 if test -z "$wx_cv_lib_gtk"; then
28785 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28787 # Check whether --with-gtk-prefix was given.
28788 if test "${with_gtk_prefix+set}" = set; then
28789 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28791 gtk_config_prefix=""
28795 # Check whether --with-gtk-exec-prefix was given.
28796 if test "${with_gtk_exec_prefix+set}" = set; then
28797 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28799 gtk_config_exec_prefix=""
28802 # Check whether --enable-gtktest was given.
28803 if test "${enable_gtktest+set}" = set; then
28804 enableval=$enable_gtktest;
28810 for module in . $GTK_MODULES
28814 gtk_config_args="$gtk_config_args gthread"
28819 if test x$gtk_config_exec_prefix != x ; then
28820 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28821 if test x${GTK_CONFIG+set} != xset ; then
28822 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28825 if test x$gtk_config_prefix != x ; then
28826 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28827 if test x${GTK_CONFIG+set} != xset ; then
28828 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28832 # Extract the first word of "gtk-config", so it can be a program name with args.
28833 set dummy gtk-config; ac_word=$2
28834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28836 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28837 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 case $GTK_CONFIG in
28841 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28845 for as_dir in $PATH
28848 test -z "$as_dir" && as_dir=.
28849 for ac_exec_ext in '' $ac_executable_extensions; do
28850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28851 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28859 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28863 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28864 if test -n "$GTK_CONFIG"; then
28865 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28866 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28868 { echo "$as_me:$LINENO: result: no" >&5
28869 echo "${ECHO_T}no" >&6; }
28873 min_gtk_version=1.2.7
28874 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28875 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28877 if test "$GTK_CONFIG" = "no" ; then
28880 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28881 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28882 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28884 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28886 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28887 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28888 if test "x$enable_gtktest" = "xyes" ; then
28889 ac_save_CFLAGS="$CFLAGS"
28890 ac_save_LIBS="$LIBS"
28891 CFLAGS="$CFLAGS $GTK_CFLAGS"
28892 LIBS="$GTK_LIBS $LIBS"
28894 if test "$cross_compiling" = yes; then
28895 echo $ac_n "cross compiling; assumed OK... $ac_c"
28897 cat >conftest.$ac_ext <<_ACEOF
28900 cat confdefs.h >>conftest.$ac_ext
28901 cat >>conftest.$ac_ext <<_ACEOF
28902 /* end confdefs.h. */
28904 #include <gtk/gtk.h>
28906 #include <stdlib.h>
28911 int major, minor, micro;
28914 system ("touch conf.gtktest");
28916 /* HP/UX 9 (%@#!) writes to sscanf strings */
28917 tmp_version = g_strdup("$min_gtk_version");
28918 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28919 printf("%s, bad version string\n", "$min_gtk_version");
28923 if ((gtk_major_version != $gtk_config_major_version) ||
28924 (gtk_minor_version != $gtk_config_minor_version) ||
28925 (gtk_micro_version != $gtk_config_micro_version))
28927 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28928 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28929 gtk_major_version, gtk_minor_version, gtk_micro_version);
28930 printf ("*** was found! If gtk-config was correct, then it is best\n");
28931 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28932 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28933 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28934 printf("*** required on your system.\n");
28935 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28936 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28937 printf("*** before re-running configure\n");
28939 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28940 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28941 (gtk_minor_version != GTK_MINOR_VERSION) ||
28942 (gtk_micro_version != GTK_MICRO_VERSION))
28944 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28945 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28946 printf("*** library (version %d.%d.%d)\n",
28947 gtk_major_version, gtk_minor_version, gtk_micro_version);
28949 #endif /* defined (GTK_MAJOR_VERSION) ... */
28952 if ((gtk_major_version > major) ||
28953 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28954 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28960 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28961 gtk_major_version, gtk_minor_version, gtk_micro_version);
28962 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28963 major, minor, micro);
28964 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28966 printf("*** If you have already installed a sufficiently new version, this error\n");
28967 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28968 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28969 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28970 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28971 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28972 printf("*** so that the correct libraries are found at run-time))\n");
28979 rm -f conftest$ac_exeext
28980 if { (ac_try="$ac_link"
28981 case "(($ac_try" in
28982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28983 *) ac_try_echo=$ac_try;;
28985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28986 (eval "$ac_link") 2>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28990 { (case "(($ac_try" in
28991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28992 *) ac_try_echo=$ac_try;;
28994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28995 (eval "$ac_try") 2>&5
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); }; }; then
29001 echo "$as_me: program exited with status $ac_status" >&5
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29005 ( exit $ac_status )
29008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29012 CFLAGS="$ac_save_CFLAGS"
29013 LIBS="$ac_save_LIBS"
29016 if test "x$no_gtk" = x ; then
29017 { echo "$as_me:$LINENO: result: yes" >&5
29018 echo "${ECHO_T}yes" >&6; }
29019 wx_cv_lib_gtk=1.2.7
29021 { echo "$as_me:$LINENO: result: no" >&5
29022 echo "${ECHO_T}no" >&6; }
29023 if test "$GTK_CONFIG" = "no" ; then
29024 echo "*** The gtk-config script installed by GTK could not be found"
29025 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29026 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29027 echo "*** full path to gtk-config."
29029 if test -f conf.gtktest ; then
29032 echo "*** Could not run GTK test program, checking why..."
29033 CFLAGS="$CFLAGS $GTK_CFLAGS"
29034 LIBS="$LIBS $GTK_LIBS"
29035 cat >conftest.$ac_ext <<_ACEOF
29038 cat confdefs.h >>conftest.$ac_ext
29039 cat >>conftest.$ac_ext <<_ACEOF
29040 /* end confdefs.h. */
29042 #include <gtk/gtk.h>
29048 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29053 rm -f conftest.$ac_objext conftest$ac_exeext
29054 if { (ac_try="$ac_link"
29055 case "(($ac_try" in
29056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29057 *) ac_try_echo=$ac_try;;
29059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29060 (eval "$ac_link") 2>conftest.er1
29062 grep -v '^ *+' conftest.er1 >conftest.err
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } && {
29067 test -z "$ac_c_werror_flag" ||
29068 test ! -s conftest.err
29069 } && test -s conftest$ac_exeext &&
29070 $as_test_x conftest$ac_exeext; then
29071 echo "*** The test program compiled, but did not run. This usually means"
29072 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29073 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29074 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29075 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29076 echo "*** is required on your system"
29078 echo "*** If you have an old version installed, it is best to remove it, although"
29079 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29081 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29082 echo "*** came with the system with the command"
29084 echo "*** rpm --erase --nodeps gtk gtk-devel"
29086 echo "$as_me: failed program was:" >&5
29087 sed 's/^/| /' conftest.$ac_ext >&5
29089 echo "*** The test program failed to compile or link. See the file config.log for the"
29090 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29091 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29092 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29096 conftest$ac_exeext conftest.$ac_ext
29097 CFLAGS="$ac_save_CFLAGS"
29098 LIBS="$ac_save_LIBS"
29110 if test -z "$wx_cv_lib_gtk"; then
29112 # Check whether --with-gtk-prefix was given.
29113 if test "${with_gtk_prefix+set}" = set; then
29114 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29116 gtk_config_prefix=""
29120 # Check whether --with-gtk-exec-prefix was given.
29121 if test "${with_gtk_exec_prefix+set}" = set; then
29122 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29124 gtk_config_exec_prefix=""
29127 # Check whether --enable-gtktest was given.
29128 if test "${enable_gtktest+set}" = set; then
29129 enableval=$enable_gtktest;
29135 for module in . $GTK_MODULES
29139 gtk_config_args="$gtk_config_args gthread"
29144 if test x$gtk_config_exec_prefix != x ; then
29145 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29146 if test x${GTK_CONFIG+set} != xset ; then
29147 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29150 if test x$gtk_config_prefix != x ; then
29151 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29152 if test x${GTK_CONFIG+set} != xset ; then
29153 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29157 # Extract the first word of "gtk-config", so it can be a program name with args.
29158 set dummy gtk-config; ac_word=$2
29159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29161 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29162 echo $ECHO_N "(cached) $ECHO_C" >&6
29164 case $GTK_CONFIG in
29166 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29170 for as_dir in $PATH
29173 test -z "$as_dir" && as_dir=.
29174 for ac_exec_ext in '' $ac_executable_extensions; do
29175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29176 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29184 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29188 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29189 if test -n "$GTK_CONFIG"; then
29190 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29191 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29193 { echo "$as_me:$LINENO: result: no" >&5
29194 echo "${ECHO_T}no" >&6; }
29198 min_gtk_version=1.2.3
29199 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29200 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29202 if test "$GTK_CONFIG" = "no" ; then
29205 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29206 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29207 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29209 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29211 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29213 if test "x$enable_gtktest" = "xyes" ; then
29214 ac_save_CFLAGS="$CFLAGS"
29215 ac_save_LIBS="$LIBS"
29216 CFLAGS="$CFLAGS $GTK_CFLAGS"
29217 LIBS="$GTK_LIBS $LIBS"
29219 if test "$cross_compiling" = yes; then
29220 echo $ac_n "cross compiling; assumed OK... $ac_c"
29222 cat >conftest.$ac_ext <<_ACEOF
29225 cat confdefs.h >>conftest.$ac_ext
29226 cat >>conftest.$ac_ext <<_ACEOF
29227 /* end confdefs.h. */
29229 #include <gtk/gtk.h>
29231 #include <stdlib.h>
29236 int major, minor, micro;
29239 system ("touch conf.gtktest");
29241 /* HP/UX 9 (%@#!) writes to sscanf strings */
29242 tmp_version = g_strdup("$min_gtk_version");
29243 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29244 printf("%s, bad version string\n", "$min_gtk_version");
29248 if ((gtk_major_version != $gtk_config_major_version) ||
29249 (gtk_minor_version != $gtk_config_minor_version) ||
29250 (gtk_micro_version != $gtk_config_micro_version))
29252 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29253 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29254 gtk_major_version, gtk_minor_version, gtk_micro_version);
29255 printf ("*** was found! If gtk-config was correct, then it is best\n");
29256 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29257 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29258 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29259 printf("*** required on your system.\n");
29260 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29261 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29262 printf("*** before re-running configure\n");
29264 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29265 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29266 (gtk_minor_version != GTK_MINOR_VERSION) ||
29267 (gtk_micro_version != GTK_MICRO_VERSION))
29269 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29270 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29271 printf("*** library (version %d.%d.%d)\n",
29272 gtk_major_version, gtk_minor_version, gtk_micro_version);
29274 #endif /* defined (GTK_MAJOR_VERSION) ... */
29277 if ((gtk_major_version > major) ||
29278 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29279 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29285 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29286 gtk_major_version, gtk_minor_version, gtk_micro_version);
29287 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29288 major, minor, micro);
29289 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29291 printf("*** If you have already installed a sufficiently new version, this error\n");
29292 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29293 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29294 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29295 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29296 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29297 printf("*** so that the correct libraries are found at run-time))\n");
29304 rm -f conftest$ac_exeext
29305 if { (ac_try="$ac_link"
29306 case "(($ac_try" in
29307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29308 *) ac_try_echo=$ac_try;;
29310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29311 (eval "$ac_link") 2>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29315 { (case "(($ac_try" in
29316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29317 *) ac_try_echo=$ac_try;;
29319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29320 (eval "$ac_try") 2>&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; }; then
29326 echo "$as_me: program exited with status $ac_status" >&5
29327 echo "$as_me: failed program was:" >&5
29328 sed 's/^/| /' conftest.$ac_ext >&5
29330 ( exit $ac_status )
29333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29337 CFLAGS="$ac_save_CFLAGS"
29338 LIBS="$ac_save_LIBS"
29341 if test "x$no_gtk" = x ; then
29342 { echo "$as_me:$LINENO: result: yes" >&5
29343 echo "${ECHO_T}yes" >&6; }
29344 wx_cv_lib_gtk=1.2.3
29346 { echo "$as_me:$LINENO: result: no" >&5
29347 echo "${ECHO_T}no" >&6; }
29348 if test "$GTK_CONFIG" = "no" ; then
29349 echo "*** The gtk-config script installed by GTK could not be found"
29350 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29351 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29352 echo "*** full path to gtk-config."
29354 if test -f conf.gtktest ; then
29357 echo "*** Could not run GTK test program, checking why..."
29358 CFLAGS="$CFLAGS $GTK_CFLAGS"
29359 LIBS="$LIBS $GTK_LIBS"
29360 cat >conftest.$ac_ext <<_ACEOF
29363 cat confdefs.h >>conftest.$ac_ext
29364 cat >>conftest.$ac_ext <<_ACEOF
29365 /* end confdefs.h. */
29367 #include <gtk/gtk.h>
29373 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29378 rm -f conftest.$ac_objext conftest$ac_exeext
29379 if { (ac_try="$ac_link"
29380 case "(($ac_try" in
29381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29382 *) ac_try_echo=$ac_try;;
29384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29385 (eval "$ac_link") 2>conftest.er1
29387 grep -v '^ *+' conftest.er1 >conftest.err
29389 cat conftest.err >&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); } && {
29392 test -z "$ac_c_werror_flag" ||
29393 test ! -s conftest.err
29394 } && test -s conftest$ac_exeext &&
29395 $as_test_x conftest$ac_exeext; then
29396 echo "*** The test program compiled, but did not run. This usually means"
29397 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29398 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29399 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29400 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29401 echo "*** is required on your system"
29403 echo "*** If you have an old version installed, it is best to remove it, although"
29404 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29406 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29407 echo "*** came with the system with the command"
29409 echo "*** rpm --erase --nodeps gtk gtk-devel"
29411 echo "$as_me: failed program was:" >&5
29412 sed 's/^/| /' conftest.$ac_ext >&5
29414 echo "*** The test program failed to compile or link. See the file config.log for the"
29415 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29416 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29417 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29421 conftest$ac_exeext conftest.$ac_ext
29422 CFLAGS="$ac_save_CFLAGS"
29423 LIBS="$ac_save_LIBS"
29438 if test -z "$wx_cv_lib_gtk"; then
29441 wx_cv_cflags_gtk=$GTK_CFLAGS
29442 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29449 if test "$gtk_version_cached" = 1; then
29450 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29451 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29454 case "$wx_cv_lib_gtk" in
29463 *) { { echo "$as_me:$LINENO: error:
29464 The development files for GTK+ were not found. For GTK+ 2, please
29465 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29466 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29467 and that the version is 1.2.3 or above. Also check that the
29468 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29469 --libs' are in the LD_LIBRARY_PATH or equivalent.
29471 echo "$as_me: error:
29472 The development files for GTK+ were not found. For GTK+ 2, please
29473 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29474 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29475 and that the version is 1.2.3 or above. Also check that the
29476 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29477 --libs' are in the LD_LIBRARY_PATH or equivalent.
29479 { (exit 1); exit 1; }; }
29483 if test "$WXGTK2" = 1; then
29484 save_CFLAGS="$CFLAGS"
29486 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29487 LIBS="$LIBS $wx_cv_libs_gtk"
29489 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29490 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29491 cat >conftest.$ac_ext <<_ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29498 #include <gtk/gtk.h>
29504 #if !GTK_CHECK_VERSION(2,10,0)
29512 rm -f conftest.$ac_objext
29513 if { (ac_try="$ac_compile"
29514 case "(($ac_try" in
29515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29516 *) ac_try_echo=$ac_try;;
29518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29519 (eval "$ac_compile") 2>conftest.er1
29521 grep -v '^ *+' conftest.er1 >conftest.err
29523 cat conftest.err >&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); } && {
29526 test -z "$ac_c_werror_flag" ||
29527 test ! -s conftest.err
29528 } && test -s conftest.$ac_objext; then
29530 cat >>confdefs.h <<\_ACEOF
29531 #define __WXGTK210__ 1
29534 cat >>confdefs.h <<\_ACEOF
29535 #define __WXGTK26__ 1
29538 { echo "$as_me:$LINENO: result: yes" >&5
29539 echo "${ECHO_T}yes" >&6; }
29543 echo "$as_me: failed program was:" >&5
29544 sed 's/^/| /' conftest.$ac_ext >&5
29547 { echo "$as_me:$LINENO: result: no" >&5
29548 echo "${ECHO_T}no" >&6; }
29553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555 if test "$ac_wxgtk210" = 0; then
29556 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29557 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29558 cat >conftest.$ac_ext <<_ACEOF
29561 cat confdefs.h >>conftest.$ac_ext
29562 cat >>conftest.$ac_ext <<_ACEOF
29563 /* end confdefs.h. */
29565 #include <gtk/gtk.h>
29571 #if !GTK_CHECK_VERSION(2,6,0)
29579 rm -f conftest.$ac_objext
29580 if { (ac_try="$ac_compile"
29581 case "(($ac_try" in
29582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29583 *) ac_try_echo=$ac_try;;
29585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29586 (eval "$ac_compile") 2>conftest.er1
29588 grep -v '^ *+' conftest.er1 >conftest.err
29590 cat conftest.err >&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } && {
29593 test -z "$ac_c_werror_flag" ||
29594 test ! -s conftest.err
29595 } && test -s conftest.$ac_objext; then
29597 cat >>confdefs.h <<\_ACEOF
29598 #define __WXGTK26__ 1
29601 { echo "$as_me:$LINENO: result: yes" >&5
29602 echo "${ECHO_T}yes" >&6; }
29606 echo "$as_me: failed program was:" >&5
29607 sed 's/^/| /' conftest.$ac_ext >&5
29610 { echo "$as_me:$LINENO: result: no" >&5
29611 echo "${ECHO_T}no" >&6; }
29616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29619 CFLAGS="$save_CFLAGS"
29622 if test "$wxUSE_UNICODE" = "yes"; then
29623 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29624 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29628 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29629 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29630 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29631 echo $ECHO_N "(cached) $ECHO_C" >&6
29633 ac_check_lib_save_LIBS=$LIBS
29635 cat >conftest.$ac_ext <<_ACEOF
29638 cat confdefs.h >>conftest.$ac_ext
29639 cat >>conftest.$ac_ext <<_ACEOF
29640 /* end confdefs.h. */
29642 /* Override any GCC internal prototype to avoid an error.
29643 Use char because int might match the return type of a GCC
29644 builtin and then its argument prototype would still apply. */
29648 char gdk_im_open ();
29652 return gdk_im_open ();
29657 rm -f conftest.$ac_objext conftest$ac_exeext
29658 if { (ac_try="$ac_link"
29659 case "(($ac_try" in
29660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29661 *) ac_try_echo=$ac_try;;
29663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29664 (eval "$ac_link") 2>conftest.er1
29666 grep -v '^ *+' conftest.er1 >conftest.err
29668 cat conftest.err >&5
29669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670 (exit $ac_status); } && {
29671 test -z "$ac_c_werror_flag" ||
29672 test ! -s conftest.err
29673 } && test -s conftest$ac_exeext &&
29674 $as_test_x conftest$ac_exeext; then
29675 ac_cv_lib_gdk_gdk_im_open=yes
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29680 ac_cv_lib_gdk_gdk_im_open=no
29683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29684 conftest$ac_exeext conftest.$ac_ext
29685 LIBS=$ac_check_lib_save_LIBS
29687 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29688 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29689 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29690 cat >>confdefs.h <<\_ACEOF
29697 if test "$USE_DARWIN" != 1; then
29699 for ac_func in poll
29701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29705 echo $ECHO_N "(cached) $ECHO_C" >&6
29707 cat >conftest.$ac_ext <<_ACEOF
29710 cat confdefs.h >>conftest.$ac_ext
29711 cat >>conftest.$ac_ext <<_ACEOF
29712 /* end confdefs.h. */
29713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29715 #define $ac_func innocuous_$ac_func
29717 /* System header to define __stub macros and hopefully few prototypes,
29718 which can conflict with char $ac_func (); below.
29719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29720 <limits.h> exists even on freestanding compilers. */
29723 # include <limits.h>
29725 # include <assert.h>
29730 /* Override any GCC internal prototype to avoid an error.
29731 Use char because int might match the return type of a GCC
29732 builtin and then its argument prototype would still apply. */
29737 /* The GNU C library defines this for functions which it implements
29738 to always fail with ENOSYS. Some functions are actually named
29739 something starting with __ and the normal name is an alias. */
29740 #if defined __stub_$ac_func || defined __stub___$ac_func
29747 return $ac_func ();
29752 rm -f conftest.$ac_objext conftest$ac_exeext
29753 if { (ac_try="$ac_link"
29754 case "(($ac_try" in
29755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29756 *) ac_try_echo=$ac_try;;
29758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29759 (eval "$ac_link") 2>conftest.er1
29761 grep -v '^ *+' conftest.er1 >conftest.err
29763 cat conftest.err >&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); } && {
29766 test -z "$ac_c_werror_flag" ||
29767 test ! -s conftest.err
29768 } && test -s conftest$ac_exeext &&
29769 $as_test_x conftest$ac_exeext; then
29770 eval "$as_ac_var=yes"
29772 echo "$as_me: failed program was:" >&5
29773 sed 's/^/| /' conftest.$ac_ext >&5
29775 eval "$as_ac_var=no"
29778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29779 conftest$ac_exeext conftest.$ac_ext
29781 ac_res=`eval echo '${'$as_ac_var'}'`
29782 { echo "$as_me:$LINENO: result: $ac_res" >&5
29783 echo "${ECHO_T}$ac_res" >&6; }
29784 if test `eval echo '${'$as_ac_var'}'` = yes; then
29785 cat >>confdefs.h <<_ACEOF
29786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29795 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29796 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29798 AFMINSTALL=afminstall
29802 if test "$wxUSE_GPE" = "yes"; then
29803 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29804 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29807 for ac_dir in $SEARCH_LIB;
29809 for ac_extension in a so sl dylib dll.a; do
29810 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29811 ac_find_libraries=$ac_dir
29817 if test "$ac_find_libraries" != "" ; then
29819 if test "$ac_find_libraries" = "default location"; then
29822 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29824 if test $result = 0; then
29827 ac_path_to_link=" -L$ac_find_libraries"
29831 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29833 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29834 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29836 { echo "$as_me:$LINENO: result: not found" >&5
29837 echo "${ECHO_T}not found" >&6; }
29843 if test "$wxUSE_MGL" = 1; then
29844 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29845 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29846 if test "x$MGL_ROOT" = x ; then
29847 { echo "$as_me:$LINENO: result: not found" >&5
29848 echo "${ECHO_T}not found" >&6; }
29849 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29850 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29851 { (exit 1); exit 1; }; }
29853 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29854 echo "${ECHO_T}$MGL_ROOT" >&6; }
29857 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29858 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29861 if test "x$wxUSE_SHARED" = xyes ; then
29862 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29864 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29868 mgl_os_candidates="dos32/dj2"
29871 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29872 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29873 { (exit 1); exit 1; }; }
29879 for mgl_os_i in $mgl_os_candidates ; do
29880 if test "x$mgl_os" = x ; then
29881 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29882 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29883 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29888 if test "x$mgl_lib_type" = x ; then
29889 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29890 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29891 mgl_lib_type=release
29898 if test "x$mgl_os" = x ; then
29899 { echo "$as_me:$LINENO: result: not found" >&5
29900 echo "${ECHO_T}not found" >&6; }
29901 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29902 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29903 { (exit 1); exit 1; }; }
29905 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29906 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29908 wxUSE_UNIVERSAL="yes"
29910 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29911 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29913 AFMINSTALL=afminstall
29918 if test "$wxUSE_DFB" = 1; then
29921 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29922 if test -n "$ac_tool_prefix"; then
29923 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29924 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29930 case $PKG_CONFIG in
29932 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29936 for as_dir in $PATH
29939 test -z "$as_dir" && as_dir=.
29940 for ac_exec_ext in '' $ac_executable_extensions; do
29941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29942 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29953 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29954 if test -n "$PKG_CONFIG"; then
29955 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29956 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29958 { echo "$as_me:$LINENO: result: no" >&5
29959 echo "${ECHO_T}no" >&6; }
29964 if test -z "$ac_cv_path_PKG_CONFIG"; then
29965 ac_pt_PKG_CONFIG=$PKG_CONFIG
29966 # Extract the first word of "pkg-config", so it can be a program name with args.
29967 set dummy pkg-config; ac_word=$2
29968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29970 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29971 echo $ECHO_N "(cached) $ECHO_C" >&6
29973 case $ac_pt_PKG_CONFIG in
29975 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29979 for as_dir in $PATH
29982 test -z "$as_dir" && as_dir=.
29983 for ac_exec_ext in '' $ac_executable_extensions; do
29984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29985 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29996 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29997 if test -n "$ac_pt_PKG_CONFIG"; then
29998 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29999 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30001 { echo "$as_me:$LINENO: result: no" >&5
30002 echo "${ECHO_T}no" >&6; }
30005 if test "x$ac_pt_PKG_CONFIG" = x; then
30008 case $cross_compiling:$ac_tool_warned in
30010 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30011 whose name does not start with the host triplet. If you think this
30012 configuration is useful to you, please write to autoconf@gnu.org." >&5
30013 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30014 whose name does not start with the host triplet. If you think this
30015 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30016 ac_tool_warned=yes ;;
30018 PKG_CONFIG=$ac_pt_PKG_CONFIG
30021 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30025 if test -n "$PKG_CONFIG"; then
30026 _pkg_min_version=0.9.0
30027 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30028 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30029 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30030 { echo "$as_me:$LINENO: result: yes" >&5
30031 echo "${ECHO_T}yes" >&6; }
30033 { echo "$as_me:$LINENO: result: no" >&5
30034 echo "${ECHO_T}no" >&6; }
30042 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30043 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30045 if test -n "$PKG_CONFIG"; then
30046 if test -n "$DIRECTFB_CFLAGS"; then
30047 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30049 if test -n "$PKG_CONFIG" && \
30050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30051 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; then
30055 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30063 if test -n "$PKG_CONFIG"; then
30064 if test -n "$DIRECTFB_LIBS"; then
30065 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30067 if test -n "$PKG_CONFIG" && \
30068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30069 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; then
30073 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30084 if test $pkg_failed = yes; then
30086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30087 _pkg_short_errors_supported=yes
30089 _pkg_short_errors_supported=no
30091 if test $_pkg_short_errors_supported = yes; then
30092 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30094 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30096 # Put the nasty error message in config.log where it belongs
30097 echo "$DIRECTFB_PKG_ERRORS" >&5
30100 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30101 echo "$as_me: error: DirectFB not found." >&2;}
30102 { (exit 1); exit 1; }; }
30105 elif test $pkg_failed = untried; then
30107 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30108 echo "$as_me: error: DirectFB not found." >&2;}
30109 { (exit 1); exit 1; }; }
30113 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30114 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30115 { echo "$as_me:$LINENO: result: yes" >&5
30116 echo "${ECHO_T}yes" >&6; }
30118 wxUSE_UNIVERSAL="yes"
30119 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30120 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30127 if test "$wxUSE_MICROWIN" = 1; then
30128 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30129 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30130 if test "x$MICROWINDOWS" = x ; then
30131 { echo "$as_me:$LINENO: result: not found" >&5
30132 echo "${ECHO_T}not found" >&6; }
30133 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30134 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30135 { (exit 1); exit 1; }; }
30137 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30138 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30141 if test -f $MICROWINDOWS/lib/libmwin.a; then
30142 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30143 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30145 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30146 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30147 { (exit 1); exit 1; }; }
30150 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30151 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30153 wxUSE_UNIVERSAL="yes"
30155 AFMINSTALL=afminstall
30157 GUIDIST=MICROWIN_DIST
30159 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30162 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30163 { echo "$as_me:$LINENO: checking for X" >&5
30164 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30167 # Check whether --with-x was given.
30168 if test "${with_x+set}" = set; then
30172 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30173 if test "x$with_x" = xno; then
30174 # The user explicitly disabled X.
30177 case $x_includes,$x_libraries in #(
30178 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30179 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30180 { (exit 1); exit 1; }; };; #(
30181 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30182 echo $ECHO_N "(cached) $ECHO_C" >&6
30184 # One or both of the vars are not set, and there is no cached value.
30185 ac_x_includes=no ac_x_libraries=no
30186 rm -f -r conftest.dir
30187 if mkdir conftest.dir; then
30189 cat >Imakefile <<'_ACEOF'
30191 @echo incroot='${INCROOT}'
30193 @echo usrlibdir='${USRLIBDIR}'
30195 @echo libdir='${LIBDIR}'
30197 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30198 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30199 for ac_var in incroot usrlibdir libdir; do
30200 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30202 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30203 for ac_extension in a so sl; do
30204 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30205 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30206 ac_im_usrlibdir=$ac_im_libdir; break
30209 # Screen out bogus values from the imake configuration. They are
30210 # bogus both because they are the default anyway, and because
30211 # using them would break gcc on systems where it needs fixed includes.
30212 case $ac_im_incroot in
30213 /usr/include) ac_x_includes= ;;
30214 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30216 case $ac_im_usrlibdir in
30217 /usr/lib | /lib) ;;
30218 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30222 rm -f -r conftest.dir
30225 # Standard set of common directories for X headers.
30226 # Check X11 before X11Rn because it is often a symlink to the current release.
30238 /usr/local/X11/include
30239 /usr/local/X11R6/include
30240 /usr/local/X11R5/include
30241 /usr/local/X11R4/include
30243 /usr/local/include/X11
30244 /usr/local/include/X11R6
30245 /usr/local/include/X11R5
30246 /usr/local/include/X11R4
30250 /usr/XFree86/include/X11
30254 /usr/unsupported/include
30255 /usr/athena/include
30256 /usr/local/x11r5/include
30257 /usr/lpp/Xamples/include
30259 /usr/openwin/include
30260 /usr/openwin/share/include'
30262 if test "$ac_x_includes" = no; then
30263 # Guess where to find include files, by looking for Xlib.h.
30264 # First, try using that file with no special directory specified.
30265 cat >conftest.$ac_ext <<_ACEOF
30268 cat confdefs.h >>conftest.$ac_ext
30269 cat >>conftest.$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271 #include <X11/Xlib.h>
30273 if { (ac_try="$ac_cpp conftest.$ac_ext"
30274 case "(($ac_try" in
30275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30276 *) ac_try_echo=$ac_try;;
30278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30281 grep -v '^ *+' conftest.er1 >conftest.err
30283 cat conftest.err >&5
30284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30285 (exit $ac_status); } >/dev/null && {
30286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30287 test ! -s conftest.err
30289 # We can compile using X headers with no special include directory.
30292 echo "$as_me: failed program was:" >&5
30293 sed 's/^/| /' conftest.$ac_ext >&5
30295 for ac_dir in $ac_x_header_dirs; do
30296 if test -r "$ac_dir/X11/Xlib.h"; then
30297 ac_x_includes=$ac_dir
30303 rm -f conftest.err conftest.$ac_ext
30304 fi # $ac_x_includes = no
30306 if test "$ac_x_libraries" = no; then
30307 # Check for the libraries.
30308 # See if we find them without any special options.
30309 # Don't add to $LIBS permanently.
30312 cat >conftest.$ac_ext <<_ACEOF
30315 cat confdefs.h >>conftest.$ac_ext
30316 cat >>conftest.$ac_ext <<_ACEOF
30317 /* end confdefs.h. */
30318 #include <X11/Xlib.h>
30327 rm -f conftest.$ac_objext conftest$ac_exeext
30328 if { (ac_try="$ac_link"
30329 case "(($ac_try" in
30330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30331 *) ac_try_echo=$ac_try;;
30333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30334 (eval "$ac_link") 2>conftest.er1
30336 grep -v '^ *+' conftest.er1 >conftest.err
30338 cat conftest.err >&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } && {
30341 test -z "$ac_c_werror_flag" ||
30342 test ! -s conftest.err
30343 } && test -s conftest$ac_exeext &&
30344 $as_test_x conftest$ac_exeext; then
30346 # We can link X programs with no special library path.
30349 echo "$as_me: failed program was:" >&5
30350 sed 's/^/| /' conftest.$ac_ext >&5
30353 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30355 # Don't even attempt the hair of trying to link an X program!
30356 for ac_extension in a so sl; do
30357 if test -r "$ac_dir/libX11.$ac_extension"; then
30358 ac_x_libraries=$ac_dir
30365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30366 conftest$ac_exeext conftest.$ac_ext
30367 fi # $ac_x_libraries = no
30369 case $ac_x_includes,$ac_x_libraries in #(
30370 no,* | *,no | *\'*)
30371 # Didn't find X, or a directory has "'" in its name.
30372 ac_cv_have_x="have_x=no";; #(
30374 # Record where we found X for the cache.
30375 ac_cv_have_x="have_x=yes\
30376 ac_x_includes='$ac_x_includes'\
30377 ac_x_libraries='$ac_x_libraries'"
30383 eval "$ac_cv_have_x"
30386 if test "$have_x" != yes; then
30387 { echo "$as_me:$LINENO: result: $have_x" >&5
30388 echo "${ECHO_T}$have_x" >&6; }
30391 # If each of the values was on the command line, it overrides each guess.
30392 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30393 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30394 # Update the cache value to reflect the command line values.
30395 ac_cv_have_x="have_x=yes\
30396 ac_x_includes='$x_includes'\
30397 ac_x_libraries='$x_libraries'"
30398 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30399 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30402 if test "$no_x" = yes; then
30403 # Not all programs may use this symbol, but it does not hurt to define it.
30405 cat >>confdefs.h <<\_ACEOF
30406 #define X_DISPLAY_MISSING 1
30409 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30411 if test -n "$x_includes"; then
30412 X_CFLAGS="$X_CFLAGS -I$x_includes"
30415 # It would also be nice to do this for all -L options, not just this one.
30416 if test -n "$x_libraries"; then
30417 X_LIBS="$X_LIBS -L$x_libraries"
30418 # For Solaris; some versions of Sun CC require a space after -R and
30419 # others require no space. Words are not sufficient . . . .
30420 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30421 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30422 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30423 ac_xsave_c_werror_flag=$ac_c_werror_flag
30424 ac_c_werror_flag=yes
30425 cat >conftest.$ac_ext <<_ACEOF
30428 cat confdefs.h >>conftest.$ac_ext
30429 cat >>conftest.$ac_ext <<_ACEOF
30430 /* end confdefs.h. */
30440 rm -f conftest.$ac_objext conftest$ac_exeext
30441 if { (ac_try="$ac_link"
30442 case "(($ac_try" in
30443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30444 *) ac_try_echo=$ac_try;;
30446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30447 (eval "$ac_link") 2>conftest.er1
30449 grep -v '^ *+' conftest.er1 >conftest.err
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } && {
30454 test -z "$ac_c_werror_flag" ||
30455 test ! -s conftest.err
30456 } && test -s conftest$ac_exeext &&
30457 $as_test_x conftest$ac_exeext; then
30458 { echo "$as_me:$LINENO: result: no" >&5
30459 echo "${ECHO_T}no" >&6; }
30460 X_LIBS="$X_LIBS -R$x_libraries"
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30465 LIBS="$ac_xsave_LIBS -R $x_libraries"
30466 cat >conftest.$ac_ext <<_ACEOF
30469 cat confdefs.h >>conftest.$ac_ext
30470 cat >>conftest.$ac_ext <<_ACEOF
30471 /* end confdefs.h. */
30481 rm -f conftest.$ac_objext conftest$ac_exeext
30482 if { (ac_try="$ac_link"
30483 case "(($ac_try" in
30484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30485 *) ac_try_echo=$ac_try;;
30487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30488 (eval "$ac_link") 2>conftest.er1
30490 grep -v '^ *+' conftest.er1 >conftest.err
30492 cat conftest.err >&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); } && {
30495 test -z "$ac_c_werror_flag" ||
30496 test ! -s conftest.err
30497 } && test -s conftest$ac_exeext &&
30498 $as_test_x conftest$ac_exeext; then
30499 { echo "$as_me:$LINENO: result: yes" >&5
30500 echo "${ECHO_T}yes" >&6; }
30501 X_LIBS="$X_LIBS -R $x_libraries"
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30506 { echo "$as_me:$LINENO: result: neither works" >&5
30507 echo "${ECHO_T}neither works" >&6; }
30510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30511 conftest$ac_exeext conftest.$ac_ext
30514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30515 conftest$ac_exeext conftest.$ac_ext
30516 ac_c_werror_flag=$ac_xsave_c_werror_flag
30517 LIBS=$ac_xsave_LIBS
30520 # Check for system-dependent libraries X programs must link with.
30521 # Do this before checking for the system-independent R6 libraries
30522 # (-lICE), since we may need -lsocket or whatever for X linking.
30524 if test "$ISC" = yes; then
30525 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30527 # Martyn Johnson says this is needed for Ultrix, if the X
30528 # libraries were built with DECnet support. And Karl Berry says
30529 # the Alpha needs dnet_stub (dnet does not exist).
30530 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30531 cat >conftest.$ac_ext <<_ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30538 /* Override any GCC internal prototype to avoid an error.
30539 Use char because int might match the return type of a GCC
30540 builtin and then its argument prototype would still apply. */
30544 char XOpenDisplay ();
30548 return XOpenDisplay ();
30553 rm -f conftest.$ac_objext conftest$ac_exeext
30554 if { (ac_try="$ac_link"
30555 case "(($ac_try" in
30556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30557 *) ac_try_echo=$ac_try;;
30559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30560 (eval "$ac_link") 2>conftest.er1
30562 grep -v '^ *+' conftest.er1 >conftest.err
30564 cat conftest.err >&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && {
30567 test -z "$ac_c_werror_flag" ||
30568 test ! -s conftest.err
30569 } && test -s conftest$ac_exeext &&
30570 $as_test_x conftest$ac_exeext; then
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30576 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30577 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30578 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30579 echo $ECHO_N "(cached) $ECHO_C" >&6
30581 ac_check_lib_save_LIBS=$LIBS
30582 LIBS="-ldnet $LIBS"
30583 cat >conftest.$ac_ext <<_ACEOF
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30590 /* Override any GCC internal prototype to avoid an error.
30591 Use char because int might match the return type of a GCC
30592 builtin and then its argument prototype would still apply. */
30600 return dnet_ntoa ();
30605 rm -f conftest.$ac_objext conftest$ac_exeext
30606 if { (ac_try="$ac_link"
30607 case "(($ac_try" in
30608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30609 *) ac_try_echo=$ac_try;;
30611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30612 (eval "$ac_link") 2>conftest.er1
30614 grep -v '^ *+' conftest.er1 >conftest.err
30616 cat conftest.err >&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } && {
30619 test -z "$ac_c_werror_flag" ||
30620 test ! -s conftest.err
30621 } && test -s conftest$ac_exeext &&
30622 $as_test_x conftest$ac_exeext; then
30623 ac_cv_lib_dnet_dnet_ntoa=yes
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30628 ac_cv_lib_dnet_dnet_ntoa=no
30631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30632 conftest$ac_exeext conftest.$ac_ext
30633 LIBS=$ac_check_lib_save_LIBS
30635 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30636 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30637 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30638 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30641 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30642 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30643 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30644 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30645 echo $ECHO_N "(cached) $ECHO_C" >&6
30647 ac_check_lib_save_LIBS=$LIBS
30648 LIBS="-ldnet_stub $LIBS"
30649 cat >conftest.$ac_ext <<_ACEOF
30652 cat confdefs.h >>conftest.$ac_ext
30653 cat >>conftest.$ac_ext <<_ACEOF
30654 /* end confdefs.h. */
30656 /* Override any GCC internal prototype to avoid an error.
30657 Use char because int might match the return type of a GCC
30658 builtin and then its argument prototype would still apply. */
30666 return dnet_ntoa ();
30671 rm -f conftest.$ac_objext conftest$ac_exeext
30672 if { (ac_try="$ac_link"
30673 case "(($ac_try" in
30674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30675 *) ac_try_echo=$ac_try;;
30677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30678 (eval "$ac_link") 2>conftest.er1
30680 grep -v '^ *+' conftest.er1 >conftest.err
30682 cat conftest.err >&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } && {
30685 test -z "$ac_c_werror_flag" ||
30686 test ! -s conftest.err
30687 } && test -s conftest$ac_exeext &&
30688 $as_test_x conftest$ac_exeext; then
30689 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30691 echo "$as_me: failed program was:" >&5
30692 sed 's/^/| /' conftest.$ac_ext >&5
30694 ac_cv_lib_dnet_stub_dnet_ntoa=no
30697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30698 conftest$ac_exeext conftest.$ac_ext
30699 LIBS=$ac_check_lib_save_LIBS
30701 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30702 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30703 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30704 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30711 conftest$ac_exeext conftest.$ac_ext
30712 LIBS="$ac_xsave_LIBS"
30714 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30715 # to get the SysV transport functions.
30716 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30718 # The nsl library prevents programs from opening the X display
30719 # on Irix 5.2, according to T.E. Dickey.
30720 # The functions gethostbyname, getservbyname, and inet_addr are
30721 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30722 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30723 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30724 if test "${ac_cv_func_gethostbyname+set}" = set; then
30725 echo $ECHO_N "(cached) $ECHO_C" >&6
30727 cat >conftest.$ac_ext <<_ACEOF
30730 cat confdefs.h >>conftest.$ac_ext
30731 cat >>conftest.$ac_ext <<_ACEOF
30732 /* end confdefs.h. */
30733 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30735 #define gethostbyname innocuous_gethostbyname
30737 /* System header to define __stub macros and hopefully few prototypes,
30738 which can conflict with char gethostbyname (); below.
30739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30740 <limits.h> exists even on freestanding compilers. */
30743 # include <limits.h>
30745 # include <assert.h>
30748 #undef gethostbyname
30750 /* Override any GCC internal prototype to avoid an error.
30751 Use char because int might match the return type of a GCC
30752 builtin and then its argument prototype would still apply. */
30756 char gethostbyname ();
30757 /* The GNU C library defines this for functions which it implements
30758 to always fail with ENOSYS. Some functions are actually named
30759 something starting with __ and the normal name is an alias. */
30760 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30767 return gethostbyname ();
30772 rm -f conftest.$ac_objext conftest$ac_exeext
30773 if { (ac_try="$ac_link"
30774 case "(($ac_try" in
30775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30776 *) ac_try_echo=$ac_try;;
30778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30779 (eval "$ac_link") 2>conftest.er1
30781 grep -v '^ *+' conftest.er1 >conftest.err
30783 cat conftest.err >&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); } && {
30786 test -z "$ac_c_werror_flag" ||
30787 test ! -s conftest.err
30788 } && test -s conftest$ac_exeext &&
30789 $as_test_x conftest$ac_exeext; then
30790 ac_cv_func_gethostbyname=yes
30792 echo "$as_me: failed program was:" >&5
30793 sed 's/^/| /' conftest.$ac_ext >&5
30795 ac_cv_func_gethostbyname=no
30798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30799 conftest$ac_exeext conftest.$ac_ext
30801 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30802 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30804 if test $ac_cv_func_gethostbyname = no; then
30805 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30806 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30807 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30810 ac_check_lib_save_LIBS=$LIBS
30812 cat >conftest.$ac_ext <<_ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h. */
30819 /* Override any GCC internal prototype to avoid an error.
30820 Use char because int might match the return type of a GCC
30821 builtin and then its argument prototype would still apply. */
30825 char gethostbyname ();
30829 return gethostbyname ();
30834 rm -f conftest.$ac_objext conftest$ac_exeext
30835 if { (ac_try="$ac_link"
30836 case "(($ac_try" in
30837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30838 *) ac_try_echo=$ac_try;;
30840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30841 (eval "$ac_link") 2>conftest.er1
30843 grep -v '^ *+' conftest.er1 >conftest.err
30845 cat conftest.err >&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); } && {
30848 test -z "$ac_c_werror_flag" ||
30849 test ! -s conftest.err
30850 } && test -s conftest$ac_exeext &&
30851 $as_test_x conftest$ac_exeext; then
30852 ac_cv_lib_nsl_gethostbyname=yes
30854 echo "$as_me: failed program was:" >&5
30855 sed 's/^/| /' conftest.$ac_ext >&5
30857 ac_cv_lib_nsl_gethostbyname=no
30860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30861 conftest$ac_exeext conftest.$ac_ext
30862 LIBS=$ac_check_lib_save_LIBS
30864 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30865 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30866 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30867 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30870 if test $ac_cv_lib_nsl_gethostbyname = no; then
30871 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30872 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30873 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30876 ac_check_lib_save_LIBS=$LIBS
30878 cat >conftest.$ac_ext <<_ACEOF
30881 cat confdefs.h >>conftest.$ac_ext
30882 cat >>conftest.$ac_ext <<_ACEOF
30883 /* end confdefs.h. */
30885 /* Override any GCC internal prototype to avoid an error.
30886 Use char because int might match the return type of a GCC
30887 builtin and then its argument prototype would still apply. */
30891 char gethostbyname ();
30895 return gethostbyname ();
30900 rm -f conftest.$ac_objext conftest$ac_exeext
30901 if { (ac_try="$ac_link"
30902 case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_link") 2>conftest.er1
30909 grep -v '^ *+' conftest.er1 >conftest.err
30911 cat conftest.err >&5
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); } && {
30914 test -z "$ac_c_werror_flag" ||
30915 test ! -s conftest.err
30916 } && test -s conftest$ac_exeext &&
30917 $as_test_x conftest$ac_exeext; then
30918 ac_cv_lib_bsd_gethostbyname=yes
30920 echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.$ac_ext >&5
30923 ac_cv_lib_bsd_gethostbyname=no
30926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30927 conftest$ac_exeext conftest.$ac_ext
30928 LIBS=$ac_check_lib_save_LIBS
30930 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30931 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30932 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30933 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30939 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30940 # socket/setsockopt and other routines are undefined under SCO ODT
30941 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30942 # on later versions), says Simon Leinen: it contains gethostby*
30943 # variants that don't use the name server (or something). -lsocket
30944 # must be given before -lnsl if both are needed. We assume that
30945 # if connect needs -lnsl, so does gethostbyname.
30946 { echo "$as_me:$LINENO: checking for connect" >&5
30947 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30948 if test "${ac_cv_func_connect+set}" = set; then
30949 echo $ECHO_N "(cached) $ECHO_C" >&6
30951 cat >conftest.$ac_ext <<_ACEOF
30954 cat confdefs.h >>conftest.$ac_ext
30955 cat >>conftest.$ac_ext <<_ACEOF
30956 /* end confdefs.h. */
30957 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30959 #define connect innocuous_connect
30961 /* System header to define __stub macros and hopefully few prototypes,
30962 which can conflict with char connect (); below.
30963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30964 <limits.h> exists even on freestanding compilers. */
30967 # include <limits.h>
30969 # include <assert.h>
30974 /* Override any GCC internal prototype to avoid an error.
30975 Use char because int might match the return type of a GCC
30976 builtin and then its argument prototype would still apply. */
30981 /* The GNU C library defines this for functions which it implements
30982 to always fail with ENOSYS. Some functions are actually named
30983 something starting with __ and the normal name is an alias. */
30984 #if defined __stub_connect || defined __stub___connect
30996 rm -f conftest.$ac_objext conftest$ac_exeext
30997 if { (ac_try="$ac_link"
30998 case "(($ac_try" in
30999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31000 *) ac_try_echo=$ac_try;;
31002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31003 (eval "$ac_link") 2>conftest.er1
31005 grep -v '^ *+' conftest.er1 >conftest.err
31007 cat conftest.err >&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } && {
31010 test -z "$ac_c_werror_flag" ||
31011 test ! -s conftest.err
31012 } && test -s conftest$ac_exeext &&
31013 $as_test_x conftest$ac_exeext; then
31014 ac_cv_func_connect=yes
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31019 ac_cv_func_connect=no
31022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31023 conftest$ac_exeext conftest.$ac_ext
31025 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31026 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31028 if test $ac_cv_func_connect = no; then
31029 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31030 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31031 if test "${ac_cv_lib_socket_connect+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31034 ac_check_lib_save_LIBS=$LIBS
31035 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31036 cat >conftest.$ac_ext <<_ACEOF
31039 cat confdefs.h >>conftest.$ac_ext
31040 cat >>conftest.$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31043 /* Override any GCC internal prototype to avoid an error.
31044 Use char because int might match the return type of a GCC
31045 builtin and then its argument prototype would still apply. */
31058 rm -f conftest.$ac_objext conftest$ac_exeext
31059 if { (ac_try="$ac_link"
31060 case "(($ac_try" in
31061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31062 *) ac_try_echo=$ac_try;;
31064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31065 (eval "$ac_link") 2>conftest.er1
31067 grep -v '^ *+' conftest.er1 >conftest.err
31069 cat conftest.err >&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); } && {
31072 test -z "$ac_c_werror_flag" ||
31073 test ! -s conftest.err
31074 } && test -s conftest$ac_exeext &&
31075 $as_test_x conftest$ac_exeext; then
31076 ac_cv_lib_socket_connect=yes
31078 echo "$as_me: failed program was:" >&5
31079 sed 's/^/| /' conftest.$ac_ext >&5
31081 ac_cv_lib_socket_connect=no
31084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31085 conftest$ac_exeext conftest.$ac_ext
31086 LIBS=$ac_check_lib_save_LIBS
31088 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31089 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31090 if test $ac_cv_lib_socket_connect = yes; then
31091 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31096 # Guillermo Gomez says -lposix is necessary on A/UX.
31097 { echo "$as_me:$LINENO: checking for remove" >&5
31098 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31099 if test "${ac_cv_func_remove+set}" = set; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31102 cat >conftest.$ac_ext <<_ACEOF
31105 cat confdefs.h >>conftest.$ac_ext
31106 cat >>conftest.$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31108 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31110 #define remove innocuous_remove
31112 /* System header to define __stub macros and hopefully few prototypes,
31113 which can conflict with char remove (); below.
31114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31115 <limits.h> exists even on freestanding compilers. */
31118 # include <limits.h>
31120 # include <assert.h>
31125 /* Override any GCC internal prototype to avoid an error.
31126 Use char because int might match the return type of a GCC
31127 builtin and then its argument prototype would still apply. */
31132 /* The GNU C library defines this for functions which it implements
31133 to always fail with ENOSYS. Some functions are actually named
31134 something starting with __ and the normal name is an alias. */
31135 #if defined __stub_remove || defined __stub___remove
31147 rm -f conftest.$ac_objext conftest$ac_exeext
31148 if { (ac_try="$ac_link"
31149 case "(($ac_try" in
31150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31151 *) ac_try_echo=$ac_try;;
31153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31154 (eval "$ac_link") 2>conftest.er1
31156 grep -v '^ *+' conftest.er1 >conftest.err
31158 cat conftest.err >&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } && {
31161 test -z "$ac_c_werror_flag" ||
31162 test ! -s conftest.err
31163 } && test -s conftest$ac_exeext &&
31164 $as_test_x conftest$ac_exeext; then
31165 ac_cv_func_remove=yes
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31170 ac_cv_func_remove=no
31173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31174 conftest$ac_exeext conftest.$ac_ext
31176 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31177 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31179 if test $ac_cv_func_remove = no; then
31180 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31181 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31182 if test "${ac_cv_lib_posix_remove+set}" = set; then
31183 echo $ECHO_N "(cached) $ECHO_C" >&6
31185 ac_check_lib_save_LIBS=$LIBS
31186 LIBS="-lposix $LIBS"
31187 cat >conftest.$ac_ext <<_ACEOF
31190 cat confdefs.h >>conftest.$ac_ext
31191 cat >>conftest.$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31194 /* Override any GCC internal prototype to avoid an error.
31195 Use char because int might match the return type of a GCC
31196 builtin and then its argument prototype would still apply. */
31209 rm -f conftest.$ac_objext conftest$ac_exeext
31210 if { (ac_try="$ac_link"
31211 case "(($ac_try" in
31212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31213 *) ac_try_echo=$ac_try;;
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_link") 2>conftest.er1
31218 grep -v '^ *+' conftest.er1 >conftest.err
31220 cat conftest.err >&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } && {
31223 test -z "$ac_c_werror_flag" ||
31224 test ! -s conftest.err
31225 } && test -s conftest$ac_exeext &&
31226 $as_test_x conftest$ac_exeext; then
31227 ac_cv_lib_posix_remove=yes
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.$ac_ext >&5
31232 ac_cv_lib_posix_remove=no
31235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31236 conftest$ac_exeext conftest.$ac_ext
31237 LIBS=$ac_check_lib_save_LIBS
31239 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31240 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31241 if test $ac_cv_lib_posix_remove = yes; then
31242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31247 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31248 { echo "$as_me:$LINENO: checking for shmat" >&5
31249 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31250 if test "${ac_cv_func_shmat+set}" = set; then
31251 echo $ECHO_N "(cached) $ECHO_C" >&6
31253 cat >conftest.$ac_ext <<_ACEOF
31256 cat confdefs.h >>conftest.$ac_ext
31257 cat >>conftest.$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31259 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31261 #define shmat innocuous_shmat
31263 /* System header to define __stub macros and hopefully few prototypes,
31264 which can conflict with char shmat (); below.
31265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31266 <limits.h> exists even on freestanding compilers. */
31269 # include <limits.h>
31271 # include <assert.h>
31276 /* Override any GCC internal prototype to avoid an error.
31277 Use char because int might match the return type of a GCC
31278 builtin and then its argument prototype would still apply. */
31283 /* The GNU C library defines this for functions which it implements
31284 to always fail with ENOSYS. Some functions are actually named
31285 something starting with __ and the normal name is an alias. */
31286 #if defined __stub_shmat || defined __stub___shmat
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_func_shmat=yes
31318 echo "$as_me: failed program was:" >&5
31319 sed 's/^/| /' conftest.$ac_ext >&5
31321 ac_cv_func_shmat=no
31324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31325 conftest$ac_exeext conftest.$ac_ext
31327 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31328 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31330 if test $ac_cv_func_shmat = no; then
31331 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31332 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31333 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31334 echo $ECHO_N "(cached) $ECHO_C" >&6
31336 ac_check_lib_save_LIBS=$LIBS
31338 cat >conftest.$ac_ext <<_ACEOF
31341 cat confdefs.h >>conftest.$ac_ext
31342 cat >>conftest.$ac_ext <<_ACEOF
31343 /* end confdefs.h. */
31345 /* Override any GCC internal prototype to avoid an error.
31346 Use char because int might match the return type of a GCC
31347 builtin and then its argument prototype would still apply. */
31360 rm -f conftest.$ac_objext conftest$ac_exeext
31361 if { (ac_try="$ac_link"
31362 case "(($ac_try" in
31363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31364 *) ac_try_echo=$ac_try;;
31366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31367 (eval "$ac_link") 2>conftest.er1
31369 grep -v '^ *+' conftest.er1 >conftest.err
31371 cat conftest.err >&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); } && {
31374 test -z "$ac_c_werror_flag" ||
31375 test ! -s conftest.err
31376 } && test -s conftest$ac_exeext &&
31377 $as_test_x conftest$ac_exeext; then
31378 ac_cv_lib_ipc_shmat=yes
31380 echo "$as_me: failed program was:" >&5
31381 sed 's/^/| /' conftest.$ac_ext >&5
31383 ac_cv_lib_ipc_shmat=no
31386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31387 conftest$ac_exeext conftest.$ac_ext
31388 LIBS=$ac_check_lib_save_LIBS
31390 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31391 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31392 if test $ac_cv_lib_ipc_shmat = yes; then
31393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31399 # Check for libraries that X11R6 Xt/Xaw programs need.
31400 ac_save_LDFLAGS=$LDFLAGS
31401 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31402 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31403 # check for ICE first), but we must link in the order -lSM -lICE or
31404 # we get undefined symbols. So assume we have SM if we have ICE.
31405 # These have to be linked with before -lX11, unlike the other
31406 # libraries we check for below, so use a different variable.
31407 # John Interrante, Karl Berry
31408 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31409 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31410 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 ac_check_lib_save_LIBS=$LIBS
31414 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31415 cat >conftest.$ac_ext <<_ACEOF
31418 cat confdefs.h >>conftest.$ac_ext
31419 cat >>conftest.$ac_ext <<_ACEOF
31420 /* end confdefs.h. */
31422 /* Override any GCC internal prototype to avoid an error.
31423 Use char because int might match the return type of a GCC
31424 builtin and then its argument prototype would still apply. */
31428 char IceConnectionNumber ();
31432 return IceConnectionNumber ();
31437 rm -f conftest.$ac_objext conftest$ac_exeext
31438 if { (ac_try="$ac_link"
31439 case "(($ac_try" in
31440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31441 *) ac_try_echo=$ac_try;;
31443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31444 (eval "$ac_link") 2>conftest.er1
31446 grep -v '^ *+' conftest.er1 >conftest.err
31448 cat conftest.err >&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } && {
31451 test -z "$ac_c_werror_flag" ||
31452 test ! -s conftest.err
31453 } && test -s conftest$ac_exeext &&
31454 $as_test_x conftest$ac_exeext; then
31455 ac_cv_lib_ICE_IceConnectionNumber=yes
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31460 ac_cv_lib_ICE_IceConnectionNumber=no
31463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31464 conftest$ac_exeext conftest.$ac_ext
31465 LIBS=$ac_check_lib_save_LIBS
31467 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31468 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31469 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31470 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31473 LDFLAGS=$ac_save_LDFLAGS
31478 if test "$no_x" = "yes"; then
31479 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31480 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31481 { (exit 1); exit 1; }; }
31484 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31485 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31486 AFMINSTALL=afminstall
31487 COMPILED_X_PROGRAM=0
31491 if test "$wxUSE_X11" = 1; then
31492 if test "$wxUSE_NANOX" = "yes"; then
31493 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31494 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31495 if test "x$MICROWIN" = x ; then
31496 { echo "$as_me:$LINENO: result: not found" >&5
31497 echo "${ECHO_T}not found" >&6; }
31498 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31499 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31500 { (exit 1); exit 1; }; }
31502 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31503 echo "${ECHO_T}$MICROWIN" >&6; }
31504 cat >>confdefs.h <<\_ACEOF
31505 #define wxUSE_NANOX 1
31511 if test "$wxUSE_UNICODE" = "yes"; then
31514 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31515 if test -n "$ac_tool_prefix"; then
31516 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31517 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31520 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31521 echo $ECHO_N "(cached) $ECHO_C" >&6
31523 case $PKG_CONFIG in
31525 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31529 for as_dir in $PATH
31532 test -z "$as_dir" && as_dir=.
31533 for ac_exec_ext in '' $ac_executable_extensions; do
31534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31535 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31546 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31547 if test -n "$PKG_CONFIG"; then
31548 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31549 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31551 { echo "$as_me:$LINENO: result: no" >&5
31552 echo "${ECHO_T}no" >&6; }
31557 if test -z "$ac_cv_path_PKG_CONFIG"; then
31558 ac_pt_PKG_CONFIG=$PKG_CONFIG
31559 # Extract the first word of "pkg-config", so it can be a program name with args.
31560 set dummy pkg-config; ac_word=$2
31561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31563 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31566 case $ac_pt_PKG_CONFIG in
31568 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31572 for as_dir in $PATH
31575 test -z "$as_dir" && as_dir=.
31576 for ac_exec_ext in '' $ac_executable_extensions; do
31577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31578 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31589 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31590 if test -n "$ac_pt_PKG_CONFIG"; then
31591 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31592 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31594 { echo "$as_me:$LINENO: result: no" >&5
31595 echo "${ECHO_T}no" >&6; }
31598 if test "x$ac_pt_PKG_CONFIG" = x; then
31601 case $cross_compiling:$ac_tool_warned in
31603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31604 whose name does not start with the host triplet. If you think this
31605 configuration is useful to you, please write to autoconf@gnu.org." >&5
31606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31607 whose name does not start with the host triplet. If you think this
31608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31609 ac_tool_warned=yes ;;
31611 PKG_CONFIG=$ac_pt_PKG_CONFIG
31614 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31618 if test -n "$PKG_CONFIG"; then
31619 _pkg_min_version=0.9.0
31620 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31621 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31622 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31623 { echo "$as_me:$LINENO: result: yes" >&5
31624 echo "${ECHO_T}yes" >&6; }
31626 { echo "$as_me:$LINENO: result: no" >&5
31627 echo "${ECHO_T}no" >&6; }
31635 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31636 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31638 if test -n "$PKG_CONFIG"; then
31639 if test -n "$PANGOX_CFLAGS"; then
31640 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31642 if test -n "$PKG_CONFIG" && \
31643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31644 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; then
31648 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31656 if test -n "$PKG_CONFIG"; then
31657 if test -n "$PANGOX_LIBS"; then
31658 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31660 if test -n "$PKG_CONFIG" && \
31661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31662 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; then
31666 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31677 if test $pkg_failed = yes; then
31679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31680 _pkg_short_errors_supported=yes
31682 _pkg_short_errors_supported=no
31684 if test $_pkg_short_errors_supported = yes; then
31685 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31687 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31689 # Put the nasty error message in config.log where it belongs
31690 echo "$PANGOX_PKG_ERRORS" >&5
31693 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31694 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31695 { (exit 1); exit 1; }; }
31698 elif test $pkg_failed = untried; then
31700 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31701 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31702 { (exit 1); exit 1; }; }
31706 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31707 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31708 { echo "$as_me:$LINENO: result: yes" >&5
31709 echo "${ECHO_T}yes" >&6; }
31711 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31712 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31713 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31718 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31719 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31721 if test -n "$PKG_CONFIG"; then
31722 if test -n "$PANGOFT2_CFLAGS"; then
31723 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31725 if test -n "$PKG_CONFIG" && \
31726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31727 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; then
31731 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31739 if test -n "$PKG_CONFIG"; then
31740 if test -n "$PANGOFT2_LIBS"; then
31741 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31743 if test -n "$PKG_CONFIG" && \
31744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31745 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); }; then
31749 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31760 if test $pkg_failed = yes; then
31762 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31763 _pkg_short_errors_supported=yes
31765 _pkg_short_errors_supported=no
31767 if test $_pkg_short_errors_supported = yes; then
31768 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31770 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31772 # Put the nasty error message in config.log where it belongs
31773 echo "$PANGOFT2_PKG_ERRORS" >&5
31776 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31777 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31778 wxUSE_PRINTING_ARCHITECTURE="no"
31781 elif test $pkg_failed = untried; then
31783 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31784 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31785 wxUSE_PRINTING_ARCHITECTURE="no"
31789 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31790 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31791 { echo "$as_me:$LINENO: result: yes" >&5
31792 echo "${ECHO_T}yes" >&6; }
31794 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31795 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31796 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31801 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31802 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31804 if test -n "$PKG_CONFIG"; then
31805 if test -n "$PANGOXFT_CFLAGS"; then
31806 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31808 if test -n "$PKG_CONFIG" && \
31809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31810 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); }; then
31814 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31822 if test -n "$PKG_CONFIG"; then
31823 if test -n "$PANGOXFT_LIBS"; then
31824 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31826 if test -n "$PKG_CONFIG" && \
31827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31828 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; then
31832 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31843 if test $pkg_failed = yes; then
31845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31846 _pkg_short_errors_supported=yes
31848 _pkg_short_errors_supported=no
31850 if test $_pkg_short_errors_supported = yes; then
31851 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31853 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31855 # Put the nasty error message in config.log where it belongs
31856 echo "$PANGOXFT_PKG_ERRORS" >&5
31859 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31860 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31863 elif test $pkg_failed = untried; then
31865 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31866 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31870 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31871 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31872 { echo "$as_me:$LINENO: result: yes" >&5
31873 echo "${ECHO_T}yes" >&6; }
31875 cat >>confdefs.h <<\_ACEOF
31876 #define HAVE_PANGO_XFT 1
31879 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31880 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31881 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31885 LIBS="$LIBS $PANGOX_LIBS"
31887 for ac_func in pango_font_family_is_monospace
31889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 cat >conftest.$ac_ext <<_ACEOF
31898 cat confdefs.h >>conftest.$ac_ext
31899 cat >>conftest.$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31903 #define $ac_func innocuous_$ac_func
31905 /* System header to define __stub macros and hopefully few prototypes,
31906 which can conflict with char $ac_func (); below.
31907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31908 <limits.h> exists even on freestanding compilers. */
31911 # include <limits.h>
31913 # include <assert.h>
31918 /* Override any GCC internal prototype to avoid an error.
31919 Use char because int might match the return type of a GCC
31920 builtin and then its argument prototype would still apply. */
31925 /* The GNU C library defines this for functions which it implements
31926 to always fail with ENOSYS. Some functions are actually named
31927 something starting with __ and the normal name is an alias. */
31928 #if defined __stub_$ac_func || defined __stub___$ac_func
31935 return $ac_func ();
31940 rm -f conftest.$ac_objext conftest$ac_exeext
31941 if { (ac_try="$ac_link"
31942 case "(($ac_try" in
31943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31944 *) ac_try_echo=$ac_try;;
31946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31947 (eval "$ac_link") 2>conftest.er1
31949 grep -v '^ *+' conftest.er1 >conftest.err
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } && {
31954 test -z "$ac_c_werror_flag" ||
31955 test ! -s conftest.err
31956 } && test -s conftest$ac_exeext &&
31957 $as_test_x conftest$ac_exeext; then
31958 eval "$as_ac_var=yes"
31960 echo "$as_me: failed program was:" >&5
31961 sed 's/^/| /' conftest.$ac_ext >&5
31963 eval "$as_ac_var=no"
31966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31967 conftest$ac_exeext conftest.$ac_ext
31969 ac_res=`eval echo '${'$as_ac_var'}'`
31970 { echo "$as_me:$LINENO: result: $ac_res" >&5
31971 echo "${ECHO_T}$ac_res" >&6; }
31972 if test `eval echo '${'$as_ac_var'}'` = yes; then
31973 cat >>confdefs.h <<_ACEOF
31974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31983 wxUSE_UNIVERSAL="yes"
31985 if test "$wxUSE_NANOX" = "yes"; then
31986 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31987 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"
31988 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31990 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31997 if test "$wxUSE_MOTIF" = 1; then
31998 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31999 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32002 for ac_dir in $SEARCH_INCLUDE /usr/include;
32004 if test -f "$ac_dir/Xm/Xm.h"; then
32005 ac_find_includes=$ac_dir
32010 if test "$ac_find_includes" != "" ; then
32011 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32012 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32014 if test "x$ac_find_includes" = "x/usr/include"; then
32015 ac_path_to_include=""
32017 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32019 if test $result = 0; then
32020 ac_path_to_include=""
32022 ac_path_to_include=" -I$ac_find_includes"
32026 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32028 save_CFLAGS=$CFLAGS
32029 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32031 cat >conftest.$ac_ext <<_ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32045 version = xmUseVersion;
32051 rm -f conftest.$ac_objext
32052 if { (ac_try="$ac_compile"
32053 case "(($ac_try" in
32054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32055 *) ac_try_echo=$ac_try;;
32057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32058 (eval "$ac_compile") 2>conftest.er1
32060 grep -v '^ *+' conftest.er1 >conftest.err
32062 cat conftest.err >&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } && {
32065 test -z "$ac_c_werror_flag" ||
32066 test ! -s conftest.err
32067 } && test -s conftest.$ac_objext; then
32069 { echo "$as_me:$LINENO: result: found in default search path" >&5
32070 echo "${ECHO_T}found in default search path" >&6; }
32071 COMPILED_X_PROGRAM=1
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.$ac_ext >&5
32078 { echo "$as_me:$LINENO: result: no" >&5
32079 echo "${ECHO_T}no" >&6; }
32080 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32081 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32082 { (exit 1); exit 1; }; }
32087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32089 CFLAGS=$save_CFLAGS
32093 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32094 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32097 for ac_dir in $SEARCH_LIB;
32099 for ac_extension in a so sl dylib dll.a; do
32100 if test -f "$ac_dir/libXm.$ac_extension"; then
32101 ac_find_libraries=$ac_dir
32108 if test "x$ac_find_libraries" != "x" ; then
32109 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32110 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32113 if test "$ac_find_libraries" = "default location"; then
32116 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32118 if test $result = 0; then
32121 ac_path_to_link=" -L$ac_find_libraries"
32125 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32127 save_CFLAGS=$CFLAGS
32128 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32130 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32132 cat >conftest.$ac_ext <<_ACEOF
32135 cat confdefs.h >>conftest.$ac_ext
32136 cat >>conftest.$ac_ext <<_ACEOF
32137 /* end confdefs.h. */
32146 version = xmUseVersion;
32152 rm -f conftest.$ac_objext conftest$ac_exeext
32153 if { (ac_try="$ac_link"
32154 case "(($ac_try" in
32155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32156 *) ac_try_echo=$ac_try;;
32158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32159 (eval "$ac_link") 2>conftest.er1
32161 grep -v '^ *+' conftest.er1 >conftest.err
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } && {
32166 test -z "$ac_c_werror_flag" ||
32167 test ! -s conftest.err
32168 } && test -s conftest$ac_exeext &&
32169 $as_test_x conftest$ac_exeext; then
32171 { echo "$as_me:$LINENO: result: found in default search path" >&5
32172 echo "${ECHO_T}found in default search path" >&6; }
32173 COMPILED_X_PROGRAM=1
32176 echo "$as_me: failed program was:" >&5
32177 sed 's/^/| /' conftest.$ac_ext >&5
32180 { echo "$as_me:$LINENO: result: no" >&5
32181 echo "${ECHO_T}no" >&6; }
32182 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32183 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32184 { (exit 1); exit 1; }; }
32189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32190 conftest$ac_exeext conftest.$ac_ext
32192 CFLAGS=$save_CFLAGS
32196 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32197 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32201 for libp in "" " -lXp"; do
32202 if test "$libs_found" = 0; then
32203 for libsm_ice in "" " -lSM -lICE"; do
32204 if test "$libs_found" = 0; then
32206 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32207 save_CFLAGS=$CFLAGS
32208 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32210 cat >conftest.$ac_ext <<_ACEOF
32213 cat confdefs.h >>conftest.$ac_ext
32214 cat >>conftest.$ac_ext <<_ACEOF
32215 /* end confdefs.h. */
32218 #include <Xm/List.h>
32224 XmString string = NULL;
32227 XmListAddItem(w, string, position);
32233 rm -f conftest.$ac_objext conftest$ac_exeext
32234 if { (ac_try="$ac_link"
32235 case "(($ac_try" in
32236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32237 *) ac_try_echo=$ac_try;;
32239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32240 (eval "$ac_link") 2>conftest.er1
32242 grep -v '^ *+' conftest.er1 >conftest.err
32244 cat conftest.err >&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); } && {
32247 test -z "$ac_c_werror_flag" ||
32248 test ! -s conftest.err
32249 } && test -s conftest$ac_exeext &&
32250 $as_test_x conftest$ac_exeext; then
32253 libsm_ice_link="$libsm_ice"
32254 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32255 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32259 echo "$as_me: failed program was:" >&5
32260 sed 's/^/| /' conftest.$ac_ext >&5
32266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32267 conftest$ac_exeext conftest.$ac_ext
32270 CFLAGS=$save_CFLAGS
32276 if test "$libs_found" = 0; then
32277 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32278 echo "${ECHO_T}can't find the right libraries" >&6; }
32279 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32280 echo "$as_me: error: can't link a simple motif program" >&2;}
32281 { (exit 1); exit 1; }; }
32284 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32285 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32286 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32289 ac_check_lib_save_LIBS=$LIBS
32291 cat >conftest.$ac_ext <<_ACEOF
32294 cat confdefs.h >>conftest.$ac_ext
32295 cat >>conftest.$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32298 /* Override any GCC internal prototype to avoid an error.
32299 Use char because int might match the return type of a GCC
32300 builtin and then its argument prototype would still apply. */
32304 char SgCreateList ();
32308 return SgCreateList ();
32313 rm -f conftest.$ac_objext conftest$ac_exeext
32314 if { (ac_try="$ac_link"
32315 case "(($ac_try" in
32316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32317 *) ac_try_echo=$ac_try;;
32319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32320 (eval "$ac_link") 2>conftest.er1
32322 grep -v '^ *+' conftest.er1 >conftest.err
32324 cat conftest.err >&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); } && {
32327 test -z "$ac_c_werror_flag" ||
32328 test ! -s conftest.err
32329 } && test -s conftest$ac_exeext &&
32330 $as_test_x conftest$ac_exeext; then
32331 ac_cv_lib_Sgm_SgCreateList=yes
32333 echo "$as_me: failed program was:" >&5
32334 sed 's/^/| /' conftest.$ac_ext >&5
32336 ac_cv_lib_Sgm_SgCreateList=no
32339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32340 conftest$ac_exeext conftest.$ac_ext
32341 LIBS=$ac_check_lib_save_LIBS
32343 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32344 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32345 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32346 libsgm_link=" -lSgm"
32350 save_CFLAGS=$CFLAGS
32351 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32353 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32354 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32355 if test "${wx_cv_lib_motif2+set}" = set; then
32356 echo $ECHO_N "(cached) $ECHO_C" >&6
32358 cat >conftest.$ac_ext <<_ACEOF
32361 cat confdefs.h >>conftest.$ac_ext
32362 cat >>conftest.$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32371 #if XmVersion < 2000
32379 rm -f conftest.$ac_objext
32380 if { (ac_try="$ac_compile"
32381 case "(($ac_try" in
32382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32383 *) ac_try_echo=$ac_try;;
32385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32386 (eval "$ac_compile") 2>conftest.er1
32388 grep -v '^ *+' conftest.er1 >conftest.err
32390 cat conftest.err >&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); } && {
32393 test -z "$ac_c_werror_flag" ||
32394 test ! -s conftest.err
32395 } && test -s conftest.$ac_objext; then
32396 wx_cv_lib_motif2="yes"
32398 echo "$as_me: failed program was:" >&5
32399 sed 's/^/| /' conftest.$ac_ext >&5
32401 wx_cv_lib_motif2="no"
32404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32406 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32407 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32408 if test "$wx_cv_lib_motif2" = "yes"; then
32409 cat >>confdefs.h <<\_ACEOF
32410 #define __WXMOTIF20__ 1
32414 cat >>confdefs.h <<\_ACEOF
32415 #define __WXMOTIF20__ 0
32420 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32421 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32422 if test "${wx_cv_lib_lesstif+set}" = set; then
32423 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 cat >conftest.$ac_ext <<_ACEOF
32428 cat confdefs.h >>conftest.$ac_ext
32429 cat >>conftest.$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32438 #if !defined(LesstifVersion) || LesstifVersion <= 0
32446 rm -f conftest.$ac_objext
32447 if { (ac_try="$ac_compile"
32448 case "(($ac_try" in
32449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32450 *) ac_try_echo=$ac_try;;
32452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32453 (eval "$ac_compile") 2>conftest.er1
32455 grep -v '^ *+' conftest.er1 >conftest.err
32457 cat conftest.err >&5
32458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32459 (exit $ac_status); } && {
32460 test -z "$ac_c_werror_flag" ||
32461 test ! -s conftest.err
32462 } && test -s conftest.$ac_objext; then
32463 wx_cv_lib_lesstif="yes"
32465 echo "$as_me: failed program was:" >&5
32466 sed 's/^/| /' conftest.$ac_ext >&5
32468 wx_cv_lib_lesstif="no"
32471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32474 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32475 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32476 if test "$wx_cv_lib_lesstif" = "yes"; then
32477 cat >>confdefs.h <<\_ACEOF
32478 #define __WXLESSTIF__ 1
32482 cat >>confdefs.h <<\_ACEOF
32483 #define __WXLESSTIF__ 0
32488 CFLAGS=$save_CFLAGS
32490 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32495 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32496 if test "$wxUSE_LIBXPM" = "sys"; then
32497 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32498 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32501 for ac_dir in $SEARCH_LIB;
32503 for ac_extension in a so sl dylib dll.a; do
32504 if test -f "$ac_dir/libXpm.$ac_extension"; then
32505 ac_find_libraries=$ac_dir
32511 if test "$ac_find_libraries" != "" ; then
32513 if test "$ac_find_libraries" = "default location"; then
32516 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32518 if test $result = 0; then
32521 ac_path_to_link=" -L$ac_find_libraries"
32525 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32526 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32527 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32529 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32530 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32531 if test "${wx_cv_x11_xpm_h+set}" = set; then
32532 echo $ECHO_N "(cached) $ECHO_C" >&6
32535 save_CFLAGS=$CFLAGS
32536 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32538 cat >conftest.$ac_ext <<_ACEOF
32541 cat confdefs.h >>conftest.$ac_ext
32542 cat >>conftest.$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32545 #include <X11/xpm.h>
32552 version = XpmLibraryVersion();
32558 rm -f conftest.$ac_objext
32559 if { (ac_try="$ac_compile"
32560 case "(($ac_try" in
32561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32562 *) ac_try_echo=$ac_try;;
32564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32565 (eval "$ac_compile") 2>conftest.er1
32567 grep -v '^ *+' conftest.er1 >conftest.err
32569 cat conftest.err >&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } && {
32572 test -z "$ac_c_werror_flag" ||
32573 test ! -s conftest.err
32574 } && test -s conftest.$ac_objext; then
32575 wx_cv_x11_xpm_h=yes
32577 echo "$as_me: failed program was:" >&5
32578 sed 's/^/| /' conftest.$ac_ext >&5
32584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32586 CFLAGS=$save_CFLAGS
32590 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32591 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32593 if test $wx_cv_x11_xpm_h = "yes"; then
32594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32595 cat >>confdefs.h <<\_ACEOF
32596 #define wxHAVE_LIB_XPM 1
32600 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32601 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32607 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32608 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32609 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32610 echo $ECHO_N "(cached) $ECHO_C" >&6
32612 ac_check_lib_save_LIBS=$LIBS
32613 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32614 cat >conftest.$ac_ext <<_ACEOF
32617 cat confdefs.h >>conftest.$ac_ext
32618 cat >>conftest.$ac_ext <<_ACEOF
32619 /* end confdefs.h. */
32621 /* Override any GCC internal prototype to avoid an error.
32622 Use char because int might match the return type of a GCC
32623 builtin and then its argument prototype would still apply. */
32627 char XShapeQueryExtension ();
32631 return XShapeQueryExtension ();
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_lib_Xext_XShapeQueryExtension=yes
32656 echo "$as_me: failed program was:" >&5
32657 sed 's/^/| /' conftest.$ac_ext >&5
32659 ac_cv_lib_Xext_XShapeQueryExtension=no
32662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32663 conftest$ac_exeext conftest.$ac_ext
32664 LIBS=$ac_check_lib_save_LIBS
32666 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32667 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32668 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32670 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32676 if test "$wxHAVE_XEXT_LIB" = 1; then
32677 save_CFLAGS="$CFLAGS"
32678 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32680 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32681 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32682 cat >conftest.$ac_ext <<_ACEOF
32685 cat confdefs.h >>conftest.$ac_ext
32686 cat >>conftest.$ac_ext <<_ACEOF
32687 /* end confdefs.h. */
32689 #include <X11/Xlib.h>
32690 #include <X11/extensions/shape.h>
32696 int dummy1, dummy2;
32697 XShapeQueryExtension((Display*)NULL,
32698 (int*)NULL, (int*)NULL);
32704 rm -f conftest.$ac_objext
32705 if { (ac_try="$ac_compile"
32706 case "(($ac_try" in
32707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32708 *) ac_try_echo=$ac_try;;
32710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32711 (eval "$ac_compile") 2>conftest.er1
32713 grep -v '^ *+' conftest.er1 >conftest.err
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } && {
32718 test -z "$ac_c_werror_flag" ||
32719 test ! -s conftest.err
32720 } && test -s conftest.$ac_objext; then
32722 cat >>confdefs.h <<\_ACEOF
32723 #define HAVE_XSHAPE 1
32726 { echo "$as_me:$LINENO: result: found" >&5
32727 echo "${ECHO_T}found" >&6; }
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32734 { echo "$as_me:$LINENO: result: not found" >&5
32735 echo "${ECHO_T}not found" >&6; }
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740 CFLAGS="$save_CFLAGS"
32745 if test "$wxUSE_OSX_CARBON" = 1; then
32746 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32747 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32748 if test "$GCC" = yes; then
32749 { echo "$as_me:$LINENO: result: gcc" >&5
32750 echo "${ECHO_T}gcc" >&6; }
32751 CPPFLAGS_PASCAL="-fpascal-strings"
32752 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32753 { echo "$as_me:$LINENO: result: xlc" >&5
32754 echo "${ECHO_T}xlc" >&6; }
32755 CPPFLAGS_PASCAL="-qmacpstr"
32757 { echo "$as_me:$LINENO: result: none" >&5
32758 echo "${ECHO_T}none" >&6; }
32761 if test "x$wxUSE_UNIX" = "xyes"; then
32762 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32764 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32768 GUIDIST=OSX_CARBON_DIST
32769 WXBASEPORT="_carbon"
32772 if test "$wxUSE_OSX_COCOA" = 1; then
32774 GUIDIST=OSX_COCOA_DIST
32777 if test "$wxUSE_COCOA" = 1; then
32782 if test "$wxUSE_PM" = 1; then
32785 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32786 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32787 if test "${wx_cv_spbcdata+set}" = set; then
32788 echo $ECHO_N "(cached) $ECHO_C" >&6
32791 cat >conftest.$ac_ext <<_ACEOF
32794 cat confdefs.h >>conftest.$ac_ext
32795 cat >>conftest.$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32811 rm -f conftest.$ac_objext
32812 if { (ac_try="$ac_compile"
32813 case "(($ac_try" in
32814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32815 *) ac_try_echo=$ac_try;;
32817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32818 (eval "$ac_compile") 2>conftest.er1
32820 grep -v '^ *+' conftest.er1 >conftest.err
32822 cat conftest.err >&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } && {
32825 test -z "$ac_c_werror_flag" ||
32826 test ! -s conftest.err
32827 } && test -s conftest.$ac_objext; then
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.$ac_ext >&5
32837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32841 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32842 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32844 if test $wx_cv_spbcdata = "yes"; then
32845 cat >>confdefs.h <<\_ACEOF
32846 #define HAVE_SPBCDATA 1
32852 if test "$TOOLKIT" = "PM" ; then
32855 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32858 if test "$wxUSE_UNIVERSAL" = "yes"; then
32859 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32863 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32864 DISTDIR="wx\$(TOOLKIT)"
32870 if test "$USE_WIN32" = 1 ; then
32874 GUIDIST="BASE_DIST"
32880 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32881 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32882 wxUSE_UNICODE_UTF8=yes
32883 elif test "$USE_OS2" = 1 ; then
32884 wxUSE_UNICODE_UTF8=yes
32886 wxUSE_UNICODE_UTF8=no
32891 if test "$wxUSE_GUI" = "yes"; then
32892 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32894 for ac_header in X11/Xlib.h
32896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32897 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 cat >conftest.$ac_ext <<_ACEOF
32905 cat confdefs.h >>conftest.$ac_ext
32906 cat >>conftest.$ac_ext <<_ACEOF
32907 /* end confdefs.h. */
32910 #include <$ac_header>
32912 rm -f conftest.$ac_objext
32913 if { (ac_try="$ac_compile"
32914 case "(($ac_try" in
32915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32916 *) ac_try_echo=$ac_try;;
32918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32919 (eval "$ac_compile") 2>conftest.er1
32921 grep -v '^ *+' conftest.er1 >conftest.err
32923 cat conftest.err >&5
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); } && {
32926 test -z "$ac_c_werror_flag" ||
32927 test ! -s conftest.err
32928 } && test -s conftest.$ac_objext; then
32929 eval "$as_ac_Header=yes"
32931 echo "$as_me: failed program was:" >&5
32932 sed 's/^/| /' conftest.$ac_ext >&5
32934 eval "$as_ac_Header=no"
32937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32939 ac_res=`eval echo '${'$as_ac_Header'}'`
32940 { echo "$as_me:$LINENO: result: $ac_res" >&5
32941 echo "${ECHO_T}$ac_res" >&6; }
32942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32943 cat >>confdefs.h <<_ACEOF
32944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32952 for ac_header in X11/XKBlib.h
32954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32960 cat >conftest.$ac_ext <<_ACEOF
32963 cat confdefs.h >>conftest.$ac_ext
32964 cat >>conftest.$ac_ext <<_ACEOF
32965 /* end confdefs.h. */
32967 #if HAVE_X11_XLIB_H
32968 #include <X11/Xlib.h>
32972 #include <$ac_header>
32974 rm -f conftest.$ac_objext
32975 if { (ac_try="$ac_compile"
32976 case "(($ac_try" in
32977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32978 *) ac_try_echo=$ac_try;;
32980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32981 (eval "$ac_compile") 2>conftest.er1
32983 grep -v '^ *+' conftest.er1 >conftest.err
32985 cat conftest.err >&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } && {
32988 test -z "$ac_c_werror_flag" ||
32989 test ! -s conftest.err
32990 } && test -s conftest.$ac_objext; then
32991 eval "$as_ac_Header=yes"
32993 echo "$as_me: failed program was:" >&5
32994 sed 's/^/| /' conftest.$ac_ext >&5
32996 eval "$as_ac_Header=no"
32999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33001 ac_res=`eval echo '${'$as_ac_Header'}'`
33002 { echo "$as_me:$LINENO: result: $ac_res" >&5
33003 echo "${ECHO_T}$ac_res" >&6; }
33004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33005 cat >>confdefs.h <<_ACEOF
33006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33018 if test "$wxUSE_DISPLAY" = "yes"; then
33019 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33020 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33021 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33024 for ac_dir in $SEARCH_LIB;
33026 for ac_extension in a so sl dylib dll.a; do
33027 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33028 ac_find_libraries=$ac_dir
33034 if test "$ac_find_libraries" != "" ; then
33036 if test "$ac_find_libraries" = "default location"; then
33039 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33041 if test $result = 0; then
33044 ac_path_to_link=" -L$ac_find_libraries"
33048 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33049 LDFLAGS="$LDFLAGS $ac_path_to_link"
33051 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33052 { echo "$as_me:$LINENO: result: yes" >&5
33053 echo "${ECHO_T}yes" >&6; }
33055 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33056 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33059 for ac_dir in $SEARCH_LIB;
33061 for ac_extension in a so sl dylib dll.a; do
33062 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33063 ac_find_libraries=$ac_dir
33069 if test "$ac_find_libraries" != "" ; then
33070 { echo "$as_me:$LINENO: result: yes" >&5
33071 echo "${ECHO_T}yes" >&6; }
33073 for ac_header in X11/extensions/xf86vmode.h
33075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33079 echo $ECHO_N "(cached) $ECHO_C" >&6
33081 cat >conftest.$ac_ext <<_ACEOF
33084 cat confdefs.h >>conftest.$ac_ext
33085 cat >>conftest.$ac_ext <<_ACEOF
33086 /* end confdefs.h. */
33088 #if HAVE_X11_XLIB_H
33089 #include <X11/Xlib.h>
33093 #include <$ac_header>
33095 rm -f conftest.$ac_objext
33096 if { (ac_try="$ac_compile"
33097 case "(($ac_try" in
33098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33099 *) ac_try_echo=$ac_try;;
33101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33102 (eval "$ac_compile") 2>conftest.er1
33104 grep -v '^ *+' conftest.er1 >conftest.err
33106 cat conftest.err >&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); } && {
33109 test -z "$ac_c_werror_flag" ||
33110 test ! -s conftest.err
33111 } && test -s conftest.$ac_objext; then
33112 eval "$as_ac_Header=yes"
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.$ac_ext >&5
33117 eval "$as_ac_Header=no"
33120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33122 ac_res=`eval echo '${'$as_ac_Header'}'`
33123 { echo "$as_me:$LINENO: result: $ac_res" >&5
33124 echo "${ECHO_T}$ac_res" >&6; }
33125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33126 cat >>confdefs.h <<_ACEOF
33127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33130 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33137 { echo "$as_me:$LINENO: result: no" >&5
33138 echo "${ECHO_T}no" >&6; }
33142 { echo "$as_me:$LINENO: result: no" >&5
33143 echo "${ECHO_T}no" >&6; }
33144 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33145 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33148 elif test "$wxUSE_MSW" = 1; then
33149 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33150 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33151 if test "${ac_cv_header_ddraw_h+set}" = set; then
33152 echo $ECHO_N "(cached) $ECHO_C" >&6
33154 cat >conftest.$ac_ext <<_ACEOF
33157 cat confdefs.h >>conftest.$ac_ext
33158 cat >>conftest.$ac_ext <<_ACEOF
33159 /* end confdefs.h. */
33160 #include <windows.h>
33164 rm -f conftest.$ac_objext
33165 if { (ac_try="$ac_compile"
33166 case "(($ac_try" in
33167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33168 *) ac_try_echo=$ac_try;;
33170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33171 (eval "$ac_compile") 2>conftest.er1
33173 grep -v '^ *+' conftest.er1 >conftest.err
33175 cat conftest.err >&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); } && {
33178 test -z "$ac_c_werror_flag" ||
33179 test ! -s conftest.err
33180 } && test -s conftest.$ac_objext; then
33181 ac_cv_header_ddraw_h=yes
33183 echo "$as_me: failed program was:" >&5
33184 sed 's/^/| /' conftest.$ac_ext >&5
33186 ac_cv_header_ddraw_h=no
33189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33191 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33192 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33198 if test "$wxUSE_DETECT_SM" = "yes"; then
33199 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33200 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33201 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33204 for ac_dir in $SEARCH_LIB;
33206 for ac_extension in a so sl dylib dll.a; do
33207 if test -f "$ac_dir/libSM.$ac_extension"; then
33208 ac_find_libraries=$ac_dir
33214 if test "$ac_find_libraries" != "" ; then
33216 if test "$ac_find_libraries" = "default location"; then
33219 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33221 if test $result = 0; then
33224 ac_path_to_link=" -L$ac_find_libraries"
33228 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33229 LDFLAGS="$LDFLAGS $ac_path_to_link"
33231 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33232 { echo "$as_me:$LINENO: result: yes" >&5
33233 echo "${ECHO_T}yes" >&6; }
33235 { echo "$as_me:$LINENO: result: no" >&5
33236 echo "${ECHO_T}no" >&6; }
33237 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33238 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33239 wxUSE_DETECT_SM="no"
33242 wxUSE_DETECT_SM="no"
33249 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33252 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33253 OPENGL_LIBS="-framework OpenGL -framework AGL"
33254 elif test "$wxUSE_MSW" = 1; then
33255 OPENGL_LIBS="-lopengl32 -lglu32"
33256 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33258 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33259 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33262 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33264 if test -f "$ac_dir/GL/gl.h"; then
33265 ac_find_includes=$ac_dir
33270 if test "$ac_find_includes" != "" ; then
33271 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33272 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33274 if test "x$ac_find_includes" = "x/usr/include"; then
33275 ac_path_to_include=""
33277 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33279 if test $result = 0; then
33280 ac_path_to_include=""
33282 ac_path_to_include=" -I$ac_find_includes"
33286 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33288 { echo "$as_me:$LINENO: result: not found" >&5
33289 echo "${ECHO_T}not found" >&6; }
33292 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33293 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33294 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33295 echo $ECHO_N "(cached) $ECHO_C" >&6
33297 cat >conftest.$ac_ext <<_ACEOF
33300 cat confdefs.h >>conftest.$ac_ext
33301 cat >>conftest.$ac_ext <<_ACEOF
33302 /* end confdefs.h. */
33307 rm -f conftest.$ac_objext
33308 if { (ac_try="$ac_compile"
33309 case "(($ac_try" in
33310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33311 *) ac_try_echo=$ac_try;;
33313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33314 (eval "$ac_compile") 2>conftest.er1
33316 grep -v '^ *+' conftest.er1 >conftest.err
33318 cat conftest.err >&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); } && {
33321 test -z "$ac_c_werror_flag" ||
33322 test ! -s conftest.err
33323 } && test -s conftest.$ac_objext; then
33324 ac_cv_header_GL_gl_h=yes
33326 echo "$as_me: failed program was:" >&5
33327 sed 's/^/| /' conftest.$ac_ext >&5
33329 ac_cv_header_GL_gl_h=no
33332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33334 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33335 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33336 if test $ac_cv_header_GL_gl_h = yes; then
33338 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33339 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33340 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 cat >conftest.$ac_ext <<_ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33351 #include <GL/glu.h>
33353 rm -f conftest.$ac_objext
33354 if { (ac_try="$ac_compile"
33355 case "(($ac_try" in
33356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33357 *) ac_try_echo=$ac_try;;
33359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33360 (eval "$ac_compile") 2>conftest.er1
33362 grep -v '^ *+' conftest.er1 >conftest.err
33364 cat conftest.err >&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); } && {
33367 test -z "$ac_c_werror_flag" ||
33368 test ! -s conftest.err
33369 } && test -s conftest.$ac_objext; then
33370 ac_cv_header_GL_glu_h=yes
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.$ac_ext >&5
33375 ac_cv_header_GL_glu_h=no
33378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33380 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33381 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33382 if test $ac_cv_header_GL_glu_h = yes; then
33386 { echo "$as_me:$LINENO: checking for -lGL" >&5
33387 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33390 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33392 for ac_extension in a so sl dylib dll.a; do
33393 if test -f "$ac_dir/libGL.$ac_extension"; then
33394 ac_find_libraries=$ac_dir
33400 if test "$ac_find_libraries" != "" ; then
33401 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33402 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33405 if test "$ac_find_libraries" = "default location"; then
33408 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33410 if test $result = 0; then
33413 ac_path_to_link=" -L$ac_find_libraries"
33417 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33418 LDFLAGS_GL="$ac_path_to_link"
33421 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33422 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33425 for ac_dir in $SEARCH_LIB;
33427 for ac_extension in a so sl dylib dll.a; do
33428 if test -f "$ac_dir/libGLU.$ac_extension"; then
33429 ac_find_libraries=$ac_dir
33435 if test "$ac_find_libraries" != "" ; then
33437 if test "$ac_find_libraries" = "default location"; then
33440 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33442 if test $result = 0; then
33445 ac_path_to_link=" -L$ac_find_libraries"
33449 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33450 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33451 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33455 OPENGL_LIBS="-lGL -lGLU"
33456 { echo "$as_me:$LINENO: result: yes" >&5
33457 echo "${ECHO_T}yes" >&6; }
33459 { echo "$as_me:$LINENO: result: no" >&5
33460 echo "${ECHO_T}no" >&6; }
33463 { echo "$as_me:$LINENO: result: no" >&5
33464 echo "${ECHO_T}no" >&6; }
33467 if test "$found_gl" != 1; then
33468 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33469 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33472 for ac_dir in $SEARCH_LIB;
33474 for ac_extension in a so sl dylib dll.a; do
33475 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33476 ac_find_libraries=$ac_dir
33482 if test "$ac_find_libraries" != "" ; then
33484 if test "$ac_find_libraries" = "default location"; then
33487 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33489 if test $result = 0; then
33492 ac_path_to_link=" -L$ac_find_libraries"
33496 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33497 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33498 { echo "$as_me:$LINENO: result: yes" >&5
33499 echo "${ECHO_T}yes" >&6; }
33501 { echo "$as_me:$LINENO: result: no" >&5
33502 echo "${ECHO_T}no" >&6; }
33514 if test "x$OPENGL_LIBS" = "x"; then
33515 if test "$wxUSE_OPENGL" = "yes"; then
33516 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33517 echo "$as_me: error: OpenGL libraries not available" >&2;}
33518 { (exit 1); exit 1; }; }
33520 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33521 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33527 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33528 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33532 if test "$wxUSE_OPENGL" = "auto"; then
33536 if test "$wxUSE_OPENGL" = "yes"; then
33538 cat >>confdefs.h <<\_ACEOF
33539 #define wxUSE_OPENGL 1
33542 cat >>confdefs.h <<\_ACEOF
33543 #define wxUSE_GLCANVAS 1
33546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33551 if test -n "$TOOLKIT" ; then
33552 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33557 if test "$wxUSE_SHARED" = "yes"; then
33561 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33562 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33567 if test "$wxUSE_SHARED" = "yes"; then
33571 *-*-cygwin* | *-*-mingw* )
33572 wx_cv_version_script=no
33576 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33577 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33578 if test "${wx_cv_version_script+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 echo "VER_1 { *; };" >conftest.sym
33583 echo "int main() { return 0; }" >conftest.cpp
33586 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33587 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33589 (eval $ac_try) 2>&5
33591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33592 (exit $ac_status); }; } ; then
33593 if test -s conftest.stderr ; then
33594 wx_cv_version_script=no
33596 wx_cv_version_script=yes
33599 wx_cv_version_script=no
33602 if test $wx_cv_version_script = yes
33604 echo "struct B { virtual ~B() { } }; \
33605 struct D : public B { }; \
33606 void F() { D d; }" > conftest.cpp
33609 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33610 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; } &&
33617 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33618 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33620 (eval $ac_try) 2>&5
33622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 (exit $ac_status); }; }
33626 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33627 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33629 (eval $ac_try) 2>&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); }; }
33634 wx_cv_version_script=yes
33636 wx_cv_version_script=no
33641 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33642 rm -f conftest1.output conftest2.output conftest3.output
33645 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33646 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33648 if test $wx_cv_version_script = yes ; then
33649 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33655 if test "$wxUSE_VISIBILITY" != "no"; then
33658 if test -n "$GCC"; then
33659 CFLAGS_VISIBILITY="-fvisibility=hidden"
33660 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33661 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33662 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33663 if test "${wx_cv_cc_visibility+set}" = set; then
33664 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 wx_save_CXXFLAGS="$CXXFLAGS"
33668 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33670 ac_cpp='$CXXCPP $CPPFLAGS'
33671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33675 cat >conftest.$ac_ext <<_ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33682 /* we need gcc >= 4.0, older versions with visibility support
33683 didn't have class visibility: */
33684 #if defined(__GNUC__) && __GNUC__ < 4
33685 error this gcc is too old;
33688 /* visibility only makes sense for ELF shared libs: */
33689 #if !defined(__ELF__) && !defined(__APPLE__)
33690 error this platform has no visibility;
33693 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33694 extern __attribute__((__visibility__("default"))) int exportedvar;
33695 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33696 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33697 class __attribute__((__visibility__("default"))) Foo {
33709 rm -f conftest.$ac_objext
33710 if { (ac_try="$ac_compile"
33711 case "(($ac_try" in
33712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33713 *) ac_try_echo=$ac_try;;
33715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33716 (eval "$ac_compile") 2>conftest.er1
33718 grep -v '^ *+' conftest.er1 >conftest.err
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } && {
33723 test -z "$ac_cxx_werror_flag" ||
33724 test ! -s conftest.err
33725 } && test -s conftest.$ac_objext; then
33726 wx_cv_cc_visibility=yes
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33731 wx_cv_cc_visibility=no
33734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33736 ac_cpp='$CPP $CPPFLAGS'
33737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33741 CXXFLAGS="$wx_save_CXXFLAGS"
33744 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33745 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33746 if test $wx_cv_cc_visibility = yes; then
33747 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33748 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33749 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33753 wx_save_CXXFLAGS="$CXXFLAGS"
33754 wx_save_LDFLAGS="$LDFLAGS"
33755 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33756 LDFLAGS="$LDFLAGS -shared -fPIC"
33758 ac_cpp='$CXXCPP $CPPFLAGS'
33759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33763 cat >conftest.$ac_ext <<_ACEOF
33766 cat confdefs.h >>conftest.$ac_ext
33767 cat >>conftest.$ac_ext <<_ACEOF
33768 /* end confdefs.h. */
33776 std::string s("hello");
33783 rm -f conftest.$ac_objext conftest$ac_exeext
33784 if { (ac_try="$ac_link"
33785 case "(($ac_try" in
33786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33787 *) ac_try_echo=$ac_try;;
33789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33790 (eval "$ac_link") 2>conftest.er1
33792 grep -v '^ *+' conftest.er1 >conftest.err
33794 cat conftest.err >&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } && {
33797 test -z "$ac_cxx_werror_flag" ||
33798 test ! -s conftest.err
33799 } && test -s conftest$ac_exeext &&
33800 $as_test_x conftest$ac_exeext; then
33801 wx_cv_cc_broken_libstdcxx_visibility=no
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33806 wx_cv_cc_broken_libstdcxx_visibility=yes
33809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33810 conftest$ac_exeext conftest.$ac_ext
33812 ac_cpp='$CPP $CPPFLAGS'
33813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33817 CXXFLAGS="$wx_save_CXXFLAGS"
33818 LDFLAGS="$wx_save_LDFLAGS"
33821 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33822 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33824 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33825 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33826 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33827 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33832 ac_cpp='$CXXCPP $CPPFLAGS'
33833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837 cat >conftest.$ac_ext <<_ACEOF
33840 cat confdefs.h >>conftest.$ac_ext
33841 cat >>conftest.$ac_ext <<_ACEOF
33842 /* end confdefs.h. */
33844 #pragma GCC visibility push(default)
33846 #pragma GCC visibility pop
33852 std::string s("hello");
33859 rm -f conftest.$ac_objext conftest$ac_exeext
33860 if { (ac_try="$ac_link"
33861 case "(($ac_try" in
33862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33863 *) ac_try_echo=$ac_try;;
33865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33866 (eval "$ac_link") 2>conftest.er1
33868 grep -v '^ *+' conftest.er1 >conftest.err
33870 cat conftest.err >&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); } && {
33873 test -z "$ac_cxx_werror_flag" ||
33874 test ! -s conftest.err
33875 } && test -s conftest$ac_exeext &&
33876 $as_test_x conftest$ac_exeext; then
33877 wx_cv_cc_visibility_workaround=no
33879 echo "$as_me: failed program was:" >&5
33880 sed 's/^/| /' conftest.$ac_ext >&5
33882 wx_cv_cc_visibility_workaround=yes
33885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33886 conftest$ac_exeext conftest.$ac_ext
33888 ac_cpp='$CPP $CPPFLAGS'
33889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33896 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33897 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33899 if test $wx_cv_cc_visibility_workaround = no; then
33900 wx_cv_cc_visibility=no
33905 if test $wx_cv_cc_visibility = yes; then
33906 cat >>confdefs.h <<\_ACEOF
33907 #define HAVE_VISIBILITY 1
33910 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33911 cat >>confdefs.h <<\_ACEOF
33912 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33917 CFLAGS_VISIBILITY=""
33918 CXXFLAGS_VISIBILITY=""
33926 if test "x$SUNCXX" = xyes; then
33927 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33928 WXCONFIG_RPATH="-R\$libdir"
33931 *-*-linux* | *-*-gnu* )
33932 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33933 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33938 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33940 saveLdflags="$LDFLAGS"
33941 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33942 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33943 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33944 cat >conftest.$ac_ext <<_ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33959 rm -f conftest.$ac_objext conftest$ac_exeext
33960 if { (ac_try="$ac_link"
33961 case "(($ac_try" in
33962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33963 *) ac_try_echo=$ac_try;;
33965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33966 (eval "$ac_link") 2>conftest.er1
33968 grep -v '^ *+' conftest.er1 >conftest.err
33970 cat conftest.err >&5
33971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972 (exit $ac_status); } && {
33973 test -z "$ac_c_werror_flag" ||
33974 test ! -s conftest.err
33975 } && test -s conftest$ac_exeext &&
33976 $as_test_x conftest$ac_exeext; then
33978 { echo "$as_me:$LINENO: result: yes" >&5
33979 echo "${ECHO_T}yes" >&6; }
33980 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33981 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.$ac_ext >&5
33988 { echo "$as_me:$LINENO: result: no" >&5
33989 echo "${ECHO_T}no" >&6; }
33990 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33991 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33992 LDFLAGS="$saveLdflags -Wl,-R,/"
33993 cat >conftest.$ac_ext <<_ACEOF
33996 cat confdefs.h >>conftest.$ac_ext
33997 cat >>conftest.$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
34008 rm -f conftest.$ac_objext conftest$ac_exeext
34009 if { (ac_try="$ac_link"
34010 case "(($ac_try" in
34011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34012 *) ac_try_echo=$ac_try;;
34014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34015 (eval "$ac_link") 2>conftest.er1
34017 grep -v '^ *+' conftest.er1 >conftest.err
34019 cat conftest.err >&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); } && {
34022 test -z "$ac_c_werror_flag" ||
34023 test ! -s conftest.err
34024 } && test -s conftest$ac_exeext &&
34025 $as_test_x conftest$ac_exeext; then
34027 { echo "$as_me:$LINENO: result: yes" >&5
34028 echo "${ECHO_T}yes" >&6; }
34029 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34030 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34033 echo "$as_me: failed program was:" >&5
34034 sed 's/^/| /' conftest.$ac_ext >&5
34037 { echo "$as_me:$LINENO: result: no" >&5
34038 echo "${ECHO_T}no" >&6; }
34042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34043 conftest$ac_exeext conftest.$ac_ext
34047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34048 conftest$ac_exeext conftest.$ac_ext
34049 LDFLAGS="$saveLdflags"
34053 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34054 if test "$install_name_tool" -a -x "$install_name_tool"; then
34055 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34056 cat <<EOF >change-install-names
34058 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34059 for i in \${libnames} ; do
34060 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34061 for dep in \${libnames} ; do
34062 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34066 chmod +x change-install-names
34067 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34070 HEADER_PAD_OPTION="-headerpad_max_install_names"
34073 *-*-cygwin* | *-*-mingw32* )
34077 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34078 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34084 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34086 if test $wxUSE_RPATH = "no"; then
34087 SAMPLES_RPATH_FLAG=''
34088 DYLIB_PATH_POSTLINK=''
34096 config_linkage_component="-static"
34103 lib_unicode_suffix=
34105 if test "$wxUSE_UNICODE" = "yes"; then
34106 lib_unicode_suffix=u
34107 WX_CHARTYPE="unicode"
34111 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34112 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34115 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34119 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34121 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34123 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34126 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34127 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34129 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34131 if test "${TOOLKIT_DIR}" = "os2"; then
34132 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34134 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34139 if test "$wxUSE_COCOA" = 1; then
34142 ac_cpp='$CPP $CPPFLAGS'
34143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34149 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34150 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34151 cat >conftest.$ac_ext <<_ACEOF
34154 cat confdefs.h >>conftest.$ac_ext
34155 cat >>conftest.$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34157 #include <AppKit/NSEvent.h>
34158 #include <CoreFoundation/CoreFoundation.h>
34168 rm -f conftest.$ac_objext
34169 if { (ac_try="$ac_compile"
34170 case "(($ac_try" in
34171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34172 *) ac_try_echo=$ac_try;;
34174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34175 (eval "$ac_compile") 2>conftest.er1
34177 grep -v '^ *+' conftest.er1 >conftest.err
34179 cat conftest.err >&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } && {
34182 test -z "$ac_c_werror_flag" ||
34183 test ! -s conftest.err
34184 } && test -s conftest.$ac_objext; then
34185 { echo "$as_me:$LINENO: result: no" >&5
34186 echo "${ECHO_T}no" >&6; }
34188 echo "$as_me: failed program was:" >&5
34189 sed 's/^/| /' conftest.$ac_ext >&5
34191 { echo "$as_me:$LINENO: result: yes" >&5
34192 echo "${ECHO_T}yes" >&6; }
34193 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34194 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34195 cat >conftest.$ac_ext <<_ACEOF
34198 cat confdefs.h >>conftest.$ac_ext
34199 cat >>conftest.$ac_ext <<_ACEOF
34200 /* end confdefs.h. */
34201 #define __Point__ 1
34202 #include <AppKit/NSEvent.h>
34203 #include <CoreFoundation/CoreFoundation.h>
34213 rm -f conftest.$ac_objext
34214 if { (ac_try="$ac_compile"
34215 case "(($ac_try" in
34216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34217 *) ac_try_echo=$ac_try;;
34219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34220 (eval "$ac_compile") 2>conftest.er1
34222 grep -v '^ *+' conftest.er1 >conftest.err
34224 cat conftest.err >&5
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); } && {
34227 test -z "$ac_c_werror_flag" ||
34228 test ! -s conftest.err
34229 } && test -s conftest.$ac_objext; then
34230 { echo "$as_me:$LINENO: result: yes" >&5
34231 echo "${ECHO_T}yes" >&6; }
34232 cat >>confdefs.h <<\_ACEOF
34233 #define __Point__ 1
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34241 { { echo "$as_me:$LINENO: error: no
34242 See \`config.log' for more details." >&5
34243 echo "$as_me: error: no
34244 See \`config.log' for more details." >&2;}
34245 { (exit 1); exit 1; }; }
34249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34255 ac_cpp='$CPP $CPPFLAGS'
34256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34263 { echo "$as_me:$LINENO: checking for mode_t" >&5
34264 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34265 if test "${ac_cv_type_mode_t+set}" = set; then
34266 echo $ECHO_N "(cached) $ECHO_C" >&6
34268 cat >conftest.$ac_ext <<_ACEOF
34271 cat confdefs.h >>conftest.$ac_ext
34272 cat >>conftest.$ac_ext <<_ACEOF
34273 /* end confdefs.h. */
34274 $ac_includes_default
34275 typedef mode_t ac__type_new_;
34279 if ((ac__type_new_ *) 0)
34281 if (sizeof (ac__type_new_))
34287 rm -f conftest.$ac_objext
34288 if { (ac_try="$ac_compile"
34289 case "(($ac_try" in
34290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34291 *) ac_try_echo=$ac_try;;
34293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34294 (eval "$ac_compile") 2>conftest.er1
34296 grep -v '^ *+' conftest.er1 >conftest.err
34298 cat conftest.err >&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); } && {
34301 test -z "$ac_c_werror_flag" ||
34302 test ! -s conftest.err
34303 } && test -s conftest.$ac_objext; then
34304 ac_cv_type_mode_t=yes
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34309 ac_cv_type_mode_t=no
34312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34314 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34315 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34316 if test $ac_cv_type_mode_t = yes; then
34320 cat >>confdefs.h <<_ACEOF
34326 { echo "$as_me:$LINENO: checking for off_t" >&5
34327 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34328 if test "${ac_cv_type_off_t+set}" = set; then
34329 echo $ECHO_N "(cached) $ECHO_C" >&6
34331 cat >conftest.$ac_ext <<_ACEOF
34334 cat confdefs.h >>conftest.$ac_ext
34335 cat >>conftest.$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34337 $ac_includes_default
34338 typedef off_t ac__type_new_;
34342 if ((ac__type_new_ *) 0)
34344 if (sizeof (ac__type_new_))
34350 rm -f conftest.$ac_objext
34351 if { (ac_try="$ac_compile"
34352 case "(($ac_try" in
34353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34354 *) ac_try_echo=$ac_try;;
34356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34357 (eval "$ac_compile") 2>conftest.er1
34359 grep -v '^ *+' conftest.er1 >conftest.err
34361 cat conftest.err >&5
34362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34363 (exit $ac_status); } && {
34364 test -z "$ac_c_werror_flag" ||
34365 test ! -s conftest.err
34366 } && test -s conftest.$ac_objext; then
34367 ac_cv_type_off_t=yes
34369 echo "$as_me: failed program was:" >&5
34370 sed 's/^/| /' conftest.$ac_ext >&5
34372 ac_cv_type_off_t=no
34375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34377 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34378 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34379 if test $ac_cv_type_off_t = yes; then
34383 cat >>confdefs.h <<_ACEOF
34384 #define off_t long int
34389 { echo "$as_me:$LINENO: checking for pid_t" >&5
34390 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34391 if test "${ac_cv_type_pid_t+set}" = set; then
34392 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 cat >conftest.$ac_ext <<_ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34400 $ac_includes_default
34401 typedef pid_t ac__type_new_;
34405 if ((ac__type_new_ *) 0)
34407 if (sizeof (ac__type_new_))
34413 rm -f conftest.$ac_objext
34414 if { (ac_try="$ac_compile"
34415 case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34417 *) ac_try_echo=$ac_try;;
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_compile") 2>conftest.er1
34422 grep -v '^ *+' conftest.er1 >conftest.err
34424 cat conftest.err >&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } && {
34427 test -z "$ac_c_werror_flag" ||
34428 test ! -s conftest.err
34429 } && test -s conftest.$ac_objext; then
34430 ac_cv_type_pid_t=yes
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34435 ac_cv_type_pid_t=no
34438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34440 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34441 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34442 if test $ac_cv_type_pid_t = yes; then
34446 cat >>confdefs.h <<_ACEOF
34452 { echo "$as_me:$LINENO: checking for size_t" >&5
34453 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34454 if test "${ac_cv_type_size_t+set}" = set; then
34455 echo $ECHO_N "(cached) $ECHO_C" >&6
34457 cat >conftest.$ac_ext <<_ACEOF
34460 cat confdefs.h >>conftest.$ac_ext
34461 cat >>conftest.$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34463 $ac_includes_default
34464 typedef size_t ac__type_new_;
34468 if ((ac__type_new_ *) 0)
34470 if (sizeof (ac__type_new_))
34476 rm -f conftest.$ac_objext
34477 if { (ac_try="$ac_compile"
34478 case "(($ac_try" in
34479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34480 *) ac_try_echo=$ac_try;;
34482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34483 (eval "$ac_compile") 2>conftest.er1
34485 grep -v '^ *+' conftest.er1 >conftest.err
34487 cat conftest.err >&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } && {
34490 test -z "$ac_c_werror_flag" ||
34491 test ! -s conftest.err
34492 } && test -s conftest.$ac_objext; then
34493 ac_cv_type_size_t=yes
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34498 ac_cv_type_size_t=no
34501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34503 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34504 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34505 if test $ac_cv_type_size_t = yes; then
34509 cat >>confdefs.h <<_ACEOF
34510 #define size_t unsigned int
34516 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34517 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34518 if test "${ac_cv_type_ssize_t+set}" = set; then
34519 echo $ECHO_N "(cached) $ECHO_C" >&6
34521 cat >conftest.$ac_ext <<_ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34527 $ac_includes_default
34528 typedef ssize_t ac__type_new_;
34532 if ((ac__type_new_ *) 0)
34534 if (sizeof (ac__type_new_))
34540 rm -f conftest.$ac_objext
34541 if { (ac_try="$ac_compile"
34542 case "(($ac_try" in
34543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34544 *) ac_try_echo=$ac_try;;
34546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34547 (eval "$ac_compile") 2>conftest.er1
34549 grep -v '^ *+' conftest.er1 >conftest.err
34551 cat conftest.err >&5
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); } && {
34554 test -z "$ac_c_werror_flag" ||
34555 test ! -s conftest.err
34556 } && test -s conftest.$ac_objext; then
34557 ac_cv_type_ssize_t=yes
34559 echo "$as_me: failed program was:" >&5
34560 sed 's/^/| /' conftest.$ac_ext >&5
34562 ac_cv_type_ssize_t=no
34565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34567 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34568 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34569 if test $ac_cv_type_ssize_t = yes; then
34571 cat >>confdefs.h <<_ACEOF
34572 #define HAVE_SSIZE_T 1
34580 ac_cpp='$CXXCPP $CPPFLAGS'
34581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34584 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34585 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34586 if test "${wx_cv_size_t_is_uint+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34590 cat >conftest.$ac_ext <<_ACEOF
34593 cat confdefs.h >>conftest.$ac_ext
34594 cat >>conftest.$ac_ext <<_ACEOF
34595 /* end confdefs.h. */
34596 #include <stddef.h>
34603 struct Foo { void foo(size_t); void foo(unsigned int); };
34611 rm -f conftest.$ac_objext
34612 if { (ac_try="$ac_compile"
34613 case "(($ac_try" in
34614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34615 *) ac_try_echo=$ac_try;;
34617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 (eval "$ac_compile") 2>conftest.er1
34620 grep -v '^ *+' conftest.er1 >conftest.err
34622 cat conftest.err >&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } && {
34625 test -z "$ac_cxx_werror_flag" ||
34626 test ! -s conftest.err
34627 } && test -s conftest.$ac_objext; then
34628 wx_cv_size_t_is_uint=no
34630 echo "$as_me: failed program was:" >&5
34631 sed 's/^/| /' conftest.$ac_ext >&5
34633 wx_cv_size_t_is_uint=yes
34637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34641 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34642 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34644 if test "$wx_cv_size_t_is_uint" = "yes"; then
34645 cat >>confdefs.h <<\_ACEOF
34646 #define wxSIZE_T_IS_UINT 1
34650 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34651 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34652 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34655 cat >conftest.$ac_ext <<_ACEOF
34658 cat confdefs.h >>conftest.$ac_ext
34659 cat >>conftest.$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34661 #include <stddef.h>
34668 struct Foo { void foo(size_t); void foo(unsigned long); };
34676 rm -f conftest.$ac_objext
34677 if { (ac_try="$ac_compile"
34678 case "(($ac_try" in
34679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34680 *) ac_try_echo=$ac_try;;
34682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34683 (eval "$ac_compile") 2>conftest.er1
34685 grep -v '^ *+' conftest.er1 >conftest.err
34687 cat conftest.err >&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); } && {
34690 test -z "$ac_cxx_werror_flag" ||
34691 test ! -s conftest.err
34692 } && test -s conftest.$ac_objext; then
34693 wx_cv_size_t_is_ulong=no
34695 echo "$as_me: failed program was:" >&5
34696 sed 's/^/| /' conftest.$ac_ext >&5
34698 wx_cv_size_t_is_ulong=yes
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34705 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34706 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34708 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34709 cat >>confdefs.h <<\_ACEOF
34710 #define wxSIZE_T_IS_ULONG 1
34716 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34717 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34718 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34719 echo $ECHO_N "(cached) $ECHO_C" >&6
34721 cat >conftest.$ac_ext <<_ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34734 struct Foo { void foo(wchar_t);
34735 void foo(unsigned short);
34736 void foo(unsigned int);
34737 void foo(unsigned long); };
34745 rm -f conftest.$ac_objext
34746 if { (ac_try="$ac_compile"
34747 case "(($ac_try" in
34748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34749 *) ac_try_echo=$ac_try;;
34751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34752 (eval "$ac_compile") 2>conftest.er1
34754 grep -v '^ *+' conftest.er1 >conftest.err
34756 cat conftest.err >&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } && {
34759 test -z "$ac_cxx_werror_flag" ||
34760 test ! -s conftest.err
34761 } && test -s conftest.$ac_objext; then
34762 wx_cv_wchar_t_is_separate_type=yes
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34767 wx_cv_wchar_t_is_separate_type=no
34771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34774 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34775 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34777 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34778 cat >>confdefs.h <<\_ACEOF
34779 #define wxWCHAR_T_IS_REAL_TYPE 1
34783 cat >>confdefs.h <<\_ACEOF
34784 #define wxWCHAR_T_IS_REAL_TYPE 0
34790 ac_cpp='$CPP $CPPFLAGS'
34791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34796 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34797 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34798 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34799 echo $ECHO_N "(cached) $ECHO_C" >&6
34802 cat >conftest.$ac_ext <<_ACEOF
34805 cat confdefs.h >>conftest.$ac_ext
34806 cat >>conftest.$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34821 rm -f conftest.$ac_objext
34822 if { (ac_try="$ac_compile"
34823 case "(($ac_try" in
34824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34825 *) ac_try_echo=$ac_try;;
34827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34828 (eval "$ac_compile") 2>conftest.er1
34830 grep -v '^ *+' conftest.er1 >conftest.err
34832 cat conftest.err >&5
34833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34834 (exit $ac_status); } && {
34835 test -z "$ac_c_werror_flag" ||
34836 test ! -s conftest.err
34837 } && test -s conftest.$ac_objext; then
34839 wx_cv_struct_pw_gecos=yes
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34846 wx_cv_struct_pw_gecos=no
34851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34855 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34856 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34858 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34859 cat >>confdefs.h <<\_ACEOF
34860 #define HAVE_PW_GECOS 1
34866 if test "$wxUSE_WCHAR_T" = "yes"; then
34867 cat >>confdefs.h <<\_ACEOF
34868 #define wxUSE_WCHAR_T 1
34875 for ac_func in wcslen
34877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34883 cat >conftest.$ac_ext <<_ACEOF
34886 cat confdefs.h >>conftest.$ac_ext
34887 cat >>conftest.$ac_ext <<_ACEOF
34888 /* end confdefs.h. */
34889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34891 #define $ac_func innocuous_$ac_func
34893 /* System header to define __stub macros and hopefully few prototypes,
34894 which can conflict with char $ac_func (); below.
34895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34896 <limits.h> exists even on freestanding compilers. */
34899 # include <limits.h>
34901 # include <assert.h>
34906 /* Override any GCC internal prototype to avoid an error.
34907 Use char because int might match the return type of a GCC
34908 builtin and then its argument prototype would still apply. */
34913 /* The GNU C library defines this for functions which it implements
34914 to always fail with ENOSYS. Some functions are actually named
34915 something starting with __ and the normal name is an alias. */
34916 #if defined __stub_$ac_func || defined __stub___$ac_func
34923 return $ac_func ();
34928 rm -f conftest.$ac_objext conftest$ac_exeext
34929 if { (ac_try="$ac_link"
34930 case "(($ac_try" in
34931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34932 *) ac_try_echo=$ac_try;;
34934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34935 (eval "$ac_link") 2>conftest.er1
34937 grep -v '^ *+' conftest.er1 >conftest.err
34939 cat conftest.err >&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } && {
34942 test -z "$ac_c_werror_flag" ||
34943 test ! -s conftest.err
34944 } && test -s conftest$ac_exeext &&
34945 $as_test_x conftest$ac_exeext; then
34946 eval "$as_ac_var=yes"
34948 echo "$as_me: failed program was:" >&5
34949 sed 's/^/| /' conftest.$ac_ext >&5
34951 eval "$as_ac_var=no"
34954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34955 conftest$ac_exeext conftest.$ac_ext
34957 ac_res=`eval echo '${'$as_ac_var'}'`
34958 { echo "$as_me:$LINENO: result: $ac_res" >&5
34959 echo "${ECHO_T}$ac_res" >&6; }
34960 if test `eval echo '${'$as_ac_var'}'` = yes; then
34961 cat >>confdefs.h <<_ACEOF
34962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34969 if test "$WCSLEN_FOUND" = 0; then
34970 if test "$TOOLKIT" = "MSW"; then
34971 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34972 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34973 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 ac_check_lib_save_LIBS=$LIBS
34977 LIBS="-lmsvcrt $LIBS"
34978 cat >conftest.$ac_ext <<_ACEOF
34981 cat confdefs.h >>conftest.$ac_ext
34982 cat >>conftest.$ac_ext <<_ACEOF
34983 /* end confdefs.h. */
34985 /* Override any GCC internal prototype to avoid an error.
34986 Use char because int might match the return type of a GCC
34987 builtin and then its argument prototype would still apply. */
35000 rm -f conftest.$ac_objext conftest$ac_exeext
35001 if { (ac_try="$ac_link"
35002 case "(($ac_try" in
35003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35004 *) ac_try_echo=$ac_try;;
35006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35007 (eval "$ac_link") 2>conftest.er1
35009 grep -v '^ *+' conftest.er1 >conftest.err
35011 cat conftest.err >&5
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); } && {
35014 test -z "$ac_c_werror_flag" ||
35015 test ! -s conftest.err
35016 } && test -s conftest$ac_exeext &&
35017 $as_test_x conftest$ac_exeext; then
35018 ac_cv_lib_msvcrt_wcslen=yes
35020 echo "$as_me: failed program was:" >&5
35021 sed 's/^/| /' conftest.$ac_ext >&5
35023 ac_cv_lib_msvcrt_wcslen=no
35026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35027 conftest$ac_exeext conftest.$ac_ext
35028 LIBS=$ac_check_lib_save_LIBS
35030 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35031 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35032 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35037 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35038 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35039 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35040 echo $ECHO_N "(cached) $ECHO_C" >&6
35042 ac_check_lib_save_LIBS=$LIBS
35044 cat >conftest.$ac_ext <<_ACEOF
35047 cat confdefs.h >>conftest.$ac_ext
35048 cat >>conftest.$ac_ext <<_ACEOF
35049 /* end confdefs.h. */
35051 /* Override any GCC internal prototype to avoid an error.
35052 Use char because int might match the return type of a GCC
35053 builtin and then its argument prototype would still apply. */
35066 rm -f conftest.$ac_objext conftest$ac_exeext
35067 if { (ac_try="$ac_link"
35068 case "(($ac_try" in
35069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35070 *) ac_try_echo=$ac_try;;
35072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35073 (eval "$ac_link") 2>conftest.er1
35075 grep -v '^ *+' conftest.er1 >conftest.err
35077 cat conftest.err >&5
35078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 (exit $ac_status); } && {
35080 test -z "$ac_c_werror_flag" ||
35081 test ! -s conftest.err
35082 } && test -s conftest$ac_exeext &&
35083 $as_test_x conftest$ac_exeext; then
35084 ac_cv_lib_w_wcslen=yes
35086 echo "$as_me: failed program was:" >&5
35087 sed 's/^/| /' conftest.$ac_ext >&5
35089 ac_cv_lib_w_wcslen=no
35092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35093 conftest$ac_exeext conftest.$ac_ext
35094 LIBS=$ac_check_lib_save_LIBS
35096 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35097 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35098 if test $ac_cv_lib_w_wcslen = yes; then
35108 if test "$WCSLEN_FOUND" = 1; then
35109 cat >>confdefs.h <<\_ACEOF
35110 #define HAVE_WCSLEN 1
35120 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35126 echo $ECHO_N "(cached) $ECHO_C" >&6
35128 cat >conftest.$ac_ext <<_ACEOF
35131 cat confdefs.h >>conftest.$ac_ext
35132 cat >>conftest.$ac_ext <<_ACEOF
35133 /* end confdefs.h. */
35134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35136 #define $ac_func innocuous_$ac_func
35138 /* System header to define __stub macros and hopefully few prototypes,
35139 which can conflict with char $ac_func (); below.
35140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35141 <limits.h> exists even on freestanding compilers. */
35144 # include <limits.h>
35146 # include <assert.h>
35151 /* Override any GCC internal prototype to avoid an error.
35152 Use char because int might match the return type of a GCC
35153 builtin and then its argument prototype would still apply. */
35158 /* The GNU C library defines this for functions which it implements
35159 to always fail with ENOSYS. Some functions are actually named
35160 something starting with __ and the normal name is an alias. */
35161 #if defined __stub_$ac_func || defined __stub___$ac_func
35168 return $ac_func ();
35173 rm -f conftest.$ac_objext conftest$ac_exeext
35174 if { (ac_try="$ac_link"
35175 case "(($ac_try" in
35176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35177 *) ac_try_echo=$ac_try;;
35179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35180 (eval "$ac_link") 2>conftest.er1
35182 grep -v '^ *+' conftest.er1 >conftest.err
35184 cat conftest.err >&5
35185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35186 (exit $ac_status); } && {
35187 test -z "$ac_c_werror_flag" ||
35188 test ! -s conftest.err
35189 } && test -s conftest$ac_exeext &&
35190 $as_test_x conftest$ac_exeext; then
35191 eval "$as_ac_var=yes"
35193 echo "$as_me: failed program was:" >&5
35194 sed 's/^/| /' conftest.$ac_ext >&5
35196 eval "$as_ac_var=no"
35199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35200 conftest$ac_exeext conftest.$ac_ext
35202 ac_res=`eval echo '${'$as_ac_var'}'`
35203 { echo "$as_me:$LINENO: result: $ac_res" >&5
35204 echo "${ECHO_T}$ac_res" >&6; }
35205 if test `eval echo '${'$as_ac_var'}'` = yes; then
35206 cat >>confdefs.h <<_ACEOF
35207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35214 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35215 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35218 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35219 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35220 if test "${ac_cv_type_mbstate_t+set}" = set; then
35221 echo $ECHO_N "(cached) $ECHO_C" >&6
35223 cat >conftest.$ac_ext <<_ACEOF
35226 cat confdefs.h >>conftest.$ac_ext
35227 cat >>conftest.$ac_ext <<_ACEOF
35228 /* end confdefs.h. */
35231 typedef mbstate_t ac__type_new_;
35235 if ((ac__type_new_ *) 0)
35237 if (sizeof (ac__type_new_))
35243 rm -f conftest.$ac_objext
35244 if { (ac_try="$ac_compile"
35245 case "(($ac_try" in
35246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35247 *) ac_try_echo=$ac_try;;
35249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35250 (eval "$ac_compile") 2>conftest.er1
35252 grep -v '^ *+' conftest.er1 >conftest.err
35254 cat conftest.err >&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); } && {
35257 test -z "$ac_c_werror_flag" ||
35258 test ! -s conftest.err
35259 } && test -s conftest.$ac_objext; then
35260 ac_cv_type_mbstate_t=yes
35262 echo "$as_me: failed program was:" >&5
35263 sed 's/^/| /' conftest.$ac_ext >&5
35265 ac_cv_type_mbstate_t=no
35268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35270 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35271 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35272 if test $ac_cv_type_mbstate_t = yes; then
35274 cat >>confdefs.h <<_ACEOF
35275 #define HAVE_MBSTATE_T 1
35279 for ac_func in wcsrtombs
35281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35287 cat >conftest.$ac_ext <<_ACEOF
35290 cat confdefs.h >>conftest.$ac_ext
35291 cat >>conftest.$ac_ext <<_ACEOF
35292 /* end confdefs.h. */
35293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35295 #define $ac_func innocuous_$ac_func
35297 /* System header to define __stub macros and hopefully few prototypes,
35298 which can conflict with char $ac_func (); below.
35299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35300 <limits.h> exists even on freestanding compilers. */
35303 # include <limits.h>
35305 # include <assert.h>
35310 /* Override any GCC internal prototype to avoid an error.
35311 Use char because int might match the return type of a GCC
35312 builtin and then its argument prototype would still apply. */
35317 /* The GNU C library defines this for functions which it implements
35318 to always fail with ENOSYS. Some functions are actually named
35319 something starting with __ and the normal name is an alias. */
35320 #if defined __stub_$ac_func || defined __stub___$ac_func
35327 return $ac_func ();
35332 rm -f conftest.$ac_objext conftest$ac_exeext
35333 if { (ac_try="$ac_link"
35334 case "(($ac_try" in
35335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35336 *) ac_try_echo=$ac_try;;
35338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35339 (eval "$ac_link") 2>conftest.er1
35341 grep -v '^ *+' conftest.er1 >conftest.err
35343 cat conftest.err >&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); } && {
35346 test -z "$ac_c_werror_flag" ||
35347 test ! -s conftest.err
35348 } && test -s conftest$ac_exeext &&
35349 $as_test_x conftest$ac_exeext; then
35350 eval "$as_ac_var=yes"
35352 echo "$as_me: failed program was:" >&5
35353 sed 's/^/| /' conftest.$ac_ext >&5
35355 eval "$as_ac_var=no"
35358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35359 conftest$ac_exeext conftest.$ac_ext
35361 ac_res=`eval echo '${'$as_ac_var'}'`
35362 { echo "$as_me:$LINENO: result: $ac_res" >&5
35363 echo "${ECHO_T}$ac_res" >&6; }
35364 if test `eval echo '${'$as_ac_var'}'` = yes; then
35365 cat >>confdefs.h <<_ACEOF
35366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35375 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35376 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35382 for ac_func in snprintf vsnprintf vsscanf
35384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35388 echo $ECHO_N "(cached) $ECHO_C" >&6
35390 cat >conftest.$ac_ext <<_ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35398 #define $ac_func innocuous_$ac_func
35400 /* System header to define __stub macros and hopefully few prototypes,
35401 which can conflict with char $ac_func (); below.
35402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35403 <limits.h> exists even on freestanding compilers. */
35406 # include <limits.h>
35408 # include <assert.h>
35413 /* Override any GCC internal prototype to avoid an error.
35414 Use char because int might match the return type of a GCC
35415 builtin and then its argument prototype would still apply. */
35420 /* The GNU C library defines this for functions which it implements
35421 to always fail with ENOSYS. Some functions are actually named
35422 something starting with __ and the normal name is an alias. */
35423 #if defined __stub_$ac_func || defined __stub___$ac_func
35430 return $ac_func ();
35435 rm -f conftest.$ac_objext conftest$ac_exeext
35436 if { (ac_try="$ac_link"
35437 case "(($ac_try" in
35438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35439 *) ac_try_echo=$ac_try;;
35441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35442 (eval "$ac_link") 2>conftest.er1
35444 grep -v '^ *+' conftest.er1 >conftest.err
35446 cat conftest.err >&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); } && {
35449 test -z "$ac_c_werror_flag" ||
35450 test ! -s conftest.err
35451 } && test -s conftest$ac_exeext &&
35452 $as_test_x conftest$ac_exeext; then
35453 eval "$as_ac_var=yes"
35455 echo "$as_me: failed program was:" >&5
35456 sed 's/^/| /' conftest.$ac_ext >&5
35458 eval "$as_ac_var=no"
35461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35462 conftest$ac_exeext conftest.$ac_ext
35464 ac_res=`eval echo '${'$as_ac_var'}'`
35465 { echo "$as_me:$LINENO: result: $ac_res" >&5
35466 echo "${ECHO_T}$ac_res" >&6; }
35467 if test `eval echo '${'$as_ac_var'}'` = yes; then
35468 cat >>confdefs.h <<_ACEOF
35469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35482 if test "$ac_cv_func_vsnprintf" = "yes"; then
35483 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35484 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35485 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35486 echo $ECHO_N "(cached) $ECHO_C" >&6
35489 cat >conftest.$ac_ext <<_ACEOF
35492 cat confdefs.h >>conftest.$ac_ext
35493 cat >>conftest.$ac_ext <<_ACEOF
35494 /* end confdefs.h. */
35497 #include <stdarg.h>
35499 #if __MSL__ >= 0x6000
35501 using namespace std;
35511 vsnprintf(buf, 10u, "%s", ap);
35517 rm -f conftest.$ac_objext
35518 if { (ac_try="$ac_compile"
35519 case "(($ac_try" in
35520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35521 *) ac_try_echo=$ac_try;;
35523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35524 (eval "$ac_compile") 2>conftest.er1
35526 grep -v '^ *+' conftest.er1 >conftest.err
35528 cat conftest.err >&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } && {
35531 test -z "$ac_cxx_werror_flag" ||
35532 test ! -s conftest.err
35533 } && test -s conftest.$ac_objext; then
35534 wx_cv_func_vsnprintf_decl=yes
35536 echo "$as_me: failed program was:" >&5
35537 sed 's/^/| /' conftest.$ac_ext >&5
35539 wx_cv_func_vsnprintf_decl=no
35543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35547 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35548 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35550 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35551 cat >>confdefs.h <<\_ACEOF
35552 #define HAVE_VSNPRINTF_DECL 1
35556 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35557 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35558 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35559 echo $ECHO_N "(cached) $ECHO_C" >&6
35562 cat >conftest.$ac_ext <<_ACEOF
35565 cat confdefs.h >>conftest.$ac_ext
35566 cat >>conftest.$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35570 #include <stdarg.h>
35572 #if __MSL__ >= 0x6000
35574 using namespace std;
35584 const char *fmt = "%s";
35585 vsnprintf(buf, 10u, fmt, ap);
35591 rm -f conftest.$ac_objext
35592 if { (ac_try="$ac_compile"
35593 case "(($ac_try" in
35594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35595 *) ac_try_echo=$ac_try;;
35597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35598 (eval "$ac_compile") 2>conftest.er1
35600 grep -v '^ *+' conftest.er1 >conftest.err
35602 cat conftest.err >&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); } && {
35605 test -z "$ac_cxx_werror_flag" ||
35606 test ! -s conftest.err
35607 } && test -s conftest.$ac_objext; then
35608 wx_cv_func_broken_vsnprintf_decl=no
35610 echo "$as_me: failed program was:" >&5
35611 sed 's/^/| /' conftest.$ac_ext >&5
35613 wx_cv_func_broken_vsnprintf_decl=yes
35617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35621 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35622 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35624 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35625 cat >>confdefs.h <<\_ACEOF
35626 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35633 if test "$ac_cv_func_snprintf" = "yes"; then
35634 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35635 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35636 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 cat >conftest.$ac_ext <<_ACEOF
35643 cat confdefs.h >>conftest.$ac_ext
35644 cat >>conftest.$ac_ext <<_ACEOF
35645 /* end confdefs.h. */
35648 #include <stdarg.h>
35650 #if __MSL__ >= 0x6000
35652 using namespace std;
35661 snprintf(buf, 10u, "%s", "wx");
35667 rm -f conftest.$ac_objext
35668 if { (ac_try="$ac_compile"
35669 case "(($ac_try" in
35670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35671 *) ac_try_echo=$ac_try;;
35673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35674 (eval "$ac_compile") 2>conftest.er1
35676 grep -v '^ *+' conftest.er1 >conftest.err
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } && {
35681 test -z "$ac_cxx_werror_flag" ||
35682 test ! -s conftest.err
35683 } && test -s conftest.$ac_objext; then
35684 wx_cv_func_snprintf_decl=yes
35686 echo "$as_me: failed program was:" >&5
35687 sed 's/^/| /' conftest.$ac_ext >&5
35689 wx_cv_func_snprintf_decl=no
35693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35697 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35698 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35700 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35701 cat >>confdefs.h <<\_ACEOF
35702 #define HAVE_SNPRINTF_DECL 1
35707 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35709 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35710 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35711 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35712 echo $ECHO_N "(cached) $ECHO_C" >&6
35715 if test "$cross_compiling" = yes; then
35717 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35718 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35719 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35720 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35721 wx_cv_func_snprintf_pos_params=no
35725 cat >conftest.$ac_ext <<_ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35737 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35738 if (strcmp ("2 3 1", buffer) == 0)
35744 rm -f conftest$ac_exeext
35745 if { (ac_try="$ac_link"
35746 case "(($ac_try" in
35747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35748 *) ac_try_echo=$ac_try;;
35750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35751 (eval "$ac_link") 2>&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35755 { (case "(($ac_try" in
35756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35757 *) ac_try_echo=$ac_try;;
35759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35760 (eval "$ac_try") 2>&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); }; }; then
35764 wx_cv_func_snprintf_pos_params=no
35766 echo "$as_me: program exited with status $ac_status" >&5
35767 echo "$as_me: failed program was:" >&5
35768 sed 's/^/| /' conftest.$ac_ext >&5
35770 ( exit $ac_status )
35771 wx_cv_func_snprintf_pos_params=yes
35773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35780 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35781 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35783 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35784 cat >>confdefs.h <<\_ACEOF
35785 #define HAVE_UNIX98_PRINTF 1
35792 if test "$ac_cv_func_vsscanf" = "yes"; then
35793 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35794 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35795 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 cat >conftest.$ac_ext <<_ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35807 #include <stdarg.h>
35809 #if __MSL__ >= 0x6000
35811 using namespace std;
35821 vsscanf(buf, "%s", args);
35827 rm -f conftest.$ac_objext
35828 if { (ac_try="$ac_compile"
35829 case "(($ac_try" in
35830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35831 *) ac_try_echo=$ac_try;;
35833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35834 (eval "$ac_compile") 2>conftest.er1
35836 grep -v '^ *+' conftest.er1 >conftest.err
35838 cat conftest.err >&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); } && {
35841 test -z "$ac_cxx_werror_flag" ||
35842 test ! -s conftest.err
35843 } && test -s conftest.$ac_objext; then
35844 wx_cv_func_vsscanf_decl=yes
35846 echo "$as_me: failed program was:" >&5
35847 sed 's/^/| /' conftest.$ac_ext >&5
35849 wx_cv_func_vsscanf_decl=no
35853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35857 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35858 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35860 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35861 cat >>confdefs.h <<\_ACEOF
35862 #define HAVE_VSSCANF_DECL 1
35868 ac_cpp='$CPP $CPPFLAGS'
35869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35874 if test "$wxUSE_UNICODE" = yes; then
35876 wchar_headers="#include <stdio.h>
35877 #include <wchar.h>"
35881 for ac_header in widec.h
35883 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35884 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35887 echo $ECHO_N "(cached) $ECHO_C" >&6
35889 cat >conftest.$ac_ext <<_ACEOF
35892 cat confdefs.h >>conftest.$ac_ext
35893 cat >>conftest.$ac_ext <<_ACEOF
35894 /* end confdefs.h. */
35895 $ac_includes_default
35897 #include <$ac_header>
35899 rm -f conftest.$ac_objext
35900 if { (ac_try="$ac_compile"
35901 case "(($ac_try" in
35902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35903 *) ac_try_echo=$ac_try;;
35905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35906 (eval "$ac_compile") 2>conftest.er1
35908 grep -v '^ *+' conftest.er1 >conftest.err
35910 cat conftest.err >&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); } && {
35913 test -z "$ac_c_werror_flag" ||
35914 test ! -s conftest.err
35915 } && test -s conftest.$ac_objext; then
35916 eval "$as_ac_Header=yes"
35918 echo "$as_me: failed program was:" >&5
35919 sed 's/^/| /' conftest.$ac_ext >&5
35921 eval "$as_ac_Header=no"
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35926 ac_res=`eval echo '${'$as_ac_Header'}'`
35927 { echo "$as_me:$LINENO: result: $ac_res" >&5
35928 echo "${ECHO_T}$ac_res" >&6; }
35929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35930 cat >>confdefs.h <<_ACEOF
35931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35938 if test "$ac_cv_header_widec_h" = "yes"; then
35939 wchar_headers="$wchar_headers
35940 #include <widec.h>"
35945 for wx_func in putws fputws wprintf vswprintf vswscanf
35947 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35948 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35949 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35950 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 cat >conftest.$ac_ext <<_ACEOF
35957 cat confdefs.h >>conftest.$ac_ext
35958 cat >>conftest.$ac_ext <<_ACEOF
35959 /* end confdefs.h. */
35962 $ac_includes_default
35978 rm -f conftest.$ac_objext conftest$ac_exeext
35979 if { (ac_try="$ac_link"
35980 case "(($ac_try" in
35981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35982 *) ac_try_echo=$ac_try;;
35984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35985 (eval "$ac_link") 2>conftest.er1
35987 grep -v '^ *+' conftest.er1 >conftest.err
35989 cat conftest.err >&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } && {
35992 test -z "$ac_c_werror_flag" ||
35993 test ! -s conftest.err
35994 } && test -s conftest$ac_exeext &&
35995 $as_test_x conftest$ac_exeext; then
35996 eval wx_cv_func_$wx_func=yes
35998 echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36001 eval wx_cv_func_$wx_func=no
36004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36005 conftest$ac_exeext conftest.$ac_ext
36008 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36009 { echo "$as_me:$LINENO: result: $ac_res" >&5
36010 echo "${ECHO_T}$ac_res" >&6; }
36012 if eval test \$wx_cv_func_$wx_func = yes
36014 cat >>confdefs.h <<_ACEOF
36015 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36026 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36027 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36028 cat >conftest.$ac_ext <<_ACEOF
36031 cat confdefs.h >>conftest.$ac_ext
36032 cat >>conftest.$ac_ext <<_ACEOF
36033 /* end confdefs.h. */
36043 rm -f conftest.$ac_objext
36044 if { (ac_try="$ac_compile"
36045 case "(($ac_try" in
36046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36047 *) ac_try_echo=$ac_try;;
36049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36050 (eval "$ac_compile") 2>conftest.er1
36052 grep -v '^ *+' conftest.er1 >conftest.err
36054 cat conftest.err >&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } && {
36057 test -z "$ac_c_werror_flag" ||
36058 test ! -s conftest.err
36059 } && test -s conftest.$ac_objext; then
36060 { echo "$as_me:$LINENO: result: yes" >&5
36061 echo "${ECHO_T}yes" >&6; }
36062 cat >>confdefs.h <<\_ACEOF
36063 #define HAVE__VSNWPRINTF 1
36067 echo "$as_me: failed program was:" >&5
36068 sed 's/^/| /' conftest.$ac_ext >&5
36070 { echo "$as_me:$LINENO: result: no" >&5
36071 echo "${ECHO_T}no" >&6; }
36074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36077 if test "$wxUSE_FILE" = "yes"; then
36079 for wx_func in fsync
36081 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36082 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36083 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36084 echo $ECHO_N "(cached) $ECHO_C" >&6
36087 cat >conftest.$ac_ext <<_ACEOF
36091 cat confdefs.h >>conftest.$ac_ext
36092 cat >>conftest.$ac_ext <<_ACEOF
36093 /* end confdefs.h. */
36096 $ac_includes_default
36112 rm -f conftest.$ac_objext conftest$ac_exeext
36113 if { (ac_try="$ac_link"
36114 case "(($ac_try" in
36115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36116 *) ac_try_echo=$ac_try;;
36118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36119 (eval "$ac_link") 2>conftest.er1
36121 grep -v '^ *+' conftest.er1 >conftest.err
36123 cat conftest.err >&5
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); } && {
36126 test -z "$ac_c_werror_flag" ||
36127 test ! -s conftest.err
36128 } && test -s conftest$ac_exeext &&
36129 $as_test_x conftest$ac_exeext; then
36130 eval wx_cv_func_$wx_func=yes
36132 echo "$as_me: failed program was:" >&5
36133 sed 's/^/| /' conftest.$ac_ext >&5
36135 eval wx_cv_func_$wx_func=no
36138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36139 conftest$ac_exeext conftest.$ac_ext
36142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36143 { echo "$as_me:$LINENO: result: $ac_res" >&5
36144 echo "${ECHO_T}$ac_res" >&6; }
36146 if eval test \$wx_cv_func_$wx_func = yes
36148 cat >>confdefs.h <<_ACEOF
36149 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36162 ac_cpp='$CXXCPP $CPPFLAGS'
36163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36168 for wx_func in round
36170 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36171 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36172 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36176 cat >conftest.$ac_ext <<_ACEOF
36180 cat confdefs.h >>conftest.$ac_ext
36181 cat >>conftest.$ac_ext <<_ACEOF
36182 /* end confdefs.h. */
36185 $ac_includes_default
36201 rm -f conftest.$ac_objext conftest$ac_exeext
36202 if { (ac_try="$ac_link"
36203 case "(($ac_try" in
36204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36205 *) ac_try_echo=$ac_try;;
36207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36208 (eval "$ac_link") 2>conftest.er1
36210 grep -v '^ *+' conftest.er1 >conftest.err
36212 cat conftest.err >&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } && {
36215 test -z "$ac_cxx_werror_flag" ||
36216 test ! -s conftest.err
36217 } && test -s conftest$ac_exeext &&
36218 $as_test_x conftest$ac_exeext; then
36219 eval wx_cv_func_$wx_func=yes
36221 echo "$as_me: failed program was:" >&5
36222 sed 's/^/| /' conftest.$ac_ext >&5
36224 eval wx_cv_func_$wx_func=no
36227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36228 conftest$ac_exeext conftest.$ac_ext
36231 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36232 { echo "$as_me:$LINENO: result: $ac_res" >&5
36233 echo "${ECHO_T}$ac_res" >&6; }
36235 if eval test \$wx_cv_func_$wx_func = yes
36237 cat >>confdefs.h <<_ACEOF
36238 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36249 ac_cpp='$CPP $CPPFLAGS'
36250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36255 if test "$TOOLKIT" != "MSW"; then
36257 if test "$wxUSE_LIBICONV" != "no" ; then
36261 # Check whether --with-libiconv-prefix was given.
36262 if test "${with_libiconv_prefix+set}" = set; then
36263 withval=$with_libiconv_prefix;
36264 for dir in `echo "$withval" | tr : ' '`; do
36265 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36266 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36272 { echo "$as_me:$LINENO: checking for iconv" >&5
36273 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36274 if test "${am_cv_func_iconv+set}" = set; then
36275 echo $ECHO_N "(cached) $ECHO_C" >&6
36278 am_cv_func_iconv="no, consider installing GNU libiconv"
36280 cat >conftest.$ac_ext <<_ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 #include <stdlib.h>
36291 iconv_t cd = iconv_open("","");
36292 iconv(cd,NULL,NULL,NULL,NULL);
36298 rm -f conftest.$ac_objext conftest$ac_exeext
36299 if { (ac_try="$ac_link"
36300 case "(($ac_try" in
36301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36302 *) ac_try_echo=$ac_try;;
36304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36305 (eval "$ac_link") 2>conftest.er1
36307 grep -v '^ *+' conftest.er1 >conftest.err
36309 cat conftest.err >&5
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); } && {
36312 test -z "$ac_c_werror_flag" ||
36313 test ! -s conftest.err
36314 } && test -s conftest$ac_exeext &&
36315 $as_test_x conftest$ac_exeext; then
36316 am_cv_func_iconv=yes
36318 echo "$as_me: failed program was:" >&5
36319 sed 's/^/| /' conftest.$ac_ext >&5
36324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36325 conftest$ac_exeext conftest.$ac_ext
36326 if test "$am_cv_func_iconv" != yes; then
36327 am_save_LIBS="$LIBS"
36328 LIBS="$LIBS -liconv"
36329 cat >conftest.$ac_ext <<_ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335 #include <stdlib.h>
36340 iconv_t cd = iconv_open("","");
36341 iconv(cd,NULL,NULL,NULL,NULL);
36347 rm -f conftest.$ac_objext conftest$ac_exeext
36348 if { (ac_try="$ac_link"
36349 case "(($ac_try" in
36350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36351 *) ac_try_echo=$ac_try;;
36353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36354 (eval "$ac_link") 2>conftest.er1
36356 grep -v '^ *+' conftest.er1 >conftest.err
36358 cat conftest.err >&5
36359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 (exit $ac_status); } && {
36361 test -z "$ac_c_werror_flag" ||
36362 test ! -s conftest.err
36363 } && test -s conftest$ac_exeext &&
36364 $as_test_x conftest$ac_exeext; then
36365 am_cv_lib_iconv=yes
36366 am_cv_func_iconv=yes
36368 echo "$as_me: failed program was:" >&5
36369 sed 's/^/| /' conftest.$ac_ext >&5
36374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36375 conftest$ac_exeext conftest.$ac_ext
36376 LIBS="$am_save_LIBS"
36380 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36381 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36382 if test "$am_cv_func_iconv" = yes; then
36384 cat >>confdefs.h <<\_ACEOF
36385 #define HAVE_ICONV 1
36388 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36389 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36390 if test "${wx_cv_func_iconv_const+set}" = set; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36393 cat >conftest.$ac_ext <<_ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36400 #include <stdlib.h>
36406 #if defined(__STDC__) || defined(__cplusplus)
36407 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36420 rm -f conftest.$ac_objext
36421 if { (ac_try="$ac_compile"
36422 case "(($ac_try" in
36423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36424 *) ac_try_echo=$ac_try;;
36426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36427 (eval "$ac_compile") 2>conftest.er1
36429 grep -v '^ *+' conftest.er1 >conftest.err
36431 cat conftest.err >&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); } && {
36434 test -z "$ac_c_werror_flag" ||
36435 test ! -s conftest.err
36436 } && test -s conftest.$ac_objext; then
36437 wx_cv_func_iconv_const="no"
36439 echo "$as_me: failed program was:" >&5
36440 sed 's/^/| /' conftest.$ac_ext >&5
36442 wx_cv_func_iconv_const="yes"
36446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36449 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36450 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36453 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36454 iconv_const="const"
36458 cat >>confdefs.h <<_ACEOF
36459 #define ICONV_CONST $iconv_const
36464 if test "$am_cv_lib_iconv" = yes; then
36469 LIBS="$LIBICONV $LIBS"
36472 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36474 for ac_func in sigaction
36476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36477 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36479 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36480 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 cat >conftest.$ac_ext <<_ACEOF
36485 cat confdefs.h >>conftest.$ac_ext
36486 cat >>conftest.$ac_ext <<_ACEOF
36487 /* end confdefs.h. */
36488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36490 #define $ac_func innocuous_$ac_func
36492 /* System header to define __stub macros and hopefully few prototypes,
36493 which can conflict with char $ac_func (); below.
36494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36495 <limits.h> exists even on freestanding compilers. */
36498 # include <limits.h>
36500 # include <assert.h>
36505 /* Override any GCC internal prototype to avoid an error.
36506 Use char because int might match the return type of a GCC
36507 builtin and then its argument prototype would still apply. */
36512 /* The GNU C library defines this for functions which it implements
36513 to always fail with ENOSYS. Some functions are actually named
36514 something starting with __ and the normal name is an alias. */
36515 #if defined __stub_$ac_func || defined __stub___$ac_func
36522 return $ac_func ();
36527 rm -f conftest.$ac_objext conftest$ac_exeext
36528 if { (ac_try="$ac_link"
36529 case "(($ac_try" in
36530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36531 *) ac_try_echo=$ac_try;;
36533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36534 (eval "$ac_link") 2>conftest.er1
36536 grep -v '^ *+' conftest.er1 >conftest.err
36538 cat conftest.err >&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); } && {
36541 test -z "$ac_c_werror_flag" ||
36542 test ! -s conftest.err
36543 } && test -s conftest$ac_exeext &&
36544 $as_test_x conftest$ac_exeext; then
36545 eval "$as_ac_var=yes"
36547 echo "$as_me: failed program was:" >&5
36548 sed 's/^/| /' conftest.$ac_ext >&5
36550 eval "$as_ac_var=no"
36553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36554 conftest$ac_exeext conftest.$ac_ext
36556 ac_res=`eval echo '${'$as_ac_var'}'`
36557 { echo "$as_me:$LINENO: result: $ac_res" >&5
36558 echo "${ECHO_T}$ac_res" >&6; }
36559 if test `eval echo '${'$as_ac_var'}'` = yes; then
36560 cat >>confdefs.h <<_ACEOF
36561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36568 if test "$ac_cv_func_sigaction" = "no"; then
36569 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36570 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36571 wxUSE_ON_FATAL_EXCEPTION=no
36574 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36575 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36576 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36577 if test "${wx_cv_type_sa_handler+set}" = set; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36582 ac_cpp='$CXXCPP $CPPFLAGS'
36583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36587 cat >conftest.$ac_ext <<_ACEOF
36590 cat confdefs.h >>conftest.$ac_ext
36591 cat >>conftest.$ac_ext <<_ACEOF
36592 /* end confdefs.h. */
36593 #include <signal.h>
36598 extern void testSigHandler(int);
36600 struct sigaction sa;
36601 sa.sa_handler = testSigHandler;
36607 rm -f conftest.$ac_objext
36608 if { (ac_try="$ac_compile"
36609 case "(($ac_try" in
36610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36611 *) ac_try_echo=$ac_try;;
36613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36614 (eval "$ac_compile") 2>conftest.er1
36616 grep -v '^ *+' conftest.er1 >conftest.err
36618 cat conftest.err >&5
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); } && {
36621 test -z "$ac_cxx_werror_flag" ||
36622 test ! -s conftest.err
36623 } && test -s conftest.$ac_objext; then
36625 wx_cv_type_sa_handler=int
36628 echo "$as_me: failed program was:" >&5
36629 sed 's/^/| /' conftest.$ac_ext >&5
36632 wx_cv_type_sa_handler=void
36636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36638 ac_cpp='$CPP $CPPFLAGS'
36639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36645 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36646 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36648 cat >>confdefs.h <<_ACEOF
36649 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36655 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36656 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36657 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36658 if test "${wx_cv_func_backtrace+set}" = set; then
36659 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 ac_cpp='$CXXCPP $CPPFLAGS'
36664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36668 cat >conftest.$ac_ext <<_ACEOF
36671 cat confdefs.h >>conftest.$ac_ext
36672 cat >>conftest.$ac_ext <<_ACEOF
36673 /* end confdefs.h. */
36674 #include <execinfo.h>
36682 backtrace(trace, 1);
36683 messages = backtrace_symbols(trace, 1);
36689 rm -f conftest.$ac_objext
36690 if { (ac_try="$ac_compile"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 *) ac_try_echo=$ac_try;;
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_compile") 2>conftest.er1
36698 grep -v '^ *+' conftest.er1 >conftest.err
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_cxx_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest.$ac_objext; then
36706 wx_cv_func_backtrace=yes
36708 echo "$as_me: failed program was:" >&5
36709 sed 's/^/| /' conftest.$ac_ext >&5
36711 wx_cv_func_backtrace=no
36715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36717 ac_cpp='$CPP $CPPFLAGS'
36718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36725 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36726 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36729 if test "$wx_cv_func_backtrace" = "no"; then
36730 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36731 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36732 wxUSE_STACKWALKER=no
36734 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36735 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36736 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36737 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 ac_cpp='$CXXCPP $CPPFLAGS'
36742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36746 cat >conftest.$ac_ext <<_ACEOF
36749 cat confdefs.h >>conftest.$ac_ext
36750 cat >>conftest.$ac_ext <<_ACEOF
36751 /* end confdefs.h. */
36752 #include <cxxabi.h>
36758 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36764 rm -f conftest.$ac_objext conftest$ac_exeext
36765 if { (ac_try="$ac_link"
36766 case "(($ac_try" in
36767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36768 *) ac_try_echo=$ac_try;;
36770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36771 (eval "$ac_link") 2>conftest.er1
36773 grep -v '^ *+' conftest.er1 >conftest.err
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } && {
36778 test -z "$ac_cxx_werror_flag" ||
36779 test ! -s conftest.err
36780 } && test -s conftest$ac_exeext &&
36781 $as_test_x conftest$ac_exeext; then
36782 wx_cv_func_cxa_demangle=yes
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.$ac_ext >&5
36787 wx_cv_func_cxa_demangle=no
36791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36792 conftest$ac_exeext conftest.$ac_ext
36794 ac_cpp='$CPP $CPPFLAGS'
36795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36802 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36803 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36805 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36806 cat >>confdefs.h <<\_ACEOF
36807 #define HAVE_CXA_DEMANGLE 1
36814 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36815 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36816 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36817 wxUSE_STACKWALKER=no
36823 for ac_func in mkstemp mktemp
36825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36831 cat >conftest.$ac_ext <<_ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36839 #define $ac_func innocuous_$ac_func
36841 /* System header to define __stub macros and hopefully few prototypes,
36842 which can conflict with char $ac_func (); below.
36843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36844 <limits.h> exists even on freestanding compilers. */
36847 # include <limits.h>
36849 # include <assert.h>
36854 /* Override any GCC internal prototype to avoid an error.
36855 Use char because int might match the return type of a GCC
36856 builtin and then its argument prototype would still apply. */
36861 /* The GNU C library defines this for functions which it implements
36862 to always fail with ENOSYS. Some functions are actually named
36863 something starting with __ and the normal name is an alias. */
36864 #if defined __stub_$ac_func || defined __stub___$ac_func
36871 return $ac_func ();
36876 rm -f conftest.$ac_objext conftest$ac_exeext
36877 if { (ac_try="$ac_link"
36878 case "(($ac_try" in
36879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36880 *) ac_try_echo=$ac_try;;
36882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36883 (eval "$ac_link") 2>conftest.er1
36885 grep -v '^ *+' conftest.er1 >conftest.err
36887 cat conftest.err >&5
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); } && {
36890 test -z "$ac_c_werror_flag" ||
36891 test ! -s conftest.err
36892 } && test -s conftest$ac_exeext &&
36893 $as_test_x conftest$ac_exeext; then
36894 eval "$as_ac_var=yes"
36896 echo "$as_me: failed program was:" >&5
36897 sed 's/^/| /' conftest.$ac_ext >&5
36899 eval "$as_ac_var=no"
36902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36903 conftest$ac_exeext conftest.$ac_ext
36905 ac_res=`eval echo '${'$as_ac_var'}'`
36906 { echo "$as_me:$LINENO: result: $ac_res" >&5
36907 echo "${ECHO_T}$ac_res" >&6; }
36908 if test `eval echo '${'$as_ac_var'}'` = yes; then
36909 cat >>confdefs.h <<_ACEOF
36910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36917 { echo "$as_me:$LINENO: checking for statfs" >&5
36918 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36919 if test "${wx_cv_func_statfs+set}" = set; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36922 cat >conftest.$ac_ext <<_ACEOF
36925 cat confdefs.h >>conftest.$ac_ext
36926 cat >>conftest.$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36929 #if defined(__BSD__)
36930 #include <sys/param.h>
36931 #include <sys/mount.h>
36933 #include <sys/vfs.h>
36951 rm -f conftest.$ac_objext
36952 if { (ac_try="$ac_compile"
36953 case "(($ac_try" in
36954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36955 *) ac_try_echo=$ac_try;;
36957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36958 (eval "$ac_compile") 2>conftest.er1
36960 grep -v '^ *+' conftest.er1 >conftest.err
36962 cat conftest.err >&5
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); } && {
36965 test -z "$ac_c_werror_flag" ||
36966 test ! -s conftest.err
36967 } && test -s conftest.$ac_objext; then
36968 wx_cv_func_statfs=yes
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.$ac_ext >&5
36973 wx_cv_func_statfs=no
36977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36980 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36981 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36983 if test "$wx_cv_func_statfs" = "yes"; then
36984 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36985 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36986 if test "${wx_cv_func_statfs_decl+set}" = set; then
36987 echo $ECHO_N "(cached) $ECHO_C" >&6
36990 ac_cpp='$CXXCPP $CPPFLAGS'
36991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36995 cat >conftest.$ac_ext <<_ACEOF
36998 cat confdefs.h >>conftest.$ac_ext
36999 cat >>conftest.$ac_ext <<_ACEOF
37000 /* end confdefs.h. */
37002 #if defined(__BSD__)
37003 #include <sys/param.h>
37004 #include <sys/mount.h>
37006 #include <sys/vfs.h>
37020 rm -f conftest.$ac_objext
37021 if { (ac_try="$ac_compile"
37022 case "(($ac_try" in
37023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37024 *) ac_try_echo=$ac_try;;
37026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37027 (eval "$ac_compile") 2>conftest.er1
37029 grep -v '^ *+' conftest.er1 >conftest.err
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } && {
37034 test -z "$ac_cxx_werror_flag" ||
37035 test ! -s conftest.err
37036 } && test -s conftest.$ac_objext; then
37037 wx_cv_func_statfs_decl=yes
37039 echo "$as_me: failed program was:" >&5
37040 sed 's/^/| /' conftest.$ac_ext >&5
37042 wx_cv_func_statfs_decl=no
37046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37048 ac_cpp='$CPP $CPPFLAGS'
37049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37055 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37056 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37058 if test "$wx_cv_func_statfs_decl" = "yes"; then
37059 cat >>confdefs.h <<\_ACEOF
37060 #define HAVE_STATFS_DECL 1
37065 wx_cv_type_statvfs_t="struct statfs"
37066 cat >>confdefs.h <<\_ACEOF
37067 #define HAVE_STATFS 1
37071 { echo "$as_me:$LINENO: checking for statvfs" >&5
37072 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37073 if test "${wx_cv_func_statvfs+set}" = set; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 cat >conftest.$ac_ext <<_ACEOF
37079 cat confdefs.h >>conftest.$ac_ext
37080 cat >>conftest.$ac_ext <<_ACEOF
37081 /* end confdefs.h. */
37083 #include <stddef.h>
37084 #include <sys/statvfs.h>
37090 statvfs("/", NULL);
37096 rm -f conftest.$ac_objext
37097 if { (ac_try="$ac_compile"
37098 case "(($ac_try" in
37099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37100 *) ac_try_echo=$ac_try;;
37102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37103 (eval "$ac_compile") 2>conftest.er1
37105 grep -v '^ *+' conftest.er1 >conftest.err
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } && {
37110 test -z "$ac_c_werror_flag" ||
37111 test ! -s conftest.err
37112 } && test -s conftest.$ac_objext; then
37113 wx_cv_func_statvfs=yes
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37118 wx_cv_func_statvfs=no
37122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37126 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37128 if test "$wx_cv_func_statvfs" = "yes"; then
37129 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37130 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37131 if test "${wx_cv_type_statvfs_t+set}" = set; then
37132 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 ac_cpp='$CXXCPP $CPPFLAGS'
37136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37140 cat >conftest.$ac_ext <<_ACEOF
37143 cat confdefs.h >>conftest.$ac_ext
37144 cat >>conftest.$ac_ext <<_ACEOF
37145 /* end confdefs.h. */
37147 #include <sys/statvfs.h>
37164 rm -f conftest.$ac_objext
37165 if { (ac_try="$ac_compile"
37166 case "(($ac_try" in
37167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37168 *) ac_try_echo=$ac_try;;
37170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37171 (eval "$ac_compile") 2>conftest.er1
37173 grep -v '^ *+' conftest.er1 >conftest.err
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } && {
37178 test -z "$ac_cxx_werror_flag" ||
37179 test ! -s conftest.err
37180 } && test -s conftest.$ac_objext; then
37181 wx_cv_type_statvfs_t=statvfs_t
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37187 cat >conftest.$ac_ext <<_ACEOF
37190 cat confdefs.h >>conftest.$ac_ext
37191 cat >>conftest.$ac_ext <<_ACEOF
37192 /* end confdefs.h. */
37194 #include <sys/statvfs.h>
37211 rm -f conftest.$ac_objext
37212 if { (ac_try="$ac_compile"
37213 case "(($ac_try" in
37214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37215 *) ac_try_echo=$ac_try;;
37217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37218 (eval "$ac_compile") 2>conftest.er1
37220 grep -v '^ *+' conftest.er1 >conftest.err
37222 cat conftest.err >&5
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); } && {
37225 test -z "$ac_cxx_werror_flag" ||
37226 test ! -s conftest.err
37227 } && test -s conftest.$ac_objext; then
37228 wx_cv_type_statvfs_t="struct statvfs"
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37233 wx_cv_type_statvfs_t="unknown"
37237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37244 ac_cpp='$CPP $CPPFLAGS'
37245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37251 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37252 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37254 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37255 cat >>confdefs.h <<\_ACEOF
37256 #define HAVE_STATVFS 1
37261 wx_cv_type_statvfs_t="unknown"
37265 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37266 cat >>confdefs.h <<_ACEOF
37267 #define WX_STATFS_T $wx_cv_type_statvfs_t
37271 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37272 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37275 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37278 for ac_func in fcntl flock
37280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37284 echo $ECHO_N "(cached) $ECHO_C" >&6
37286 cat >conftest.$ac_ext <<_ACEOF
37289 cat confdefs.h >>conftest.$ac_ext
37290 cat >>conftest.$ac_ext <<_ACEOF
37291 /* end confdefs.h. */
37292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37294 #define $ac_func innocuous_$ac_func
37296 /* System header to define __stub macros and hopefully few prototypes,
37297 which can conflict with char $ac_func (); below.
37298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37299 <limits.h> exists even on freestanding compilers. */
37302 # include <limits.h>
37304 # include <assert.h>
37309 /* Override any GCC internal prototype to avoid an error.
37310 Use char because int might match the return type of a GCC
37311 builtin and then its argument prototype would still apply. */
37316 /* The GNU C library defines this for functions which it implements
37317 to always fail with ENOSYS. Some functions are actually named
37318 something starting with __ and the normal name is an alias. */
37319 #if defined __stub_$ac_func || defined __stub___$ac_func
37326 return $ac_func ();
37331 rm -f conftest.$ac_objext conftest$ac_exeext
37332 if { (ac_try="$ac_link"
37333 case "(($ac_try" in
37334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37335 *) ac_try_echo=$ac_try;;
37337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37338 (eval "$ac_link") 2>conftest.er1
37340 grep -v '^ *+' conftest.er1 >conftest.err
37342 cat conftest.err >&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } && {
37345 test -z "$ac_c_werror_flag" ||
37346 test ! -s conftest.err
37347 } && test -s conftest$ac_exeext &&
37348 $as_test_x conftest$ac_exeext; then
37349 eval "$as_ac_var=yes"
37351 echo "$as_me: failed program was:" >&5
37352 sed 's/^/| /' conftest.$ac_ext >&5
37354 eval "$as_ac_var=no"
37357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37358 conftest$ac_exeext conftest.$ac_ext
37360 ac_res=`eval echo '${'$as_ac_var'}'`
37361 { echo "$as_me:$LINENO: result: $ac_res" >&5
37362 echo "${ECHO_T}$ac_res" >&6; }
37363 if test `eval echo '${'$as_ac_var'}'` = yes; then
37364 cat >>confdefs.h <<_ACEOF
37365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37372 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37373 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37374 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37375 wxUSE_SNGLINST_CHECKER=no
37381 for ac_func in setenv putenv
37383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 cat >conftest.$ac_ext <<_ACEOF
37392 cat confdefs.h >>conftest.$ac_ext
37393 cat >>conftest.$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37397 #define $ac_func innocuous_$ac_func
37399 /* System header to define __stub macros and hopefully few prototypes,
37400 which can conflict with char $ac_func (); below.
37401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37402 <limits.h> exists even on freestanding compilers. */
37405 # include <limits.h>
37407 # include <assert.h>
37412 /* Override any GCC internal prototype to avoid an error.
37413 Use char because int might match the return type of a GCC
37414 builtin and then its argument prototype would still apply. */
37419 /* The GNU C library defines this for functions which it implements
37420 to always fail with ENOSYS. Some functions are actually named
37421 something starting with __ and the normal name is an alias. */
37422 #if defined __stub_$ac_func || defined __stub___$ac_func
37429 return $ac_func ();
37434 rm -f conftest.$ac_objext conftest$ac_exeext
37435 if { (ac_try="$ac_link"
37436 case "(($ac_try" in
37437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37438 *) ac_try_echo=$ac_try;;
37440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37441 (eval "$ac_link") 2>conftest.er1
37443 grep -v '^ *+' conftest.er1 >conftest.err
37445 cat conftest.err >&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); } && {
37448 test -z "$ac_c_werror_flag" ||
37449 test ! -s conftest.err
37450 } && test -s conftest$ac_exeext &&
37451 $as_test_x conftest$ac_exeext; then
37452 eval "$as_ac_var=yes"
37454 echo "$as_me: failed program was:" >&5
37455 sed 's/^/| /' conftest.$ac_ext >&5
37457 eval "$as_ac_var=no"
37460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37461 conftest$ac_exeext conftest.$ac_ext
37463 ac_res=`eval echo '${'$as_ac_var'}'`
37464 { echo "$as_me:$LINENO: result: $ac_res" >&5
37465 echo "${ECHO_T}$ac_res" >&6; }
37466 if test `eval echo '${'$as_ac_var'}'` = yes; then
37467 cat >>confdefs.h <<_ACEOF
37468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37474 if test "$ac_cv_func_setenv" = "yes"; then
37476 for ac_func in unsetenv
37478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37482 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 cat >conftest.$ac_ext <<_ACEOF
37487 cat confdefs.h >>conftest.$ac_ext
37488 cat >>conftest.$ac_ext <<_ACEOF
37489 /* end confdefs.h. */
37490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37492 #define $ac_func innocuous_$ac_func
37494 /* System header to define __stub macros and hopefully few prototypes,
37495 which can conflict with char $ac_func (); below.
37496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37497 <limits.h> exists even on freestanding compilers. */
37500 # include <limits.h>
37502 # include <assert.h>
37507 /* Override any GCC internal prototype to avoid an error.
37508 Use char because int might match the return type of a GCC
37509 builtin and then its argument prototype would still apply. */
37514 /* The GNU C library defines this for functions which it implements
37515 to always fail with ENOSYS. Some functions are actually named
37516 something starting with __ and the normal name is an alias. */
37517 #if defined __stub_$ac_func || defined __stub___$ac_func
37524 return $ac_func ();
37529 rm -f conftest.$ac_objext conftest$ac_exeext
37530 if { (ac_try="$ac_link"
37531 case "(($ac_try" in
37532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37533 *) ac_try_echo=$ac_try;;
37535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37536 (eval "$ac_link") 2>conftest.er1
37538 grep -v '^ *+' conftest.er1 >conftest.err
37540 cat conftest.err >&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } && {
37543 test -z "$ac_c_werror_flag" ||
37544 test ! -s conftest.err
37545 } && test -s conftest$ac_exeext &&
37546 $as_test_x conftest$ac_exeext; then
37547 eval "$as_ac_var=yes"
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37552 eval "$as_ac_var=no"
37555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37556 conftest$ac_exeext conftest.$ac_ext
37558 ac_res=`eval echo '${'$as_ac_var'}'`
37559 { echo "$as_me:$LINENO: result: $ac_res" >&5
37560 echo "${ECHO_T}$ac_res" >&6; }
37561 if test `eval echo '${'$as_ac_var'}'` = yes; then
37562 cat >>confdefs.h <<_ACEOF
37563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37571 HAVE_SOME_SLEEP_FUNC=0
37572 if test "$USE_BEOS" = 1; then
37573 cat >>confdefs.h <<\_ACEOF
37574 #define HAVE_SLEEP 1
37577 HAVE_SOME_SLEEP_FUNC=1
37580 if test "$USE_DARWIN" = 1; then
37581 cat >>confdefs.h <<\_ACEOF
37582 #define HAVE_USLEEP 1
37585 HAVE_SOME_SLEEP_FUNC=1
37588 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37591 for ac_func in nanosleep
37593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37596 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 cat >conftest.$ac_ext <<_ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37607 #define $ac_func innocuous_$ac_func
37609 /* System header to define __stub macros and hopefully few prototypes,
37610 which can conflict with char $ac_func (); below.
37611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37612 <limits.h> exists even on freestanding compilers. */
37615 # include <limits.h>
37617 # include <assert.h>
37622 /* Override any GCC internal prototype to avoid an error.
37623 Use char because int might match the return type of a GCC
37624 builtin and then its argument prototype would still apply. */
37629 /* The GNU C library defines this for functions which it implements
37630 to always fail with ENOSYS. Some functions are actually named
37631 something starting with __ and the normal name is an alias. */
37632 #if defined __stub_$ac_func || defined __stub___$ac_func
37639 return $ac_func ();
37644 rm -f conftest.$ac_objext conftest$ac_exeext
37645 if { (ac_try="$ac_link"
37646 case "(($ac_try" in
37647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37648 *) ac_try_echo=$ac_try;;
37650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37651 (eval "$ac_link") 2>conftest.er1
37653 grep -v '^ *+' conftest.er1 >conftest.err
37655 cat conftest.err >&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); } && {
37658 test -z "$ac_c_werror_flag" ||
37659 test ! -s conftest.err
37660 } && test -s conftest$ac_exeext &&
37661 $as_test_x conftest$ac_exeext; then
37662 eval "$as_ac_var=yes"
37664 echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.$ac_ext >&5
37667 eval "$as_ac_var=no"
37670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37671 conftest$ac_exeext conftest.$ac_ext
37673 ac_res=`eval echo '${'$as_ac_var'}'`
37674 { echo "$as_me:$LINENO: result: $ac_res" >&5
37675 echo "${ECHO_T}$ac_res" >&6; }
37676 if test `eval echo '${'$as_ac_var'}'` = yes; then
37677 cat >>confdefs.h <<_ACEOF
37678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37680 cat >>confdefs.h <<\_ACEOF
37681 #define HAVE_NANOSLEEP 1
37686 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37687 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37688 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37689 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 ac_check_lib_save_LIBS=$LIBS
37692 LIBS="-lposix4 $LIBS"
37693 cat >conftest.$ac_ext <<_ACEOF
37696 cat confdefs.h >>conftest.$ac_ext
37697 cat >>conftest.$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37700 /* Override any GCC internal prototype to avoid an error.
37701 Use char because int might match the return type of a GCC
37702 builtin and then its argument prototype would still apply. */
37710 return nanosleep ();
37715 rm -f conftest.$ac_objext conftest$ac_exeext
37716 if { (ac_try="$ac_link"
37717 case "(($ac_try" in
37718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37719 *) ac_try_echo=$ac_try;;
37721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37722 (eval "$ac_link") 2>conftest.er1
37724 grep -v '^ *+' conftest.er1 >conftest.err
37726 cat conftest.err >&5
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); } && {
37729 test -z "$ac_c_werror_flag" ||
37730 test ! -s conftest.err
37731 } && test -s conftest$ac_exeext &&
37732 $as_test_x conftest$ac_exeext; then
37733 ac_cv_lib_posix4_nanosleep=yes
37735 echo "$as_me: failed program was:" >&5
37736 sed 's/^/| /' conftest.$ac_ext >&5
37738 ac_cv_lib_posix4_nanosleep=no
37741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37742 conftest$ac_exeext conftest.$ac_ext
37743 LIBS=$ac_check_lib_save_LIBS
37745 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37746 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37747 if test $ac_cv_lib_posix4_nanosleep = yes; then
37749 cat >>confdefs.h <<\_ACEOF
37750 #define HAVE_NANOSLEEP 1
37753 POSIX4_LINK=" -lposix4"
37758 for wx_func in usleep
37760 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37762 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37763 echo $ECHO_N "(cached) $ECHO_C" >&6
37766 cat >conftest.$ac_ext <<_ACEOF
37770 cat confdefs.h >>conftest.$ac_ext
37771 cat >>conftest.$ac_ext <<_ACEOF
37772 /* end confdefs.h. */
37775 $ac_includes_default
37791 rm -f conftest.$ac_objext conftest$ac_exeext
37792 if { (ac_try="$ac_link"
37793 case "(($ac_try" in
37794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37795 *) ac_try_echo=$ac_try;;
37797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37798 (eval "$ac_link") 2>conftest.er1
37800 grep -v '^ *+' conftest.er1 >conftest.err
37802 cat conftest.err >&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); } && {
37805 test -z "$ac_c_werror_flag" ||
37806 test ! -s conftest.err
37807 } && test -s conftest$ac_exeext &&
37808 $as_test_x conftest$ac_exeext; then
37809 eval wx_cv_func_$wx_func=yes
37811 echo "$as_me: failed program was:" >&5
37812 sed 's/^/| /' conftest.$ac_ext >&5
37814 eval wx_cv_func_$wx_func=no
37817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37818 conftest$ac_exeext conftest.$ac_ext
37821 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37822 { echo "$as_me:$LINENO: result: $ac_res" >&5
37823 echo "${ECHO_T}$ac_res" >&6; }
37825 if eval test \$wx_cv_func_$wx_func = yes
37827 cat >>confdefs.h <<_ACEOF
37828 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37834 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37835 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37852 for wx_func in uname
37854 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37855 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37856 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37857 echo $ECHO_N "(cached) $ECHO_C" >&6
37860 cat >conftest.$ac_ext <<_ACEOF
37864 cat confdefs.h >>conftest.$ac_ext
37865 cat >>conftest.$ac_ext <<_ACEOF
37866 /* end confdefs.h. */
37868 #include <sys/utsname.h>
37869 $ac_includes_default
37885 rm -f conftest.$ac_objext conftest$ac_exeext
37886 if { (ac_try="$ac_link"
37887 case "(($ac_try" in
37888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37889 *) ac_try_echo=$ac_try;;
37891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37892 (eval "$ac_link") 2>conftest.er1
37894 grep -v '^ *+' conftest.er1 >conftest.err
37896 cat conftest.err >&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); } && {
37899 test -z "$ac_c_werror_flag" ||
37900 test ! -s conftest.err
37901 } && test -s conftest$ac_exeext &&
37902 $as_test_x conftest$ac_exeext; then
37903 eval wx_cv_func_$wx_func=yes
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37908 eval wx_cv_func_$wx_func=no
37911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37912 conftest$ac_exeext conftest.$ac_ext
37915 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37916 { echo "$as_me:$LINENO: result: $ac_res" >&5
37917 echo "${ECHO_T}$ac_res" >&6; }
37919 if eval test \$wx_cv_func_$wx_func = yes
37921 cat >>confdefs.h <<_ACEOF
37922 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37932 if test "$wx_cv_func_uname" != yes; then
37934 for wx_func in gethostname
37936 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37937 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37938 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37942 cat >conftest.$ac_ext <<_ACEOF
37946 cat confdefs.h >>conftest.$ac_ext
37947 cat >>conftest.$ac_ext <<_ACEOF
37948 /* end confdefs.h. */
37951 $ac_includes_default
37967 rm -f conftest.$ac_objext conftest$ac_exeext
37968 if { (ac_try="$ac_link"
37969 case "(($ac_try" in
37970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37971 *) ac_try_echo=$ac_try;;
37973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37974 (eval "$ac_link") 2>conftest.er1
37976 grep -v '^ *+' conftest.er1 >conftest.err
37978 cat conftest.err >&5
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); } && {
37981 test -z "$ac_c_werror_flag" ||
37982 test ! -s conftest.err
37983 } && test -s conftest$ac_exeext &&
37984 $as_test_x conftest$ac_exeext; then
37985 eval wx_cv_func_$wx_func=yes
37987 echo "$as_me: failed program was:" >&5
37988 sed 's/^/| /' conftest.$ac_ext >&5
37990 eval wx_cv_func_$wx_func=no
37993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37994 conftest$ac_exeext conftest.$ac_ext
37997 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37998 { echo "$as_me:$LINENO: result: $ac_res" >&5
37999 echo "${ECHO_T}$ac_res" >&6; }
38001 if eval test \$wx_cv_func_$wx_func = yes
38003 cat >>confdefs.h <<_ACEOF
38004 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38017 for wx_func in strtok_r
38019 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38020 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38021 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38022 echo $ECHO_N "(cached) $ECHO_C" >&6
38025 cat >conftest.$ac_ext <<_ACEOF
38029 cat confdefs.h >>conftest.$ac_ext
38030 cat >>conftest.$ac_ext <<_ACEOF
38031 /* end confdefs.h. */
38034 $ac_includes_default
38050 rm -f conftest.$ac_objext conftest$ac_exeext
38051 if { (ac_try="$ac_link"
38052 case "(($ac_try" in
38053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38054 *) ac_try_echo=$ac_try;;
38056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38057 (eval "$ac_link") 2>conftest.er1
38059 grep -v '^ *+' conftest.er1 >conftest.err
38061 cat conftest.err >&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); } && {
38064 test -z "$ac_c_werror_flag" ||
38065 test ! -s conftest.err
38066 } && test -s conftest$ac_exeext &&
38067 $as_test_x conftest$ac_exeext; then
38068 eval wx_cv_func_$wx_func=yes
38070 echo "$as_me: failed program was:" >&5
38071 sed 's/^/| /' conftest.$ac_ext >&5
38073 eval wx_cv_func_$wx_func=no
38076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38077 conftest$ac_exeext conftest.$ac_ext
38080 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38081 { echo "$as_me:$LINENO: result: $ac_res" >&5
38082 echo "${ECHO_T}$ac_res" >&6; }
38084 if eval test \$wx_cv_func_$wx_func = yes
38086 cat >>confdefs.h <<_ACEOF
38087 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38100 for ac_func in inet_addr
38102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38106 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 cat >conftest.$ac_ext <<_ACEOF
38111 cat confdefs.h >>conftest.$ac_ext
38112 cat >>conftest.$ac_ext <<_ACEOF
38113 /* end confdefs.h. */
38114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38116 #define $ac_func innocuous_$ac_func
38118 /* System header to define __stub macros and hopefully few prototypes,
38119 which can conflict with char $ac_func (); below.
38120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38121 <limits.h> exists even on freestanding compilers. */
38124 # include <limits.h>
38126 # include <assert.h>
38131 /* Override any GCC internal prototype to avoid an error.
38132 Use char because int might match the return type of a GCC
38133 builtin and then its argument prototype would still apply. */
38138 /* The GNU C library defines this for functions which it implements
38139 to always fail with ENOSYS. Some functions are actually named
38140 something starting with __ and the normal name is an alias. */
38141 #if defined __stub_$ac_func || defined __stub___$ac_func
38148 return $ac_func ();
38153 rm -f conftest.$ac_objext conftest$ac_exeext
38154 if { (ac_try="$ac_link"
38155 case "(($ac_try" in
38156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38157 *) ac_try_echo=$ac_try;;
38159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38160 (eval "$ac_link") 2>conftest.er1
38162 grep -v '^ *+' conftest.er1 >conftest.err
38164 cat conftest.err >&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); } && {
38167 test -z "$ac_c_werror_flag" ||
38168 test ! -s conftest.err
38169 } && test -s conftest$ac_exeext &&
38170 $as_test_x conftest$ac_exeext; then
38171 eval "$as_ac_var=yes"
38173 echo "$as_me: failed program was:" >&5
38174 sed 's/^/| /' conftest.$ac_ext >&5
38176 eval "$as_ac_var=no"
38179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38180 conftest$ac_exeext conftest.$ac_ext
38182 ac_res=`eval echo '${'$as_ac_var'}'`
38183 { echo "$as_me:$LINENO: result: $ac_res" >&5
38184 echo "${ECHO_T}$ac_res" >&6; }
38185 if test `eval echo '${'$as_ac_var'}'` = yes; then
38186 cat >>confdefs.h <<_ACEOF
38187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38189 cat >>confdefs.h <<\_ACEOF
38190 #define HAVE_INET_ADDR 1
38195 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38196 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38197 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38198 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 ac_check_lib_save_LIBS=$LIBS
38202 cat >conftest.$ac_ext <<_ACEOF
38205 cat confdefs.h >>conftest.$ac_ext
38206 cat >>conftest.$ac_ext <<_ACEOF
38207 /* end confdefs.h. */
38209 /* Override any GCC internal prototype to avoid an error.
38210 Use char because int might match the return type of a GCC
38211 builtin and then its argument prototype would still apply. */
38219 return inet_addr ();
38224 rm -f conftest.$ac_objext conftest$ac_exeext
38225 if { (ac_try="$ac_link"
38226 case "(($ac_try" in
38227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38228 *) ac_try_echo=$ac_try;;
38230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38231 (eval "$ac_link") 2>conftest.er1
38233 grep -v '^ *+' conftest.er1 >conftest.err
38235 cat conftest.err >&5
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); } && {
38238 test -z "$ac_c_werror_flag" ||
38239 test ! -s conftest.err
38240 } && test -s conftest$ac_exeext &&
38241 $as_test_x conftest$ac_exeext; then
38242 ac_cv_lib_nsl_inet_addr=yes
38244 echo "$as_me: failed program was:" >&5
38245 sed 's/^/| /' conftest.$ac_ext >&5
38247 ac_cv_lib_nsl_inet_addr=no
38250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38251 conftest$ac_exeext conftest.$ac_ext
38252 LIBS=$ac_check_lib_save_LIBS
38254 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38255 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38256 if test $ac_cv_lib_nsl_inet_addr = yes; then
38260 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38261 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38262 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38263 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 ac_check_lib_save_LIBS=$LIBS
38266 LIBS="-lresolv $LIBS"
38267 cat >conftest.$ac_ext <<_ACEOF
38270 cat confdefs.h >>conftest.$ac_ext
38271 cat >>conftest.$ac_ext <<_ACEOF
38272 /* end confdefs.h. */
38274 /* Override any GCC internal prototype to avoid an error.
38275 Use char because int might match the return type of a GCC
38276 builtin and then its argument prototype would still apply. */
38284 return inet_addr ();
38289 rm -f conftest.$ac_objext conftest$ac_exeext
38290 if { (ac_try="$ac_link"
38291 case "(($ac_try" in
38292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38293 *) ac_try_echo=$ac_try;;
38295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38296 (eval "$ac_link") 2>conftest.er1
38298 grep -v '^ *+' conftest.er1 >conftest.err
38300 cat conftest.err >&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); } && {
38303 test -z "$ac_c_werror_flag" ||
38304 test ! -s conftest.err
38305 } && test -s conftest$ac_exeext &&
38306 $as_test_x conftest$ac_exeext; then
38307 ac_cv_lib_resolv_inet_addr=yes
38309 echo "$as_me: failed program was:" >&5
38310 sed 's/^/| /' conftest.$ac_ext >&5
38312 ac_cv_lib_resolv_inet_addr=no
38315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38316 conftest$ac_exeext conftest.$ac_ext
38317 LIBS=$ac_check_lib_save_LIBS
38319 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38320 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38321 if test $ac_cv_lib_resolv_inet_addr = yes; then
38325 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38326 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38327 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38330 ac_check_lib_save_LIBS=$LIBS
38331 LIBS="-lsocket $LIBS"
38332 cat >conftest.$ac_ext <<_ACEOF
38335 cat confdefs.h >>conftest.$ac_ext
38336 cat >>conftest.$ac_ext <<_ACEOF
38337 /* end confdefs.h. */
38339 /* Override any GCC internal prototype to avoid an error.
38340 Use char because int might match the return type of a GCC
38341 builtin and then its argument prototype would still apply. */
38349 return inet_addr ();
38354 rm -f conftest.$ac_objext conftest$ac_exeext
38355 if { (ac_try="$ac_link"
38356 case "(($ac_try" in
38357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38358 *) ac_try_echo=$ac_try;;
38360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38361 (eval "$ac_link") 2>conftest.er1
38363 grep -v '^ *+' conftest.er1 >conftest.err
38365 cat conftest.err >&5
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); } && {
38368 test -z "$ac_c_werror_flag" ||
38369 test ! -s conftest.err
38370 } && test -s conftest$ac_exeext &&
38371 $as_test_x conftest$ac_exeext; then
38372 ac_cv_lib_socket_inet_addr=yes
38374 echo "$as_me: failed program was:" >&5
38375 sed 's/^/| /' conftest.$ac_ext >&5
38377 ac_cv_lib_socket_inet_addr=no
38380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38381 conftest$ac_exeext conftest.$ac_ext
38382 LIBS=$ac_check_lib_save_LIBS
38384 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38385 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38386 if test $ac_cv_lib_socket_inet_addr = yes; then
38406 for ac_func in inet_aton
38408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38409 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38411 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38412 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 cat >conftest.$ac_ext <<_ACEOF
38417 cat confdefs.h >>conftest.$ac_ext
38418 cat >>conftest.$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38422 #define $ac_func innocuous_$ac_func
38424 /* System header to define __stub macros and hopefully few prototypes,
38425 which can conflict with char $ac_func (); below.
38426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38427 <limits.h> exists even on freestanding compilers. */
38430 # include <limits.h>
38432 # include <assert.h>
38437 /* Override any GCC internal prototype to avoid an error.
38438 Use char because int might match the return type of a GCC
38439 builtin and then its argument prototype would still apply. */
38444 /* The GNU C library defines this for functions which it implements
38445 to always fail with ENOSYS. Some functions are actually named
38446 something starting with __ and the normal name is an alias. */
38447 #if defined __stub_$ac_func || defined __stub___$ac_func
38454 return $ac_func ();
38459 rm -f conftest.$ac_objext conftest$ac_exeext
38460 if { (ac_try="$ac_link"
38461 case "(($ac_try" in
38462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38463 *) ac_try_echo=$ac_try;;
38465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38466 (eval "$ac_link") 2>conftest.er1
38468 grep -v '^ *+' conftest.er1 >conftest.err
38470 cat conftest.err >&5
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); } && {
38473 test -z "$ac_c_werror_flag" ||
38474 test ! -s conftest.err
38475 } && test -s conftest$ac_exeext &&
38476 $as_test_x conftest$ac_exeext; then
38477 eval "$as_ac_var=yes"
38479 echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.$ac_ext >&5
38482 eval "$as_ac_var=no"
38485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38486 conftest$ac_exeext conftest.$ac_ext
38488 ac_res=`eval echo '${'$as_ac_var'}'`
38489 { echo "$as_me:$LINENO: result: $ac_res" >&5
38490 echo "${ECHO_T}$ac_res" >&6; }
38491 if test `eval echo '${'$as_ac_var'}'` = yes; then
38492 cat >>confdefs.h <<_ACEOF
38493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38495 cat >>confdefs.h <<\_ACEOF
38496 #define HAVE_INET_ATON 1
38501 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38502 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38503 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38504 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38505 echo $ECHO_N "(cached) $ECHO_C" >&6
38507 ac_check_lib_save_LIBS=$LIBS
38508 LIBS="-l$INET_LINK $LIBS"
38509 cat >conftest.$ac_ext <<_ACEOF
38512 cat confdefs.h >>conftest.$ac_ext
38513 cat >>conftest.$ac_ext <<_ACEOF
38514 /* end confdefs.h. */
38516 /* Override any GCC internal prototype to avoid an error.
38517 Use char because int might match the return type of a GCC
38518 builtin and then its argument prototype would still apply. */
38526 return inet_aton ();
38531 rm -f conftest.$ac_objext conftest$ac_exeext
38532 if { (ac_try="$ac_link"
38533 case "(($ac_try" in
38534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38535 *) ac_try_echo=$ac_try;;
38537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38538 (eval "$ac_link") 2>conftest.er1
38540 grep -v '^ *+' conftest.er1 >conftest.err
38542 cat conftest.err >&5
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); } && {
38545 test -z "$ac_c_werror_flag" ||
38546 test ! -s conftest.err
38547 } && test -s conftest$ac_exeext &&
38548 $as_test_x conftest$ac_exeext; then
38549 eval "$as_ac_Lib=yes"
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.$ac_ext >&5
38554 eval "$as_ac_Lib=no"
38557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38558 conftest$ac_exeext conftest.$ac_ext
38559 LIBS=$ac_check_lib_save_LIBS
38561 ac_res=`eval echo '${'$as_ac_Lib'}'`
38562 { echo "$as_me:$LINENO: result: $ac_res" >&5
38563 echo "${ECHO_T}$ac_res" >&6; }
38564 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38565 cat >>confdefs.h <<\_ACEOF
38566 #define HAVE_INET_ATON 1
38576 if test "x$INET_LINK" != "x"; then
38577 cat >>confdefs.h <<\_ACEOF
38578 #define HAVE_INET_ADDR 1
38581 INET_LINK=" -l$INET_LINK"
38585 for wx_func in fdopen
38587 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38588 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38589 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38590 echo $ECHO_N "(cached) $ECHO_C" >&6
38593 cat >conftest.$ac_ext <<_ACEOF
38597 cat confdefs.h >>conftest.$ac_ext
38598 cat >>conftest.$ac_ext <<_ACEOF
38599 /* end confdefs.h. */
38602 $ac_includes_default
38618 rm -f conftest.$ac_objext conftest$ac_exeext
38619 if { (ac_try="$ac_link"
38620 case "(($ac_try" in
38621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38622 *) ac_try_echo=$ac_try;;
38624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38625 (eval "$ac_link") 2>conftest.er1
38627 grep -v '^ *+' conftest.er1 >conftest.err
38629 cat conftest.err >&5
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); } && {
38632 test -z "$ac_c_werror_flag" ||
38633 test ! -s conftest.err
38634 } && test -s conftest$ac_exeext &&
38635 $as_test_x conftest$ac_exeext; then
38636 eval wx_cv_func_$wx_func=yes
38638 echo "$as_me: failed program was:" >&5
38639 sed 's/^/| /' conftest.$ac_ext >&5
38641 eval wx_cv_func_$wx_func=no
38644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38645 conftest$ac_exeext conftest.$ac_ext
38648 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38649 { echo "$as_me:$LINENO: result: $ac_res" >&5
38650 echo "${ECHO_T}$ac_res" >&6; }
38652 if eval test \$wx_cv_func_$wx_func = yes
38654 cat >>confdefs.h <<_ACEOF
38655 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38666 if test "$wxUSE_TARSTREAM" = "yes"; then
38668 for wx_func in sysconf
38670 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38671 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38672 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38673 echo $ECHO_N "(cached) $ECHO_C" >&6
38676 cat >conftest.$ac_ext <<_ACEOF
38680 cat confdefs.h >>conftest.$ac_ext
38681 cat >>conftest.$ac_ext <<_ACEOF
38682 /* end confdefs.h. */
38685 $ac_includes_default
38701 rm -f conftest.$ac_objext conftest$ac_exeext
38702 if { (ac_try="$ac_link"
38703 case "(($ac_try" in
38704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38705 *) ac_try_echo=$ac_try;;
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_link") 2>conftest.er1
38710 grep -v '^ *+' conftest.er1 >conftest.err
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest$ac_exeext &&
38718 $as_test_x conftest$ac_exeext; then
38719 eval wx_cv_func_$wx_func=yes
38721 echo "$as_me: failed program was:" >&5
38722 sed 's/^/| /' conftest.$ac_ext >&5
38724 eval wx_cv_func_$wx_func=no
38727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38728 conftest$ac_exeext conftest.$ac_ext
38731 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38732 { echo "$as_me:$LINENO: result: $ac_res" >&5
38733 echo "${ECHO_T}$ac_res" >&6; }
38735 if eval test \$wx_cv_func_$wx_func = yes
38737 cat >>confdefs.h <<_ACEOF
38738 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38750 for wx_func in getpwuid_r
38752 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38753 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38754 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38755 echo $ECHO_N "(cached) $ECHO_C" >&6
38758 cat >conftest.$ac_ext <<_ACEOF
38762 cat confdefs.h >>conftest.$ac_ext
38763 cat >>conftest.$ac_ext <<_ACEOF
38764 /* end confdefs.h. */
38770 $ac_includes_default
38780 struct passwd pw, *ppw;
38782 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38790 rm -f conftest.$ac_objext conftest$ac_exeext
38791 if { (ac_try="$ac_link"
38792 case "(($ac_try" in
38793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38794 *) ac_try_echo=$ac_try;;
38796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38797 (eval "$ac_link") 2>conftest.er1
38799 grep -v '^ *+' conftest.er1 >conftest.err
38801 cat conftest.err >&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); } && {
38804 test -z "$ac_c_werror_flag" ||
38805 test ! -s conftest.err
38806 } && test -s conftest$ac_exeext &&
38807 $as_test_x conftest$ac_exeext; then
38808 eval wx_cv_func_$wx_func=yes
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.$ac_ext >&5
38813 eval wx_cv_func_$wx_func=no
38816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38817 conftest$ac_exeext conftest.$ac_ext
38820 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38821 { echo "$as_me:$LINENO: result: $ac_res" >&5
38822 echo "${ECHO_T}$ac_res" >&6; }
38824 if eval test \$wx_cv_func_$wx_func = yes
38826 cat >>confdefs.h <<_ACEOF
38827 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38839 for wx_func in getgrgid_r
38841 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38842 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38843 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 cat >conftest.$ac_ext <<_ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38859 $ac_includes_default
38869 struct group grp, *pgrp;
38871 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38879 rm -f conftest.$ac_objext conftest$ac_exeext
38880 if { (ac_try="$ac_link"
38881 case "(($ac_try" in
38882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38883 *) ac_try_echo=$ac_try;;
38885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38886 (eval "$ac_link") 2>conftest.er1
38888 grep -v '^ *+' conftest.er1 >conftest.err
38890 cat conftest.err >&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); } && {
38893 test -z "$ac_c_werror_flag" ||
38894 test ! -s conftest.err
38895 } && test -s conftest$ac_exeext &&
38896 $as_test_x conftest$ac_exeext; then
38897 eval wx_cv_func_$wx_func=yes
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38902 eval wx_cv_func_$wx_func=no
38905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38906 conftest$ac_exeext conftest.$ac_ext
38909 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38910 { echo "$as_me:$LINENO: result: $ac_res" >&5
38911 echo "${ECHO_T}$ac_res" >&6; }
38913 if eval test \$wx_cv_func_$wx_func = yes
38915 cat >>confdefs.h <<_ACEOF
38916 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38932 cat >confcache <<\_ACEOF
38933 # This file is a shell script that caches the results of configure
38934 # tests run on this system so they can be shared between configure
38935 # scripts and configure runs, see configure's option --config-cache.
38936 # It is not useful on other systems. If it contains results you don't
38937 # want to keep, you may remove or edit it.
38939 # config.status only pays attention to the cache file if you give it
38940 # the --recheck option to rerun configure.
38942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38944 # following values.
38948 # The following way of writing the cache mishandles newlines in values,
38949 # but we know of no workaround that is simple, portable, and efficient.
38950 # So, we kill variables containing newlines.
38951 # Ultrix sh set writes to stderr and can't be redirected directly,
38952 # and sets the high bit in the cache file unless we assign to the vars.
38954 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38955 eval ac_val=\$$ac_var
38959 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38960 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38963 _ | IFS | as_nl) ;; #(
38964 *) $as_unset $ac_var ;;
38970 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38971 *${as_nl}ac_space=\ *)
38972 # `set' does not quote correctly, so add quotes (double-quote
38973 # substitution turns \\\\ into \\, and sed turns \\ into \).
38976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38979 # `set' quotes correctly as required by POSIX, so do not add quotes.
38980 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38991 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38993 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38994 if test -w "$cache_file"; then
38995 test "x$cache_file" != "x/dev/null" &&
38996 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38997 echo "$as_me: updating cache $cache_file" >&6;}
38998 cat confcache >$cache_file
39000 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39001 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39007 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39013 if test "$wxUSE_THREADS" = "yes" ; then
39014 if test "$USE_BEOS" = 1; then
39015 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39016 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39021 if test "$wxUSE_THREADS" = "yes" ; then
39024 THREAD_OPTS="-pthread"
39025 if test "x$SUNCXX" = xyes; then
39026 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39030 *-*-solaris2* | *-*-sunos4* )
39031 if test "x$GCC" = "xyes"; then
39032 THREAD_OPTS="-pthreads $THREAD_OPTS"
39036 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39038 *-*-darwin* | *-*-cygwin* )
39042 THREAD_OPTS="pthreads"
39045 if test "x$GCC" = "xyes"; then
39046 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39054 if test "x$GCC" = "xyes"; then
39060 if test "x$GCC" != "xyes"; then
39061 THREAD_OPTS="-Ethread"
39066 THREAD_OPTS="$THREAD_OPTS pthread none"
39069 for flag in $THREAD_OPTS; do
39072 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39073 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39077 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39078 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39079 THREADS_CFLAGS="$flag"
39083 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39084 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39085 THREADS_LINK="-l$flag"
39090 save_CFLAGS="$CFLAGS"
39091 LIBS="$THREADS_LINK $LIBS"
39092 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39094 cat >conftest.$ac_ext <<_ACEOF
39097 cat confdefs.h >>conftest.$ac_ext
39098 cat >>conftest.$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100 #include <pthread.h>
39104 pthread_create(0,0,0,0);
39109 rm -f conftest.$ac_objext conftest$ac_exeext
39110 if { (ac_try="$ac_link"
39111 case "(($ac_try" in
39112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39113 *) ac_try_echo=$ac_try;;
39115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39116 (eval "$ac_link") 2>conftest.er1
39118 grep -v '^ *+' conftest.er1 >conftest.err
39120 cat conftest.err >&5
39121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39122 (exit $ac_status); } && {
39123 test -z "$ac_c_werror_flag" ||
39124 test ! -s conftest.err
39125 } && test -s conftest$ac_exeext &&
39126 $as_test_x conftest$ac_exeext; then
39129 echo "$as_me: failed program was:" >&5
39130 sed 's/^/| /' conftest.$ac_ext >&5
39135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39136 conftest$ac_exeext conftest.$ac_ext
39139 CFLAGS="$save_CFLAGS"
39141 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39142 echo "${ECHO_T}$THREADS_OK" >&6; }
39143 if test "x$THREADS_OK" = "xyes"; then
39151 if test "x$THREADS_OK" != "xyes"; then
39153 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39154 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39156 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39157 LIBS="$THREADS_LINK $LIBS"
39159 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39160 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39164 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39165 flag="-D_THREAD_SAFE"
39168 flag="-D_THREAD_SAFE"
39171 flag="-D_REENTRANT"
39172 if test "x$GCC" != "xyes"; then
39173 flag="$flag -D_RWSTD_MULTI_THREAD"
39176 *solaris* | alpha*-osf*)
39177 flag="-D_REENTRANT"
39180 { echo "$as_me:$LINENO: result: ${flag}" >&5
39181 echo "${ECHO_T}${flag}" >&6; }
39182 if test "x$flag" != xno; then
39183 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39186 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39190 if test "$wxUSE_THREADS" = "yes" ; then
39192 for ac_func in thr_setconcurrency
39194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39195 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39197 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39198 echo $ECHO_N "(cached) $ECHO_C" >&6
39200 cat >conftest.$ac_ext <<_ACEOF
39203 cat confdefs.h >>conftest.$ac_ext
39204 cat >>conftest.$ac_ext <<_ACEOF
39205 /* end confdefs.h. */
39206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39208 #define $ac_func innocuous_$ac_func
39210 /* System header to define __stub macros and hopefully few prototypes,
39211 which can conflict with char $ac_func (); below.
39212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39213 <limits.h> exists even on freestanding compilers. */
39216 # include <limits.h>
39218 # include <assert.h>
39223 /* Override any GCC internal prototype to avoid an error.
39224 Use char because int might match the return type of a GCC
39225 builtin and then its argument prototype would still apply. */
39230 /* The GNU C library defines this for functions which it implements
39231 to always fail with ENOSYS. Some functions are actually named
39232 something starting with __ and the normal name is an alias. */
39233 #if defined __stub_$ac_func || defined __stub___$ac_func
39240 return $ac_func ();
39245 rm -f conftest.$ac_objext conftest$ac_exeext
39246 if { (ac_try="$ac_link"
39247 case "(($ac_try" in
39248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39249 *) ac_try_echo=$ac_try;;
39251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39252 (eval "$ac_link") 2>conftest.er1
39254 grep -v '^ *+' conftest.er1 >conftest.err
39256 cat conftest.err >&5
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); } && {
39259 test -z "$ac_c_werror_flag" ||
39260 test ! -s conftest.err
39261 } && test -s conftest$ac_exeext &&
39262 $as_test_x conftest$ac_exeext; then
39263 eval "$as_ac_var=yes"
39265 echo "$as_me: failed program was:" >&5
39266 sed 's/^/| /' conftest.$ac_ext >&5
39268 eval "$as_ac_var=no"
39271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39272 conftest$ac_exeext conftest.$ac_ext
39274 ac_res=`eval echo '${'$as_ac_var'}'`
39275 { echo "$as_me:$LINENO: result: $ac_res" >&5
39276 echo "${ECHO_T}$ac_res" >&6; }
39277 if test `eval echo '${'$as_ac_var'}'` = yes; then
39278 cat >>confdefs.h <<_ACEOF
39279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39286 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39287 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39288 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39289 echo $ECHO_N "(cached) $ECHO_C" >&6
39293 ac_cpp='$CXXCPP $CPPFLAGS'
39294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39298 cat >conftest.$ac_ext <<_ACEOF
39301 cat confdefs.h >>conftest.$ac_ext
39302 cat >>conftest.$ac_ext <<_ACEOF
39303 /* end confdefs.h. */
39304 #include <pthread.h>
39305 void ThreadCleanupFunc(void *p);
39312 pthread_cleanup_push(ThreadCleanupFunc, p);
39313 pthread_cleanup_pop(0);
39319 rm -f conftest.$ac_objext
39320 if { (ac_try="$ac_compile"
39321 case "(($ac_try" in
39322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39323 *) ac_try_echo=$ac_try;;
39325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39326 (eval "$ac_compile") 2>conftest.er1
39328 grep -v '^ *+' conftest.er1 >conftest.err
39330 cat conftest.err >&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); } && {
39333 test -z "$ac_cxx_werror_flag" ||
39334 test ! -s conftest.err
39335 } && test -s conftest.$ac_objext; then
39337 wx_cv_func_pthread_cleanup=yes
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.$ac_ext >&5
39344 wx_cv_func_pthread_cleanup=no
39349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39351 ac_cpp='$CPP $CPPFLAGS'
39352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39358 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39359 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39360 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39361 cat >>confdefs.h <<\_ACEOF
39362 #define wxHAVE_PTHREAD_CLEANUP 1
39368 for ac_header in sched.h
39370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39374 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 cat >conftest.$ac_ext <<_ACEOF
39379 cat confdefs.h >>conftest.$ac_ext
39380 cat >>conftest.$ac_ext <<_ACEOF
39381 /* end confdefs.h. */
39382 $ac_includes_default
39384 #include <$ac_header>
39386 rm -f conftest.$ac_objext
39387 if { (ac_try="$ac_compile"
39388 case "(($ac_try" in
39389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_compile") 2>conftest.er1
39395 grep -v '^ *+' conftest.er1 >conftest.err
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest.$ac_objext; then
39403 eval "$as_ac_Header=yes"
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39408 eval "$as_ac_Header=no"
39411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39413 ac_res=`eval echo '${'$as_ac_Header'}'`
39414 { echo "$as_me:$LINENO: result: $ac_res" >&5
39415 echo "${ECHO_T}$ac_res" >&6; }
39416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39417 cat >>confdefs.h <<_ACEOF
39418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39425 if test "$ac_cv_header_sched_h" = "yes"; then
39426 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39427 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39428 if test "${ac_cv_func_sched_yield+set}" = set; then
39429 echo $ECHO_N "(cached) $ECHO_C" >&6
39431 cat >conftest.$ac_ext <<_ACEOF
39434 cat confdefs.h >>conftest.$ac_ext
39435 cat >>conftest.$ac_ext <<_ACEOF
39436 /* end confdefs.h. */
39437 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39439 #define sched_yield innocuous_sched_yield
39441 /* System header to define __stub macros and hopefully few prototypes,
39442 which can conflict with char sched_yield (); below.
39443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39444 <limits.h> exists even on freestanding compilers. */
39447 # include <limits.h>
39449 # include <assert.h>
39454 /* Override any GCC internal prototype to avoid an error.
39455 Use char because int might match the return type of a GCC
39456 builtin and then its argument prototype would still apply. */
39460 char sched_yield ();
39461 /* The GNU C library defines this for functions which it implements
39462 to always fail with ENOSYS. Some functions are actually named
39463 something starting with __ and the normal name is an alias. */
39464 #if defined __stub_sched_yield || defined __stub___sched_yield
39471 return sched_yield ();
39476 rm -f conftest.$ac_objext conftest$ac_exeext
39477 if { (ac_try="$ac_link"
39478 case "(($ac_try" in
39479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39480 *) ac_try_echo=$ac_try;;
39482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39483 (eval "$ac_link") 2>conftest.er1
39485 grep -v '^ *+' conftest.er1 >conftest.err
39487 cat conftest.err >&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } && {
39490 test -z "$ac_c_werror_flag" ||
39491 test ! -s conftest.err
39492 } && test -s conftest$ac_exeext &&
39493 $as_test_x conftest$ac_exeext; then
39494 ac_cv_func_sched_yield=yes
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39499 ac_cv_func_sched_yield=no
39502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39503 conftest$ac_exeext conftest.$ac_ext
39505 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39506 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39507 if test $ac_cv_func_sched_yield = yes; then
39508 cat >>confdefs.h <<\_ACEOF
39509 #define HAVE_SCHED_YIELD 1
39514 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39515 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39516 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39517 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 ac_check_lib_save_LIBS=$LIBS
39520 LIBS="-lposix4 $LIBS"
39521 cat >conftest.$ac_ext <<_ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39528 /* Override any GCC internal prototype to avoid an error.
39529 Use char because int might match the return type of a GCC
39530 builtin and then its argument prototype would still apply. */
39534 char sched_yield ();
39538 return sched_yield ();
39543 rm -f conftest.$ac_objext conftest$ac_exeext
39544 if { (ac_try="$ac_link"
39545 case "(($ac_try" in
39546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39547 *) ac_try_echo=$ac_try;;
39549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39550 (eval "$ac_link") 2>conftest.er1
39552 grep -v '^ *+' conftest.er1 >conftest.err
39554 cat conftest.err >&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } && {
39557 test -z "$ac_c_werror_flag" ||
39558 test ! -s conftest.err
39559 } && test -s conftest$ac_exeext &&
39560 $as_test_x conftest$ac_exeext; then
39561 ac_cv_lib_posix4_sched_yield=yes
39563 echo "$as_me: failed program was:" >&5
39564 sed 's/^/| /' conftest.$ac_ext >&5
39566 ac_cv_lib_posix4_sched_yield=no
39569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39570 conftest$ac_exeext conftest.$ac_ext
39571 LIBS=$ac_check_lib_save_LIBS
39573 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39574 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39575 if test $ac_cv_lib_posix4_sched_yield = yes; then
39576 cat >>confdefs.h <<\_ACEOF
39577 #define HAVE_SCHED_YIELD 1
39579 POSIX4_LINK=" -lposix4"
39581 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39582 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39593 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39594 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39595 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39596 echo $ECHO_N "(cached) $ECHO_C" >&6
39598 cat >conftest.$ac_ext <<_ACEOF
39601 cat confdefs.h >>conftest.$ac_ext
39602 cat >>conftest.$ac_ext <<_ACEOF
39603 /* end confdefs.h. */
39604 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39606 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39608 /* System header to define __stub macros and hopefully few prototypes,
39609 which can conflict with char pthread_attr_getschedpolicy (); below.
39610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39611 <limits.h> exists even on freestanding compilers. */
39614 # include <limits.h>
39616 # include <assert.h>
39619 #undef pthread_attr_getschedpolicy
39621 /* Override any GCC internal prototype to avoid an error.
39622 Use char because int might match the return type of a GCC
39623 builtin and then its argument prototype would still apply. */
39627 char pthread_attr_getschedpolicy ();
39628 /* The GNU C library defines this for functions which it implements
39629 to always fail with ENOSYS. Some functions are actually named
39630 something starting with __ and the normal name is an alias. */
39631 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39638 return pthread_attr_getschedpolicy ();
39643 rm -f conftest.$ac_objext conftest$ac_exeext
39644 if { (ac_try="$ac_link"
39645 case "(($ac_try" in
39646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39647 *) ac_try_echo=$ac_try;;
39649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39650 (eval "$ac_link") 2>conftest.er1
39652 grep -v '^ *+' conftest.er1 >conftest.err
39654 cat conftest.err >&5
39655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39656 (exit $ac_status); } && {
39657 test -z "$ac_c_werror_flag" ||
39658 test ! -s conftest.err
39659 } && test -s conftest$ac_exeext &&
39660 $as_test_x conftest$ac_exeext; then
39661 ac_cv_func_pthread_attr_getschedpolicy=yes
39663 echo "$as_me: failed program was:" >&5
39664 sed 's/^/| /' conftest.$ac_ext >&5
39666 ac_cv_func_pthread_attr_getschedpolicy=no
39669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39670 conftest$ac_exeext conftest.$ac_ext
39672 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39673 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39674 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39675 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39676 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39677 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39678 echo $ECHO_N "(cached) $ECHO_C" >&6
39680 cat >conftest.$ac_ext <<_ACEOF
39683 cat confdefs.h >>conftest.$ac_ext
39684 cat >>conftest.$ac_ext <<_ACEOF
39685 /* end confdefs.h. */
39686 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39688 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39690 /* System header to define __stub macros and hopefully few prototypes,
39691 which can conflict with char pthread_attr_setschedparam (); below.
39692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39693 <limits.h> exists even on freestanding compilers. */
39696 # include <limits.h>
39698 # include <assert.h>
39701 #undef pthread_attr_setschedparam
39703 /* Override any GCC internal prototype to avoid an error.
39704 Use char because int might match the return type of a GCC
39705 builtin and then its argument prototype would still apply. */
39709 char pthread_attr_setschedparam ();
39710 /* The GNU C library defines this for functions which it implements
39711 to always fail with ENOSYS. Some functions are actually named
39712 something starting with __ and the normal name is an alias. */
39713 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39720 return pthread_attr_setschedparam ();
39725 rm -f conftest.$ac_objext conftest$ac_exeext
39726 if { (ac_try="$ac_link"
39727 case "(($ac_try" in
39728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39729 *) ac_try_echo=$ac_try;;
39731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39732 (eval "$ac_link") 2>conftest.er1
39734 grep -v '^ *+' conftest.er1 >conftest.err
39736 cat conftest.err >&5
39737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39738 (exit $ac_status); } && {
39739 test -z "$ac_c_werror_flag" ||
39740 test ! -s conftest.err
39741 } && test -s conftest$ac_exeext &&
39742 $as_test_x conftest$ac_exeext; then
39743 ac_cv_func_pthread_attr_setschedparam=yes
39745 echo "$as_me: failed program was:" >&5
39746 sed 's/^/| /' conftest.$ac_ext >&5
39748 ac_cv_func_pthread_attr_setschedparam=no
39751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39752 conftest$ac_exeext conftest.$ac_ext
39754 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39755 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39756 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39757 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39758 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39759 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39760 echo $ECHO_N "(cached) $ECHO_C" >&6
39762 cat >conftest.$ac_ext <<_ACEOF
39765 cat confdefs.h >>conftest.$ac_ext
39766 cat >>conftest.$ac_ext <<_ACEOF
39767 /* end confdefs.h. */
39768 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39770 #define sched_get_priority_max innocuous_sched_get_priority_max
39772 /* System header to define __stub macros and hopefully few prototypes,
39773 which can conflict with char sched_get_priority_max (); below.
39774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39775 <limits.h> exists even on freestanding compilers. */
39778 # include <limits.h>
39780 # include <assert.h>
39783 #undef sched_get_priority_max
39785 /* Override any GCC internal prototype to avoid an error.
39786 Use char because int might match the return type of a GCC
39787 builtin and then its argument prototype would still apply. */
39791 char sched_get_priority_max ();
39792 /* The GNU C library defines this for functions which it implements
39793 to always fail with ENOSYS. Some functions are actually named
39794 something starting with __ and the normal name is an alias. */
39795 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39802 return sched_get_priority_max ();
39807 rm -f conftest.$ac_objext conftest$ac_exeext
39808 if { (ac_try="$ac_link"
39809 case "(($ac_try" in
39810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39811 *) ac_try_echo=$ac_try;;
39813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39814 (eval "$ac_link") 2>conftest.er1
39816 grep -v '^ *+' conftest.er1 >conftest.err
39818 cat conftest.err >&5
39819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39820 (exit $ac_status); } && {
39821 test -z "$ac_c_werror_flag" ||
39822 test ! -s conftest.err
39823 } && test -s conftest$ac_exeext &&
39824 $as_test_x conftest$ac_exeext; then
39825 ac_cv_func_sched_get_priority_max=yes
39827 echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.$ac_ext >&5
39830 ac_cv_func_sched_get_priority_max=no
39833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39834 conftest$ac_exeext conftest.$ac_ext
39836 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39837 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39838 if test $ac_cv_func_sched_get_priority_max = yes; then
39841 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39842 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39843 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39844 echo $ECHO_N "(cached) $ECHO_C" >&6
39846 ac_check_lib_save_LIBS=$LIBS
39847 LIBS="-lposix4 $LIBS"
39848 cat >conftest.$ac_ext <<_ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39855 /* Override any GCC internal prototype to avoid an error.
39856 Use char because int might match the return type of a GCC
39857 builtin and then its argument prototype would still apply. */
39861 char sched_get_priority_max ();
39865 return sched_get_priority_max ();
39870 rm -f conftest.$ac_objext conftest$ac_exeext
39871 if { (ac_try="$ac_link"
39872 case "(($ac_try" in
39873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39874 *) ac_try_echo=$ac_try;;
39876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39877 (eval "$ac_link") 2>conftest.er1
39879 grep -v '^ *+' conftest.er1 >conftest.err
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } && {
39884 test -z "$ac_c_werror_flag" ||
39885 test ! -s conftest.err
39886 } && test -s conftest$ac_exeext &&
39887 $as_test_x conftest$ac_exeext; then
39888 ac_cv_lib_posix4_sched_get_priority_max=yes
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39893 ac_cv_lib_posix4_sched_get_priority_max=no
39896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39897 conftest$ac_exeext conftest.$ac_ext
39898 LIBS=$ac_check_lib_save_LIBS
39900 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39901 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39902 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39905 POSIX4_LINK=" -lposix4"
39919 if test "$HAVE_PRIOR_FUNCS" = 1; then
39920 cat >>confdefs.h <<\_ACEOF
39921 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39925 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39926 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39929 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39930 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39931 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39932 echo $ECHO_N "(cached) $ECHO_C" >&6
39934 cat >conftest.$ac_ext <<_ACEOF
39937 cat confdefs.h >>conftest.$ac_ext
39938 cat >>conftest.$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39940 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39942 #define pthread_cancel innocuous_pthread_cancel
39944 /* System header to define __stub macros and hopefully few prototypes,
39945 which can conflict with char pthread_cancel (); below.
39946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39947 <limits.h> exists even on freestanding compilers. */
39950 # include <limits.h>
39952 # include <assert.h>
39955 #undef pthread_cancel
39957 /* Override any GCC internal prototype to avoid an error.
39958 Use char because int might match the return type of a GCC
39959 builtin and then its argument prototype would still apply. */
39963 char pthread_cancel ();
39964 /* The GNU C library defines this for functions which it implements
39965 to always fail with ENOSYS. Some functions are actually named
39966 something starting with __ and the normal name is an alias. */
39967 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39974 return pthread_cancel ();
39979 rm -f conftest.$ac_objext conftest$ac_exeext
39980 if { (ac_try="$ac_link"
39981 case "(($ac_try" in
39982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39983 *) ac_try_echo=$ac_try;;
39985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39986 (eval "$ac_link") 2>conftest.er1
39988 grep -v '^ *+' conftest.er1 >conftest.err
39990 cat conftest.err >&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } && {
39993 test -z "$ac_c_werror_flag" ||
39994 test ! -s conftest.err
39995 } && test -s conftest$ac_exeext &&
39996 $as_test_x conftest$ac_exeext; then
39997 ac_cv_func_pthread_cancel=yes
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.$ac_ext >&5
40002 ac_cv_func_pthread_cancel=no
40005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40006 conftest$ac_exeext conftest.$ac_ext
40008 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40009 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40010 if test $ac_cv_func_pthread_cancel = yes; then
40011 cat >>confdefs.h <<\_ACEOF
40012 #define HAVE_PTHREAD_CANCEL 1
40016 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40017 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40021 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40022 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40023 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40026 cat >conftest.$ac_ext <<_ACEOF
40029 cat confdefs.h >>conftest.$ac_ext
40030 cat >>conftest.$ac_ext <<_ACEOF
40031 /* end confdefs.h. */
40032 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40034 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40036 /* System header to define __stub macros and hopefully few prototypes,
40037 which can conflict with char pthread_mutex_timedlock (); below.
40038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40039 <limits.h> exists even on freestanding compilers. */
40042 # include <limits.h>
40044 # include <assert.h>
40047 #undef pthread_mutex_timedlock
40049 /* Override any GCC internal prototype to avoid an error.
40050 Use char because int might match the return type of a GCC
40051 builtin and then its argument prototype would still apply. */
40055 char pthread_mutex_timedlock ();
40056 /* The GNU C library defines this for functions which it implements
40057 to always fail with ENOSYS. Some functions are actually named
40058 something starting with __ and the normal name is an alias. */
40059 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40066 return pthread_mutex_timedlock ();
40071 rm -f conftest.$ac_objext conftest$ac_exeext
40072 if { (ac_try="$ac_link"
40073 case "(($ac_try" in
40074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40075 *) ac_try_echo=$ac_try;;
40077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40078 (eval "$ac_link") 2>conftest.er1
40080 grep -v '^ *+' conftest.er1 >conftest.err
40082 cat conftest.err >&5
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); } && {
40085 test -z "$ac_c_werror_flag" ||
40086 test ! -s conftest.err
40087 } && test -s conftest$ac_exeext &&
40088 $as_test_x conftest$ac_exeext; then
40089 ac_cv_func_pthread_mutex_timedlock=yes
40091 echo "$as_me: failed program was:" >&5
40092 sed 's/^/| /' conftest.$ac_ext >&5
40094 ac_cv_func_pthread_mutex_timedlock=no
40097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40098 conftest$ac_exeext conftest.$ac_ext
40100 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40101 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40102 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40103 cat >>confdefs.h <<\_ACEOF
40104 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40108 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40109 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40113 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40114 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40115 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40116 echo $ECHO_N "(cached) $ECHO_C" >&6
40118 cat >conftest.$ac_ext <<_ACEOF
40121 cat confdefs.h >>conftest.$ac_ext
40122 cat >>conftest.$ac_ext <<_ACEOF
40123 /* end confdefs.h. */
40124 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40126 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40128 /* System header to define __stub macros and hopefully few prototypes,
40129 which can conflict with char pthread_attr_setstacksize (); below.
40130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40131 <limits.h> exists even on freestanding compilers. */
40134 # include <limits.h>
40136 # include <assert.h>
40139 #undef pthread_attr_setstacksize
40141 /* Override any GCC internal prototype to avoid an error.
40142 Use char because int might match the return type of a GCC
40143 builtin and then its argument prototype would still apply. */
40147 char pthread_attr_setstacksize ();
40148 /* The GNU C library defines this for functions which it implements
40149 to always fail with ENOSYS. Some functions are actually named
40150 something starting with __ and the normal name is an alias. */
40151 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40158 return pthread_attr_setstacksize ();
40163 rm -f conftest.$ac_objext conftest$ac_exeext
40164 if { (ac_try="$ac_link"
40165 case "(($ac_try" in
40166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40167 *) ac_try_echo=$ac_try;;
40169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40170 (eval "$ac_link") 2>conftest.er1
40172 grep -v '^ *+' conftest.er1 >conftest.err
40174 cat conftest.err >&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); } && {
40177 test -z "$ac_c_werror_flag" ||
40178 test ! -s conftest.err
40179 } && test -s conftest$ac_exeext &&
40180 $as_test_x conftest$ac_exeext; then
40181 ac_cv_func_pthread_attr_setstacksize=yes
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40186 ac_cv_func_pthread_attr_setstacksize=no
40189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40190 conftest$ac_exeext conftest.$ac_ext
40192 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40193 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40194 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40195 cat >>confdefs.h <<\_ACEOF
40196 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40203 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40204 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40205 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 cat >conftest.$ac_ext <<_ACEOF
40212 cat confdefs.h >>conftest.$ac_ext
40213 cat >>conftest.$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40215 #include <pthread.h>
40220 pthread_mutexattr_t attr;
40221 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40227 rm -f conftest.$ac_objext
40228 if { (ac_try="$ac_compile"
40229 case "(($ac_try" in
40230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40231 *) ac_try_echo=$ac_try;;
40233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40234 (eval "$ac_compile") 2>conftest.er1
40236 grep -v '^ *+' conftest.er1 >conftest.err
40238 cat conftest.err >&5
40239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40240 (exit $ac_status); } && {
40241 test -z "$ac_c_werror_flag" ||
40242 test ! -s conftest.err
40243 } && test -s conftest.$ac_objext; then
40244 wx_cv_type_pthread_mutexattr_t=yes
40246 echo "$as_me: failed program was:" >&5
40247 sed 's/^/| /' conftest.$ac_ext >&5
40249 wx_cv_type_pthread_mutexattr_t=no
40253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40256 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40257 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40259 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40260 cat >>confdefs.h <<\_ACEOF
40261 #define HAVE_PTHREAD_MUTEXATTR_T 1
40265 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40266 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40267 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40268 echo $ECHO_N "(cached) $ECHO_C" >&6
40271 cat >conftest.$ac_ext <<_ACEOF
40274 cat confdefs.h >>conftest.$ac_ext
40275 cat >>conftest.$ac_ext <<_ACEOF
40276 /* end confdefs.h. */
40277 #include <pthread.h>
40282 pthread_mutexattr_t attr;
40283 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40289 rm -f conftest.$ac_objext
40290 if { (ac_try="$ac_compile"
40291 case "(($ac_try" in
40292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40293 *) ac_try_echo=$ac_try;;
40295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40296 (eval "$ac_compile") 2>conftest.er1
40298 grep -v '^ *+' conftest.er1 >conftest.err
40300 cat conftest.err >&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); } && {
40303 test -z "$ac_c_werror_flag" ||
40304 test ! -s conftest.err
40305 } && test -s conftest.$ac_objext; then
40306 wx_cv_func_pthread_mutexattr_settype_decl=yes
40308 echo "$as_me: failed program was:" >&5
40309 sed 's/^/| /' conftest.$ac_ext >&5
40311 wx_cv_func_pthread_mutexattr_settype_decl=no
40315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40318 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40319 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40320 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40321 cat >>confdefs.h <<\_ACEOF
40322 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40327 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40328 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40329 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40330 echo $ECHO_N "(cached) $ECHO_C" >&6
40333 cat >conftest.$ac_ext <<_ACEOF
40336 cat confdefs.h >>conftest.$ac_ext
40337 cat >>conftest.$ac_ext <<_ACEOF
40338 /* end confdefs.h. */
40339 #include <pthread.h>
40344 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40350 rm -f conftest.$ac_objext
40351 if { (ac_try="$ac_compile"
40352 case "(($ac_try" in
40353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40354 *) ac_try_echo=$ac_try;;
40356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40357 (eval "$ac_compile") 2>conftest.er1
40359 grep -v '^ *+' conftest.er1 >conftest.err
40361 cat conftest.err >&5
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); } && {
40364 test -z "$ac_c_werror_flag" ||
40365 test ! -s conftest.err
40366 } && test -s conftest.$ac_objext; then
40368 wx_cv_type_pthread_rec_mutex_init=yes
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.$ac_ext >&5
40375 wx_cv_type_pthread_rec_mutex_init=no
40380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40383 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40384 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40385 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40386 cat >>confdefs.h <<\_ACEOF
40387 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40391 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40392 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40396 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40397 if test "$USE_NETBSD" = 1; then
40398 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40399 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40400 wxUSE_COMPILER_TLS=no
40402 wxUSE_COMPILER_TLS=yes
40406 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40407 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40408 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40409 if test "${wx_cv_cc___thread+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40413 cat >conftest.$ac_ext <<_ACEOF
40416 cat confdefs.h >>conftest.$ac_ext
40417 cat >>conftest.$ac_ext <<_ACEOF
40418 /* end confdefs.h. */
40419 #include <pthread.h>
40424 static __thread int n = 0;
40425 static __thread int *p = 0;
40431 rm -f conftest.$ac_objext
40432 if { (ac_try="$ac_compile"
40433 case "(($ac_try" in
40434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40435 *) ac_try_echo=$ac_try;;
40437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40438 (eval "$ac_compile") 2>conftest.er1
40440 grep -v '^ *+' conftest.er1 >conftest.err
40442 cat conftest.err >&5
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); } && {
40445 test -z "$ac_c_werror_flag" ||
40446 test ! -s conftest.err
40447 } && test -s conftest.$ac_objext; then
40448 wx_cv_cc___thread=yes
40450 echo "$as_me: failed program was:" >&5
40451 sed 's/^/| /' conftest.$ac_ext >&5
40453 wx_cv_cc___thread=no
40457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40461 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40462 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40464 if test "$wx_cv_cc___thread" = "yes"; then
40470 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40471 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40473 if test "x$GCC" = "xyes" ; then
40475 if test -z "" ; then
40477 ax_gcc_option_test="int main()
40484 ax_gcc_option_test=""
40489 # Dump the test program to file
40490 cat <<EOF > conftest.c
40491 $ax_gcc_option_test
40494 # Dump back the file to the log, useful for debugging purposes
40495 { ac_try='cat conftest.c 1>&5'
40496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40497 (eval $ac_try) 2>&5
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); }; }
40502 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40504 (eval $ac_try) 2>&5
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); }; } ; then
40509 { echo "$as_me:$LINENO: result: yes" >&5
40510 echo "${ECHO_T}yes" >&6; }
40512 ax_gcc_version_option=yes
40517 { echo "$as_me:$LINENO: result: no" >&5
40518 echo "${ECHO_T}no" >&6; }
40520 ax_gcc_version_option=no
40528 { echo "$as_me:$LINENO: result: no gcc available" >&5
40529 echo "${ECHO_T}no gcc available" >&6; }
40534 if test "x$GXX" = "xyes"; then
40536 if test "x$ax_gxx_version_option" != "no"; then
40538 { echo "$as_me:$LINENO: checking gxx version" >&5
40539 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40540 if test "${ax_cv_gxx_version+set}" = set; then
40541 echo $ECHO_N "(cached) $ECHO_C" >&6
40544 ax_cv_gxx_version="`$CXX -dumpversion`"
40545 if test "x$ax_cv_gxx_version" = "x"; then
40547 ax_cv_gxx_version=""
40553 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40554 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40555 GXX_VERSION=$ax_cv_gxx_version
40564 if test -n "$ax_cv_gxx_version"; then
40565 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40566 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40567 case "$ax_cv_gxx_version" in
40569 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40570 echo "${ECHO_T}no, it's broken" >&6; }
40571 wx_cv_cc___thread=no
40574 { echo "$as_me:$LINENO: result: yes, it works" >&5
40575 echo "${ECHO_T}yes, it works" >&6; }
40581 if test "$wx_cv_cc___thread" = "yes"; then
40582 cat >>confdefs.h <<\_ACEOF
40583 #define HAVE___THREAD_KEYWORD 1
40591 if test "$wxUSE_THREADS" = "yes" ; then
40593 x86_64-*-mingw32* )
40596 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40597 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40598 if test "${wx_cv_cflags_mthread+set}" = set; then
40599 echo $ECHO_N "(cached) $ECHO_C" >&6
40602 CFLAGS_OLD="$CFLAGS"
40603 CFLAGS="-mthreads $CFLAGS"
40604 cat >conftest.$ac_ext <<_ACEOF
40607 cat confdefs.h >>conftest.$ac_ext
40608 cat >>conftest.$ac_ext <<_ACEOF
40609 /* end confdefs.h. */
40619 rm -f conftest.$ac_objext
40620 if { (ac_try="$ac_compile"
40621 case "(($ac_try" in
40622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40623 *) ac_try_echo=$ac_try;;
40625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40626 (eval "$ac_compile") 2>conftest.er1
40628 grep -v '^ *+' conftest.er1 >conftest.err
40630 cat conftest.err >&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } && {
40633 test -z "$ac_c_werror_flag" ||
40634 test ! -s conftest.err
40635 } && test -s conftest.$ac_objext; then
40636 wx_cv_cflags_mthread=yes
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40641 wx_cv_cflags_mthread=no
40645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40649 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40650 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40652 if test "$wx_cv_cflags_mthread" = "yes"; then
40653 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40654 LDFLAGS="$LDFLAGS -mthreads"
40656 CFLAGS="$CFLAGS_OLD"
40660 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40661 LDFLAGS="$LDFLAGS -Zmt"
40667 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40668 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40669 if test "${ac_cv_func_localtime_r+set}" = set; then
40670 echo $ECHO_N "(cached) $ECHO_C" >&6
40672 cat >conftest.$ac_ext <<_ACEOF
40675 cat confdefs.h >>conftest.$ac_ext
40676 cat >>conftest.$ac_ext <<_ACEOF
40677 /* end confdefs.h. */
40678 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40680 #define localtime_r innocuous_localtime_r
40682 /* System header to define __stub macros and hopefully few prototypes,
40683 which can conflict with char localtime_r (); below.
40684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40685 <limits.h> exists even on freestanding compilers. */
40688 # include <limits.h>
40690 # include <assert.h>
40695 /* Override any GCC internal prototype to avoid an error.
40696 Use char because int might match the return type of a GCC
40697 builtin and then its argument prototype would still apply. */
40701 char localtime_r ();
40702 /* The GNU C library defines this for functions which it implements
40703 to always fail with ENOSYS. Some functions are actually named
40704 something starting with __ and the normal name is an alias. */
40705 #if defined __stub_localtime_r || defined __stub___localtime_r
40712 return localtime_r ();
40717 rm -f conftest.$ac_objext conftest$ac_exeext
40718 if { (ac_try="$ac_link"
40719 case "(($ac_try" in
40720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40721 *) ac_try_echo=$ac_try;;
40723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40724 (eval "$ac_link") 2>conftest.er1
40726 grep -v '^ *+' conftest.er1 >conftest.err
40728 cat conftest.err >&5
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); } && {
40731 test -z "$ac_c_werror_flag" ||
40732 test ! -s conftest.err
40733 } && test -s conftest$ac_exeext &&
40734 $as_test_x conftest$ac_exeext; then
40735 ac_cv_func_localtime_r=yes
40737 echo "$as_me: failed program was:" >&5
40738 sed 's/^/| /' conftest.$ac_ext >&5
40740 ac_cv_func_localtime_r=no
40743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40744 conftest$ac_exeext conftest.$ac_ext
40746 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40747 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40748 if test $ac_cv_func_localtime_r = yes; then
40749 cat >>confdefs.h <<\_ACEOF
40750 #define HAVE_LOCALTIME_R 1
40755 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40756 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40757 if test "${ac_cv_func_gmtime_r+set}" = set; then
40758 echo $ECHO_N "(cached) $ECHO_C" >&6
40760 cat >conftest.$ac_ext <<_ACEOF
40763 cat confdefs.h >>conftest.$ac_ext
40764 cat >>conftest.$ac_ext <<_ACEOF
40765 /* end confdefs.h. */
40766 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40768 #define gmtime_r innocuous_gmtime_r
40770 /* System header to define __stub macros and hopefully few prototypes,
40771 which can conflict with char gmtime_r (); below.
40772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40773 <limits.h> exists even on freestanding compilers. */
40776 # include <limits.h>
40778 # include <assert.h>
40783 /* Override any GCC internal prototype to avoid an error.
40784 Use char because int might match the return type of a GCC
40785 builtin and then its argument prototype would still apply. */
40790 /* The GNU C library defines this for functions which it implements
40791 to always fail with ENOSYS. Some functions are actually named
40792 something starting with __ and the normal name is an alias. */
40793 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40800 return gmtime_r ();
40805 rm -f conftest.$ac_objext conftest$ac_exeext
40806 if { (ac_try="$ac_link"
40807 case "(($ac_try" in
40808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40809 *) ac_try_echo=$ac_try;;
40811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40812 (eval "$ac_link") 2>conftest.er1
40814 grep -v '^ *+' conftest.er1 >conftest.err
40816 cat conftest.err >&5
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); } && {
40819 test -z "$ac_c_werror_flag" ||
40820 test ! -s conftest.err
40821 } && test -s conftest$ac_exeext &&
40822 $as_test_x conftest$ac_exeext; then
40823 ac_cv_func_gmtime_r=yes
40825 echo "$as_me: failed program was:" >&5
40826 sed 's/^/| /' conftest.$ac_ext >&5
40828 ac_cv_func_gmtime_r=no
40831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40832 conftest$ac_exeext conftest.$ac_ext
40834 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40835 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40836 if test $ac_cv_func_gmtime_r = yes; then
40837 cat >>confdefs.h <<\_ACEOF
40838 #define HAVE_GMTIME_R 1
40847 ac_cpp='$CPP $CPPFLAGS'
40848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40852 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40853 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40855 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40856 echo $ECHO_N "(cached) $ECHO_C" >&6
40860 ################################################################
40862 ac_cv_func_which_gethostbyname_r=unknown
40865 # ONE ARGUMENT (sanity check)
40868 # This should fail, as there is no variant of gethostbyname_r() that takes
40869 # a single argument. If it actually compiles, then we can assume that
40870 # netdb.h is not declaring the function, and the compiler is thereby
40871 # assuming an implicit prototype. In which case, we're out of luck.
40873 cat >conftest.$ac_ext <<_ACEOF
40876 cat confdefs.h >>conftest.$ac_ext
40877 cat >>conftest.$ac_ext <<_ACEOF
40878 /* end confdefs.h. */
40884 char *name = "www.gnu.org";
40885 (void)gethostbyname_r(name) /* ; */
40891 rm -f conftest.$ac_objext
40892 if { (ac_try="$ac_compile"
40893 case "(($ac_try" in
40894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40895 *) ac_try_echo=$ac_try;;
40897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40898 (eval "$ac_compile") 2>conftest.er1
40900 grep -v '^ *+' conftest.er1 >conftest.err
40902 cat conftest.err >&5
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); } && {
40905 test -z "$ac_c_werror_flag" ||
40906 test ! -s conftest.err
40907 } && test -s conftest.$ac_objext; then
40908 ac_cv_func_which_gethostbyname_r=no
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40923 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40925 cat >conftest.$ac_ext <<_ACEOF
40928 cat confdefs.h >>conftest.$ac_ext
40929 cat >>conftest.$ac_ext <<_ACEOF
40930 /* end confdefs.h. */
40936 char *name = "www.gnu.org";
40937 struct hostent ret, *retp;
40941 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40947 rm -f conftest.$ac_objext
40948 if { (ac_try="$ac_compile"
40949 case "(($ac_try" in
40950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40951 *) ac_try_echo=$ac_try;;
40953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40954 (eval "$ac_compile") 2>conftest.er1
40956 grep -v '^ *+' conftest.er1 >conftest.err
40958 cat conftest.err >&5
40959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40960 (exit $ac_status); } && {
40961 test -z "$ac_c_werror_flag" ||
40962 test ! -s conftest.err
40963 } && test -s conftest.$ac_objext; then
40964 ac_cv_func_which_gethostbyname_r=six
40966 echo "$as_me: failed program was:" >&5
40967 sed 's/^/| /' conftest.$ac_ext >&5
40972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40981 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40983 cat >conftest.$ac_ext <<_ACEOF
40986 cat confdefs.h >>conftest.$ac_ext
40987 cat >>conftest.$ac_ext <<_ACEOF
40988 /* end confdefs.h. */
40994 char *name = "www.gnu.org";
40995 struct hostent ret;
40999 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41005 rm -f conftest.$ac_objext
41006 if { (ac_try="$ac_compile"
41007 case "(($ac_try" in
41008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41009 *) ac_try_echo=$ac_try;;
41011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41012 (eval "$ac_compile") 2>conftest.er1
41014 grep -v '^ *+' conftest.er1 >conftest.err
41016 cat conftest.err >&5
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); } && {
41019 test -z "$ac_c_werror_flag" ||
41020 test ! -s conftest.err
41021 } && test -s conftest.$ac_objext; then
41022 ac_cv_func_which_gethostbyname_r=five
41024 echo "$as_me: failed program was:" >&5
41025 sed 's/^/| /' conftest.$ac_ext >&5
41030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41036 # (e.g. AIX, HP-UX, Tru64)
41039 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41041 cat >conftest.$ac_ext <<_ACEOF
41044 cat confdefs.h >>conftest.$ac_ext
41045 cat >>conftest.$ac_ext <<_ACEOF
41046 /* end confdefs.h. */
41052 char *name = "www.gnu.org";
41053 struct hostent ret;
41054 struct hostent_data data;
41055 (void)gethostbyname_r(name, &ret, &data) /* ; */
41061 rm -f conftest.$ac_objext
41062 if { (ac_try="$ac_compile"
41063 case "(($ac_try" in
41064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41065 *) ac_try_echo=$ac_try;;
41067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41068 (eval "$ac_compile") 2>conftest.er1
41070 grep -v '^ *+' conftest.er1 >conftest.err
41072 cat conftest.err >&5
41073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41074 (exit $ac_status); } && {
41075 test -z "$ac_c_werror_flag" ||
41076 test ! -s conftest.err
41077 } && test -s conftest.$ac_objext; then
41078 ac_cv_func_which_gethostbyname_r=three
41080 echo "$as_me: failed program was:" >&5
41081 sed 's/^/| /' conftest.$ac_ext >&5
41086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41090 ################################################################
41095 case "$ac_cv_func_which_gethostbyname_r" in
41097 { echo "$as_me:$LINENO: result: three" >&5
41098 echo "${ECHO_T}three" >&6; }
41099 cat >>confdefs.h <<\_ACEOF
41100 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41106 { echo "$as_me:$LINENO: result: five" >&5
41107 echo "${ECHO_T}five" >&6; }
41108 cat >>confdefs.h <<\_ACEOF
41109 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41115 { echo "$as_me:$LINENO: result: six" >&5
41116 echo "${ECHO_T}six" >&6; }
41117 cat >>confdefs.h <<\_ACEOF
41118 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41124 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41125 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41129 { echo "$as_me:$LINENO: result: can't tell" >&5
41130 echo "${ECHO_T}can't tell" >&6; }
41134 { { echo "$as_me:$LINENO: error: internal error" >&5
41135 echo "$as_me: error: internal error" >&2;}
41136 { (exit 1); exit 1; }; }
41141 ac_cpp='$CPP $CPPFLAGS'
41142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41148 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41149 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41150 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41151 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41152 if test "${ac_cv_func_gethostbyname+set}" = set; then
41153 echo $ECHO_N "(cached) $ECHO_C" >&6
41155 cat >conftest.$ac_ext <<_ACEOF
41158 cat confdefs.h >>conftest.$ac_ext
41159 cat >>conftest.$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41161 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41163 #define gethostbyname innocuous_gethostbyname
41165 /* System header to define __stub macros and hopefully few prototypes,
41166 which can conflict with char gethostbyname (); below.
41167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41168 <limits.h> exists even on freestanding compilers. */
41171 # include <limits.h>
41173 # include <assert.h>
41176 #undef gethostbyname
41178 /* Override any GCC internal prototype to avoid an error.
41179 Use char because int might match the return type of a GCC
41180 builtin and then its argument prototype would still apply. */
41184 char gethostbyname ();
41185 /* The GNU C library defines this for functions which it implements
41186 to always fail with ENOSYS. Some functions are actually named
41187 something starting with __ and the normal name is an alias. */
41188 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41195 return gethostbyname ();
41200 rm -f conftest.$ac_objext conftest$ac_exeext
41201 if { (ac_try="$ac_link"
41202 case "(($ac_try" in
41203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41204 *) ac_try_echo=$ac_try;;
41206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41207 (eval "$ac_link") 2>conftest.er1
41209 grep -v '^ *+' conftest.er1 >conftest.err
41211 cat conftest.err >&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } && {
41214 test -z "$ac_c_werror_flag" ||
41215 test ! -s conftest.err
41216 } && test -s conftest$ac_exeext &&
41217 $as_test_x conftest$ac_exeext; then
41218 ac_cv_func_gethostbyname=yes
41220 echo "$as_me: failed program was:" >&5
41221 sed 's/^/| /' conftest.$ac_ext >&5
41223 ac_cv_func_gethostbyname=no
41226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41227 conftest$ac_exeext conftest.$ac_ext
41229 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41230 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41231 if test $ac_cv_func_gethostbyname = yes; then
41232 cat >>confdefs.h <<\_ACEOF
41233 #define HAVE_GETHOSTBYNAME 1
41240 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41241 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41242 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41243 echo $ECHO_N "(cached) $ECHO_C" >&6
41247 ac_cpp='$CXXCPP $CPPFLAGS'
41248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41253 cat >conftest.$ac_ext <<_ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41266 struct servent *se, *res;
41269 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41275 rm -f conftest.$ac_objext
41276 if { (ac_try="$ac_compile"
41277 case "(($ac_try" in
41278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41279 *) ac_try_echo=$ac_try;;
41281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41282 (eval "$ac_compile") 2>conftest.er1
41284 grep -v '^ *+' conftest.er1 >conftest.err
41286 cat conftest.err >&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); } && {
41289 test -z "$ac_cxx_werror_flag" ||
41290 test ! -s conftest.err
41291 } && test -s conftest.$ac_objext; then
41292 ac_cv_func_which_getservbyname_r=six
41294 echo "$as_me: failed program was:" >&5
41295 sed 's/^/| /' conftest.$ac_ext >&5
41298 cat >conftest.$ac_ext <<_ACEOF
41301 cat confdefs.h >>conftest.$ac_ext
41302 cat >>conftest.$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41311 struct servent *se;
41314 (void) getservbyname_r(name, proto, se, buffer, buflen)
41320 rm -f conftest.$ac_objext
41321 if { (ac_try="$ac_compile"
41322 case "(($ac_try" in
41323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41324 *) ac_try_echo=$ac_try;;
41326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41327 (eval "$ac_compile") 2>conftest.er1
41329 grep -v '^ *+' conftest.er1 >conftest.err
41331 cat conftest.err >&5
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); } && {
41334 test -z "$ac_cxx_werror_flag" ||
41335 test ! -s conftest.err
41336 } && test -s conftest.$ac_objext; then
41337 ac_cv_func_which_getservbyname_r=five
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41343 cat >conftest.$ac_ext <<_ACEOF
41346 cat confdefs.h >>conftest.$ac_ext
41347 cat >>conftest.$ac_ext <<_ACEOF
41348 /* end confdefs.h. */
41356 struct servent *se;
41357 struct servent_data data;
41358 (void) getservbyname_r(name, proto, se, &data);
41364 rm -f conftest.$ac_objext
41365 if { (ac_try="$ac_compile"
41366 case "(($ac_try" in
41367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41368 *) ac_try_echo=$ac_try;;
41370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41371 (eval "$ac_compile") 2>conftest.er1
41373 grep -v '^ *+' conftest.er1 >conftest.err
41375 cat conftest.err >&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); } && {
41378 test -z "$ac_cxx_werror_flag" ||
41379 test ! -s conftest.err
41380 } && test -s conftest.$ac_objext; then
41381 ac_cv_func_which_getservbyname_r=four
41383 echo "$as_me: failed program was:" >&5
41384 sed 's/^/| /' conftest.$ac_ext >&5
41386 ac_cv_func_which_getservbyname_r=no
41390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402 ac_cpp='$CPP $CPPFLAGS'
41403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41410 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41411 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41413 if test $ac_cv_func_which_getservbyname_r = six; then
41414 cat >>confdefs.h <<\_ACEOF
41415 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41418 elif test $ac_cv_func_which_getservbyname_r = five; then
41419 cat >>confdefs.h <<\_ACEOF
41420 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41423 elif test $ac_cv_func_which_getservbyname_r = four; then
41424 cat >>confdefs.h <<\_ACEOF
41425 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41431 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41432 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41434 for ac_func in getservbyname
41436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41440 echo $ECHO_N "(cached) $ECHO_C" >&6
41442 cat >conftest.$ac_ext <<_ACEOF
41445 cat confdefs.h >>conftest.$ac_ext
41446 cat >>conftest.$ac_ext <<_ACEOF
41447 /* end confdefs.h. */
41448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41450 #define $ac_func innocuous_$ac_func
41452 /* System header to define __stub macros and hopefully few prototypes,
41453 which can conflict with char $ac_func (); below.
41454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41455 <limits.h> exists even on freestanding compilers. */
41458 # include <limits.h>
41460 # include <assert.h>
41465 /* Override any GCC internal prototype to avoid an error.
41466 Use char because int might match the return type of a GCC
41467 builtin and then its argument prototype would still apply. */
41472 /* The GNU C library defines this for functions which it implements
41473 to always fail with ENOSYS. Some functions are actually named
41474 something starting with __ and the normal name is an alias. */
41475 #if defined __stub_$ac_func || defined __stub___$ac_func
41482 return $ac_func ();
41487 rm -f conftest.$ac_objext conftest$ac_exeext
41488 if { (ac_try="$ac_link"
41489 case "(($ac_try" in
41490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41491 *) ac_try_echo=$ac_try;;
41493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41494 (eval "$ac_link") 2>conftest.er1
41496 grep -v '^ *+' conftest.er1 >conftest.err
41498 cat conftest.err >&5
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); } && {
41501 test -z "$ac_c_werror_flag" ||
41502 test ! -s conftest.err
41503 } && test -s conftest$ac_exeext &&
41504 $as_test_x conftest$ac_exeext; then
41505 eval "$as_ac_var=yes"
41507 echo "$as_me: failed program was:" >&5
41508 sed 's/^/| /' conftest.$ac_ext >&5
41510 eval "$as_ac_var=no"
41513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41514 conftest$ac_exeext conftest.$ac_ext
41516 ac_res=`eval echo '${'$as_ac_var'}'`
41517 { echo "$as_me:$LINENO: result: $ac_res" >&5
41518 echo "${ECHO_T}$ac_res" >&6; }
41519 if test `eval echo '${'$as_ac_var'}'` = yes; then
41520 cat >>confdefs.h <<_ACEOF
41521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41523 cat >>confdefs.h <<\_ACEOF
41524 #define HAVE_GETSERVBYNAME 1
41532 if test "$wxUSE_THREADS" = "yes"; then
41533 cat >>confdefs.h <<\_ACEOF
41534 #define wxUSE_THREADS 1
41538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41540 if test "$wx_cv_func_strtok_r" = "yes"; then
41541 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41542 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41543 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41544 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41545 { echo "$as_me:$LINENO: result: yes" >&5
41546 echo "${ECHO_T}yes" >&6; }
41548 { echo "$as_me:$LINENO: result: no" >&5
41549 echo "${ECHO_T}no" >&6; }
41554 if test "$WXGTK2" = 1 ; then
41555 cat >>confdefs.h <<_ACEOF
41556 #define __WXGTK20__ $WXGTK2
41562 if test "$WXGTK12" = 1 ; then
41563 cat >>confdefs.h <<_ACEOF
41564 #define __WXGTK12__ $WXGTK12
41569 if test "$WXGTK127" = 1 ; then
41570 cat >>confdefs.h <<_ACEOF
41571 #define __WXGTK127__ $WXGTK127
41576 if test "$WXGPE" = 1 ; then
41577 cat >>confdefs.h <<_ACEOF
41578 #define __WXGPE__ $WXGPE
41584 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41585 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41586 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41587 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41591 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41592 wxUSE_DEBUG_INFO=yes
41593 if test "$GCC" = yes; then
41594 DEBUG_CFLAGS="-ggdb"
41598 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41599 if test "$wxUSE_GTK" = 1 ; then
41600 if test "x$wxGTK_VERSION" = "x1" ; then
41601 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41606 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41607 cat >>confdefs.h <<\_ACEOF
41608 #define wxUSE_MEMORY_TRACING 1
41611 cat >>confdefs.h <<\_ACEOF
41612 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41615 cat >>confdefs.h <<\_ACEOF
41616 #define wxUSE_DEBUG_NEW_ALWAYS 1
41619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41622 if test "$wxUSE_DMALLOC" = "yes" ; then
41623 DMALLOC_LIBS="-ldmallocthcxx"
41627 if test "$wxUSE_PROFILE" = "yes" ; then
41628 PROFILE_FLAGS=" -pg"
41631 if test "$GCC" = "yes" ; then
41632 if test "$wxUSE_NO_RTTI" = "yes" ; then
41633 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41635 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41636 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41638 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41639 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41644 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41647 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41653 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41654 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41655 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41657 if test "$wxUSE_OPTIMISE" = "no" ; then
41658 if test "$GCC" = yes ; then
41659 OPTIMISE_CFLAGS="-O0"
41662 if test "$GCC" = yes ; then
41664 *-pc-os2_emx | *-pc-os2-emx )
41665 OPTIMISE_CFLAGS="-O2"
41668 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41672 OPTIMISE_CFLAGS="-O"
41678 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41679 cat >>confdefs.h <<\_ACEOF
41680 #define WXWIN_COMPATIBILITY_2_6 1
41684 WXWIN_COMPATIBILITY_2_8="yes"
41687 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41688 cat >>confdefs.h <<\_ACEOF
41689 #define WXWIN_COMPATIBILITY_2_8 1
41695 if test "$wxUSE_GUI" = "yes"; then
41696 cat >>confdefs.h <<\_ACEOF
41697 #define wxUSE_GUI 1
41704 if test "$wxUSE_UNIX" = "yes"; then
41705 cat >>confdefs.h <<\_ACEOF
41706 #define wxUSE_UNIX 1
41712 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41716 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41717 if test "$USE_DOS" = 1; then
41721 for ac_func in dlopen
41723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 cat >conftest.$ac_ext <<_ACEOF
41732 cat confdefs.h >>conftest.$ac_ext
41733 cat >>conftest.$ac_ext <<_ACEOF
41734 /* end confdefs.h. */
41735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41737 #define $ac_func innocuous_$ac_func
41739 /* System header to define __stub macros and hopefully few prototypes,
41740 which can conflict with char $ac_func (); below.
41741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41742 <limits.h> exists even on freestanding compilers. */
41745 # include <limits.h>
41747 # include <assert.h>
41752 /* Override any GCC internal prototype to avoid an error.
41753 Use char because int might match the return type of a GCC
41754 builtin and then its argument prototype would still apply. */
41759 /* The GNU C library defines this for functions which it implements
41760 to always fail with ENOSYS. Some functions are actually named
41761 something starting with __ and the normal name is an alias. */
41762 #if defined __stub_$ac_func || defined __stub___$ac_func
41769 return $ac_func ();
41774 rm -f conftest.$ac_objext conftest$ac_exeext
41775 if { (ac_try="$ac_link"
41776 case "(($ac_try" in
41777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41778 *) ac_try_echo=$ac_try;;
41780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41781 (eval "$ac_link") 2>conftest.er1
41783 grep -v '^ *+' conftest.er1 >conftest.err
41785 cat conftest.err >&5
41786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787 (exit $ac_status); } && {
41788 test -z "$ac_c_werror_flag" ||
41789 test ! -s conftest.err
41790 } && test -s conftest$ac_exeext &&
41791 $as_test_x conftest$ac_exeext; then
41792 eval "$as_ac_var=yes"
41794 echo "$as_me: failed program was:" >&5
41795 sed 's/^/| /' conftest.$ac_ext >&5
41797 eval "$as_ac_var=no"
41800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41801 conftest$ac_exeext conftest.$ac_ext
41803 ac_res=`eval echo '${'$as_ac_var'}'`
41804 { echo "$as_me:$LINENO: result: $ac_res" >&5
41805 echo "${ECHO_T}$ac_res" >&6; }
41806 if test `eval echo '${'$as_ac_var'}'` = yes; then
41807 cat >>confdefs.h <<_ACEOF
41808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41811 cat >>confdefs.h <<\_ACEOF
41812 #define HAVE_DLOPEN 1
41819 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41820 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41821 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41822 echo $ECHO_N "(cached) $ECHO_C" >&6
41824 ac_check_lib_save_LIBS=$LIBS
41826 cat >conftest.$ac_ext <<_ACEOF
41829 cat confdefs.h >>conftest.$ac_ext
41830 cat >>conftest.$ac_ext <<_ACEOF
41831 /* end confdefs.h. */
41833 /* Override any GCC internal prototype to avoid an error.
41834 Use char because int might match the return type of a GCC
41835 builtin and then its argument prototype would still apply. */
41848 rm -f conftest.$ac_objext conftest$ac_exeext
41849 if { (ac_try="$ac_link"
41850 case "(($ac_try" in
41851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41852 *) ac_try_echo=$ac_try;;
41854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41855 (eval "$ac_link") 2>conftest.er1
41857 grep -v '^ *+' conftest.er1 >conftest.err
41859 cat conftest.err >&5
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); } && {
41862 test -z "$ac_c_werror_flag" ||
41863 test ! -s conftest.err
41864 } && test -s conftest$ac_exeext &&
41865 $as_test_x conftest$ac_exeext; then
41866 ac_cv_lib_dl_dlopen=yes
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41871 ac_cv_lib_dl_dlopen=no
41874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41875 conftest$ac_exeext conftest.$ac_ext
41876 LIBS=$ac_check_lib_save_LIBS
41878 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41879 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41880 if test $ac_cv_lib_dl_dlopen = yes; then
41882 cat >>confdefs.h <<\_ACEOF
41883 #define HAVE_DLOPEN 1
41887 DL_LINK=" -ldl$DL_LINK"
41892 for ac_func in shl_load
41894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41898 echo $ECHO_N "(cached) $ECHO_C" >&6
41900 cat >conftest.$ac_ext <<_ACEOF
41903 cat confdefs.h >>conftest.$ac_ext
41904 cat >>conftest.$ac_ext <<_ACEOF
41905 /* end confdefs.h. */
41906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41908 #define $ac_func innocuous_$ac_func
41910 /* System header to define __stub macros and hopefully few prototypes,
41911 which can conflict with char $ac_func (); below.
41912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41913 <limits.h> exists even on freestanding compilers. */
41916 # include <limits.h>
41918 # include <assert.h>
41923 /* Override any GCC internal prototype to avoid an error.
41924 Use char because int might match the return type of a GCC
41925 builtin and then its argument prototype would still apply. */
41930 /* The GNU C library defines this for functions which it implements
41931 to always fail with ENOSYS. Some functions are actually named
41932 something starting with __ and the normal name is an alias. */
41933 #if defined __stub_$ac_func || defined __stub___$ac_func
41940 return $ac_func ();
41945 rm -f conftest.$ac_objext conftest$ac_exeext
41946 if { (ac_try="$ac_link"
41947 case "(($ac_try" in
41948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41949 *) ac_try_echo=$ac_try;;
41951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41952 (eval "$ac_link") 2>conftest.er1
41954 grep -v '^ *+' conftest.er1 >conftest.err
41956 cat conftest.err >&5
41957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41958 (exit $ac_status); } && {
41959 test -z "$ac_c_werror_flag" ||
41960 test ! -s conftest.err
41961 } && test -s conftest$ac_exeext &&
41962 $as_test_x conftest$ac_exeext; then
41963 eval "$as_ac_var=yes"
41965 echo "$as_me: failed program was:" >&5
41966 sed 's/^/| /' conftest.$ac_ext >&5
41968 eval "$as_ac_var=no"
41971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41972 conftest$ac_exeext conftest.$ac_ext
41974 ac_res=`eval echo '${'$as_ac_var'}'`
41975 { echo "$as_me:$LINENO: result: $ac_res" >&5
41976 echo "${ECHO_T}$ac_res" >&6; }
41977 if test `eval echo '${'$as_ac_var'}'` = yes; then
41978 cat >>confdefs.h <<_ACEOF
41979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41982 cat >>confdefs.h <<\_ACEOF
41983 #define HAVE_SHL_LOAD 1
41990 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41991 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41992 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41993 echo $ECHO_N "(cached) $ECHO_C" >&6
41995 ac_check_lib_save_LIBS=$LIBS
41996 LIBS="-lshl_load $LIBS"
41997 cat >conftest.$ac_ext <<_ACEOF
42000 cat confdefs.h >>conftest.$ac_ext
42001 cat >>conftest.$ac_ext <<_ACEOF
42002 /* end confdefs.h. */
42004 /* Override any GCC internal prototype to avoid an error.
42005 Use char because int might match the return type of a GCC
42006 builtin and then its argument prototype would still apply. */
42019 rm -f conftest.$ac_objext conftest$ac_exeext
42020 if { (ac_try="$ac_link"
42021 case "(($ac_try" in
42022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42023 *) ac_try_echo=$ac_try;;
42025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42026 (eval "$ac_link") 2>conftest.er1
42028 grep -v '^ *+' conftest.er1 >conftest.err
42030 cat conftest.err >&5
42031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42032 (exit $ac_status); } && {
42033 test -z "$ac_c_werror_flag" ||
42034 test ! -s conftest.err
42035 } && test -s conftest$ac_exeext &&
42036 $as_test_x conftest$ac_exeext; then
42037 ac_cv_lib_shl_load_dld=yes
42039 echo "$as_me: failed program was:" >&5
42040 sed 's/^/| /' conftest.$ac_ext >&5
42042 ac_cv_lib_shl_load_dld=no
42045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42046 conftest$ac_exeext conftest.$ac_ext
42047 LIBS=$ac_check_lib_save_LIBS
42049 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42050 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42051 if test $ac_cv_lib_shl_load_dld = yes; then
42054 DL_LINK=" -ldld$DL_LINK"
42070 if test "$HAVE_DL_FUNCS" = 1; then
42072 for ac_func in dlerror
42074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42078 echo $ECHO_N "(cached) $ECHO_C" >&6
42080 cat >conftest.$ac_ext <<_ACEOF
42083 cat confdefs.h >>conftest.$ac_ext
42084 cat >>conftest.$ac_ext <<_ACEOF
42085 /* end confdefs.h. */
42086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42088 #define $ac_func innocuous_$ac_func
42090 /* System header to define __stub macros and hopefully few prototypes,
42091 which can conflict with char $ac_func (); below.
42092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42093 <limits.h> exists even on freestanding compilers. */
42096 # include <limits.h>
42098 # include <assert.h>
42103 /* Override any GCC internal prototype to avoid an error.
42104 Use char because int might match the return type of a GCC
42105 builtin and then its argument prototype would still apply. */
42110 /* The GNU C library defines this for functions which it implements
42111 to always fail with ENOSYS. Some functions are actually named
42112 something starting with __ and the normal name is an alias. */
42113 #if defined __stub_$ac_func || defined __stub___$ac_func
42120 return $ac_func ();
42125 rm -f conftest.$ac_objext conftest$ac_exeext
42126 if { (ac_try="$ac_link"
42127 case "(($ac_try" in
42128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42129 *) ac_try_echo=$ac_try;;
42131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42132 (eval "$ac_link") 2>conftest.er1
42134 grep -v '^ *+' conftest.er1 >conftest.err
42136 cat conftest.err >&5
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); } && {
42139 test -z "$ac_c_werror_flag" ||
42140 test ! -s conftest.err
42141 } && test -s conftest$ac_exeext &&
42142 $as_test_x conftest$ac_exeext; then
42143 eval "$as_ac_var=yes"
42145 echo "$as_me: failed program was:" >&5
42146 sed 's/^/| /' conftest.$ac_ext >&5
42148 eval "$as_ac_var=no"
42151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42152 conftest$ac_exeext conftest.$ac_ext
42154 ac_res=`eval echo '${'$as_ac_var'}'`
42155 { echo "$as_me:$LINENO: result: $ac_res" >&5
42156 echo "${ECHO_T}$ac_res" >&6; }
42157 if test `eval echo '${'$as_ac_var'}'` = yes; then
42158 cat >>confdefs.h <<_ACEOF
42159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42161 cat >>confdefs.h <<\_ACEOF
42162 #define HAVE_DLERROR 1
42167 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42168 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42169 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42172 ac_check_lib_save_LIBS=$LIBS
42174 cat >conftest.$ac_ext <<_ACEOF
42177 cat confdefs.h >>conftest.$ac_ext
42178 cat >>conftest.$ac_ext <<_ACEOF
42179 /* end confdefs.h. */
42181 /* Override any GCC internal prototype to avoid an error.
42182 Use char because int might match the return type of a GCC
42183 builtin and then its argument prototype would still apply. */
42196 rm -f conftest.$ac_objext conftest$ac_exeext
42197 if { (ac_try="$ac_link"
42198 case "(($ac_try" in
42199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42200 *) ac_try_echo=$ac_try;;
42202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42203 (eval "$ac_link") 2>conftest.er1
42205 grep -v '^ *+' conftest.er1 >conftest.err
42207 cat conftest.err >&5
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); } && {
42210 test -z "$ac_c_werror_flag" ||
42211 test ! -s conftest.err
42212 } && test -s conftest$ac_exeext &&
42213 $as_test_x conftest$ac_exeext; then
42214 ac_cv_lib_dl_dlerror=yes
42216 echo "$as_me: failed program was:" >&5
42217 sed 's/^/| /' conftest.$ac_ext >&5
42219 ac_cv_lib_dl_dlerror=no
42222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42223 conftest$ac_exeext conftest.$ac_ext
42224 LIBS=$ac_check_lib_save_LIBS
42226 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42227 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42228 if test $ac_cv_lib_dl_dlerror = yes; then
42229 cat >>confdefs.h <<\_ACEOF
42230 #define HAVE_DLERROR 1
42243 if test "$USE_DARWIN" = 1; then
42247 if test "$HAVE_DL_FUNCS" = 0; then
42248 if test "$HAVE_SHL_FUNCS" = 0; then
42249 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42250 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42251 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42252 wxUSE_DYNAMIC_LOADER=no
42253 wxUSE_DYNLIB_CLASS=no
42255 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42256 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42263 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42264 cat >>confdefs.h <<\_ACEOF
42265 #define wxUSE_DYNAMIC_LOADER 1
42269 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define wxUSE_DYNLIB_CLASS 1
42278 if test "$wxUSE_PLUGINS" = "yes" ; then
42279 if test "$wxUSE_SHARED" = "no" ; then
42280 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42281 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42284 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42285 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42286 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42289 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42290 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42291 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42294 if test "$wxUSE_PLUGINS" = "yes" ; then
42295 cat >>confdefs.h <<\_ACEOF
42296 #define wxUSE_PLUGINS 1
42303 if test "$wxUSE_STL" = "yes"; then
42304 cat >>confdefs.h <<\_ACEOF
42305 #define wxUSE_STL 1
42310 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42311 cat >>confdefs.h <<\_ACEOF
42312 #define wxUSE_EXTENDED_RTTI 1
42317 if test "$wxUSE_ANY" = "yes"; then
42318 cat >>confdefs.h <<\_ACEOF
42319 #define wxUSE_ANY 1
42324 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42325 cat >>confdefs.h <<\_ACEOF
42326 #define wxUSE_APPLE_IEEE 1
42331 if test "$wxUSE_TIMER" = "yes"; then
42332 cat >>confdefs.h <<\_ACEOF
42333 #define wxUSE_TIMER 1
42338 if test "$USE_UNIX" = 1 ; then
42339 if test "$wxUSE_MGL" != 1; then
42340 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42341 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42342 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42343 echo $ECHO_N "(cached) $ECHO_C" >&6
42346 cat >conftest.$ac_ext <<_ACEOF
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42353 #include <sys/ioctl.h>
42354 #include <sys/soundcard.h>
42360 ioctl(0, SNDCTL_DSP_SPEED, 0);
42366 rm -f conftest.$ac_objext conftest$ac_exeext
42367 if { (ac_try="$ac_link"
42368 case "(($ac_try" in
42369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42370 *) ac_try_echo=$ac_try;;
42372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42373 (eval "$ac_link") 2>conftest.er1
42375 grep -v '^ *+' conftest.er1 >conftest.err
42377 cat conftest.err >&5
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); } && {
42380 test -z "$ac_c_werror_flag" ||
42381 test ! -s conftest.err
42382 } && test -s conftest$ac_exeext &&
42383 $as_test_x conftest$ac_exeext; then
42384 ac_cv_header_sys_soundcard=yes
42386 echo "$as_me: failed program was:" >&5
42387 sed 's/^/| /' conftest.$ac_ext >&5
42391 LIBS="$saveLibs -lossaudio"
42392 cat >conftest.$ac_ext <<_ACEOF
42395 cat confdefs.h >>conftest.$ac_ext
42396 cat >>conftest.$ac_ext <<_ACEOF
42397 /* end confdefs.h. */
42399 #include <sys/ioctl.h>
42400 #include <sys/soundcard.h>
42406 ioctl(0, SNDCTL_DSP_SPEED, 0);
42412 rm -f conftest.$ac_objext conftest$ac_exeext
42413 if { (ac_try="$ac_link"
42414 case "(($ac_try" in
42415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42416 *) ac_try_echo=$ac_try;;
42418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42419 (eval "$ac_link") 2>conftest.er1
42421 grep -v '^ *+' conftest.er1 >conftest.err
42423 cat conftest.err >&5
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); } && {
42426 test -z "$ac_c_werror_flag" ||
42427 test ! -s conftest.err
42428 } && test -s conftest$ac_exeext &&
42429 $as_test_x conftest$ac_exeext; then
42430 ac_cv_header_sys_soundcard=yes
42432 echo "$as_me: failed program was:" >&5
42433 sed 's/^/| /' conftest.$ac_ext >&5
42437 ac_cv_header_sys_soundcard=no
42442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42443 conftest$ac_exeext conftest.$ac_ext
42448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42449 conftest$ac_exeext conftest.$ac_ext
42452 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42453 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42456 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42457 cat >>confdefs.h <<\_ACEOF
42458 #define HAVE_SYS_SOUNDCARD_H 1
42465 if test "$wxUSE_SOUND" = "yes"; then
42466 if test "$USE_UNIX" = 1 ; then
42467 if test "$wxUSE_LIBSDL" != "no"; then
42469 # Check whether --with-sdl-prefix was given.
42470 if test "${with_sdl_prefix+set}" = set; then
42471 withval=$with_sdl_prefix; sdl_prefix="$withval"
42477 # Check whether --with-sdl-exec-prefix was given.
42478 if test "${with_sdl_exec_prefix+set}" = set; then
42479 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42484 # Check whether --enable-sdltest was given.
42485 if test "${enable_sdltest+set}" = set; then
42486 enableval=$enable_sdltest;
42492 if test x$sdl_exec_prefix != x ; then
42493 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42494 if test x${SDL_CONFIG+set} != xset ; then
42495 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42498 if test x$sdl_prefix != x ; then
42499 sdl_args="$sdl_args --prefix=$sdl_prefix"
42500 if test x${SDL_CONFIG+set} != xset ; then
42501 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42505 if test "x$prefix" != xNONE; then
42506 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42508 # Extract the first word of "sdl-config", so it can be a program name with args.
42509 set dummy sdl-config; ac_word=$2
42510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42512 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42513 echo $ECHO_N "(cached) $ECHO_C" >&6
42515 case $SDL_CONFIG in
42517 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42521 for as_dir in $PATH
42524 test -z "$as_dir" && as_dir=.
42525 for ac_exec_ext in '' $ac_executable_extensions; do
42526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42527 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42535 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42539 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42540 if test -n "$SDL_CONFIG"; then
42541 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42542 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42544 { echo "$as_me:$LINENO: result: no" >&5
42545 echo "${ECHO_T}no" >&6; }
42549 min_sdl_version=1.2.0
42550 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42551 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42553 if test "$SDL_CONFIG" = "no" ; then
42556 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42557 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42559 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42561 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42563 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42565 if test "x$enable_sdltest" = "xyes" ; then
42566 ac_save_CFLAGS="$CFLAGS"
42567 ac_save_CXXFLAGS="$CXXFLAGS"
42568 ac_save_LIBS="$LIBS"
42569 CFLAGS="$CFLAGS $SDL_CFLAGS"
42570 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42571 LIBS="$LIBS $SDL_LIBS"
42573 if test "$cross_compiling" = yes; then
42574 echo $ac_n "cross compiling; assumed OK... $ac_c"
42576 cat >conftest.$ac_ext <<_ACEOF
42579 cat confdefs.h >>conftest.$ac_ext
42580 cat >>conftest.$ac_ext <<_ACEOF
42581 /* end confdefs.h. */
42584 #include <stdlib.h>
42585 #include <string.h>
42589 my_strdup (char *str)
42595 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42596 strcpy (new_str, str);
42604 int main (int argc, char *argv[])
42606 int major, minor, micro;
42609 /* This hangs on some systems (?)
42610 system ("touch conf.sdltest");
42612 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42614 /* HP/UX 9 (%@#!) writes to sscanf strings */
42615 tmp_version = my_strdup("$min_sdl_version");
42616 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42617 printf("%s, bad version string\n", "$min_sdl_version");
42621 if (($sdl_major_version > major) ||
42622 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42623 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42629 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42630 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42631 printf("*** best to upgrade to the required version.\n");
42632 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42633 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42634 printf("*** config.cache before re-running configure\n");
42641 rm -f conftest$ac_exeext
42642 if { (ac_try="$ac_link"
42643 case "(($ac_try" in
42644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42645 *) ac_try_echo=$ac_try;;
42647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42648 (eval "$ac_link") 2>&5
42650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42652 { (case "(($ac_try" in
42653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42654 *) ac_try_echo=$ac_try;;
42656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42657 (eval "$ac_try") 2>&5
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); }; }; then
42663 echo "$as_me: program exited with status $ac_status" >&5
42664 echo "$as_me: failed program was:" >&5
42665 sed 's/^/| /' conftest.$ac_ext >&5
42667 ( exit $ac_status )
42670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42674 CFLAGS="$ac_save_CFLAGS"
42675 CXXFLAGS="$ac_save_CXXFLAGS"
42676 LIBS="$ac_save_LIBS"
42679 if test "x$no_sdl" = x ; then
42680 { echo "$as_me:$LINENO: result: yes" >&5
42681 echo "${ECHO_T}yes" >&6; }
42683 EXTRALIBS_SDL="$SDL_LIBS"
42684 CFLAGS="$SDL_CFLAGS $CFLAGS"
42685 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_LIBSDL 1
42692 { echo "$as_me:$LINENO: result: no" >&5
42693 echo "${ECHO_T}no" >&6; }
42694 if test "$SDL_CONFIG" = "no" ; then
42695 echo "*** The sdl-config script installed by SDL could not be found"
42696 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42697 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42698 echo "*** full path to sdl-config."
42700 if test -f conf.sdltest ; then
42703 echo "*** Could not run SDL test program, checking why..."
42704 CFLAGS="$CFLAGS $SDL_CFLAGS"
42705 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42706 LIBS="$LIBS $SDL_LIBS"
42707 cat >conftest.$ac_ext <<_ACEOF
42710 cat confdefs.h >>conftest.$ac_ext
42711 cat >>conftest.$ac_ext <<_ACEOF
42712 /* end confdefs.h. */
42717 int main(int argc, char *argv[])
42720 #define main K_and_R_C_main
42730 rm -f conftest.$ac_objext conftest$ac_exeext
42731 if { (ac_try="$ac_link"
42732 case "(($ac_try" in
42733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42734 *) ac_try_echo=$ac_try;;
42736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42737 (eval "$ac_link") 2>conftest.er1
42739 grep -v '^ *+' conftest.er1 >conftest.err
42741 cat conftest.err >&5
42742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42743 (exit $ac_status); } && {
42744 test -z "$ac_c_werror_flag" ||
42745 test ! -s conftest.err
42746 } && test -s conftest$ac_exeext &&
42747 $as_test_x conftest$ac_exeext; then
42748 echo "*** The test program compiled, but did not run. This usually means"
42749 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42750 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42751 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42752 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42753 echo "*** is required on your system"
42755 echo "*** If you have an old version installed, it is best to remove it, although"
42756 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42758 echo "$as_me: failed program was:" >&5
42759 sed 's/^/| /' conftest.$ac_ext >&5
42761 echo "*** The test program failed to compile or link. See the file config.log for the"
42762 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42763 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42764 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42768 conftest$ac_exeext conftest.$ac_ext
42769 CFLAGS="$ac_save_CFLAGS"
42770 CXXFLAGS="$ac_save_CXXFLAGS"
42771 LIBS="$ac_save_LIBS"
42782 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42787 if test "$wxUSE_MGL" = 1; then
42788 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42789 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42795 if test "$wxUSE_SOUND" = "yes"; then
42796 cat >>confdefs.h <<\_ACEOF
42797 #define wxUSE_SOUND 1
42800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42803 if test "$WXGTK2" = 1; then
42806 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42807 if test -n "$ac_tool_prefix"; then
42808 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42809 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42812 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42813 echo $ECHO_N "(cached) $ECHO_C" >&6
42815 case $PKG_CONFIG in
42817 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42821 for as_dir in $PATH
42824 test -z "$as_dir" && as_dir=.
42825 for ac_exec_ext in '' $ac_executable_extensions; do
42826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42827 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42838 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42839 if test -n "$PKG_CONFIG"; then
42840 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42841 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42843 { echo "$as_me:$LINENO: result: no" >&5
42844 echo "${ECHO_T}no" >&6; }
42849 if test -z "$ac_cv_path_PKG_CONFIG"; then
42850 ac_pt_PKG_CONFIG=$PKG_CONFIG
42851 # Extract the first word of "pkg-config", so it can be a program name with args.
42852 set dummy pkg-config; ac_word=$2
42853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42855 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42856 echo $ECHO_N "(cached) $ECHO_C" >&6
42858 case $ac_pt_PKG_CONFIG in
42860 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42864 for as_dir in $PATH
42867 test -z "$as_dir" && as_dir=.
42868 for ac_exec_ext in '' $ac_executable_extensions; do
42869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42870 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42881 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42882 if test -n "$ac_pt_PKG_CONFIG"; then
42883 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42884 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42886 { echo "$as_me:$LINENO: result: no" >&5
42887 echo "${ECHO_T}no" >&6; }
42890 if test "x$ac_pt_PKG_CONFIG" = x; then
42893 case $cross_compiling:$ac_tool_warned in
42895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42896 whose name does not start with the host triplet. If you think this
42897 configuration is useful to you, please write to autoconf@gnu.org." >&5
42898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42899 whose name does not start with the host triplet. If you think this
42900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42901 ac_tool_warned=yes ;;
42903 PKG_CONFIG=$ac_pt_PKG_CONFIG
42906 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42910 if test -n "$PKG_CONFIG"; then
42911 _pkg_min_version=0.9.0
42912 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42913 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42914 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42915 { echo "$as_me:$LINENO: result: yes" >&5
42916 echo "${ECHO_T}yes" >&6; }
42918 { echo "$as_me:$LINENO: result: no" >&5
42919 echo "${ECHO_T}no" >&6; }
42925 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42927 if test "$wxUSE_GTKPRINT" = "yes" ; then
42931 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42932 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42934 if test -n "$PKG_CONFIG"; then
42935 if test -n "$GTKPRINT_CFLAGS"; then
42936 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42938 if test -n "$PKG_CONFIG" && \
42939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42940 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42943 (exit $ac_status); }; then
42944 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42952 if test -n "$PKG_CONFIG"; then
42953 if test -n "$GTKPRINT_LIBS"; then
42954 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42956 if test -n "$PKG_CONFIG" && \
42957 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42958 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42961 (exit $ac_status); }; then
42962 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42973 if test $pkg_failed = yes; then
42975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42976 _pkg_short_errors_supported=yes
42978 _pkg_short_errors_supported=no
42980 if test $_pkg_short_errors_supported = yes; then
42981 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42983 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42985 # Put the nasty error message in config.log where it belongs
42986 echo "$GTKPRINT_PKG_ERRORS" >&5
42989 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42990 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42991 wxUSE_GTKPRINT="no"
42994 elif test $pkg_failed = untried; then
42996 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42997 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42998 wxUSE_GTKPRINT="no"
43002 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43003 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43004 { echo "$as_me:$LINENO: result: yes" >&5
43005 echo "${ECHO_T}yes" >&6; }
43007 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43008 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43009 cat >>confdefs.h <<\_ACEOF
43010 #define wxUSE_GTKPRINT 1
43017 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43021 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43022 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43024 if test -n "$PKG_CONFIG"; then
43025 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43026 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43028 if test -n "$PKG_CONFIG" && \
43029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43030 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43033 (exit $ac_status); }; then
43034 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43042 if test -n "$PKG_CONFIG"; then
43043 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43044 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43046 if test -n "$PKG_CONFIG" && \
43047 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43048 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43051 (exit $ac_status); }; then
43052 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43063 if test $pkg_failed = yes; then
43065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43066 _pkg_short_errors_supported=yes
43068 _pkg_short_errors_supported=no
43070 if test $_pkg_short_errors_supported = yes; then
43071 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43073 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43075 # Put the nasty error message in config.log where it belongs
43076 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43079 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43080 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43081 wxUSE_LIBGNOMEPRINT="no"
43084 elif test $pkg_failed = untried; then
43086 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43087 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43088 wxUSE_LIBGNOMEPRINT="no"
43092 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43093 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43094 { echo "$as_me:$LINENO: result: yes" >&5
43095 echo "${ECHO_T}yes" >&6; }
43097 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43098 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43099 cat >>confdefs.h <<\_ACEOF
43100 #define wxUSE_LIBGNOMEPRINT 1
43108 if test "$wxUSE_MIMETYPE" = "yes" ; then
43109 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43113 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43114 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43116 if test -n "$PKG_CONFIG"; then
43117 if test -n "$GNOMEVFS_CFLAGS"; then
43118 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43120 if test -n "$PKG_CONFIG" && \
43121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43122 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125 (exit $ac_status); }; then
43126 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43134 if test -n "$PKG_CONFIG"; then
43135 if test -n "$GNOMEVFS_LIBS"; then
43136 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43138 if test -n "$PKG_CONFIG" && \
43139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43140 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43143 (exit $ac_status); }; then
43144 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43155 if test $pkg_failed = yes; then
43157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43158 _pkg_short_errors_supported=yes
43160 _pkg_short_errors_supported=no
43162 if test $_pkg_short_errors_supported = yes; then
43163 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43165 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43167 # Put the nasty error message in config.log where it belongs
43168 echo "$GNOMEVFS_PKG_ERRORS" >&5
43171 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43172 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43173 wxUSE_LIBGNOMEVFS="no"
43176 elif test $pkg_failed = untried; then
43178 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43179 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43180 wxUSE_LIBGNOMEVFS="no"
43184 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43185 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43186 { echo "$as_me:$LINENO: result: yes" >&5
43187 echo "${ECHO_T}yes" >&6; }
43189 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43190 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_LIBGNOMEVFS 1
43200 if test "$wxUSE_LIBHILDON" = "yes" ; then
43203 { echo "$as_me:$LINENO: checking for HILDON" >&5
43204 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43206 if test -n "$PKG_CONFIG"; then
43207 if test -n "$HILDON_CFLAGS"; then
43208 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43210 if test -n "$PKG_CONFIG" && \
43211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43212 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); }; then
43216 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43224 if test -n "$PKG_CONFIG"; then
43225 if test -n "$HILDON_LIBS"; then
43226 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43228 if test -n "$PKG_CONFIG" && \
43229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43230 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); }; then
43234 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43245 if test $pkg_failed = yes; then
43247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43248 _pkg_short_errors_supported=yes
43250 _pkg_short_errors_supported=no
43252 if test $_pkg_short_errors_supported = yes; then
43253 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43255 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43257 # Put the nasty error message in config.log where it belongs
43258 echo "$HILDON_PKG_ERRORS" >&5
43261 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43262 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43263 wxUSE_LIBHILDON="no"
43267 elif test $pkg_failed = untried; then
43269 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43270 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43271 wxUSE_LIBHILDON="no"
43276 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43277 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43278 { echo "$as_me:$LINENO: result: yes" >&5
43279 echo "${ECHO_T}yes" >&6; }
43281 EXTRALIBS_HILDON="$HILDON_LIBS"
43282 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43283 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43284 cat >>confdefs.h <<\_ACEOF
43285 #define wxUSE_LIBHILDON 1
43292 if test "$ac_hildon_lgpl" = 0 ; then
43295 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43296 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43298 if test -n "$PKG_CONFIG"; then
43299 if test -n "$HILDON2_CFLAGS"; then
43300 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43302 if test -n "$PKG_CONFIG" && \
43303 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43304 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43307 (exit $ac_status); }; then
43308 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43316 if test -n "$PKG_CONFIG"; then
43317 if test -n "$HILDON2_LIBS"; then
43318 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43320 if test -n "$PKG_CONFIG" && \
43321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43322 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43325 (exit $ac_status); }; then
43326 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43337 if test $pkg_failed = yes; then
43339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43340 _pkg_short_errors_supported=yes
43342 _pkg_short_errors_supported=no
43344 if test $_pkg_short_errors_supported = yes; then
43345 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43347 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43349 # Put the nasty error message in config.log where it belongs
43350 echo "$HILDON2_PKG_ERRORS" >&5
43353 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43354 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43355 wxUSE_LIBHILDON2="no"
43358 elif test $pkg_failed = untried; then
43360 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43361 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43362 wxUSE_LIBHILDON2="no"
43366 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43367 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43368 { echo "$as_me:$LINENO: result: yes" >&5
43369 echo "${ECHO_T}yes" >&6; }
43371 EXTRALIBS_HILDON="$HILDON2_LIBS"
43372 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43373 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43374 cat >>confdefs.h <<\_ACEOF
43375 #define wxUSE_LIBHILDON2 1
43384 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43385 cat >>confdefs.h <<\_ACEOF
43386 #define wxUSE_CMDLINE_PARSER 1
43391 if test "$wxUSE_STOPWATCH" = "yes"; then
43392 cat >>confdefs.h <<\_ACEOF
43393 #define wxUSE_STOPWATCH 1
43398 if test "$wxUSE_DATETIME" = "yes"; then
43399 cat >>confdefs.h <<\_ACEOF
43400 #define wxUSE_DATETIME 1
43405 if test "$wxUSE_FILE" = "yes"; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_FILE 1
43412 if test "$wxUSE_FFILE" = "yes"; then
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_FFILE 1
43419 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43420 if test "$wxUSE_STREAMS" != yes; then
43421 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43422 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43423 wxUSE_ARCHIVE_STREAMS=no
43425 cat >>confdefs.h <<\_ACEOF
43426 #define wxUSE_ARCHIVE_STREAMS 1
43432 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43433 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43434 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43435 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43436 elif test "$wxUSE_ZLIB" = "no"; then
43437 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43438 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43440 cat >>confdefs.h <<\_ACEOF
43441 #define wxUSE_ZIPSTREAM 1
43447 if test "$wxUSE_TARSTREAM" = "yes"; then
43448 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43449 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43450 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_TARSTREAM 1
43459 if test "$wxUSE_FILESYSTEM" = "yes"; then
43460 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43461 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43462 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43463 wxUSE_FILESYSTEM=no
43465 cat >>confdefs.h <<\_ACEOF
43466 #define wxUSE_FILESYSTEM 1
43472 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43473 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43474 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43475 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_FS_ARCHIVE 1
43484 if test "$wxUSE_FS_ZIP" = "yes"; then
43485 if test "$wxUSE_FS_ARCHIVE" != yes; then
43486 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43487 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43489 cat >>confdefs.h <<\_ACEOF
43490 #define wxUSE_FS_ZIP 1
43496 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43497 if test "$USE_UNIX" != 1; then
43498 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43499 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43500 wxUSE_ON_FATAL_EXCEPTION=no
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_ON_FATAL_EXCEPTION 1
43509 if test "$wxUSE_STACKWALKER" = "yes"; then
43510 cat >>confdefs.h <<\_ACEOF
43511 #define wxUSE_STACKWALKER 1
43516 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43517 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43518 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43519 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43520 wxUSE_DEBUGREPORT=no
43522 cat >>confdefs.h <<\_ACEOF
43523 #define wxUSE_DEBUGREPORT 1
43526 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43532 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43533 cat >>confdefs.h <<\_ACEOF
43534 #define wxUSE_SNGLINST_CHECKER 1
43539 if test "$wxUSE_BUSYINFO" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_BUSYINFO 1
43546 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43547 cat >>confdefs.h <<\_ACEOF
43548 #define wxUSE_STD_IOSTREAM 1
43553 if test "$wxUSE_STD_STRING" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define wxUSE_STD_STRING 1
43560 if test "$wxUSE_STDPATHS" = "yes"; then
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxUSE_STDPATHS 1
43567 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43568 cat >>confdefs.h <<\_ACEOF
43569 #define wxUSE_TEXTBUFFER 1
43574 if test "$wxUSE_TEXTFILE" = "yes"; then
43575 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43576 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43577 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_TEXTFILE 1
43586 if test "$wxUSE_CONFIG" = "yes" ; then
43587 if test "$wxUSE_TEXTFILE" != "yes"; then
43588 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43589 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43591 cat >>confdefs.h <<\_ACEOF
43592 #define wxUSE_CONFIG 1
43595 cat >>confdefs.h <<\_ACEOF
43596 #define wxUSE_CONFIG_NATIVE 1
43599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43603 if test "$wxUSE_INTL" = "yes" ; then
43604 if test "$wxUSE_FILE" != "yes"; then
43605 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43606 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43608 cat >>confdefs.h <<\_ACEOF
43609 #define wxUSE_INTL 1
43612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43613 GUIDIST="$GUIDIST INTL_DIST"
43617 if test "$wxUSE_XLOCALE" = "yes" ; then
43618 cat >>confdefs.h <<\_ACEOF
43619 #define wxUSE_XLOCALE 1
43622 { echo "$as_me:$LINENO: checking for locale_t" >&5
43623 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43624 if test "${ac_cv_type_locale_t+set}" = set; then
43625 echo $ECHO_N "(cached) $ECHO_C" >&6
43627 cat >conftest.$ac_ext <<_ACEOF
43630 cat confdefs.h >>conftest.$ac_ext
43631 cat >>conftest.$ac_ext <<_ACEOF
43632 /* end confdefs.h. */
43633 #include <xlocale.h>
43634 #include <locale.h>
43636 typedef locale_t ac__type_new_;
43640 if ((ac__type_new_ *) 0)
43642 if (sizeof (ac__type_new_))
43648 rm -f conftest.$ac_objext
43649 if { (ac_try="$ac_compile"
43650 case "(($ac_try" in
43651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43652 *) ac_try_echo=$ac_try;;
43654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43655 (eval "$ac_compile") 2>conftest.er1
43657 grep -v '^ *+' conftest.er1 >conftest.err
43659 cat conftest.err >&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } && {
43662 test -z "$ac_c_werror_flag" ||
43663 test ! -s conftest.err
43664 } && test -s conftest.$ac_objext; then
43665 ac_cv_type_locale_t=yes
43667 echo "$as_me: failed program was:" >&5
43668 sed 's/^/| /' conftest.$ac_ext >&5
43670 ac_cv_type_locale_t=no
43673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43675 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43676 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43677 if test $ac_cv_type_locale_t = yes; then
43679 cat >>confdefs.h <<_ACEOF
43680 #define HAVE_LOCALE_T 1
43688 if test "$wxUSE_LOG" = "yes"; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_LOG 1
43694 if test "$wxUSE_LOGGUI" = "yes"; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_LOGGUI 1
43701 if test "$wxUSE_LOGWINDOW" = "yes"; then
43702 cat >>confdefs.h <<\_ACEOF
43703 #define wxUSE_LOGWINDOW 1
43708 if test "$wxUSE_LOGDIALOG" = "yes"; then
43709 cat >>confdefs.h <<\_ACEOF
43710 #define wxUSE_LOG_DIALOG 1
43715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43718 if test "$wxUSE_LONGLONG" = "yes"; then
43719 cat >>confdefs.h <<\_ACEOF
43720 #define wxUSE_LONGLONG 1
43725 if test "$wxUSE_GEOMETRY" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_GEOMETRY 1
43732 if test "$wxUSE_BASE64" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_BASE64 1
43739 if test "$wxUSE_STREAMS" = "yes" ; then
43740 cat >>confdefs.h <<\_ACEOF
43741 #define wxUSE_STREAMS 1
43746 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define wxUSE_PRINTF_POS_PARAMS 1
43753 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_OBJC_UNIQUIFYING 1
43761 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43762 cat >>confdefs.h <<\_ACEOF
43763 #define wxUSE_CONSOLE_EVENTLOOP 1
43767 if test "$wxUSE_UNIX" = "yes"; then
43768 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43769 cat >>confdefs.h <<\_ACEOF
43770 #define wxUSE_SELECT_DISPATCHER 1
43775 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43777 for ac_header in sys/epoll.h
43779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43783 echo $ECHO_N "(cached) $ECHO_C" >&6
43785 cat >conftest.$ac_ext <<_ACEOF
43788 cat confdefs.h >>conftest.$ac_ext
43789 cat >>conftest.$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43791 $ac_includes_default
43793 #include <$ac_header>
43795 rm -f conftest.$ac_objext
43796 if { (ac_try="$ac_compile"
43797 case "(($ac_try" in
43798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43799 *) ac_try_echo=$ac_try;;
43801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43802 (eval "$ac_compile") 2>conftest.er1
43804 grep -v '^ *+' conftest.er1 >conftest.err
43806 cat conftest.err >&5
43807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43808 (exit $ac_status); } && {
43809 test -z "$ac_c_werror_flag" ||
43810 test ! -s conftest.err
43811 } && test -s conftest.$ac_objext; then
43812 eval "$as_ac_Header=yes"
43814 echo "$as_me: failed program was:" >&5
43815 sed 's/^/| /' conftest.$ac_ext >&5
43817 eval "$as_ac_Header=no"
43820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43822 ac_res=`eval echo '${'$as_ac_Header'}'`
43823 { echo "$as_me:$LINENO: result: $ac_res" >&5
43824 echo "${ECHO_T}$ac_res" >&6; }
43825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43826 cat >>confdefs.h <<_ACEOF
43827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43834 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43835 cat >>confdefs.h <<\_ACEOF
43836 #define wxUSE_EPOLL_DISPATCHER 1
43840 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43841 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43850 for ac_func in gettimeofday ftime
43852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43856 echo $ECHO_N "(cached) $ECHO_C" >&6
43858 cat >conftest.$ac_ext <<_ACEOF
43861 cat confdefs.h >>conftest.$ac_ext
43862 cat >>conftest.$ac_ext <<_ACEOF
43863 /* end confdefs.h. */
43864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43866 #define $ac_func innocuous_$ac_func
43868 /* System header to define __stub macros and hopefully few prototypes,
43869 which can conflict with char $ac_func (); below.
43870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43871 <limits.h> exists even on freestanding compilers. */
43874 # include <limits.h>
43876 # include <assert.h>
43881 /* Override any GCC internal prototype to avoid an error.
43882 Use char because int might match the return type of a GCC
43883 builtin and then its argument prototype would still apply. */
43888 /* The GNU C library defines this for functions which it implements
43889 to always fail with ENOSYS. Some functions are actually named
43890 something starting with __ and the normal name is an alias. */
43891 #if defined __stub_$ac_func || defined __stub___$ac_func
43898 return $ac_func ();
43903 rm -f conftest.$ac_objext conftest$ac_exeext
43904 if { (ac_try="$ac_link"
43905 case "(($ac_try" in
43906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43907 *) ac_try_echo=$ac_try;;
43909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43910 (eval "$ac_link") 2>conftest.er1
43912 grep -v '^ *+' conftest.er1 >conftest.err
43914 cat conftest.err >&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); } && {
43917 test -z "$ac_c_werror_flag" ||
43918 test ! -s conftest.err
43919 } && test -s conftest$ac_exeext &&
43920 $as_test_x conftest$ac_exeext; then
43921 eval "$as_ac_var=yes"
43923 echo "$as_me: failed program was:" >&5
43924 sed 's/^/| /' conftest.$ac_ext >&5
43926 eval "$as_ac_var=no"
43929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43930 conftest$ac_exeext conftest.$ac_ext
43932 ac_res=`eval echo '${'$as_ac_var'}'`
43933 { echo "$as_me:$LINENO: result: $ac_res" >&5
43934 echo "${ECHO_T}$ac_res" >&6; }
43935 if test `eval echo '${'$as_ac_var'}'` = yes; then
43936 cat >>confdefs.h <<_ACEOF
43937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43944 if test "$ac_cv_func_gettimeofday" = "yes"; then
43945 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43946 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43947 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43948 echo $ECHO_N "(cached) $ECHO_C" >&6
43951 cat >conftest.$ac_ext <<_ACEOF
43954 cat confdefs.h >>conftest.$ac_ext
43955 cat >>conftest.$ac_ext <<_ACEOF
43956 /* end confdefs.h. */
43958 #include <sys/time.h>
43959 #include <unistd.h>
43966 gettimeofday(&tv, NULL);
43972 rm -f conftest.$ac_objext
43973 if { (ac_try="$ac_compile"
43974 case "(($ac_try" in
43975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43976 *) ac_try_echo=$ac_try;;
43978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43979 (eval "$ac_compile") 2>conftest.er1
43981 grep -v '^ *+' conftest.er1 >conftest.err
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } && {
43986 test -z "$ac_c_werror_flag" ||
43987 test ! -s conftest.err
43988 } && test -s conftest.$ac_objext; then
43989 wx_cv_func_gettimeofday_has_2_args=yes
43991 echo "$as_me: failed program was:" >&5
43992 sed 's/^/| /' conftest.$ac_ext >&5
43994 cat >conftest.$ac_ext <<_ACEOF
43997 cat confdefs.h >>conftest.$ac_ext
43998 cat >>conftest.$ac_ext <<_ACEOF
43999 /* end confdefs.h. */
44001 #include <sys/time.h>
44002 #include <unistd.h>
44015 rm -f conftest.$ac_objext
44016 if { (ac_try="$ac_compile"
44017 case "(($ac_try" in
44018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44019 *) ac_try_echo=$ac_try;;
44021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44022 (eval "$ac_compile") 2>conftest.er1
44024 grep -v '^ *+' conftest.er1 >conftest.err
44026 cat conftest.err >&5
44027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44028 (exit $ac_status); } && {
44029 test -z "$ac_c_werror_flag" ||
44030 test ! -s conftest.err
44031 } && test -s conftest.$ac_objext; then
44032 wx_cv_func_gettimeofday_has_2_args=no
44034 echo "$as_me: failed program was:" >&5
44035 sed 's/^/| /' conftest.$ac_ext >&5
44038 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44039 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44040 wx_cv_func_gettimeofday_has_2_args=unknown
44045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44052 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44053 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44055 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define WX_GETTIMEOFDAY_NO_TZ 1
44063 if test "$wxUSE_DATETIME" = "yes"; then
44064 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44065 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44066 if test "${wx_cv_var_timezone+set}" = set; then
44067 echo $ECHO_N "(cached) $ECHO_C" >&6
44071 ac_cpp='$CXXCPP $CPPFLAGS'
44072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44076 cat >conftest.$ac_ext <<_ACEOF
44079 cat confdefs.h >>conftest.$ac_ext
44080 cat >>conftest.$ac_ext <<_ACEOF
44081 /* end confdefs.h. */
44096 rm -f conftest.$ac_objext
44097 if { (ac_try="$ac_compile"
44098 case "(($ac_try" in
44099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44100 *) ac_try_echo=$ac_try;;
44102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44103 (eval "$ac_compile") 2>conftest.er1
44105 grep -v '^ *+' conftest.er1 >conftest.err
44107 cat conftest.err >&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } && {
44110 test -z "$ac_cxx_werror_flag" ||
44111 test ! -s conftest.err
44112 } && test -s conftest.$ac_objext; then
44114 wx_cv_var_timezone=timezone
44117 echo "$as_me: failed program was:" >&5
44118 sed 's/^/| /' conftest.$ac_ext >&5
44121 cat >conftest.$ac_ext <<_ACEOF
44124 cat confdefs.h >>conftest.$ac_ext
44125 cat >>conftest.$ac_ext <<_ACEOF
44126 /* end confdefs.h. */
44141 rm -f conftest.$ac_objext
44142 if { (ac_try="$ac_compile"
44143 case "(($ac_try" in
44144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44145 *) ac_try_echo=$ac_try;;
44147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44148 (eval "$ac_compile") 2>conftest.er1
44150 grep -v '^ *+' conftest.er1 >conftest.err
44152 cat conftest.err >&5
44153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44154 (exit $ac_status); } && {
44155 test -z "$ac_cxx_werror_flag" ||
44156 test ! -s conftest.err
44157 } && test -s conftest.$ac_objext; then
44159 wx_cv_var_timezone=_timezone
44162 echo "$as_me: failed program was:" >&5
44163 sed 's/^/| /' conftest.$ac_ext >&5
44166 cat >conftest.$ac_ext <<_ACEOF
44169 cat confdefs.h >>conftest.$ac_ext
44170 cat >>conftest.$ac_ext <<_ACEOF
44171 /* end confdefs.h. */
44186 rm -f conftest.$ac_objext
44187 if { (ac_try="$ac_compile"
44188 case "(($ac_try" in
44189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44190 *) ac_try_echo=$ac_try;;
44192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44193 (eval "$ac_compile") 2>conftest.er1
44195 grep -v '^ *+' conftest.er1 >conftest.err
44197 cat conftest.err >&5
44198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44199 (exit $ac_status); } && {
44200 test -z "$ac_cxx_werror_flag" ||
44201 test ! -s conftest.err
44202 } && test -s conftest.$ac_objext; then
44204 wx_cv_var_timezone=__timezone
44207 echo "$as_me: failed program was:" >&5
44208 sed 's/^/| /' conftest.$ac_ext >&5
44211 if test "$USE_DOS" = 0 ; then
44212 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44213 echo "$as_me: WARNING: no timezone variable" >&2;}
44219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44231 ac_cpp='$CPP $CPPFLAGS'
44232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44239 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44240 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44242 if test "x$wx_cv_var_timezone" != x ; then
44243 cat >>confdefs.h <<_ACEOF
44244 #define WX_TIMEZONE $wx_cv_var_timezone
44250 for ac_func in localtime
44252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44256 echo $ECHO_N "(cached) $ECHO_C" >&6
44258 cat >conftest.$ac_ext <<_ACEOF
44261 cat confdefs.h >>conftest.$ac_ext
44262 cat >>conftest.$ac_ext <<_ACEOF
44263 /* end confdefs.h. */
44264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44266 #define $ac_func innocuous_$ac_func
44268 /* System header to define __stub macros and hopefully few prototypes,
44269 which can conflict with char $ac_func (); below.
44270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44271 <limits.h> exists even on freestanding compilers. */
44274 # include <limits.h>
44276 # include <assert.h>
44281 /* Override any GCC internal prototype to avoid an error.
44282 Use char because int might match the return type of a GCC
44283 builtin and then its argument prototype would still apply. */
44288 /* The GNU C library defines this for functions which it implements
44289 to always fail with ENOSYS. Some functions are actually named
44290 something starting with __ and the normal name is an alias. */
44291 #if defined __stub_$ac_func || defined __stub___$ac_func
44298 return $ac_func ();
44303 rm -f conftest.$ac_objext conftest$ac_exeext
44304 if { (ac_try="$ac_link"
44305 case "(($ac_try" in
44306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44307 *) ac_try_echo=$ac_try;;
44309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44310 (eval "$ac_link") 2>conftest.er1
44312 grep -v '^ *+' conftest.er1 >conftest.err
44314 cat conftest.err >&5
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); } && {
44317 test -z "$ac_c_werror_flag" ||
44318 test ! -s conftest.err
44319 } && test -s conftest$ac_exeext &&
44320 $as_test_x conftest$ac_exeext; then
44321 eval "$as_ac_var=yes"
44323 echo "$as_me: failed program was:" >&5
44324 sed 's/^/| /' conftest.$ac_ext >&5
44326 eval "$as_ac_var=no"
44329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44330 conftest$ac_exeext conftest.$ac_ext
44332 ac_res=`eval echo '${'$as_ac_var'}'`
44333 { echo "$as_me:$LINENO: result: $ac_res" >&5
44334 echo "${ECHO_T}$ac_res" >&6; }
44335 if test `eval echo '${'$as_ac_var'}'` = yes; then
44336 cat >>confdefs.h <<_ACEOF
44337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44344 if test "$ac_cv_func_localtime" = "yes"; then
44345 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44346 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44347 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44348 echo $ECHO_N "(cached) $ECHO_C" >&6
44351 cat >conftest.$ac_ext <<_ACEOF
44354 cat confdefs.h >>conftest.$ac_ext
44355 cat >>conftest.$ac_ext <<_ACEOF
44356 /* end confdefs.h. */
44371 rm -f conftest.$ac_objext
44372 if { (ac_try="$ac_compile"
44373 case "(($ac_try" in
44374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44375 *) ac_try_echo=$ac_try;;
44377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44378 (eval "$ac_compile") 2>conftest.er1
44380 grep -v '^ *+' conftest.er1 >conftest.err
44382 cat conftest.err >&5
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); } && {
44385 test -z "$ac_c_werror_flag" ||
44386 test ! -s conftest.err
44387 } && test -s conftest.$ac_objext; then
44389 wx_cv_struct_tm_has_gmtoff=yes
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44395 wx_cv_struct_tm_has_gmtoff=no
44399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44402 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44403 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44406 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44407 cat >>confdefs.h <<\_ACEOF
44408 #define WX_GMTOFF_IN_TM 1
44413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44417 if test "$wxUSE_SOCKETS" = "yes"; then
44418 if test "$wxUSE_MGL" = 1; then
44419 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44420 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44425 if test "$wxUSE_SOCKETS" = "yes"; then
44426 if test "$TOOLKIT" != "MSW"; then
44427 { echo "$as_me:$LINENO: checking for socket" >&5
44428 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44429 if test "${ac_cv_func_socket+set}" = set; then
44430 echo $ECHO_N "(cached) $ECHO_C" >&6
44432 cat >conftest.$ac_ext <<_ACEOF
44435 cat confdefs.h >>conftest.$ac_ext
44436 cat >>conftest.$ac_ext <<_ACEOF
44437 /* end confdefs.h. */
44438 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44440 #define socket innocuous_socket
44442 /* System header to define __stub macros and hopefully few prototypes,
44443 which can conflict with char socket (); below.
44444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44445 <limits.h> exists even on freestanding compilers. */
44448 # include <limits.h>
44450 # include <assert.h>
44455 /* Override any GCC internal prototype to avoid an error.
44456 Use char because int might match the return type of a GCC
44457 builtin and then its argument prototype would still apply. */
44462 /* The GNU C library defines this for functions which it implements
44463 to always fail with ENOSYS. Some functions are actually named
44464 something starting with __ and the normal name is an alias. */
44465 #if defined __stub_socket || defined __stub___socket
44477 rm -f conftest.$ac_objext conftest$ac_exeext
44478 if { (ac_try="$ac_link"
44479 case "(($ac_try" in
44480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44481 *) ac_try_echo=$ac_try;;
44483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44484 (eval "$ac_link") 2>conftest.er1
44486 grep -v '^ *+' conftest.er1 >conftest.err
44488 cat conftest.err >&5
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); } && {
44491 test -z "$ac_c_werror_flag" ||
44492 test ! -s conftest.err
44493 } && test -s conftest$ac_exeext &&
44494 $as_test_x conftest$ac_exeext; then
44495 ac_cv_func_socket=yes
44497 echo "$as_me: failed program was:" >&5
44498 sed 's/^/| /' conftest.$ac_ext >&5
44500 ac_cv_func_socket=no
44503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44504 conftest$ac_exeext conftest.$ac_ext
44506 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44507 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44508 if test $ac_cv_func_socket = yes; then
44512 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44513 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44514 if test "${ac_cv_lib_socket_socket+set}" = set; then
44515 echo $ECHO_N "(cached) $ECHO_C" >&6
44517 ac_check_lib_save_LIBS=$LIBS
44518 LIBS="-lsocket $LIBS"
44519 cat >conftest.$ac_ext <<_ACEOF
44522 cat confdefs.h >>conftest.$ac_ext
44523 cat >>conftest.$ac_ext <<_ACEOF
44524 /* end confdefs.h. */
44526 /* Override any GCC internal prototype to avoid an error.
44527 Use char because int might match the return type of a GCC
44528 builtin and then its argument prototype would still apply. */
44541 rm -f conftest.$ac_objext conftest$ac_exeext
44542 if { (ac_try="$ac_link"
44543 case "(($ac_try" in
44544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44545 *) ac_try_echo=$ac_try;;
44547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44548 (eval "$ac_link") 2>conftest.er1
44550 grep -v '^ *+' conftest.er1 >conftest.err
44552 cat conftest.err >&5
44553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44554 (exit $ac_status); } && {
44555 test -z "$ac_c_werror_flag" ||
44556 test ! -s conftest.err
44557 } && test -s conftest$ac_exeext &&
44558 $as_test_x conftest$ac_exeext; then
44559 ac_cv_lib_socket_socket=yes
44561 echo "$as_me: failed program was:" >&5
44562 sed 's/^/| /' conftest.$ac_ext >&5
44564 ac_cv_lib_socket_socket=no
44567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44568 conftest$ac_exeext conftest.$ac_ext
44569 LIBS=$ac_check_lib_save_LIBS
44571 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44572 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44573 if test $ac_cv_lib_socket_socket = yes; then
44574 if test "$INET_LINK" != " -lsocket"; then
44575 INET_LINK="$INET_LINK -lsocket"
44579 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44580 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44593 if test "$wxUSE_SOCKETS" = "yes" ; then
44594 if test "$TOOLKIT" != "MSW"; then
44595 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44596 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44597 if test "${wx_cv_type_getsockname3+set}" = set; then
44598 echo $ECHO_N "(cached) $ECHO_C" >&6
44602 ac_cpp='$CXXCPP $CPPFLAGS'
44603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44607 cat >conftest.$ac_ext <<_ACEOF
44610 cat confdefs.h >>conftest.$ac_ext
44611 cat >>conftest.$ac_ext <<_ACEOF
44612 /* end confdefs.h. */
44614 #include <sys/types.h>
44615 #include <sys/socket.h>
44622 getsockname(0, 0, &len);
44628 rm -f conftest.$ac_objext
44629 if { (ac_try="$ac_compile"
44630 case "(($ac_try" in
44631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44632 *) ac_try_echo=$ac_try;;
44634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44635 (eval "$ac_compile") 2>conftest.er1
44637 grep -v '^ *+' conftest.er1 >conftest.err
44639 cat conftest.err >&5
44640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641 (exit $ac_status); } && {
44642 test -z "$ac_cxx_werror_flag" ||
44643 test ! -s conftest.err
44644 } && test -s conftest.$ac_objext; then
44645 wx_cv_type_getsockname3=socklen_t
44647 echo "$as_me: failed program was:" >&5
44648 sed 's/^/| /' conftest.$ac_ext >&5
44651 CFLAGS_OLD="$CFLAGS"
44652 if test "$GCC" = yes ; then
44653 CFLAGS="-Werror $CFLAGS"
44656 cat >conftest.$ac_ext <<_ACEOF
44659 cat confdefs.h >>conftest.$ac_ext
44660 cat >>conftest.$ac_ext <<_ACEOF
44661 /* end confdefs.h. */
44663 #include <sys/types.h>
44664 #include <sys/socket.h>
44671 getsockname(0, 0, &len);
44677 rm -f conftest.$ac_objext
44678 if { (ac_try="$ac_compile"
44679 case "(($ac_try" in
44680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44681 *) ac_try_echo=$ac_try;;
44683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44684 (eval "$ac_compile") 2>conftest.er1
44686 grep -v '^ *+' conftest.er1 >conftest.err
44688 cat conftest.err >&5
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); } && {
44691 test -z "$ac_cxx_werror_flag" ||
44692 test ! -s conftest.err
44693 } && test -s conftest.$ac_objext; then
44694 wx_cv_type_getsockname3=size_t
44696 echo "$as_me: failed program was:" >&5
44697 sed 's/^/| /' conftest.$ac_ext >&5
44699 cat >conftest.$ac_ext <<_ACEOF
44702 cat confdefs.h >>conftest.$ac_ext
44703 cat >>conftest.$ac_ext <<_ACEOF
44704 /* end confdefs.h. */
44706 #include <sys/types.h>
44707 #include <sys/socket.h>
44714 getsockname(0, 0, &len);
44720 rm -f conftest.$ac_objext
44721 if { (ac_try="$ac_compile"
44722 case "(($ac_try" in
44723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44724 *) ac_try_echo=$ac_try;;
44726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44727 (eval "$ac_compile") 2>conftest.er1
44729 grep -v '^ *+' conftest.er1 >conftest.err
44731 cat conftest.err >&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); } && {
44734 test -z "$ac_cxx_werror_flag" ||
44735 test ! -s conftest.err
44736 } && test -s conftest.$ac_objext; then
44737 wx_cv_type_getsockname3=int
44739 echo "$as_me: failed program was:" >&5
44740 sed 's/^/| /' conftest.$ac_ext >&5
44742 wx_cv_type_getsockname3=unknown
44746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44752 CFLAGS="$CFLAGS_OLD"
44757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44759 ac_cpp='$CPP $CPPFLAGS'
44760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44766 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44767 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44769 if test "$wx_cv_type_getsockname3" = "unknown"; then
44771 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44772 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44774 cat >>confdefs.h <<_ACEOF
44775 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44779 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44780 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44781 if test "${wx_cv_type_getsockopt5+set}" = set; then
44782 echo $ECHO_N "(cached) $ECHO_C" >&6
44786 ac_cpp='$CXXCPP $CPPFLAGS'
44787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44791 cat >conftest.$ac_ext <<_ACEOF
44794 cat confdefs.h >>conftest.$ac_ext
44795 cat >>conftest.$ac_ext <<_ACEOF
44796 /* end confdefs.h. */
44798 #include <sys/types.h>
44799 #include <sys/socket.h>
44806 getsockopt(0, 0, 0, 0, &len);
44812 rm -f conftest.$ac_objext
44813 if { (ac_try="$ac_compile"
44814 case "(($ac_try" in
44815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44816 *) ac_try_echo=$ac_try;;
44818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44819 (eval "$ac_compile") 2>conftest.er1
44821 grep -v '^ *+' conftest.er1 >conftest.err
44823 cat conftest.err >&5
44824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825 (exit $ac_status); } && {
44826 test -z "$ac_cxx_werror_flag" ||
44827 test ! -s conftest.err
44828 } && test -s conftest.$ac_objext; then
44829 wx_cv_type_getsockopt5=socklen_t
44831 echo "$as_me: failed program was:" >&5
44832 sed 's/^/| /' conftest.$ac_ext >&5
44835 cat >conftest.$ac_ext <<_ACEOF
44838 cat confdefs.h >>conftest.$ac_ext
44839 cat >>conftest.$ac_ext <<_ACEOF
44840 /* end confdefs.h. */
44842 #include <sys/types.h>
44843 #include <sys/socket.h>
44850 getsockopt(0, 0, 0, 0, &len);
44856 rm -f conftest.$ac_objext
44857 if { (ac_try="$ac_compile"
44858 case "(($ac_try" in
44859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44860 *) ac_try_echo=$ac_try;;
44862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44863 (eval "$ac_compile") 2>conftest.er1
44865 grep -v '^ *+' conftest.er1 >conftest.err
44867 cat conftest.err >&5
44868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869 (exit $ac_status); } && {
44870 test -z "$ac_cxx_werror_flag" ||
44871 test ! -s conftest.err
44872 } && test -s conftest.$ac_objext; then
44873 wx_cv_type_getsockopt5=size_t
44875 echo "$as_me: failed program was:" >&5
44876 sed 's/^/| /' conftest.$ac_ext >&5
44878 cat >conftest.$ac_ext <<_ACEOF
44881 cat confdefs.h >>conftest.$ac_ext
44882 cat >>conftest.$ac_ext <<_ACEOF
44883 /* end confdefs.h. */
44885 #include <sys/types.h>
44886 #include <sys/socket.h>
44893 getsockopt(0, 0, 0, 0, &len);
44899 rm -f conftest.$ac_objext
44900 if { (ac_try="$ac_compile"
44901 case "(($ac_try" in
44902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44903 *) ac_try_echo=$ac_try;;
44905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44906 (eval "$ac_compile") 2>conftest.er1
44908 grep -v '^ *+' conftest.er1 >conftest.err
44910 cat conftest.err >&5
44911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44912 (exit $ac_status); } && {
44913 test -z "$ac_cxx_werror_flag" ||
44914 test ! -s conftest.err
44915 } && test -s conftest.$ac_objext; then
44916 wx_cv_type_getsockopt5=int
44918 echo "$as_me: failed program was:" >&5
44919 sed 's/^/| /' conftest.$ac_ext >&5
44921 wx_cv_type_getsockopt5=unknown
44925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44936 ac_cpp='$CPP $CPPFLAGS'
44937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44944 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44946 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44948 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44949 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44951 cat >>confdefs.h <<_ACEOF
44952 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44959 if test "$wxUSE_SOCKETS" = "yes" ; then
44960 if test "$wxUSE_IPV6" = "yes"; then
44961 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44962 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44963 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44964 echo $ECHO_N "(cached) $ECHO_C" >&6
44967 cat >conftest.$ac_ext <<_ACEOF
44970 cat confdefs.h >>conftest.$ac_ext
44971 cat >>conftest.$ac_ext <<_ACEOF
44972 /* end confdefs.h. */
44974 #include <sys/types.h>
44975 #include <sys/socket.h>
44976 #include <netinet/in.h>
44982 struct sockaddr_in6 sa6;
44988 rm -f conftest.$ac_objext
44989 if { (ac_try="$ac_compile"
44990 case "(($ac_try" in
44991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44992 *) ac_try_echo=$ac_try;;
44994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44995 (eval "$ac_compile") 2>conftest.er1
44997 grep -v '^ *+' conftest.er1 >conftest.err
44999 cat conftest.err >&5
45000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45001 (exit $ac_status); } && {
45002 test -z "$ac_c_werror_flag" ||
45003 test ! -s conftest.err
45004 } && test -s conftest.$ac_objext; then
45005 wx_cv_type_sockaddr_in6=yes
45007 echo "$as_me: failed program was:" >&5
45008 sed 's/^/| /' conftest.$ac_ext >&5
45010 wx_cv_type_sockaddr_in6=no
45014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45018 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45019 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45021 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_IPV6 1
45027 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45028 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_SOCKETS 1
45036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45039 if test "$wxUSE_PROTOCOL" = "yes"; then
45040 if test "$wxUSE_SOCKETS" != "yes"; then
45041 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45042 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45047 if test "$wxUSE_PROTOCOL" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_PROTOCOL 1
45053 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_PROTOCOL_HTTP 1
45059 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_PROTOCOL_FTP 1
45065 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_PROTOCOL_FILE 1
45072 if test "$wxUSE_FS_INET" = "yes"; then
45073 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45074 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45079 if test "$wxUSE_URL" = "yes"; then
45080 if test "$wxUSE_PROTOCOL" != "yes"; then
45081 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45082 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45085 if test "$wxUSE_URL" = "yes"; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_URL 1
45093 if test "$wxUSE_VARIANT" = "yes"; then
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_VARIANT 1
45100 if test "$wxUSE_FS_INET" = "yes"; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_FS_INET 1
45108 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45111 if test "$TOOLKIT" = "MSW"; then
45114 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45115 if test "$USE_DARWIN" = 1; then
45116 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45117 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45119 ac_cpp='$CXXCPP $CPPFLAGS'
45120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45124 cat >conftest.$ac_ext <<_ACEOF
45127 cat confdefs.h >>conftest.$ac_ext
45128 cat >>conftest.$ac_ext <<_ACEOF
45129 /* end confdefs.h. */
45130 #include <IOKit/hid/IOHIDLib.h>
45134 IOHIDQueueInterface *qi = NULL;
45135 IOHIDCallbackFunction cb = NULL;
45136 qi->setEventCallout(NULL, cb, NULL, NULL);
45141 rm -f conftest.$ac_objext
45142 if { (ac_try="$ac_compile"
45143 case "(($ac_try" in
45144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45145 *) ac_try_echo=$ac_try;;
45147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45148 (eval "$ac_compile") 2>conftest.er1
45150 grep -v '^ *+' conftest.er1 >conftest.err
45152 cat conftest.err >&5
45153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45154 (exit $ac_status); } && {
45155 test -z "$ac_cxx_werror_flag" ||
45156 test ! -s conftest.err
45157 } && test -s conftest.$ac_objext; then
45161 echo "$as_me: failed program was:" >&5
45162 sed 's/^/| /' conftest.$ac_ext >&5
45167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45169 ac_cpp='$CPP $CPPFLAGS'
45170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45174 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45175 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45179 if test "$wxUSE_MGL" != 1; then
45181 for ac_header in linux/joystick.h
45183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45184 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45186 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45187 echo $ECHO_N "(cached) $ECHO_C" >&6
45189 cat >conftest.$ac_ext <<_ACEOF
45192 cat confdefs.h >>conftest.$ac_ext
45193 cat >>conftest.$ac_ext <<_ACEOF
45194 /* end confdefs.h. */
45195 $ac_includes_default
45197 #include <$ac_header>
45199 rm -f conftest.$ac_objext
45200 if { (ac_try="$ac_compile"
45201 case "(($ac_try" in
45202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45203 *) ac_try_echo=$ac_try;;
45205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45206 (eval "$ac_compile") 2>conftest.er1
45208 grep -v '^ *+' conftest.er1 >conftest.err
45210 cat conftest.err >&5
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); } && {
45213 test -z "$ac_c_werror_flag" ||
45214 test ! -s conftest.err
45215 } && test -s conftest.$ac_objext; then
45216 eval "$as_ac_Header=yes"
45218 echo "$as_me: failed program was:" >&5
45219 sed 's/^/| /' conftest.$ac_ext >&5
45221 eval "$as_ac_Header=no"
45224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45226 ac_res=`eval echo '${'$as_ac_Header'}'`
45227 { echo "$as_me:$LINENO: result: $ac_res" >&5
45228 echo "${ECHO_T}$ac_res" >&6; }
45229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45230 cat >>confdefs.h <<_ACEOF
45231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45241 if test "$wxUSE_JOYSTICK" = "yes"; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_JOYSTICK 1
45246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45248 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45249 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45255 if test "$wxUSE_FONTENUM" = "yes" ; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_FONTENUM 1
45262 if test "$wxUSE_FONTMAP" = "yes" ; then
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_FONTMAP 1
45269 if test "$wxUSE_UNICODE" = "yes" ; then
45270 cat >>confdefs.h <<\_ACEOF
45271 #define wxUSE_UNICODE 1
45275 if test "$USE_WIN32" != 1; then
45276 wxUSE_UNICODE_MSLU=no
45279 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45280 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45281 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45282 if test "${ac_cv_lib_unicows_main+set}" = set; then
45283 echo $ECHO_N "(cached) $ECHO_C" >&6
45285 ac_check_lib_save_LIBS=$LIBS
45286 LIBS="-lunicows $LIBS"
45287 cat >conftest.$ac_ext <<_ACEOF
45290 cat confdefs.h >>conftest.$ac_ext
45291 cat >>conftest.$ac_ext <<_ACEOF
45292 /* end confdefs.h. */
45303 rm -f conftest.$ac_objext conftest$ac_exeext
45304 if { (ac_try="$ac_link"
45305 case "(($ac_try" in
45306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45307 *) ac_try_echo=$ac_try;;
45309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45310 (eval "$ac_link") 2>conftest.er1
45312 grep -v '^ *+' conftest.er1 >conftest.err
45314 cat conftest.err >&5
45315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45316 (exit $ac_status); } && {
45317 test -z "$ac_c_werror_flag" ||
45318 test ! -s conftest.err
45319 } && test -s conftest$ac_exeext &&
45320 $as_test_x conftest$ac_exeext; then
45321 ac_cv_lib_unicows_main=yes
45323 echo "$as_me: failed program was:" >&5
45324 sed 's/^/| /' conftest.$ac_ext >&5
45326 ac_cv_lib_unicows_main=no
45329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45330 conftest$ac_exeext conftest.$ac_ext
45331 LIBS=$ac_check_lib_save_LIBS
45333 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45334 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45335 if test $ac_cv_lib_unicows_main = yes; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_UNICODE_MSLU 1
45344 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45345 Applications will only run on Windows NT/2000/XP!" >&5
45346 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45347 Applications will only run on Windows NT/2000/XP!" >&2;}
45348 wxUSE_UNICODE_MSLU=no
45355 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_UNICODE_UTF8 1
45361 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_UTF8_LOCALE_ONLY 1
45370 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_CONSTRAINTS 1
45375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45378 if test "$wxUSE_MDI" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_MDI 1
45384 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_MDI_ARCHITECTURE 1
45389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45393 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45401 if test "$wxUSE_HELP" = "yes"; then
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_HELP 1
45406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45408 if test "$wxUSE_MSW" = 1; then
45409 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_MS_HTML_HELP 1
45417 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45418 if test "$wxUSE_HTML" = "yes"; then
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_WXHTML_HELP 1
45424 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45425 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45426 wxUSE_WXHTML_HELP=no
45431 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45432 cat >>confdefs.h <<\_ACEOF
45433 #define wxUSE_PRINTING_ARCHITECTURE 1
45436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45439 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_POSTSCRIPT 1
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45451 if test "$wxUSE_SVG" = "yes"; then
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_SVG 1
45459 if test "$wxUSE_METAFILE" = "yes"; then
45460 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45461 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45462 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45468 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45469 -o "$wxUSE_CLIPBOARD" = "yes" \
45470 -o "$wxUSE_OLE" = "yes" \
45471 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45472 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45473 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45474 if test "${ac_cv_header_ole2_h+set}" = set; then
45475 echo $ECHO_N "(cached) $ECHO_C" >&6
45477 cat >conftest.$ac_ext <<_ACEOF
45480 cat confdefs.h >>conftest.$ac_ext
45481 cat >>conftest.$ac_ext <<_ACEOF
45482 /* end confdefs.h. */
45487 rm -f conftest.$ac_objext
45488 if { (ac_try="$ac_compile"
45489 case "(($ac_try" in
45490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45491 *) ac_try_echo=$ac_try;;
45493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45494 (eval "$ac_compile") 2>conftest.er1
45496 grep -v '^ *+' conftest.er1 >conftest.err
45498 cat conftest.err >&5
45499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500 (exit $ac_status); } && {
45501 test -z "$ac_c_werror_flag" ||
45502 test ! -s conftest.err
45503 } && test -s conftest.$ac_objext; then
45504 ac_cv_header_ole2_h=yes
45506 echo "$as_me: failed program was:" >&5
45507 sed 's/^/| /' conftest.$ac_ext >&5
45509 ac_cv_header_ole2_h=no
45512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45514 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45515 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45519 if test "$ac_cv_header_ole2_h" = "yes" ; then
45520 if test "$GCC" = yes ; then
45521 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45522 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45523 cat >conftest.$ac_ext <<_ACEOF
45526 cat confdefs.h >>conftest.$ac_ext
45527 cat >>conftest.$ac_ext <<_ACEOF
45528 /* end confdefs.h. */
45529 #include <windows.h>
45539 rm -f conftest.$ac_objext
45540 if { (ac_try="$ac_compile"
45541 case "(($ac_try" in
45542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45543 *) ac_try_echo=$ac_try;;
45545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45546 (eval "$ac_compile") 2>conftest.er1
45548 grep -v '^ *+' conftest.er1 >conftest.err
45550 cat conftest.err >&5
45551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45552 (exit $ac_status); } && {
45553 test -z "$ac_c_werror_flag" ||
45554 test ! -s conftest.err
45555 } && test -s conftest.$ac_objext; then
45556 { echo "$as_me:$LINENO: result: no" >&5
45557 echo "${ECHO_T}no" >&6; }
45559 echo "$as_me: failed program was:" >&5
45560 sed 's/^/| /' conftest.$ac_ext >&5
45562 { echo "$as_me:$LINENO: result: yes" >&5
45563 echo "${ECHO_T}yes" >&6; }
45564 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45568 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45569 if test "$wxUSE_OLE" = "yes" ; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_OLE 1
45574 cat >>confdefs.h <<\_ACEOF
45575 #define wxUSE_OLE_AUTOMATION 1
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_ACTIVEX 1
45582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45586 if test "$wxUSE_DATAOBJ" = "yes" ; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_DATAOBJ 1
45593 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45594 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45597 wxUSE_DRAG_AND_DROP=no
45602 if test "$wxUSE_METAFILE" = "yes"; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_METAFILE 1
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_ENH_METAFILE 1
45615 if test "$wxUSE_IPC" = "yes"; then
45616 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45617 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45618 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45622 if test "$wxUSE_IPC" = "yes"; then
45623 cat >>confdefs.h <<\_ACEOF
45624 #define wxUSE_IPC 1
45627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45631 if test "$wxUSE_DATAOBJ" = "yes"; then
45632 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45633 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45634 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_DATAOBJ 1
45643 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45644 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45646 wxUSE_DRAG_AND_DROP=no
45649 if test "$wxUSE_CLIPBOARD" = "yes"; then
45650 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45651 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45652 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45656 if test "$wxUSE_CLIPBOARD" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_CLIPBOARD 1
45664 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45665 if test "$wxUSE_GTK" = 1; then
45666 if test "$WXGTK12" != 1; then
45667 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45668 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45669 wxUSE_DRAG_AND_DROP=no
45673 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45674 "$wxUSE_DFB" = 1; then
45675 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45676 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45677 wxUSE_DRAG_AND_DROP=no
45680 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_DRAG_AND_DROP 1
45689 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45693 if test "$wxUSE_CLIPBOARD" = "yes"; then
45694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45697 if test "$wxUSE_SPLINES" = "yes" ; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_SPLINES 1
45704 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_MOUSEWHEEL 1
45713 if test "$wxUSE_CONTROLS" = "yes"; then
45717 if test "$wxUSE_ACCEL" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_ACCEL 1
45725 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_ANIMATIONCTRL 1
45731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45734 if test "$wxUSE_BUTTON" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_BUTTON 1
45742 if test "$wxUSE_BMPBUTTON" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_BMPBUTTON 1
45750 if test "$wxUSE_CALCTRL" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_CALENDARCTRL 1
45756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45759 if test "$wxUSE_CARET" = "yes"; then
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_CARET 1
45765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45768 if test "$wxUSE_COLLPANE" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_COLLPANE 1
45774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45777 if test "$wxUSE_COMBOBOX" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_COMBOBOX 1
45785 if test "$wxUSE_COMBOCTRL" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_COMBOCTRL 1
45793 if test "$wxUSE_CHOICE" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_CHOICE 1
45801 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_CHOICEBOOK 1
45809 if test "$wxUSE_CHECKBOX" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_CHECKBOX 1
45817 if test "$wxUSE_CHECKLST" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_CHECKLISTBOX 1
45825 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_COLOURPICKERCTRL 1
45833 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_DATEPICKCTRL 1
45841 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_DIRPICKERCTRL 1
45849 if test "$wxUSE_FILECTRL" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_FILECTRL 1
45857 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_FILEPICKERCTRL 1
45865 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45866 cat >>confdefs.h <<\_ACEOF
45867 #define wxUSE_FONTPICKERCTRL 1
45873 if test "$wxUSE_DISPLAY" = "yes"; then
45874 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45875 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45876 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_DISPLAY 1
45883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45887 if test "$wxUSE_DETECT_SM" = "yes"; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_DETECT_SM 1
45894 if test "$wxUSE_GAUGE" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_GAUGE 1
45902 if test "$wxUSE_GRID" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_GRID 1
45908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45911 if test "$wxUSE_HEADERCTRL" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_HEADERCTRL 1
45919 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_HYPERLINKCTRL 1
45927 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45928 cat >>confdefs.h <<\_ACEOF
45929 #define wxUSE_BITMAPCOMBOBOX 1
45935 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_DATAVIEWCTRL 1
45941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45944 if test "$wxUSE_IMAGLIST" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_IMAGLIST 1
45951 if test "$wxUSE_LISTBOOK" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_LISTBOOK 1
45959 if test "$wxUSE_LISTBOX" = "yes"; then
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_LISTBOX 1
45967 if test "$wxUSE_LISTCTRL" = "yes"; then
45968 if test "$wxUSE_IMAGLIST" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_LISTCTRL 1
45974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45976 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45977 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45981 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45982 cat >>confdefs.h <<\_ACEOF
45983 #define wxUSE_EDITABLELISTBOX 1
45989 if test "$wxUSE_NOTEBOOK" = "yes"; then
45990 cat >>confdefs.h <<\_ACEOF
45991 #define wxUSE_NOTEBOOK 1
45995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45998 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45999 cat >>confdefs.h <<\_ACEOF
46000 #define wxUSE_NOTIFICATION_MESSAGE 1
46005 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46006 cat >>confdefs.h <<\_ACEOF
46007 #define wxUSE_ODCOMBOBOX 1
46011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46014 if test "$wxUSE_RADIOBOX" = "yes"; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_RADIOBOX 1
46022 if test "$wxUSE_RADIOBTN" = "yes"; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_RADIOBTN 1
46030 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_REARRANGECTRL 1
46037 if test "$wxUSE_SASH" = "yes"; then
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_SASH 1
46042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46045 if test "$wxUSE_SCROLLBAR" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_SCROLLBAR 1
46051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46054 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46055 cat >>confdefs.h <<\_ACEOF
46056 #define wxUSE_SEARCHCTRL 1
46062 if test "$wxUSE_SLIDER" = "yes"; then
46063 cat >>confdefs.h <<\_ACEOF
46064 #define wxUSE_SLIDER 1
46070 if test "$wxUSE_SPINBTN" = "yes"; then
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_SPINBTN 1
46078 if test "$wxUSE_SPINCTRL" = "yes"; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define wxUSE_SPINCTRL 1
46086 if test "$wxUSE_SPLITTER" = "yes"; then
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_SPLITTER 1
46091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46094 if test "$wxUSE_STATBMP" = "yes"; then
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_STATBMP 1
46102 if test "$wxUSE_STATBOX" = "yes"; then
46103 cat >>confdefs.h <<\_ACEOF
46104 #define wxUSE_STATBOX 1
46110 if test "$wxUSE_STATTEXT" = "yes"; then
46111 cat >>confdefs.h <<\_ACEOF
46112 #define wxUSE_STATTEXT 1
46118 if test "$wxUSE_STATLINE" = "yes"; then
46119 cat >>confdefs.h <<\_ACEOF
46120 #define wxUSE_STATLINE 1
46126 if test "$wxUSE_STATUSBAR" = "yes"; then
46127 cat >>confdefs.h <<\_ACEOF
46128 #define wxUSE_NATIVE_STATUSBAR 1
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_STATUSBAR 1
46137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46140 if test "$wxUSE_TEXTCTRL" = "yes"; then
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_TEXTCTRL 1
46146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_RICHEDIT 1
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_RICHEDIT2 1
46158 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46159 if test "$wxUSE_COCOA" = 1 ; then
46160 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46161 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46165 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_TOGGLEBTN 1
46174 if test "$wxUSE_TOOLBAR" = "yes"; then
46175 cat >>confdefs.h <<\_ACEOF
46176 #define wxUSE_TOOLBAR 1
46181 if test "$wxUSE_UNIVERSAL" = "yes"; then
46182 wxUSE_TOOLBAR_NATIVE="no"
46184 wxUSE_TOOLBAR_NATIVE="yes"
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_TOOLBAR_NATIVE 1
46191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46194 if test "$wxUSE_TOOLTIPS" = "yes"; then
46195 if test "$wxUSE_MOTIF" = 1; then
46196 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46197 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46199 if test "$wxUSE_UNIVERSAL" = "yes"; then
46200 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46201 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_TOOLTIPS 1
46211 if test "$wxUSE_TREEBOOK" = "yes"; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_TREEBOOK 1
46219 if test "$wxUSE_TOOLBOOK" = "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_TOOLBOOK 1
46227 if test "$wxUSE_TREECTRL" = "yes"; then
46228 if test "$wxUSE_IMAGLIST" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_TREECTRL 1
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46236 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46237 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46241 if test "$wxUSE_POPUPWIN" = "yes"; then
46242 if test "$wxUSE_COCOA" = 1 ; then
46243 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46244 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46246 if test "$wxUSE_PM" = 1; then
46247 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46248 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46250 cat >>confdefs.h <<\_ACEOF
46251 #define wxUSE_POPUPWIN 1
46254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46261 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46262 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46263 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46264 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_DIALUP_MANAGER 1
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46274 if test "$wxUSE_TIPWINDOW" = "yes"; then
46275 if test "$wxUSE_PM" = 1; then
46276 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46277 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_TIPWINDOW 1
46286 if test "$USES_CONTROLS" = 1; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_CONTROLS 1
46294 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxUSE_ACCESSIBILITY 1
46299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46302 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46303 cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_DRAGIMAGE 1
46307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46310 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46311 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46312 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46313 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_EXCEPTIONS 1
46319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46324 if test "$wxUSE_HTML" = "yes"; then
46325 cat >>confdefs.h <<\_ACEOF
46326 #define wxUSE_HTML 1
46330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46332 if test "$wxUSE_WEBKIT" = "yes"; then
46333 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46334 old_CPPFLAGS="$CPPFLAGS"
46335 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46336 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46337 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46338 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 cat >conftest.$ac_ext <<_ACEOF
46344 cat confdefs.h >>conftest.$ac_ext
46345 cat >>conftest.$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46348 #include <Carbon/Carbon.h>
46349 #include <WebKit/WebKit.h>
46352 #include <WebKit/HIWebView.h>
46354 rm -f conftest.$ac_objext
46355 if { (ac_try="$ac_compile"
46356 case "(($ac_try" in
46357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46358 *) ac_try_echo=$ac_try;;
46360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46361 (eval "$ac_compile") 2>conftest.er1
46363 grep -v '^ *+' conftest.er1 >conftest.err
46365 cat conftest.err >&5
46366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367 (exit $ac_status); } && {
46368 test -z "$ac_c_werror_flag" ||
46369 test ! -s conftest.err
46370 } && test -s conftest.$ac_objext; then
46371 ac_cv_header_WebKit_HIWebView_h=yes
46373 echo "$as_me: failed program was:" >&5
46374 sed 's/^/| /' conftest.$ac_ext >&5
46376 ac_cv_header_WebKit_HIWebView_h=no
46379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46381 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46382 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46383 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_WEBKIT 1
46389 WEBKIT_LINK="-framework WebKit"
46393 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46394 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46400 CPPFLAGS="$old_CPPFLAGS"
46401 elif test "$wxUSE_COCOA" = 1; then
46402 cat >>confdefs.h <<\_ACEOF
46403 #define wxUSE_WEBKIT 1
46409 if test "$wxUSE_WEBKIT" = "yes"; then
46410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46415 if test "$wxUSE_XRC" = "yes"; then
46416 if test "$wxUSE_XML" != "yes"; then
46417 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46418 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_XRC 1
46426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46431 if test "$wxUSE_AUI" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_AUI 1
46437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46441 if test "$wxUSE_PROPGRID" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_PROPGRID 1
46447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46451 if test "$wxUSE_RIBBON" = "yes"; then
46452 cat >>confdefs.h <<\_ACEOF
46453 #define wxUSE_RIBBON 1
46457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46461 if test "$wxUSE_STC" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_STC 1
46467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46469 # Extract the first word of "python", so it can be a program name with args.
46470 set dummy python; ac_word=$2
46471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46473 if test "${ac_cv_path_PYTHON+set}" = set; then
46474 echo $ECHO_N "(cached) $ECHO_C" >&6
46478 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46482 for as_dir in $PATH
46485 test -z "$as_dir" && as_dir=.
46486 for ac_exec_ext in '' $ac_executable_extensions; do
46487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46488 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46499 PYTHON=$ac_cv_path_PYTHON
46500 if test -n "$PYTHON"; then
46501 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46502 echo "${ECHO_T}$PYTHON" >&6; }
46504 { echo "$as_me:$LINENO: result: no" >&5
46505 echo "${ECHO_T}no" >&6; }
46509 if test "x$PYTHON" = "x"; then
46515 if test "$wxUSE_MENUS" = "yes"; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_MENUS 1
46520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46523 if test "$wxUSE_METAFILE" = "yes"; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_METAFILE 1
46530 if test "$wxUSE_MIMETYPE" = "yes"; then
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_MIMETYPE 1
46537 if test "$wxUSE_MINIFRAME" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_MINIFRAME 1
46544 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_SYSTEM_OPTIONS 1
46551 if test "$wxUSE_TASKBARICON" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_TASKBARICON 1
46556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46560 if test "$wxUSE_VALIDATORS" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_VALIDATORS 1
46565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46568 if test "$wxUSE_PALETTE" = "yes" ; then
46569 if test "$wxUSE_DFB" = 1; then
46570 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46571 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46574 cat >>confdefs.h <<\_ACEOF
46575 #define wxUSE_PALETTE 1
46581 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46582 LIBS=" -lunicows $LIBS"
46586 if test "$wxUSE_RICHTEXT" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_RICHTEXT 1
46592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46596 if test "$wxUSE_IMAGE" = "yes" ; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_IMAGE 1
46602 if test "$wxUSE_GIF" = "yes" ; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_GIF 1
46609 if test "$wxUSE_PCX" = "yes" ; then
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_PCX 1
46616 if test "$wxUSE_TGA" = "yes" ; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_TGA 1
46623 if test "$wxUSE_IFF" = "yes" ; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_IFF 1
46630 if test "$wxUSE_PNM" = "yes" ; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_PNM 1
46637 if test "$wxUSE_XPM" = "yes" ; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_XPM 1
46644 if test "$wxUSE_ICO_CUR" = "yes" ; then
46645 cat >>confdefs.h <<\_ACEOF
46646 #define wxUSE_ICO_CUR 1
46653 if test "$wxUSE_ABOUTDLG" = "yes"; then
46654 cat >>confdefs.h <<\_ACEOF
46655 #define wxUSE_ABOUTDLG 1
46660 if test "$wxUSE_CHOICEDLG" = "yes"; then
46661 cat >>confdefs.h <<\_ACEOF
46662 #define wxUSE_CHOICEDLG 1
46667 if test "$wxUSE_COLOURDLG" = "yes"; then
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_COLOURDLG 1
46674 if test "$wxUSE_FILEDLG" = "yes"; then
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_FILEDLG 1
46681 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46682 cat >>confdefs.h <<\_ACEOF
46683 #define wxUSE_FINDREPLDLG 1
46688 if test "$wxUSE_FONTDLG" = "yes"; then
46689 cat >>confdefs.h <<\_ACEOF
46690 #define wxUSE_FONTDLG 1
46695 if test "$wxUSE_DIRDLG" = "yes"; then
46696 if test "$wxUSE_TREECTRL" != "yes"; then
46697 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46698 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_DIRDLG 1
46707 if test "$wxUSE_MSGDLG" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_MSGDLG 1
46714 if test "$wxUSE_NUMBERDLG" = "yes"; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_NUMBERDLG 1
46721 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46722 cat >>confdefs.h <<\_ACEOF
46723 #define wxUSE_PROGRESSDLG 1
46728 if test "$wxUSE_SPLASH" = "yes"; then
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_SPLASH 1
46733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46736 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_STARTUP_TIPS 1
46743 if test "$wxUSE_TEXTDLG" = "yes"; then
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_TEXTDLG 1
46750 if test "$wxUSE_WIZARDDLG" = "yes"; then
46751 cat >>confdefs.h <<\_ACEOF
46752 #define wxUSE_WIZARDDLG 1
46755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46759 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46760 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_OWNER_DRAWN 1
46769 if test "$wxUSE_MSW" = 1 ; then
46771 if test "$wxUSE_DC_CACHEING" = "yes"; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_DC_CACHEING 1
46778 if test "$wxUSE_DIB" = "yes"; then
46779 cat >>confdefs.h <<\_ACEOF
46780 #define wxUSE_WXDIB 1
46785 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46786 cat >>confdefs.h <<\_ACEOF
46787 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46792 if test "$wxUSE_UXTHEME" = "yes"; then
46793 cat >>confdefs.h <<\_ACEOF
46794 #define wxUSE_UXTHEME 1
46801 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46802 cat >>confdefs.h <<\_ACEOF
46803 #define wxUSE_AUTOID_MANAGEMENT 1
46808 if test "$USE_WIN32" = 1 ; then
46809 if test "$wxUSE_INICONF" = "yes"; then
46810 cat >>confdefs.h <<\_ACEOF
46811 #define wxUSE_INICONF 1
46816 if test "$wxUSE_REGKEY" = "yes"; then
46817 cat >>confdefs.h <<\_ACEOF
46818 #define wxUSE_REGKEY 1
46825 if test "$wxUSE_MAC" = 1; then
46826 wxUSE_GRAPHICS_CONTEXT="yes"
46829 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46830 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46831 cat >>confdefs.h <<\_ACEOF
46832 #define wxUSE_GRAPHICS_CONTEXT 1
46835 elif test "$wxUSE_GTK" != 1; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_GRAPHICS_CONTEXT 1
46843 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46844 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46846 if test -n "$PKG_CONFIG"; then
46847 if test -n "$CAIRO_CFLAGS"; then
46848 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46850 if test -n "$PKG_CONFIG" && \
46851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46852 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46855 (exit $ac_status); }; then
46856 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46864 if test -n "$PKG_CONFIG"; then
46865 if test -n "$CAIRO_LIBS"; then
46866 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46868 if test -n "$PKG_CONFIG" && \
46869 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46870 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46873 (exit $ac_status); }; then
46874 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46885 if test $pkg_failed = yes; then
46887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46888 _pkg_short_errors_supported=yes
46890 _pkg_short_errors_supported=no
46892 if test $_pkg_short_errors_supported = yes; then
46893 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46895 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46897 # Put the nasty error message in config.log where it belongs
46898 echo "$CAIRO_PKG_ERRORS" >&5
46900 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46901 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46903 elif test $pkg_failed = untried; then
46904 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46905 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46908 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46909 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46910 { echo "$as_me:$LINENO: result: yes" >&5
46911 echo "${ECHO_T}yes" >&6; }
46912 cat >>confdefs.h <<\_ACEOF
46913 #define wxUSE_GRAPHICS_CONTEXT 1
46923 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46926 if test "$wxUSE_GTK" = 1; then
46927 wxUSE_GSTREAMER="no"
46929 GST_VERSION_MAJOR=0
46930 GST_VERSION_MINOR=10
46931 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46933 if test "$wxUSE_GSTREAMER8" = "no"; then
46936 { echo "$as_me:$LINENO: checking for GST" >&5
46937 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46939 if test -n "$PKG_CONFIG"; then
46940 if test -n "$GST_CFLAGS"; then
46941 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46943 if test -n "$PKG_CONFIG" && \
46944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46945 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46948 (exit $ac_status); }; then
46949 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46957 if test -n "$PKG_CONFIG"; then
46958 if test -n "$GST_LIBS"; then
46959 pkg_cv_GST_LIBS="$GST_LIBS"
46961 if test -n "$PKG_CONFIG" && \
46962 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46963 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46966 (exit $ac_status); }; then
46967 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46978 if test $pkg_failed = yes; then
46980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46981 _pkg_short_errors_supported=yes
46983 _pkg_short_errors_supported=no
46985 if test $_pkg_short_errors_supported = yes; then
46986 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46988 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46990 # Put the nasty error message in config.log where it belongs
46991 echo "$GST_PKG_ERRORS" >&5
46994 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46995 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46996 GST_VERSION_MINOR=8
46999 elif test $pkg_failed = untried; then
47001 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47002 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47003 GST_VERSION_MINOR=8
47007 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47008 GST_LIBS=$pkg_cv_GST_LIBS
47009 { echo "$as_me:$LINENO: result: yes" >&5
47010 echo "${ECHO_T}yes" >&6; }
47012 wxUSE_GSTREAMER="yes"
47013 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47017 GST_VERSION_MINOR=8
47020 if test $GST_VERSION_MINOR = "8"; then
47021 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47024 { echo "$as_me:$LINENO: checking for GST" >&5
47025 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47027 if test -n "$PKG_CONFIG"; then
47028 if test -n "$GST_CFLAGS"; then
47029 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47031 if test -n "$PKG_CONFIG" && \
47032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47033 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47036 (exit $ac_status); }; then
47037 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47045 if test -n "$PKG_CONFIG"; then
47046 if test -n "$GST_LIBS"; then
47047 pkg_cv_GST_LIBS="$GST_LIBS"
47049 if test -n "$PKG_CONFIG" && \
47050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47051 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47054 (exit $ac_status); }; then
47055 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47066 if test $pkg_failed = yes; then
47068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47069 _pkg_short_errors_supported=yes
47071 _pkg_short_errors_supported=no
47073 if test $_pkg_short_errors_supported = yes; then
47074 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47076 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47078 # Put the nasty error message in config.log where it belongs
47079 echo "$GST_PKG_ERRORS" >&5
47082 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47083 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47085 elif test $pkg_failed = untried; then
47087 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47088 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47091 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47092 GST_LIBS=$pkg_cv_GST_LIBS
47093 { echo "$as_me:$LINENO: result: yes" >&5
47094 echo "${ECHO_T}yes" >&6; }
47095 wxUSE_GSTREAMER="yes"
47100 if test "$wxUSE_GSTREAMER" = "yes"; then
47101 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47102 EXTRALIBS_MEDIA="$GST_LIBS"
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_GSTREAMER 1
47113 if test $USE_MEDIA = 1; then
47114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47115 cat >>confdefs.h <<\_ACEOF
47116 #define wxUSE_MEDIACTRL 1
47120 if test "$wxUSE_MEDIACTRL" = "yes"; then
47121 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47122 echo "$as_me: error: GStreamer not available" >&2;}
47123 { (exit 1); exit 1; }; }
47125 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47126 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47132 if test "$cross_compiling" != "no"; then
47135 OSINFO=`uname -s -r -m`
47136 OSINFO="\"$OSINFO\""
47139 cat >>confdefs.h <<_ACEOF
47140 #define WXWIN_OS_DESCRIPTION $OSINFO
47145 if test "x$prefix" != "xNONE"; then
47148 wxPREFIX=$ac_default_prefix
47151 cat >>confdefs.h <<_ACEOF
47152 #define wxINSTALL_PREFIX "$wxPREFIX"
47158 STD_BASE_LIBS="base"
47160 BUILT_WX_LIBS="base"
47161 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47163 if test "$wxUSE_SOCKETS" = "yes" ; then
47164 STD_BASE_LIBS="net $STD_BASE_LIBS"
47165 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47167 if test "$wxUSE_XML" = "yes" ; then
47168 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47169 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47172 if test "$wxUSE_GUI" = "yes"; then
47173 STD_GUI_LIBS="adv core"
47174 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47176 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47177 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47178 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47180 if test "$wxUSE_HTML" = "yes" ; then
47181 STD_GUI_LIBS="html $STD_GUI_LIBS"
47182 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47184 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47185 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47187 if test "$wxUSE_OPENGL" = "yes" ; then
47188 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47190 if test "$wxUSE_AUI" = "yes" ; then
47191 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47193 if test "$wxUSE_PROPGRID" = "yes" ; then
47194 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47196 if test "$wxUSE_RIBBON" = "yes" ; then
47197 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47199 if test "$wxUSE_RICHTEXT" = "yes" ; then
47200 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47202 if test "$wxUSE_STC" = "yes" ; then
47203 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47205 if test "$wxUSE_XRC" = "yes" ; then
47206 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47207 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47218 if test "$wxUSE_MAC" = 1 ; then
47219 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47220 if test "$USE_DARWIN" = 1; then
47221 LDFLAGS="$LDFLAGS -framework QuickTime"
47224 if test "$USE_DARWIN" = 1; then
47225 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47228 if test "$wxUSE_COCOA" = 1 ; then
47229 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47230 if test "$wxUSE_MEDIACTRL" = "yes"; then
47231 LDFLAGS="$LDFLAGS -framework QuickTime"
47234 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47235 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47238 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47240 if test "$wxUSE_GUI" = "yes"; then
47243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47244 erase event exec font image minimal render \
47245 shaped svg taborder vscroll widgets wrapsizer"
47247 if test "$wxUSE_MONOLITHIC" != "yes"; then
47248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47250 if test "$TOOLKIT" = "MSW"; then
47251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47252 if test "$wxUSE_UNIVERSAL" != "yes"; then
47253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47256 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47260 SAMPLES_SUBDIRS="console"
47261 if test "$wxUSE_SOCKETS" = "yes" ; then
47262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47264 if test "$wxUSE_IPC" = "yes" ; then
47265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47270 if test "x$INTELCC" = "xyes" ; then
47271 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47272 elif test "$GCC" = yes ; then
47273 CWARNINGS="-Wall -Wundef"
47276 if test "x$INTELCXX" = "xyes" ; then
47277 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47278 elif test "$GXX" = yes ; then
47279 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47280 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47281 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47282 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47283 echo $ECHO_N "(cached) $ECHO_C" >&6
47285 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47293 ac_save_CXXFLAGS="$CXXFLAGS"
47294 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47295 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47296 cat >conftest.$ac_ext <<_ACEOF
47299 cat confdefs.h >>conftest.$ac_ext
47300 cat >>conftest.$ac_ext <<_ACEOF
47301 /* end confdefs.h. */
47311 rm -f conftest.$ac_objext
47312 if { (ac_try="$ac_compile"
47313 case "(($ac_try" in
47314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47315 *) ac_try_echo=$ac_try;;
47317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47318 (eval "$ac_compile") 2>conftest.er1
47320 grep -v '^ *+' conftest.er1 >conftest.err
47322 cat conftest.err >&5
47323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47324 (exit $ac_status); } && {
47325 test -z "$ac_cxx_werror_flag" ||
47326 test ! -s conftest.err
47327 } && test -s conftest.$ac_objext; then
47328 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47330 echo "$as_me: failed program was:" >&5
47331 sed 's/^/| /' conftest.$ac_ext >&5
47336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47338 CXXFLAGS="$ac_save_CXXFLAGS"
47340 ac_cpp='$CPP $CPPFLAGS'
47341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47348 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47349 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47353 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47354 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47355 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47358 (exit $ac_status); }
47359 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47360 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47363 (exit $ac_status); }
47364 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47370 if test "$wxUSE_MAC" = 1 ; then
47371 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47376 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47377 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47380 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47381 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47382 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47385 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47386 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47387 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47388 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47389 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47391 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47394 if test "x$MWCC" = "xyes"; then
47396 CC="$CC -cwd source -I-"
47397 CXX="$CXX -cwd source -I-"
47402 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47403 EXTRALIBS_XML="$EXPAT_LINK"
47404 EXTRALIBS_HTML="$MSPACK_LINK"
47405 EXTRALIBS_MEDIA="$GST_LIBS"
47406 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47407 if test "$wxUSE_GUI" = "yes"; then
47408 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47410 if test "$wxUSE_OPENGL" = "yes"; then
47411 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47414 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47416 WXCONFIG_LIBS="$LIBS"
47418 if test "$wxUSE_REGEX" = "builtin" ; then
47419 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47421 if test "$wxUSE_EXPAT" = "builtin" ; then
47422 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47424 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47425 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47427 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47428 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47430 if test "$wxUSE_LIBPNG" = "builtin" ; then
47431 wxconfig_3rdparty="png $wxconfig_3rdparty"
47433 if test "$wxUSE_ZLIB" = "builtin" ; then
47434 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47437 for i in $wxconfig_3rdparty ; do
47438 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47442 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47445 case "$wxUNIV_THEMES" in
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_ALL_THEMES 1
47454 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47455 cat >>confdefs.h <<_ACEOF
47456 #define wxUSE_THEME_$t 1
47472 if test $wxUSE_MONOLITHIC = "yes" ; then
47478 if test $wxUSE_PLUGINS = "yes" ; then
47484 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47490 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47522 TOOLKIT_LOWERCASE=xxx
47523 if test "$TOOLKIT" = "MAC"; then
47524 TOOLKIT_LOWERCASE=osx_carbon
47526 if test "$TOOLKIT" = "OSX_CARBON"; then
47527 TOOLKIT_LOWERCASE=osx_carbon
47529 if test "$TOOLKIT" = "OSX_COCOA"; then
47530 TOOLKIT_LOWERCASE=osx_cocoa
47532 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47533 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47547 TOOLKIT_DESC="GTK+"
47548 if test "$WXGTK2" = 1; then
47549 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47550 if test "$wxUSE_GTKPRINT" = "yes" ; then
47551 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47553 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47554 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47556 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47557 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47559 if test "$wxUSE_LIBHILDON" = "yes"; then
47560 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47562 if test "$wxUSE_LIBHILDON2" = "yes"; then
47563 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47566 if test "$TOOLKIT_EXTRA" != ""; then
47567 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47573 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47577 TOOLKIT_DESC="base only"
47581 if test "$wxUSE_WINE" = "yes"; then
47582 BAKEFILE_FORCE_PLATFORM=win32
47585 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47587 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47588 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47589 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47590 echo $ECHO_N "(cached) $ECHO_C" >&6
47593 echo '#include <stdio.h>
47594 const wchar_t test_var[] = L"awidetest";' > conftest.h
47596 echo '#include "conftest.h"
47599 printf("%ls", test_var);
47603 wx_cv_gcc_pch_bug="pch not supported"
47605 if $CXX conftest.h >/dev/null 2>&1
47609 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47611 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47612 grep awidetest >/dev/null
47614 wx_cv_gcc_pch_bug=no
47616 wx_cv_gcc_pch_bug=yes
47621 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47624 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47625 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47627 if test "$wx_cv_gcc_pch_bug" = yes; then
47638 if test "x$BAKEFILE_HOST" = "x"; then
47639 if test "x${host}" = "x" ; then
47640 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47641 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47642 { (exit 1); exit 1; }; }
47645 BAKEFILE_HOST="${host}"
47648 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47650 if test -n "$ac_tool_prefix"; then
47651 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47652 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47655 if test "${ac_cv_prog_RANLIB+set}" = set; then
47656 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 if test -n "$RANLIB"; then
47659 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47662 for as_dir in $PATH
47665 test -z "$as_dir" && as_dir=.
47666 for ac_exec_ext in '' $ac_executable_extensions; do
47667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47668 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47678 RANLIB=$ac_cv_prog_RANLIB
47679 if test -n "$RANLIB"; then
47680 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47681 echo "${ECHO_T}$RANLIB" >&6; }
47683 { echo "$as_me:$LINENO: result: no" >&5
47684 echo "${ECHO_T}no" >&6; }
47689 if test -z "$ac_cv_prog_RANLIB"; then
47690 ac_ct_RANLIB=$RANLIB
47691 # Extract the first word of "ranlib", so it can be a program name with args.
47692 set dummy ranlib; ac_word=$2
47693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47695 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47696 echo $ECHO_N "(cached) $ECHO_C" >&6
47698 if test -n "$ac_ct_RANLIB"; then
47699 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47702 for as_dir in $PATH
47705 test -z "$as_dir" && as_dir=.
47706 for ac_exec_ext in '' $ac_executable_extensions; do
47707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47708 ac_cv_prog_ac_ct_RANLIB="ranlib"
47709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47718 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47719 if test -n "$ac_ct_RANLIB"; then
47720 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47721 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47723 { echo "$as_me:$LINENO: result: no" >&5
47724 echo "${ECHO_T}no" >&6; }
47727 if test "x$ac_ct_RANLIB" = x; then
47730 case $cross_compiling:$ac_tool_warned in
47732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47733 whose name does not start with the host triplet. If you think this
47734 configuration is useful to you, please write to autoconf@gnu.org." >&5
47735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47736 whose name does not start with the host triplet. If you think this
47737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47738 ac_tool_warned=yes ;;
47740 RANLIB=$ac_ct_RANLIB
47743 RANLIB="$ac_cv_prog_RANLIB"
47746 # Find a good install program. We prefer a C program (faster),
47747 # so one script is as good as another. But avoid the broken or
47748 # incompatible versions:
47749 # SysV /etc/install, /usr/sbin/install
47750 # SunOS /usr/etc/install
47751 # IRIX /sbin/install
47753 # AmigaOS /C/install, which installs bootblocks on floppy discs
47754 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47755 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47756 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47757 # OS/2's system install, which has a completely different semantic
47758 # ./install, which can be erroneously created by make from ./install.sh.
47759 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47760 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47761 if test -z "$INSTALL"; then
47762 if test "${ac_cv_path_install+set}" = set; then
47763 echo $ECHO_N "(cached) $ECHO_C" >&6
47765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47766 for as_dir in $PATH
47769 test -z "$as_dir" && as_dir=.
47770 # Account for people who put trailing slashes in PATH elements.
47772 ./ | .// | /cC/* | \
47773 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47774 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47777 # OSF1 and SCO ODT 3.0 have their own names for install.
47778 # Don't use installbsd from OSF since it installs stuff as root
47780 for ac_prog in ginstall scoinst install; do
47781 for ac_exec_ext in '' $ac_executable_extensions; do
47782 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47783 if test $ac_prog = install &&
47784 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47785 # AIX install. It has an incompatible calling convention.
47787 elif test $ac_prog = install &&
47788 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47789 # program-specific install script used by HP pwplus--don't use.
47792 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47805 if test "${ac_cv_path_install+set}" = set; then
47806 INSTALL=$ac_cv_path_install
47808 # As a last resort, use the slow shell script. Don't cache a
47809 # value for INSTALL within a source directory, because that will
47810 # break other packages using the cache if that directory is
47811 # removed, or if the value is a relative name.
47812 INSTALL=$ac_install_sh
47815 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47816 echo "${ECHO_T}$INSTALL" >&6; }
47818 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47819 # It thinks the first close brace ends the variable substitution.
47820 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47822 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47824 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47826 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47827 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47829 if test "$LN_S" = "ln -s"; then
47830 { echo "$as_me:$LINENO: result: yes" >&5
47831 echo "${ECHO_T}yes" >&6; }
47833 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47834 echo "${ECHO_T}no, using $LN_S" >&6; }
47838 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47839 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47840 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47841 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47842 echo $ECHO_N "(cached) $ECHO_C" >&6
47844 cat >conftest.make <<\_ACEOF
47847 @echo '@@@%%%=$(MAKE)=@@@%%%'
47849 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47850 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47851 *@@@%%%=?*=@@@%%%*)
47852 eval ac_cv_prog_make_${ac_make}_set=yes;;
47854 eval ac_cv_prog_make_${ac_make}_set=no;;
47856 rm -f conftest.make
47858 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47859 { echo "$as_me:$LINENO: result: yes" >&5
47860 echo "${ECHO_T}yes" >&6; }
47863 { echo "$as_me:$LINENO: result: no" >&5
47864 echo "${ECHO_T}no" >&6; }
47865 SET_MAKE="MAKE=${MAKE-make}"
47870 if test "x$SUNCXX" = "xyes"; then
47872 AROPTIONS="-xar -o"
47874 elif test "x$SGICC" = "xyes"; then
47879 if test -n "$ac_tool_prefix"; then
47880 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47881 set dummy ${ac_tool_prefix}ar; ac_word=$2
47882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47884 if test "${ac_cv_prog_AR+set}" = set; then
47885 echo $ECHO_N "(cached) $ECHO_C" >&6
47887 if test -n "$AR"; then
47888 ac_cv_prog_AR="$AR" # Let the user override the test.
47890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47891 for as_dir in $PATH
47894 test -z "$as_dir" && as_dir=.
47895 for ac_exec_ext in '' $ac_executable_extensions; do
47896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47897 ac_cv_prog_AR="${ac_tool_prefix}ar"
47898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47908 if test -n "$AR"; then
47909 { echo "$as_me:$LINENO: result: $AR" >&5
47910 echo "${ECHO_T}$AR" >&6; }
47912 { echo "$as_me:$LINENO: result: no" >&5
47913 echo "${ECHO_T}no" >&6; }
47918 if test -z "$ac_cv_prog_AR"; then
47920 # Extract the first word of "ar", so it can be a program name with args.
47921 set dummy ar; ac_word=$2
47922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47924 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47925 echo $ECHO_N "(cached) $ECHO_C" >&6
47927 if test -n "$ac_ct_AR"; then
47928 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47931 for as_dir in $PATH
47934 test -z "$as_dir" && as_dir=.
47935 for ac_exec_ext in '' $ac_executable_extensions; do
47936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47937 ac_cv_prog_ac_ct_AR="ar"
47938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47947 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47948 if test -n "$ac_ct_AR"; then
47949 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47950 echo "${ECHO_T}$ac_ct_AR" >&6; }
47952 { echo "$as_me:$LINENO: result: no" >&5
47953 echo "${ECHO_T}no" >&6; }
47956 if test "x$ac_ct_AR" = x; then
47959 case $cross_compiling:$ac_tool_warned in
47961 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47962 whose name does not start with the host triplet. If you think this
47963 configuration is useful to you, please write to autoconf@gnu.org." >&5
47964 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47965 whose name does not start with the host triplet. If you think this
47966 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47967 ac_tool_warned=yes ;;
47972 AR="$ac_cv_prog_AR"
47979 if test -n "$ac_tool_prefix"; then
47980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47981 set dummy ${ac_tool_prefix}strip; ac_word=$2
47982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47984 if test "${ac_cv_prog_STRIP+set}" = set; then
47985 echo $ECHO_N "(cached) $ECHO_C" >&6
47987 if test -n "$STRIP"; then
47988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47991 for as_dir in $PATH
47994 test -z "$as_dir" && as_dir=.
47995 for ac_exec_ext in '' $ac_executable_extensions; do
47996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47997 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48007 STRIP=$ac_cv_prog_STRIP
48008 if test -n "$STRIP"; then
48009 { echo "$as_me:$LINENO: result: $STRIP" >&5
48010 echo "${ECHO_T}$STRIP" >&6; }
48012 { echo "$as_me:$LINENO: result: no" >&5
48013 echo "${ECHO_T}no" >&6; }
48018 if test -z "$ac_cv_prog_STRIP"; then
48020 # Extract the first word of "strip", so it can be a program name with args.
48021 set dummy strip; ac_word=$2
48022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48024 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48025 echo $ECHO_N "(cached) $ECHO_C" >&6
48027 if test -n "$ac_ct_STRIP"; then
48028 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48031 for as_dir in $PATH
48034 test -z "$as_dir" && as_dir=.
48035 for ac_exec_ext in '' $ac_executable_extensions; do
48036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48037 ac_cv_prog_ac_ct_STRIP="strip"
48038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48048 if test -n "$ac_ct_STRIP"; then
48049 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48050 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48052 { echo "$as_me:$LINENO: result: no" >&5
48053 echo "${ECHO_T}no" >&6; }
48056 if test "x$ac_ct_STRIP" = x; then
48059 case $cross_compiling:$ac_tool_warned in
48061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48062 whose name does not start with the host triplet. If you think this
48063 configuration is useful to you, please write to autoconf@gnu.org." >&5
48064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48065 whose name does not start with the host triplet. If you think this
48066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48067 ac_tool_warned=yes ;;
48072 STRIP="$ac_cv_prog_STRIP"
48075 if test -n "$ac_tool_prefix"; then
48076 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48077 set dummy ${ac_tool_prefix}nm; ac_word=$2
48078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48080 if test "${ac_cv_prog_NM+set}" = set; then
48081 echo $ECHO_N "(cached) $ECHO_C" >&6
48083 if test -n "$NM"; then
48084 ac_cv_prog_NM="$NM" # Let the user override the test.
48086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48087 for as_dir in $PATH
48090 test -z "$as_dir" && as_dir=.
48091 for ac_exec_ext in '' $ac_executable_extensions; do
48092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48093 ac_cv_prog_NM="${ac_tool_prefix}nm"
48094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48104 if test -n "$NM"; then
48105 { echo "$as_me:$LINENO: result: $NM" >&5
48106 echo "${ECHO_T}$NM" >&6; }
48108 { echo "$as_me:$LINENO: result: no" >&5
48109 echo "${ECHO_T}no" >&6; }
48114 if test -z "$ac_cv_prog_NM"; then
48116 # Extract the first word of "nm", so it can be a program name with args.
48117 set dummy nm; ac_word=$2
48118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48120 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48121 echo $ECHO_N "(cached) $ECHO_C" >&6
48123 if test -n "$ac_ct_NM"; then
48124 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48127 for as_dir in $PATH
48130 test -z "$as_dir" && as_dir=.
48131 for ac_exec_ext in '' $ac_executable_extensions; do
48132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48133 ac_cv_prog_ac_ct_NM="nm"
48134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48143 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48144 if test -n "$ac_ct_NM"; then
48145 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48146 echo "${ECHO_T}$ac_ct_NM" >&6; }
48148 { echo "$as_me:$LINENO: result: no" >&5
48149 echo "${ECHO_T}no" >&6; }
48152 if test "x$ac_ct_NM" = x; then
48155 case $cross_compiling:$ac_tool_warned in
48157 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48158 whose name does not start with the host triplet. If you think this
48159 configuration is useful to you, please write to autoconf@gnu.org." >&5
48160 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48161 whose name does not start with the host triplet. If you think this
48162 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48163 ac_tool_warned=yes ;;
48168 NM="$ac_cv_prog_NM"
48172 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48173 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48174 INSTALL_TEST_DIR=acbftest$$
48175 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48176 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48177 rmdir $INSTALL_TEST_DIR
48178 INSTALL_DIR='$(INSTALL) -d'
48179 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48180 echo "${ECHO_T}$INSTALL -d" >&6; }
48182 INSTALL_DIR="mkdir -p"
48183 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48184 echo "${ECHO_T}mkdir -p" >&6; }
48189 case ${BAKEFILE_HOST} in
48190 *-*-cygwin* | *-*-mingw32* )
48191 LDFLAGS_GUI="-mwindows"
48197 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48198 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48199 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48200 echo $ECHO_N "(cached) $ECHO_C" >&6
48203 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48204 egrep -s GNU > /dev/null); then
48205 bakefile_cv_prog_makeisgnu="yes"
48207 bakefile_cv_prog_makeisgnu="no"
48211 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48212 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48214 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48231 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48232 case "${BAKEFILE_HOST}" in
48239 *-pc-os2_emx | *-pc-os2-emx )
48249 powerpc-apple-macos* )
48258 case "$BAKEFILE_FORCE_PLATFORM" in
48293 # Check whether --enable-omf was given.
48294 if test "${enable_omf+set}" = set; then
48295 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48299 case "${BAKEFILE_HOST}" in
48301 if test "x$GCC" = "xyes"; then
48302 CFLAGS="$CFLAGS -fno-common"
48303 CXXFLAGS="$CXXFLAGS -fno-common"
48305 if test "x$XLCC" = "xyes"; then
48306 CFLAGS="$CFLAGS -qnocommon"
48307 CXXFLAGS="$CXXFLAGS -qnocommon"
48311 *-pc-os2_emx | *-pc-os2-emx )
48312 if test "x$bk_os2_use_omf" = "xyes" ; then
48315 LDFLAGS="-Zomf $LDFLAGS"
48316 CFLAGS="-Zomf $CFLAGS"
48317 CXXFLAGS="-Zomf $CXXFLAGS"
48325 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48331 SO_SUFFIX_MODULE="so"
48336 DLLPREFIX_MODULE=""
48340 case "${BAKEFILE_HOST}" in
48345 SO_SUFFIX_MODULE="sl"
48349 SO_SUFFIX_MODULE="a"
48353 SO_SUFFIX_MODULE="dll"
48354 DLLIMP_SUFFIX="dll.a"
48361 SO_SUFFIX_MODULE="dll"
48362 DLLIMP_SUFFIX="dll.a"
48372 *-pc-os2_emx | *-pc-os2-emx )
48374 SO_SUFFIX_MODULE="dll"
48375 DLLIMP_SUFFIX=$OS2_LIBEXT
48379 LIBEXT=".$OS2_LIBEXT"
48384 SO_SUFFIX_MODULE="bundle"
48388 if test "x$DLLIMP_SUFFIX" = "x" ; then
48389 DLLIMP_SUFFIX="$SO_SUFFIX"
48404 if test "x$GCC" = "xyes"; then
48408 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48409 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48412 case "${BAKEFILE_HOST}" in
48414 if test "x$GCC" != "xyes"; then
48415 LDFLAGS="$LDFLAGS -L/usr/lib"
48417 SHARED_LD_CC="${CC} -b -o"
48418 SHARED_LD_CXX="${CXX} -b -o"
48424 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48426 elif test "x$SUNCXX" = "xyes"; then
48427 SHARED_LD_CC="${CC} -G -o"
48428 SHARED_LD_CXX="${CXX} -G -o"
48434 if test "x$SUNCXX" = xyes ; then
48435 SHARED_LD_CC="${CC} -G -o"
48436 SHARED_LD_CXX="${CXX} -G -o"
48444 cat <<EOF >shared-ld-sh
48446 #-----------------------------------------------------------------------------
48447 #-- Name: distrib/mac/shared-ld-sh
48448 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48449 #-- Author: Gilles Depeyrot
48450 #-- Copyright: (c) 2002 Gilles Depeyrot
48451 #-- Licence: any use permitted
48452 #-----------------------------------------------------------------------------
48457 linking_flag="-dynamiclib"
48458 ldargs="-r -keep_private_externs -nostdlib"
48460 if test "x${D}CXX" = "x"; then
48464 while test ${D}# -gt 0; do
48471 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48472 # collect these options and values
48473 args="${D}{args} ${D}1 ${D}2"
48478 # collect these options and values
48479 ldargs="${D}{ldargs} ${D}1 ${D}2"
48484 # collect these load args
48485 ldargs="${D}{ldargs} ${D}1"
48488 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48489 # collect these options
48490 args="${D}{args} ${D}1"
48493 -dynamiclib|-bundle)
48494 linking_flag="${D}1"
48498 echo "shared-ld: unhandled option '${D}1'"
48502 *.o | *.a | *.dylib)
48503 # collect object files
48504 objects="${D}{objects} ${D}1"
48508 echo "shared-ld: unhandled argument '${D}1'"
48519 # Link one module containing all the others
48521 if test ${D}{verbose} = 1; then
48522 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48524 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48528 # Link the shared library from the single module created, but only if the
48529 # previous command didn't fail:
48531 if test ${D}{status} = 0; then
48532 if test ${D}{verbose} = 1; then
48533 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48535 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48540 # Remove intermediate module
48542 rm -f master.${D}${D}.o
48547 chmod +x shared-ld-sh
48549 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48550 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48553 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48554 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48555 if test "${bakefile_cv_gcc31+set}" = set; then
48556 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 cat >conftest.$ac_ext <<_ACEOF
48562 cat confdefs.h >>conftest.$ac_ext
48563 cat >>conftest.$ac_ext <<_ACEOF
48564 /* end confdefs.h. */
48570 #if (__GNUC__ < 3) || \
48571 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48579 rm -f conftest.$ac_objext
48580 if { (ac_try="$ac_compile"
48581 case "(($ac_try" in
48582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48583 *) ac_try_echo=$ac_try;;
48585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48586 (eval "$ac_compile") 2>conftest.er1
48588 grep -v '^ *+' conftest.er1 >conftest.err
48590 cat conftest.err >&5
48591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48592 (exit $ac_status); } && {
48593 test -z "$ac_c_werror_flag" ||
48594 test ! -s conftest.err
48595 } && test -s conftest.$ac_objext; then
48597 bakefile_cv_gcc31=yes
48600 echo "$as_me: failed program was:" >&5
48601 sed 's/^/| /' conftest.$ac_ext >&5
48604 bakefile_cv_gcc31=no
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48612 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48613 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48614 if test "$bakefile_cv_gcc31" = "no"; then
48615 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48616 SHARED_LD_CXX="$SHARED_LD_CC"
48618 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48619 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48622 if test "x$GCC" == "xyes"; then
48623 PIC_FLAG="-dynamic -fPIC"
48625 if test "x$XLCC" = "xyes"; then
48626 PIC_FLAG="-dynamic -DPIC"
48631 if test "x$GCC" = "xyes"; then
48634 case "${BAKEFILE_HOST}" in
48636 LD_EXPFULL="-Wl,-bexpfull"
48640 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48641 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48643 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48644 set dummy makeC++SharedLib; ac_word=$2
48645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48647 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48648 echo $ECHO_N "(cached) $ECHO_C" >&6
48650 if test -n "$AIX_CXX_LD"; then
48651 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48654 for as_dir in $PATH
48657 test -z "$as_dir" && as_dir=.
48658 for ac_exec_ext in '' $ac_executable_extensions; do
48659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48660 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48668 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48671 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48672 if test -n "$AIX_CXX_LD"; then
48673 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48674 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48676 { echo "$as_me:$LINENO: result: no" >&5
48677 echo "${ECHO_T}no" >&6; }
48681 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48682 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48687 SHARED_LD_CC="${LD} -nostart -o"
48688 SHARED_LD_CXX="${LD} -nostart -o"
48692 if test "x$GCC" != "xyes"; then
48697 *-*-cygwin* | *-*-mingw32* )
48699 SHARED_LD_CC="\$(CC) -shared -o"
48700 SHARED_LD_CXX="\$(CXX) -shared -o"
48704 *-pc-os2_emx | *-pc-os2-emx )
48705 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48706 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48710 cat <<EOF >dllar.sh
48713 # dllar - a tool to build both a .dll and an .a file
48714 # from a set of object (.o) files for EMX/OS2.
48716 # Written by Andrew Zabolotny, bit@freya.etu.ru
48717 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48719 # This script will accept a set of files on the command line.
48720 # All the public symbols from the .o files will be exported into
48721 # a .DEF file, then linker will be run (through gcc) against them to
48722 # build a shared library consisting of all given .o files. All libraries
48723 # (.a) will be first decompressed into component .o files then act as
48724 # described above. You can optionally give a description (-d "description")
48725 # which will be put into .DLL. To see the list of accepted options (as well
48726 # as command-line format) simply run this program without options. The .DLL
48727 # is built to be imported by name (there is no guarantee that new versions
48728 # of the library you build will have same ordinals for same symbols).
48730 # dllar is free software; you can redistribute it and/or modify
48731 # it under the terms of the GNU General Public License as published by
48732 # the Free Software Foundation; either version 2, or (at your option)
48733 # any later version.
48735 # dllar is distributed in the hope that it will be useful,
48736 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48737 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48738 # GNU General Public License for more details.
48740 # You should have received a copy of the GNU General Public License
48741 # along with dllar; see the file COPYING. If not, write to the Free
48742 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48745 # To successfuly run this program you will need:
48746 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48747 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48749 # (used to build the .dll)
48751 # (used to create .def file from .o files)
48753 # (used to create .a file from .def file)
48754 # - GNU text utilites (cat, sort, uniq)
48755 # used to process emxexp output
48756 # - GNU file utilities (mv, rm)
48758 # - lxlite (optional, see flag below)
48759 # (used for general .dll cleanup)
48766 # basnam, variant of basename, which does _not_ remove the path, _iff_
48767 # second argument (suffix to remove) is given
48771 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48774 echo ${D}1 | sed 's/'${D}2'${D}//'
48777 echo "error in basnam ${D}*"
48783 # Cleanup temporary files and output
48786 for i in ${D}inputFiles ; do
48789 rm -rf \`basnam ${D}i !\`
48796 # Kill result in case of failure as there is just to many stupid make/nmake
48797 # things out there which doesn't do this.
48798 if [ ${D}# -eq 0 ]; then
48799 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48803 # Print usage and exit script with rc=1.
48805 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48806 echo ' [-name-mangler-script script.sh]'
48807 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48808 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48809 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48810 echo ' [*.o] [*.a]'
48811 echo '*> "output_file" should have no extension.'
48812 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48813 echo ' The import library name is derived from this and is set to "name".a,'
48814 echo ' unless overridden by -import'
48815 echo '*> "importlib_name" should have no extension.'
48816 echo ' If it has the .o, or .a extension, it is automatically removed.'
48817 echo ' This name is used as the import library name and may be longer and'
48818 echo ' more descriptive than the DLL name which has to follow the old '
48819 echo ' 8.3 convention of FAT.'
48820 echo '*> "script.sh may be given to override the output_file name by a'
48821 echo ' different name. It is mainly useful if the regular make process'
48822 echo ' of some package does not take into account OS/2 restriction of'
48823 echo ' DLL name lengths. It takes the importlib name as input and is'
48824 echo ' supposed to procude a shorter name as output. The script should'
48825 echo ' expect to get importlib_name without extension and should produce'
48826 echo ' a (max.) 8 letter name without extension.'
48827 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48828 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48829 echo ' These flags will be put at the start of GCC command line.'
48830 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48831 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48832 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48833 echo ' If the last character of a symbol is "*", all symbols beginning'
48834 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48835 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48836 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48837 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48838 echo ' C runtime DLLs.'
48839 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48840 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48841 echo ' unchanged to GCC at the end of command line.'
48842 echo '*> If you create a DLL from a library and you do not specify -o,'
48843 echo ' the basename for DLL and import library will be set to library name,'
48844 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48845 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48846 echo ' library will be renamed into gcc_s.a.'
48849 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48850 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48855 # Execute a command.
48856 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48857 # @Uses Whatever CleanUp() uses.
48863 if [ ${D}rcCmd -ne 0 ]; then
48864 echo "command failed, exit code="${D}rcCmd
48879 CFLAGS="-s -Zcrtdll"
48881 EXPORT_BY_ORDINALS=0
48886 case ${D}curDirS in
48890 curDirS=${D}{curDirS}"/"
48893 # Parse commandline
48896 while [ ${D}1 ]; do
48899 EXPORT_BY_ORDINALS=1;
48909 -name-mangler-script)
48930 exclude_symbols=${D}{exclude_symbols}${D}1" "
48934 library_flags=${D}{library_flags}${D}1" "
48953 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48956 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48957 if [ ${D}omfLinking -eq 1 ]; then
48958 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48960 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48965 if [ ${D}libsToLink -ne 0 ]; then
48966 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48968 for file in ${D}1 ; do
48969 if [ -f ${D}file ]; then
48970 inputFiles="${D}{inputFiles} ${D}file"
48974 if [ ${D}found -eq 0 ]; then
48975 echo "ERROR: No file(s) found: "${D}1
48982 done # iterate cmdline words
48985 if [ -z "${D}inputFiles" ]; then
48986 echo "dllar: no input files"
48990 # Now extract all .o files from .a files
48992 for file in ${D}inputFiles ; do
49003 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49008 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49010 if [ ${D}? -ne 0 ]; then
49011 echo "Failed to create subdirectory ./${D}dirname"
49015 # Append '!' to indicate archive
49016 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49017 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49020 for subfile in ${D}dirname/*.o* ; do
49021 if [ -f ${D}subfile ]; then
49023 if [ -s ${D}subfile ]; then
49024 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49025 newInputFiles="${D}newInputFiles ${D}subfile"
49029 if [ ${D}found -eq 0 ]; then
49030 echo "WARNING: there are no files in archive \\'${D}file\\'"
49034 newInputFiles="${D}{newInputFiles} ${D}file"
49038 inputFiles="${D}newInputFiles"
49040 # Output filename(s).
49042 if [ -z ${D}outFile ]; then
49044 set outFile ${D}inputFiles; outFile=${D}2
49047 # If it is an archive, remove the '!' and the '_%' suffixes
49048 case ${D}outFile in
49050 outFile=\`basnam ${D}outFile _%!\`
49055 case ${D}outFile in
49057 outFile=\`basnam ${D}outFile .dll\`
49060 outFile=\`basnam ${D}outFile .DLL\`
49063 outFile=\`basnam ${D}outFile .o\`
49066 outFile=\`basnam ${D}outFile .obj\`
49069 outFile=\`basnam ${D}outFile .a\`
49072 outFile=\`basnam ${D}outFile .lib\`
49077 case ${D}outimpFile in
49079 outimpFile=\`basnam ${D}outimpFile .a\`
49082 outimpFile=\`basnam ${D}outimpFile .lib\`
49087 if [ -z ${D}outimpFile ]; then
49088 outimpFile=${D}outFile
49090 defFile="${D}{outFile}.def"
49091 arcFile="${D}{outimpFile}.a"
49092 arcFile2="${D}{outimpFile}.lib"
49094 #create ${D}dllFile as something matching 8.3 restrictions,
49095 if [ -z ${D}renameScript ] ; then
49096 dllFile="${D}outFile"
49098 dllFile=\`${D}renameScript ${D}outimpFile\`
49101 if [ ${D}do_backup -ne 0 ] ; then
49102 if [ -f ${D}arcFile ] ; then
49103 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49105 if [ -f ${D}arcFile2 ] ; then
49106 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49110 # Extract public symbols from all the object files.
49111 tmpdefFile=${D}{defFile}_%
49112 rm -f ${D}tmpdefFile
49113 for file in ${D}inputFiles ; do
49118 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49123 # Create the def file.
49125 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49126 dllFile="${D}{dllFile}.dll"
49127 if [ ! -z ${D}description ]; then
49128 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49130 echo "EXPORTS" >> ${D}defFile
49132 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49133 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49135 # Checks if the export is ok or not.
49136 for word in ${D}exclude_symbols; do
49137 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49138 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49142 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49143 sed "=" < ${D}tmpdefFile | \\
49147 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49149 ' > ${D}{tmpdefFile}%
49150 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49152 rm -f ${D}{tmpdefFile}%
49154 cat ${D}tmpdefFile >> ${D}defFile
49155 rm -f ${D}tmpdefFile
49157 # Do linking, create implib, and apply lxlite.
49159 for file in ${D}inputFiles ; do
49164 gccCmdl="${D}gccCmdl ${D}file"
49168 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49169 touch "${D}{outFile}.dll"
49171 doCommand "emximp -o ${D}arcFile ${D}defFile"
49172 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49174 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49177 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49179 doCommand "emxomf -s -l ${D}arcFile"
49189 powerpc-apple-macos* | \
49190 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49200 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49201 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49202 { (exit 1); exit 1; }; }
49205 if test "x$PIC_FLAG" != "x" ; then
49206 PIC_FLAG="$PIC_FLAG -DPIC"
49209 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49210 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49212 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49213 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49232 case "${BAKEFILE_HOST}" in
49233 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49234 *-*-k*bsd*-gnu | *-*-mirbsd* )
49235 if test "x$SUNCXX" = "xyes"; then
49238 SONAME_FLAG="-Wl,-soname,"
49273 # Check whether --enable-dependency-tracking was given.
49274 if test "${enable_dependency_tracking+set}" = set; then
49275 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49279 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49280 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49283 if test "x$bk_use_trackdeps" = "xno" ; then
49285 { echo "$as_me:$LINENO: result: disabled" >&5
49286 echo "${ECHO_T}disabled" >&6; }
49290 if test "x$GCC" = "xyes"; then
49292 case "${BAKEFILE_HOST}" in
49294 DEPSFLAG="-no-cpp-precomp -MMD"
49300 { echo "$as_me:$LINENO: result: gcc" >&5
49301 echo "${ECHO_T}gcc" >&6; }
49302 elif test "x$MWCC" = "xyes"; then
49305 { echo "$as_me:$LINENO: result: mwcc" >&5
49306 echo "${ECHO_T}mwcc" >&6; }
49307 elif test "x$SUNCC" = "xyes"; then
49310 { echo "$as_me:$LINENO: result: Sun cc" >&5
49311 echo "${ECHO_T}Sun cc" >&6; }
49312 elif test "x$SGICC" = "xyes"; then
49315 { echo "$as_me:$LINENO: result: SGI cc" >&5
49316 echo "${ECHO_T}SGI cc" >&6; }
49317 elif test "x$HPCC" = "xyes"; then
49320 { echo "$as_me:$LINENO: result: HP cc" >&5
49321 echo "${ECHO_T}HP cc" >&6; }
49322 elif test "x$COMPAQCC" = "xyes"; then
49325 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49326 echo "${ECHO_T}Compaq cc" >&6; }
49329 { echo "$as_me:$LINENO: result: none" >&5
49330 echo "${ECHO_T}none" >&6; }
49333 if test $DEPS_TRACKING = 1 ; then
49339 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49340 # script. It is used to track C/C++ files dependencies in portable way.
49342 # Permission is given to use this file in any way.
49344 DEPSMODE=${DEPSMODE}
49345 DEPSFLAG="${DEPSFLAG}"
49348 if test ${D}DEPSMODE = gcc ; then
49349 ${D}* ${D}{DEPSFLAG}
49352 # determine location of created files:
49353 while test ${D}# -gt 0; do
49367 objfilebase=\`basename ${D}objfile\`
49368 builddir=\`dirname ${D}objfile\`
49369 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49370 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49371 depsdir=${D}builddir/${D}DEPSDIRBASE
49372 mkdir -p ${D}depsdir
49374 # if the compiler failed, we're done:
49375 if test ${D}{status} != 0 ; then
49380 # move created file to the location we want it in:
49381 if test -f ${D}depfile ; then
49382 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49385 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49386 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49387 if test ! -f ${D}depfile ; then
49388 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49389 depfile="${D}objfile.d"
49391 if test -f ${D}depfile ; then
49392 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49398 elif test ${D}DEPSMODE = mwcc ; then
49399 ${D}* || exit ${D}?
49400 # Run mwcc again with -MM and redirect into the dep file we want
49401 # NOTE: We can't use shift here because we need ${D}* to be valid
49403 for arg in ${D}* ; do
49404 if test "${D}prevarg" = "-o"; then
49418 objfilebase=\`basename ${D}objfile\`
49419 builddir=\`dirname ${D}objfile\`
49420 depsdir=${D}builddir/${D}DEPSDIRBASE
49421 mkdir -p ${D}depsdir
49423 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49426 elif test ${D}DEPSMODE = unixcc; then
49427 ${D}* || exit ${D}?
49428 # Run compiler again with deps flag and redirect into the dep file.
49429 # It doesn't work if the '-o FILE' option is used, but without it the
49430 # dependency file will contain the wrong name for the object. So it is
49431 # removed from the command line, and the dep file is fixed with sed.
49433 while test ${D}# -gt 0; do
49440 eval arg${D}#=\\${D}1
49441 cmd="${D}cmd \\${D}arg${D}#"
49447 objfilebase=\`basename ${D}objfile\`
49448 builddir=\`dirname ${D}objfile\`
49449 depsdir=${D}builddir/${D}DEPSDIRBASE
49450 mkdir -p ${D}depsdir
49452 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49462 BK_DEPS="`pwd`/bk-deps"
49470 case ${BAKEFILE_HOST} in
49471 *-*-cygwin* | *-*-mingw32* )
49472 if test -n "$ac_tool_prefix"; then
49473 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49474 set dummy ${ac_tool_prefix}windres; ac_word=$2
49475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49477 if test "${ac_cv_prog_WINDRES+set}" = set; then
49478 echo $ECHO_N "(cached) $ECHO_C" >&6
49480 if test -n "$WINDRES"; then
49481 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49484 for as_dir in $PATH
49487 test -z "$as_dir" && as_dir=.
49488 for ac_exec_ext in '' $ac_executable_extensions; do
49489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49490 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49500 WINDRES=$ac_cv_prog_WINDRES
49501 if test -n "$WINDRES"; then
49502 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49503 echo "${ECHO_T}$WINDRES" >&6; }
49505 { echo "$as_me:$LINENO: result: no" >&5
49506 echo "${ECHO_T}no" >&6; }
49511 if test -z "$ac_cv_prog_WINDRES"; then
49512 ac_ct_WINDRES=$WINDRES
49513 # Extract the first word of "windres", so it can be a program name with args.
49514 set dummy windres; ac_word=$2
49515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49517 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49518 echo $ECHO_N "(cached) $ECHO_C" >&6
49520 if test -n "$ac_ct_WINDRES"; then
49521 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49524 for as_dir in $PATH
49527 test -z "$as_dir" && as_dir=.
49528 for ac_exec_ext in '' $ac_executable_extensions; do
49529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49530 ac_cv_prog_ac_ct_WINDRES="windres"
49531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49540 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49541 if test -n "$ac_ct_WINDRES"; then
49542 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49543 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49545 { echo "$as_me:$LINENO: result: no" >&5
49546 echo "${ECHO_T}no" >&6; }
49549 if test "x$ac_ct_WINDRES" = x; then
49552 case $cross_compiling:$ac_tool_warned in
49554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49555 whose name does not start with the host triplet. If you think this
49556 configuration is useful to you, please write to autoconf@gnu.org." >&5
49557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49558 whose name does not start with the host triplet. If you think this
49559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49560 ac_tool_warned=yes ;;
49562 WINDRES=$ac_ct_WINDRES
49565 WINDRES="$ac_cv_prog_WINDRES"
49570 *-*-darwin* | powerpc-apple-macos* )
49571 # Extract the first word of "Rez", so it can be a program name with args.
49572 set dummy Rez; ac_word=$2
49573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49575 if test "${ac_cv_prog_REZ+set}" = set; then
49576 echo $ECHO_N "(cached) $ECHO_C" >&6
49578 if test -n "$REZ"; then
49579 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49582 for as_dir in $PATH
49585 test -z "$as_dir" && as_dir=.
49586 for ac_exec_ext in '' $ac_executable_extensions; do
49587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49588 ac_cv_prog_REZ="Rez"
49589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49596 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49599 REZ=$ac_cv_prog_REZ
49600 if test -n "$REZ"; then
49601 { echo "$as_me:$LINENO: result: $REZ" >&5
49602 echo "${ECHO_T}$REZ" >&6; }
49604 { echo "$as_me:$LINENO: result: no" >&5
49605 echo "${ECHO_T}no" >&6; }
49609 # Extract the first word of "SetFile", so it can be a program name with args.
49610 set dummy SetFile; ac_word=$2
49611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49613 if test "${ac_cv_prog_SETFILE+set}" = set; then
49614 echo $ECHO_N "(cached) $ECHO_C" >&6
49616 if test -n "$SETFILE"; then
49617 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49620 for as_dir in $PATH
49623 test -z "$as_dir" && as_dir=.
49624 for ac_exec_ext in '' $ac_executable_extensions; do
49625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49626 ac_cv_prog_SETFILE="SetFile"
49627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49634 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49637 SETFILE=$ac_cv_prog_SETFILE
49638 if test -n "$SETFILE"; then
49639 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49640 echo "${ECHO_T}$SETFILE" >&6; }
49642 { echo "$as_me:$LINENO: result: no" >&5
49643 echo "${ECHO_T}no" >&6; }
49658 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49661 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49665 # Check whether --enable-precomp-headers was given.
49666 if test "${enable_precomp_headers+set}" = set; then
49667 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49676 case ${BAKEFILE_HOST} in
49682 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49683 if test "x$GCC" = "xyes"; then
49684 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49685 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49686 cat >conftest.$ac_ext <<_ACEOF
49689 cat confdefs.h >>conftest.$ac_ext
49690 cat >>conftest.$ac_ext <<_ACEOF
49691 /* end confdefs.h. */
49697 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49698 There is no PCH support
49701 There is no PCH support
49703 #if (__GNUC__ == 3) && \
49704 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49705 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49706 ( defined(__INTEL_COMPILER) )
49707 There is no PCH support
49714 rm -f conftest.$ac_objext
49715 if { (ac_try="$ac_compile"
49716 case "(($ac_try" in
49717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49718 *) ac_try_echo=$ac_try;;
49720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49721 (eval "$ac_compile") 2>conftest.er1
49723 grep -v '^ *+' conftest.er1 >conftest.err
49725 cat conftest.err >&5
49726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49727 (exit $ac_status); } && {
49728 test -z "$ac_c_werror_flag" ||
49729 test ! -s conftest.err
49730 } && test -s conftest.$ac_objext; then
49732 { echo "$as_me:$LINENO: result: yes" >&5
49733 echo "${ECHO_T}yes" >&6; }
49737 echo "$as_me: failed program was:" >&5
49738 sed 's/^/| /' conftest.$ac_ext >&5
49741 if test "$INTELCXX8" = "yes"; then
49742 { echo "$as_me:$LINENO: result: yes" >&5
49743 echo "${ECHO_T}yes" >&6; }
49745 if test "$INTELCXX10" = "yes"; then
49746 ICC_PCH_CREATE_SWITCH="-pch-create"
49747 ICC_PCH_USE_SWITCH="-pch-use"
49749 ICC_PCH_CREATE_SWITCH="-create-pch"
49750 ICC_PCH_USE_SWITCH="-use-pch"
49753 { echo "$as_me:$LINENO: result: no" >&5
49754 echo "${ECHO_T}no" >&6; }
49759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49760 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49764 cat <<EOF >bk-make-pch
49767 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49768 # script. It is used to generated precompiled headers.
49770 # Permission is given to use this file in any way.
49777 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49782 while test ${D}{#} -gt 0; do
49786 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49787 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49788 headerfile="${D}{incdir}/${D}{header}"
49791 -use-pch|-use_pch|-pch-use )
49796 if test ${D}add_to_cmdline = 1 ; then
49797 compiler="${D}{compiler} ${D}{1}"
49802 if test "x${D}{headerfile}" = "x" ; then
49803 echo "error: can't find header ${D}{header} in include paths" >&2
49805 if test -f ${D}{outfile} ; then
49806 rm -f ${D}{outfile}
49808 mkdir -p \`dirname ${D}{outfile}\`
49810 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49811 mkdir -p ${D}{builddir}/.deps
49812 if test "x${GCC_PCH}" = "x1" ; then
49813 # can do this because gcc is >= 3.4:
49814 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49815 elif test "x${ICC_PCH}" = "x1" ; then
49816 filename=pch_gen-${D}${D}
49817 file=${D}{filename}.c
49818 dfile=${D}{filename}.d
49819 cat > ${D}file <<EOT
49820 #include "${D}header"
49822 # using -MF icc complains about differing command lines in creation/use
49823 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49824 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49825 rm -f ${D}file ${D}dfile ${D}{filename}.o
49831 chmod +x bk-make-pch
49832 BK_MAKE_PCH="`pwd`/bk-make-pch"
49843 COND_BUILD_DEBUG="#"
49844 if test "x$BUILD" = "xdebug" ; then
49845 COND_BUILD_DEBUG=""
49848 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49849 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49850 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49853 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49854 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49855 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49858 COND_BUILD_DEBUG_UNICODE_0="#"
49859 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49860 COND_BUILD_DEBUG_UNICODE_0=""
49863 COND_BUILD_DEBUG_UNICODE_1="#"
49864 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49865 COND_BUILD_DEBUG_UNICODE_1=""
49868 COND_BUILD_RELEASE="#"
49869 if test "x$BUILD" = "xrelease" ; then
49870 COND_BUILD_RELEASE=""
49873 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49874 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49875 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49878 COND_BUILD_RELEASE_UNICODE_0="#"
49879 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49880 COND_BUILD_RELEASE_UNICODE_0=""
49883 COND_BUILD_RELEASE_UNICODE_1="#"
49884 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49885 COND_BUILD_RELEASE_UNICODE_1=""
49888 COND_BUILD_debug="#"
49889 if test "x$BUILD" = "xdebug" ; then
49890 COND_BUILD_debug=""
49893 COND_BUILD_debug_DEBUG_FLAG_default="#"
49894 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49895 COND_BUILD_debug_DEBUG_FLAG_default=""
49898 COND_BUILD_debug_DEBUG_INFO_default="#"
49899 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49900 COND_BUILD_debug_DEBUG_INFO_default=""
49903 COND_BUILD_debug_UNICODE_0="#"
49904 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49905 COND_BUILD_debug_UNICODE_0=""
49908 COND_BUILD_debug_UNICODE_1="#"
49909 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49910 COND_BUILD_debug_UNICODE_1=""
49913 COND_BUILD_release="#"
49914 if test "x$BUILD" = "xrelease" ; then
49915 COND_BUILD_release=""
49918 COND_BUILD_release_DEBUG_INFO_default="#"
49919 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49920 COND_BUILD_release_DEBUG_INFO_default=""
49923 COND_BUILD_release_UNICODE_0="#"
49924 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49925 COND_BUILD_release_UNICODE_0=""
49928 COND_BUILD_release_UNICODE_1="#"
49929 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49930 COND_BUILD_release_UNICODE_1=""
49933 COND_DEBUG_FLAG_0="#"
49934 if test "x$DEBUG_FLAG" = "x0" ; then
49935 COND_DEBUG_FLAG_0=""
49938 COND_DEBUG_FLAG_1="#"
49939 if test "x$DEBUG_FLAG" = "x1" ; then
49940 COND_DEBUG_FLAG_1=""
49943 COND_DEBUG_INFO_0="#"
49944 if test "x$DEBUG_INFO" = "x0" ; then
49945 COND_DEBUG_INFO_0=""
49948 COND_DEBUG_INFO_1="#"
49949 if test "x$DEBUG_INFO" = "x1" ; then
49950 COND_DEBUG_INFO_1=""
49953 COND_DEPS_TRACKING_0="#"
49954 if test "x$DEPS_TRACKING" = "x0" ; then
49955 COND_DEPS_TRACKING_0=""
49958 COND_DEPS_TRACKING_1="#"
49959 if test "x$DEPS_TRACKING" = "x1" ; then
49960 COND_DEPS_TRACKING_1=""
49964 if test "x$GCC_PCH" = "x1" ; then
49969 if test "x$ICC_PCH" = "x1" ; then
49973 COND_MONOLITHIC_0="#"
49974 if test "x$MONOLITHIC" = "x0" ; then
49975 COND_MONOLITHIC_0=""
49978 COND_MONOLITHIC_0_SHARED_0="#"
49979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49980 COND_MONOLITHIC_0_SHARED_0=""
49983 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49985 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49990 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49995 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50008 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50010 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50013 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50015 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50018 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50020 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50023 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50025 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50028 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50030 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50033 COND_MONOLITHIC_0_SHARED_1="#"
50034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50035 COND_MONOLITHIC_0_SHARED_1=""
50038 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50040 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50050 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50063 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50065 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50068 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50070 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50073 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50075 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50078 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50080 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50083 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50085 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50088 COND_MONOLITHIC_0_USE_AUI_1="#"
50089 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50090 COND_MONOLITHIC_0_USE_AUI_1=""
50093 COND_MONOLITHIC_0_USE_GUI_1="#"
50094 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50095 COND_MONOLITHIC_0_USE_GUI_1=""
50098 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50099 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50100 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50103 COND_MONOLITHIC_0_USE_HTML_1="#"
50104 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50105 COND_MONOLITHIC_0_USE_HTML_1=""
50108 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50109 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50110 COND_MONOLITHIC_0_USE_MEDIA_1=""
50113 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50114 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50115 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50118 COND_MONOLITHIC_0_USE_QA_1="#"
50119 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50120 COND_MONOLITHIC_0_USE_QA_1=""
50123 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50124 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50125 COND_MONOLITHIC_0_USE_RIBBON_1=""
50128 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50129 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50130 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50133 COND_MONOLITHIC_0_USE_STC_1="#"
50134 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50135 COND_MONOLITHIC_0_USE_STC_1=""
50138 COND_MONOLITHIC_0_USE_XRC_1="#"
50139 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50140 COND_MONOLITHIC_0_USE_XRC_1=""
50143 COND_MONOLITHIC_1="#"
50144 if test "x$MONOLITHIC" = "x1" ; then
50145 COND_MONOLITHIC_1=""
50148 COND_MONOLITHIC_1_SHARED_0="#"
50149 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50150 COND_MONOLITHIC_1_SHARED_0=""
50153 COND_MONOLITHIC_1_SHARED_1="#"
50154 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50155 COND_MONOLITHIC_1_SHARED_1=""
50158 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50159 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50160 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50163 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50164 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50165 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50168 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50169 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50170 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50173 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50174 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50175 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50178 COND_PLATFORM_MACOSX_1="#"
50179 if test "x$PLATFORM_MACOSX" = "x1" ; then
50180 COND_PLATFORM_MACOSX_1=""
50183 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50184 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50185 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50188 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50189 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50190 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50193 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50194 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50195 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50198 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50200 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50203 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50205 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50208 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50210 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50213 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50215 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50218 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50220 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50223 COND_PLATFORM_MACOS_1="#"
50224 if test "x$PLATFORM_MACOS" = "x1" ; then
50225 COND_PLATFORM_MACOS_1=""
50228 COND_PLATFORM_MAC_0="#"
50229 if test "x$PLATFORM_MAC" = "x0" ; then
50230 COND_PLATFORM_MAC_0=""
50233 COND_PLATFORM_MAC_1="#"
50234 if test "x$PLATFORM_MAC" = "x1" ; then
50235 COND_PLATFORM_MAC_1=""
50238 COND_PLATFORM_MSDOS_0="#"
50239 if test "x$PLATFORM_MSDOS" = "x0" ; then
50240 COND_PLATFORM_MSDOS_0=""
50243 COND_PLATFORM_MSDOS_1="#"
50244 if test "x$PLATFORM_MSDOS" = "x1" ; then
50245 COND_PLATFORM_MSDOS_1=""
50248 COND_PLATFORM_OS2_1="#"
50249 if test "x$PLATFORM_OS2" = "x1" ; then
50250 COND_PLATFORM_OS2_1=""
50253 COND_PLATFORM_UNIX_0="#"
50254 if test "x$PLATFORM_UNIX" = "x0" ; then
50255 COND_PLATFORM_UNIX_0=""
50258 COND_PLATFORM_UNIX_1="#"
50259 if test "x$PLATFORM_UNIX" = "x1" ; then
50260 COND_PLATFORM_UNIX_1=""
50263 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50264 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50265 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50268 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50269 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50270 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50273 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50274 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50275 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50279 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50280 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50283 COND_PLATFORM_WIN32_0="#"
50284 if test "x$PLATFORM_WIN32" = "x0" ; then
50285 COND_PLATFORM_WIN32_0=""
50288 COND_PLATFORM_WIN32_1="#"
50289 if test "x$PLATFORM_WIN32" = "x1" ; then
50290 COND_PLATFORM_WIN32_1=""
50294 if test "x$SHARED" = "x0" ; then
50298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50299 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50300 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50304 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50305 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50309 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50310 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50314 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50315 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50318 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50319 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50320 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50323 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50324 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50325 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50328 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50329 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50330 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50333 COND_SHARED_0_USE_STC_1="#"
50334 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50335 COND_SHARED_0_USE_STC_1=""
50338 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50339 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50340 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50343 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50344 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50345 COND_SHARED_0_wxUSE_REGEX_builtin=""
50348 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50349 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50350 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50354 if test "x$SHARED" = "x1" ; then
50358 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50359 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50360 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50364 if test "x$TOOLKIT" = "x" ; then
50368 COND_TOOLKIT_COCOA="#"
50369 if test "x$TOOLKIT" = "xCOCOA" ; then
50370 COND_TOOLKIT_COCOA=""
50373 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50374 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50375 COND_TOOLKIT_COCOA_USE_GUI_1=""
50378 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50379 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50380 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50383 COND_TOOLKIT_DFB="#"
50384 if test "x$TOOLKIT" = "xDFB" ; then
50385 COND_TOOLKIT_DFB=""
50388 COND_TOOLKIT_DFB_USE_GUI_1="#"
50389 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50390 COND_TOOLKIT_DFB_USE_GUI_1=""
50393 COND_TOOLKIT_GTK="#"
50394 if test "x$TOOLKIT" = "xGTK" ; then
50395 COND_TOOLKIT_GTK=""
50398 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50399 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50400 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50403 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50404 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50405 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50408 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50409 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50410 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50414 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50415 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50418 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50419 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50420 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50423 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50424 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50425 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50428 COND_TOOLKIT_GTK_USE_GUI_1="#"
50429 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50430 COND_TOOLKIT_GTK_USE_GUI_1=""
50433 COND_TOOLKIT_MAC="#"
50434 if test "x$TOOLKIT" = "xMAC" ; then
50435 COND_TOOLKIT_MAC=""
50438 COND_TOOLKIT_MGL="#"
50439 if test "x$TOOLKIT" = "xMGL" ; then
50440 COND_TOOLKIT_MGL=""
50443 COND_TOOLKIT_MGL_USE_GUI_1="#"
50444 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50445 COND_TOOLKIT_MGL_USE_GUI_1=""
50448 COND_TOOLKIT_MOTIF="#"
50449 if test "x$TOOLKIT" = "xMOTIF" ; then
50450 COND_TOOLKIT_MOTIF=""
50453 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50454 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50455 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50458 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50459 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50460 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50463 COND_TOOLKIT_MSW="#"
50464 if test "x$TOOLKIT" = "xMSW" ; then
50465 COND_TOOLKIT_MSW=""
50468 COND_TOOLKIT_MSW_USE_GUI_1="#"
50469 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50470 COND_TOOLKIT_MSW_USE_GUI_1=""
50473 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50474 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50475 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50478 COND_TOOLKIT_MSW_WXUNIV_0="#"
50479 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50480 COND_TOOLKIT_MSW_WXUNIV_0=""
50483 COND_TOOLKIT_OSX_CARBON="#"
50484 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50485 COND_TOOLKIT_OSX_CARBON=""
50488 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50489 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50490 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50493 COND_TOOLKIT_OSX_COCOA="#"
50494 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50495 COND_TOOLKIT_OSX_COCOA=""
50498 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50499 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50500 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50503 COND_TOOLKIT_OSX_IPHONE="#"
50504 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50505 COND_TOOLKIT_OSX_IPHONE=""
50508 COND_TOOLKIT_PM="#"
50509 if test "x$TOOLKIT" = "xPM" ; then
50513 COND_TOOLKIT_PM_USE_GUI_1="#"
50514 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50515 COND_TOOLKIT_PM_USE_GUI_1=""
50518 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50519 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50520 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50523 COND_TOOLKIT_WINCE="#"
50524 if test "x$TOOLKIT" = "xWINCE" ; then
50525 COND_TOOLKIT_WINCE=""
50528 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50529 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50530 COND_TOOLKIT_WINCE_USE_GUI_1=""
50533 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50534 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50535 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50538 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50539 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50540 COND_TOOLKIT_WINCE_WXUNIV_0=""
50543 COND_TOOLKIT_X11="#"
50544 if test "x$TOOLKIT" = "xX11" ; then
50545 COND_TOOLKIT_X11=""
50548 COND_TOOLKIT_X11_USE_GUI_1="#"
50549 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50550 COND_TOOLKIT_X11_USE_GUI_1=""
50554 if test "x$UNICODE" = "x1" ; then
50558 COND_USE_EXCEPTIONS_0="#"
50559 if test "x$USE_EXCEPTIONS" = "x0" ; then
50560 COND_USE_EXCEPTIONS_0=""
50563 COND_USE_EXCEPTIONS_1="#"
50564 if test "x$USE_EXCEPTIONS" = "x1" ; then
50565 COND_USE_EXCEPTIONS_1=""
50569 if test "x$USE_GUI" = "x0" ; then
50574 if test "x$USE_GUI" = "x1" ; then
50578 COND_USE_GUI_1_USE_OPENGL_1="#"
50579 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50580 COND_USE_GUI_1_USE_OPENGL_1=""
50583 COND_USE_GUI_1_WXUNIV_0="#"
50584 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50585 COND_USE_GUI_1_WXUNIV_0=""
50588 COND_USE_GUI_1_WXUNIV_1="#"
50589 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50590 COND_USE_GUI_1_WXUNIV_1=""
50593 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50594 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50595 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50598 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50599 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50600 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50603 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50604 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50605 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50608 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50609 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50610 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50613 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50614 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50615 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50618 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50619 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50620 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50623 COND_USE_OPENGL_1="#"
50624 if test "x$USE_OPENGL" = "x1" ; then
50625 COND_USE_OPENGL_1=""
50629 if test "x$USE_PCH" = "x1" ; then
50633 COND_USE_PLUGINS_0="#"
50634 if test "x$USE_PLUGINS" = "x0" ; then
50635 COND_USE_PLUGINS_0=""
50638 COND_USE_RTTI_0="#"
50639 if test "x$USE_RTTI" = "x0" ; then
50643 COND_USE_RTTI_1="#"
50644 if test "x$USE_RTTI" = "x1" ; then
50648 COND_USE_SOSYMLINKS_1="#"
50649 if test "x$USE_SOSYMLINKS" = "x1" ; then
50650 COND_USE_SOSYMLINKS_1=""
50653 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50654 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50655 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50658 COND_USE_SOVERLINUX_1="#"
50659 if test "x$USE_SOVERLINUX" = "x1" ; then
50660 COND_USE_SOVERLINUX_1=""
50663 COND_USE_SOVERSION_0="#"
50664 if test "x$USE_SOVERSION" = "x0" ; then
50665 COND_USE_SOVERSION_0=""
50668 COND_USE_SOVERSOLARIS_1="#"
50669 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50670 COND_USE_SOVERSOLARIS_1=""
50674 if test "x$USE_STC" = "x1" ; then
50678 COND_USE_THREADS_0="#"
50679 if test "x$USE_THREADS" = "x0" ; then
50680 COND_USE_THREADS_0=""
50683 COND_USE_THREADS_1="#"
50684 if test "x$USE_THREADS" = "x1" ; then
50685 COND_USE_THREADS_1=""
50689 if test "x$USE_XRC" = "x1" ; then
50693 COND_WINDOWS_IMPLIB_1="#"
50694 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50695 COND_WINDOWS_IMPLIB_1=""
50698 COND_WITH_PLUGIN_SDL_1="#"
50699 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50700 COND_WITH_PLUGIN_SDL_1=""
50704 if test "x$WXUNIV" = "x0" ; then
50709 if test "x$WXUNIV" = "x1" ; then
50713 COND_WXUSE_EXPAT_BUILTIN="#"
50714 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50715 COND_WXUSE_EXPAT_BUILTIN=""
50718 COND_WXUSE_LIBJPEG_BUILTIN="#"
50719 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50720 COND_WXUSE_LIBJPEG_BUILTIN=""
50723 COND_WXUSE_LIBPNG_BUILTIN="#"
50724 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50725 COND_WXUSE_LIBPNG_BUILTIN=""
50728 COND_WXUSE_LIBTIFF_BUILTIN="#"
50729 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50730 COND_WXUSE_LIBTIFF_BUILTIN=""
50733 COND_WXUSE_REGEX_BUILTIN="#"
50734 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50735 COND_WXUSE_REGEX_BUILTIN=""
50738 COND_WXUSE_ZLIB_BUILTIN="#"
50739 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50740 COND_WXUSE_ZLIB_BUILTIN=""
50743 COND_wxUSE_EXPAT_builtin="#"
50744 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50745 COND_wxUSE_EXPAT_builtin=""
50748 COND_wxUSE_LIBJPEG_builtin="#"
50749 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50750 COND_wxUSE_LIBJPEG_builtin=""
50753 COND_wxUSE_LIBPNG_builtin="#"
50754 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50755 COND_wxUSE_LIBPNG_builtin=""
50758 COND_wxUSE_LIBTIFF_builtin="#"
50759 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50760 COND_wxUSE_LIBTIFF_builtin=""
50763 COND_wxUSE_REGEX_builtin="#"
50764 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50765 COND_wxUSE_REGEX_builtin=""
50768 COND_wxUSE_ZLIB_builtin="#"
50769 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50770 COND_wxUSE_ZLIB_builtin=""
50775 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50776 { { 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
50777 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;}
50778 { (exit 1); exit 1; }; }
50781 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50782 { { 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
50783 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;}
50784 { (exit 1); exit 1; }; }
50791 ?:* ) # Drive letter, considered as absolute.
50794 INSTALL=`pwd`/${INSTALL} ;;
50797 if test "$wxUSE_GUI" = "yes"; then
50799 if test "$wxUSE_MSW" = 1 ; then
50800 if test "x$WINDRES" = "x"; then
50801 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50802 echo "$as_me: error: Required windres program not found" >&2;}
50803 { (exit 1); exit 1; }; }
50809 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50810 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50811 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50813 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50815 # Extract the first word of "DeRez", so it can be a program name with args.
50816 set dummy DeRez; ac_word=$2
50817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50819 if test "${ac_cv_prog_DEREZ+set}" = set; then
50820 echo $ECHO_N "(cached) $ECHO_C" >&6
50822 if test -n "$DEREZ"; then
50823 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50826 for as_dir in $PATH
50829 test -z "$as_dir" && as_dir=.
50830 for ac_exec_ext in '' $ac_executable_extensions; do
50831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50832 ac_cv_prog_DEREZ="DeRez"
50833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50840 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50843 DEREZ=$ac_cv_prog_DEREZ
50844 if test -n "$DEREZ"; then
50845 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50846 echo "${ECHO_T}$DEREZ" >&6; }
50848 { echo "$as_me:$LINENO: result: no" >&5
50849 echo "${ECHO_T}no" >&6; }
50854 MACSETFILE="\$(SETFILE)"
50856 if test "$wxUSE_OSX_CARBON" = 1; then
50857 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50859 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50861 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50862 RESCOMP="cat /dev/null \| $REZ"
50863 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50869 if test "$wxUSE_PM" = 1; then
50871 WXCONFIG_RESFLAGS="-ep"
50873 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50875 POSTLINK_COMMAND="@true"
50882 if test $GCC_PCH = 1
50884 if test "$wx_cv_gcc_pch_bug" = yes; then
50885 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50886 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50887 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50888 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50889 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50890 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50893 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50894 # the headers that benefit from precompilation are mostly C++ headers.
50895 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50896 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50897 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50901 if test "$wxUSE_MAC" = 1 ; then
50902 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50903 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50909 if test "$wxUSE_SHARED" = "yes"; then
50911 *-pc-os2_emx | *-pc-os2-emx )
50912 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50913 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50914 cp -p ${srcdir}/src/os2/dllnames.sh .
50915 cp -p ${srcdir}/src/os2/dllar.sh .
50919 if test "$wxUSE_OMF" = "yes"; then
50921 *-pc-os2_emx | *-pc-os2-emx )
50922 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50923 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50924 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50929 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50934 if test "$GCC" = yes; then
50935 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50936 LIBS=`echo $LIBS | sed 's/-mt//'`
50937 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50942 if test "x$SUNCXX" = xyes; then
50943 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50944 LIBS=`echo $LIBS | sed 's/-pthread//'`
50945 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50950 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50951 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50952 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50953 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50955 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51015 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51016 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51017 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51018 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51019 echo $ECHO_N "(cached) $ECHO_C" >&6
51021 cat >conftest.make <<\_ACEOF
51024 @echo '@@@%%%=$(MAKE)=@@@%%%'
51026 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51027 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51028 *@@@%%%=?*=@@@%%%*)
51029 eval ac_cv_prog_make_${ac_make}_set=yes;;
51031 eval ac_cv_prog_make_${ac_make}_set=no;;
51033 rm -f conftest.make
51035 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51036 { echo "$as_me:$LINENO: result: yes" >&5
51037 echo "${ECHO_T}yes" >&6; }
51040 { echo "$as_me:$LINENO: result: no" >&5
51041 echo "${ECHO_T}no" >&6; }
51042 SET_MAKE="MAKE=${MAKE-make}"
51047 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51050 if test "$USE_WIN32" = 1; then
51051 ac_config_commands="$ac_config_commands rcdefs.h"
51055 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51058 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51061 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51064 if test "$wx_cv_version_script" = "yes"; then
51065 ac_config_files="$ac_config_files version-script"
51068 ac_config_files="$ac_config_files Makefile"
51071 ac_config_commands="$ac_config_commands wx-config"
51075 if test "$wxWITH_SUBDIRS" != "no"; then
51076 if test "$wxUSE_GUI" = "yes"; then
51077 SUBDIRS="samples demos utils"
51079 SUBDIRS="samples utils"
51084 # Check whether --with-cppunit-prefix was given.
51085 if test "${with_cppunit_prefix+set}" = set; then
51086 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51088 cppunit_config_prefix=""
51092 # Check whether --with-cppunit-exec-prefix was given.
51093 if test "${with_cppunit_exec_prefix+set}" = set; then
51094 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51096 cppunit_config_exec_prefix=""
51100 if test x$cppunit_config_exec_prefix != x ; then
51101 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51102 if test x${CPPUNIT_CONFIG+set} != xset ; then
51103 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51106 if test x$cppunit_config_prefix != x ; then
51107 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51108 if test x${CPPUNIT_CONFIG+set} != xset ; then
51109 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51113 # Extract the first word of "cppunit-config", so it can be a program name with args.
51114 set dummy cppunit-config; ac_word=$2
51115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51117 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51118 echo $ECHO_N "(cached) $ECHO_C" >&6
51120 case $CPPUNIT_CONFIG in
51122 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51126 for as_dir in $PATH
51129 test -z "$as_dir" && as_dir=.
51130 for ac_exec_ext in '' $ac_executable_extensions; do
51131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51132 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51140 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51144 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51145 if test -n "$CPPUNIT_CONFIG"; then
51146 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51147 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51149 { echo "$as_me:$LINENO: result: no" >&5
51150 echo "${ECHO_T}no" >&6; }
51154 cppunit_version_min=1.8.0
51156 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51157 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51159 if test "$CPPUNIT_CONFIG" = "no" ; then
51160 { echo "$as_me:$LINENO: result: no" >&5
51161 echo "${ECHO_T}no" >&6; }
51164 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51165 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51166 cppunit_version=`$CPPUNIT_CONFIG --version`
51168 cppunit_major_version=`echo $cppunit_version | \
51169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51170 cppunit_minor_version=`echo $cppunit_version | \
51171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51172 cppunit_micro_version=`echo $cppunit_version | \
51173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51175 cppunit_major_min=`echo $cppunit_version_min | \
51176 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51177 cppunit_minor_min=`echo $cppunit_version_min | \
51178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51179 cppunit_micro_min=`echo $cppunit_version_min | \
51180 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51182 cppunit_version_proper=`expr \
51183 $cppunit_major_version \> $cppunit_major_min \| \
51184 $cppunit_major_version \= $cppunit_major_min \& \
51185 $cppunit_minor_version \> $cppunit_minor_min \| \
51186 $cppunit_major_version \= $cppunit_major_min \& \
51187 $cppunit_minor_version \= $cppunit_minor_min \& \
51188 $cppunit_micro_version \>= $cppunit_micro_min `
51190 if test "$cppunit_version_proper" = "1" ; then
51191 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51192 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51194 { echo "$as_me:$LINENO: result: no" >&5
51195 echo "${ECHO_T}no" >&6; }
51200 if test "x$no_cppunit" = x ; then
51201 SUBDIRS="$SUBDIRS tests"
51212 for subdir in $SUBDIRS; do
51213 if test -d ${srcdir}/${subdir} ; then
51214 if test "$wxUSE_GUI" = "yes"; then
51215 if test ${subdir} = "samples"; then
51216 makefiles="samples/Makefile.in $makefiles"
51217 for sample in $SAMPLES_SUBDIRS; do
51218 if test -d $srcdir/samples/$sample; then
51219 makefiles="samples/$sample/Makefile.in $makefiles"
51223 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51224 eval "disabled=\$$disabled_var"
51225 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51226 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51229 if test ${subdir} = "samples"; then
51230 makefiles="samples/Makefile.in $makefiles"
51231 for sample in `echo $SAMPLES_SUBDIRS`; do
51232 if test -d $srcdir/samples/$sample; then
51233 makefiles="samples/$sample/Makefile.in $makefiles"
51236 elif test ${subdir} = "utils"; then
51238 for util in ifacecheck ; do
51239 if test -d $srcdir/utils/$util ; then
51240 makefiles="utils/$util/src/Makefile.in \
51245 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51249 for mkin in $makefiles ; do
51250 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51251 ac_config_files="$ac_config_files $mk"
51257 cat >confcache <<\_ACEOF
51258 # This file is a shell script that caches the results of configure
51259 # tests run on this system so they can be shared between configure
51260 # scripts and configure runs, see configure's option --config-cache.
51261 # It is not useful on other systems. If it contains results you don't
51262 # want to keep, you may remove or edit it.
51264 # config.status only pays attention to the cache file if you give it
51265 # the --recheck option to rerun configure.
51267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51269 # following values.
51273 # The following way of writing the cache mishandles newlines in values,
51274 # but we know of no workaround that is simple, portable, and efficient.
51275 # So, we kill variables containing newlines.
51276 # Ultrix sh set writes to stderr and can't be redirected directly,
51277 # and sets the high bit in the cache file unless we assign to the vars.
51279 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51280 eval ac_val=\$$ac_var
51284 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51285 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51288 _ | IFS | as_nl) ;; #(
51289 *) $as_unset $ac_var ;;
51295 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51296 *${as_nl}ac_space=\ *)
51297 # `set' does not quote correctly, so add quotes (double-quote
51298 # substitution turns \\\\ into \\, and sed turns \\ into \).
51301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51304 # `set' quotes correctly as required by POSIX, so do not add quotes.
51305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51316 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51318 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51319 if test -w "$cache_file"; then
51320 test "x$cache_file" != "x/dev/null" &&
51321 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51322 echo "$as_me: updating cache $cache_file" >&6;}
51323 cat confcache >$cache_file
51325 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51326 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51331 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51332 # Let make expand exec_prefix.
51333 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51335 DEFS=-DHAVE_CONFIG_H
51339 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51340 # 1. Remove the extension, and $U if already installed.
51341 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51342 ac_i=`echo "$ac_i" | sed "$ac_script"`
51343 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51344 # will be set to the directory where LIBOBJS objects are built.
51345 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51346 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51348 LIBOBJS=$ac_libobjs
51350 LTLIBOBJS=$ac_ltlibobjs
51354 : ${CONFIG_STATUS=./config.status}
51355 ac_clean_files_save=$ac_clean_files
51356 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51357 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51358 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51359 cat >$CONFIG_STATUS <<_ACEOF
51361 # Generated by $as_me.
51362 # Run this file to recreate the current configuration.
51363 # Compiler output produced by configure, useful for debugging
51364 # configure, is in config.log if it exists.
51367 ac_cs_recheck=false
51369 SHELL=\${CONFIG_SHELL-$SHELL}
51372 cat >>$CONFIG_STATUS <<\_ACEOF
51373 ## --------------------- ##
51374 ## M4sh Initialization. ##
51375 ## --------------------- ##
51377 # Be more Bourne compatible
51378 DUALCASE=1; export DUALCASE # for MKS sh
51379 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51382 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51383 # is contrary to our usage. Disable this feature.
51384 alias -g '${1+"$@"}'='"$@"'
51385 setopt NO_GLOB_SUBST
51387 case `(set -o) 2>/dev/null` in
51388 *posix*) set -o posix ;;
51397 # Avoid depending upon Character Ranges.
51398 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51399 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51400 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51401 as_cr_digits='0123456789'
51402 as_cr_alnum=$as_cr_Letters$as_cr_digits
51404 # The user is always right.
51405 if test "${PATH_SEPARATOR+set}" != set; then
51406 echo "#! /bin/sh" >conf$$.sh
51407 echo "exit 0" >>conf$$.sh
51409 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51417 # Support unset when possible.
51418 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51426 # We need space, tab and new line, in precisely that order. Quoting is
51427 # there to prevent editors from complaining about space-tab.
51428 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51429 # splitting by setting IFS to empty value.)
51434 # Find who we are. Look in the path if we contain no directory separator.
51436 *[\\/]* ) as_myself=$0 ;;
51437 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51438 for as_dir in $PATH
51441 test -z "$as_dir" && as_dir=.
51442 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51448 # We did not find ourselves, most probably we were run as `sh COMMAND'
51449 # in which case we are not to be found in the path.
51450 if test "x$as_myself" = x; then
51453 if test ! -f "$as_myself"; then
51454 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51455 { (exit 1); exit 1; }
51458 # Work around bugs in pre-3.0 UWIN ksh.
51459 for as_var in ENV MAIL MAILPATH
51460 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51468 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51469 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51470 LC_TELEPHONE LC_TIME
51472 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51473 eval $as_var=C; export $as_var
51475 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51479 # Required to use basename.
51480 if expr a : '\(a\)' >/dev/null 2>&1 &&
51481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51487 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51488 as_basename=basename
51494 # Name of the executable.
51495 as_me=`$as_basename -- "$0" ||
51496 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51497 X"$0" : 'X\(//\)$' \| \
51498 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51500 sed '/^.*\/\([^/][^/]*\)\/*$/{
51519 as_lineno_1=$LINENO
51520 as_lineno_2=$LINENO
51521 test "x$as_lineno_1" != "x$as_lineno_2" &&
51522 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51524 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51525 # uniformly replaced by the line number. The first 'sed' inserts a
51526 # line-number line after each line using $LINENO; the second 'sed'
51527 # does the real work. The second script uses 'N' to pair each
51528 # line-number line with the line containing $LINENO, and appends
51529 # trailing '-' during substitution so that $LINENO is not a special
51530 # case at line end.
51531 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51532 # scripts with optimization help from Paolo Bonzini. Blame Lee
51533 # E. McMahon (1931-1989) for sed's syntax. :-)
51545 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51548 ' >$as_me.lineno &&
51549 chmod +x "$as_me.lineno" ||
51550 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51551 { (exit 1); exit 1; }; }
51553 # Don't try to exec as it changes $[0], causing all sort of problems
51554 # (the dirname of $[0] is not the place where we might find the
51555 # original and so on. Autoconf is especially sensitive to this).
51556 . "./$as_me.lineno"
51557 # Exit status is that of the last command.
51562 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51568 ECHO_C= ECHO_N= ECHO_T=
51569 case `echo -n x` in
51571 case `echo 'x\c'` in
51572 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51579 if expr a : '\(a\)' >/dev/null 2>&1 &&
51580 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51586 rm -f conf$$ conf$$.exe conf$$.file
51587 if test -d conf$$.dir; then
51588 rm -f conf$$.dir/conf$$.file
51594 if ln -s conf$$.file conf$$ 2>/dev/null; then
51596 # ... but there are two gotchas:
51597 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51598 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51599 # In both cases, we have to default to `cp -p'.
51600 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51602 elif ln conf$$.file conf$$ 2>/dev/null; then
51607 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51608 rmdir conf$$.dir 2>/dev/null
51610 if mkdir -p . 2>/dev/null; then
51613 test -d ./-p && rmdir ./-p
51617 if test -x / >/dev/null 2>&1; then
51618 as_test_x='test -x'
51620 if ls -dL / >/dev/null 2>&1; then
51627 if test -d "$1"; then
51633 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51634 ???[sx]*):;;*)false;;esac;fi
51638 as_executable_p=$as_test_x
51640 # Sed expression to map a string onto a valid CPP name.
51641 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51643 # Sed expression to map a string onto a valid variable name.
51644 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51649 # Save the log message, to keep $[0] and so on meaningful, and to
51650 # report actual input values of CONFIG_FILES etc. instead of their
51651 # values after options handling.
51653 This file was extended by wxWidgets $as_me 2.9.1, which was
51654 generated by GNU Autoconf 2.61. Invocation command line was
51656 CONFIG_FILES = $CONFIG_FILES
51657 CONFIG_HEADERS = $CONFIG_HEADERS
51658 CONFIG_LINKS = $CONFIG_LINKS
51659 CONFIG_COMMANDS = $CONFIG_COMMANDS
51662 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51667 cat >>$CONFIG_STATUS <<_ACEOF
51668 # Files that config.status was made for.
51669 config_files="$ac_config_files"
51670 config_headers="$ac_config_headers"
51671 config_commands="$ac_config_commands"
51675 cat >>$CONFIG_STATUS <<\_ACEOF
51677 \`$as_me' instantiates files from templates according to the
51678 current configuration.
51680 Usage: $0 [OPTIONS] [FILE]...
51682 -h, --help print this help, then exit
51683 -V, --version print version number and configuration settings, then exit
51684 -q, --quiet do not print progress messages
51685 -d, --debug don't remove temporary files
51686 --recheck update $as_me by reconfiguring in the same conditions
51687 --file=FILE[:TEMPLATE]
51688 instantiate the configuration file FILE
51689 --header=FILE[:TEMPLATE]
51690 instantiate the configuration header FILE
51692 Configuration files:
51695 Configuration headers:
51698 Configuration commands:
51701 Report bugs to <bug-autoconf@gnu.org>."
51704 cat >>$CONFIG_STATUS <<_ACEOF
51706 wxWidgets config.status 2.9.1
51707 configured by $0, generated by GNU Autoconf 2.61,
51708 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51710 Copyright (C) 2006 Free Software Foundation, Inc.
51711 This config.status script is free software; the Free Software Foundation
51712 gives unlimited permission to copy, distribute and modify it."
51719 cat >>$CONFIG_STATUS <<\_ACEOF
51720 # If no file are specified by the user, then we need to provide default
51721 # value. By we need to know if files were specified by the user.
51727 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51728 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51739 # Handling of the options.
51740 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51742 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51743 echo "$ac_cs_version"; exit ;;
51744 --debug | --debu | --deb | --de | --d | -d )
51746 --file | --fil | --fi | --f )
51748 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51749 ac_need_defaults=false;;
51750 --header | --heade | --head | --hea )
51752 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51753 ac_need_defaults=false;;
51755 # Conflict between --help and --header
51756 { echo "$as_me: error: ambiguous option: $1
51757 Try \`$0 --help' for more information." >&2
51758 { (exit 1); exit 1; }; };;
51759 --help | --hel | -h )
51760 echo "$ac_cs_usage"; exit ;;
51761 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51762 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51765 # This is an error.
51766 -*) { echo "$as_me: error: unrecognized option: $1
51767 Try \`$0 --help' for more information." >&2
51768 { (exit 1); exit 1; }; } ;;
51770 *) ac_config_targets="$ac_config_targets $1"
51771 ac_need_defaults=false ;;
51777 ac_configure_extra_args=
51779 if $ac_cs_silent; then
51781 ac_configure_extra_args="$ac_configure_extra_args --silent"
51785 cat >>$CONFIG_STATUS <<_ACEOF
51786 if \$ac_cs_recheck; then
51787 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51788 CONFIG_SHELL=$SHELL
51789 export CONFIG_SHELL
51790 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51794 cat >>$CONFIG_STATUS <<\_ACEOF
51798 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51799 ## Running $as_me. ##
51805 cat >>$CONFIG_STATUS <<_ACEOF
51811 infile="$srcdir/include/wx/msw/genrcdefs.h"
51812 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51815 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51816 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51817 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51823 cat >>$CONFIG_STATUS <<\_ACEOF
51825 # Handling of arguments.
51826 for ac_config_target in $ac_config_targets
51828 case $ac_config_target in
51829 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51830 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51831 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51832 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51833 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51834 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51835 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51836 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51837 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51839 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51840 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51841 { (exit 1); exit 1; }; };;
51846 # If the user did not use the arguments to specify the items to instantiate,
51847 # then the envvar interface is used. Set only those that are not.
51848 # We use the long form for the default assignment because of an extremely
51849 # bizarre bug on SunOS 4.1.3.
51850 if $ac_need_defaults; then
51851 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51852 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51853 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51856 # Have a temporary directory for convenience. Make it in the build tree
51857 # simply because there is no reason against having it here, and in addition,
51858 # creating and moving files from /tmp can sometimes cause problems.
51859 # Hook for its removal unless debugging.
51860 # Note that there is a small window in which the directory will not be cleaned:
51861 # after its creation but before its name has been assigned to `$tmp'.
51865 trap 'exit_status=$?
51866 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51868 trap '{ (exit 1); exit 1; }' 1 2 13 15
51870 # Create a (secure) tmp directory for tmp files.
51873 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51874 test -n "$tmp" && test -d "$tmp"
51877 tmp=./conf$$-$RANDOM
51878 (umask 077 && mkdir "$tmp")
51881 echo "$me: cannot create a temporary directory in ." >&2
51882 { (exit 1); exit 1; }
51886 # Set up the sed scripts for CONFIG_FILES section.
51889 # No need to generate the scripts if there are no CONFIG_FILES.
51890 # This happens for instance when ./config.status config.h
51891 if test -n "$CONFIG_FILES"; then
51898 for ac_last_try in false false false false false :; do
51899 cat >conf$$subs.sed <<_ACEOF
51900 SHELL!$SHELL$ac_delim
51901 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51902 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51903 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51904 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51905 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51906 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51907 exec_prefix!$exec_prefix$ac_delim
51908 prefix!$prefix$ac_delim
51909 program_transform_name!$program_transform_name$ac_delim
51910 bindir!$bindir$ac_delim
51911 sbindir!$sbindir$ac_delim
51912 libexecdir!$libexecdir$ac_delim
51913 datarootdir!$datarootdir$ac_delim
51914 datadir!$datadir$ac_delim
51915 sysconfdir!$sysconfdir$ac_delim
51916 sharedstatedir!$sharedstatedir$ac_delim
51917 localstatedir!$localstatedir$ac_delim
51918 includedir!$includedir$ac_delim
51919 oldincludedir!$oldincludedir$ac_delim
51920 docdir!$docdir$ac_delim
51921 infodir!$infodir$ac_delim
51922 htmldir!$htmldir$ac_delim
51923 dvidir!$dvidir$ac_delim
51924 pdfdir!$pdfdir$ac_delim
51925 psdir!$psdir$ac_delim
51926 libdir!$libdir$ac_delim
51927 localedir!$localedir$ac_delim
51928 mandir!$mandir$ac_delim
51929 DEFS!$DEFS$ac_delim
51930 ECHO_C!$ECHO_C$ac_delim
51931 ECHO_N!$ECHO_N$ac_delim
51932 ECHO_T!$ECHO_T$ac_delim
51933 LIBS!$LIBS$ac_delim
51934 build_alias!$build_alias$ac_delim
51935 host_alias!$host_alias$ac_delim
51936 target_alias!$target_alias$ac_delim
51937 build!$build$ac_delim
51938 build_cpu!$build_cpu$ac_delim
51939 build_vendor!$build_vendor$ac_delim
51940 build_os!$build_os$ac_delim
51941 host!$host$ac_delim
51942 host_cpu!$host_cpu$ac_delim
51943 host_vendor!$host_vendor$ac_delim
51944 host_os!$host_os$ac_delim
51945 wx_top_builddir!$wx_top_builddir$ac_delim
51947 CFLAGS!$CFLAGS$ac_delim
51948 LDFLAGS!$LDFLAGS$ac_delim
51949 CPPFLAGS!$CPPFLAGS$ac_delim
51950 ac_ct_CC!$ac_ct_CC$ac_delim
51951 EXEEXT!$EXEEXT$ac_delim
51952 OBJEXT!$OBJEXT$ac_delim
51954 GREP!$GREP$ac_delim
51955 EGREP!$EGREP$ac_delim
51957 CXXFLAGS!$CXXFLAGS$ac_delim
51958 ac_ct_CXX!$ac_ct_CXX$ac_delim
51960 subdirs!$subdirs$ac_delim
51961 PKG_CONFIG!$PKG_CONFIG$ac_delim
51962 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51963 GTK_LIBS!$GTK_LIBS$ac_delim
51964 GTK_CONFIG!$GTK_CONFIG$ac_delim
51965 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51966 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51967 XMKMF!$XMKMF$ac_delim
51968 X_CFLAGS!$X_CFLAGS$ac_delim
51969 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51970 X_LIBS!$X_LIBS$ac_delim
51971 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51972 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51973 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51974 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51975 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51976 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51977 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51978 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51979 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51980 LIBICONV!$LIBICONV$ac_delim
51981 GXX_VERSION!$GXX_VERSION$ac_delim
51982 SDL_CONFIG!$SDL_CONFIG$ac_delim
51983 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51984 SDL_LIBS!$SDL_LIBS$ac_delim
51985 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51986 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51987 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51988 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51989 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51990 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51991 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51992 HILDON_LIBS!$HILDON_LIBS$ac_delim
51993 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
51994 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
51995 PYTHON!$PYTHON$ac_delim
51996 COND_PYTHON!$COND_PYTHON$ac_delim
51999 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52001 elif $ac_last_try; then
52002 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52003 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52004 { (exit 1); exit 1; }; }
52006 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52010 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52011 if test -n "$ac_eof"; then
52012 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52013 ac_eof=`expr $ac_eof + 1`
52016 cat >>$CONFIG_STATUS <<_ACEOF
52017 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52018 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52021 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52022 s/^/s,@/; s/!/@,|#_!!_#|/
52025 s/'"$ac_delim"'$/,g/; t
52027 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52028 ' >>$CONFIG_STATUS <conf$$subs.sed
52029 rm -f conf$$subs.sed
52030 cat >>$CONFIG_STATUS <<_ACEOF
52036 for ac_last_try in false false false false false :; do
52037 cat >conf$$subs.sed <<_ACEOF
52038 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52039 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52040 GST_CFLAGS!$GST_CFLAGS$ac_delim
52041 GST_LIBS!$GST_LIBS$ac_delim
52042 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52043 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52044 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52045 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52046 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52047 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52048 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52049 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52050 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52051 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52052 VENDOR!$VENDOR$ac_delim
52053 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52054 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52055 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52056 WXUNIV!$WXUNIV$ac_delim
52057 MONOLITHIC!$MONOLITHIC$ac_delim
52058 USE_PLUGINS!$USE_PLUGINS$ac_delim
52059 CXXWARNINGS!$CXXWARNINGS$ac_delim
52060 EXTRALIBS!$EXTRALIBS$ac_delim
52061 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52062 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52063 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52064 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52065 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52066 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52067 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52068 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52069 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52070 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52071 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52072 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52073 UNICODE!$UNICODE$ac_delim
52074 DEBUG_INFO!$DEBUG_INFO$ac_delim
52075 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52076 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52077 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52078 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52079 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52080 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52081 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52082 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52083 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52084 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52085 RANLIB!$RANLIB$ac_delim
52086 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52087 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52088 INSTALL_DATA!$INSTALL_DATA$ac_delim
52089 LN_S!$LN_S$ac_delim
52090 SET_MAKE!$SET_MAKE$ac_delim
52091 MAKE_SET!$MAKE_SET$ac_delim
52092 AROPTIONS!$AROPTIONS$ac_delim
52093 STRIP!$STRIP$ac_delim
52095 INSTALL_DIR!$INSTALL_DIR$ac_delim
52096 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52097 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52098 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52099 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52100 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52101 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52102 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52103 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52104 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52105 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52106 SO_SUFFIX!$SO_SUFFIX$ac_delim
52107 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52108 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52109 LIBPREFIX!$LIBPREFIX$ac_delim
52110 LIBEXT!$LIBEXT$ac_delim
52111 DLLPREFIX!$DLLPREFIX$ac_delim
52112 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52113 dlldir!$dlldir$ac_delim
52114 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52115 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52116 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52117 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52118 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52119 PIC_FLAG!$PIC_FLAG$ac_delim
52120 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52121 USE_SOVERSION!$USE_SOVERSION$ac_delim
52122 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52123 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52124 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52125 USE_MACVERSION!$USE_MACVERSION$ac_delim
52126 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52127 SONAME_FLAG!$SONAME_FLAG$ac_delim
52128 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52129 BK_DEPS!$BK_DEPS$ac_delim
52130 WINDRES!$WINDRES$ac_delim
52132 SETFILE!$SETFILE$ac_delim
52133 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52134 GCC_PCH!$GCC_PCH$ac_delim
52137 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52139 elif $ac_last_try; then
52140 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52141 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52142 { (exit 1); exit 1; }; }
52144 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52148 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52149 if test -n "$ac_eof"; then
52150 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52151 ac_eof=`expr $ac_eof + 1`
52154 cat >>$CONFIG_STATUS <<_ACEOF
52155 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52156 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52159 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52160 s/^/s,@/; s/!/@,|#_!!_#|/
52163 s/'"$ac_delim"'$/,g/; t
52165 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52166 ' >>$CONFIG_STATUS <conf$$subs.sed
52167 rm -f conf$$subs.sed
52168 cat >>$CONFIG_STATUS <<_ACEOF
52174 for ac_last_try in false false false false false :; do
52175 cat >conf$$subs.sed <<_ACEOF
52176 ICC_PCH!$ICC_PCH$ac_delim
52177 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52178 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52179 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52180 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52181 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52182 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52183 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52184 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52185 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52186 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52187 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52188 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52189 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52190 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52191 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52192 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52193 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52194 COND_BUILD_release!$COND_BUILD_release$ac_delim
52195 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52196 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52197 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52198 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52199 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52200 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52201 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52202 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52203 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52204 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52205 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52206 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52207 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52208 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52210 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52211 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52213 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52214 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52215 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52216 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52217 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52218 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52219 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52221 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52223 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52224 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52225 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52226 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52227 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52228 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52229 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52230 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52231 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52232 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52233 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52234 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52235 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52236 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52237 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52238 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52239 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52240 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52241 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52242 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52243 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52244 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52245 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52246 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52247 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52248 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52249 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52250 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
52251 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52252 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
52253 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52254 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52255 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52256 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52257 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52258 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52259 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52260 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52261 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52262 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52263 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52264 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52265 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52266 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52267 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52268 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52269 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52270 COND_SHARED_0!$COND_SHARED_0$ac_delim
52271 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52272 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52275 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52277 elif $ac_last_try; then
52278 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52279 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52280 { (exit 1); exit 1; }; }
52282 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52286 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52287 if test -n "$ac_eof"; then
52288 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52289 ac_eof=`expr $ac_eof + 1`
52292 cat >>$CONFIG_STATUS <<_ACEOF
52293 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52297 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52298 s/^/s,@/; s/!/@,|#_!!_#|/
52301 s/'"$ac_delim"'$/,g/; t
52303 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52304 ' >>$CONFIG_STATUS <conf$$subs.sed
52305 rm -f conf$$subs.sed
52306 cat >>$CONFIG_STATUS <<_ACEOF
52312 for ac_last_try in false false false false false :; do
52313 cat >conf$$subs.sed <<_ACEOF
52314 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52315 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52316 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52317 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52318 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52319 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52320 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52321 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52322 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52323 COND_SHARED_1!$COND_SHARED_1$ac_delim
52324 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52325 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52326 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52327 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52328 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52329 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52330 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52331 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52332 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52333 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52334 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52335 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52336 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52337 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52338 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52339 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52340 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52341 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52342 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52343 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52344 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52345 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52346 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52347 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52348 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52349 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52350 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52351 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52352 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52353 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52354 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52355 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52356 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52357 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52358 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52359 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52360 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52361 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52362 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52363 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52364 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52365 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52366 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52367 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52368 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52369 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52370 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52371 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52372 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52373 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52374 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52375 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52376 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52377 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52378 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52379 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52380 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52381 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52382 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52383 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52384 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52385 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52386 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52387 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52388 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52389 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52390 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52391 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52392 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52393 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52394 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52395 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52396 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52397 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52398 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52399 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52400 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52401 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52402 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52403 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52404 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52405 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52406 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52407 DEREZ!$DEREZ$ac_delim
52408 SHARED!$SHARED$ac_delim
52409 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52410 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52413 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52415 elif $ac_last_try; then
52416 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52417 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52418 { (exit 1); exit 1; }; }
52420 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52424 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52425 if test -n "$ac_eof"; then
52426 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52427 ac_eof=`expr $ac_eof + 1`
52430 cat >>$CONFIG_STATUS <<_ACEOF
52431 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52432 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52435 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52436 s/^/s,@/; s/!/@,|#_!!_#|/
52439 s/'"$ac_delim"'$/,g/; t
52441 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52442 ' >>$CONFIG_STATUS <conf$$subs.sed
52443 rm -f conf$$subs.sed
52444 cat >>$CONFIG_STATUS <<_ACEOF
52450 for ac_last_try in false false false false false :; do
52451 cat >conf$$subs.sed <<_ACEOF
52452 USE_GUI!$USE_GUI$ac_delim
52453 AFMINSTALL!$AFMINSTALL$ac_delim
52454 WIN32INSTALL!$WIN32INSTALL$ac_delim
52455 TOOLKIT!$TOOLKIT$ac_delim
52456 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52457 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52458 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52459 cross_compiling!$cross_compiling$ac_delim
52460 WIDGET_SET!$WIDGET_SET$ac_delim
52461 WX_RELEASE!$WX_RELEASE$ac_delim
52462 WX_VERSION!$WX_VERSION$ac_delim
52463 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52464 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52465 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52466 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52467 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52468 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52469 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52470 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52471 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52472 GUIDIST!$GUIDIST$ac_delim
52473 DISTDIR!$DISTDIR$ac_delim
52474 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52475 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52476 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52477 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52478 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52479 RESCOMP!$RESCOMP$ac_delim
52480 RESFLAGS!$RESFLAGS$ac_delim
52481 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52482 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52483 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52484 LIBWXMACRES!$LIBWXMACRES$ac_delim
52485 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52486 MACSETFILE!$MACSETFILE$ac_delim
52488 DLLTOOL!$DLLTOOL$ac_delim
52489 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52490 LIBOBJS!$LIBOBJS$ac_delim
52491 LTLIBOBJS!$LTLIBOBJS$ac_delim
52494 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
52496 elif $ac_last_try; then
52497 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52498 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52499 { (exit 1); exit 1; }; }
52501 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52505 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52506 if test -n "$ac_eof"; then
52507 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52508 ac_eof=`expr $ac_eof + 1`
52511 cat >>$CONFIG_STATUS <<_ACEOF
52512 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52516 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52517 s/^/s,@/; s/!/@,|#_!!_#|/
52520 s/'"$ac_delim"'$/,g/; t
52522 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52523 ' >>$CONFIG_STATUS <conf$$subs.sed
52524 rm -f conf$$subs.sed
52525 cat >>$CONFIG_STATUS <<_ACEOF
52532 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52533 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52534 # trailing colons and then remove the whole line if VPATH becomes empty
52535 # (actually we leave an empty line to preserve line numbers).
52536 if test "x$srcdir" = x.; then
52537 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52538 s/:*\$(srcdir):*/:/
52539 s/:*\${srcdir}:*/:/
52541 s/^\([^=]*=[ ]*\):*/\1/
52547 cat >>$CONFIG_STATUS <<\_ACEOF
52548 fi # test -n "$CONFIG_FILES"
52551 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52554 :[FHLC]) ac_mode=$ac_tag; continue;;
52556 case $ac_mode$ac_tag in
52558 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52559 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52560 { (exit 1); exit 1; }; };;
52561 :[FH]-) ac_tag=-:-;;
52562 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52579 -) ac_f="$tmp/stdin";;
52580 *) # Look for the file first in the build tree, then in the source tree
52581 # (if the path is not absolute). The absolute path cannot be DOS-style,
52582 # because $ac_f cannot contain `:'.
52586 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52588 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52589 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52590 { (exit 1); exit 1; }; };;
52592 ac_file_inputs="$ac_file_inputs $ac_f"
52595 # Let's still pretend it is `configure' which instantiates (i.e., don't
52596 # use $as_me), people would be surprised to read:
52597 # /* config.h. Generated by config.status. */
52598 configure_input="Generated from "`IFS=:
52599 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52600 if test x"$ac_file" != x-; then
52601 configure_input="$ac_file. $configure_input"
52602 { echo "$as_me:$LINENO: creating $ac_file" >&5
52603 echo "$as_me: creating $ac_file" >&6;}
52607 *:-:* | *:-) cat >"$tmp/stdin";;
52612 ac_dir=`$as_dirname -- "$ac_file" ||
52613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52614 X"$ac_file" : 'X\(//\)[^/]' \| \
52615 X"$ac_file" : 'X\(//\)$' \| \
52616 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52622 /^X\(\/\/\)[^/].*/{
52637 -*) as_dir=./$as_dir;;
52639 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52643 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52644 *) as_qdir=$as_dir;;
52646 as_dirs="'$as_qdir' $as_dirs"
52647 as_dir=`$as_dirname -- "$as_dir" ||
52648 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52649 X"$as_dir" : 'X\(//\)[^/]' \| \
52650 X"$as_dir" : 'X\(//\)$' \| \
52651 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52657 /^X\(\/\/\)[^/].*/{
52670 test -d "$as_dir" && break
52672 test -z "$as_dirs" || eval "mkdir $as_dirs"
52673 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52674 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52675 { (exit 1); exit 1; }; }; }
52679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52681 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52682 # A ".." for each directory in $ac_dir_suffix.
52683 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52684 case $ac_top_builddir_sub in
52685 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52686 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52689 ac_abs_top_builddir=$ac_pwd
52690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52691 # for backward compatibility:
52692 ac_top_builddir=$ac_top_build_prefix
52695 .) # We are building in place.
52697 ac_top_srcdir=$ac_top_builddir_sub
52698 ac_abs_top_srcdir=$ac_pwd ;;
52699 [\\/]* | ?:[\\/]* ) # Absolute name.
52700 ac_srcdir=$srcdir$ac_dir_suffix;
52701 ac_top_srcdir=$srcdir
52702 ac_abs_top_srcdir=$srcdir ;;
52703 *) # Relative name.
52704 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52705 ac_top_srcdir=$ac_top_build_prefix$srcdir
52706 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52718 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52719 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52723 cat >>$CONFIG_STATUS <<\_ACEOF
52724 # If the template does not know about datarootdir, expand it.
52725 # FIXME: This hack should be removed a few years after 2.60.
52726 ac_datarootdir_hack=; ac_datarootdir_seen=
52728 case `sed -n '/datarootdir/ {
52737 ' $ac_file_inputs` in
52738 *datarootdir*) ac_datarootdir_seen=yes;;
52739 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52740 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52741 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52743 cat >>$CONFIG_STATUS <<_ACEOF
52744 ac_datarootdir_hack='
52745 s&@datadir@&$datadir&g
52746 s&@docdir@&$docdir&g
52747 s&@infodir@&$infodir&g
52748 s&@localedir@&$localedir&g
52749 s&@mandir@&$mandir&g
52750 s&\\\${datarootdir}&$datarootdir&g' ;;
52754 # Neutralize VPATH when `$srcdir' = `.'.
52755 # Shell code in configure.ac might set extrasub.
52756 # FIXME: do we really want to maintain this feature?
52757 cat >>$CONFIG_STATUS <<_ACEOF
52761 cat >>$CONFIG_STATUS <<\_ACEOF
52763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52764 s&@configure_input@&$configure_input&;t t
52765 s&@top_builddir@&$ac_top_builddir_sub&;t t
52766 s&@srcdir@&$ac_srcdir&;t t
52767 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52768 s&@top_srcdir@&$ac_top_srcdir&;t t
52769 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52770 s&@builddir@&$ac_builddir&;t t
52771 s&@abs_builddir@&$ac_abs_builddir&;t t
52772 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52773 s&@INSTALL@&$ac_INSTALL&;t t
52774 $ac_datarootdir_hack
52775 " $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
52777 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52778 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52779 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52780 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52781 which seems to be undefined. Please make sure it is defined." >&5
52782 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52783 which seems to be undefined. Please make sure it is defined." >&2;}
52787 -) cat "$tmp/out"; rm -f "$tmp/out";;
52788 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52797 # Transform confdefs.h into a sed script `conftest.defines', that
52798 # substitutes the proper values into config.h.in to produce config.h.
52799 rm -f conftest.defines conftest.tail
52800 # First, append a space to every undef/define line, to ease matching.
52801 echo 's/$/ /' >conftest.defines
52802 # Then, protect against being on the right side of a sed subst, or in
52803 # an unquoted here document, in config.status. If some macros were
52804 # called several times there might be several #defines for the same
52805 # symbol, which is useless. But do not sort them, since the last
52806 # AC_DEFINE must be honored.
52807 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52808 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52809 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52810 # PARAMS is the parameter list in the macro definition--in most cases, it's
52811 # just an empty string.
52812 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52813 ac_dB='\\)[ (].*,\\1define\\2'
52821 s/^[ ]*#[ ]*define[ ][ ]*//
52826 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52827 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52828 ' >>conftest.defines
52830 # Remove the space that was appended to ease matching.
52831 # Then replace #undef with comments. This is necessary, for
52832 # example, in the case of _POSIX_SOURCE, which is predefined and required
52833 # on some systems where configure will not decide to define it.
52834 # (The regexp can be short, since the line contains either #define or #undef.)
52836 s,^[ #]*u.*,/* & */,' >>conftest.defines
52838 # Break up conftest.defines:
52839 ac_max_sed_lines=50
52841 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52842 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52843 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52845 ac_in='$ac_file_inputs'
52846 ac_out='"$tmp/out1"'
52847 ac_nxt='"$tmp/out2"'
52851 # Write a here document:
52852 cat >>$CONFIG_STATUS <<_ACEOF
52853 # First, check the format of the line:
52854 cat >"\$tmp/defines.sed" <<\\CEOF
52855 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52856 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52860 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52862 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52863 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52864 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52865 grep . conftest.tail >/dev/null || break
52866 rm -f conftest.defines
52867 mv conftest.tail conftest.defines
52869 rm -f conftest.defines conftest.tail
52871 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52872 cat >>$CONFIG_STATUS <<\_ACEOF
52873 if test x"$ac_file" != x-; then
52874 echo "/* $configure_input */" >"$tmp/config.h"
52875 cat "$ac_result" >>"$tmp/config.h"
52876 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52877 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52878 echo "$as_me: $ac_file is unchanged" >&6;}
52881 mv "$tmp/config.h" $ac_file
52884 echo "/* $configure_input */"
52890 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52891 echo "$as_me: executing $ac_file commands" >&6;}
52896 case $ac_file$ac_mode in
52898 mkdir -p $outdir &&
52899 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52901 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52902 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52903 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52904 "wx-config":C) rm -f wx-config
52905 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52912 { (exit 0); exit 0; }
52914 chmod +x $CONFIG_STATUS
52915 ac_clean_files=$ac_clean_files_save
52918 # configure is writing to config.log, and then calls config.status.
52919 # config.status does its own redirection, appending to config.log.
52920 # Unfortunately, on DOS this fails, as config.log is still kept open
52921 # by configure, so config.status won't be able to write to it; its
52922 # output is simply discarded. So we exec the FD to /dev/null,
52923 # effectively closing config.log, so it can be properly (re)opened and
52924 # appended to by config.status. When coming back to configure, we
52925 # need to make the FD available again.
52926 if test "$no_create" != yes; then
52928 ac_config_status_args=
52929 test "$silent" = yes &&
52930 ac_config_status_args="$ac_config_status_args --quiet"
52932 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52934 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52935 # would make configure fail if this is the last instruction.
52936 $ac_cs_success || { (exit 1); exit 1; }
52940 # CONFIG_SUBDIRS section.
52942 if test "$no_recursion" != yes; then
52944 # Remove --cache-file and --srcdir arguments so they do not pile up.
52945 ac_sub_configure_args=
52947 eval "set x $ac_configure_args"
52951 if test -n "$ac_prev"; then
52956 -cache-file | --cache-file | --cache-fil | --cache-fi \
52957 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52958 ac_prev=cache_file ;;
52959 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52960 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52963 --config-cache | -C)
52965 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52967 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52975 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52977 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52981 # Always prepend --prefix to ensure using the same prefix
52982 # in subdir configurations.
52983 ac_arg="--prefix=$prefix"
52985 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52987 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52990 if test "$silent" = yes; then
52991 ac_sub_configure_args="--silent $ac_sub_configure_args"
52995 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52997 # Do not complain, so a configure script can configure whichever
52998 # parts of a large source tree are present.
52999 test -d "$srcdir/$ac_dir" || continue
53001 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53002 echo "$as_me:$LINENO: $ac_msg" >&5
53006 -*) as_dir=./$as_dir;;
53008 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53012 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53013 *) as_qdir=$as_dir;;
53015 as_dirs="'$as_qdir' $as_dirs"
53016 as_dir=`$as_dirname -- "$as_dir" ||
53017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53018 X"$as_dir" : 'X\(//\)[^/]' \| \
53019 X"$as_dir" : 'X\(//\)$' \| \
53020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53026 /^X\(\/\/\)[^/].*/{
53039 test -d "$as_dir" && break
53041 test -z "$as_dirs" || eval "mkdir $as_dirs"
53042 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53043 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53044 { (exit 1); exit 1; }; }; }
53048 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53050 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53051 # A ".." for each directory in $ac_dir_suffix.
53052 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53053 case $ac_top_builddir_sub in
53054 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53055 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53058 ac_abs_top_builddir=$ac_pwd
53059 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53060 # for backward compatibility:
53061 ac_top_builddir=$ac_top_build_prefix
53064 .) # We are building in place.
53066 ac_top_srcdir=$ac_top_builddir_sub
53067 ac_abs_top_srcdir=$ac_pwd ;;
53068 [\\/]* | ?:[\\/]* ) # Absolute name.
53069 ac_srcdir=$srcdir$ac_dir_suffix;
53070 ac_top_srcdir=$srcdir
53071 ac_abs_top_srcdir=$srcdir ;;
53072 *) # Relative name.
53073 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53074 ac_top_srcdir=$ac_top_build_prefix$srcdir
53075 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53077 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53082 # Check for guested configure; otherwise get Cygnus style configure.
53083 if test -f "$ac_srcdir/configure.gnu"; then
53084 ac_sub_configure=$ac_srcdir/configure.gnu
53085 elif test -f "$ac_srcdir/configure"; then
53086 ac_sub_configure=$ac_srcdir/configure
53087 elif test -f "$ac_srcdir/configure.in"; then
53088 # This should be Cygnus configure.
53089 ac_sub_configure=$ac_aux_dir/configure
53091 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53092 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53096 # The recursion is here.
53097 if test -n "$ac_sub_configure"; then
53098 # Make the cache file name correct relative to the subdirectory.
53099 case $cache_file in
53100 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53101 *) # Relative name.
53102 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53105 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53106 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53107 # The eval makes quoting arguments work.
53108 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53109 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53110 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53111 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53112 { (exit 1); exit 1; }; }
53121 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53123 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53124 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53125 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53126 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53127 if test "$wxUSE_UNICODE" = "yes"; then
53128 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53129 echo " (using UTF-8)"
53131 echo " (using wchar_t)"
53137 echo " What level of wxWidgets compatibility should be enabled?"
53138 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53139 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53141 echo " Which libraries should wxWidgets use?"
53142 echo " STL ${wxUSE_STL}"
53143 echo " jpeg ${wxUSE_LIBJPEG-none}"
53144 echo " png ${wxUSE_LIBPNG-none}"
53145 echo " regex ${wxUSE_REGEX}"
53146 echo " tiff ${wxUSE_LIBTIFF-none}"
53147 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53148 echo " xpm ${wxUSE_LIBXPM-none}"
53150 echo " zlib ${wxUSE_ZLIB}"
53151 echo " expat ${wxUSE_EXPAT}"
53152 echo " libmspack ${wxUSE_LIBMSPACK}"
53153 echo " sdl ${wxUSE_LIBSDL}"