2 # From configure.in Id: configure.in 61944 2009-09-16 12:06:02Z PJC .
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
812 ICC_PCH_CREATE_SWITCH
816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
818 COND_BUILD_DEBUG_UNICODE_0
819 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
822 COND_BUILD_RELEASE_UNICODE_0
823 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug_DEBUG_FLAG_default
826 COND_BUILD_debug_DEBUG_INFO_default
827 COND_BUILD_debug_UNICODE_0
828 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release_DEBUG_INFO_default
831 COND_BUILD_release_UNICODE_0
832 COND_BUILD_release_UNICODE_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
853 COND_MONOLITHIC_0_SHARED_1
854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
860 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
861 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
864 COND_MONOLITHIC_0_USE_AUI_1
865 COND_MONOLITHIC_0_USE_GUI_1
866 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_HTML_1
868 COND_MONOLITHIC_0_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_PROPGRID_1
870 COND_MONOLITHIC_0_USE_QA_1
871 COND_MONOLITHIC_0_USE_RIBBON_1
872 COND_MONOLITHIC_0_USE_RICHTEXT_1
873 COND_MONOLITHIC_0_USE_STC_1
874 COND_MONOLITHIC_0_USE_XRC_1
876 COND_MONOLITHIC_1_SHARED_0
877 COND_MONOLITHIC_1_SHARED_1
878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
880 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
881 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
882 COND_PLATFORM_MACOSX_1
883 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
890 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
891 COND_PLATFORM_MACOS_1
894 COND_PLATFORM_MSDOS_0
895 COND_PLATFORM_MSDOS_1
899 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
901 COND_PLATFORM_UNIX_1_USE_GUI_1
902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
903 COND_PLATFORM_WIN32_0
904 COND_PLATFORM_WIN32_1
906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
907 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
908 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
910 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
911 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
913 COND_SHARED_0_USE_STC_1
914 COND_SHARED_0_wxUSE_EXPAT_builtin
915 COND_SHARED_0_wxUSE_REGEX_builtin
916 COND_SHARED_0_wxUSE_ZLIB_builtin
918 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
921 COND_TOOLKIT_COCOA_USE_GUI_1
922 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_DFB_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_USE_GUI_1
935 COND_TOOLKIT_MGL_USE_GUI_1
937 COND_TOOLKIT_MOTIF_USE_GUI_1
938 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_MSW_USE_GUI_1
941 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_WXUNIV_0
943 COND_TOOLKIT_OSX_CARBON
944 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA
946 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
947 COND_TOOLKIT_OSX_IPHONE
949 COND_TOOLKIT_PM_USE_GUI_1
950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
952 COND_TOOLKIT_WINCE_USE_GUI_1
953 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_WXUNIV_0
956 COND_TOOLKIT_X11_USE_GUI_1
958 COND_USE_EXCEPTIONS_0
959 COND_USE_EXCEPTIONS_1
962 COND_USE_GUI_1_USE_OPENGL_1
963 COND_USE_GUI_1_WXUNIV_0
964 COND_USE_GUI_1_WXUNIV_1
965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
967 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
969 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
970 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
976 COND_USE_SOSYMLINKS_1
977 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
978 COND_USE_SOVERLINUX_1
980 COND_USE_SOVERSOLARIS_1
985 COND_WINDOWS_IMPLIB_1
986 COND_WITH_PLUGIN_SDL_1
989 COND_WXUSE_EXPAT_BUILTIN
990 COND_WXUSE_LIBJPEG_BUILTIN
991 COND_WXUSE_LIBPNG_BUILTIN
992 COND_WXUSE_LIBTIFF_BUILTIN
993 COND_WXUSE_REGEX_BUILTIN
994 COND_WXUSE_ZLIB_BUILTIN
995 COND_wxUSE_EXPAT_builtin
996 COND_wxUSE_LIBJPEG_builtin
997 COND_wxUSE_LIBPNG_builtin
998 COND_wxUSE_LIBTIFF_builtin
999 COND_wxUSE_REGEX_builtin
1000 COND_wxUSE_ZLIB_builtin
1003 WX_LIBRARY_BASENAME_NOGUI
1004 WX_LIBRARY_BASENAME_GUI
1023 WXCONFIG_LDFLAGS_GUI
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1046 ac_precious_vars='build_alias
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1080 ac_subdirs_all='src/tiff
1083 # Initialize some variables set by options.
1085 ac_init_version=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file=/dev/null
1095 program_transform_name=s,x,x,
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir='${exec_prefix}/bin'
1110 sbindir='${exec_prefix}/sbin'
1111 libexecdir='${exec_prefix}/libexec'
1112 datarootdir='${prefix}/share'
1113 datadir='${datarootdir}'
1114 sysconfdir='${prefix}/etc'
1115 sharedstatedir='${prefix}/com'
1116 localstatedir='${prefix}/var'
1117 includedir='${prefix}/include'
1118 oldincludedir='/usr/include'
1119 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir='${datarootdir}/info'
1125 libdir='${exec_prefix}/lib'
1126 localedir='${datarootdir}/locale'
1127 mandir='${datarootdir}/man'
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\$ac_option
1141 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1147 case $ac_dashdash$ac_option in
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir=$ac_optarg ;;
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev=build_alias ;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias=$ac_optarg ;;
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev=cache_file ;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file=$ac_optarg ;;
1168 --config-cache | -C)
1169 cache_file=config.cache ;;
1171 -datadir | --datadir | --datadi | --datad)
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir=$ac_optarg ;;
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev=datarootdir ;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir=$ac_optarg ;;
1183 -disable-* | --disable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=no ;;
1192 -docdir | --docdir | --docdi | --doc | --do)
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir=$ac_optarg ;;
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir=$ac_optarg ;;
1202 -enable-* | --enable-*)
1203 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_$ac_feature=\$ac_optarg ;;
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev=exec_prefix ;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix=$ac_optarg ;;
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help=long ;;
1226 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1227 ac_init_help=recursive ;;
1228 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1229 ac_init_help=short ;;
1231 -host | --host | --hos | --ho)
1232 ac_prev=host_alias ;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias=$ac_optarg ;;
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1240 htmldir=$ac_optarg ;;
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev=includedir ;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir=$ac_optarg ;;
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir=$ac_optarg ;;
1254 -libdir | --libdir | --libdi | --libd)
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir=$ac_optarg ;;
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev=libexecdir ;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir=$ac_optarg ;;
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev=localedir ;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir=$ac_optarg ;;
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev=localstatedir ;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir=$ac_optarg ;;
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir=$ac_optarg ;;
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev=oldincludedir ;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir=$ac_optarg ;;
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix=$ac_optarg ;;
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev=program_prefix ;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix=$ac_optarg ;;
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev=program_suffix ;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix=$ac_optarg ;;
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev=program_transform_name ;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name=$ac_optarg ;;
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir=$ac_optarg ;;
1345 -psdir | --psdir | --psdi | --psd | --ps)
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1358 sbindir=$ac_optarg ;;
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1364 ac_prev=sharedstatedir ;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1369 sharedstatedir=$ac_optarg ;;
1371 -site | --site | --sit)
1373 -site=* | --site=* | --sit=*)
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir=$ac_optarg ;;
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev=sysconfdir ;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir=$ac_optarg ;;
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev=target_alias ;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias=$ac_optarg ;;
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version=: ;;
1400 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_$ac_package=\$ac_optarg ;;
1408 -without-* | --without-*)
1409 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_$ac_package=no ;;
1418 # Obsolete; use --with-x.
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev=x_includes ;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes=$ac_optarg ;;
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev=x_libraries ;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries=$ac_optarg ;;
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1441 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\$ac_optarg
1447 export $ac_envvar ;;
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1460 if test -n "$ac_prev"; then
1461 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1466 # Be sure to have absolute directory names.
1467 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1472 eval ac_val=\$$ac_var
1474 [\\/$]* | ?:[\\/]* ) continue;;
1475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1486 target=$target_alias
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x; then
1490 if test "x$build_alias" = x; then
1491 cross_compiling=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1502 test "$silent" = yes && exec 6>/dev/null
1505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di=`ls -di .` &&
1507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1547 ac_srcdir_defaulted=no
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1554 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1567 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1569 for ac_var in $ac_precious_vars; do
1570 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_env_${ac_var}_value=\$${ac_var}
1572 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1573 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1577 # Report the --help message.
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1583 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1590 Defaults for the options are specified in brackets.
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1614 For better control, use the options below.
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1641 --x-includes=DIR X include files are in DIR
1642 --x-libraries=DIR X library files are in DIR
1645 --build=BUILD configure for building on BUILD [guessed]
1646 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1650 if test -n "$ac_init_help"; then
1651 case $ac_init_help in
1652 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1657 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1658 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1659 --disable-gui don't build GUI parts of the library
1660 --enable-monolithic build wxWidgets as single library
1661 --enable-plugins build parts of wxWidgets as loadable components
1662 --enable-official_build official build of wxWidgets (win32 DLL only)
1663 --enable-vendor=VENDOR vendor name (win32 DLL only)
1664 --disable-all-features disable all optional features to build minimal library
1665 --enable-universal use wxWidgets GUI controls instead of native ones
1666 --enable-nanox use NanoX
1667 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1668 --enable-gpe use GNOME PDA Environment features if possible
1669 --enable-debug build library for debugging
1670 --disable-debug_flag disable all debugging support
1671 --enable-debug_info generate debug information
1672 --enable-debug_gdb create code with extra GDB debugging information
1673 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1674 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1675 --disable-shared create static library instead of shared
1676 --enable-stl use STL for containers
1677 --enable-std_iostreams use standard C++ stream classes
1678 --enable-std_string use standard C++ string classes
1679 --disable-unicode compile without Unicode support
1680 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1681 --enable-utf8 use UTF-8 representation for strings (Unix only)
1682 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1683 --enable-extended_rtti use extended RTTI (XTI)
1684 --enable-omf use OMF object format
1685 --disable-optimise compile without optimisations
1686 --enable-profile create code with profiling information
1687 --enable-no_rtti create code without RTTI information
1688 --enable-no_exceptions create code without C++ exceptions handling
1689 --enable-permissive compile code disregarding strict ANSI
1690 --enable-no_deps create code without dependency information
1691 --disable-vararg_macros don't use vararg macros, even if they are supported
1692 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1693 --enable-compat26 enable wxWidgets 2.6 compatibility
1694 --disable-compat28 disable wxWidgets 2.8 compatibility
1695 --disable-rpath disable use of rpath for uninstalled builds
1696 --enable-objc_uniquifying enable Objective-C class name uniquifying
1697 --disable-visibility disable use of ELF symbols visibility even if supported
1698 --disable-tls disable use of compiler TLS support
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x-locale support (requires wxLocale)
1701 --enable-config use wxConfig (and derived) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP (requires wxProtocol
1704 --enable-http use wxHTTP (requires wxProtocol
1705 --enable-fileproto use wxFileProto class (requires wxProtocol
1706 --enable-sockets use socket/network classes
1707 --enable-ipv6 enable IPv6 support in wxSocket
1708 --enable-ole use OLE classes (Win32 only)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication (wxSocket etc.)
1711 --enable-baseevtloop use event loop in console programs too
1712 --enable-epollloop use wxEpollDispatcher class (Linux only)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-any use wxAny class
1715 --enable-apple_ieee use the Apple IEEE codec
1716 --enable-arcstream use wxArchive streams
1717 --enable-base64 use base64 encoding/decoding functions
1718 --enable-backtrace use wxStackWalker class for getting backtraces
1719 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1720 --enable-cmdline use wxCmdLineParser class
1721 --enable-datetime use wxDateTime class
1722 --enable-debugreport use wxDebugReport class
1723 --enable-dialupman use dialup network classes
1724 --enable-dynlib use wxLibrary class for DLL loading
1725 --enable-dynamicloader use (new) wxDynamicLibrary class
1726 --enable-exceptions build exception-safe library
1727 --enable-ffile use wxFFile class
1728 --enable-file use wxFile class
1729 --enable-filesystem use virtual file systems classes
1730 --enable-fontenum use wxFontEnumerator class
1731 --enable-fontmap use font encodings conversion classes
1732 --enable-fs_archive use virtual archive filesystems
1733 --enable-fs_inet use virtual HTTP/FTP filesystems
1734 --enable-fs_zip now replaced by fs_archive
1735 --enable-geometry use geometry class
1736 --enable-log use logging system
1737 --enable-longlong use wxLongLong class
1738 --enable-mimetype use wxMimeTypesManager
1739 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1740 --enable-snglinst use wxSingleInstanceChecker class
1741 --enable-sound use wxSound class
1742 --enable-stdpaths use wxStandardPaths class
1743 --enable-stopwatch use wxStopWatch class
1744 --enable-streams use wxStream etc classes
1745 --enable-sysoptions use wxSystemOptions
1746 --enable-tarstream use wxTar streams
1747 --enable-textbuf use wxTextBuffer class
1748 --enable-textfile use wxTextFile class
1749 --enable-timer use wxTimer class
1750 --enable-variant use wxVariant class
1751 --enable-zipstream use wxZip streams
1752 --enable-url use wxURL class
1753 --enable-protocol use wxProtocol class
1754 --enable-protocol-http HTTP support in wxProtocol
1755 --enable-protocol-ftp FTP support in wxProtocol
1756 --enable-protocol-file FILE support in wxProtocol
1757 --enable-threads use threads
1758 --enable-iniconf use wxIniConfig (Win32 only)
1759 --enable-regkey use wxRegKey class (Win32 only)
1760 --enable-docview use document view architecture
1761 --enable-help use help subsystem
1762 --enable-mshtmlhelp use MS HTML Help (win32)
1763 --enable-html use wxHTML sub-library
1764 --enable-htmlhelp use wxHTML-based help
1765 --enable-xrc use XRC resources sub-library
1766 --enable-aui use AUI docking library
1767 --enable-propgrid use wxPropertyGrid library
1768 --enable-ribbon use wxRibbon library
1769 --enable-stc use wxStyledTextCtrl library
1770 --enable-constraints use layout-constraints system
1771 --enable-loggui use standard GUI logger
1772 --enable-logwin use wxLogWindow
1773 --enable-logdialog use wxLogDialog
1774 --enable-mdi use multiple document interface architecture
1775 --enable-mdidoc use docview architecture with MDI
1776 --enable-mediactrl use wxMediaCtrl class
1777 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1778 --enable-webkit use wxWebKitCtrl (Mac)
1779 --enable-richtext use wxRichTextCtrl
1780 --enable-graphics_ctx use graphics context 2D drawing API
1781 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1782 --enable-printarch use printing architecture
1783 --enable-svg use wxSVGFileDC device context
1784 --enable-clipboard use wxClipboard class
1785 --enable-dnd use Drag'n'Drop classes
1786 --enable-metafile use win32 metafiles
1787 --disable-controls disable compilation of all standard controls
1788 --enable-accel use accelerators
1789 --enable-animatectrl use wxAnimationCtrl class
1790 --enable-bmpbutton use wxBitmapButton class
1791 --enable-bmpcombobox use wxBitmapComboBox class
1792 --enable-button use wxButton class
1793 --enable-calendar use wxCalendarCtrl class
1794 --enable-caret use wxCaret class
1795 --enable-checkbox use wxCheckBox class
1796 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1797 --enable-choice use wxChoice class
1798 --enable-choicebook use wxChoicebook class
1799 --enable-collpane use wxCollapsiblePane class
1800 --enable-colourpicker use wxColourPickerCtrl class
1801 --enable-combobox use wxComboBox class
1802 --enable-comboctrl use wxComboCtrl class
1803 --enable-dataviewctrl use wxDataViewCtrl class
1804 --enable-datepick use wxDatePickerCtrl class
1805 --enable-detect_sm use code to detect X11 session manager
1806 --enable-dirpicker use wxDirPickerCtrl class
1807 --enable-display use wxDisplay class
1808 --enable-editablebox use wxEditableListBox class
1809 --enable-filectrl use wxFileCtrl class
1810 --enable-filepicker use wxFilePickerCtrl class
1811 --enable-fontpicker use wxFontPickerCtrl class
1812 --enable-gauge use wxGauge class
1813 --enable-grid use wxGrid class
1814 --enable-headerctrl use wxHeaderCtrl class
1815 --enable-hyperlink use wxHyperlinkCtrl class
1816 --enable-imaglist use wxImageList class
1817 --enable-listbook use wxListbook class
1818 --enable-listbox use wxListBox class
1819 --enable-listctrl use wxListCtrl class
1820 --enable-notebook use wxNotebook class
1821 --enable-notifmsg use wxNotificationMessage class
1822 --enable-odcombobox use wxOwnerDrawnComboBox class
1823 --enable-popupwin use wxPopUpWindow class
1824 --enable-radiobox use wxRadioBox class
1825 --enable-radiobtn use wxRadioButton class
1826 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1827 --enable-sash use wxSashWindow class
1828 --enable-scrollbar use wxScrollBar class and scrollable windows
1829 --enable-searchctrl use wxSearchCtrl class
1830 --enable-slider use wxSlider class
1831 --enable-spinbtn use wxSpinButton class
1832 --enable-spinctrl use wxSpinCtrl class
1833 --enable-splitter use wxSplitterWindow class
1834 --enable-statbmp use wxStaticBitmap class
1835 --enable-statbox use wxStaticBox class
1836 --enable-statline use wxStaticLine class
1837 --enable-stattext use wxStaticText class
1838 --enable-statusbar use wxStatusBar class
1839 --enable-taskbaricon use wxTaskBarIcon class
1840 --enable-tbarnative use native wxToolBar class
1841 --enable-textctrl use wxTextCtrl class
1842 --enable-tipwindow use wxTipWindow class
1843 --enable-togglebtn use wxToggleButton class
1844 --enable-toolbar use wxToolBar class
1845 --enable-toolbook use wxToolbook class
1846 --enable-treebook use wxTreebook class
1847 --enable-treectrl use wxTreeCtrl class
1848 --enable-commondlg use all common dialogs
1849 --enable-aboutdlg use wxAboutBox
1850 --enable-choicedlg use wxChoiceDialog
1851 --enable-coldlg use wxColourDialog
1852 --enable-filedlg use wxFileDialog
1853 --enable-finddlg use wxFindReplaceDialog
1854 --enable-fontdlg use wxFontDialog
1855 --enable-dirdlg use wxDirDialog
1856 --enable-msgdlg use wxMessageDialog
1857 --enable-numberdlg use wxNumberEntryDialog
1858 --enable-splash use wxSplashScreen
1859 --enable-textdlg use wxTextDialog
1860 --enable-tipdlg use startup tips
1861 --enable-progressdlg use wxProgressDialog
1862 --enable-wizarddlg use wxWizard
1863 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1864 --enable-miniframe use wxMiniFrame class
1865 --enable-tooltips use wxToolTip class
1866 --enable-splines use spline drawing code
1867 --enable-mousewheel use mousewheel
1868 --enable-validators use wxValidator and derived classes
1869 --enable-busyinfo use wxBusyInfo
1870 --enable-joystick use wxJoystick
1871 --enable-metafiles use wxMetaFile (Win32 only)
1872 --enable-dragimage use wxDragImage
1873 --enable-accessibility enable accessibility support
1874 --enable-palette use wxPalette class
1875 --enable-image use wxImage class
1876 --enable-gif use gif images (GIF file format)
1877 --enable-pcx use pcx images (PCX file format)
1878 --enable-tga use tga images (TGA file format)
1879 --enable-iff use iff images (IFF file format)
1880 --enable-pnm use pnm images (PNM file format)
1881 --enable-xpm use xpm images (XPM file format)
1882 --enable-ico_cur use Windows ICO and CUR formats
1883 --enable-dccache cache temporary wxDC objects (Win32 only)
1884 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1885 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1886 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1887 --enable-wxdib use wxDIB class (Win32 only)
1888 --enable-autoidman use automatic ids management
1889 --disable-largefile omit support for large files
1890 --disable-gtktest do not try to compile and run a test GTK+ program
1891 --disable-gtktest Do not try to compile and run a test GTK program
1892 --disable-sdltest Do not try to compile and run a test SDL program
1893 --enable-omf use OMF object format (OS/2)
1894 --disable-dependency-tracking
1895 don't use dependency tracking even if the compiler
1897 --disable-precomp-headers
1898 don't use precompiled headers even if compiler can
1901 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1902 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1903 --without-subdirs don't generate makefiles for samples/demos/...
1904 --with-flavour=NAME specify a name to identify this build
1905 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1906 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1907 --with-motif use Motif/Lesstif
1908 --with-osx_carbon use Mac OS X (Carbon)
1909 --with-osx_cocoa use Mac OS X (Cocoa)
1910 --with-mac use Mac OS X (Default)
1911 --with-cocoa use Cocoa
1912 --with-wine use Wine
1913 --with-msw use MS-Windows
1914 --with-pm use OS/2 Presentation Manager
1915 --with-mgl use SciTech MGL
1916 --with-directfb use DirectFB
1917 --with-microwin use MicroWindows
1919 --with-libpng use libpng (PNG image format)
1920 --with-libjpeg use libjpeg (JPEG file format)
1921 --with-libtiff use libtiff (TIFF file format)
1922 --with-libxpm use libxpm (XPM file format)
1923 --with-libiconv use libiconv (character conversion)
1924 --with-libmspack use libmspack (CHM help files loading)
1925 --without-gtkprint don't use GTK printing support
1926 --without-gnomeprint don't use GNOME printing libraries
1927 --with-gnomevfs use GNOME VFS for associating MIME types
1928 --with-hildon use Hildon framework for Nokia 770
1929 --with-opengl use OpenGL (or Mesa)
1930 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1931 --with-sdl use SDL for audio on Unix
1932 --with-regex enable support for wxRegEx class
1933 --with-zlib use zlib for LZW compression
1934 --with-expat enable XML support using expat parser
1935 --with-macosx-sdk=PATH use an OS X SDK at PATH
1936 --with-macosx-version-min=VER build binaries which require at least this OS X version
1937 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1938 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1939 --with-x use the X Window System
1940 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1941 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1942 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1943 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1944 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1946 Some influential environment variables:
1947 CC C compiler command
1948 CFLAGS C compiler flags
1949 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1950 nonstandard directory <lib dir>
1951 LIBS libraries to pass to the linker, e.g. -l<library>
1952 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1953 you have headers in a nonstandard directory <include dir>
1955 CXX C++ compiler command
1956 CXXFLAGS C++ compiler flags
1957 PKG_CONFIG path to pkg-config utility
1959 C compiler flags for DIRECTFB, overriding pkg-config
1961 linker flags for DIRECTFB, overriding pkg-config
1962 XMKMF Path to xmkmf, Makefile generator for X Window System
1964 C compiler flags for PANGOX, overriding pkg-config
1965 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1967 C compiler flags for PANGOFT2, overriding pkg-config
1969 linker flags for PANGOFT2, overriding pkg-config
1971 C compiler flags for PANGOXFT, overriding pkg-config
1973 linker flags for PANGOXFT, overriding pkg-config
1975 C compiler flags for GTKPRINT, overriding pkg-config
1977 linker flags for GTKPRINT, overriding pkg-config
1978 LIBGNOMEPRINTUI_CFLAGS
1979 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1980 LIBGNOMEPRINTUI_LIBS
1981 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1983 C compiler flags for GNOMEVFS, overriding pkg-config
1985 linker flags for GNOMEVFS, overriding pkg-config
1987 C compiler flags for HILDON, overriding pkg-config
1988 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1990 C compiler flags for CAIRO, overriding pkg-config
1991 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1992 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1993 GST_LIBS linker flags for GST, overriding pkg-config
1995 Use these variables to override the choices made by `configure' or to help
1996 it to find libraries and programs with nonstandard names/locations.
1998 Report bugs to <wx-dev@lists.wxwidgets.org>.
2003 if test "$ac_init_help" = "recursive"; then
2004 # If there are subdirs, report their specific --help.
2005 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2006 test -d "$ac_dir" || continue
2010 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2012 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2013 # A ".." for each directory in $ac_dir_suffix.
2014 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2015 case $ac_top_builddir_sub in
2016 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2017 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2020 ac_abs_top_builddir=$ac_pwd
2021 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2022 # for backward compatibility:
2023 ac_top_builddir=$ac_top_build_prefix
2026 .) # We are building in place.
2028 ac_top_srcdir=$ac_top_builddir_sub
2029 ac_abs_top_srcdir=$ac_pwd ;;
2030 [\\/]* | ?:[\\/]* ) # Absolute name.
2031 ac_srcdir=$srcdir$ac_dir_suffix;
2032 ac_top_srcdir=$srcdir
2033 ac_abs_top_srcdir=$srcdir ;;
2035 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2036 ac_top_srcdir=$ac_top_build_prefix$srcdir
2037 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2039 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2041 cd "$ac_dir" || { ac_status=$?; continue; }
2042 # Check for guested configure.
2043 if test -f "$ac_srcdir/configure.gnu"; then
2045 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2046 elif test -f "$ac_srcdir/configure"; then
2048 $SHELL "$ac_srcdir/configure" --help=recursive
2050 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2052 cd "$ac_pwd" || { ac_status=$?; break; }
2056 test -n "$ac_init_help" && exit $ac_status
2057 if $ac_init_version; then
2059 wxWidgets configure 2.9.1
2060 generated by GNU Autoconf 2.61
2062 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2063 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2064 This configure script is free software; the Free Software Foundation
2065 gives unlimited permission to copy, distribute and modify it.
2069 cat >config.log <<_ACEOF
2070 This file contains any messages produced by compilers while
2071 running configure, to aid debugging if configure makes a mistake.
2073 It was created by wxWidgets $as_me 2.9.1, which was
2074 generated by GNU Autoconf 2.61. Invocation command line was
2086 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2087 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2088 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2089 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2090 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2092 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2093 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2095 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2096 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2097 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2098 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2099 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2100 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2101 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 echo "PATH: $as_dir"
2126 # Keep a trace of the command line.
2127 # Strip out --no-create and --no-recursion so they do not pile up.
2128 # Strip out --silent because we don't want to record it for future runs.
2129 # Also quote any args containing shell meta-characters.
2130 # Make two passes to allow for proper duplicate-argument suppression.
2134 ac_must_keep_next=false
2140 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2142 | -silent | --silent | --silen | --sile | --sil)
2145 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2148 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2150 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2151 if test $ac_must_keep_next = true; then
2152 ac_must_keep_next=false # Got value, back to normal.
2155 *=* | --config-cache | -C | -disable-* | --disable-* \
2156 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2157 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2158 | -with-* | --with-* | -without-* | --without-* | --x)
2159 case "$ac_configure_args0 " in
2160 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2163 -* ) ac_must_keep_next=true ;;
2166 ac_configure_args="$ac_configure_args '$ac_arg'"
2171 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2172 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2174 # When interrupted or exit'd, cleanup temporary files, and complete
2175 # config.log. We remove comments because anyway the quotes in there
2176 # would cause problems or look ugly.
2177 # WARNING: Use '\'' to represent an apostrophe within the trap.
2178 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2179 trap 'exit_status=$?
2180 # Save into config.log some information that might help in debugging.
2185 ## ---------------- ##
2186 ## Cache variables. ##
2187 ## ---------------- ##
2190 # The following way of writing the cache mishandles newlines in values,
2192 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2193 eval ac_val=\$$ac_var
2197 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2198 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2201 _ | IFS | as_nl) ;; #(
2202 *) $as_unset $ac_var ;;
2207 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2208 *${as_nl}ac_space=\ *)
2210 "s/'\''/'\''\\\\'\'''\''/g;
2211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2214 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2222 ## ----------------- ##
2223 ## Output variables. ##
2224 ## ----------------- ##
2227 for ac_var in $ac_subst_vars
2229 eval ac_val=\$$ac_var
2231 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2233 echo "$ac_var='\''$ac_val'\''"
2237 if test -n "$ac_subst_files"; then
2239 ## ------------------- ##
2240 ## File substitutions. ##
2241 ## ------------------- ##
2244 for ac_var in $ac_subst_files
2246 eval ac_val=\$$ac_var
2248 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2250 echo "$ac_var='\''$ac_val'\''"
2255 if test -s confdefs.h; then
2265 test "$ac_signal" != 0 &&
2266 echo "$as_me: caught signal $ac_signal"
2267 echo "$as_me: exit $exit_status"
2269 rm -f core *.core core.conftest.* &&
2270 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2273 for ac_signal in 1 2 13 15; do
2274 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2278 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2279 rm -f -r conftest* confdefs.h
2281 # Predefined preprocessor variables.
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_NAME "$PACKAGE_NAME"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_STRING "$PACKAGE_STRING"
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2308 # Let the site file select an alternate cache file if it wants to.
2309 # Prefer explicitly selected file to automatically selected ones.
2310 if test -n "$CONFIG_SITE"; then
2311 set x "$CONFIG_SITE"
2312 elif test "x$prefix" != xNONE; then
2313 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2315 set x "$ac_default_prefix/share/config.site" \
2316 "$ac_default_prefix/etc/config.site"
2321 if test -r "$ac_site_file"; then
2322 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2323 echo "$as_me: loading site script $ac_site_file" >&6;}
2324 sed 's/^/| /' "$ac_site_file" >&5
2329 if test -r "$cache_file"; then
2330 # Some versions of bash will fail to source /dev/null (special
2331 # files actually), so we avoid doing that.
2332 if test -f "$cache_file"; then
2333 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2334 echo "$as_me: loading cache $cache_file" >&6;}
2336 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2337 *) . "./$cache_file";;
2341 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2342 echo "$as_me: creating cache $cache_file" >&6;}
2346 # Check that the precious variables saved in the cache have kept the same
2348 ac_cache_corrupted=false
2349 for ac_var in $ac_precious_vars; do
2350 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2351 eval ac_new_set=\$ac_env_${ac_var}_set
2352 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2353 eval ac_new_val=\$ac_env_${ac_var}_value
2354 case $ac_old_set,$ac_new_set in
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2360 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2361 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2362 ac_cache_corrupted=: ;;
2365 if test "x$ac_old_val" != "x$ac_new_val"; then
2366 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2367 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2368 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2369 echo "$as_me: former value: $ac_old_val" >&2;}
2370 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2371 echo "$as_me: current value: $ac_new_val" >&2;}
2372 ac_cache_corrupted=:
2375 # Pass precious variables to config.status.
2376 if test "$ac_new_set" = set; then
2378 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2379 *) ac_arg=$ac_var=$ac_new_val ;;
2381 case " $ac_configure_args " in
2382 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2383 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2387 if $ac_cache_corrupted; then
2388 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2389 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2390 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2391 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2392 { (exit 1); exit 1; }; }
2420 ac_cpp='$CPP $CPPFLAGS'
2421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2430 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2431 if test -f "$ac_dir/install-sh"; then
2433 ac_install_sh="$ac_aux_dir/install-sh -c"
2435 elif test -f "$ac_dir/install.sh"; then
2437 ac_install_sh="$ac_aux_dir/install.sh -c"
2439 elif test -f "$ac_dir/shtool"; then
2441 ac_install_sh="$ac_aux_dir/shtool install -c"
2445 if test -z "$ac_aux_dir"; then
2446 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2447 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2448 { (exit 1); exit 1; }; }
2451 # These three variables are undocumented and unsupported,
2452 # and are intended to be withdrawn in a future Autoconf release.
2453 # They can cause serious problems if a builder's source tree is in a directory
2454 # whose full name contains unusual characters.
2455 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2456 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2457 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2460 # Make sure we can run config.sub.
2461 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2462 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2463 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2464 { (exit 1); exit 1; }; }
2466 { echo "$as_me:$LINENO: checking build system type" >&5
2467 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_build+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 ac_build_alias=$build_alias
2472 test "x$ac_build_alias" = x &&
2473 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2474 test "x$ac_build_alias" = x &&
2475 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2476 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2477 { (exit 1); exit 1; }; }
2478 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2479 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2480 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2481 { (exit 1); exit 1; }; }
2484 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2485 echo "${ECHO_T}$ac_cv_build" >&6; }
2486 case $ac_cv_build in
2488 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2489 echo "$as_me: error: invalid value of canonical build" >&2;}
2490 { (exit 1); exit 1; }; };;
2493 ac_save_IFS=$IFS; IFS='-'
2499 # Remember, the first character of IFS is used to create $*,
2500 # except with old shells:
2503 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2506 { echo "$as_me:$LINENO: checking host system type" >&5
2507 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2508 if test "${ac_cv_host+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 if test "x$host_alias" = x; then
2512 ac_cv_host=$ac_cv_build
2514 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2515 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2516 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2517 { (exit 1); exit 1; }; }
2521 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2522 echo "${ECHO_T}$ac_cv_host" >&6; }
2525 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2526 echo "$as_me: error: invalid value of canonical host" >&2;}
2527 { (exit 1); exit 1; }; };;
2530 ac_save_IFS=$IFS; IFS='-'
2536 # Remember, the first character of IFS is used to create $*,
2537 # except with old shells:
2540 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2544 if test "$cross_compiling" != "no"; then
2545 HOST_PREFIX="${host_alias}-"
2546 HOST_SUFFIX="-$host_alias"
2553 wx_major_version_number=2
2554 wx_minor_version_number=9
2556 wx_subrelease_number=0
2558 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2559 WX_VERSION=$WX_RELEASE.$wx_release_number
2560 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2562 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2565 wx_top_builddir="`pwd`"
2578 USE_BSD= USE_DARWIN= USE_FREEBSD=
2584 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2590 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2592 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2594 DEFAULT_wxUSE_COCOA=0
2596 DEFAULT_wxUSE_OSX_CARBON=0
2597 DEFAULT_wxUSE_OSX_COCOA=0
2599 DEFAULT_wxUSE_MICROWIN=0
2600 DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_DEFAULT_wxUSE_COCOA=0
2607 DEFAULT_DEFAULT_wxUSE_GTK=0
2608 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2609 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2610 DEFAULT_DEFAULT_wxUSE_MGL=0
2611 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2612 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2613 DEFAULT_DEFAULT_wxUSE_MSW=0
2614 DEFAULT_DEFAULT_wxUSE_PM=0
2615 DEFAULT_DEFAULT_wxUSE_X11=0
2616 DEFAULT_DEFAULT_wxUSE_DFB=0
2620 DYLIB_RPATH_INSTALL=
2621 DYLIB_RPATH_POSTLINK=
2623 DEFAULT_STD_FLAG=yes
2628 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2629 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2630 cat >>confdefs.h <<\_ACEOF
2635 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2639 cat >>confdefs.h <<\_ACEOF
2644 if test "x$TMP" = "xalpha"; then
2646 cat >>confdefs.h <<\_ACEOF
2651 DEFAULT_DEFAULT_wxUSE_GTK=1
2653 *-*-gnu* | *-*-k*bsd*-gnu )
2656 if test "x$TMP" = "xalpha"; then
2658 cat >>confdefs.h <<\_ACEOF
2663 DEFAULT_DEFAULT_wxUSE_GTK=1
2665 *-*-irix5* | *-*-irix6* )
2668 cat >>confdefs.h <<\_ACEOF
2672 cat >>confdefs.h <<\_ACEOF
2676 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 cat >>confdefs.h <<\_ACEOF
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SOLARIS__ 1
2690 cat >>confdefs.h <<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2695 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2701 cat >>confdefs.h <<\_ACEOF
2705 cat >>confdefs.h <<\_ACEOF
2709 cat >>confdefs.h <<\_ACEOF
2713 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __FREEBSD__ 1
2722 cat >>confdefs.h <<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2728 *-*-openbsd*|*-*-mirbsd*)
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __OPENBSD__ 1
2735 cat >>confdefs.h <<\_ACEOF
2739 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __NETBSD__ 1
2748 cat >>confdefs.h <<\_ACEOF
2752 DEFAULT_DEFAULT_wxUSE_GTK=1
2753 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2755 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2774 cat >>confdefs.h <<\_ACEOF
2778 cat >>confdefs.h <<\_ACEOF
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2787 cat >>confdefs.h <<\_ACEOF
2791 cat >>confdefs.h <<\_ACEOF
2795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2801 cat >>confdefs.h <<\_ACEOF
2805 cat >>confdefs.h <<\_ACEOF
2809 cat >>confdefs.h <<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __UNIXWARE__ 1
2826 *-*-cygwin* | *-*-mingw32* )
2828 DEFAULT_DEFAULT_wxUSE_MSW=1
2834 cat >>confdefs.h <<\_ACEOF
2839 DEFAULT_DEFAULT_wxUSE_MGL=1
2842 *-pc-os2_emx | *-pc-os2-emx )
2843 cat >>confdefs.h <<\_ACEOF
2848 cat >>confdefs.h <<\_ACEOF
2853 DEFAULT_DEFAULT_wxUSE_PM=1
2855 LDFLAGS="$LDFLAGS -Zcrtdll"
2856 ac_executable_extensions=".exe"
2857 export ac_executable_extensions
2861 for ac_dir in $PATH; do
2863 if test -z "$ac_TEMP_PATH"; then
2864 ac_TEMP_PATH="$ac_dir"
2866 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2869 export PATH="$ac_TEMP_PATH"
2877 cat >>confdefs.h <<\_ACEOF
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __DARWIN__ 1
2885 cat >>confdefs.h <<\_ACEOF
2886 #define TARGET_CARBON 1
2889 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2894 cat >>confdefs.h <<\_ACEOF
2901 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2902 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2903 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2904 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2906 DEFAULT_DEFAULT_wxUSE_X11=1
2907 DEFAULT_wxUSE_SHARED=no
2912 DEFAULT_wxUSE_ALL_FEATURES=yes
2914 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2915 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2917 DEFAULT_wxUSE_DMALLOC=no
2918 DEFAULT_wxUSE_LIBGNOMEVFS=no
2919 DEFAULT_wxUSE_LIBHILDON=no
2920 DEFAULT_wxUSE_LIBMSPACK=no
2921 DEFAULT_wxUSE_LIBSDL=no
2923 DEFAULT_wxUSE_ACCESSIBILITY=no
2924 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2925 DEFAULT_wxUSE_IPV6=no
2926 DEFAULT_wxUSE_GSTREAMER8=no
2928 DEFAULT_wxUSE_UNICODE_UTF8=auto
2929 DEFAULT_wxUSE_OPENGL=auto
2930 DEFAULT_wxUSE_MEDIACTRL=auto
2931 DEFAULT_wxUSE_COMPILER_TLS=auto
2933 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2935 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2937 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2939 DEFAULT_wxUSE_GTK2=yes
2941 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2947 enablestring=disable
2949 if test -z "$defaultval"; then
2950 if test x"$enablestring" = xdisable; then
2957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2958 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2959 # Check whether --enable-gui was given.
2960 if test "${enable_gui+set}" = set; then
2961 enableval=$enable_gui;
2962 if test "$enableval" = yes; then
2963 wx_cv_use_gui='wxUSE_GUI=yes'
2965 wx_cv_use_gui='wxUSE_GUI=no'
2970 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2975 eval "$wx_cv_use_gui"
2977 if test x"$enablestring" = xdisable; then
2978 if test $wxUSE_GUI = no; then
2987 { echo "$as_me:$LINENO: result: $result" >&5
2988 echo "${ECHO_T}$result" >&6; }
2993 if test -z "$defaultval"; then
2994 if test x"$enablestring" = xdisable; then
3001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3002 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3003 # Check whether --enable-monolithic was given.
3004 if test "${enable_monolithic+set}" = set; then
3005 enableval=$enable_monolithic;
3006 if test "$enableval" = yes; then
3007 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3009 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3019 eval "$wx_cv_use_monolithic"
3021 if test x"$enablestring" = xdisable; then
3022 if test $wxUSE_MONOLITHIC = no; then
3028 result=$wxUSE_MONOLITHIC
3031 { echo "$as_me:$LINENO: result: $result" >&5
3032 echo "${ECHO_T}$result" >&6; }
3037 if test -z "$defaultval"; then
3038 if test x"$enablestring" = xdisable; then
3045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3046 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3047 # Check whether --enable-plugins was given.
3048 if test "${enable_plugins+set}" = set; then
3049 enableval=$enable_plugins;
3050 if test "$enableval" = yes; then
3051 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3053 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3058 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3063 eval "$wx_cv_use_plugins"
3065 if test x"$enablestring" = xdisable; then
3066 if test $wxUSE_PLUGINS = no; then
3072 result=$wxUSE_PLUGINS
3075 { echo "$as_me:$LINENO: result: $result" >&5
3076 echo "${ECHO_T}$result" >&6; }
3080 defaultval=$wxUSE_ALL_FEATURES
3081 if test -z "$defaultval"; then
3082 if test x"$withstring" = xwithout; then
3088 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3089 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3091 # Check whether --with-subdirs was given.
3092 if test "${with_subdirs+set}" = set; then
3093 withval=$with_subdirs;
3094 if test "$withval" = yes; then
3095 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3097 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3107 eval "$wx_cv_use_subdirs"
3109 if test x"$withstring" = xwithout; then
3110 if test $wxWITH_SUBDIRS = yes; then
3116 result=$wxWITH_SUBDIRS
3119 { echo "$as_me:$LINENO: result: $result" >&5
3120 echo "${ECHO_T}$result" >&6; }
3123 # Check whether --with-flavour was given.
3124 if test "${with_flavour+set}" = set; then
3125 withval=$with_flavour; WX_FLAVOUR="$withval"
3131 if test -z "$defaultval"; then
3132 if test x"$enablestring" = xdisable; then
3139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3140 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3141 # Check whether --enable-official_build was given.
3142 if test "${enable_official_build+set}" = set; then
3143 enableval=$enable_official_build;
3144 if test "$enableval" = yes; then
3145 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3147 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3157 eval "$wx_cv_use_official_build"
3159 if test x"$enablestring" = xdisable; then
3160 if test $wxUSE_OFFICIAL_BUILD = no; then
3166 result=$wxUSE_OFFICIAL_BUILD
3169 { echo "$as_me:$LINENO: result: $result" >&5
3170 echo "${ECHO_T}$result" >&6; }
3172 # Check whether --enable-vendor was given.
3173 if test "${enable_vendor+set}" = set; then
3174 enableval=$enable_vendor; VENDOR="$enableval"
3177 if test "x$VENDOR" = "x"; then
3182 enablestring=disable
3184 if test -z "$defaultval"; then
3185 if test x"$enablestring" = xdisable; then
3192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3193 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3194 # Check whether --enable-all-features was given.
3195 if test "${enable_all_features+set}" = set; then
3196 enableval=$enable_all_features;
3197 if test "$enableval" = yes; then
3198 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3200 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3210 eval "$wx_cv_use_all_features"
3212 if test x"$enablestring" = xdisable; then
3213 if test $wxUSE_ALL_FEATURES = no; then
3219 result=$wxUSE_ALL_FEATURES
3222 { echo "$as_me:$LINENO: result: $result" >&5
3223 echo "${ECHO_T}$result" >&6; }
3226 if test "$wxUSE_ALL_FEATURES" = "no"; then
3227 DEFAULT_wxUSE_MEDIACTRL=no
3231 if test "$wxUSE_GUI" = "yes"; then
3236 if test -z "$defaultval"; then
3237 if test x"$enablestring" = xdisable; then
3244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3245 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3246 # Check whether --enable-universal was given.
3247 if test "${enable_universal+set}" = set; then
3248 enableval=$enable_universal;
3249 if test "$enableval" = yes; then
3250 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3252 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3257 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3262 eval "$wx_cv_use_universal"
3264 if test x"$enablestring" = xdisable; then
3265 if test $wxUSE_UNIVERSAL = no; then
3271 result=$wxUSE_UNIVERSAL
3274 { echo "$as_me:$LINENO: result: $result" >&5
3275 echo "${ECHO_T}$result" >&6; }
3277 if test "$wxUSE_UNIVERSAL" = "yes"; then
3279 # Check whether --with-themes was given.
3280 if test "${with_themes+set}" = set; then
3281 withval=$with_themes; wxUNIV_THEMES="$withval"
3287 # Check whether --with-gtk was given.
3288 if test "${with_gtk+set}" = set; then
3289 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3293 # Check whether --with-motif was given.
3294 if test "${with_motif+set}" = set; then
3295 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3299 # Check whether --with-osx_carbon was given.
3300 if test "${with_osx_carbon+set}" = set; then
3301 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3305 # Check whether --with-osx_cocoa was given.
3306 if test "${with_osx_cocoa+set}" = set; then
3307 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3311 # Check whether --with-mac was given.
3312 if test "${with_mac+set}" = set; then
3313 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3317 # Check whether --with-cocoa was given.
3318 if test "${with_cocoa+set}" = set; then
3319 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3323 # Check whether --with-wine was given.
3324 if test "${with_wine+set}" = set; then
3325 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3329 # Check whether --with-msw was given.
3330 if test "${with_msw+set}" = set; then
3331 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3335 # Check whether --with-pm was given.
3336 if test "${with_pm+set}" = set; then
3337 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3341 # Check whether --with-mgl was given.
3342 if test "${with_mgl+set}" = set; then
3343 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3347 # Check whether --with-directfb was given.
3348 if test "${with_directfb+set}" = set; then
3349 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3353 # Check whether --with-microwin was given.
3354 if test "${with_microwin+set}" = set; then
3355 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3359 # Check whether --with-x11 was given.
3360 if test "${with_x11+set}" = set; then
3361 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3367 if test -z "$defaultval"; then
3368 if test x"$enablestring" = xdisable; then
3375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3376 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3377 # Check whether --enable-nanox was given.
3378 if test "${enable_nanox+set}" = set; then
3379 enableval=$enable_nanox;
3380 if test "$enableval" = yes; then
3381 wx_cv_use_nanox='wxUSE_NANOX=yes'
3383 wx_cv_use_nanox='wxUSE_NANOX=no'
3388 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3393 eval "$wx_cv_use_nanox"
3395 if test x"$enablestring" = xdisable; then
3396 if test $wxUSE_NANOX = no; then
3405 { echo "$as_me:$LINENO: result: $result" >&5
3406 echo "${ECHO_T}$result" >&6; }
3409 # Check whether --enable-gtk2 was given.
3410 if test "${enable_gtk2+set}" = set; then
3411 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3417 if test -z "$defaultval"; then
3418 if test x"$enablestring" = xdisable; then
3425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3427 # Check whether --enable-gpe was given.
3428 if test "${enable_gpe+set}" = set; then
3429 enableval=$enable_gpe;
3430 if test "$enableval" = yes; then
3431 wx_cv_use_gpe='wxUSE_GPE=yes'
3433 wx_cv_use_gpe='wxUSE_GPE=no'
3438 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3443 eval "$wx_cv_use_gpe"
3445 if test x"$enablestring" = xdisable; then
3446 if test $wxUSE_GPE = no; then
3455 { echo "$as_me:$LINENO: result: $result" >&5
3456 echo "${ECHO_T}$result" >&6; }
3460 { echo "$as_me:$LINENO: checking for toolkit" >&5
3461 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3465 # In Wine, we need to default to MSW, not GTK or MOTIF
3466 if test "$wxUSE_WINE" = "yes"; then
3467 DEFAULT_DEFAULT_wxUSE_GTK=0
3468 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3469 DEFAULT_DEFAULT_wxUSE_MSW=1
3476 if test "$wxUSE_GUI" = "yes"; then
3478 if test "$USE_BEOS" = 1; then
3479 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3480 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3481 { (exit 1); exit 1; }; }
3484 if test "$TOOLKIT_GIVEN" = 1; then
3485 for toolkit in $ALL_TOOLKITS; do
3487 eval "value=\$${var}"
3488 if test "x$value" = "xno"; then
3490 elif test "x$value" != "x"; then
3494 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3495 eval "wx${toolkit}_VERSION=$value"
3499 for toolkit in $ALL_TOOLKITS; do
3500 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3501 eval "wxUSE_$toolkit=\$${var}"
3505 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3506 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3507 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3510 *-pc-os2_emx | *-pc-os2-emx )
3511 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3514 case "$NUM_TOOLKITS" in
3518 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3519 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3520 { (exit 1); exit 1; }; }
3523 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3524 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3525 { (exit 1); exit 1; }; }
3528 # to be removed when --disable-gtk2 isn't needed
3529 if test "x$wxUSE_GTK2" = "xyes"; then
3531 elif test "x$wxUSE_GTK2" = "xno"; then
3535 for toolkit in $ALL_TOOLKITS; do
3537 eval "value=\$${var}"
3538 if test "$value" = 1; then
3539 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3540 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3541 echo "${ECHO_T}$toolkit_echo" >&6; }
3545 if test "x$host_alias" != "x"; then
3546 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3547 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3549 { echo "$as_me:$LINENO: result: base only" >&5
3550 echo "${ECHO_T}base only" >&6; }
3555 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3561 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3562 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3564 # Check whether --with-libpng was given.
3565 if test "${with_libpng+set}" = set; then
3566 withval=$with_libpng;
3567 if test "$withval" = yes; then
3568 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3569 elif test "$withval" = no; then
3570 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3571 elif test "$withval" = sys; then
3572 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3573 elif test "$withval" = builtin; then
3574 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3576 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3577 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3578 { (exit 1); exit 1; }; }
3583 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3588 eval "$wx_cv_use_libpng"
3590 if test "$wxUSE_LIBPNG" = yes; then
3591 { echo "$as_me:$LINENO: result: yes" >&5
3592 echo "${ECHO_T}yes" >&6; }
3593 elif test "$wxUSE_LIBPNG" = no; then
3594 { echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6; }
3596 elif test "$wxUSE_LIBPNG" = sys; then
3597 { echo "$as_me:$LINENO: result: system version" >&5
3598 echo "${ECHO_T}system version" >&6; }
3599 elif test "$wxUSE_LIBPNG" = builtin; then
3600 { echo "$as_me:$LINENO: result: builtin version" >&5
3601 echo "${ECHO_T}builtin version" >&6; }
3603 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3604 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3605 { (exit 1); exit 1; }; }
3609 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3610 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3612 # Check whether --with-libjpeg was given.
3613 if test "${with_libjpeg+set}" = set; then
3614 withval=$with_libjpeg;
3615 if test "$withval" = yes; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3617 elif test "$withval" = no; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3619 elif test "$withval" = sys; then
3620 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3621 elif test "$withval" = builtin; then
3622 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3624 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3625 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3626 { (exit 1); exit 1; }; }
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3636 eval "$wx_cv_use_libjpeg"
3638 if test "$wxUSE_LIBJPEG" = yes; then
3639 { echo "$as_me:$LINENO: result: yes" >&5
3640 echo "${ECHO_T}yes" >&6; }
3641 elif test "$wxUSE_LIBJPEG" = no; then
3642 { echo "$as_me:$LINENO: result: no" >&5
3643 echo "${ECHO_T}no" >&6; }
3644 elif test "$wxUSE_LIBJPEG" = sys; then
3645 { echo "$as_me:$LINENO: result: system version" >&5
3646 echo "${ECHO_T}system version" >&6; }
3647 elif test "$wxUSE_LIBJPEG" = builtin; then
3648 { echo "$as_me:$LINENO: result: builtin version" >&5
3649 echo "${ECHO_T}builtin version" >&6; }
3651 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3652 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3653 { (exit 1); exit 1; }; }
3657 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3658 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3660 # Check whether --with-libtiff was given.
3661 if test "${with_libtiff+set}" = set; then
3662 withval=$with_libtiff;
3663 if test "$withval" = yes; then
3664 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3665 elif test "$withval" = no; then
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3667 elif test "$withval" = sys; then
3668 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3669 elif test "$withval" = builtin; then
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3684 eval "$wx_cv_use_libtiff"
3686 if test "$wxUSE_LIBTIFF" = yes; then
3687 { echo "$as_me:$LINENO: result: yes" >&5
3688 echo "${ECHO_T}yes" >&6; }
3689 elif test "$wxUSE_LIBTIFF" = no; then
3690 { echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6; }
3692 elif test "$wxUSE_LIBTIFF" = sys; then
3693 { echo "$as_me:$LINENO: result: system version" >&5
3694 echo "${ECHO_T}system version" >&6; }
3695 elif test "$wxUSE_LIBTIFF" = builtin; then
3696 { echo "$as_me:$LINENO: result: builtin version" >&5
3697 echo "${ECHO_T}builtin version" >&6; }
3699 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3700 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3701 { (exit 1); exit 1; }; }
3705 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3706 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3708 # Check whether --with-libxpm was given.
3709 if test "${with_libxpm+set}" = set; then
3710 withval=$with_libxpm;
3711 if test "$withval" = yes; then
3712 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3713 elif test "$withval" = no; then
3714 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3715 elif test "$withval" = sys; then
3716 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3717 elif test "$withval" = builtin; then
3718 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3732 eval "$wx_cv_use_libxpm"
3734 if test "$wxUSE_LIBXPM" = yes; then
3735 { echo "$as_me:$LINENO: result: yes" >&5
3736 echo "${ECHO_T}yes" >&6; }
3737 elif test "$wxUSE_LIBXPM" = no; then
3738 { echo "$as_me:$LINENO: result: no" >&5
3739 echo "${ECHO_T}no" >&6; }
3740 elif test "$wxUSE_LIBXPM" = sys; then
3741 { echo "$as_me:$LINENO: result: system version" >&5
3742 echo "${ECHO_T}system version" >&6; }
3743 elif test "$wxUSE_LIBXPM" = builtin; then
3744 { echo "$as_me:$LINENO: result: builtin version" >&5
3745 echo "${ECHO_T}builtin version" >&6; }
3747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3748 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3749 { (exit 1); exit 1; }; }
3754 defaultval=$wxUSE_ALL_FEATURES
3755 if test -z "$defaultval"; then
3756 if test x"$withstring" = xwithout; then
3762 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3763 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3765 # Check whether --with-libiconv was given.
3766 if test "${with_libiconv+set}" = set; then
3767 withval=$with_libiconv;
3768 if test "$withval" = yes; then
3769 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3771 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3776 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3781 eval "$wx_cv_use_libiconv"
3783 if test x"$withstring" = xwithout; then
3784 if test $wxUSE_LIBICONV = yes; then
3790 result=$wxUSE_LIBICONV
3793 { echo "$as_me:$LINENO: result: $result" >&5
3794 echo "${ECHO_T}$result" >&6; }
3798 defaultval=$wxUSE_ALL_FEATURES
3799 if test -z "$defaultval"; then
3800 if test x"$withstring" = xwithout; then
3806 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3807 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3809 # Check whether --with-libmspack was given.
3810 if test "${with_libmspack+set}" = set; then
3811 withval=$with_libmspack;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3815 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3820 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3825 eval "$wx_cv_use_libmspack"
3827 if test x"$withstring" = xwithout; then
3828 if test $wxUSE_LIBMSPACK = yes; then
3834 result=$wxUSE_LIBMSPACK
3837 { echo "$as_me:$LINENO: result: $result" >&5
3838 echo "${ECHO_T}$result" >&6; }
3842 defaultval=$wxUSE_ALL_FEATURES
3843 if test -z "$defaultval"; then
3844 if test x"$withstring" = xwithout; then
3850 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3851 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3853 # Check whether --with-gtkprint was given.
3854 if test "${with_gtkprint+set}" = set; then
3855 withval=$with_gtkprint;
3856 if test "$withval" = yes; then
3857 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3859 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3864 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3869 eval "$wx_cv_use_gtkprint"
3871 if test x"$withstring" = xwithout; then
3872 if test $wxUSE_GTKPRINT = yes; then
3878 result=$wxUSE_GTKPRINT
3881 { echo "$as_me:$LINENO: result: $result" >&5
3882 echo "${ECHO_T}$result" >&6; }
3886 defaultval=$wxUSE_ALL_FEATURES
3887 if test -z "$defaultval"; then
3888 if test x"$withstring" = xwithout; then
3894 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3895 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3897 # Check whether --with-gnomeprint was given.
3898 if test "${with_gnomeprint+set}" = set; then
3899 withval=$with_gnomeprint;
3900 if test "$withval" = yes; then
3901 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3903 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3908 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3913 eval "$wx_cv_use_gnomeprint"
3915 if test x"$withstring" = xwithout; then
3916 if test $wxUSE_LIBGNOMEPRINT = yes; then
3922 result=$wxUSE_LIBGNOMEPRINT
3925 { echo "$as_me:$LINENO: result: $result" >&5
3926 echo "${ECHO_T}$result" >&6; }
3930 defaultval=$wxUSE_ALL_FEATURES
3931 if test -z "$defaultval"; then
3932 if test x"$withstring" = xwithout; then
3938 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3939 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3941 # Check whether --with-gnomevfs was given.
3942 if test "${with_gnomevfs+set}" = set; then
3943 withval=$with_gnomevfs;
3944 if test "$withval" = yes; then
3945 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3947 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3952 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3957 eval "$wx_cv_use_gnomevfs"
3959 if test x"$withstring" = xwithout; then
3960 if test $wxUSE_LIBGNOMEVFS = yes; then
3966 result=$wxUSE_LIBGNOMEVFS
3969 { echo "$as_me:$LINENO: result: $result" >&5
3970 echo "${ECHO_T}$result" >&6; }
3974 defaultval=$wxUSE_ALL_FEATURES
3975 if test -z "$defaultval"; then
3976 if test x"$withstring" = xwithout; then
3982 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3983 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3985 # Check whether --with-hildon was given.
3986 if test "${with_hildon+set}" = set; then
3987 withval=$with_hildon;
3988 if test "$withval" = yes; then
3989 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3991 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3996 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4001 eval "$wx_cv_use_hildon"
4003 if test x"$withstring" = xwithout; then
4004 if test $wxUSE_LIBHILDON = yes; then
4010 result=$wxUSE_LIBHILDON
4013 { echo "$as_me:$LINENO: result: $result" >&5
4014 echo "${ECHO_T}$result" >&6; }
4018 defaultval=$wxUSE_ALL_FEATURES
4019 if test -z "$defaultval"; then
4020 if test x"$withstring" = xwithout; then
4026 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4027 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4029 # Check whether --with-opengl was given.
4030 if test "${with_opengl+set}" = set; then
4031 withval=$with_opengl;
4032 if test "$withval" = yes; then
4033 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4035 wx_cv_use_opengl='wxUSE_OPENGL=no'
4040 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4045 eval "$wx_cv_use_opengl"
4047 if test x"$withstring" = xwithout; then
4048 if test $wxUSE_OPENGL = yes; then
4054 result=$wxUSE_OPENGL
4057 { echo "$as_me:$LINENO: result: $result" >&5
4058 echo "${ECHO_T}$result" >&6; }
4065 defaultval=$wxUSE_ALL_FEATURES
4066 if test -z "$defaultval"; then
4067 if test x"$withstring" = xwithout; then
4073 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4074 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4076 # Check whether --with-dmalloc was given.
4077 if test "${with_dmalloc+set}" = set; then
4078 withval=$with_dmalloc;
4079 if test "$withval" = yes; then
4080 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4082 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4087 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4092 eval "$wx_cv_use_dmalloc"
4094 if test x"$withstring" = xwithout; then
4095 if test $wxUSE_DMALLOC = yes; then
4101 result=$wxUSE_DMALLOC
4104 { echo "$as_me:$LINENO: result: $result" >&5
4105 echo "${ECHO_T}$result" >&6; }
4109 defaultval=$wxUSE_ALL_FEATURES
4110 if test -z "$defaultval"; then
4111 if test x"$withstring" = xwithout; then
4117 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4118 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4120 # Check whether --with-sdl was given.
4121 if test "${with_sdl+set}" = set; then
4123 if test "$withval" = yes; then
4124 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4126 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4131 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4136 eval "$wx_cv_use_sdl"
4138 if test x"$withstring" = xwithout; then
4139 if test $wxUSE_LIBSDL = yes; then
4145 result=$wxUSE_LIBSDL
4148 { echo "$as_me:$LINENO: result: $result" >&5
4149 echo "${ECHO_T}$result" >&6; }
4152 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4153 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4155 # Check whether --with-regex was given.
4156 if test "${with_regex+set}" = set; then
4157 withval=$with_regex;
4158 if test "$withval" = yes; then
4159 wx_cv_use_regex='wxUSE_REGEX=yes'
4160 elif test "$withval" = no; then
4161 wx_cv_use_regex='wxUSE_REGEX=no'
4162 elif test "$withval" = sys; then
4163 wx_cv_use_regex='wxUSE_REGEX=sys'
4164 elif test "$withval" = builtin; then
4165 wx_cv_use_regex='wxUSE_REGEX=builtin'
4167 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4168 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4169 { (exit 1); exit 1; }; }
4174 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4179 eval "$wx_cv_use_regex"
4181 if test "$wxUSE_REGEX" = yes; then
4182 { echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6; }
4184 elif test "$wxUSE_REGEX" = no; then
4185 { echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6; }
4187 elif test "$wxUSE_REGEX" = sys; then
4188 { echo "$as_me:$LINENO: result: system version" >&5
4189 echo "${ECHO_T}system version" >&6; }
4190 elif test "$wxUSE_REGEX" = builtin; then
4191 { echo "$as_me:$LINENO: result: builtin version" >&5
4192 echo "${ECHO_T}builtin version" >&6; }
4194 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4195 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4196 { (exit 1); exit 1; }; }
4200 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4201 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4203 # Check whether --with-zlib was given.
4204 if test "${with_zlib+set}" = set; then
4206 if test "$withval" = yes; then
4207 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4208 elif test "$withval" = no; then
4209 wx_cv_use_zlib='wxUSE_ZLIB=no'
4210 elif test "$withval" = sys; then
4211 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4212 elif test "$withval" = builtin; then
4213 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4215 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4216 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4217 { (exit 1); exit 1; }; }
4222 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4227 eval "$wx_cv_use_zlib"
4229 if test "$wxUSE_ZLIB" = yes; then
4230 { echo "$as_me:$LINENO: result: yes" >&5
4231 echo "${ECHO_T}yes" >&6; }
4232 elif test "$wxUSE_ZLIB" = no; then
4233 { echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6; }
4235 elif test "$wxUSE_ZLIB" = sys; then
4236 { echo "$as_me:$LINENO: result: system version" >&5
4237 echo "${ECHO_T}system version" >&6; }
4238 elif test "$wxUSE_ZLIB" = builtin; then
4239 { echo "$as_me:$LINENO: result: builtin version" >&5
4240 echo "${ECHO_T}builtin version" >&6; }
4242 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4243 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4244 { (exit 1); exit 1; }; }
4248 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4249 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4251 # Check whether --with-expat was given.
4252 if test "${with_expat+set}" = set; then
4253 withval=$with_expat;
4254 if test "$withval" = yes; then
4255 wx_cv_use_expat='wxUSE_EXPAT=yes'
4256 elif test "$withval" = no; then
4257 wx_cv_use_expat='wxUSE_EXPAT=no'
4258 elif test "$withval" = sys; then
4259 wx_cv_use_expat='wxUSE_EXPAT=sys'
4260 elif test "$withval" = builtin; then
4261 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4263 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4264 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4265 { (exit 1); exit 1; }; }
4270 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4275 eval "$wx_cv_use_expat"
4277 if test "$wxUSE_EXPAT" = yes; then
4278 { echo "$as_me:$LINENO: result: yes" >&5
4279 echo "${ECHO_T}yes" >&6; }
4280 elif test "$wxUSE_EXPAT" = no; then
4281 { echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6; }
4283 elif test "$wxUSE_EXPAT" = sys; then
4284 { echo "$as_me:$LINENO: result: system version" >&5
4285 echo "${ECHO_T}system version" >&6; }
4286 elif test "$wxUSE_EXPAT" = builtin; then
4287 { echo "$as_me:$LINENO: result: builtin version" >&5
4288 echo "${ECHO_T}builtin version" >&6; }
4290 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4291 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4292 { (exit 1); exit 1; }; }
4296 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4297 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4299 # Check whether --with-macosx-sdk was given.
4300 if test "${with_macosx_sdk+set}" = set; then
4301 withval=$with_macosx_sdk;
4302 wxUSE_MACOSX_SDK=$withval
4303 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4307 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4308 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4310 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4311 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4313 # Check whether --with-macosx-version-min was given.
4314 if test "${with_macosx_version_min+set}" = set; then
4315 withval=$with_macosx_version_min;
4316 wxUSE_MACOSX_VERSION_MIN=$withval
4317 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4321 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4322 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4325 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4326 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4327 # Check whether --enable-debug was given.
4328 if test "${enable_debug+set}" = set; then
4329 enableval=$enable_debug;
4330 if test "$enableval" = yes; then
4332 elif test "$enableval" = no; then
4334 elif test "$enableval" = max; then
4336 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4338 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4339 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4340 { (exit 1); exit 1; }; }
4349 case "$wxUSE_DEBUG" in
4351 DEFAULT_wxUSE_DEBUG_FLAG=yes
4352 DEFAULT_wxUSE_DEBUG_INFO=yes
4354 DEFAULT_wxUSE_OPTIMISE=no
4358 DEFAULT_wxUSE_DEBUG_FLAG=no
4359 DEFAULT_wxUSE_DEBUG_INFO=no
4363 DEFAULT_wxUSE_DEBUG_FLAG=yes
4364 DEFAULT_wxUSE_DEBUG_INFO=no
4369 enablestring=disable
4371 if test -z "$defaultval"; then
4372 if test x"$enablestring" = xdisable; then
4379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4380 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4381 # Check whether --enable-debug_flag was given.
4382 if test "${enable_debug_flag+set}" = set; then
4383 enableval=$enable_debug_flag;
4384 if test "$enableval" = yes; then
4385 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4387 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4392 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4397 eval "$wx_cv_use_debug_flag"
4399 if test x"$enablestring" = xdisable; then
4400 if test $wxUSE_DEBUG_FLAG = no; then
4406 result=$wxUSE_DEBUG_FLAG
4409 { echo "$as_me:$LINENO: result: $result" >&5
4410 echo "${ECHO_T}$result" >&6; }
4415 if test -z "$defaultval"; then
4416 if test x"$enablestring" = xdisable; then
4423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4425 # Check whether --enable-debug_info was given.
4426 if test "${enable_debug_info+set}" = set; then
4427 enableval=$enable_debug_info;
4428 if test "$enableval" = yes; then
4429 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4431 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4436 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4441 eval "$wx_cv_use_debug_info"
4443 if test x"$enablestring" = xdisable; then
4444 if test $wxUSE_DEBUG_INFO = no; then
4450 result=$wxUSE_DEBUG_INFO
4453 { echo "$as_me:$LINENO: result: $result" >&5
4454 echo "${ECHO_T}$result" >&6; }
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4471 # Check whether --enable-debug_gdb was given.
4472 if test "${enable_debug_gdb+set}" = set; then
4473 enableval=$enable_debug_gdb;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4477 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4482 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4487 eval "$wx_cv_use_debug_gdb"
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_DEBUG_GDB = no; then
4496 result=$wxUSE_DEBUG_GDB
4499 { echo "$as_me:$LINENO: result: $result" >&5
4500 echo "${ECHO_T}$result" >&6; }
4505 if test -z "$defaultval"; then
4506 if test x"$enablestring" = xdisable; then
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4515 # Check whether --enable-debug_cntxt was given.
4516 if test "${enable_debug_cntxt+set}" = set; then
4517 enableval=$enable_debug_cntxt;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4521 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4526 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4531 eval "$wx_cv_use_debug_cntxt"
4533 if test x"$enablestring" = xdisable; then
4534 if test $wxUSE_DEBUG_CONTEXT = no; then
4540 result=$wxUSE_DEBUG_CONTEXT
4543 { echo "$as_me:$LINENO: result: $result" >&5
4544 echo "${ECHO_T}$result" >&6; }
4549 if test -z "$defaultval"; then
4550 if test x"$enablestring" = xdisable; then
4557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4559 # Check whether --enable-mem_tracing was given.
4560 if test "${enable_mem_tracing+set}" = set; then
4561 enableval=$enable_mem_tracing;
4562 if test "$enableval" = yes; then
4563 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4565 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4570 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4575 eval "$wx_cv_use_mem_tracing"
4577 if test x"$enablestring" = xdisable; then
4578 if test $wxUSE_MEM_TRACING = no; then
4584 result=$wxUSE_MEM_TRACING
4587 { echo "$as_me:$LINENO: result: $result" >&5
4588 echo "${ECHO_T}$result" >&6; }
4593 enablestring=disable
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4605 # Check whether --enable-shared was given.
4606 if test "${enable_shared+set}" = set; then
4607 enableval=$enable_shared;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_shared='wxUSE_SHARED=yes'
4611 wx_cv_use_shared='wxUSE_SHARED=no'
4616 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4621 eval "$wx_cv_use_shared"
4623 if test x"$enablestring" = xdisable; then
4624 if test $wxUSE_SHARED = no; then
4630 result=$wxUSE_SHARED
4633 { echo "$as_me:$LINENO: result: $result" >&5
4634 echo "${ECHO_T}$result" >&6; }
4639 if test -z "$defaultval"; then
4640 if test x"$enablestring" = xdisable; then
4647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4649 # Check whether --enable-stl was given.
4650 if test "${enable_stl+set}" = set; then
4651 enableval=$enable_stl;
4652 if test "$enableval" = yes; then
4653 wx_cv_use_stl='wxUSE_STL=yes'
4655 wx_cv_use_stl='wxUSE_STL=no'
4660 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4665 eval "$wx_cv_use_stl"
4667 if test x"$enablestring" = xdisable; then
4668 if test $wxUSE_STL = no; then
4677 { echo "$as_me:$LINENO: result: $result" >&5
4678 echo "${ECHO_T}$result" >&6; }
4683 if test -z "$defaultval"; then
4684 if test x"$enablestring" = xdisable; then
4691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4692 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4693 # Check whether --enable-std_iostreams was given.
4694 if test "${enable_std_iostreams+set}" = set; then
4695 enableval=$enable_std_iostreams;
4696 if test "$enableval" = yes; then
4697 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4699 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4704 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4709 eval "$wx_cv_use_std_iostreams"
4711 if test x"$enablestring" = xdisable; then
4712 if test $wxUSE_STD_IOSTREAM = no; then
4718 result=$wxUSE_STD_IOSTREAM
4721 { echo "$as_me:$LINENO: result: $result" >&5
4722 echo "${ECHO_T}$result" >&6; }
4727 if test -z "$defaultval"; then
4728 if test x"$enablestring" = xdisable; then
4735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4737 # Check whether --enable-std_string was given.
4738 if test "${enable_std_string+set}" = set; then
4739 enableval=$enable_std_string;
4740 if test "$enableval" = yes; then
4741 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4743 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4748 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4753 eval "$wx_cv_use_std_string"
4755 if test x"$enablestring" = xdisable; then
4756 if test $wxUSE_STD_STRING = no; then
4762 result=$wxUSE_STD_STRING
4765 { echo "$as_me:$LINENO: result: $result" >&5
4766 echo "${ECHO_T}$result" >&6; }
4769 enablestring=disable
4771 if test -z "$defaultval"; then
4772 if test x"$enablestring" = xdisable; then
4779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4781 # Check whether --enable-unicode was given.
4782 if test "${enable_unicode+set}" = set; then
4783 enableval=$enable_unicode;
4784 if test "$enableval" = yes; then
4785 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4787 wx_cv_use_unicode='wxUSE_UNICODE=no'
4792 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4797 eval "$wx_cv_use_unicode"
4799 if test x"$enablestring" = xdisable; then
4800 if test $wxUSE_UNICODE = no; then
4806 result=$wxUSE_UNICODE
4809 { echo "$as_me:$LINENO: result: $result" >&5
4810 echo "${ECHO_T}$result" >&6; }
4815 if test -z "$defaultval"; then
4816 if test x"$enablestring" = xdisable; then
4823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4824 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4825 # Check whether --enable-mslu was given.
4826 if test "${enable_mslu+set}" = set; then
4827 enableval=$enable_mslu;
4828 if test "$enableval" = yes; then
4829 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4831 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4836 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4841 eval "$wx_cv_use_mslu"
4843 if test x"$enablestring" = xdisable; then
4844 if test $wxUSE_UNICODE_MSLU = no; then
4850 result=$wxUSE_UNICODE_MSLU
4853 { echo "$as_me:$LINENO: result: $result" >&5
4854 echo "${ECHO_T}$result" >&6; }
4858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4860 # Check whether --enable-utf8 was given.
4861 if test "${enable_utf8+set}" = set; then
4862 enableval=$enable_utf8;
4863 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4867 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4872 eval "$wx_cv_use_utf8"
4874 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4875 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4880 if test -z "$defaultval"; then
4881 if test x"$enablestring" = xdisable; then
4888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4890 # Check whether --enable-utf8only was given.
4891 if test "${enable_utf8only+set}" = set; then
4892 enableval=$enable_utf8only;
4893 if test "$enableval" = yes; then
4894 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4896 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4901 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4906 eval "$wx_cv_use_utf8only"
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4915 result=$wxUSE_UNICODE_UTF8_LOCALE
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4924 if test -z "$defaultval"; then
4925 if test x"$enablestring" = xdisable; then
4932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4934 # Check whether --enable-extended_rtti was given.
4935 if test "${enable_extended_rtti+set}" = set; then
4936 enableval=$enable_extended_rtti;
4937 if test "$enableval" = yes; then
4938 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4940 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4945 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4950 eval "$wx_cv_use_extended_rtti"
4952 if test x"$enablestring" = xdisable; then
4953 if test $wxUSE_EXTENDED_RTTI = no; then
4959 result=$wxUSE_EXTENDED_RTTI
4962 { echo "$as_me:$LINENO: result: $result" >&5
4963 echo "${ECHO_T}$result" >&6; }
4965 if test "$USE_OS2" = 1; then
4966 DEFAULT_wxUSE_OMF=no
4970 if test -z "$defaultval"; then
4971 if test x"$enablestring" = xdisable; then
4978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4980 # Check whether --enable-omf was given.
4981 if test "${enable_omf+set}" = set; then
4982 enableval=$enable_omf;
4983 if test "$enableval" = yes; then
4984 wx_cv_use_omf='wxUSE_OMF=yes'
4986 wx_cv_use_omf='wxUSE_OMF=no'
4991 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4996 eval "$wx_cv_use_omf"
4998 if test x"$enablestring" = xdisable; then
4999 if test $wxUSE_OMF = no; then
5008 { echo "$as_me:$LINENO: result: $result" >&5
5009 echo "${ECHO_T}$result" >&6; }
5014 enablestring=disable
5016 if test -z "$defaultval"; then
5017 if test x"$enablestring" = xdisable; then
5024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5026 # Check whether --enable-optimise was given.
5027 if test "${enable_optimise+set}" = set; then
5028 enableval=$enable_optimise;
5029 if test "$enableval" = yes; then
5030 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5032 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5037 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5042 eval "$wx_cv_use_optimise"
5044 if test x"$enablestring" = xdisable; then
5045 if test $wxUSE_OPTIMISE = no; then
5051 result=$wxUSE_OPTIMISE
5054 { echo "$as_me:$LINENO: result: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5071 # Check whether --enable-profile was given.
5072 if test "${enable_profile+set}" = set; then
5073 enableval=$enable_profile;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_profile='wxUSE_PROFILE=yes'
5077 wx_cv_use_profile='wxUSE_PROFILE=no'
5082 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5087 eval "$wx_cv_use_profile"
5089 if test x"$enablestring" = xdisable; then
5090 if test $wxUSE_PROFILE = no; then
5096 result=$wxUSE_PROFILE
5099 { echo "$as_me:$LINENO: result: $result" >&5
5100 echo "${ECHO_T}$result" >&6; }
5105 if test -z "$defaultval"; then
5106 if test x"$enablestring" = xdisable; then
5113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5115 # Check whether --enable-no_rtti was given.
5116 if test "${enable_no_rtti+set}" = set; then
5117 enableval=$enable_no_rtti;
5118 if test "$enableval" = yes; then
5119 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5121 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5126 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5131 eval "$wx_cv_use_no_rtti"
5133 if test x"$enablestring" = xdisable; then
5134 if test $wxUSE_NO_RTTI = no; then
5140 result=$wxUSE_NO_RTTI
5143 { echo "$as_me:$LINENO: result: $result" >&5
5144 echo "${ECHO_T}$result" >&6; }
5149 if test -z "$defaultval"; then
5150 if test x"$enablestring" = xdisable; then
5157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5158 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5159 # Check whether --enable-no_exceptions was given.
5160 if test "${enable_no_exceptions+set}" = set; then
5161 enableval=$enable_no_exceptions;
5162 if test "$enableval" = yes; then
5163 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5165 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5170 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5175 eval "$wx_cv_use_no_exceptions"
5177 if test x"$enablestring" = xdisable; then
5178 if test $wxUSE_NO_EXCEPTIONS = no; then
5184 result=$wxUSE_NO_EXCEPTIONS
5187 { echo "$as_me:$LINENO: result: $result" >&5
5188 echo "${ECHO_T}$result" >&6; }
5193 if test -z "$defaultval"; then
5194 if test x"$enablestring" = xdisable; then
5201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5202 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5203 # Check whether --enable-permissive was given.
5204 if test "${enable_permissive+set}" = set; then
5205 enableval=$enable_permissive;
5206 if test "$enableval" = yes; then
5207 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5209 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5214 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5219 eval "$wx_cv_use_permissive"
5221 if test x"$enablestring" = xdisable; then
5222 if test $wxUSE_PERMISSIVE = no; then
5228 result=$wxUSE_PERMISSIVE
5231 { echo "$as_me:$LINENO: result: $result" >&5
5232 echo "${ECHO_T}$result" >&6; }
5237 if test -z "$defaultval"; then
5238 if test x"$enablestring" = xdisable; then
5245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5247 # Check whether --enable-no_deps was given.
5248 if test "${enable_no_deps+set}" = set; then
5249 enableval=$enable_no_deps;
5250 if test "$enableval" = yes; then
5251 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5253 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5258 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5263 eval "$wx_cv_use_no_deps"
5265 if test x"$enablestring" = xdisable; then
5266 if test $wxUSE_NO_DEPS = no; then
5272 result=$wxUSE_NO_DEPS
5275 { echo "$as_me:$LINENO: result: $result" >&5
5276 echo "${ECHO_T}$result" >&6; }
5279 enablestring=disable
5281 if test -z "$defaultval"; then
5282 if test x"$enablestring" = xdisable; then
5289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5290 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5291 # Check whether --enable-vararg_macros was given.
5292 if test "${enable_vararg_macros+set}" = set; then
5293 enableval=$enable_vararg_macros;
5294 if test "$enableval" = yes; then
5295 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5297 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5302 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5307 eval "$wx_cv_use_vararg_macros"
5309 if test x"$enablestring" = xdisable; then
5310 if test $wxUSE_VARARG_MACROS = no; then
5316 result=$wxUSE_VARARG_MACROS
5319 { echo "$as_me:$LINENO: result: $result" >&5
5320 echo "${ECHO_T}$result" >&6; }
5324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5325 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5326 # Check whether --enable-universal_binary was given.
5327 if test "${enable_universal_binary+set}" = set; then
5328 enableval=$enable_universal_binary;
5329 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5333 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5338 eval "$wx_cv_use_universal_binary"
5340 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5341 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5357 # Check whether --enable-compat26 was given.
5358 if test "${enable_compat26+set}" = set; then
5359 enableval=$enable_compat26;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5363 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5368 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5373 eval "$wx_cv_use_compat26"
5375 if test x"$enablestring" = xdisable; then
5376 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5382 result=$WXWIN_COMPATIBILITY_2_6
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5389 enablestring=disable
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5401 # Check whether --enable-compat28 was given.
5402 if test "${enable_compat28+set}" = set; then
5403 enableval=$enable_compat28;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5407 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5412 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5417 eval "$wx_cv_use_compat28"
5419 if test x"$enablestring" = xdisable; then
5420 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5426 result=$WXWIN_COMPATIBILITY_2_8
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5434 enablestring=disable
5436 if test -z "$defaultval"; then
5437 if test x"$enablestring" = xdisable; then
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5446 # Check whether --enable-rpath was given.
5447 if test "${enable_rpath+set}" = set; then
5448 enableval=$enable_rpath;
5449 if test "$enableval" = yes; then
5450 wx_cv_use_rpath='wxUSE_RPATH=yes'
5452 wx_cv_use_rpath='wxUSE_RPATH=no'
5457 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5462 eval "$wx_cv_use_rpath"
5464 if test x"$enablestring" = xdisable; then
5465 if test $wxUSE_RPATH = no; then
5474 { echo "$as_me:$LINENO: result: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5491 # Check whether --enable-objc_uniquifying was given.
5492 if test "${enable_objc_uniquifying+set}" = set; then
5493 enableval=$enable_objc_uniquifying;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5497 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5502 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5507 eval "$wx_cv_use_objc_uniquifying"
5509 if test x"$enablestring" = xdisable; then
5510 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5516 result=$wxUSE_OBJC_UNIQUIFYING
5519 { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5524 enablestring=disable
5526 if test -z "$defaultval"; then
5527 if test x"$enablestring" = xdisable; then
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5536 # Check whether --enable-visibility was given.
5537 if test "${enable_visibility+set}" = set; then
5538 enableval=$enable_visibility;
5539 if test "$enableval" = yes; then
5540 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5542 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5547 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5552 eval "$wx_cv_use_visibility"
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_VISIBILITY = no; then
5561 result=$wxUSE_VISIBILITY
5564 { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5568 enablestring=disable
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5580 # Check whether --enable-tls was given.
5581 if test "${enable_tls+set}" = set; then
5582 enableval=$enable_tls;
5583 if test "$enableval" = yes; then
5584 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5586 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5591 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5596 eval "$wx_cv_use_tls"
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_COMPILER_TLS = no; then
5605 result=$wxUSE_COMPILER_TLS
5608 { echo "$as_me:$LINENO: result: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5615 defaultval=$wxUSE_ALL_FEATURES
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5626 # Check whether --enable-intl was given.
5627 if test "${enable_intl+set}" = set; then
5628 enableval=$enable_intl;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_intl='wxUSE_INTL=yes'
5632 wx_cv_use_intl='wxUSE_INTL=no'
5637 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5642 eval "$wx_cv_use_intl"
5644 if test x"$enablestring" = xdisable; then
5645 if test $wxUSE_INTL = no; then
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5659 defaultval=$wxUSE_ALL_FEATURES
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5670 # Check whether --enable-xlocale was given.
5671 if test "${enable_xlocale+set}" = set; then
5672 enableval=$enable_xlocale;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5676 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5681 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5686 eval "$wx_cv_use_xlocale"
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_XLOCALE = no; then
5695 result=$wxUSE_XLOCALE
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5703 defaultval=$wxUSE_ALL_FEATURES
5704 if test -z "$defaultval"; then
5705 if test x"$enablestring" = xdisable; then
5712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5714 # Check whether --enable-config was given.
5715 if test "${enable_config+set}" = set; then
5716 enableval=$enable_config;
5717 if test "$enableval" = yes; then
5718 wx_cv_use_config='wxUSE_CONFIG=yes'
5720 wx_cv_use_config='wxUSE_CONFIG=no'
5725 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5730 eval "$wx_cv_use_config"
5732 if test x"$enablestring" = xdisable; then
5733 if test $wxUSE_CONFIG = no; then
5739 result=$wxUSE_CONFIG
5742 { echo "$as_me:$LINENO: result: $result" >&5
5743 echo "${ECHO_T}$result" >&6; }
5748 defaultval=$wxUSE_ALL_FEATURES
5749 if test -z "$defaultval"; then
5750 if test x"$enablestring" = xdisable; then
5757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5759 # Check whether --enable-protocols was given.
5760 if test "${enable_protocols+set}" = set; then
5761 enableval=$enable_protocols;
5762 if test "$enableval" = yes; then
5763 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5765 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5770 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5775 eval "$wx_cv_use_protocols"
5777 if test x"$enablestring" = xdisable; then
5778 if test $wxUSE_PROTOCOL = no; then
5784 result=$wxUSE_PROTOCOL
5787 { echo "$as_me:$LINENO: result: $result" >&5
5788 echo "${ECHO_T}$result" >&6; }
5792 defaultval=$wxUSE_ALL_FEATURES
5793 if test -z "$defaultval"; then
5794 if test x"$enablestring" = xdisable; then
5801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5803 # Check whether --enable-ftp was given.
5804 if test "${enable_ftp+set}" = set; then
5805 enableval=$enable_ftp;
5806 if test "$enableval" = yes; then
5807 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5809 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5814 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5819 eval "$wx_cv_use_ftp"
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_PROTOCOL_FTP = no; then
5828 result=$wxUSE_PROTOCOL_FTP
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5836 defaultval=$wxUSE_ALL_FEATURES
5837 if test -z "$defaultval"; then
5838 if test x"$enablestring" = xdisable; then
5845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5847 # Check whether --enable-http was given.
5848 if test "${enable_http+set}" = set; then
5849 enableval=$enable_http;
5850 if test "$enableval" = yes; then
5851 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5853 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5858 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5863 eval "$wx_cv_use_http"
5865 if test x"$enablestring" = xdisable; then
5866 if test $wxUSE_PROTOCOL_HTTP = no; then
5872 result=$wxUSE_PROTOCOL_HTTP
5875 { echo "$as_me:$LINENO: result: $result" >&5
5876 echo "${ECHO_T}$result" >&6; }
5880 defaultval=$wxUSE_ALL_FEATURES
5881 if test -z "$defaultval"; then
5882 if test x"$enablestring" = xdisable; then
5889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5891 # Check whether --enable-fileproto was given.
5892 if test "${enable_fileproto+set}" = set; then
5893 enableval=$enable_fileproto;
5894 if test "$enableval" = yes; then
5895 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5897 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5902 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5907 eval "$wx_cv_use_fileproto"
5909 if test x"$enablestring" = xdisable; then
5910 if test $wxUSE_PROTOCOL_FILE = no; then
5916 result=$wxUSE_PROTOCOL_FILE
5919 { echo "$as_me:$LINENO: result: $result" >&5
5920 echo "${ECHO_T}$result" >&6; }
5924 defaultval=$wxUSE_ALL_FEATURES
5925 if test -z "$defaultval"; then
5926 if test x"$enablestring" = xdisable; then
5933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5935 # Check whether --enable-sockets was given.
5936 if test "${enable_sockets+set}" = set; then
5937 enableval=$enable_sockets;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5941 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5946 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5951 eval "$wx_cv_use_sockets"
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_SOCKETS = no; then
5960 result=$wxUSE_SOCKETS
5963 { echo "$as_me:$LINENO: result: $result" >&5
5964 echo "${ECHO_T}$result" >&6; }
5968 defaultval=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5979 # Check whether --enable-ipv6 was given.
5980 if test "${enable_ipv6+set}" = set; then
5981 enableval=$enable_ipv6;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5985 wx_cv_use_ipv6='wxUSE_IPV6=no'
5990 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5995 eval "$wx_cv_use_ipv6"
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_IPV6 = no; then
6007 { echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6; }
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6023 # Check whether --enable-ole was given.
6024 if test "${enable_ole+set}" = set; then
6025 enableval=$enable_ole;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ole='wxUSE_OLE=yes'
6029 wx_cv_use_ole='wxUSE_OLE=no'
6034 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6039 eval "$wx_cv_use_ole"
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_OLE = no; then
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6067 # Check whether --enable-dataobj was given.
6068 if test "${enable_dataobj+set}" = set; then
6069 enableval=$enable_dataobj;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6073 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6078 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6083 eval "$wx_cv_use_dataobj"
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_DATAOBJ = no; then
6092 result=$wxUSE_DATAOBJ
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6101 defaultval=$wxUSE_ALL_FEATURES
6102 if test -z "$defaultval"; then
6103 if test x"$enablestring" = xdisable; then
6110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6112 # Check whether --enable-ipc was given.
6113 if test "${enable_ipc+set}" = set; then
6114 enableval=$enable_ipc;
6115 if test "$enableval" = yes; then
6116 wx_cv_use_ipc='wxUSE_IPC=yes'
6118 wx_cv_use_ipc='wxUSE_IPC=no'
6123 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6128 eval "$wx_cv_use_ipc"
6130 if test x"$enablestring" = xdisable; then
6131 if test $wxUSE_IPC = no; then
6140 { echo "$as_me:$LINENO: result: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6157 # Check whether --enable-baseevtloop was given.
6158 if test "${enable_baseevtloop+set}" = set; then
6159 enableval=$enable_baseevtloop;
6160 if test "$enableval" = yes; then
6161 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6163 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6168 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6173 eval "$wx_cv_use_baseevtloop"
6175 if test x"$enablestring" = xdisable; then
6176 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6182 result=$wxUSE_CONSOLE_EVENTLOOP
6185 { echo "$as_me:$LINENO: result: $result" >&5
6186 echo "${ECHO_T}$result" >&6; }
6190 defaultval=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x"$enablestring" = xdisable; then
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6201 # Check whether --enable-epollloop was given.
6202 if test "${enable_epollloop+set}" = set; then
6203 enableval=$enable_epollloop;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6207 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6212 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6217 eval "$wx_cv_use_epollloop"
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_EPOLL_DISPATCHER = no; then
6226 result=$wxUSE_EPOLL_DISPATCHER
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6234 defaultval=$wxUSE_ALL_FEATURES
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6245 # Check whether --enable-selectloop was given.
6246 if test "${enable_selectloop+set}" = set; then
6247 enableval=$enable_selectloop;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6251 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6256 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6261 eval "$wx_cv_use_selectloop"
6263 if test x"$enablestring" = xdisable; then
6264 if test $wxUSE_SELECT_DISPATCHER = no; then
6270 result=$wxUSE_SELECT_DISPATCHER
6273 { echo "$as_me:$LINENO: result: $result" >&5
6274 echo "${ECHO_T}$result" >&6; }
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6290 # Check whether --enable-any was given.
6291 if test "${enable_any+set}" = set; then
6292 enableval=$enable_any;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_any='wxUSE_ANY=yes'
6296 wx_cv_use_any='wxUSE_ANY=no'
6301 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6306 eval "$wx_cv_use_any"
6308 if test x"$enablestring" = xdisable; then
6309 if test $wxUSE_ANY = no; then
6318 { echo "$as_me:$LINENO: result: $result" >&5
6319 echo "${ECHO_T}$result" >&6; }
6323 defaultval=$wxUSE_ALL_FEATURES
6324 if test -z "$defaultval"; then
6325 if test x"$enablestring" = xdisable; then
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6334 # Check whether --enable-apple_ieee was given.
6335 if test "${enable_apple_ieee+set}" = set; then
6336 enableval=$enable_apple_ieee;
6337 if test "$enableval" = yes; then
6338 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6340 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6345 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6350 eval "$wx_cv_use_apple_ieee"
6352 if test x"$enablestring" = xdisable; then
6353 if test $wxUSE_APPLE_IEEE = no; then
6359 result=$wxUSE_APPLE_IEEE
6362 { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6367 defaultval=$wxUSE_ALL_FEATURES
6368 if test -z "$defaultval"; then
6369 if test x"$enablestring" = xdisable; then
6376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6377 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6378 # Check whether --enable-arcstream was given.
6379 if test "${enable_arcstream+set}" = set; then
6380 enableval=$enable_arcstream;
6381 if test "$enableval" = yes; then
6382 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6384 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6389 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6394 eval "$wx_cv_use_arcstream"
6396 if test x"$enablestring" = xdisable; then
6397 if test $wxUSE_ARCHIVE_STREAMS = no; then
6403 result=$wxUSE_ARCHIVE_STREAMS
6406 { echo "$as_me:$LINENO: result: $result" >&5
6407 echo "${ECHO_T}$result" >&6; }
6411 defaultval=$wxUSE_ALL_FEATURES
6412 if test -z "$defaultval"; then
6413 if test x"$enablestring" = xdisable; then
6420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6421 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6422 # Check whether --enable-base64 was given.
6423 if test "${enable_base64+set}" = set; then
6424 enableval=$enable_base64;
6425 if test "$enableval" = yes; then
6426 wx_cv_use_base64='wxUSE_BASE64=yes'
6428 wx_cv_use_base64='wxUSE_BASE64=no'
6433 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6438 eval "$wx_cv_use_base64"
6440 if test x"$enablestring" = xdisable; then
6441 if test $wxUSE_BASE64 = no; then
6447 result=$wxUSE_BASE64
6450 { echo "$as_me:$LINENO: result: $result" >&5
6451 echo "${ECHO_T}$result" >&6; }
6455 defaultval=$wxUSE_ALL_FEATURES
6456 if test -z "$defaultval"; then
6457 if test x"$enablestring" = xdisable; then
6464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6465 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6466 # Check whether --enable-backtrace was given.
6467 if test "${enable_backtrace+set}" = set; then
6468 enableval=$enable_backtrace;
6469 if test "$enableval" = yes; then
6470 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6472 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6477 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6482 eval "$wx_cv_use_backtrace"
6484 if test x"$enablestring" = xdisable; then
6485 if test $wxUSE_STACKWALKER = no; then
6491 result=$wxUSE_STACKWALKER
6494 { echo "$as_me:$LINENO: result: $result" >&5
6495 echo "${ECHO_T}$result" >&6; }
6499 defaultval=$wxUSE_ALL_FEATURES
6500 if test -z "$defaultval"; then
6501 if test x"$enablestring" = xdisable; then
6508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6510 # Check whether --enable-catch_segvs was given.
6511 if test "${enable_catch_segvs+set}" = set; then
6512 enableval=$enable_catch_segvs;
6513 if test "$enableval" = yes; then
6514 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6516 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6521 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6526 eval "$wx_cv_use_catch_segvs"
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6535 result=$wxUSE_ON_FATAL_EXCEPTION
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6554 # Check whether --enable-cmdline was given.
6555 if test "${enable_cmdline+set}" = set; then
6556 enableval=$enable_cmdline;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6560 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6565 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6570 eval "$wx_cv_use_cmdline"
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_CMDLINE_PARSER = no; then
6579 result=$wxUSE_CMDLINE_PARSER
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6598 # Check whether --enable-datetime was given.
6599 if test "${enable_datetime+set}" = set; then
6600 enableval=$enable_datetime;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6604 wx_cv_use_datetime='wxUSE_DATETIME=no'
6609 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6614 eval "$wx_cv_use_datetime"
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_DATETIME = no; then
6623 result=$wxUSE_DATETIME
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6642 # Check whether --enable-debugreport was given.
6643 if test "${enable_debugreport+set}" = set; then
6644 enableval=$enable_debugreport;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6648 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6653 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6658 eval "$wx_cv_use_debugreport"
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_DEBUGREPORT = no; then
6667 result=$wxUSE_DEBUGREPORT
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6686 # Check whether --enable-dialupman was given.
6687 if test "${enable_dialupman+set}" = set; then
6688 enableval=$enable_dialupman;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6692 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6697 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6702 eval "$wx_cv_use_dialupman"
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_DIALUP_MANAGER = no; then
6711 result=$wxUSE_DIALUP_MANAGER
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6730 # Check whether --enable-dynlib was given.
6731 if test "${enable_dynlib+set}" = set; then
6732 enableval=$enable_dynlib;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6736 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6741 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6746 eval "$wx_cv_use_dynlib"
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_DYNLIB_CLASS = no; then
6755 result=$wxUSE_DYNLIB_CLASS
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6774 # Check whether --enable-dynamicloader was given.
6775 if test "${enable_dynamicloader+set}" = set; then
6776 enableval=$enable_dynamicloader;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6780 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6785 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6790 eval "$wx_cv_use_dynamicloader"
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_DYNAMIC_LOADER = no; then
6799 result=$wxUSE_DYNAMIC_LOADER
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6818 # Check whether --enable-exceptions was given.
6819 if test "${enable_exceptions+set}" = set; then
6820 enableval=$enable_exceptions;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6824 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6829 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6834 eval "$wx_cv_use_exceptions"
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_EXCEPTIONS = no; then
6843 result=$wxUSE_EXCEPTIONS
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6862 # Check whether --enable-ffile was given.
6863 if test "${enable_ffile+set}" = set; then
6864 enableval=$enable_ffile;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_ffile='wxUSE_FFILE=yes'
6868 wx_cv_use_ffile='wxUSE_FFILE=no'
6873 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6878 eval "$wx_cv_use_ffile"
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_FFILE = no; then
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6906 # Check whether --enable-file was given.
6907 if test "${enable_file+set}" = set; then
6908 enableval=$enable_file;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_file='wxUSE_FILE=yes'
6912 wx_cv_use_file='wxUSE_FILE=no'
6917 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6922 eval "$wx_cv_use_file"
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_FILE = no; then
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6950 # Check whether --enable-filesystem was given.
6951 if test "${enable_filesystem+set}" = set; then
6952 enableval=$enable_filesystem;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6956 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6961 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6966 eval "$wx_cv_use_filesystem"
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_FILESYSTEM = no; then
6975 result=$wxUSE_FILESYSTEM
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6994 # Check whether --enable-fontenum was given.
6995 if test "${enable_fontenum+set}" = set; then
6996 enableval=$enable_fontenum;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7000 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7005 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7010 eval "$wx_cv_use_fontenum"
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_FONTENUM = no; then
7019 result=$wxUSE_FONTENUM
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7038 # Check whether --enable-fontmap was given.
7039 if test "${enable_fontmap+set}" = set; then
7040 enableval=$enable_fontmap;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7044 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7049 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7054 eval "$wx_cv_use_fontmap"
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_FONTMAP = no; then
7063 result=$wxUSE_FONTMAP
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7082 # Check whether --enable-fs_archive was given.
7083 if test "${enable_fs_archive+set}" = set; then
7084 enableval=$enable_fs_archive;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7088 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7093 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7098 eval "$wx_cv_use_fs_archive"
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_FS_ARCHIVE = no; then
7107 result=$wxUSE_FS_ARCHIVE
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7126 # Check whether --enable-fs_inet was given.
7127 if test "${enable_fs_inet+set}" = set; then
7128 enableval=$enable_fs_inet;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7132 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7137 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7142 eval "$wx_cv_use_fs_inet"
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FS_INET = no; then
7151 result=$wxUSE_FS_INET
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7170 # Check whether --enable-fs_zip was given.
7171 if test "${enable_fs_zip+set}" = set; then
7172 enableval=$enable_fs_zip;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7176 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7181 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7186 eval "$wx_cv_use_fs_zip"
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_FS_ZIP = no; then
7195 result=$wxUSE_FS_ZIP
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7214 # Check whether --enable-geometry was given.
7215 if test "${enable_geometry+set}" = set; then
7216 enableval=$enable_geometry;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7220 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7225 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7230 eval "$wx_cv_use_geometry"
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_GEOMETRY = no; then
7239 result=$wxUSE_GEOMETRY
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7258 # Check whether --enable-log was given.
7259 if test "${enable_log+set}" = set; then
7260 enableval=$enable_log;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_log='wxUSE_LOG=yes'
7264 wx_cv_use_log='wxUSE_LOG=no'
7269 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7274 eval "$wx_cv_use_log"
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_LOG = no; then
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7302 # Check whether --enable-longlong was given.
7303 if test "${enable_longlong+set}" = set; then
7304 enableval=$enable_longlong;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7308 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7313 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7318 eval "$wx_cv_use_longlong"
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_LONGLONG = no; then
7327 result=$wxUSE_LONGLONG
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7346 # Check whether --enable-mimetype was given.
7347 if test "${enable_mimetype+set}" = set; then
7348 enableval=$enable_mimetype;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7352 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7357 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7362 eval "$wx_cv_use_mimetype"
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_MIMETYPE = no; then
7371 result=$wxUSE_MIMETYPE
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7390 # Check whether --enable-printfposparam was given.
7391 if test "${enable_printfposparam+set}" = set; then
7392 enableval=$enable_printfposparam;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7396 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7401 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7406 eval "$wx_cv_use_printfposparam"
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7415 result=$wxUSE_PRINTF_POS_PARAMS
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7434 # Check whether --enable-snglinst was given.
7435 if test "${enable_snglinst+set}" = set; then
7436 enableval=$enable_snglinst;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7440 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7445 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7450 eval "$wx_cv_use_snglinst"
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_SNGLINST_CHECKER = no; then
7459 result=$wxUSE_SNGLINST_CHECKER
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7478 # Check whether --enable-sound was given.
7479 if test "${enable_sound+set}" = set; then
7480 enableval=$enable_sound;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_sound='wxUSE_SOUND=yes'
7484 wx_cv_use_sound='wxUSE_SOUND=no'
7489 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7494 eval "$wx_cv_use_sound"
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_SOUND = no; then
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7522 # Check whether --enable-stdpaths was given.
7523 if test "${enable_stdpaths+set}" = set; then
7524 enableval=$enable_stdpaths;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7528 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7533 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7538 eval "$wx_cv_use_stdpaths"
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_STDPATHS = no; then
7547 result=$wxUSE_STDPATHS
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7566 # Check whether --enable-stopwatch was given.
7567 if test "${enable_stopwatch+set}" = set; then
7568 enableval=$enable_stopwatch;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7572 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7577 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7582 eval "$wx_cv_use_stopwatch"
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_STOPWATCH = no; then
7591 result=$wxUSE_STOPWATCH
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7610 # Check whether --enable-streams was given.
7611 if test "${enable_streams+set}" = set; then
7612 enableval=$enable_streams;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_streams='wxUSE_STREAMS=yes'
7616 wx_cv_use_streams='wxUSE_STREAMS=no'
7621 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7626 eval "$wx_cv_use_streams"
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_STREAMS = no; then
7635 result=$wxUSE_STREAMS
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7654 # Check whether --enable-system_options was given.
7655 if test "${enable_system_options+set}" = set; then
7656 enableval=$enable_system_options;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7660 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7665 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7670 eval "$wx_cv_use_system_options"
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_SYSTEM_OPTIONS = no; then
7679 result=$wxUSE_SYSTEM_OPTIONS
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7698 # Check whether --enable-tarstream was given.
7699 if test "${enable_tarstream+set}" = set; then
7700 enableval=$enable_tarstream;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7704 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7709 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7714 eval "$wx_cv_use_tarstream"
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_TARSTREAM = no; then
7723 result=$wxUSE_TARSTREAM
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7742 # Check whether --enable-textbuf was given.
7743 if test "${enable_textbuf+set}" = set; then
7744 enableval=$enable_textbuf;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7748 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7753 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7758 eval "$wx_cv_use_textbuf"
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_TEXTBUFFER = no; then
7767 result=$wxUSE_TEXTBUFFER
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7786 # Check whether --enable-textfile was given.
7787 if test "${enable_textfile+set}" = set; then
7788 enableval=$enable_textfile;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7792 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7797 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7802 eval "$wx_cv_use_textfile"
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_TEXTFILE = no; then
7811 result=$wxUSE_TEXTFILE
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7830 # Check whether --enable-timer was given.
7831 if test "${enable_timer+set}" = set; then
7832 enableval=$enable_timer;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_timer='wxUSE_TIMER=yes'
7836 wx_cv_use_timer='wxUSE_TIMER=no'
7841 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7846 eval "$wx_cv_use_timer"
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_TIMER = no; then
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7874 # Check whether --enable-variant was given.
7875 if test "${enable_variant+set}" = set; then
7876 enableval=$enable_variant;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_variant='wxUSE_VARIANT=yes'
7880 wx_cv_use_variant='wxUSE_VARIANT=no'
7885 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7890 eval "$wx_cv_use_variant"
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_VARIANT = no; then
7899 result=$wxUSE_VARIANT
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7918 # Check whether --enable-zipstream was given.
7919 if test "${enable_zipstream+set}" = set; then
7920 enableval=$enable_zipstream;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7924 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7929 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7934 eval "$wx_cv_use_zipstream"
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_ZIPSTREAM = no; then
7943 result=$wxUSE_ZIPSTREAM
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7952 defaultval=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x"$enablestring" = xdisable; then
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7963 # Check whether --enable-url was given.
7964 if test "${enable_url+set}" = set; then
7965 enableval=$enable_url;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_url='wxUSE_URL=yes'
7969 wx_cv_use_url='wxUSE_URL=no'
7974 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7979 eval "$wx_cv_use_url"
7981 if test x"$enablestring" = xdisable; then
7982 if test $wxUSE_URL = no; then
7991 { echo "$as_me:$LINENO: result: $result" >&5
7992 echo "${ECHO_T}$result" >&6; }
7996 defaultval=$wxUSE_ALL_FEATURES
7997 if test -z "$defaultval"; then
7998 if test x"$enablestring" = xdisable; then
8005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8007 # Check whether --enable-protocol was given.
8008 if test "${enable_protocol+set}" = set; then
8009 enableval=$enable_protocol;
8010 if test "$enableval" = yes; then
8011 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8013 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8018 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8023 eval "$wx_cv_use_protocol"
8025 if test x"$enablestring" = xdisable; then
8026 if test $wxUSE_PROTOCOL = no; then
8032 result=$wxUSE_PROTOCOL
8035 { echo "$as_me:$LINENO: result: $result" >&5
8036 echo "${ECHO_T}$result" >&6; }
8040 defaultval=$wxUSE_ALL_FEATURES
8041 if test -z "$defaultval"; then
8042 if test x"$enablestring" = xdisable; then
8049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8050 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8051 # Check whether --enable-protocol_http was given.
8052 if test "${enable_protocol_http+set}" = set; then
8053 enableval=$enable_protocol_http;
8054 if test "$enableval" = yes; then
8055 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8057 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8062 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8067 eval "$wx_cv_use_protocol_http"
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_PROTOCOL_HTTP = no; then
8076 result=$wxUSE_PROTOCOL_HTTP
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8084 defaultval=$wxUSE_ALL_FEATURES
8085 if test -z "$defaultval"; then
8086 if test x"$enablestring" = xdisable; then
8093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8095 # Check whether --enable-protocol_ftp was given.
8096 if test "${enable_protocol_ftp+set}" = set; then
8097 enableval=$enable_protocol_ftp;
8098 if test "$enableval" = yes; then
8099 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8101 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8106 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8111 eval "$wx_cv_use_protocol_ftp"
8113 if test x"$enablestring" = xdisable; then
8114 if test $wxUSE_PROTOCOL_FTP = no; then
8120 result=$wxUSE_PROTOCOL_FTP
8123 { echo "$as_me:$LINENO: result: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8139 # Check whether --enable-protocol_file was given.
8140 if test "${enable_protocol_file+set}" = set; then
8141 enableval=$enable_protocol_file;
8142 if test "$enableval" = yes; then
8143 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8145 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8150 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8155 eval "$wx_cv_use_protocol_file"
8157 if test x"$enablestring" = xdisable; then
8158 if test $wxUSE_PROTOCOL_FILE = no; then
8164 result=$wxUSE_PROTOCOL_FILE
8167 { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8173 defaultval=$wxUSE_ALL_FEATURES
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8184 # Check whether --enable-threads was given.
8185 if test "${enable_threads+set}" = set; then
8186 enableval=$enable_threads;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_threads='wxUSE_THREADS=yes'
8190 wx_cv_use_threads='wxUSE_THREADS=no'
8195 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8200 eval "$wx_cv_use_threads"
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_THREADS = no; then
8209 result=$wxUSE_THREADS
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8229 # Check whether --enable-iniconf was given.
8230 if test "${enable_iniconf+set}" = set; then
8231 enableval=$enable_iniconf;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8235 wx_cv_use_iniconf='wxUSE_INICONF=no'
8240 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8245 eval "$wx_cv_use_iniconf"
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_INICONF = no; then
8254 result=$wxUSE_INICONF
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8273 # Check whether --enable-regkey was given.
8274 if test "${enable_regkey+set}" = set; then
8275 enableval=$enable_regkey;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8279 wx_cv_use_regkey='wxUSE_REGKEY=no'
8284 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8289 eval "$wx_cv_use_regkey"
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_REGKEY = no; then
8298 result=$wxUSE_REGKEY
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8305 if test "$wxUSE_GUI" = "yes"; then
8310 defaultval=$wxUSE_ALL_FEATURES
8311 if test -z "$defaultval"; then
8312 if test x"$enablestring" = xdisable; then
8319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8321 # Check whether --enable-docview was given.
8322 if test "${enable_docview+set}" = set; then
8323 enableval=$enable_docview;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8327 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8332 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8337 eval "$wx_cv_use_docview"
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8346 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8365 # Check whether --enable-help was given.
8366 if test "${enable_help+set}" = set; then
8367 enableval=$enable_help;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_help='wxUSE_HELP=yes'
8371 wx_cv_use_help='wxUSE_HELP=no'
8376 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8381 eval "$wx_cv_use_help"
8383 if test x"$enablestring" = xdisable; then
8384 if test $wxUSE_HELP = no; then
8393 { echo "$as_me:$LINENO: result: $result" >&5
8394 echo "${ECHO_T}$result" >&6; }
8398 defaultval=$wxUSE_ALL_FEATURES
8399 if test -z "$defaultval"; then
8400 if test x"$enablestring" = xdisable; then
8407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8409 # Check whether --enable-mshtmlhelp was given.
8410 if test "${enable_mshtmlhelp+set}" = set; then
8411 enableval=$enable_mshtmlhelp;
8412 if test "$enableval" = yes; then
8413 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8415 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8420 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8425 eval "$wx_cv_use_mshtmlhelp"
8427 if test x"$enablestring" = xdisable; then
8428 if test $wxUSE_MS_HTML_HELP = no; then
8434 result=$wxUSE_MS_HTML_HELP
8437 { echo "$as_me:$LINENO: result: $result" >&5
8438 echo "${ECHO_T}$result" >&6; }
8442 defaultval=$wxUSE_ALL_FEATURES
8443 if test -z "$defaultval"; then
8444 if test x"$enablestring" = xdisable; then
8451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8453 # Check whether --enable-html was given.
8454 if test "${enable_html+set}" = set; then
8455 enableval=$enable_html;
8456 if test "$enableval" = yes; then
8457 wx_cv_use_html='wxUSE_HTML=yes'
8459 wx_cv_use_html='wxUSE_HTML=no'
8464 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8469 eval "$wx_cv_use_html"
8471 if test x"$enablestring" = xdisable; then
8472 if test $wxUSE_HTML = no; then
8481 { echo "$as_me:$LINENO: result: $result" >&5
8482 echo "${ECHO_T}$result" >&6; }
8486 defaultval=$wxUSE_ALL_FEATURES
8487 if test -z "$defaultval"; then
8488 if test x"$enablestring" = xdisable; then
8495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8496 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8497 # Check whether --enable-htmlhelp was given.
8498 if test "${enable_htmlhelp+set}" = set; then
8499 enableval=$enable_htmlhelp;
8500 if test "$enableval" = yes; then
8501 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8503 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8508 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8513 eval "$wx_cv_use_htmlhelp"
8515 if test x"$enablestring" = xdisable; then
8516 if test $wxUSE_WXHTML_HELP = no; then
8522 result=$wxUSE_WXHTML_HELP
8525 { echo "$as_me:$LINENO: result: $result" >&5
8526 echo "${ECHO_T}$result" >&6; }
8530 defaultval=$wxUSE_ALL_FEATURES
8531 if test -z "$defaultval"; then
8532 if test x"$enablestring" = xdisable; then
8539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8541 # Check whether --enable-xrc was given.
8542 if test "${enable_xrc+set}" = set; then
8543 enableval=$enable_xrc;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_xrc='wxUSE_XRC=yes'
8547 wx_cv_use_xrc='wxUSE_XRC=no'
8552 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8557 eval "$wx_cv_use_xrc"
8559 if test x"$enablestring" = xdisable; then
8560 if test $wxUSE_XRC = no; then
8569 { echo "$as_me:$LINENO: result: $result" >&5
8570 echo "${ECHO_T}$result" >&6; }
8574 defaultval=$wxUSE_ALL_FEATURES
8575 if test -z "$defaultval"; then
8576 if test x"$enablestring" = xdisable; then
8583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8584 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8585 # Check whether --enable-aui was given.
8586 if test "${enable_aui+set}" = set; then
8587 enableval=$enable_aui;
8588 if test "$enableval" = yes; then
8589 wx_cv_use_aui='wxUSE_AUI=yes'
8591 wx_cv_use_aui='wxUSE_AUI=no'
8596 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8601 eval "$wx_cv_use_aui"
8603 if test x"$enablestring" = xdisable; then
8604 if test $wxUSE_AUI = no; then
8613 { echo "$as_me:$LINENO: result: $result" >&5
8614 echo "${ECHO_T}$result" >&6; }
8618 defaultval=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x"$enablestring" = xdisable; then
8627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8629 # Check whether --enable-propgrid was given.
8630 if test "${enable_propgrid+set}" = set; then
8631 enableval=$enable_propgrid;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8635 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8640 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8645 eval "$wx_cv_use_propgrid"
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_PROPGRID = no; then
8654 result=$wxUSE_PROPGRID
8657 { echo "$as_me:$LINENO: result: $result" >&5
8658 echo "${ECHO_T}$result" >&6; }
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8673 # Check whether --enable-ribbon was given.
8674 if test "${enable_ribbon+set}" = set; then
8675 enableval=$enable_ribbon;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8679 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8684 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8689 eval "$wx_cv_use_ribbon"
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_RIBBON = no; then
8698 result=$wxUSE_RIBBON
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8717 # Check whether --enable-stc was given.
8718 if test "${enable_stc+set}" = set; then
8719 enableval=$enable_stc;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_stc='wxUSE_STC=yes'
8723 wx_cv_use_stc='wxUSE_STC=no'
8728 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8733 eval "$wx_cv_use_stc"
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_STC = no; then
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8761 # Check whether --enable-constraints was given.
8762 if test "${enable_constraints+set}" = set; then
8763 enableval=$enable_constraints;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8767 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8772 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8777 eval "$wx_cv_use_constraints"
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_CONSTRAINTS = no; then
8786 result=$wxUSE_CONSTRAINTS
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8805 # Check whether --enable-loggui was given.
8806 if test "${enable_loggui+set}" = set; then
8807 enableval=$enable_loggui;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8811 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8816 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8821 eval "$wx_cv_use_loggui"
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_LOGGUI = no; then
8830 result=$wxUSE_LOGGUI
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8849 # Check whether --enable-logwin was given.
8850 if test "${enable_logwin+set}" = set; then
8851 enableval=$enable_logwin;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8855 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8860 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8865 eval "$wx_cv_use_logwin"
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_LOGWINDOW = no; then
8874 result=$wxUSE_LOGWINDOW
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8893 # Check whether --enable-logdialog was given.
8894 if test "${enable_logdialog+set}" = set; then
8895 enableval=$enable_logdialog;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8899 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8904 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8909 eval "$wx_cv_use_logdialog"
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_LOGDIALOG = no; then
8918 result=$wxUSE_LOGDIALOG
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8937 # Check whether --enable-mdi was given.
8938 if test "${enable_mdi+set}" = set; then
8939 enableval=$enable_mdi;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_mdi='wxUSE_MDI=yes'
8943 wx_cv_use_mdi='wxUSE_MDI=no'
8948 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8953 eval "$wx_cv_use_mdi"
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_MDI = no; then
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8981 # Check whether --enable-mdidoc was given.
8982 if test "${enable_mdidoc+set}" = set; then
8983 enableval=$enable_mdidoc;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8987 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8992 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8997 eval "$wx_cv_use_mdidoc"
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_MDI_ARCHITECTURE = no; then
9006 result=$wxUSE_MDI_ARCHITECTURE
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9025 # Check whether --enable-mediactrl was given.
9026 if test "${enable_mediactrl+set}" = set; then
9027 enableval=$enable_mediactrl;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9031 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9036 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9041 eval "$wx_cv_use_mediactrl"
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_MEDIACTRL = no; then
9050 result=$wxUSE_MEDIACTRL
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9069 # Check whether --enable-gstreamer8 was given.
9070 if test "${enable_gstreamer8+set}" = set; then
9071 enableval=$enable_gstreamer8;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9075 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9080 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9085 eval "$wx_cv_use_gstreamer8"
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_GSTREAMER8 = no; then
9094 result=$wxUSE_GSTREAMER8
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9113 # Check whether --enable-webkit was given.
9114 if test "${enable_webkit+set}" = set; then
9115 enableval=$enable_webkit;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9119 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9124 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9129 eval "$wx_cv_use_webkit"
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_WEBKIT = no; then
9138 result=$wxUSE_WEBKIT
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9157 # Check whether --enable-richtext was given.
9158 if test "${enable_richtext+set}" = set; then
9159 enableval=$enable_richtext;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9163 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9168 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9173 eval "$wx_cv_use_richtext"
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_RICHTEXT = no; then
9182 result=$wxUSE_RICHTEXT
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9201 # Check whether --enable-graphics_ctx was given.
9202 if test "${enable_graphics_ctx+set}" = set; then
9203 enableval=$enable_graphics_ctx;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9207 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9212 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9217 eval "$wx_cv_use_graphics_ctx"
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9226 result=$wxUSE_GRAPHICS_CONTEXT
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9245 # Check whether --enable-postscript was given.
9246 if test "${enable_postscript+set}" = set; then
9247 enableval=$enable_postscript;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9251 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9256 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9261 eval "$wx_cv_use_postscript"
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_POSTSCRIPT = no; then
9270 result=$wxUSE_POSTSCRIPT
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9289 # Check whether --enable-printarch was given.
9290 if test "${enable_printarch+set}" = set; then
9291 enableval=$enable_printarch;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9295 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9300 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9305 eval "$wx_cv_use_printarch"
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9314 result=$wxUSE_PRINTING_ARCHITECTURE
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9322 defaultval=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x"$enablestring" = xdisable; then
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9333 # Check whether --enable-svg was given.
9334 if test "${enable_svg+set}" = set; then
9335 enableval=$enable_svg;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_svg='wxUSE_SVG=yes'
9339 wx_cv_use_svg='wxUSE_SVG=no'
9344 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9349 eval "$wx_cv_use_svg"
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_SVG = no; then
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9379 # Check whether --enable-clipboard was given.
9380 if test "${enable_clipboard+set}" = set; then
9381 enableval=$enable_clipboard;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9385 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9390 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9395 eval "$wx_cv_use_clipboard"
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_CLIPBOARD = no; then
9404 result=$wxUSE_CLIPBOARD
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9423 # Check whether --enable-dnd was given.
9424 if test "${enable_dnd+set}" = set; then
9425 enableval=$enable_dnd;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9429 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9434 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9439 eval "$wx_cv_use_dnd"
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_DRAG_AND_DROP = no; then
9448 result=$wxUSE_DRAG_AND_DROP
9451 { echo "$as_me:$LINENO: result: $result" >&5
9452 echo "${ECHO_T}$result" >&6; }
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9467 # Check whether --enable-metafile was given.
9468 if test "${enable_metafile+set}" = set; then
9469 enableval=$enable_metafile;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9473 wx_cv_use_metafile='wxUSE_METAFILE=no'
9478 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9483 eval "$wx_cv_use_metafile"
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_METAFILE = no; then
9492 result=$wxUSE_METAFILE
9495 { echo "$as_me:$LINENO: result: $result" >&5
9496 echo "${ECHO_T}$result" >&6; }
9500 DEFAULT_wxUSE_CONTROLS=none
9502 enablestring=disable
9504 if test -z "$defaultval"; then
9505 if test x"$enablestring" = xdisable; then
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9514 # Check whether --enable-controls was given.
9515 if test "${enable_controls+set}" = set; then
9516 enableval=$enable_controls;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9520 wx_cv_use_controls='wxUSE_CONTROLS=no'
9525 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9530 eval "$wx_cv_use_controls"
9532 if test x"$enablestring" = xdisable; then
9533 if test $wxUSE_CONTROLS = no; then
9539 result=$wxUSE_CONTROLS
9542 { echo "$as_me:$LINENO: result: $result" >&5
9543 echo "${ECHO_T}$result" >&6; }
9546 if test "$wxUSE_CONTROLS" = "no"; then
9547 DEFAULT_wxUSE_ACCEL=no
9548 DEFAULT_wxUSE_ANIMATIONCTRL=no
9549 DEFAULT_wxUSE_BMPBUTTON=no
9550 DEFAULT_wxUSE_BUTTON=no
9551 DEFAULT_wxUSE_CALCTRL=no
9552 DEFAULT_wxUSE_CARET=no
9553 DEFAULT_wxUSE_CHECKBOX=no
9554 DEFAULT_wxUSE_CHECKLISTBOX=no
9555 DEFAULT_wxUSE_CHOICE=no
9556 DEFAULT_wxUSE_CHOICEBOOK=no
9557 DEFAULT_wxUSE_COLLPANE=no
9558 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9559 DEFAULT_wxUSE_COMBOBOX=no
9560 DEFAULT_wxUSE_COMBOBOX=no
9561 DEFAULT_wxUSE_DATAVIEWCTRL=no
9562 DEFAULT_wxUSE_DATEPICKCTRL=no
9563 DEFAULT_wxUSE_DETECT_SM=no
9564 DEFAULT_wxUSE_DIRPICKERCTRL=no
9565 DEFAULT_wxUSE_DISPLAY=no
9566 DEFAULT_wxUSE_FILECTRL=no
9567 DEFAULT_wxUSE_FILEPICKERCTRL=no
9568 DEFAULT_wxUSE_FONTPICKERCTRL=no
9569 DEFAULT_wxUSE_GAUGE=no
9570 DEFAULT_wxUSE_GRID=no
9571 DEFAULT_wxUSE_HEADERCTRL=no
9572 DEFAULT_wxUSE_HYPERLINKCTRL=no
9573 DEFAULT_wxUSE_IMAGLIST=no
9574 DEFAULT_wxUSE_LISTBOOK=no
9575 DEFAULT_wxUSE_LISTBOX=no
9576 DEFAULT_wxUSE_LISTCTRL=no
9577 DEFAULT_wxUSE_NOTEBOOK=no
9578 DEFAULT_wxUSE_POPUPWIN=no
9579 DEFAULT_wxUSE_RADIOBOX=no
9580 DEFAULT_wxUSE_RADIOBTN=no
9581 DEFAULT_wxUSE_REARRANGECTRL=no
9582 DEFAULT_wxUSE_SASH=no
9583 DEFAULT_wxUSE_SCROLLBAR=no
9584 DEFAULT_wxUSE_SEARCHCTRL=no
9585 DEFAULT_wxUSE_SLIDER=no
9586 DEFAULT_wxUSE_SPINBTN=no
9587 DEFAULT_wxUSE_SPINCTRL=no
9588 DEFAULT_wxUSE_SPLITTER=no
9589 DEFAULT_wxUSE_STATBMP=no
9590 DEFAULT_wxUSE_STATBOX=no
9591 DEFAULT_wxUSE_STATLINE=no
9592 DEFAULT_wxUSE_STATUSBAR=no
9593 DEFAULT_wxUSE_TIPWINDOW=no
9594 DEFAULT_wxUSE_TOGGLEBTN=no
9595 DEFAULT_wxUSE_TOOLBAR=no
9596 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9597 DEFAULT_wxUSE_TOOLBOOK=no
9598 DEFAULT_wxUSE_TOOLTIPS=no
9599 DEFAULT_wxUSE_TREEBOOK=no
9600 DEFAULT_wxUSE_TREECTRL=no
9605 defaultval=$wxUSE_ALL_FEATURES
9606 if test -z "$defaultval"; then
9607 if test x"$enablestring" = xdisable; then
9614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9616 # Check whether --enable-accel was given.
9617 if test "${enable_accel+set}" = set; then
9618 enableval=$enable_accel;
9619 if test "$enableval" = yes; then
9620 wx_cv_use_accel='wxUSE_ACCEL=yes'
9622 wx_cv_use_accel='wxUSE_ACCEL=no'
9627 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9632 eval "$wx_cv_use_accel"
9634 if test x"$enablestring" = xdisable; then
9635 if test $wxUSE_ACCEL = no; then
9644 { echo "$as_me:$LINENO: result: $result" >&5
9645 echo "${ECHO_T}$result" >&6; }
9649 defaultval=$wxUSE_ALL_FEATURES
9650 if test -z "$defaultval"; then
9651 if test x"$enablestring" = xdisable; then
9658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9659 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9660 # Check whether --enable-animatectrl was given.
9661 if test "${enable_animatectrl+set}" = set; then
9662 enableval=$enable_animatectrl;
9663 if test "$enableval" = yes; then
9664 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9666 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9671 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9676 eval "$wx_cv_use_animatectrl"
9678 if test x"$enablestring" = xdisable; then
9679 if test $wxUSE_ANIMATIONCTRL = no; then
9685 result=$wxUSE_ANIMATIONCTRL
9688 { echo "$as_me:$LINENO: result: $result" >&5
9689 echo "${ECHO_T}$result" >&6; }
9693 defaultval=$wxUSE_ALL_FEATURES
9694 if test -z "$defaultval"; then
9695 if test x"$enablestring" = xdisable; then
9702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9704 # Check whether --enable-bmpbutton was given.
9705 if test "${enable_bmpbutton+set}" = set; then
9706 enableval=$enable_bmpbutton;
9707 if test "$enableval" = yes; then
9708 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9710 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9715 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9720 eval "$wx_cv_use_bmpbutton"
9722 if test x"$enablestring" = xdisable; then
9723 if test $wxUSE_BMPBUTTON = no; then
9729 result=$wxUSE_BMPBUTTON
9732 { echo "$as_me:$LINENO: result: $result" >&5
9733 echo "${ECHO_T}$result" >&6; }
9737 defaultval=$wxUSE_ALL_FEATURES
9738 if test -z "$defaultval"; then
9739 if test x"$enablestring" = xdisable; then
9746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9747 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9748 # Check whether --enable-bmpcombobox was given.
9749 if test "${enable_bmpcombobox+set}" = set; then
9750 enableval=$enable_bmpcombobox;
9751 if test "$enableval" = yes; then
9752 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9754 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9759 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9764 eval "$wx_cv_use_bmpcombobox"
9766 if test x"$enablestring" = xdisable; then
9767 if test $wxUSE_BITMAPCOMBOBOX = no; then
9773 result=$wxUSE_BITMAPCOMBOBOX
9776 { echo "$as_me:$LINENO: result: $result" >&5
9777 echo "${ECHO_T}$result" >&6; }
9781 defaultval=$wxUSE_ALL_FEATURES
9782 if test -z "$defaultval"; then
9783 if test x"$enablestring" = xdisable; then
9790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9791 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9792 # Check whether --enable-button was given.
9793 if test "${enable_button+set}" = set; then
9794 enableval=$enable_button;
9795 if test "$enableval" = yes; then
9796 wx_cv_use_button='wxUSE_BUTTON=yes'
9798 wx_cv_use_button='wxUSE_BUTTON=no'
9803 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9808 eval "$wx_cv_use_button"
9810 if test x"$enablestring" = xdisable; then
9811 if test $wxUSE_BUTTON = no; then
9817 result=$wxUSE_BUTTON
9820 { echo "$as_me:$LINENO: result: $result" >&5
9821 echo "${ECHO_T}$result" >&6; }
9825 defaultval=$wxUSE_ALL_FEATURES
9826 if test -z "$defaultval"; then
9827 if test x"$enablestring" = xdisable; then
9834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9836 # Check whether --enable-calendar was given.
9837 if test "${enable_calendar+set}" = set; then
9838 enableval=$enable_calendar;
9839 if test "$enableval" = yes; then
9840 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9842 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9847 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9852 eval "$wx_cv_use_calendar"
9854 if test x"$enablestring" = xdisable; then
9855 if test $wxUSE_CALCTRL = no; then
9861 result=$wxUSE_CALCTRL
9864 { echo "$as_me:$LINENO: result: $result" >&5
9865 echo "${ECHO_T}$result" >&6; }
9869 defaultval=$wxUSE_ALL_FEATURES
9870 if test -z "$defaultval"; then
9871 if test x"$enablestring" = xdisable; then
9878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9880 # Check whether --enable-caret was given.
9881 if test "${enable_caret+set}" = set; then
9882 enableval=$enable_caret;
9883 if test "$enableval" = yes; then
9884 wx_cv_use_caret='wxUSE_CARET=yes'
9886 wx_cv_use_caret='wxUSE_CARET=no'
9891 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9896 eval "$wx_cv_use_caret"
9898 if test x"$enablestring" = xdisable; then
9899 if test $wxUSE_CARET = no; then
9908 { echo "$as_me:$LINENO: result: $result" >&5
9909 echo "${ECHO_T}$result" >&6; }
9913 defaultval=$wxUSE_ALL_FEATURES
9914 if test -z "$defaultval"; then
9915 if test x"$enablestring" = xdisable; then
9922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9923 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9924 # Check whether --enable-checkbox was given.
9925 if test "${enable_checkbox+set}" = set; then
9926 enableval=$enable_checkbox;
9927 if test "$enableval" = yes; then
9928 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9930 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9935 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9940 eval "$wx_cv_use_checkbox"
9942 if test x"$enablestring" = xdisable; then
9943 if test $wxUSE_CHECKBOX = no; then
9949 result=$wxUSE_CHECKBOX
9952 { echo "$as_me:$LINENO: result: $result" >&5
9953 echo "${ECHO_T}$result" >&6; }
9957 defaultval=$wxUSE_ALL_FEATURES
9958 if test -z "$defaultval"; then
9959 if test x"$enablestring" = xdisable; then
9966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9968 # Check whether --enable-checklst was given.
9969 if test "${enable_checklst+set}" = set; then
9970 enableval=$enable_checklst;
9971 if test "$enableval" = yes; then
9972 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9974 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9979 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9984 eval "$wx_cv_use_checklst"
9986 if test x"$enablestring" = xdisable; then
9987 if test $wxUSE_CHECKLST = no; then
9993 result=$wxUSE_CHECKLST
9996 { echo "$as_me:$LINENO: result: $result" >&5
9997 echo "${ECHO_T}$result" >&6; }
10001 defaultval=$wxUSE_ALL_FEATURES
10002 if test -z "$defaultval"; then
10003 if test x"$enablestring" = xdisable; then
10010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10012 # Check whether --enable-choice was given.
10013 if test "${enable_choice+set}" = set; then
10014 enableval=$enable_choice;
10015 if test "$enableval" = yes; then
10016 wx_cv_use_choice='wxUSE_CHOICE=yes'
10018 wx_cv_use_choice='wxUSE_CHOICE=no'
10023 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10028 eval "$wx_cv_use_choice"
10030 if test x"$enablestring" = xdisable; then
10031 if test $wxUSE_CHOICE = no; then
10037 result=$wxUSE_CHOICE
10040 { echo "$as_me:$LINENO: result: $result" >&5
10041 echo "${ECHO_T}$result" >&6; }
10045 defaultval=$wxUSE_ALL_FEATURES
10046 if test -z "$defaultval"; then
10047 if test x"$enablestring" = xdisable; then
10054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10056 # Check whether --enable-choicebook was given.
10057 if test "${enable_choicebook+set}" = set; then
10058 enableval=$enable_choicebook;
10059 if test "$enableval" = yes; then
10060 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10062 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10067 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10072 eval "$wx_cv_use_choicebook"
10074 if test x"$enablestring" = xdisable; then
10075 if test $wxUSE_CHOICEBOOK = no; then
10081 result=$wxUSE_CHOICEBOOK
10084 { echo "$as_me:$LINENO: result: $result" >&5
10085 echo "${ECHO_T}$result" >&6; }
10089 defaultval=$wxUSE_ALL_FEATURES
10090 if test -z "$defaultval"; then
10091 if test x"$enablestring" = xdisable; then
10098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10100 # Check whether --enable-collpane was given.
10101 if test "${enable_collpane+set}" = set; then
10102 enableval=$enable_collpane;
10103 if test "$enableval" = yes; then
10104 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10106 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10111 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10116 eval "$wx_cv_use_collpane"
10118 if test x"$enablestring" = xdisable; then
10119 if test $wxUSE_COLLPANE = no; then
10125 result=$wxUSE_COLLPANE
10128 { echo "$as_me:$LINENO: result: $result" >&5
10129 echo "${ECHO_T}$result" >&6; }
10133 defaultval=$wxUSE_ALL_FEATURES
10134 if test -z "$defaultval"; then
10135 if test x"$enablestring" = xdisable; then
10142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10144 # Check whether --enable-colourpicker was given.
10145 if test "${enable_colourpicker+set}" = set; then
10146 enableval=$enable_colourpicker;
10147 if test "$enableval" = yes; then
10148 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10150 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10155 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10160 eval "$wx_cv_use_colourpicker"
10162 if test x"$enablestring" = xdisable; then
10163 if test $wxUSE_COLOURPICKERCTRL = no; then
10169 result=$wxUSE_COLOURPICKERCTRL
10172 { echo "$as_me:$LINENO: result: $result" >&5
10173 echo "${ECHO_T}$result" >&6; }
10177 defaultval=$wxUSE_ALL_FEATURES
10178 if test -z "$defaultval"; then
10179 if test x"$enablestring" = xdisable; then
10186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10187 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10188 # Check whether --enable-combobox was given.
10189 if test "${enable_combobox+set}" = set; then
10190 enableval=$enable_combobox;
10191 if test "$enableval" = yes; then
10192 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10194 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10199 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10204 eval "$wx_cv_use_combobox"
10206 if test x"$enablestring" = xdisable; then
10207 if test $wxUSE_COMBOBOX = no; then
10213 result=$wxUSE_COMBOBOX
10216 { echo "$as_me:$LINENO: result: $result" >&5
10217 echo "${ECHO_T}$result" >&6; }
10221 defaultval=$wxUSE_ALL_FEATURES
10222 if test -z "$defaultval"; then
10223 if test x"$enablestring" = xdisable; then
10230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10231 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10232 # Check whether --enable-comboctrl was given.
10233 if test "${enable_comboctrl+set}" = set; then
10234 enableval=$enable_comboctrl;
10235 if test "$enableval" = yes; then
10236 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10238 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10243 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10248 eval "$wx_cv_use_comboctrl"
10250 if test x"$enablestring" = xdisable; then
10251 if test $wxUSE_COMBOCTRL = no; then
10257 result=$wxUSE_COMBOCTRL
10260 { echo "$as_me:$LINENO: result: $result" >&5
10261 echo "${ECHO_T}$result" >&6; }
10265 defaultval=$wxUSE_ALL_FEATURES
10266 if test -z "$defaultval"; then
10267 if test x"$enablestring" = xdisable; then
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10276 # Check whether --enable-dataviewctrl was given.
10277 if test "${enable_dataviewctrl+set}" = set; then
10278 enableval=$enable_dataviewctrl;
10279 if test "$enableval" = yes; then
10280 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10282 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10287 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10292 eval "$wx_cv_use_dataviewctrl"
10294 if test x"$enablestring" = xdisable; then
10295 if test $wxUSE_DATAVIEWCTRL = no; then
10301 result=$wxUSE_DATAVIEWCTRL
10304 { echo "$as_me:$LINENO: result: $result" >&5
10305 echo "${ECHO_T}$result" >&6; }
10309 defaultval=$wxUSE_ALL_FEATURES
10310 if test -z "$defaultval"; then
10311 if test x"$enablestring" = xdisable; then
10318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10320 # Check whether --enable-datepick was given.
10321 if test "${enable_datepick+set}" = set; then
10322 enableval=$enable_datepick;
10323 if test "$enableval" = yes; then
10324 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10326 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10331 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10336 eval "$wx_cv_use_datepick"
10338 if test x"$enablestring" = xdisable; then
10339 if test $wxUSE_DATEPICKCTRL = no; then
10345 result=$wxUSE_DATEPICKCTRL
10348 { echo "$as_me:$LINENO: result: $result" >&5
10349 echo "${ECHO_T}$result" >&6; }
10353 defaultval=$wxUSE_ALL_FEATURES
10354 if test -z "$defaultval"; then
10355 if test x"$enablestring" = xdisable; then
10362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10363 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10364 # Check whether --enable-detect_sm was given.
10365 if test "${enable_detect_sm+set}" = set; then
10366 enableval=$enable_detect_sm;
10367 if test "$enableval" = yes; then
10368 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10370 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10375 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10380 eval "$wx_cv_use_detect_sm"
10382 if test x"$enablestring" = xdisable; then
10383 if test $wxUSE_DETECT_SM = no; then
10389 result=$wxUSE_DETECT_SM
10392 { echo "$as_me:$LINENO: result: $result" >&5
10393 echo "${ECHO_T}$result" >&6; }
10397 defaultval=$wxUSE_ALL_FEATURES
10398 if test -z "$defaultval"; then
10399 if test x"$enablestring" = xdisable; then
10406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10407 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10408 # Check whether --enable-dirpicker was given.
10409 if test "${enable_dirpicker+set}" = set; then
10410 enableval=$enable_dirpicker;
10411 if test "$enableval" = yes; then
10412 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10414 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10419 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10424 eval "$wx_cv_use_dirpicker"
10426 if test x"$enablestring" = xdisable; then
10427 if test $wxUSE_DIRPICKERCTRL = no; then
10433 result=$wxUSE_DIRPICKERCTRL
10436 { echo "$as_me:$LINENO: result: $result" >&5
10437 echo "${ECHO_T}$result" >&6; }
10441 defaultval=$wxUSE_ALL_FEATURES
10442 if test -z "$defaultval"; then
10443 if test x"$enablestring" = xdisable; then
10450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10451 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10452 # Check whether --enable-display was given.
10453 if test "${enable_display+set}" = set; then
10454 enableval=$enable_display;
10455 if test "$enableval" = yes; then
10456 wx_cv_use_display='wxUSE_DISPLAY=yes'
10458 wx_cv_use_display='wxUSE_DISPLAY=no'
10463 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10468 eval "$wx_cv_use_display"
10470 if test x"$enablestring" = xdisable; then
10471 if test $wxUSE_DISPLAY = no; then
10477 result=$wxUSE_DISPLAY
10480 { echo "$as_me:$LINENO: result: $result" >&5
10481 echo "${ECHO_T}$result" >&6; }
10485 defaultval=$wxUSE_ALL_FEATURES
10486 if test -z "$defaultval"; then
10487 if test x"$enablestring" = xdisable; then
10494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10495 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10496 # Check whether --enable-editablebox was given.
10497 if test "${enable_editablebox+set}" = set; then
10498 enableval=$enable_editablebox;
10499 if test "$enableval" = yes; then
10500 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10502 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10507 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10512 eval "$wx_cv_use_editablebox"
10514 if test x"$enablestring" = xdisable; then
10515 if test $wxUSE_EDITABLELISTBOX = no; then
10521 result=$wxUSE_EDITABLELISTBOX
10524 { echo "$as_me:$LINENO: result: $result" >&5
10525 echo "${ECHO_T}$result" >&6; }
10529 defaultval=$wxUSE_ALL_FEATURES
10530 if test -z "$defaultval"; then
10531 if test x"$enablestring" = xdisable; then
10538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10539 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10540 # Check whether --enable-filectrl was given.
10541 if test "${enable_filectrl+set}" = set; then
10542 enableval=$enable_filectrl;
10543 if test "$enableval" = yes; then
10544 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10546 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10551 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10556 eval "$wx_cv_use_filectrl"
10558 if test x"$enablestring" = xdisable; then
10559 if test $wxUSE_FILECTRL = no; then
10565 result=$wxUSE_FILECTRL
10568 { echo "$as_me:$LINENO: result: $result" >&5
10569 echo "${ECHO_T}$result" >&6; }
10573 defaultval=$wxUSE_ALL_FEATURES
10574 if test -z "$defaultval"; then
10575 if test x"$enablestring" = xdisable; then
10582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10584 # Check whether --enable-filepicker was given.
10585 if test "${enable_filepicker+set}" = set; then
10586 enableval=$enable_filepicker;
10587 if test "$enableval" = yes; then
10588 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10590 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10595 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10600 eval "$wx_cv_use_filepicker"
10602 if test x"$enablestring" = xdisable; then
10603 if test $wxUSE_FILEPICKERCTRL = no; then
10609 result=$wxUSE_FILEPICKERCTRL
10612 { echo "$as_me:$LINENO: result: $result" >&5
10613 echo "${ECHO_T}$result" >&6; }
10617 defaultval=$wxUSE_ALL_FEATURES
10618 if test -z "$defaultval"; then
10619 if test x"$enablestring" = xdisable; then
10626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10627 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10628 # Check whether --enable-fontpicker was given.
10629 if test "${enable_fontpicker+set}" = set; then
10630 enableval=$enable_fontpicker;
10631 if test "$enableval" = yes; then
10632 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10634 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10639 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10644 eval "$wx_cv_use_fontpicker"
10646 if test x"$enablestring" = xdisable; then
10647 if test $wxUSE_FONTPICKERCTRL = no; then
10653 result=$wxUSE_FONTPICKERCTRL
10656 { echo "$as_me:$LINENO: result: $result" >&5
10657 echo "${ECHO_T}$result" >&6; }
10661 defaultval=$wxUSE_ALL_FEATURES
10662 if test -z "$defaultval"; then
10663 if test x"$enablestring" = xdisable; then
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10672 # Check whether --enable-gauge was given.
10673 if test "${enable_gauge+set}" = set; then
10674 enableval=$enable_gauge;
10675 if test "$enableval" = yes; then
10676 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10678 wx_cv_use_gauge='wxUSE_GAUGE=no'
10683 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10688 eval "$wx_cv_use_gauge"
10690 if test x"$enablestring" = xdisable; then
10691 if test $wxUSE_GAUGE = no; then
10697 result=$wxUSE_GAUGE
10700 { echo "$as_me:$LINENO: result: $result" >&5
10701 echo "${ECHO_T}$result" >&6; }
10705 defaultval=$wxUSE_ALL_FEATURES
10706 if test -z "$defaultval"; then
10707 if test x"$enablestring" = xdisable; then
10714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10715 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10716 # Check whether --enable-grid was given.
10717 if test "${enable_grid+set}" = set; then
10718 enableval=$enable_grid;
10719 if test "$enableval" = yes; then
10720 wx_cv_use_grid='wxUSE_GRID=yes'
10722 wx_cv_use_grid='wxUSE_GRID=no'
10727 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10732 eval "$wx_cv_use_grid"
10734 if test x"$enablestring" = xdisable; then
10735 if test $wxUSE_GRID = no; then
10744 { echo "$as_me:$LINENO: result: $result" >&5
10745 echo "${ECHO_T}$result" >&6; }
10749 defaultval=$wxUSE_ALL_FEATURES
10750 if test -z "$defaultval"; then
10751 if test x"$enablestring" = xdisable; then
10758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10759 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10760 # Check whether --enable-headerctrl was given.
10761 if test "${enable_headerctrl+set}" = set; then
10762 enableval=$enable_headerctrl;
10763 if test "$enableval" = yes; then
10764 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10766 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10771 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10776 eval "$wx_cv_use_headerctrl"
10778 if test x"$enablestring" = xdisable; then
10779 if test $wxUSE_HEADERCTRL = no; then
10785 result=$wxUSE_HEADERCTRL
10788 { echo "$as_me:$LINENO: result: $result" >&5
10789 echo "${ECHO_T}$result" >&6; }
10793 defaultval=$wxUSE_ALL_FEATURES
10794 if test -z "$defaultval"; then
10795 if test x"$enablestring" = xdisable; then
10802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10803 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10804 # Check whether --enable-hyperlink was given.
10805 if test "${enable_hyperlink+set}" = set; then
10806 enableval=$enable_hyperlink;
10807 if test "$enableval" = yes; then
10808 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10810 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10815 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10820 eval "$wx_cv_use_hyperlink"
10822 if test x"$enablestring" = xdisable; then
10823 if test $wxUSE_HYPERLINKCTRL = no; then
10829 result=$wxUSE_HYPERLINKCTRL
10832 { echo "$as_me:$LINENO: result: $result" >&5
10833 echo "${ECHO_T}$result" >&6; }
10837 defaultval=$wxUSE_ALL_FEATURES
10838 if test -z "$defaultval"; then
10839 if test x"$enablestring" = xdisable; then
10846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10848 # Check whether --enable-imaglist was given.
10849 if test "${enable_imaglist+set}" = set; then
10850 enableval=$enable_imaglist;
10851 if test "$enableval" = yes; then
10852 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10854 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10859 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10864 eval "$wx_cv_use_imaglist"
10866 if test x"$enablestring" = xdisable; then
10867 if test $wxUSE_IMAGLIST = no; then
10873 result=$wxUSE_IMAGLIST
10876 { echo "$as_me:$LINENO: result: $result" >&5
10877 echo "${ECHO_T}$result" >&6; }
10881 defaultval=$wxUSE_ALL_FEATURES
10882 if test -z "$defaultval"; then
10883 if test x"$enablestring" = xdisable; then
10890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10891 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10892 # Check whether --enable-listbook was given.
10893 if test "${enable_listbook+set}" = set; then
10894 enableval=$enable_listbook;
10895 if test "$enableval" = yes; then
10896 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10898 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10903 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10908 eval "$wx_cv_use_listbook"
10910 if test x"$enablestring" = xdisable; then
10911 if test $wxUSE_LISTBOOK = no; then
10917 result=$wxUSE_LISTBOOK
10920 { echo "$as_me:$LINENO: result: $result" >&5
10921 echo "${ECHO_T}$result" >&6; }
10925 defaultval=$wxUSE_ALL_FEATURES
10926 if test -z "$defaultval"; then
10927 if test x"$enablestring" = xdisable; then
10934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10935 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10936 # Check whether --enable-listbox was given.
10937 if test "${enable_listbox+set}" = set; then
10938 enableval=$enable_listbox;
10939 if test "$enableval" = yes; then
10940 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10942 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10947 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10952 eval "$wx_cv_use_listbox"
10954 if test x"$enablestring" = xdisable; then
10955 if test $wxUSE_LISTBOX = no; then
10961 result=$wxUSE_LISTBOX
10964 { echo "$as_me:$LINENO: result: $result" >&5
10965 echo "${ECHO_T}$result" >&6; }
10969 defaultval=$wxUSE_ALL_FEATURES
10970 if test -z "$defaultval"; then
10971 if test x"$enablestring" = xdisable; then
10978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10979 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10980 # Check whether --enable-listctrl was given.
10981 if test "${enable_listctrl+set}" = set; then
10982 enableval=$enable_listctrl;
10983 if test "$enableval" = yes; then
10984 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10986 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10991 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10996 eval "$wx_cv_use_listctrl"
10998 if test x"$enablestring" = xdisable; then
10999 if test $wxUSE_LISTCTRL = no; then
11005 result=$wxUSE_LISTCTRL
11008 { echo "$as_me:$LINENO: result: $result" >&5
11009 echo "${ECHO_T}$result" >&6; }
11013 defaultval=$wxUSE_ALL_FEATURES
11014 if test -z "$defaultval"; then
11015 if test x"$enablestring" = xdisable; then
11022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11023 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11024 # Check whether --enable-notebook was given.
11025 if test "${enable_notebook+set}" = set; then
11026 enableval=$enable_notebook;
11027 if test "$enableval" = yes; then
11028 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11030 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11035 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11040 eval "$wx_cv_use_notebook"
11042 if test x"$enablestring" = xdisable; then
11043 if test $wxUSE_NOTEBOOK = no; then
11049 result=$wxUSE_NOTEBOOK
11052 { echo "$as_me:$LINENO: result: $result" >&5
11053 echo "${ECHO_T}$result" >&6; }
11057 defaultval=$wxUSE_ALL_FEATURES
11058 if test -z "$defaultval"; then
11059 if test x"$enablestring" = xdisable; then
11066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11067 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11068 # Check whether --enable-notifmsg was given.
11069 if test "${enable_notifmsg+set}" = set; then
11070 enableval=$enable_notifmsg;
11071 if test "$enableval" = yes; then
11072 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11074 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11079 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11084 eval "$wx_cv_use_notifmsg"
11086 if test x"$enablestring" = xdisable; then
11087 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11093 result=$wxUSE_NOTIFICATION_MESSAGE
11096 { echo "$as_me:$LINENO: result: $result" >&5
11097 echo "${ECHO_T}$result" >&6; }
11101 defaultval=$wxUSE_ALL_FEATURES
11102 if test -z "$defaultval"; then
11103 if test x"$enablestring" = xdisable; then
11110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11111 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11112 # Check whether --enable-odcombobox was given.
11113 if test "${enable_odcombobox+set}" = set; then
11114 enableval=$enable_odcombobox;
11115 if test "$enableval" = yes; then
11116 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11118 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11123 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11128 eval "$wx_cv_use_odcombobox"
11130 if test x"$enablestring" = xdisable; then
11131 if test $wxUSE_ODCOMBOBOX = no; then
11137 result=$wxUSE_ODCOMBOBOX
11140 { echo "$as_me:$LINENO: result: $result" >&5
11141 echo "${ECHO_T}$result" >&6; }
11145 defaultval=$wxUSE_ALL_FEATURES
11146 if test -z "$defaultval"; then
11147 if test x"$enablestring" = xdisable; then
11154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11155 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11156 # Check whether --enable-popupwin was given.
11157 if test "${enable_popupwin+set}" = set; then
11158 enableval=$enable_popupwin;
11159 if test "$enableval" = yes; then
11160 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11162 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11167 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11172 eval "$wx_cv_use_popupwin"
11174 if test x"$enablestring" = xdisable; then
11175 if test $wxUSE_POPUPWIN = no; then
11181 result=$wxUSE_POPUPWIN
11184 { echo "$as_me:$LINENO: result: $result" >&5
11185 echo "${ECHO_T}$result" >&6; }
11189 defaultval=$wxUSE_ALL_FEATURES
11190 if test -z "$defaultval"; then
11191 if test x"$enablestring" = xdisable; then
11198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11199 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11200 # Check whether --enable-radiobox was given.
11201 if test "${enable_radiobox+set}" = set; then
11202 enableval=$enable_radiobox;
11203 if test "$enableval" = yes; then
11204 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11206 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11211 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11216 eval "$wx_cv_use_radiobox"
11218 if test x"$enablestring" = xdisable; then
11219 if test $wxUSE_RADIOBOX = no; then
11225 result=$wxUSE_RADIOBOX
11228 { echo "$as_me:$LINENO: result: $result" >&5
11229 echo "${ECHO_T}$result" >&6; }
11233 defaultval=$wxUSE_ALL_FEATURES
11234 if test -z "$defaultval"; then
11235 if test x"$enablestring" = xdisable; then
11242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11244 # Check whether --enable-radiobtn was given.
11245 if test "${enable_radiobtn+set}" = set; then
11246 enableval=$enable_radiobtn;
11247 if test "$enableval" = yes; then
11248 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11250 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11255 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11260 eval "$wx_cv_use_radiobtn"
11262 if test x"$enablestring" = xdisable; then
11263 if test $wxUSE_RADIOBTN = no; then
11269 result=$wxUSE_RADIOBTN
11272 { echo "$as_me:$LINENO: result: $result" >&5
11273 echo "${ECHO_T}$result" >&6; }
11277 defaultval=$wxUSE_ALL_FEATURES
11278 if test -z "$defaultval"; then
11279 if test x"$enablestring" = xdisable; then
11286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11287 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11288 # Check whether --enable-rearrangectrl was given.
11289 if test "${enable_rearrangectrl+set}" = set; then
11290 enableval=$enable_rearrangectrl;
11291 if test "$enableval" = yes; then
11292 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11294 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11299 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11304 eval "$wx_cv_use_rearrangectrl"
11306 if test x"$enablestring" = xdisable; then
11307 if test $wxUSE_REARRANGECTRL = no; then
11313 result=$wxUSE_REARRANGECTRL
11316 { echo "$as_me:$LINENO: result: $result" >&5
11317 echo "${ECHO_T}$result" >&6; }
11321 defaultval=$wxUSE_ALL_FEATURES
11322 if test -z "$defaultval"; then
11323 if test x"$enablestring" = xdisable; then
11330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11331 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11332 # Check whether --enable-sash was given.
11333 if test "${enable_sash+set}" = set; then
11334 enableval=$enable_sash;
11335 if test "$enableval" = yes; then
11336 wx_cv_use_sash='wxUSE_SASH=yes'
11338 wx_cv_use_sash='wxUSE_SASH=no'
11343 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11348 eval "$wx_cv_use_sash"
11350 if test x"$enablestring" = xdisable; then
11351 if test $wxUSE_SASH = no; then
11360 { echo "$as_me:$LINENO: result: $result" >&5
11361 echo "${ECHO_T}$result" >&6; }
11365 defaultval=$wxUSE_ALL_FEATURES
11366 if test -z "$defaultval"; then
11367 if test x"$enablestring" = xdisable; then
11374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11375 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11376 # Check whether --enable-scrollbar was given.
11377 if test "${enable_scrollbar+set}" = set; then
11378 enableval=$enable_scrollbar;
11379 if test "$enableval" = yes; then
11380 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11382 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11387 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11392 eval "$wx_cv_use_scrollbar"
11394 if test x"$enablestring" = xdisable; then
11395 if test $wxUSE_SCROLLBAR = no; then
11401 result=$wxUSE_SCROLLBAR
11404 { echo "$as_me:$LINENO: result: $result" >&5
11405 echo "${ECHO_T}$result" >&6; }
11409 defaultval=$wxUSE_ALL_FEATURES
11410 if test -z "$defaultval"; then
11411 if test x"$enablestring" = xdisable; then
11418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11419 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11420 # Check whether --enable-searchctrl was given.
11421 if test "${enable_searchctrl+set}" = set; then
11422 enableval=$enable_searchctrl;
11423 if test "$enableval" = yes; then
11424 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11426 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11431 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11436 eval "$wx_cv_use_searchctrl"
11438 if test x"$enablestring" = xdisable; then
11439 if test $wxUSE_SEARCHCTRL = no; then
11445 result=$wxUSE_SEARCHCTRL
11448 { echo "$as_me:$LINENO: result: $result" >&5
11449 echo "${ECHO_T}$result" >&6; }
11453 defaultval=$wxUSE_ALL_FEATURES
11454 if test -z "$defaultval"; then
11455 if test x"$enablestring" = xdisable; then
11462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11463 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11464 # Check whether --enable-slider was given.
11465 if test "${enable_slider+set}" = set; then
11466 enableval=$enable_slider;
11467 if test "$enableval" = yes; then
11468 wx_cv_use_slider='wxUSE_SLIDER=yes'
11470 wx_cv_use_slider='wxUSE_SLIDER=no'
11475 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11480 eval "$wx_cv_use_slider"
11482 if test x"$enablestring" = xdisable; then
11483 if test $wxUSE_SLIDER = no; then
11489 result=$wxUSE_SLIDER
11492 { echo "$as_me:$LINENO: result: $result" >&5
11493 echo "${ECHO_T}$result" >&6; }
11497 defaultval=$wxUSE_ALL_FEATURES
11498 if test -z "$defaultval"; then
11499 if test x"$enablestring" = xdisable; then
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11508 # Check whether --enable-spinbtn was given.
11509 if test "${enable_spinbtn+set}" = set; then
11510 enableval=$enable_spinbtn;
11511 if test "$enableval" = yes; then
11512 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11514 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11519 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11524 eval "$wx_cv_use_spinbtn"
11526 if test x"$enablestring" = xdisable; then
11527 if test $wxUSE_SPINBTN = no; then
11533 result=$wxUSE_SPINBTN
11536 { echo "$as_me:$LINENO: result: $result" >&5
11537 echo "${ECHO_T}$result" >&6; }
11541 defaultval=$wxUSE_ALL_FEATURES
11542 if test -z "$defaultval"; then
11543 if test x"$enablestring" = xdisable; then
11550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11552 # Check whether --enable-spinctrl was given.
11553 if test "${enable_spinctrl+set}" = set; then
11554 enableval=$enable_spinctrl;
11555 if test "$enableval" = yes; then
11556 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11558 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11563 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11568 eval "$wx_cv_use_spinctrl"
11570 if test x"$enablestring" = xdisable; then
11571 if test $wxUSE_SPINCTRL = no; then
11577 result=$wxUSE_SPINCTRL
11580 { echo "$as_me:$LINENO: result: $result" >&5
11581 echo "${ECHO_T}$result" >&6; }
11585 defaultval=$wxUSE_ALL_FEATURES
11586 if test -z "$defaultval"; then
11587 if test x"$enablestring" = xdisable; then
11594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11595 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11596 # Check whether --enable-splitter was given.
11597 if test "${enable_splitter+set}" = set; then
11598 enableval=$enable_splitter;
11599 if test "$enableval" = yes; then
11600 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11602 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11607 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11612 eval "$wx_cv_use_splitter"
11614 if test x"$enablestring" = xdisable; then
11615 if test $wxUSE_SPLITTER = no; then
11621 result=$wxUSE_SPLITTER
11624 { echo "$as_me:$LINENO: result: $result" >&5
11625 echo "${ECHO_T}$result" >&6; }
11629 defaultval=$wxUSE_ALL_FEATURES
11630 if test -z "$defaultval"; then
11631 if test x"$enablestring" = xdisable; then
11638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11639 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11640 # Check whether --enable-statbmp was given.
11641 if test "${enable_statbmp+set}" = set; then
11642 enableval=$enable_statbmp;
11643 if test "$enableval" = yes; then
11644 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11646 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11651 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11656 eval "$wx_cv_use_statbmp"
11658 if test x"$enablestring" = xdisable; then
11659 if test $wxUSE_STATBMP = no; then
11665 result=$wxUSE_STATBMP
11668 { echo "$as_me:$LINENO: result: $result" >&5
11669 echo "${ECHO_T}$result" >&6; }
11673 defaultval=$wxUSE_ALL_FEATURES
11674 if test -z "$defaultval"; then
11675 if test x"$enablestring" = xdisable; then
11682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11683 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11684 # Check whether --enable-statbox was given.
11685 if test "${enable_statbox+set}" = set; then
11686 enableval=$enable_statbox;
11687 if test "$enableval" = yes; then
11688 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11690 wx_cv_use_statbox='wxUSE_STATBOX=no'
11695 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11700 eval "$wx_cv_use_statbox"
11702 if test x"$enablestring" = xdisable; then
11703 if test $wxUSE_STATBOX = no; then
11709 result=$wxUSE_STATBOX
11712 { echo "$as_me:$LINENO: result: $result" >&5
11713 echo "${ECHO_T}$result" >&6; }
11717 defaultval=$wxUSE_ALL_FEATURES
11718 if test -z "$defaultval"; then
11719 if test x"$enablestring" = xdisable; then
11726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11727 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11728 # Check whether --enable-statline was given.
11729 if test "${enable_statline+set}" = set; then
11730 enableval=$enable_statline;
11731 if test "$enableval" = yes; then
11732 wx_cv_use_statline='wxUSE_STATLINE=yes'
11734 wx_cv_use_statline='wxUSE_STATLINE=no'
11739 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11744 eval "$wx_cv_use_statline"
11746 if test x"$enablestring" = xdisable; then
11747 if test $wxUSE_STATLINE = no; then
11753 result=$wxUSE_STATLINE
11756 { echo "$as_me:$LINENO: result: $result" >&5
11757 echo "${ECHO_T}$result" >&6; }
11761 defaultval=$wxUSE_ALL_FEATURES
11762 if test -z "$defaultval"; then
11763 if test x"$enablestring" = xdisable; then
11770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11771 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11772 # Check whether --enable-stattext was given.
11773 if test "${enable_stattext+set}" = set; then
11774 enableval=$enable_stattext;
11775 if test "$enableval" = yes; then
11776 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11778 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11783 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11788 eval "$wx_cv_use_stattext"
11790 if test x"$enablestring" = xdisable; then
11791 if test $wxUSE_STATTEXT = no; then
11797 result=$wxUSE_STATTEXT
11800 { echo "$as_me:$LINENO: result: $result" >&5
11801 echo "${ECHO_T}$result" >&6; }
11805 defaultval=$wxUSE_ALL_FEATURES
11806 if test -z "$defaultval"; then
11807 if test x"$enablestring" = xdisable; then
11814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11815 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11816 # Check whether --enable-statusbar was given.
11817 if test "${enable_statusbar+set}" = set; then
11818 enableval=$enable_statusbar;
11819 if test "$enableval" = yes; then
11820 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11822 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11827 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11832 eval "$wx_cv_use_statusbar"
11834 if test x"$enablestring" = xdisable; then
11835 if test $wxUSE_STATUSBAR = no; then
11841 result=$wxUSE_STATUSBAR
11844 { echo "$as_me:$LINENO: result: $result" >&5
11845 echo "${ECHO_T}$result" >&6; }
11849 defaultval=$wxUSE_ALL_FEATURES
11850 if test -z "$defaultval"; then
11851 if test x"$enablestring" = xdisable; then
11858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11859 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11860 # Check whether --enable-taskbaricon was given.
11861 if test "${enable_taskbaricon+set}" = set; then
11862 enableval=$enable_taskbaricon;
11863 if test "$enableval" = yes; then
11864 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11866 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11871 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11876 eval "$wx_cv_use_taskbaricon"
11878 if test x"$enablestring" = xdisable; then
11879 if test $wxUSE_TASKBARICON = no; then
11885 result=$wxUSE_TASKBARICON
11888 { echo "$as_me:$LINENO: result: $result" >&5
11889 echo "${ECHO_T}$result" >&6; }
11893 defaultval=$wxUSE_ALL_FEATURES
11894 if test -z "$defaultval"; then
11895 if test x"$enablestring" = xdisable; then
11902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11903 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11904 # Check whether --enable-tbarnative was given.
11905 if test "${enable_tbarnative+set}" = set; then
11906 enableval=$enable_tbarnative;
11907 if test "$enableval" = yes; then
11908 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11910 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11915 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11920 eval "$wx_cv_use_tbarnative"
11922 if test x"$enablestring" = xdisable; then
11923 if test $wxUSE_TOOLBAR_NATIVE = no; then
11929 result=$wxUSE_TOOLBAR_NATIVE
11932 { echo "$as_me:$LINENO: result: $result" >&5
11933 echo "${ECHO_T}$result" >&6; }
11937 defaultval=$wxUSE_ALL_FEATURES
11938 if test -z "$defaultval"; then
11939 if test x"$enablestring" = xdisable; then
11946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11947 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11948 # Check whether --enable-textctrl was given.
11949 if test "${enable_textctrl+set}" = set; then
11950 enableval=$enable_textctrl;
11951 if test "$enableval" = yes; then
11952 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11954 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11959 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11964 eval "$wx_cv_use_textctrl"
11966 if test x"$enablestring" = xdisable; then
11967 if test $wxUSE_TEXTCTRL = no; then
11973 result=$wxUSE_TEXTCTRL
11976 { echo "$as_me:$LINENO: result: $result" >&5
11977 echo "${ECHO_T}$result" >&6; }
11981 defaultval=$wxUSE_ALL_FEATURES
11982 if test -z "$defaultval"; then
11983 if test x"$enablestring" = xdisable; then
11990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11991 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11992 # Check whether --enable-tipwindow was given.
11993 if test "${enable_tipwindow+set}" = set; then
11994 enableval=$enable_tipwindow;
11995 if test "$enableval" = yes; then
11996 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11998 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12003 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12008 eval "$wx_cv_use_tipwindow"
12010 if test x"$enablestring" = xdisable; then
12011 if test $wxUSE_TIPWINDOW = no; then
12017 result=$wxUSE_TIPWINDOW
12020 { echo "$as_me:$LINENO: result: $result" >&5
12021 echo "${ECHO_T}$result" >&6; }
12025 defaultval=$wxUSE_ALL_FEATURES
12026 if test -z "$defaultval"; then
12027 if test x"$enablestring" = xdisable; then
12034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12035 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12036 # Check whether --enable-togglebtn was given.
12037 if test "${enable_togglebtn+set}" = set; then
12038 enableval=$enable_togglebtn;
12039 if test "$enableval" = yes; then
12040 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12042 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12047 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12052 eval "$wx_cv_use_togglebtn"
12054 if test x"$enablestring" = xdisable; then
12055 if test $wxUSE_TOGGLEBTN = no; then
12061 result=$wxUSE_TOGGLEBTN
12064 { echo "$as_me:$LINENO: result: $result" >&5
12065 echo "${ECHO_T}$result" >&6; }
12069 defaultval=$wxUSE_ALL_FEATURES
12070 if test -z "$defaultval"; then
12071 if test x"$enablestring" = xdisable; then
12078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12079 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12080 # Check whether --enable-toolbar was given.
12081 if test "${enable_toolbar+set}" = set; then
12082 enableval=$enable_toolbar;
12083 if test "$enableval" = yes; then
12084 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12086 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12091 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12096 eval "$wx_cv_use_toolbar"
12098 if test x"$enablestring" = xdisable; then
12099 if test $wxUSE_TOOLBAR = no; then
12105 result=$wxUSE_TOOLBAR
12108 { echo "$as_me:$LINENO: result: $result" >&5
12109 echo "${ECHO_T}$result" >&6; }
12113 defaultval=$wxUSE_ALL_FEATURES
12114 if test -z "$defaultval"; then
12115 if test x"$enablestring" = xdisable; then
12122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12123 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12124 # Check whether --enable-toolbook was given.
12125 if test "${enable_toolbook+set}" = set; then
12126 enableval=$enable_toolbook;
12127 if test "$enableval" = yes; then
12128 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12130 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12135 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12140 eval "$wx_cv_use_toolbook"
12142 if test x"$enablestring" = xdisable; then
12143 if test $wxUSE_TOOLBOOK = no; then
12149 result=$wxUSE_TOOLBOOK
12152 { echo "$as_me:$LINENO: result: $result" >&5
12153 echo "${ECHO_T}$result" >&6; }
12157 defaultval=$wxUSE_ALL_FEATURES
12158 if test -z "$defaultval"; then
12159 if test x"$enablestring" = xdisable; then
12166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12167 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12168 # Check whether --enable-treebook was given.
12169 if test "${enable_treebook+set}" = set; then
12170 enableval=$enable_treebook;
12171 if test "$enableval" = yes; then
12172 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12174 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12179 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12184 eval "$wx_cv_use_treebook"
12186 if test x"$enablestring" = xdisable; then
12187 if test $wxUSE_TREEBOOK = no; then
12193 result=$wxUSE_TREEBOOK
12196 { echo "$as_me:$LINENO: result: $result" >&5
12197 echo "${ECHO_T}$result" >&6; }
12201 defaultval=$wxUSE_ALL_FEATURES
12202 if test -z "$defaultval"; then
12203 if test x"$enablestring" = xdisable; then
12210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12211 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12212 # Check whether --enable-treectrl was given.
12213 if test "${enable_treectrl+set}" = set; then
12214 enableval=$enable_treectrl;
12215 if test "$enableval" = yes; then
12216 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12218 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12223 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12228 eval "$wx_cv_use_treectrl"
12230 if test x"$enablestring" = xdisable; then
12231 if test $wxUSE_TREECTRL = no; then
12237 result=$wxUSE_TREECTRL
12240 { echo "$as_me:$LINENO: result: $result" >&5
12241 echo "${ECHO_T}$result" >&6; }
12247 defaultval=$wxUSE_ALL_FEATURES
12248 if test -z "$defaultval"; then
12249 if test x"$enablestring" = xdisable; then
12256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12257 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12258 # Check whether --enable-commondlg was given.
12259 if test "${enable_commondlg+set}" = set; then
12260 enableval=$enable_commondlg;
12261 if test "$enableval" = yes; then
12262 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12264 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12269 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12274 eval "$wx_cv_use_commondlg"
12276 if test x"$enablestring" = xdisable; then
12277 if test $wxUSE_COMMONDLGS = no; then
12283 result=$wxUSE_COMMONDLGS
12286 { echo "$as_me:$LINENO: result: $result" >&5
12287 echo "${ECHO_T}$result" >&6; }
12291 defaultval=$wxUSE_ALL_FEATURES
12292 if test -z "$defaultval"; then
12293 if test x"$enablestring" = xdisable; then
12300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12301 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12302 # Check whether --enable-aboutdlg was given.
12303 if test "${enable_aboutdlg+set}" = set; then
12304 enableval=$enable_aboutdlg;
12305 if test "$enableval" = yes; then
12306 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12308 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12313 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12318 eval "$wx_cv_use_aboutdlg"
12320 if test x"$enablestring" = xdisable; then
12321 if test $wxUSE_ABOUTDLG = no; then
12327 result=$wxUSE_ABOUTDLG
12330 { echo "$as_me:$LINENO: result: $result" >&5
12331 echo "${ECHO_T}$result" >&6; }
12335 defaultval=$wxUSE_ALL_FEATURES
12336 if test -z "$defaultval"; then
12337 if test x"$enablestring" = xdisable; then
12344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12345 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12346 # Check whether --enable-choicedlg was given.
12347 if test "${enable_choicedlg+set}" = set; then
12348 enableval=$enable_choicedlg;
12349 if test "$enableval" = yes; then
12350 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12352 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12357 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12362 eval "$wx_cv_use_choicedlg"
12364 if test x"$enablestring" = xdisable; then
12365 if test $wxUSE_CHOICEDLG = no; then
12371 result=$wxUSE_CHOICEDLG
12374 { echo "$as_me:$LINENO: result: $result" >&5
12375 echo "${ECHO_T}$result" >&6; }
12379 defaultval=$wxUSE_ALL_FEATURES
12380 if test -z "$defaultval"; then
12381 if test x"$enablestring" = xdisable; then
12388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12389 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12390 # Check whether --enable-coldlg was given.
12391 if test "${enable_coldlg+set}" = set; then
12392 enableval=$enable_coldlg;
12393 if test "$enableval" = yes; then
12394 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12396 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12401 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12406 eval "$wx_cv_use_coldlg"
12408 if test x"$enablestring" = xdisable; then
12409 if test $wxUSE_COLOURDLG = no; then
12415 result=$wxUSE_COLOURDLG
12418 { echo "$as_me:$LINENO: result: $result" >&5
12419 echo "${ECHO_T}$result" >&6; }
12423 defaultval=$wxUSE_ALL_FEATURES
12424 if test -z "$defaultval"; then
12425 if test x"$enablestring" = xdisable; then
12432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12433 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12434 # Check whether --enable-filedlg was given.
12435 if test "${enable_filedlg+set}" = set; then
12436 enableval=$enable_filedlg;
12437 if test "$enableval" = yes; then
12438 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12440 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12445 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12450 eval "$wx_cv_use_filedlg"
12452 if test x"$enablestring" = xdisable; then
12453 if test $wxUSE_FILEDLG = no; then
12459 result=$wxUSE_FILEDLG
12462 { echo "$as_me:$LINENO: result: $result" >&5
12463 echo "${ECHO_T}$result" >&6; }
12467 defaultval=$wxUSE_ALL_FEATURES
12468 if test -z "$defaultval"; then
12469 if test x"$enablestring" = xdisable; then
12476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12477 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12478 # Check whether --enable-finddlg was given.
12479 if test "${enable_finddlg+set}" = set; then
12480 enableval=$enable_finddlg;
12481 if test "$enableval" = yes; then
12482 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12484 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12489 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12494 eval "$wx_cv_use_finddlg"
12496 if test x"$enablestring" = xdisable; then
12497 if test $wxUSE_FINDREPLDLG = no; then
12503 result=$wxUSE_FINDREPLDLG
12506 { echo "$as_me:$LINENO: result: $result" >&5
12507 echo "${ECHO_T}$result" >&6; }
12511 defaultval=$wxUSE_ALL_FEATURES
12512 if test -z "$defaultval"; then
12513 if test x"$enablestring" = xdisable; then
12520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12521 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12522 # Check whether --enable-fontdlg was given.
12523 if test "${enable_fontdlg+set}" = set; then
12524 enableval=$enable_fontdlg;
12525 if test "$enableval" = yes; then
12526 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12528 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12533 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12538 eval "$wx_cv_use_fontdlg"
12540 if test x"$enablestring" = xdisable; then
12541 if test $wxUSE_FONTDLG = no; then
12547 result=$wxUSE_FONTDLG
12550 { echo "$as_me:$LINENO: result: $result" >&5
12551 echo "${ECHO_T}$result" >&6; }
12555 defaultval=$wxUSE_ALL_FEATURES
12556 if test -z "$defaultval"; then
12557 if test x"$enablestring" = xdisable; then
12564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12565 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12566 # Check whether --enable-dirdlg was given.
12567 if test "${enable_dirdlg+set}" = set; then
12568 enableval=$enable_dirdlg;
12569 if test "$enableval" = yes; then
12570 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12572 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12577 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12582 eval "$wx_cv_use_dirdlg"
12584 if test x"$enablestring" = xdisable; then
12585 if test $wxUSE_DIRDLG = no; then
12591 result=$wxUSE_DIRDLG
12594 { echo "$as_me:$LINENO: result: $result" >&5
12595 echo "${ECHO_T}$result" >&6; }
12599 defaultval=$wxUSE_ALL_FEATURES
12600 if test -z "$defaultval"; then
12601 if test x"$enablestring" = xdisable; then
12608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12609 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12610 # Check whether --enable-msgdlg was given.
12611 if test "${enable_msgdlg+set}" = set; then
12612 enableval=$enable_msgdlg;
12613 if test "$enableval" = yes; then
12614 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12616 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12621 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12626 eval "$wx_cv_use_msgdlg"
12628 if test x"$enablestring" = xdisable; then
12629 if test $wxUSE_MSGDLG = no; then
12635 result=$wxUSE_MSGDLG
12638 { echo "$as_me:$LINENO: result: $result" >&5
12639 echo "${ECHO_T}$result" >&6; }
12643 defaultval=$wxUSE_ALL_FEATURES
12644 if test -z "$defaultval"; then
12645 if test x"$enablestring" = xdisable; then
12652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12653 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12654 # Check whether --enable-numberdlg was given.
12655 if test "${enable_numberdlg+set}" = set; then
12656 enableval=$enable_numberdlg;
12657 if test "$enableval" = yes; then
12658 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12660 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12665 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12670 eval "$wx_cv_use_numberdlg"
12672 if test x"$enablestring" = xdisable; then
12673 if test $wxUSE_NUMBERDLG = no; then
12679 result=$wxUSE_NUMBERDLG
12682 { echo "$as_me:$LINENO: result: $result" >&5
12683 echo "${ECHO_T}$result" >&6; }
12687 defaultval=$wxUSE_ALL_FEATURES
12688 if test -z "$defaultval"; then
12689 if test x"$enablestring" = xdisable; then
12696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12697 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12698 # Check whether --enable-splash was given.
12699 if test "${enable_splash+set}" = set; then
12700 enableval=$enable_splash;
12701 if test "$enableval" = yes; then
12702 wx_cv_use_splash='wxUSE_SPLASH=yes'
12704 wx_cv_use_splash='wxUSE_SPLASH=no'
12709 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12714 eval "$wx_cv_use_splash"
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_SPLASH = no; then
12723 result=$wxUSE_SPLASH
12726 { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12742 # Check whether --enable-textdlg was given.
12743 if test "${enable_textdlg+set}" = set; then
12744 enableval=$enable_textdlg;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12748 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12753 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12758 eval "$wx_cv_use_textdlg"
12760 if test x"$enablestring" = xdisable; then
12761 if test $wxUSE_TEXTDLG = no; then
12767 result=$wxUSE_TEXTDLG
12770 { echo "$as_me:$LINENO: result: $result" >&5
12771 echo "${ECHO_T}$result" >&6; }
12775 defaultval=$wxUSE_ALL_FEATURES
12776 if test -z "$defaultval"; then
12777 if test x"$enablestring" = xdisable; then
12784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12785 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12786 # Check whether --enable-tipdlg was given.
12787 if test "${enable_tipdlg+set}" = set; then
12788 enableval=$enable_tipdlg;
12789 if test "$enableval" = yes; then
12790 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12792 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12797 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12802 eval "$wx_cv_use_tipdlg"
12804 if test x"$enablestring" = xdisable; then
12805 if test $wxUSE_STARTUP_TIPS = no; then
12811 result=$wxUSE_STARTUP_TIPS
12814 { echo "$as_me:$LINENO: result: $result" >&5
12815 echo "${ECHO_T}$result" >&6; }
12819 defaultval=$wxUSE_ALL_FEATURES
12820 if test -z "$defaultval"; then
12821 if test x"$enablestring" = xdisable; then
12828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12829 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12830 # Check whether --enable-progressdlg was given.
12831 if test "${enable_progressdlg+set}" = set; then
12832 enableval=$enable_progressdlg;
12833 if test "$enableval" = yes; then
12834 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12836 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12841 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12846 eval "$wx_cv_use_progressdlg"
12848 if test x"$enablestring" = xdisable; then
12849 if test $wxUSE_PROGRESSDLG = no; then
12855 result=$wxUSE_PROGRESSDLG
12858 { echo "$as_me:$LINENO: result: $result" >&5
12859 echo "${ECHO_T}$result" >&6; }
12863 defaultval=$wxUSE_ALL_FEATURES
12864 if test -z "$defaultval"; then
12865 if test x"$enablestring" = xdisable; then
12872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12873 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12874 # Check whether --enable-wizarddlg was given.
12875 if test "${enable_wizarddlg+set}" = set; then
12876 enableval=$enable_wizarddlg;
12877 if test "$enableval" = yes; then
12878 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12880 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12885 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12890 eval "$wx_cv_use_wizarddlg"
12892 if test x"$enablestring" = xdisable; then
12893 if test $wxUSE_WIZARDDLG = no; then
12899 result=$wxUSE_WIZARDDLG
12902 { echo "$as_me:$LINENO: result: $result" >&5
12903 echo "${ECHO_T}$result" >&6; }
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12920 # Check whether --enable-menus was given.
12921 if test "${enable_menus+set}" = set; then
12922 enableval=$enable_menus;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_menus='wxUSE_MENUS=yes'
12926 wx_cv_use_menus='wxUSE_MENUS=no'
12931 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12936 eval "$wx_cv_use_menus"
12938 if test x"$enablestring" = xdisable; then
12939 if test $wxUSE_MENUS = no; then
12945 result=$wxUSE_MENUS
12948 { echo "$as_me:$LINENO: result: $result" >&5
12949 echo "${ECHO_T}$result" >&6; }
12953 defaultval=$wxUSE_ALL_FEATURES
12954 if test -z "$defaultval"; then
12955 if test x"$enablestring" = xdisable; then
12962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12963 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12964 # Check whether --enable-miniframe was given.
12965 if test "${enable_miniframe+set}" = set; then
12966 enableval=$enable_miniframe;
12967 if test "$enableval" = yes; then
12968 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12970 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12975 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12980 eval "$wx_cv_use_miniframe"
12982 if test x"$enablestring" = xdisable; then
12983 if test $wxUSE_MINIFRAME = no; then
12989 result=$wxUSE_MINIFRAME
12992 { echo "$as_me:$LINENO: result: $result" >&5
12993 echo "${ECHO_T}$result" >&6; }
12997 defaultval=$wxUSE_ALL_FEATURES
12998 if test -z "$defaultval"; then
12999 if test x"$enablestring" = xdisable; then
13006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13007 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13008 # Check whether --enable-tooltips was given.
13009 if test "${enable_tooltips+set}" = set; then
13010 enableval=$enable_tooltips;
13011 if test "$enableval" = yes; then
13012 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13014 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13019 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13024 eval "$wx_cv_use_tooltips"
13026 if test x"$enablestring" = xdisable; then
13027 if test $wxUSE_TOOLTIPS = no; then
13033 result=$wxUSE_TOOLTIPS
13036 { echo "$as_me:$LINENO: result: $result" >&5
13037 echo "${ECHO_T}$result" >&6; }
13041 defaultval=$wxUSE_ALL_FEATURES
13042 if test -z "$defaultval"; then
13043 if test x"$enablestring" = xdisable; then
13050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13051 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13052 # Check whether --enable-splines was given.
13053 if test "${enable_splines+set}" = set; then
13054 enableval=$enable_splines;
13055 if test "$enableval" = yes; then
13056 wx_cv_use_splines='wxUSE_SPLINES=yes'
13058 wx_cv_use_splines='wxUSE_SPLINES=no'
13063 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13068 eval "$wx_cv_use_splines"
13070 if test x"$enablestring" = xdisable; then
13071 if test $wxUSE_SPLINES = no; then
13077 result=$wxUSE_SPLINES
13080 { echo "$as_me:$LINENO: result: $result" >&5
13081 echo "${ECHO_T}$result" >&6; }
13085 defaultval=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x"$enablestring" = xdisable; then
13094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13095 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13096 # Check whether --enable-mousewheel was given.
13097 if test "${enable_mousewheel+set}" = set; then
13098 enableval=$enable_mousewheel;
13099 if test "$enableval" = yes; then
13100 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13102 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13107 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13112 eval "$wx_cv_use_mousewheel"
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_MOUSEWHEEL = no; then
13121 result=$wxUSE_MOUSEWHEEL
13124 { echo "$as_me:$LINENO: result: $result" >&5
13125 echo "${ECHO_T}$result" >&6; }
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13139 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13140 # Check whether --enable-validators was given.
13141 if test "${enable_validators+set}" = set; then
13142 enableval=$enable_validators;
13143 if test "$enableval" = yes; then
13144 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13146 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13151 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13156 eval "$wx_cv_use_validators"
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_VALIDATORS = no; then
13165 result=$wxUSE_VALIDATORS
13168 { echo "$as_me:$LINENO: result: $result" >&5
13169 echo "${ECHO_T}$result" >&6; }
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13183 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13184 # Check whether --enable-busyinfo was given.
13185 if test "${enable_busyinfo+set}" = set; then
13186 enableval=$enable_busyinfo;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13190 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13195 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13200 eval "$wx_cv_use_busyinfo"
13202 if test x"$enablestring" = xdisable; then
13203 if test $wxUSE_BUSYINFO = no; then
13209 result=$wxUSE_BUSYINFO
13212 { echo "$as_me:$LINENO: result: $result" >&5
13213 echo "${ECHO_T}$result" >&6; }
13217 defaultval=$wxUSE_ALL_FEATURES
13218 if test -z "$defaultval"; then
13219 if test x"$enablestring" = xdisable; then
13226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13227 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13228 # Check whether --enable-joystick was given.
13229 if test "${enable_joystick+set}" = set; then
13230 enableval=$enable_joystick;
13231 if test "$enableval" = yes; then
13232 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13234 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13239 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13244 eval "$wx_cv_use_joystick"
13246 if test x"$enablestring" = xdisable; then
13247 if test $wxUSE_JOYSTICK = no; then
13253 result=$wxUSE_JOYSTICK
13256 { echo "$as_me:$LINENO: result: $result" >&5
13257 echo "${ECHO_T}$result" >&6; }
13261 defaultval=$wxUSE_ALL_FEATURES
13262 if test -z "$defaultval"; then
13263 if test x"$enablestring" = xdisable; then
13270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13271 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13272 # Check whether --enable-metafile was given.
13273 if test "${enable_metafile+set}" = set; then
13274 enableval=$enable_metafile;
13275 if test "$enableval" = yes; then
13276 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13278 wx_cv_use_metafile='wxUSE_METAFILE=no'
13283 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13288 eval "$wx_cv_use_metafile"
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_METAFILE = no; then
13297 result=$wxUSE_METAFILE
13300 { echo "$as_me:$LINENO: result: $result" >&5
13301 echo "${ECHO_T}$result" >&6; }
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13315 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13316 # Check whether --enable-dragimage was given.
13317 if test "${enable_dragimage+set}" = set; then
13318 enableval=$enable_dragimage;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13322 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13327 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13332 eval "$wx_cv_use_dragimage"
13334 if test x"$enablestring" = xdisable; then
13335 if test $wxUSE_DRAGIMAGE = no; then
13341 result=$wxUSE_DRAGIMAGE
13344 { echo "$as_me:$LINENO: result: $result" >&5
13345 echo "${ECHO_T}$result" >&6; }
13349 defaultval=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x"$enablestring" = xdisable; then
13358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13359 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13360 # Check whether --enable-accessibility was given.
13361 if test "${enable_accessibility+set}" = set; then
13362 enableval=$enable_accessibility;
13363 if test "$enableval" = yes; then
13364 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13366 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13371 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13376 eval "$wx_cv_use_accessibility"
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_ACCESSIBILITY = no; then
13385 result=$wxUSE_ACCESSIBILITY
13388 { echo "$as_me:$LINENO: result: $result" >&5
13389 echo "${ECHO_T}$result" >&6; }
13395 defaultval=$wxUSE_ALL_FEATURES
13396 if test -z "$defaultval"; then
13397 if test x"$enablestring" = xdisable; then
13404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13405 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13406 # Check whether --enable-palette was given.
13407 if test "${enable_palette+set}" = set; then
13408 enableval=$enable_palette;
13409 if test "$enableval" = yes; then
13410 wx_cv_use_palette='wxUSE_PALETTE=yes'
13412 wx_cv_use_palette='wxUSE_PALETTE=no'
13417 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13422 eval "$wx_cv_use_palette"
13424 if test x"$enablestring" = xdisable; then
13425 if test $wxUSE_PALETTE = no; then
13431 result=$wxUSE_PALETTE
13434 { echo "$as_me:$LINENO: result: $result" >&5
13435 echo "${ECHO_T}$result" >&6; }
13439 defaultval=$wxUSE_ALL_FEATURES
13440 if test -z "$defaultval"; then
13441 if test x"$enablestring" = xdisable; then
13448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13449 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13450 # Check whether --enable-image was given.
13451 if test "${enable_image+set}" = set; then
13452 enableval=$enable_image;
13453 if test "$enableval" = yes; then
13454 wx_cv_use_image='wxUSE_IMAGE=yes'
13456 wx_cv_use_image='wxUSE_IMAGE=no'
13461 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13466 eval "$wx_cv_use_image"
13468 if test x"$enablestring" = xdisable; then
13469 if test $wxUSE_IMAGE = no; then
13475 result=$wxUSE_IMAGE
13478 { echo "$as_me:$LINENO: result: $result" >&5
13479 echo "${ECHO_T}$result" >&6; }
13483 defaultval=$wxUSE_ALL_FEATURES
13484 if test -z "$defaultval"; then
13485 if test x"$enablestring" = xdisable; then
13492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13493 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13494 # Check whether --enable-gif was given.
13495 if test "${enable_gif+set}" = set; then
13496 enableval=$enable_gif;
13497 if test "$enableval" = yes; then
13498 wx_cv_use_gif='wxUSE_GIF=yes'
13500 wx_cv_use_gif='wxUSE_GIF=no'
13505 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13510 eval "$wx_cv_use_gif"
13512 if test x"$enablestring" = xdisable; then
13513 if test $wxUSE_GIF = no; then
13522 { echo "$as_me:$LINENO: result: $result" >&5
13523 echo "${ECHO_T}$result" >&6; }
13527 defaultval=$wxUSE_ALL_FEATURES
13528 if test -z "$defaultval"; then
13529 if test x"$enablestring" = xdisable; then
13536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13537 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13538 # Check whether --enable-pcx was given.
13539 if test "${enable_pcx+set}" = set; then
13540 enableval=$enable_pcx;
13541 if test "$enableval" = yes; then
13542 wx_cv_use_pcx='wxUSE_PCX=yes'
13544 wx_cv_use_pcx='wxUSE_PCX=no'
13549 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13554 eval "$wx_cv_use_pcx"
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_PCX = no; then
13566 { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13582 # Check whether --enable-tga was given.
13583 if test "${enable_tga+set}" = set; then
13584 enableval=$enable_tga;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_tga='wxUSE_TGA=yes'
13588 wx_cv_use_tga='wxUSE_TGA=no'
13593 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13598 eval "$wx_cv_use_tga"
13600 if test x"$enablestring" = xdisable; then
13601 if test $wxUSE_TGA = no; then
13610 { echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6; }
13615 defaultval=$wxUSE_ALL_FEATURES
13616 if test -z "$defaultval"; then
13617 if test x"$enablestring" = xdisable; then
13624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13626 # Check whether --enable-iff was given.
13627 if test "${enable_iff+set}" = set; then
13628 enableval=$enable_iff;
13629 if test "$enableval" = yes; then
13630 wx_cv_use_iff='wxUSE_IFF=yes'
13632 wx_cv_use_iff='wxUSE_IFF=no'
13637 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13642 eval "$wx_cv_use_iff"
13644 if test x"$enablestring" = xdisable; then
13645 if test $wxUSE_IFF = no; then
13654 { echo "$as_me:$LINENO: result: $result" >&5
13655 echo "${ECHO_T}$result" >&6; }
13659 defaultval=$wxUSE_ALL_FEATURES
13660 if test -z "$defaultval"; then
13661 if test x"$enablestring" = xdisable; then
13668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13669 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13670 # Check whether --enable-pnm was given.
13671 if test "${enable_pnm+set}" = set; then
13672 enableval=$enable_pnm;
13673 if test "$enableval" = yes; then
13674 wx_cv_use_pnm='wxUSE_PNM=yes'
13676 wx_cv_use_pnm='wxUSE_PNM=no'
13681 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13686 eval "$wx_cv_use_pnm"
13688 if test x"$enablestring" = xdisable; then
13689 if test $wxUSE_PNM = no; then
13698 { echo "$as_me:$LINENO: result: $result" >&5
13699 echo "${ECHO_T}$result" >&6; }
13703 defaultval=$wxUSE_ALL_FEATURES
13704 if test -z "$defaultval"; then
13705 if test x"$enablestring" = xdisable; then
13712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13713 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13714 # Check whether --enable-xpm was given.
13715 if test "${enable_xpm+set}" = set; then
13716 enableval=$enable_xpm;
13717 if test "$enableval" = yes; then
13718 wx_cv_use_xpm='wxUSE_XPM=yes'
13720 wx_cv_use_xpm='wxUSE_XPM=no'
13725 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13730 eval "$wx_cv_use_xpm"
13732 if test x"$enablestring" = xdisable; then
13733 if test $wxUSE_XPM = no; then
13742 { echo "$as_me:$LINENO: result: $result" >&5
13743 echo "${ECHO_T}$result" >&6; }
13747 defaultval=$wxUSE_ALL_FEATURES
13748 if test -z "$defaultval"; then
13749 if test x"$enablestring" = xdisable; then
13756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13757 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13758 # Check whether --enable-ico_cur was given.
13759 if test "${enable_ico_cur+set}" = set; then
13760 enableval=$enable_ico_cur;
13761 if test "$enableval" = yes; then
13762 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13764 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13769 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13774 eval "$wx_cv_use_ico_cur"
13776 if test x"$enablestring" = xdisable; then
13777 if test $wxUSE_ICO_CUR = no; then
13783 result=$wxUSE_ICO_CUR
13786 { echo "$as_me:$LINENO: result: $result" >&5
13787 echo "${ECHO_T}$result" >&6; }
13793 defaultval=$wxUSE_ALL_FEATURES
13794 if test -z "$defaultval"; then
13795 if test x"$enablestring" = xdisable; then
13802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13803 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13804 # Check whether --enable-dccache was given.
13805 if test "${enable_dccache+set}" = set; then
13806 enableval=$enable_dccache;
13807 if test "$enableval" = yes; then
13808 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13810 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13815 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13820 eval "$wx_cv_use_dccache"
13822 if test x"$enablestring" = xdisable; then
13823 if test $wxUSE_DC_CACHEING = no; then
13829 result=$wxUSE_DC_CACHEING
13832 { echo "$as_me:$LINENO: result: $result" >&5
13833 echo "${ECHO_T}$result" >&6; }
13837 defaultval=$wxUSE_ALL_FEATURES
13838 if test -z "$defaultval"; then
13839 if test x"$enablestring" = xdisable; then
13846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13847 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13848 # Check whether --enable-ps-in-msw was given.
13849 if test "${enable_ps_in_msw+set}" = set; then
13850 enableval=$enable_ps_in_msw;
13851 if test "$enableval" = yes; then
13852 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13854 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13859 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13864 eval "$wx_cv_use_ps_in_msw"
13866 if test x"$enablestring" = xdisable; then
13867 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13873 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13876 { echo "$as_me:$LINENO: result: $result" >&5
13877 echo "${ECHO_T}$result" >&6; }
13881 defaultval=$wxUSE_ALL_FEATURES
13882 if test -z "$defaultval"; then
13883 if test x"$enablestring" = xdisable; then
13890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13891 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13892 # Check whether --enable-ownerdrawn was given.
13893 if test "${enable_ownerdrawn+set}" = set; then
13894 enableval=$enable_ownerdrawn;
13895 if test "$enableval" = yes; then
13896 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13898 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13903 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13908 eval "$wx_cv_use_ownerdrawn"
13910 if test x"$enablestring" = xdisable; then
13911 if test $wxUSE_OWNER_DRAWN = no; then
13917 result=$wxUSE_OWNER_DRAWN
13920 { echo "$as_me:$LINENO: result: $result" >&5
13921 echo "${ECHO_T}$result" >&6; }
13925 defaultval=$wxUSE_ALL_FEATURES
13926 if test -z "$defaultval"; then
13927 if test x"$enablestring" = xdisable; then
13934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13935 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13936 # Check whether --enable-uxtheme was given.
13937 if test "${enable_uxtheme+set}" = set; then
13938 enableval=$enable_uxtheme;
13939 if test "$enableval" = yes; then
13940 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13942 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13947 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13952 eval "$wx_cv_use_uxtheme"
13954 if test x"$enablestring" = xdisable; then
13955 if test $wxUSE_UXTHEME = no; then
13961 result=$wxUSE_UXTHEME
13964 { echo "$as_me:$LINENO: result: $result" >&5
13965 echo "${ECHO_T}$result" >&6; }
13969 defaultval=$wxUSE_ALL_FEATURES
13970 if test -z "$defaultval"; then
13971 if test x"$enablestring" = xdisable; then
13978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13979 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13980 # Check whether --enable-wxdib was given.
13981 if test "${enable_wxdib+set}" = set; then
13982 enableval=$enable_wxdib;
13983 if test "$enableval" = yes; then
13984 wx_cv_use_wxdib='wxUSE_DIB=yes'
13986 wx_cv_use_wxdib='wxUSE_DIB=no'
13991 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13996 eval "$wx_cv_use_wxdib"
13998 if test x"$enablestring" = xdisable; then
13999 if test $wxUSE_DIB = no; then
14008 { echo "$as_me:$LINENO: result: $result" >&5
14009 echo "${ECHO_T}$result" >&6; }
14012 if test "$wxUSE_MSW" != 1; then
14013 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14029 # Check whether --enable-autoidman was given.
14030 if test "${enable_autoidman+set}" = set; then
14031 enableval=$enable_autoidman;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14035 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14040 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14045 eval "$wx_cv_use_autoidman"
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14054 result=$wxUSE_AUTOID_MANAGEMENT
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14064 cat >confcache <<\_ACEOF
14065 # This file is a shell script that caches the results of configure
14066 # tests run on this system so they can be shared between configure
14067 # scripts and configure runs, see configure's option --config-cache.
14068 # It is not useful on other systems. If it contains results you don't
14069 # want to keep, you may remove or edit it.
14071 # config.status only pays attention to the cache file if you give it
14072 # the --recheck option to rerun configure.
14074 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14075 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14076 # following values.
14080 # The following way of writing the cache mishandles newlines in values,
14081 # but we know of no workaround that is simple, portable, and efficient.
14082 # So, we kill variables containing newlines.
14083 # Ultrix sh set writes to stderr and can't be redirected directly,
14084 # and sets the high bit in the cache file unless we assign to the vars.
14086 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14087 eval ac_val=\$$ac_var
14091 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14092 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14095 _ | IFS | as_nl) ;; #(
14096 *) $as_unset $ac_var ;;
14102 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14103 *${as_nl}ac_space=\ *)
14104 # `set' does not quote correctly, so add quotes (double-quote
14105 # substitution turns \\\\ into \\, and sed turns \\ into \).
14108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14111 # `set' quotes correctly as required by POSIX, so do not add quotes.
14112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14121 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14123 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14125 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14126 if test -w "$cache_file"; then
14127 test "x$cache_file" != "x/dev/null" &&
14128 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14129 echo "$as_me: updating cache $cache_file" >&6;}
14130 cat confcache >$cache_file
14132 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14133 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14143 ac_cpp='$CPP $CPPFLAGS'
14144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14147 if test -n "$ac_tool_prefix"; then
14148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14149 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14152 if test "${ac_cv_prog_CC+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 if test -n "$CC"; then
14156 ac_cv_prog_CC="$CC" # Let the user override the test.
14158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14159 for as_dir in $PATH
14162 test -z "$as_dir" && as_dir=.
14163 for ac_exec_ext in '' $ac_executable_extensions; do
14164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14165 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14176 if test -n "$CC"; then
14177 { echo "$as_me:$LINENO: result: $CC" >&5
14178 echo "${ECHO_T}$CC" >&6; }
14180 { echo "$as_me:$LINENO: result: no" >&5
14181 echo "${ECHO_T}no" >&6; }
14186 if test -z "$ac_cv_prog_CC"; then
14188 # Extract the first word of "gcc", so it can be a program name with args.
14189 set dummy gcc; ac_word=$2
14190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 if test -n "$ac_ct_CC"; then
14196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14199 for as_dir in $PATH
14202 test -z "$as_dir" && as_dir=.
14203 for ac_exec_ext in '' $ac_executable_extensions; do
14204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14205 ac_cv_prog_ac_ct_CC="gcc"
14206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14216 if test -n "$ac_ct_CC"; then
14217 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14218 echo "${ECHO_T}$ac_ct_CC" >&6; }
14220 { echo "$as_me:$LINENO: result: no" >&5
14221 echo "${ECHO_T}no" >&6; }
14224 if test "x$ac_ct_CC" = x; then
14227 case $cross_compiling:$ac_tool_warned in
14229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14230 whose name does not start with the host triplet. If you think this
14231 configuration is useful to you, please write to autoconf@gnu.org." >&5
14232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14233 whose name does not start with the host triplet. If you think this
14234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14235 ac_tool_warned=yes ;;
14240 CC="$ac_cv_prog_CC"
14243 if test -z "$CC"; then
14244 if test -n "$ac_tool_prefix"; then
14245 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14246 set dummy ${ac_tool_prefix}cc; ac_word=$2
14247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14249 if test "${ac_cv_prog_CC+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 if test -n "$CC"; then
14253 ac_cv_prog_CC="$CC" # Let the user override the test.
14255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14256 for as_dir in $PATH
14259 test -z "$as_dir" && as_dir=.
14260 for ac_exec_ext in '' $ac_executable_extensions; do
14261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14262 ac_cv_prog_CC="${ac_tool_prefix}cc"
14263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14273 if test -n "$CC"; then
14274 { echo "$as_me:$LINENO: result: $CC" >&5
14275 echo "${ECHO_T}$CC" >&6; }
14277 { echo "$as_me:$LINENO: result: no" >&5
14278 echo "${ECHO_T}no" >&6; }
14284 if test -z "$CC"; then
14285 # Extract the first word of "cc", so it can be a program name with args.
14286 set dummy cc; ac_word=$2
14287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14289 if test "${ac_cv_prog_CC+set}" = set; then
14290 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 if test -n "$CC"; then
14293 ac_cv_prog_CC="$CC" # Let the user override the test.
14295 ac_prog_rejected=no
14296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14297 for as_dir in $PATH
14300 test -z "$as_dir" && as_dir=.
14301 for ac_exec_ext in '' $ac_executable_extensions; do
14302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14303 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14304 ac_prog_rejected=yes
14308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14315 if test $ac_prog_rejected = yes; then
14316 # We found a bogon in the path, so make sure we never use it.
14317 set dummy $ac_cv_prog_CC
14319 if test $# != 0; then
14320 # We chose a different compiler from the bogus one.
14321 # However, it has the same basename, so the bogon will be chosen
14322 # first if we set CC to just the basename; use the full file name.
14324 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14330 if test -n "$CC"; then
14331 { echo "$as_me:$LINENO: result: $CC" >&5
14332 echo "${ECHO_T}$CC" >&6; }
14334 { echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6; }
14340 if test -z "$CC"; then
14341 if test -n "$ac_tool_prefix"; then
14342 for ac_prog in cl.exe
14344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14348 if test "${ac_cv_prog_CC+set}" = set; then
14349 echo $ECHO_N "(cached) $ECHO_C" >&6
14351 if test -n "$CC"; then
14352 ac_cv_prog_CC="$CC" # Let the user override the test.
14354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14355 for as_dir in $PATH
14358 test -z "$as_dir" && as_dir=.
14359 for ac_exec_ext in '' $ac_executable_extensions; do
14360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14361 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14372 if test -n "$CC"; then
14373 { echo "$as_me:$LINENO: result: $CC" >&5
14374 echo "${ECHO_T}$CC" >&6; }
14376 { echo "$as_me:$LINENO: result: no" >&5
14377 echo "${ECHO_T}no" >&6; }
14381 test -n "$CC" && break
14384 if test -z "$CC"; then
14386 for ac_prog in cl.exe
14388 # Extract the first word of "$ac_prog", so it can be a program name with args.
14389 set dummy $ac_prog; ac_word=$2
14390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 if test -n "$ac_ct_CC"; then
14396 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14399 for as_dir in $PATH
14402 test -z "$as_dir" && as_dir=.
14403 for ac_exec_ext in '' $ac_executable_extensions; do
14404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14405 ac_cv_prog_ac_ct_CC="$ac_prog"
14406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14416 if test -n "$ac_ct_CC"; then
14417 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14418 echo "${ECHO_T}$ac_ct_CC" >&6; }
14420 { echo "$as_me:$LINENO: result: no" >&5
14421 echo "${ECHO_T}no" >&6; }
14425 test -n "$ac_ct_CC" && break
14428 if test "x$ac_ct_CC" = x; then
14431 case $cross_compiling:$ac_tool_warned in
14433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14434 whose name does not start with the host triplet. If you think this
14435 configuration is useful to you, please write to autoconf@gnu.org." >&5
14436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14437 whose name does not start with the host triplet. If you think this
14438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14439 ac_tool_warned=yes ;;
14448 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14449 See \`config.log' for more details." >&5
14450 echo "$as_me: error: no acceptable C compiler found in \$PATH
14451 See \`config.log' for more details." >&2;}
14452 { (exit 1); exit 1; }; }
14454 # Provide some information about the compiler.
14455 echo "$as_me:$LINENO: checking for C compiler version" >&5
14456 ac_compiler=`set X $ac_compile; echo $2`
14457 { (ac_try="$ac_compiler --version >&5"
14458 case "(($ac_try" in
14459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14460 *) ac_try_echo=$ac_try;;
14462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14463 (eval "$ac_compiler --version >&5") 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }
14467 { (ac_try="$ac_compiler -v >&5"
14468 case "(($ac_try" in
14469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14470 *) ac_try_echo=$ac_try;;
14472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14473 (eval "$ac_compiler -v >&5") 2>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }
14477 { (ac_try="$ac_compiler -V >&5"
14478 case "(($ac_try" in
14479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480 *) ac_try_echo=$ac_try;;
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 (eval "$ac_compiler -V >&5") 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }
14488 cat >conftest.$ac_ext <<_ACEOF
14491 cat confdefs.h >>conftest.$ac_ext
14492 cat >>conftest.$ac_ext <<_ACEOF
14493 /* end confdefs.h. */
14503 ac_clean_files_save=$ac_clean_files
14504 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14505 # Try to create an executable without -o first, disregard a.out.
14506 # It will help us diagnose broken compilers, and finding out an intuition
14508 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14509 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14510 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14512 # List of possible output files, starting from the most likely.
14513 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14514 # only as a last resort. b.out is created by i960 compilers.
14515 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14517 # The IRIX 6 linker writes into existing files which may not be
14518 # executable, retaining their permissions. Remove them first so a
14519 # subsequent execution test works.
14521 for ac_file in $ac_files
14524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14525 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14530 if { (ac_try="$ac_link_default"
14531 case "(($ac_try" in
14532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14533 *) ac_try_echo=$ac_try;;
14535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14536 (eval "$ac_link_default") 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; then
14540 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14541 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14542 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14543 # so that the user can short-circuit this test for compilers unknown to
14545 for ac_file in $ac_files ''
14547 test -f "$ac_file" || continue
14549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14552 # We found the default executable, but exeext='' is most
14556 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14558 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14560 # We set ac_cv_exeext here because the later test for it is not
14561 # safe: cross compilers may not add the suffix if given an `-o'
14562 # argument, so we may need to know it at that point already.
14563 # Even if this section looks crufty: it has the advantage of
14564 # actually working.
14570 test "$ac_cv_exeext" = no && ac_cv_exeext=
14576 { echo "$as_me:$LINENO: result: $ac_file" >&5
14577 echo "${ECHO_T}$ac_file" >&6; }
14578 if test -z "$ac_file"; then
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14582 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14583 See \`config.log' for more details." >&5
14584 echo "$as_me: error: C compiler cannot create executables
14585 See \`config.log' for more details." >&2;}
14586 { (exit 77); exit 77; }; }
14589 ac_exeext=$ac_cv_exeext
14591 # Check that the compiler produces executables we can run. If not, either
14592 # the compiler is broken, or we cross compile.
14593 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14594 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14595 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14596 # If not cross compiling, check that we can run a simple program.
14597 if test "$cross_compiling" != yes; then
14598 if { ac_try='./$ac_file'
14599 { (case "(($ac_try" in
14600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14601 *) ac_try_echo=$ac_try;;
14603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14604 (eval "$ac_try") 2>&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); }; }; then
14610 if test "$cross_compiling" = maybe; then
14611 cross_compiling=yes
14613 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14614 If you meant to cross compile, use \`--host'.
14615 See \`config.log' for more details." >&5
14616 echo "$as_me: error: cannot run C compiled programs.
14617 If you meant to cross compile, use \`--host'.
14618 See \`config.log' for more details." >&2;}
14619 { (exit 1); exit 1; }; }
14623 { echo "$as_me:$LINENO: result: yes" >&5
14624 echo "${ECHO_T}yes" >&6; }
14626 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14627 ac_clean_files=$ac_clean_files_save
14628 # Check that the compiler produces executables we can run. If not, either
14629 # the compiler is broken, or we cross compile.
14630 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14631 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14632 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14633 echo "${ECHO_T}$cross_compiling" >&6; }
14635 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14636 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14637 if { (ac_try="$ac_link"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_link") 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; then
14647 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14648 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14649 # work properly (i.e., refer to `conftest.exe'), while it won't with
14651 for ac_file in conftest.exe conftest conftest.*; do
14652 test -f "$ac_file" || continue
14654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14655 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14661 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14662 See \`config.log' for more details." >&5
14663 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14664 See \`config.log' for more details." >&2;}
14665 { (exit 1); exit 1; }; }
14668 rm -f conftest$ac_cv_exeext
14669 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14670 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14672 rm -f conftest.$ac_ext
14673 EXEEXT=$ac_cv_exeext
14675 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14676 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14677 if test "${ac_cv_objext+set}" = set; then
14678 echo $ECHO_N "(cached) $ECHO_C" >&6
14680 cat >conftest.$ac_ext <<_ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h. */
14695 rm -f conftest.o conftest.obj
14696 if { (ac_try="$ac_compile"
14697 case "(($ac_try" in
14698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14699 *) ac_try_echo=$ac_try;;
14701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14702 (eval "$ac_compile") 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; then
14706 for ac_file in conftest.o conftest.obj conftest.*; do
14707 test -f "$ac_file" || continue;
14709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14710 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14718 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14719 See \`config.log' for more details." >&5
14720 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14721 See \`config.log' for more details." >&2;}
14722 { (exit 1); exit 1; }; }
14725 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14727 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14728 echo "${ECHO_T}$ac_cv_objext" >&6; }
14729 OBJEXT=$ac_cv_objext
14731 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14732 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14733 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14734 echo $ECHO_N "(cached) $ECHO_C" >&6
14736 cat >conftest.$ac_ext <<_ACEOF
14739 cat confdefs.h >>conftest.$ac_ext
14740 cat >>conftest.$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14754 rm -f conftest.$ac_objext
14755 if { (ac_try="$ac_compile"
14756 case "(($ac_try" in
14757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14758 *) ac_try_echo=$ac_try;;
14760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14761 (eval "$ac_compile") 2>conftest.er1
14763 grep -v '^ *+' conftest.er1 >conftest.err
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } && {
14768 test -z "$ac_c_werror_flag" ||
14769 test ! -s conftest.err
14770 } && test -s conftest.$ac_objext; then
14771 ac_compiler_gnu=yes
14773 echo "$as_me: failed program was:" >&5
14774 sed 's/^/| /' conftest.$ac_ext >&5
14779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14783 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14784 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14785 GCC=`test $ac_compiler_gnu = yes && echo yes`
14786 ac_test_CFLAGS=${CFLAGS+set}
14787 ac_save_CFLAGS=$CFLAGS
14788 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14789 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14790 if test "${ac_cv_prog_cc_g+set}" = set; then
14791 echo $ECHO_N "(cached) $ECHO_C" >&6
14793 ac_save_c_werror_flag=$ac_c_werror_flag
14794 ac_c_werror_flag=yes
14797 cat >conftest.$ac_ext <<_ACEOF
14800 cat confdefs.h >>conftest.$ac_ext
14801 cat >>conftest.$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14812 rm -f conftest.$ac_objext
14813 if { (ac_try="$ac_compile"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_compile") 2>conftest.er1
14821 grep -v '^ *+' conftest.er1 >conftest.err
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } && {
14826 test -z "$ac_c_werror_flag" ||
14827 test ! -s conftest.err
14828 } && test -s conftest.$ac_objext; then
14829 ac_cv_prog_cc_g=yes
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14835 cat >conftest.$ac_ext <<_ACEOF
14838 cat confdefs.h >>conftest.$ac_ext
14839 cat >>conftest.$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14850 rm -f conftest.$ac_objext
14851 if { (ac_try="$ac_compile"
14852 case "(($ac_try" in
14853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14854 *) ac_try_echo=$ac_try;;
14856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14857 (eval "$ac_compile") 2>conftest.er1
14859 grep -v '^ *+' conftest.er1 >conftest.err
14861 cat conftest.err >&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } && {
14864 test -z "$ac_c_werror_flag" ||
14865 test ! -s conftest.err
14866 } && test -s conftest.$ac_objext; then
14869 echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.$ac_ext >&5
14872 ac_c_werror_flag=$ac_save_c_werror_flag
14874 cat >conftest.$ac_ext <<_ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14889 rm -f conftest.$ac_objext
14890 if { (ac_try="$ac_compile"
14891 case "(($ac_try" in
14892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14893 *) ac_try_echo=$ac_try;;
14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14896 (eval "$ac_compile") 2>conftest.er1
14898 grep -v '^ *+' conftest.er1 >conftest.err
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } && {
14903 test -z "$ac_c_werror_flag" ||
14904 test ! -s conftest.err
14905 } && test -s conftest.$ac_objext; then
14906 ac_cv_prog_cc_g=yes
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14921 ac_c_werror_flag=$ac_save_c_werror_flag
14923 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14924 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14925 if test "$ac_test_CFLAGS" = set; then
14926 CFLAGS=$ac_save_CFLAGS
14927 elif test $ac_cv_prog_cc_g = yes; then
14928 if test "$GCC" = yes; then
14934 if test "$GCC" = yes; then
14940 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14941 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14942 if test "${ac_cv_prog_cc_c89+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 ac_cv_prog_cc_c89=no
14947 cat >conftest.$ac_ext <<_ACEOF
14950 cat confdefs.h >>conftest.$ac_ext
14951 cat >>conftest.$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14953 #include <stdarg.h>
14955 #include <sys/types.h>
14956 #include <sys/stat.h>
14957 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14958 struct buf { int x; };
14959 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14960 static char *e (p, i)
14966 static char *f (char * (*g) (char **, int), char **p, ...)
14971 s = g (p, va_arg (v,int));
14976 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14977 function prototypes and stuff, but not '\xHH' hex character constants.
14978 These don't provoke an error unfortunately, instead are silently treated
14979 as 'x'. The following induces an error, until -std is added to get
14980 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14981 array size at least. It's necessary to write '\x00'==0 to get something
14982 that's true only with -std. */
14983 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14985 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14986 inside strings and character constants. */
14988 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14990 int test (int i, double x);
14991 struct s1 {int (*f) (int a);};
14992 struct s2 {int (*f) (double a);};
14993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14999 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15004 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15005 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15007 CC="$ac_save_CC $ac_arg"
15008 rm -f conftest.$ac_objext
15009 if { (ac_try="$ac_compile"
15010 case "(($ac_try" in
15011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15012 *) ac_try_echo=$ac_try;;
15014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15015 (eval "$ac_compile") 2>conftest.er1
15017 grep -v '^ *+' conftest.er1 >conftest.err
15019 cat conftest.err >&5
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); } && {
15022 test -z "$ac_c_werror_flag" ||
15023 test ! -s conftest.err
15024 } && test -s conftest.$ac_objext; then
15025 ac_cv_prog_cc_c89=$ac_arg
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15033 rm -f core conftest.err conftest.$ac_objext
15034 test "x$ac_cv_prog_cc_c89" != "xno" && break
15036 rm -f conftest.$ac_ext
15041 case "x$ac_cv_prog_cc_c89" in
15043 { echo "$as_me:$LINENO: result: none needed" >&5
15044 echo "${ECHO_T}none needed" >&6; } ;;
15046 { echo "$as_me:$LINENO: result: unsupported" >&5
15047 echo "${ECHO_T}unsupported" >&6; } ;;
15049 CC="$CC $ac_cv_prog_cc_c89"
15050 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15051 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15056 ac_cpp='$CPP $CPPFLAGS'
15057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
15070 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15071 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15072 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 cat >conftest.$ac_ext <<_ACEOF
15078 cat confdefs.h >>conftest.$ac_ext
15079 cat >>conftest.$ac_ext <<_ACEOF
15080 /* end confdefs.h. */
15086 #ifndef __INTEL_COMPILER
15094 rm -f conftest.$ac_objext
15095 if { (ac_try="$ac_compile"
15096 case "(($ac_try" in
15097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15098 *) ac_try_echo=$ac_try;;
15100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15101 (eval "$ac_compile") 2>conftest.er1
15103 grep -v '^ *+' conftest.er1 >conftest.err
15105 cat conftest.err >&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } && {
15108 test -z "$ac_c_werror_flag" ||
15109 test ! -s conftest.err
15110 } && test -s conftest.$ac_objext; then
15111 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15113 echo "$as_me: failed program was:" >&5
15114 sed 's/^/| /' conftest.$ac_ext >&5
15116 bakefile_cv_c_compiler___INTEL_COMPILER=no
15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15125 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15126 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15140 if test "$INTELCC" = "yes"; then
15144 ac_cpp='$CPP $CPPFLAGS'
15145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15149 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15150 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15151 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 cat >conftest.$ac_ext <<_ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15165 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15173 rm -f conftest.$ac_objext
15174 if { (ac_try="$ac_compile"
15175 case "(($ac_try" in
15176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15177 *) ac_try_echo=$ac_try;;
15179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15180 (eval "$ac_compile") 2>conftest.er1
15182 grep -v '^ *+' conftest.er1 >conftest.err
15184 cat conftest.err >&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } && {
15187 test -z "$ac_c_werror_flag" ||
15188 test ! -s conftest.err
15189 } && test -s conftest.$ac_objext; then
15190 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15195 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15204 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15205 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15211 ac_cpp='$CPP $CPPFLAGS'
15212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15221 ac_cpp='$CPP $CPPFLAGS'
15222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15226 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15227 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15228 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15229 echo $ECHO_N "(cached) $ECHO_C" >&6
15231 cat >conftest.$ac_ext <<_ACEOF
15234 cat confdefs.h >>conftest.$ac_ext
15235 cat >>conftest.$ac_ext <<_ACEOF
15236 /* end confdefs.h. */
15242 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15250 rm -f conftest.$ac_objext
15251 if { (ac_try="$ac_compile"
15252 case "(($ac_try" in
15253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15254 *) ac_try_echo=$ac_try;;
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15257 (eval "$ac_compile") 2>conftest.er1
15259 grep -v '^ *+' conftest.er1 >conftest.err
15261 cat conftest.err >&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } && {
15264 test -z "$ac_c_werror_flag" ||
15265 test ! -s conftest.err
15266 } && test -s conftest.$ac_objext; then
15267 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15272 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15280 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15281 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15282 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15288 ac_cpp='$CPP $CPPFLAGS'
15289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15297 if test "x$GCC" != "xyes"; then
15298 if test "xCC" = "xC"; then
15299 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15300 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15301 if test "${bakefile_cv_c_exto+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 cat >conftest.$ac_ext <<_ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15319 rm -f conftest.$ac_objext conftest.$ac_ext.o
15320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15321 (eval $ac_compile) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; then
15325 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15327 conftest.$ac_ext.o)
15328 bakefile_cv_c_exto="-ext o"
15335 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15336 See \`config.log' for more details." >&5
15337 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15338 See \`config.log' for more details." >&2;}
15339 { (exit 1); exit 1; }; }
15343 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15346 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15347 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15348 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15349 if test "c" = "c"; then
15350 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15352 if test "c" = "cxx"; then
15353 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15357 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15358 unset ac_cv_prog_cc_g
15359 ac_test_CFLAGS=${CFLAGS+set}
15360 ac_save_CFLAGS=$CFLAGS
15361 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15363 if test "${ac_cv_prog_cc_g+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 ac_save_c_werror_flag=$ac_c_werror_flag
15367 ac_c_werror_flag=yes
15370 cat >conftest.$ac_ext <<_ACEOF
15373 cat confdefs.h >>conftest.$ac_ext
15374 cat >>conftest.$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15385 rm -f conftest.$ac_objext
15386 if { (ac_try="$ac_compile"
15387 case "(($ac_try" in
15388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15389 *) ac_try_echo=$ac_try;;
15391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15392 (eval "$ac_compile") 2>conftest.er1
15394 grep -v '^ *+' conftest.er1 >conftest.err
15396 cat conftest.err >&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } && {
15399 test -z "$ac_c_werror_flag" ||
15400 test ! -s conftest.err
15401 } && test -s conftest.$ac_objext; then
15402 ac_cv_prog_cc_g=yes
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15408 cat >conftest.$ac_ext <<_ACEOF
15411 cat confdefs.h >>conftest.$ac_ext
15412 cat >>conftest.$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15423 rm -f conftest.$ac_objext
15424 if { (ac_try="$ac_compile"
15425 case "(($ac_try" in
15426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427 *) ac_try_echo=$ac_try;;
15429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430 (eval "$ac_compile") 2>conftest.er1
15432 grep -v '^ *+' conftest.er1 >conftest.err
15434 cat conftest.err >&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } && {
15437 test -z "$ac_c_werror_flag" ||
15438 test ! -s conftest.err
15439 } && test -s conftest.$ac_objext; then
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.$ac_ext >&5
15445 ac_c_werror_flag=$ac_save_c_werror_flag
15447 cat >conftest.$ac_ext <<_ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15462 rm -f conftest.$ac_objext
15463 if { (ac_try="$ac_compile"
15464 case "(($ac_try" in
15465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15466 *) ac_try_echo=$ac_try;;
15468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15469 (eval "$ac_compile") 2>conftest.er1
15471 grep -v '^ *+' conftest.er1 >conftest.err
15473 cat conftest.err >&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); } && {
15476 test -z "$ac_c_werror_flag" ||
15477 test ! -s conftest.err
15478 } && test -s conftest.$ac_objext; then
15479 ac_cv_prog_cc_g=yes
15481 echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.$ac_ext >&5
15487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15494 ac_c_werror_flag=$ac_save_c_werror_flag
15496 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15497 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15498 if test "$ac_test_CFLAGS" = set; then
15499 CFLAGS=$ac_save_CFLAGS
15500 elif test $ac_cv_prog_cc_g = yes; then
15501 if test "$GCC" = yes; then
15507 if test "$GCC" = yes; then
15521 ac_cpp='$CPP $CPPFLAGS'
15522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15526 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15527 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15528 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15529 echo $ECHO_N "(cached) $ECHO_C" >&6
15531 cat >conftest.$ac_ext <<_ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15550 rm -f conftest.$ac_objext
15551 if { (ac_try="$ac_compile"
15552 case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_compile") 2>conftest.er1
15559 grep -v '^ *+' conftest.er1 >conftest.err
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest.$ac_objext; then
15567 bakefile_cv_c_compiler___xlC__=yes
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15572 bakefile_cv_c_compiler___xlC__=no
15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15580 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15581 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15582 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15606 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15607 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15608 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 cat >conftest.$ac_ext <<_ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15630 rm -f conftest.$ac_objext
15631 if { (ac_try="$ac_compile"
15632 case "(($ac_try" in
15633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_compile") 2>conftest.er1
15639 grep -v '^ *+' conftest.er1 >conftest.err
15641 cat conftest.err >&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } && {
15644 test -z "$ac_c_werror_flag" ||
15645 test ! -s conftest.err
15646 } && test -s conftest.$ac_objext; then
15647 bakefile_cv_c_compiler___MWERKS__=yes
15649 echo "$as_me: failed program was:" >&5
15650 sed 's/^/| /' conftest.$ac_ext >&5
15652 bakefile_cv_c_compiler___MWERKS__=no
15656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15660 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15661 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15662 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15668 ac_cpp='$CPP $CPPFLAGS'
15669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15675 if test "$MWCC" != "yes"; then
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15684 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15685 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15686 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 cat >conftest.$ac_ext <<_ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15708 rm -f conftest.$ac_objext
15709 if { (ac_try="$ac_compile"
15710 case "(($ac_try" in
15711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15712 *) ac_try_echo=$ac_try;;
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_compile") 2>conftest.er1
15717 grep -v '^ *+' conftest.er1 >conftest.err
15719 cat conftest.err >&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } && {
15722 test -z "$ac_c_werror_flag" ||
15723 test ! -s conftest.err
15724 } && test -s conftest.$ac_objext; then
15725 bakefile_cv_c_compiler___xlC__=yes
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15730 bakefile_cv_c_compiler___xlC__=no
15734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15738 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15739 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15740 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15746 ac_cpp='$CPP $CPPFLAGS'
15747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760 ac_cpp='$CPP $CPPFLAGS'
15761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15765 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15766 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15767 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 cat >conftest.$ac_ext <<_ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15781 #ifndef _SGI_COMPILER_VERSION
15789 rm -f conftest.$ac_objext
15790 if { (ac_try="$ac_compile"
15791 case "(($ac_try" in
15792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15793 *) ac_try_echo=$ac_try;;
15795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15796 (eval "$ac_compile") 2>conftest.er1
15798 grep -v '^ *+' conftest.er1 >conftest.err
15800 cat conftest.err >&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); } && {
15803 test -z "$ac_c_werror_flag" ||
15804 test ! -s conftest.err
15805 } && test -s conftest.$ac_objext; then
15806 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15811 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15819 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15820 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15821 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15827 ac_cpp='$CPP $CPPFLAGS'
15828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15837 if test "$INTELCC" != "yes"; then
15841 ac_cpp='$CPP $CPPFLAGS'
15842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15846 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15847 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15848 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 cat >conftest.$ac_ext <<_ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15870 rm -f conftest.$ac_objext
15871 if { (ac_try="$ac_compile"
15872 case "(($ac_try" in
15873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874 *) ac_try_echo=$ac_try;;
15876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15877 (eval "$ac_compile") 2>conftest.er1
15879 grep -v '^ *+' conftest.er1 >conftest.err
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } && {
15884 test -z "$ac_c_werror_flag" ||
15885 test ! -s conftest.err
15886 } && test -s conftest.$ac_objext; then
15887 bakefile_cv_c_compiler___SUNPRO_C=yes
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15892 bakefile_cv_c_compiler___SUNPRO_C=no
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15900 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15901 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15902 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15908 ac_cpp='$CPP $CPPFLAGS'
15909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15922 ac_cpp='$CPP $CPPFLAGS'
15923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15927 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15928 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15929 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 cat >conftest.$ac_ext <<_ACEOF
15935 cat confdefs.h >>conftest.$ac_ext
15936 cat >>conftest.$ac_ext <<_ACEOF
15937 /* end confdefs.h. */
15951 rm -f conftest.$ac_objext
15952 if { (ac_try="$ac_compile"
15953 case "(($ac_try" in
15954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15955 *) ac_try_echo=$ac_try;;
15957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15958 (eval "$ac_compile") 2>conftest.er1
15960 grep -v '^ *+' conftest.er1 >conftest.err
15962 cat conftest.err >&5
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); } && {
15965 test -z "$ac_c_werror_flag" ||
15966 test ! -s conftest.err
15967 } && test -s conftest.$ac_objext; then
15968 bakefile_cv_c_compiler___HP_cc=yes
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.$ac_ext >&5
15973 bakefile_cv_c_compiler___HP_cc=no
15977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15981 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15982 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15983 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15989 ac_cpp='$CPP $CPPFLAGS'
15990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16002 ac_cpp='$CPP $CPPFLAGS'
16003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16007 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16008 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16009 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16010 echo $ECHO_N "(cached) $ECHO_C" >&6
16012 cat >conftest.$ac_ext <<_ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16031 rm -f conftest.$ac_objext
16032 if { (ac_try="$ac_compile"
16033 case "(($ac_try" in
16034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16035 *) ac_try_echo=$ac_try;;
16037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16038 (eval "$ac_compile") 2>conftest.er1
16040 grep -v '^ *+' conftest.er1 >conftest.err
16042 cat conftest.err >&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); } && {
16045 test -z "$ac_c_werror_flag" ||
16046 test ! -s conftest.err
16047 } && test -s conftest.$ac_objext; then
16048 bakefile_cv_c_compiler___DECC=yes
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16053 bakefile_cv_c_compiler___DECC=no
16057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16061 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16062 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16063 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16069 ac_cpp='$CPP $CPPFLAGS'
16070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082 ac_cpp='$CPP $CPPFLAGS'
16083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16087 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16088 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16089 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 cat >conftest.$ac_ext <<_ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16111 rm -f conftest.$ac_objext
16112 if { (ac_try="$ac_compile"
16113 case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;;
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_compile") 2>conftest.er1
16120 grep -v '^ *+' conftest.er1 >conftest.err
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && {
16125 test -z "$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 } && test -s conftest.$ac_objext; then
16128 bakefile_cv_c_compiler___SUNPRO_C=yes
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16133 bakefile_cv_c_compiler___SUNPRO_C=no
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16142 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16143 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16163 ac_cpp='$CPP $CPPFLAGS'
16164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16167 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16168 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16169 # On Suns, sometimes $CPP names a directory.
16170 if test -n "$CPP" && test -d "$CPP"; then
16173 if test -z "$CPP"; then
16174 if test "${ac_cv_prog_CPP+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 # Double quotes because CPP needs to be expanded
16178 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16180 ac_preproc_ok=false
16181 for ac_c_preproc_warn_flag in '' yes
16183 # Use a header file that comes with gcc, so configuring glibc
16184 # with a fresh cross-compiler works.
16185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16186 # <limits.h> exists even on freestanding compilers.
16187 # On the NeXT, cc -E runs the code through the compiler's parser,
16188 # not just through cpp. "Syntax error" is here to catch this case.
16189 cat >conftest.$ac_ext <<_ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16196 # include <limits.h>
16198 # include <assert.h>
16202 if { (ac_try="$ac_cpp conftest.$ac_ext"
16203 case "(($ac_try" in
16204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16205 *) ac_try_echo=$ac_try;;
16207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16210 grep -v '^ *+' conftest.er1 >conftest.err
16212 cat conftest.err >&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); } >/dev/null && {
16215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16216 test ! -s conftest.err
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.$ac_ext >&5
16223 # Broken: fails on valid input.
16227 rm -f conftest.err conftest.$ac_ext
16229 # OK, works on sane cases. Now check whether nonexistent headers
16230 # can be detected and how.
16231 cat >conftest.$ac_ext <<_ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 #include <ac_nonexistent.h>
16239 if { (ac_try="$ac_cpp conftest.$ac_ext"
16240 case "(($ac_try" in
16241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16242 *) ac_try_echo=$ac_try;;
16244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16247 grep -v '^ *+' conftest.er1 >conftest.err
16249 cat conftest.err >&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } >/dev/null && {
16252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16253 test ! -s conftest.err
16255 # Broken: success on invalid input.
16258 echo "$as_me: failed program was:" >&5
16259 sed 's/^/| /' conftest.$ac_ext >&5
16261 # Passes both tests.
16266 rm -f conftest.err conftest.$ac_ext
16269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16270 rm -f conftest.err conftest.$ac_ext
16271 if $ac_preproc_ok; then
16276 ac_cv_prog_CPP=$CPP
16279 CPP=$ac_cv_prog_CPP
16281 ac_cv_prog_CPP=$CPP
16283 { echo "$as_me:$LINENO: result: $CPP" >&5
16284 echo "${ECHO_T}$CPP" >&6; }
16285 ac_preproc_ok=false
16286 for ac_c_preproc_warn_flag in '' yes
16288 # Use a header file that comes with gcc, so configuring glibc
16289 # with a fresh cross-compiler works.
16290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16291 # <limits.h> exists even on freestanding compilers.
16292 # On the NeXT, cc -E runs the code through the compiler's parser,
16293 # not just through cpp. "Syntax error" is here to catch this case.
16294 cat >conftest.$ac_ext <<_ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16301 # include <limits.h>
16303 # include <assert.h>
16307 if { (ac_try="$ac_cpp conftest.$ac_ext"
16308 case "(($ac_try" in
16309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16310 *) ac_try_echo=$ac_try;;
16312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16315 grep -v '^ *+' conftest.er1 >conftest.err
16317 cat conftest.err >&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } >/dev/null && {
16320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16321 test ! -s conftest.err
16325 echo "$as_me: failed program was:" >&5
16326 sed 's/^/| /' conftest.$ac_ext >&5
16328 # Broken: fails on valid input.
16332 rm -f conftest.err conftest.$ac_ext
16334 # OK, works on sane cases. Now check whether nonexistent headers
16335 # can be detected and how.
16336 cat >conftest.$ac_ext <<_ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16342 #include <ac_nonexistent.h>
16344 if { (ac_try="$ac_cpp conftest.$ac_ext"
16345 case "(($ac_try" in
16346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16347 *) ac_try_echo=$ac_try;;
16349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16352 grep -v '^ *+' conftest.er1 >conftest.err
16354 cat conftest.err >&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } >/dev/null && {
16357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16358 test ! -s conftest.err
16360 # Broken: success on invalid input.
16363 echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.$ac_ext >&5
16366 # Passes both tests.
16371 rm -f conftest.err conftest.$ac_ext
16374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16375 rm -f conftest.err conftest.$ac_ext
16376 if $ac_preproc_ok; then
16379 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16380 See \`config.log' for more details." >&5
16381 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16382 See \`config.log' for more details." >&2;}
16383 { (exit 1); exit 1; }; }
16387 ac_cpp='$CPP $CPPFLAGS'
16388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16393 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16394 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16395 if test "${ac_cv_path_GREP+set}" = set; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 # Extract the first word of "grep ggrep" to use in msg output
16399 if test -z "$GREP"; then
16400 set dummy grep ggrep; ac_prog_name=$2
16401 if test "${ac_cv_path_GREP+set}" = set; then
16402 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 ac_path_GREP_found=false
16405 # Loop through the user's path and test for each of PROGNAME-LIST
16406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16410 test -z "$as_dir" && as_dir=.
16411 for ac_prog in grep ggrep; do
16412 for ac_exec_ext in '' $ac_executable_extensions; do
16413 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16414 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16415 # Check for GNU ac_path_GREP and select it if it is found.
16416 # Check for GNU $ac_path_GREP
16417 case `"$ac_path_GREP" --version 2>&1` in
16419 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16422 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16425 cat "conftest.in" "conftest.in" >"conftest.tmp"
16426 mv "conftest.tmp" "conftest.in"
16427 cp "conftest.in" "conftest.nl"
16428 echo 'GREP' >> "conftest.nl"
16429 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16430 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16431 ac_count=`expr $ac_count + 1`
16432 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16433 # Best one so far, save it but keep looking for a better one
16434 ac_cv_path_GREP="$ac_path_GREP"
16435 ac_path_GREP_max=$ac_count
16437 # 10*(2^10) chars as input seems more than enough
16438 test $ac_count -gt 10 && break
16440 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16444 $ac_path_GREP_found && break 3
16454 GREP="$ac_cv_path_GREP"
16455 if test -z "$GREP"; then
16456 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16457 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16458 { (exit 1); exit 1; }; }
16462 ac_cv_path_GREP=$GREP
16467 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16468 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16469 GREP="$ac_cv_path_GREP"
16472 { echo "$as_me:$LINENO: checking for egrep" >&5
16473 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16474 if test "${ac_cv_path_EGREP+set}" = set; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16478 then ac_cv_path_EGREP="$GREP -E"
16480 # Extract the first word of "egrep" to use in msg output
16481 if test -z "$EGREP"; then
16482 set dummy egrep; ac_prog_name=$2
16483 if test "${ac_cv_path_EGREP+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 ac_path_EGREP_found=false
16487 # Loop through the user's path and test for each of PROGNAME-LIST
16488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16492 test -z "$as_dir" && as_dir=.
16493 for ac_prog in egrep; do
16494 for ac_exec_ext in '' $ac_executable_extensions; do
16495 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16496 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16497 # Check for GNU ac_path_EGREP and select it if it is found.
16498 # Check for GNU $ac_path_EGREP
16499 case `"$ac_path_EGREP" --version 2>&1` in
16501 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16504 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16507 cat "conftest.in" "conftest.in" >"conftest.tmp"
16508 mv "conftest.tmp" "conftest.in"
16509 cp "conftest.in" "conftest.nl"
16510 echo 'EGREP' >> "conftest.nl"
16511 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16513 ac_count=`expr $ac_count + 1`
16514 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16515 # Best one so far, save it but keep looking for a better one
16516 ac_cv_path_EGREP="$ac_path_EGREP"
16517 ac_path_EGREP_max=$ac_count
16519 # 10*(2^10) chars as input seems more than enough
16520 test $ac_count -gt 10 && break
16522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16526 $ac_path_EGREP_found && break 3
16536 EGREP="$ac_cv_path_EGREP"
16537 if test -z "$EGREP"; then
16538 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16539 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16540 { (exit 1); exit 1; }; }
16544 ac_cv_path_EGREP=$EGREP
16550 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16551 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16552 EGREP="$ac_cv_path_EGREP"
16555 if test $ac_cv_c_compiler_gnu = yes; then
16556 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16557 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16558 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 ac_pattern="Autoconf.*'x'"
16562 cat >conftest.$ac_ext <<_ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16572 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16573 ac_cv_prog_gcc_traditional=yes
16575 ac_cv_prog_gcc_traditional=no
16580 if test $ac_cv_prog_gcc_traditional = no; then
16581 cat >conftest.$ac_ext <<_ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 #include <termio.h>
16590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16591 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16592 ac_cv_prog_gcc_traditional=yes
16598 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16599 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16600 if test $ac_cv_prog_gcc_traditional = yes; then
16601 CC="$CC -traditional"
16606 CXXFLAGS=${CXXFLAGS:=}
16611 ac_cpp='$CXXCPP $CPPFLAGS'
16612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16615 if test -z "$CXX"; then
16616 if test -n "$CCC"; then
16619 if test -n "$ac_tool_prefix"; then
16620 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_CXX+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 if test -n "$CXX"; then
16630 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16633 for as_dir in $PATH
16636 test -z "$as_dir" && as_dir=.
16637 for ac_exec_ext in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16649 CXX=$ac_cv_prog_CXX
16650 if test -n "$CXX"; then
16651 { echo "$as_me:$LINENO: result: $CXX" >&5
16652 echo "${ECHO_T}$CXX" >&6; }
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16659 test -n "$CXX" && break
16662 if test -z "$CXX"; then
16664 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16666 # Extract the first word of "$ac_prog", so it can be a program name with args.
16667 set dummy $ac_prog; ac_word=$2
16668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16670 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16673 if test -n "$ac_ct_CXX"; then
16674 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16677 for as_dir in $PATH
16680 test -z "$as_dir" && as_dir=.
16681 for ac_exec_ext in '' $ac_executable_extensions; do
16682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16683 ac_cv_prog_ac_ct_CXX="$ac_prog"
16684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16693 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16694 if test -n "$ac_ct_CXX"; then
16695 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16696 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16698 { echo "$as_me:$LINENO: result: no" >&5
16699 echo "${ECHO_T}no" >&6; }
16703 test -n "$ac_ct_CXX" && break
16706 if test "x$ac_ct_CXX" = x; then
16709 case $cross_compiling:$ac_tool_warned in
16711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16712 whose name does not start with the host triplet. If you think this
16713 configuration is useful to you, please write to autoconf@gnu.org." >&5
16714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16715 whose name does not start with the host triplet. If you think this
16716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16717 ac_tool_warned=yes ;;
16725 # Provide some information about the compiler.
16726 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16727 ac_compiler=`set X $ac_compile; echo $2`
16728 { (ac_try="$ac_compiler --version >&5"
16729 case "(($ac_try" in
16730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16731 *) ac_try_echo=$ac_try;;
16733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16734 (eval "$ac_compiler --version >&5") 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }
16738 { (ac_try="$ac_compiler -v >&5"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741 *) ac_try_echo=$ac_try;;
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_compiler -v >&5") 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }
16748 { (ac_try="$ac_compiler -V >&5"
16749 case "(($ac_try" in
16750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16751 *) ac_try_echo=$ac_try;;
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_compiler -V >&5") 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }
16759 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16760 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16761 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 cat >conftest.$ac_ext <<_ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16782 rm -f conftest.$ac_objext
16783 if { (ac_try="$ac_compile"
16784 case "(($ac_try" in
16785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16786 *) ac_try_echo=$ac_try;;
16788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16789 (eval "$ac_compile") 2>conftest.er1
16791 grep -v '^ *+' conftest.er1 >conftest.err
16793 cat conftest.err >&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } && {
16796 test -z "$ac_cxx_werror_flag" ||
16797 test ! -s conftest.err
16798 } && test -s conftest.$ac_objext; then
16799 ac_compiler_gnu=yes
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16811 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16812 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16813 GXX=`test $ac_compiler_gnu = yes && echo yes`
16814 ac_test_CXXFLAGS=${CXXFLAGS+set}
16815 ac_save_CXXFLAGS=$CXXFLAGS
16816 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16817 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16818 if test "${ac_cv_prog_cxx_g+set}" = set; then
16819 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16822 ac_cxx_werror_flag=yes
16823 ac_cv_prog_cxx_g=no
16825 cat >conftest.$ac_ext <<_ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16840 rm -f conftest.$ac_objext
16841 if { (ac_try="$ac_compile"
16842 case "(($ac_try" in
16843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16844 *) ac_try_echo=$ac_try;;
16846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16847 (eval "$ac_compile") 2>conftest.er1
16849 grep -v '^ *+' conftest.er1 >conftest.err
16851 cat conftest.err >&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); } && {
16854 test -z "$ac_cxx_werror_flag" ||
16855 test ! -s conftest.err
16856 } && test -s conftest.$ac_objext; then
16857 ac_cv_prog_cxx_g=yes
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.$ac_ext >&5
16863 cat >conftest.$ac_ext <<_ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16878 rm -f conftest.$ac_objext
16879 if { (ac_try="$ac_compile"
16880 case "(($ac_try" in
16881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16882 *) ac_try_echo=$ac_try;;
16884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16885 (eval "$ac_compile") 2>conftest.er1
16887 grep -v '^ *+' conftest.er1 >conftest.err
16889 cat conftest.err >&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } && {
16892 test -z "$ac_cxx_werror_flag" ||
16893 test ! -s conftest.err
16894 } && test -s conftest.$ac_objext; then
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16900 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16902 cat >conftest.$ac_ext <<_ACEOF
16905 cat confdefs.h >>conftest.$ac_ext
16906 cat >>conftest.$ac_ext <<_ACEOF
16907 /* end confdefs.h. */
16917 rm -f conftest.$ac_objext
16918 if { (ac_try="$ac_compile"
16919 case "(($ac_try" in
16920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16921 *) ac_try_echo=$ac_try;;
16923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16924 (eval "$ac_compile") 2>conftest.er1
16926 grep -v '^ *+' conftest.er1 >conftest.err
16928 cat conftest.err >&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } && {
16931 test -z "$ac_cxx_werror_flag" ||
16932 test ! -s conftest.err
16933 } && test -s conftest.$ac_objext; then
16934 ac_cv_prog_cxx_g=yes
16936 echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.$ac_ext >&5
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16949 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16951 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16952 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16953 if test "$ac_test_CXXFLAGS" = set; then
16954 CXXFLAGS=$ac_save_CXXFLAGS
16955 elif test $ac_cv_prog_cxx_g = yes; then
16956 if test "$GXX" = yes; then
16962 if test "$GXX" = yes; then
16969 ac_cpp='$CPP $CPPFLAGS'
16970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16978 ac_cpp='$CXXCPP $CPPFLAGS'
16979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16983 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16984 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16985 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 cat >conftest.$ac_ext <<_ACEOF
16991 cat confdefs.h >>conftest.$ac_ext
16992 cat >>conftest.$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16999 #ifndef __INTEL_COMPILER
17007 rm -f conftest.$ac_objext
17008 if { (ac_try="$ac_compile"
17009 case "(($ac_try" in
17010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17011 *) ac_try_echo=$ac_try;;
17013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17014 (eval "$ac_compile") 2>conftest.er1
17016 grep -v '^ *+' conftest.er1 >conftest.err
17018 cat conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } && {
17021 test -z "$ac_cxx_werror_flag" ||
17022 test ! -s conftest.err
17023 } && test -s conftest.$ac_objext; then
17024 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17029 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17037 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17038 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17039 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17045 ac_cpp='$CPP $CPPFLAGS'
17046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17053 if test "$INTELCXX" = "yes"; then
17057 ac_cpp='$CXXCPP $CPPFLAGS'
17058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17062 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17063 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17064 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 cat >conftest.$ac_ext <<_ACEOF
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17078 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17086 rm -f conftest.$ac_objext
17087 if { (ac_try="$ac_compile"
17088 case "(($ac_try" in
17089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17090 *) ac_try_echo=$ac_try;;
17092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17093 (eval "$ac_compile") 2>conftest.er1
17095 grep -v '^ *+' conftest.er1 >conftest.err
17097 cat conftest.err >&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); } && {
17100 test -z "$ac_cxx_werror_flag" ||
17101 test ! -s conftest.err
17102 } && test -s conftest.$ac_objext; then
17103 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17105 echo "$as_me: failed program was:" >&5
17106 sed 's/^/| /' conftest.$ac_ext >&5
17108 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17117 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17118 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17124 ac_cpp='$CPP $CPPFLAGS'
17125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17134 ac_cpp='$CXXCPP $CPPFLAGS'
17135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17139 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17140 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17141 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 cat >conftest.$ac_ext <<_ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17155 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17163 rm -f conftest.$ac_objext
17164 if { (ac_try="$ac_compile"
17165 case "(($ac_try" in
17166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_compile") 2>conftest.er1
17172 grep -v '^ *+' conftest.er1 >conftest.err
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_cxx_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest.$ac_objext; then
17180 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17185 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17193 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17194 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17195 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17201 ac_cpp='$CPP $CPPFLAGS'
17202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17210 if test "x$GCXX" != "xyes"; then
17211 if test "xCXX" = "xC"; then
17212 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17213 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17214 if test "${bakefile_cv_c_exto+set}" = set; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17217 cat >conftest.$ac_ext <<_ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17232 rm -f conftest.$ac_objext conftest.$ac_ext.o
17233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17234 (eval $ac_compile) 2>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; then
17238 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17240 conftest.$ac_ext.o)
17241 bakefile_cv_c_exto="-ext o"
17248 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17249 See \`config.log' for more details." >&5
17250 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17251 See \`config.log' for more details." >&2;}
17252 { (exit 1); exit 1; }; }
17256 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17259 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17260 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17261 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17262 if test "c" = "c"; then
17263 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17265 if test "c" = "cxx"; then
17266 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17270 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17271 unset ac_cv_prog_cc_g
17272 ac_test_CFLAGS=${CFLAGS+set}
17273 ac_save_CFLAGS=$CFLAGS
17274 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17275 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17276 if test "${ac_cv_prog_cc_g+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 ac_save_c_werror_flag=$ac_c_werror_flag
17280 ac_c_werror_flag=yes
17283 cat >conftest.$ac_ext <<_ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17298 rm -f conftest.$ac_objext
17299 if { (ac_try="$ac_compile"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_compile") 2>conftest.er1
17307 grep -v '^ *+' conftest.er1 >conftest.err
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_c_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest.$ac_objext; then
17315 ac_cv_prog_cc_g=yes
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17321 cat >conftest.$ac_ext <<_ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17336 rm -f conftest.$ac_objext
17337 if { (ac_try="$ac_compile"
17338 case "(($ac_try" in
17339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17340 *) ac_try_echo=$ac_try;;
17342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17343 (eval "$ac_compile") 2>conftest.er1
17345 grep -v '^ *+' conftest.er1 >conftest.err
17347 cat conftest.err >&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } && {
17350 test -z "$ac_c_werror_flag" ||
17351 test ! -s conftest.err
17352 } && test -s conftest.$ac_objext; then
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17358 ac_c_werror_flag=$ac_save_c_werror_flag
17360 cat >conftest.$ac_ext <<_ACEOF
17363 cat confdefs.h >>conftest.$ac_ext
17364 cat >>conftest.$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17375 rm -f conftest.$ac_objext
17376 if { (ac_try="$ac_compile"
17377 case "(($ac_try" in
17378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17379 *) ac_try_echo=$ac_try;;
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_compile") 2>conftest.er1
17384 grep -v '^ *+' conftest.er1 >conftest.err
17386 cat conftest.err >&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && {
17389 test -z "$ac_c_werror_flag" ||
17390 test ! -s conftest.err
17391 } && test -s conftest.$ac_objext; then
17392 ac_cv_prog_cc_g=yes
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17407 ac_c_werror_flag=$ac_save_c_werror_flag
17409 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17410 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17411 if test "$ac_test_CFLAGS" = set; then
17412 CFLAGS=$ac_save_CFLAGS
17413 elif test $ac_cv_prog_cc_g = yes; then
17414 if test "$GCC" = yes; then
17420 if test "$GCC" = yes; then
17434 ac_cpp='$CXXCPP $CPPFLAGS'
17435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17439 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17440 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17441 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17442 echo $ECHO_N "(cached) $ECHO_C" >&6
17444 cat >conftest.$ac_ext <<_ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17463 rm -f conftest.$ac_objext
17464 if { (ac_try="$ac_compile"
17465 case "(($ac_try" in
17466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17467 *) ac_try_echo=$ac_try;;
17469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17470 (eval "$ac_compile") 2>conftest.er1
17472 grep -v '^ *+' conftest.er1 >conftest.err
17474 cat conftest.err >&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } && {
17477 test -z "$ac_cxx_werror_flag" ||
17478 test ! -s conftest.err
17479 } && test -s conftest.$ac_objext; then
17480 bakefile_cv_cxx_compiler___xlC__=yes
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17485 bakefile_cv_cxx_compiler___xlC__=no
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17493 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17494 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17495 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17501 ac_cpp='$CPP $CPPFLAGS'
17502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17514 ac_cpp='$CXXCPP $CPPFLAGS'
17515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17519 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17520 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17521 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 cat >conftest.$ac_ext <<_ACEOF
17527 cat confdefs.h >>conftest.$ac_ext
17528 cat >>conftest.$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17543 rm -f conftest.$ac_objext
17544 if { (ac_try="$ac_compile"
17545 case "(($ac_try" in
17546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17547 *) ac_try_echo=$ac_try;;
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550 (eval "$ac_compile") 2>conftest.er1
17552 grep -v '^ *+' conftest.er1 >conftest.err
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } && {
17557 test -z "$ac_cxx_werror_flag" ||
17558 test ! -s conftest.err
17559 } && test -s conftest.$ac_objext; then
17560 bakefile_cv_cxx_compiler___MWERKS__=yes
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17565 bakefile_cv_cxx_compiler___MWERKS__=no
17569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17574 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17575 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17581 ac_cpp='$CPP $CPPFLAGS'
17582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17588 if test "$MWCXX" != "yes"; then
17592 ac_cpp='$CXXCPP $CPPFLAGS'
17593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17597 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17598 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17599 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 cat >conftest.$ac_ext <<_ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17621 rm -f conftest.$ac_objext
17622 if { (ac_try="$ac_compile"
17623 case "(($ac_try" in
17624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17625 *) ac_try_echo=$ac_try;;
17627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17628 (eval "$ac_compile") 2>conftest.er1
17630 grep -v '^ *+' conftest.er1 >conftest.err
17632 cat conftest.err >&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); } && {
17635 test -z "$ac_cxx_werror_flag" ||
17636 test ! -s conftest.err
17637 } && test -s conftest.$ac_objext; then
17638 bakefile_cv_cxx_compiler___xlC__=yes
17640 echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.$ac_ext >&5
17643 bakefile_cv_cxx_compiler___xlC__=no
17647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17652 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17653 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17659 ac_cpp='$CPP $CPPFLAGS'
17660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17673 ac_cpp='$CXXCPP $CPPFLAGS'
17674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17678 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17679 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17680 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 cat >conftest.$ac_ext <<_ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17694 #ifndef _SGI_COMPILER_VERSION
17702 rm -f conftest.$ac_objext
17703 if { (ac_try="$ac_compile"
17704 case "(($ac_try" in
17705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17706 *) ac_try_echo=$ac_try;;
17708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17709 (eval "$ac_compile") 2>conftest.er1
17711 grep -v '^ *+' conftest.er1 >conftest.err
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } && {
17716 test -z "$ac_cxx_werror_flag" ||
17717 test ! -s conftest.err
17718 } && test -s conftest.$ac_objext; then
17719 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17724 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17732 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17733 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17734 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17740 ac_cpp='$CPP $CPPFLAGS'
17741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17750 if test "$INTELCXX" != "yes"; then
17754 ac_cpp='$CXXCPP $CPPFLAGS'
17755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17759 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17760 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17761 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17762 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 cat >conftest.$ac_ext <<_ACEOF
17767 cat confdefs.h >>conftest.$ac_ext
17768 cat >>conftest.$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17775 #ifndef __SUNPRO_CC
17783 rm -f conftest.$ac_objext
17784 if { (ac_try="$ac_compile"
17785 case "(($ac_try" in
17786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17787 *) ac_try_echo=$ac_try;;
17789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17790 (eval "$ac_compile") 2>conftest.er1
17792 grep -v '^ *+' conftest.er1 >conftest.err
17794 cat conftest.err >&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } && {
17797 test -z "$ac_cxx_werror_flag" ||
17798 test ! -s conftest.err
17799 } && test -s conftest.$ac_objext; then
17800 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17805 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17814 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17815 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17821 ac_cpp='$CPP $CPPFLAGS'
17822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17840 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17841 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17842 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17843 echo $ECHO_N "(cached) $ECHO_C" >&6
17845 cat >conftest.$ac_ext <<_ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17864 rm -f conftest.$ac_objext
17865 if { (ac_try="$ac_compile"
17866 case "(($ac_try" in
17867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17868 *) ac_try_echo=$ac_try;;
17870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17871 (eval "$ac_compile") 2>conftest.er1
17873 grep -v '^ *+' conftest.er1 >conftest.err
17875 cat conftest.err >&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } && {
17878 test -z "$ac_cxx_werror_flag" ||
17879 test ! -s conftest.err
17880 } && test -s conftest.$ac_objext; then
17881 bakefile_cv_cxx_compiler___HP_aCC=yes
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17886 bakefile_cv_cxx_compiler___HP_aCC=no
17890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17894 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17895 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17896 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17902 ac_cpp='$CPP $CPPFLAGS'
17903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17915 ac_cpp='$CXXCPP $CPPFLAGS'
17916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17920 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17921 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17922 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17923 echo $ECHO_N "(cached) $ECHO_C" >&6
17925 cat >conftest.$ac_ext <<_ACEOF
17928 cat confdefs.h >>conftest.$ac_ext
17929 cat >>conftest.$ac_ext <<_ACEOF
17930 /* end confdefs.h. */
17944 rm -f conftest.$ac_objext
17945 if { (ac_try="$ac_compile"
17946 case "(($ac_try" in
17947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17948 *) ac_try_echo=$ac_try;;
17950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17951 (eval "$ac_compile") 2>conftest.er1
17953 grep -v '^ *+' conftest.er1 >conftest.err
17955 cat conftest.err >&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); } && {
17958 test -z "$ac_cxx_werror_flag" ||
17959 test ! -s conftest.err
17960 } && test -s conftest.$ac_objext; then
17961 bakefile_cv_cxx_compiler___DECCXX=yes
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17966 bakefile_cv_cxx_compiler___DECCXX=no
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17975 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17976 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17982 ac_cpp='$CPP $CPPFLAGS'
17983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18000 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18001 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18002 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 cat >conftest.$ac_ext <<_ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18016 #ifndef __SUNPRO_CC
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18028 *) ac_try_echo=$ac_try;;
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18033 grep -v '^ *+' conftest.er1 >conftest.err
18035 cat conftest.err >&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_cxx_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.$ac_objext; then
18041 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18046 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18054 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18055 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18056 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18062 ac_cpp='$CPP $CPPFLAGS'
18063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18075 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18076 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18077 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18078 { (exit 1); exit 1; }; }
18081 if test "x$SUNCXX" != xyes; then
18082 if test -n "$ac_tool_prefix"; then
18083 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18084 set dummy ${ac_tool_prefix}ar; ac_word=$2
18085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18087 if test "${ac_cv_prog_AR+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 if test -n "$AR"; then
18091 ac_cv_prog_AR="$AR" # Let the user override the test.
18093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18094 for as_dir in $PATH
18097 test -z "$as_dir" && as_dir=.
18098 for ac_exec_ext in '' $ac_executable_extensions; do
18099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18100 ac_cv_prog_AR="${ac_tool_prefix}ar"
18101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18111 if test -n "$AR"; then
18112 { echo "$as_me:$LINENO: result: $AR" >&5
18113 echo "${ECHO_T}$AR" >&6; }
18115 { echo "$as_me:$LINENO: result: no" >&5
18116 echo "${ECHO_T}no" >&6; }
18121 if test -z "$ac_cv_prog_AR"; then
18123 # Extract the first word of "ar", so it can be a program name with args.
18124 set dummy ar; ac_word=$2
18125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18127 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18128 echo $ECHO_N "(cached) $ECHO_C" >&6
18130 if test -n "$ac_ct_AR"; then
18131 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18134 for as_dir in $PATH
18137 test -z "$as_dir" && as_dir=.
18138 for ac_exec_ext in '' $ac_executable_extensions; do
18139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18140 ac_cv_prog_ac_ct_AR="ar"
18141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18151 if test -n "$ac_ct_AR"; then
18152 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18153 echo "${ECHO_T}$ac_ct_AR" >&6; }
18155 { echo "$as_me:$LINENO: result: no" >&5
18156 echo "${ECHO_T}no" >&6; }
18159 if test "x$ac_ct_AR" = x; then
18162 case $cross_compiling:$ac_tool_warned in
18164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18165 whose name does not start with the host triplet. If you think this
18166 configuration is useful to you, please write to autoconf@gnu.org." >&5
18167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18168 whose name does not start with the host triplet. If you think this
18169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18170 ac_tool_warned=yes ;;
18175 AR="$ac_cv_prog_AR"
18178 if test "x$AR" = "x" ; then
18179 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18180 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18181 { (exit 1); exit 1; }; }
18186 if test "$wxUSE_MAC" = 1; then
18188 retest_macosx_linking=no
18190 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18191 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18192 # Implicitly turn on the new --with-macosx-sdk using the default
18193 # SDK which provides the behavior this option has always had.
18194 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18195 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18196 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18197 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18198 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18199 wxUSE_MACOSX_SDK=yes
18202 # Complain to user if he specified an argument to --enable-universal_binary
18203 # and also 1) specified --with-macosx-sdk using the default (yes) or
18204 # 2) specified --with-macosx-sdk using a path or 3) specified
18205 # --without-macosx-sdk (no).
18206 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18207 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18208 See \`config.log' for more details." >&5
18209 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18210 See \`config.log' for more details." >&2;}
18211 { (exit 1); exit 1; }; }
18213 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18214 # special-case the empty string because the below test simply
18215 # converts "no" to the empty string anyway.
18216 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18217 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18218 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18221 OSX_UNIV_OPTS="-arch ppc -arch i386"
18222 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18223 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18224 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18225 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18226 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18227 retest_macosx_linking=yes
18229 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18230 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18234 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18236 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18237 # TODO: Search for most recent SDK and use it.
18238 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18242 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18243 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18244 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18245 if ! test -d "$wxUSE_MACOSX_SDK"; then
18246 { { echo "$as_me:$LINENO: error: not found
18247 See \`config.log' for more details." >&5
18248 echo "$as_me: error: not found
18249 See \`config.log' for more details." >&2;}
18250 { (exit 1); exit 1; }; }
18252 { echo "$as_me:$LINENO: result: exists" >&5
18253 echo "${ECHO_T}exists" >&6; }
18255 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18256 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18257 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18258 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18259 retest_macosx_linking=yes
18262 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18263 wxUSE_MACOSX_VERSION_MIN=
18264 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18265 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18266 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18267 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18269 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/'`
18271 # If that failed, try again with the new key
18272 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18274 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/'`
18278 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18279 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18280 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18281 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18283 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18284 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18285 wxUSE_MACOSX_VERSION_MIN=
18288 wxUSE_MACOSX_VERSION_MIN=
18290 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18291 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18292 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18293 # otherwise configure stops on leopard for universal_binary
18294 wxUSE_MACOSX_VERSION_MIN=10.4
18296 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18297 wxUSE_MACOSX_VERSION_MIN=10.5
18302 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18306 if test "$wxUSE_OSX_CARBON" = 1; then
18310 if test "x$NEEDS_GCC40" == "xyes"; then
18311 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18312 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18313 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18314 if test "x$CC" = "xgcc"; then
18315 CCVERSION=`$CC --version | grep 4.[2-9].`
18316 if test "x$CCVERSION" != "x"; then
18317 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18318 CC="/usr/bin/gcc-4.0"
18322 if test "x$CXX" = "xg++"; then
18323 CCVERSION=`$CXX --version | grep 4.[2-9].`
18324 if test "x$CCVERSION" != "x"; then
18325 CXX="/usr/bin/g++-4.0"
18330 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18331 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18332 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18333 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18334 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18335 retest_macosx_linking=yes
18338 if test "x$retest_macosx_linking" = "xyes"; then
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18345 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18346 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18347 cat >conftest.$ac_ext <<_ACEOF
18350 cat confdefs.h >>conftest.$ac_ext
18351 cat >>conftest.$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18362 rm -f conftest.$ac_objext conftest$ac_exeext
18363 if { (ac_try="$ac_link"
18364 case "(($ac_try" in
18365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18366 *) ac_try_echo=$ac_try;;
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18369 (eval "$ac_link") 2>conftest.er1
18371 grep -v '^ *+' conftest.er1 >conftest.err
18373 cat conftest.err >&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); } && {
18376 test -z "$ac_c_werror_flag" ||
18377 test ! -s conftest.err
18378 } && test -s conftest$ac_exeext &&
18379 $as_test_x conftest$ac_exeext; then
18380 { echo "$as_me:$LINENO: result: yes" >&5
18381 echo "${ECHO_T}yes" >&6; }
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18386 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18387 See \`config.log' for more details." >&5
18388 echo "$as_me: error: no. Try a different SDK
18389 See \`config.log' for more details." >&2;}
18390 { (exit 1); exit 1; }; }; exit 1
18393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18394 conftest$ac_exeext conftest.$ac_ext
18396 ac_cpp='$CPP $CPPFLAGS'
18397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18403 ac_cpp='$CXXCPP $CPPFLAGS'
18404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18408 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18409 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18410 cat >conftest.$ac_ext <<_ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18425 rm -f conftest.$ac_objext conftest$ac_exeext
18426 if { (ac_try="$ac_link"
18427 case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_link") 2>conftest.er1
18434 grep -v '^ *+' conftest.er1 >conftest.err
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } && {
18439 test -z "$ac_cxx_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest$ac_exeext &&
18442 $as_test_x conftest$ac_exeext; then
18443 { echo "$as_me:$LINENO: result: yes" >&5
18444 echo "${ECHO_T}yes" >&6; }
18446 echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.$ac_ext >&5
18449 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18450 See \`config.log' for more details." >&5
18451 echo "$as_me: error: no. Try a different SDK
18452 See \`config.log' for more details." >&2;}
18453 { (exit 1); exit 1; }; }; exit 1
18456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18457 conftest$ac_exeext conftest.$ac_ext
18459 ac_cpp='$CPP $CPPFLAGS'
18460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18470 INSTALL_PROGRAM="cp -fp"
18471 INSTALL_DATA="cp -fp"
18478 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18479 CXXFLAGS="-qunique $CXXFLAGS"
18483 powerpc-*-darwin* )
18484 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18485 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18486 cat >conftest.$ac_ext <<_ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18496 #ifndef __POWERPC__
18497 choke me for lack of PowerPC
18504 rm -f conftest.$ac_objext
18505 if { (ac_try="$ac_compile"
18506 case "(($ac_try" in
18507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18508 *) ac_try_echo=$ac_try;;
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 (eval "$ac_compile") 2>conftest.er1
18513 grep -v '^ *+' conftest.er1 >conftest.err
18515 cat conftest.err >&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } && {
18518 test -z "$ac_c_werror_flag" ||
18519 test ! -s conftest.err
18520 } && test -s conftest.$ac_objext; then
18521 { echo "$as_me:$LINENO: result: yes" >&5
18522 echo "${ECHO_T}yes" >&6; }
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18527 { echo "$as_me:$LINENO: result: no" >&5
18528 echo "${ECHO_T}no" >&6; }
18529 cat >>confdefs.h <<\_ACEOF
18530 #define __POWERPC__ 1
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18542 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18543 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18544 cat >conftest.$ac_ext <<_ACEOF
18547 cat confdefs.h >>conftest.$ac_ext
18548 cat >>conftest.$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18550 #include <CoreFoundation/CFBase.h>
18560 rm -f conftest.$ac_objext
18561 if { (ac_try="$ac_compile"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18564 *) ac_try_echo=$ac_try;;
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_compile") 2>conftest.er1
18569 grep -v '^ *+' conftest.er1 >conftest.err
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && {
18574 test -z "$ac_c_werror_flag" ||
18575 test ! -s conftest.err
18576 } && test -s conftest.$ac_objext; then
18577 { echo "$as_me:$LINENO: result: yes" >&5
18578 echo "${ECHO_T}yes" >&6; }
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18583 { echo "$as_me:$LINENO: result: no" >&5
18584 echo "${ECHO_T}no" >&6; }
18585 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18586 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18587 cat >conftest.$ac_ext <<_ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 #define __CF_USE_FRAMEWORK_INCLUDES__
18594 #include <CoreFoundation/CFBase.h>
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 { echo "$as_me:$LINENO: result: yes" >&5
18622 echo "${ECHO_T}yes" >&6; }
18623 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18628 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18629 See \`config.log' for more details." >&5
18630 echo "$as_me: error: no. CoreFoundation not available.
18631 See \`config.log' for more details." >&2;}
18632 { (exit 1); exit 1; }; }
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646 doesnt_want_win32=0
18649 if test "$wxUSE_MSW" = 1 ; then
18652 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18653 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18654 if test "${wx_cv_nocygwin+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18658 cat >conftest.$ac_ext <<_ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18677 rm -f conftest.$ac_objext
18678 if { (ac_try="$ac_compile"
18679 case "(($ac_try" in
18680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18681 *) ac_try_echo=$ac_try;;
18683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684 (eval "$ac_compile") 2>conftest.er1
18686 grep -v '^ *+' conftest.er1 >conftest.err
18688 cat conftest.err >&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); } && {
18691 test -z "$ac_c_werror_flag" ||
18692 test ! -s conftest.err
18693 } && test -s conftest.$ac_objext; then
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.$ac_ext >&5
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18708 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18710 if test "$wx_cv_nocygwin" = "yes"; then
18713 doesnt_want_win32=1
18716 if test "$wants_win32" = 1 ; then
18717 BAKEFILE_FORCE_PLATFORM=win32
18725 if test "$wxUSE_WINE" = "yes"; then
18727 LDFLAGS_GUI="-mwindows"
18730 if test "$wants_win32" = 1 ; then
18733 cat >>confdefs.h <<\_ACEOF
18734 #define __WIN32__ 1
18737 cat >>confdefs.h <<\_ACEOF
18738 #define __WIN95__ 1
18741 cat >>confdefs.h <<\_ACEOF
18742 #define __WINDOWS__ 1
18745 cat >>confdefs.h <<\_ACEOF
18746 #define __GNUWIN32__ 1
18749 cat >>confdefs.h <<\_ACEOF
18754 if test "$doesnt_want_win32" = 1 ; then
18759 if test "$USE_UNIX" = 1 ; then
18761 cat >>confdefs.h <<\_ACEOF
18768 *-pc-os2_emx | *-pc-os2-emx )
18769 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18770 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18771 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18772 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18775 ac_check_lib_save_LIBS=$LIBS
18776 LIBS="-lcExt $LIBS"
18777 cat >conftest.$ac_ext <<_ACEOF
18780 cat confdefs.h >>conftest.$ac_ext
18781 cat >>conftest.$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18784 /* Override any GCC internal prototype to avoid an error.
18785 Use char because int might match the return type of a GCC
18786 builtin and then its argument prototype would still apply. */
18799 rm -f conftest.$ac_objext conftest$ac_exeext
18800 if { (ac_try="$ac_link"
18801 case "(($ac_try" in
18802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18803 *) ac_try_echo=$ac_try;;
18805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18806 (eval "$ac_link") 2>conftest.er1
18808 grep -v '^ *+' conftest.er1 >conftest.err
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } && {
18813 test -z "$ac_c_werror_flag" ||
18814 test ! -s conftest.err
18815 } && test -s conftest$ac_exeext &&
18816 $as_test_x conftest$ac_exeext; then
18817 ac_cv_lib_cExt_drand48=yes
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.$ac_ext >&5
18822 ac_cv_lib_cExt_drand48=no
18825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18826 conftest$ac_exeext conftest.$ac_ext
18827 LIBS=$ac_check_lib_save_LIBS
18829 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18830 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18831 if test $ac_cv_lib_cExt_drand48 = yes; then
18832 LIBS="$LIBS -lcExt"
18836 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18838 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18839 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18840 if test "${wx_cv_gccversion+set}" = set; then
18841 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 if test "$cross_compiling" = yes; then
18845 wx_cv_gccversion="EMX2"
18848 cat >conftest.$ac_ext <<_ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18859 FILE *f=fopen("conftestval", "w");
18864 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18866 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18876 rm -f conftest$ac_exeext
18877 if { (ac_try="$ac_link"
18878 case "(($ac_try" in
18879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18880 *) ac_try_echo=$ac_try;;
18882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18883 (eval "$ac_link") 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; }; then
18896 wx_cv_gccversion=`cat conftestval`
18898 echo "$as_me: program exited with status $ac_status" >&5
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18902 ( exit $ac_status )
18903 wx_cv_gccversion="EMX2"
18905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18911 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18912 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18913 if test "$wx_cv_gccversion" = "EMX2"; then
18914 LIBS="$LIBS -lstdcpp"
18915 LDFLAGS="$LDFLAGS -Zsysv-signals"
18917 if test "$wx_cv_gccversion" = "EMX3"; then
18918 LIBS="$LIBS -lstdcxx -lgcc"
18919 LDFLAGS="$LDFLAGS -Zsysv-signals"
18921 LIBS="$LIBS -lstdc++"
18924 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18925 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18926 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18933 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18934 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18935 if test "${ac_cv_string_strcasecmp+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 cat >conftest.$ac_ext <<_ACEOF
18942 cat confdefs.h >>conftest.$ac_ext
18943 cat >>conftest.$ac_ext <<_ACEOF
18944 /* end confdefs.h. */
18946 #include <string.h>
18952 strcasecmp("foo", "bar");
18958 rm -f conftest.$ac_objext conftest$ac_exeext
18959 if { (ac_try="$ac_link"
18960 case "(($ac_try" in
18961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18962 *) ac_try_echo=$ac_try;;
18964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18965 (eval "$ac_link") 2>conftest.er1
18967 grep -v '^ *+' conftest.er1 >conftest.err
18969 cat conftest.err >&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } && {
18972 test -z "$ac_c_werror_flag" ||
18973 test ! -s conftest.err
18974 } && test -s conftest$ac_exeext &&
18975 $as_test_x conftest$ac_exeext; then
18976 ac_cv_string_strcasecmp=yes
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.$ac_ext >&5
18981 ac_cv_string_strcasecmp=no
18985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18986 conftest$ac_exeext conftest.$ac_ext
18989 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18990 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18992 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18993 cat >>confdefs.h <<\_ACEOF
18994 #define HAVE_STRCASECMP_IN_STRING_H 1
18998 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18999 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19000 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 cat >conftest.$ac_ext <<_ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19011 #include <strings.h>
19017 strcasecmp("foo", "bar");
19023 rm -f conftest.$ac_objext conftest$ac_exeext
19024 if { (ac_try="$ac_link"
19025 case "(($ac_try" in
19026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_link") 2>conftest.er1
19032 grep -v '^ *+' conftest.er1 >conftest.err
19034 cat conftest.err >&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } && {
19037 test -z "$ac_c_werror_flag" ||
19038 test ! -s conftest.err
19039 } && test -s conftest$ac_exeext &&
19040 $as_test_x conftest$ac_exeext; then
19041 ac_cv_strings_strcasecmp=yes
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.$ac_ext >&5
19046 ac_cv_strings_strcasecmp=no
19050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19051 conftest$ac_exeext conftest.$ac_ext
19054 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19055 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19057 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19058 cat >>confdefs.h <<\_ACEOF
19059 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19063 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19064 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19065 { (exit 1); exit 1; }; }
19073 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19074 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19075 if test "${ac_cv_header_stdc+set}" = set; then
19076 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 cat >conftest.$ac_ext <<_ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 #include <stdlib.h>
19085 #include <stdarg.h>
19086 #include <string.h>
19097 rm -f conftest.$ac_objext
19098 if { (ac_try="$ac_compile"
19099 case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_compile") 2>conftest.er1
19106 grep -v '^ *+' conftest.er1 >conftest.err
19108 cat conftest.err >&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } && {
19111 test -z "$ac_c_werror_flag" ||
19112 test ! -s conftest.err
19113 } && test -s conftest.$ac_objext; then
19114 ac_cv_header_stdc=yes
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 ac_cv_header_stdc=no
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19124 if test $ac_cv_header_stdc = yes; then
19125 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19126 cat >conftest.$ac_ext <<_ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <string.h>
19135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19136 $EGREP "memchr" >/dev/null 2>&1; then
19139 ac_cv_header_stdc=no
19145 if test $ac_cv_header_stdc = yes; then
19146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19147 cat >conftest.$ac_ext <<_ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 #include <stdlib.h>
19156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19157 $EGREP "free" >/dev/null 2>&1; then
19160 ac_cv_header_stdc=no
19166 if test $ac_cv_header_stdc = yes; then
19167 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19168 if test "$cross_compiling" = yes; then
19171 cat >conftest.$ac_ext <<_ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19178 #include <stdlib.h>
19179 #if ((' ' & 0x0FF) == 0x020)
19180 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19181 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19183 # define ISLOWER(c) \
19184 (('a' <= (c) && (c) <= 'i') \
19185 || ('j' <= (c) && (c) <= 'r') \
19186 || ('s' <= (c) && (c) <= 'z'))
19187 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19190 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19195 for (i = 0; i < 256; i++)
19196 if (XOR (islower (i), ISLOWER (i))
19197 || toupper (i) != TOUPPER (i))
19202 rm -f conftest$ac_exeext
19203 if { (ac_try="$ac_link"
19204 case "(($ac_try" in
19205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19206 *) ac_try_echo=$ac_try;;
19208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19209 (eval "$ac_link") 2>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; }; then
19224 echo "$as_me: program exited with status $ac_status" >&5
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 ( exit $ac_status )
19229 ac_cv_header_stdc=no
19231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19237 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19238 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19239 if test $ac_cv_header_stdc = yes; then
19241 cat >>confdefs.h <<\_ACEOF
19242 #define STDC_HEADERS 1
19247 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19257 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19258 inttypes.h stdint.h unistd.h
19260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 cat >conftest.$ac_ext <<_ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 $ac_includes_default
19274 #include <$ac_header>
19276 rm -f conftest.$ac_objext
19277 if { (ac_try="$ac_compile"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_compile") 2>conftest.er1
19285 grep -v '^ *+' conftest.er1 >conftest.err
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest.$ac_objext; then
19293 eval "$as_ac_Header=yes"
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19298 eval "$as_ac_Header=no"
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19303 ac_res=`eval echo '${'$as_ac_Header'}'`
19304 { echo "$as_me:$LINENO: result: $ac_res" >&5
19305 echo "${ECHO_T}$ac_res" >&6; }
19306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19307 cat >>confdefs.h <<_ACEOF
19308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19318 for ac_header in langinfo.h wchar.h
19320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19324 echo $ECHO_N "(cached) $ECHO_C" >&6
19326 cat >conftest.$ac_ext <<_ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19334 #include <$ac_header>
19336 rm -f conftest.$ac_objext
19337 if { (ac_try="$ac_compile"
19338 case "(($ac_try" in
19339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19340 *) ac_try_echo=$ac_try;;
19342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19343 (eval "$ac_compile") 2>conftest.er1
19345 grep -v '^ *+' conftest.er1 >conftest.err
19347 cat conftest.err >&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); } && {
19350 test -z "$ac_c_werror_flag" ||
19351 test ! -s conftest.err
19352 } && test -s conftest.$ac_objext; then
19353 eval "$as_ac_Header=yes"
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.$ac_ext >&5
19358 eval "$as_ac_Header=no"
19361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 ac_res=`eval echo '${'$as_ac_Header'}'`
19364 { echo "$as_me:$LINENO: result: $ac_res" >&5
19365 echo "${ECHO_T}$ac_res" >&6; }
19366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19367 cat >>confdefs.h <<_ACEOF
19368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19376 if test "$ac_cv_header_wchar_h" != "yes"; then
19378 for ac_header in wcstr.h
19380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19381 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19386 cat >conftest.$ac_ext <<_ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h. */
19392 $ac_includes_default
19394 #include <$ac_header>
19396 rm -f conftest.$ac_objext
19397 if { (ac_try="$ac_compile"
19398 case "(($ac_try" in
19399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19400 *) ac_try_echo=$ac_try;;
19402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19403 (eval "$ac_compile") 2>conftest.er1
19405 grep -v '^ *+' conftest.er1 >conftest.err
19407 cat conftest.err >&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } && {
19410 test -z "$ac_c_werror_flag" ||
19411 test ! -s conftest.err
19412 } && test -s conftest.$ac_objext; then
19413 eval "$as_ac_Header=yes"
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 eval "$as_ac_Header=no"
19421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423 ac_res=`eval echo '${'$as_ac_Header'}'`
19424 { echo "$as_me:$LINENO: result: $ac_res" >&5
19425 echo "${ECHO_T}$ac_res" >&6; }
19426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19427 cat >>confdefs.h <<_ACEOF
19428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19438 *-pc-os2_emx | *-pc-os2-emx )
19439 if test $ac_cv_header_langinfo_h = "yes" \
19440 -a \( "$wx_cv_gccversion" = "EMX2" \
19441 -o "$wx_cv_gccversion" = "EMX3" \
19442 -o "$wx_cv_gccversion" = "Innotek5" \); then
19443 LIBS="$LIBS -lintl"
19448 if test "$USE_UNIX" = 1 ; then
19450 for ac_header in sys/select.h
19452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 cat >conftest.$ac_ext <<_ACEOF
19461 cat confdefs.h >>conftest.$ac_ext
19462 cat >>conftest.$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 $ac_includes_default
19466 #include <$ac_header>
19468 rm -f conftest.$ac_objext
19469 if { (ac_try="$ac_compile"
19470 case "(($ac_try" in
19471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19472 *) ac_try_echo=$ac_try;;
19474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19475 (eval "$ac_compile") 2>conftest.er1
19477 grep -v '^ *+' conftest.er1 >conftest.err
19479 cat conftest.err >&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } && {
19482 test -z "$ac_c_werror_flag" ||
19483 test ! -s conftest.err
19484 } && test -s conftest.$ac_objext; then
19485 eval "$as_ac_Header=yes"
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 eval "$as_ac_Header=no"
19493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19495 ac_res=`eval echo '${'$as_ac_Header'}'`
19496 { echo "$as_me:$LINENO: result: $ac_res" >&5
19497 echo "${ECHO_T}$ac_res" >&6; }
19498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19499 cat >>confdefs.h <<_ACEOF
19500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19510 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19511 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19512 if test "${ac_cv_c_const+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 cat >conftest.$ac_ext <<_ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19525 /* FIXME: Include the comments suggested by Paul. */
19526 #ifndef __cplusplus
19527 /* Ultrix mips cc rejects this. */
19528 typedef int charset[2];
19530 /* SunOS 4.1.1 cc rejects this. */
19531 char const *const *pcpcc;
19533 /* NEC SVR4.0.2 mips cc rejects this. */
19534 struct point {int x, y;};
19535 static struct point const zero = {0,0};
19536 /* AIX XL C 1.02.0.0 rejects this.
19537 It does not let you subtract one const X* pointer from another in
19538 an arm of an if-expression whose if-part is not a constant
19540 const char *g = "string";
19541 pcpcc = &g + (g ? g-g : 0);
19542 /* HPUX 7.0 cc rejects these. */
19544 ppc = (char**) pcpcc;
19545 pcpcc = (char const *const *) ppc;
19546 { /* SCO 3.2v4 cc rejects this. */
19548 char const *s = 0 ? (char *) 0 : (char const *) 0;
19553 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19554 int x[] = {25, 17};
19555 const int *foo = &x[0];
19558 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19559 typedef const int *iptr;
19563 { /* AIX XL C 1.02.0.0 rejects this saying
19564 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19565 struct s { int j; const int *ap[3]; };
19566 struct s *b; b->j = 5;
19568 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19569 const int foo = 10;
19570 if (!foo) return 0;
19572 return !cs[0] && !zero.x;
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19588 grep -v '^ *+' conftest.er1 >conftest.err
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } && {
19593 test -z "$ac_c_werror_flag" ||
19594 test ! -s conftest.err
19595 } && test -s conftest.$ac_objext; then
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19606 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19607 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19608 if test $ac_cv_c_const = no; then
19610 cat >>confdefs.h <<\_ACEOF
19616 { echo "$as_me:$LINENO: checking for inline" >&5
19617 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19618 if test "${ac_cv_c_inline+set}" = set; then
19619 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 for ac_kw in inline __inline__ __inline; do
19623 cat >conftest.$ac_ext <<_ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #ifndef __cplusplus
19631 static $ac_kw foo_t static_foo () {return 0; }
19632 $ac_kw foo_t foo () {return 0; }
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1 >conftest.err
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_c_inline=$ac_kw
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662 test "$ac_cv_c_inline" != no && break
19666 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19667 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19670 case $ac_cv_c_inline in
19673 case $ac_cv_c_inline in
19675 *) ac_val=$ac_cv_c_inline;;
19677 cat >>confdefs.h <<_ACEOF
19678 #ifndef __cplusplus
19679 #define inline $ac_val
19686 { echo "$as_me:$LINENO: checking for short" >&5
19687 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19688 if test "${ac_cv_type_short+set}" = set; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 cat >conftest.$ac_ext <<_ACEOF
19694 cat confdefs.h >>conftest.$ac_ext
19695 cat >>conftest.$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 $ac_includes_default
19698 typedef short ac__type_new_;
19702 if ((ac__type_new_ *) 0)
19704 if (sizeof (ac__type_new_))
19710 rm -f conftest.$ac_objext
19711 if { (ac_try="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19719 grep -v '^ *+' conftest.er1 >conftest.err
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_c_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19727 ac_cv_type_short=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 ac_cv_type_short=no
19735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19738 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19740 # The cast to long int works around a bug in the HP C Compiler
19741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19743 # This bug is HP SR number 8606223364.
19744 { echo "$as_me:$LINENO: checking size of short" >&5
19745 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19746 if test "${ac_cv_sizeof_short+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 if test "$cross_compiling" = yes; then
19750 # Depending upon the size, compute the lo and hi bounds.
19751 cat >conftest.$ac_ext <<_ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 $ac_includes_default
19758 typedef short ac__type_sizeof_;
19762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19769 rm -f conftest.$ac_objext
19770 if { (ac_try="$ac_compile"
19771 case "(($ac_try" in
19772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19773 *) ac_try_echo=$ac_try;;
19775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19776 (eval "$ac_compile") 2>conftest.er1
19778 grep -v '^ *+' conftest.er1 >conftest.err
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } && {
19783 test -z "$ac_c_werror_flag" ||
19784 test ! -s conftest.err
19785 } && test -s conftest.$ac_objext; then
19788 cat >conftest.$ac_ext <<_ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 $ac_includes_default
19795 typedef short ac__type_sizeof_;
19799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810 *) ac_try_echo=$ac_try;;
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19815 grep -v '^ *+' conftest.er1 >conftest.err
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && {
19820 test -z "$ac_c_werror_flag" ||
19821 test ! -s conftest.err
19822 } && test -s conftest.$ac_objext; then
19823 ac_hi=$ac_mid; break
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19828 ac_lo=`expr $ac_mid + 1`
19829 if test $ac_lo -le $ac_mid; then
19833 ac_mid=`expr 2 '*' $ac_mid + 1`
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839 echo "$as_me: failed program was:" >&5
19840 sed 's/^/| /' conftest.$ac_ext >&5
19842 cat >conftest.$ac_ext <<_ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 $ac_includes_default
19849 typedef short ac__type_sizeof_;
19853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19860 rm -f conftest.$ac_objext
19861 if { (ac_try="$ac_compile"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_compile") 2>conftest.er1
19869 grep -v '^ *+' conftest.er1 >conftest.err
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest.$ac_objext; then
19879 cat >conftest.$ac_ext <<_ACEOF
19882 cat confdefs.h >>conftest.$ac_ext
19883 cat >>conftest.$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 $ac_includes_default
19886 typedef short ac__type_sizeof_;
19890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19906 grep -v '^ *+' conftest.er1 >conftest.err
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_c_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19914 ac_lo=$ac_mid; break
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19919 ac_hi=`expr '(' $ac_mid ')' - 1`
19920 if test $ac_mid -le $ac_hi; then
19924 ac_mid=`expr 2 '*' $ac_mid`
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.$ac_ext >&5
19936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 # Binary search between lo and hi bounds.
19941 while test "x$ac_lo" != "x$ac_hi"; do
19942 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19943 cat >conftest.$ac_ext <<_ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef short ac__type_sizeof_;
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19970 grep -v '^ *+' conftest.er1 >conftest.err
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19983 ac_lo=`expr '(' $ac_mid ')' + 1`
19986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 ?*) ac_cv_sizeof_short=$ac_lo;;
19990 '') if test "$ac_cv_type_short" = yes; then
19991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19992 See \`config.log' for more details." >&5
19993 echo "$as_me: error: cannot compute sizeof (short)
19994 See \`config.log' for more details." >&2;}
19995 { (exit 77); exit 77; }; }
19997 ac_cv_sizeof_short=0
20001 cat >conftest.$ac_ext <<_ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 $ac_includes_default
20008 typedef short ac__type_sizeof_;
20009 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20010 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20012 #include <stdlib.h>
20017 FILE *f = fopen ("conftest.val", "w");
20020 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20022 long int i = longval ();
20023 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20025 fprintf (f, "%ld\n", i);
20029 unsigned long int i = ulongval ();
20030 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20032 fprintf (f, "%lu\n", i);
20034 return ferror (f) || fclose (f) != 0;
20040 rm -f conftest$ac_exeext
20041 if { (ac_try="$ac_link"
20042 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;;
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_link") 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 ac_cv_sizeof_short=`cat conftest.val`
20062 echo "$as_me: program exited with status $ac_status" >&5
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20066 ( exit $ac_status )
20067 if test "$ac_cv_type_short" = yes; then
20068 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20069 See \`config.log' for more details." >&5
20070 echo "$as_me: error: cannot compute sizeof (short)
20071 See \`config.log' for more details." >&2;}
20072 { (exit 77); exit 77; }; }
20074 ac_cv_sizeof_short=0
20077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20081 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20082 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20086 cat >>confdefs.h <<_ACEOF
20087 #define SIZEOF_SHORT $ac_cv_sizeof_short
20091 { echo "$as_me:$LINENO: checking for void *" >&5
20092 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20093 if test "${ac_cv_type_void_p+set}" = set; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 cat >conftest.$ac_ext <<_ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 typedef void * ac__type_new_;
20107 if ((ac__type_new_ *) 0)
20109 if (sizeof (ac__type_new_))
20115 rm -f conftest.$ac_objext
20116 if { (ac_try="$ac_compile"
20117 case "(($ac_try" in
20118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20119 *) ac_try_echo=$ac_try;;
20121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20122 (eval "$ac_compile") 2>conftest.er1
20124 grep -v '^ *+' conftest.er1 >conftest.err
20126 cat conftest.err >&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } && {
20129 test -z "$ac_c_werror_flag" ||
20130 test ! -s conftest.err
20131 } && test -s conftest.$ac_objext; then
20132 ac_cv_type_void_p=yes
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20137 ac_cv_type_void_p=no
20140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20142 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20143 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20145 # The cast to long int works around a bug in the HP C Compiler
20146 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20147 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20148 # This bug is HP SR number 8606223364.
20149 { echo "$as_me:$LINENO: checking size of void *" >&5
20150 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20151 if test "${ac_cv_sizeof_void_p+set}" = set; then
20152 echo $ECHO_N "(cached) $ECHO_C" >&6
20154 if test "$cross_compiling" = yes; then
20155 # Depending upon the size, compute the lo and hi bounds.
20156 cat >conftest.$ac_ext <<_ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 $ac_includes_default
20163 typedef void * ac__type_sizeof_;
20167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20174 rm -f conftest.$ac_objext
20175 if { (ac_try="$ac_compile"
20176 case "(($ac_try" in
20177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20178 *) ac_try_echo=$ac_try;;
20180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20181 (eval "$ac_compile") 2>conftest.er1
20183 grep -v '^ *+' conftest.er1 >conftest.err
20185 cat conftest.err >&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } && {
20188 test -z "$ac_c_werror_flag" ||
20189 test ! -s conftest.err
20190 } && test -s conftest.$ac_objext; then
20193 cat >conftest.$ac_ext <<_ACEOF
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199 $ac_includes_default
20200 typedef void * ac__type_sizeof_;
20204 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20215 *) ac_try_echo=$ac_try;;
20217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20220 grep -v '^ *+' conftest.er1 >conftest.err
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } && {
20225 test -z "$ac_c_werror_flag" ||
20226 test ! -s conftest.err
20227 } && test -s conftest.$ac_objext; then
20228 ac_hi=$ac_mid; break
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20233 ac_lo=`expr $ac_mid + 1`
20234 if test $ac_lo -le $ac_mid; then
20238 ac_mid=`expr 2 '*' $ac_mid + 1`
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20254 typedef void * ac__type_sizeof_;
20258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20265 rm -f conftest.$ac_objext
20266 if { (ac_try="$ac_compile"
20267 case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_compile") 2>conftest.er1
20274 grep -v '^ *+' conftest.er1 >conftest.err
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } && {
20279 test -z "$ac_c_werror_flag" ||
20280 test ! -s conftest.err
20281 } && test -s conftest.$ac_objext; then
20284 cat >conftest.$ac_ext <<_ACEOF
20287 cat confdefs.h >>conftest.$ac_ext
20288 cat >>conftest.$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 $ac_includes_default
20291 typedef void * ac__type_sizeof_;
20295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20302 rm -f conftest.$ac_objext
20303 if { (ac_try="$ac_compile"
20304 case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_compile") 2>conftest.er1
20311 grep -v '^ *+' conftest.er1 >conftest.err
20313 cat conftest.err >&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } && {
20316 test -z "$ac_c_werror_flag" ||
20317 test ! -s conftest.err
20318 } && test -s conftest.$ac_objext; then
20319 ac_lo=$ac_mid; break
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20324 ac_hi=`expr '(' $ac_mid ')' - 1`
20325 if test $ac_mid -le $ac_hi; then
20329 ac_mid=`expr 2 '*' $ac_mid`
20332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20335 echo "$as_me: failed program was:" >&5
20336 sed 's/^/| /' conftest.$ac_ext >&5
20341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20345 # Binary search between lo and hi bounds.
20346 while test "x$ac_lo" != "x$ac_hi"; do
20347 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20348 cat >conftest.$ac_ext <<_ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef void * ac__type_sizeof_;
20359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20366 rm -f conftest.$ac_objext
20367 if { (ac_try="$ac_compile"
20368 case "(($ac_try" in
20369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_compile") 2>conftest.er1
20375 grep -v '^ *+' conftest.er1 >conftest.err
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } && {
20380 test -z "$ac_c_werror_flag" ||
20381 test ! -s conftest.err
20382 } && test -s conftest.$ac_objext; then
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20388 ac_lo=`expr '(' $ac_mid ')' + 1`
20391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20395 '') if test "$ac_cv_type_void_p" = yes; then
20396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20397 See \`config.log' for more details." >&5
20398 echo "$as_me: error: cannot compute sizeof (void *)
20399 See \`config.log' for more details." >&2;}
20400 { (exit 77); exit 77; }; }
20402 ac_cv_sizeof_void_p=0
20406 cat >conftest.$ac_ext <<_ACEOF
20409 cat confdefs.h >>conftest.$ac_ext
20410 cat >>conftest.$ac_ext <<_ACEOF
20411 /* end confdefs.h. */
20412 $ac_includes_default
20413 typedef void * ac__type_sizeof_;
20414 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20415 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20417 #include <stdlib.h>
20422 FILE *f = fopen ("conftest.val", "w");
20425 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20427 long int i = longval ();
20428 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20430 fprintf (f, "%ld\n", i);
20434 unsigned long int i = ulongval ();
20435 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20437 fprintf (f, "%lu\n", i);
20439 return ferror (f) || fclose (f) != 0;
20445 rm -f conftest$ac_exeext
20446 if { (ac_try="$ac_link"
20447 case "(($ac_try" in
20448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_link") 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; }; then
20465 ac_cv_sizeof_void_p=`cat conftest.val`
20467 echo "$as_me: program exited with status $ac_status" >&5
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20471 ( exit $ac_status )
20472 if test "$ac_cv_type_void_p" = yes; then
20473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20474 See \`config.log' for more details." >&5
20475 echo "$as_me: error: cannot compute sizeof (void *)
20476 See \`config.log' for more details." >&2;}
20477 { (exit 77); exit 77; }; }
20479 ac_cv_sizeof_void_p=0
20482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20486 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20487 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20491 cat >>confdefs.h <<_ACEOF
20492 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20496 { echo "$as_me:$LINENO: checking for int" >&5
20497 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20498 if test "${ac_cv_type_int+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20501 cat >conftest.$ac_ext <<_ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 typedef int ac__type_new_;
20512 if ((ac__type_new_ *) 0)
20514 if (sizeof (ac__type_new_))
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1 >conftest.err
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } && {
20534 test -z "$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 } && test -s conftest.$ac_objext; then
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20547 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20548 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20550 # The cast to long int works around a bug in the HP C Compiler
20551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20553 # This bug is HP SR number 8606223364.
20554 { echo "$as_me:$LINENO: checking size of int" >&5
20555 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20556 if test "${ac_cv_sizeof_int+set}" = set; then
20557 echo $ECHO_N "(cached) $ECHO_C" >&6
20559 if test "$cross_compiling" = yes; then
20560 # Depending upon the size, compute the lo and hi bounds.
20561 cat >conftest.$ac_ext <<_ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567 $ac_includes_default
20568 typedef int ac__type_sizeof_;
20572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20579 rm -f conftest.$ac_objext
20580 if { (ac_try="$ac_compile"
20581 case "(($ac_try" in
20582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20583 *) ac_try_echo=$ac_try;;
20585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20586 (eval "$ac_compile") 2>conftest.er1
20588 grep -v '^ *+' conftest.er1 >conftest.err
20590 cat conftest.err >&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } && {
20593 test -z "$ac_c_werror_flag" ||
20594 test ! -s conftest.err
20595 } && test -s conftest.$ac_objext; then
20598 cat >conftest.$ac_ext <<_ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 $ac_includes_default
20605 typedef int ac__type_sizeof_;
20609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20616 rm -f conftest.$ac_objext
20617 if { (ac_try="$ac_compile"
20618 case "(($ac_try" in
20619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620 *) ac_try_echo=$ac_try;;
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_compile") 2>conftest.er1
20625 grep -v '^ *+' conftest.er1 >conftest.err
20627 cat conftest.err >&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } && {
20630 test -z "$ac_c_werror_flag" ||
20631 test ! -s conftest.err
20632 } && test -s conftest.$ac_objext; then
20633 ac_hi=$ac_mid; break
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20638 ac_lo=`expr $ac_mid + 1`
20639 if test $ac_lo -le $ac_mid; then
20643 ac_mid=`expr 2 '*' $ac_mid + 1`
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.$ac_ext >&5
20652 cat >conftest.$ac_ext <<_ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 $ac_includes_default
20659 typedef int ac__type_sizeof_;
20663 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20670 rm -f conftest.$ac_objext
20671 if { (ac_try="$ac_compile"
20672 case "(($ac_try" in
20673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674 *) ac_try_echo=$ac_try;;
20676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20677 (eval "$ac_compile") 2>conftest.er1
20679 grep -v '^ *+' conftest.er1 >conftest.err
20681 cat conftest.err >&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } && {
20684 test -z "$ac_c_werror_flag" ||
20685 test ! -s conftest.err
20686 } && test -s conftest.$ac_objext; then
20689 cat >conftest.$ac_ext <<_ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 $ac_includes_default
20696 typedef int ac__type_sizeof_;
20700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20707 rm -f conftest.$ac_objext
20708 if { (ac_try="$ac_compile"
20709 case "(($ac_try" in
20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;;
20713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_compile") 2>conftest.er1
20716 grep -v '^ *+' conftest.er1 >conftest.err
20718 cat conftest.err >&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); } && {
20721 test -z "$ac_c_werror_flag" ||
20722 test ! -s conftest.err
20723 } && test -s conftest.$ac_objext; then
20724 ac_lo=$ac_mid; break
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.$ac_ext >&5
20729 ac_hi=`expr '(' $ac_mid ')' - 1`
20730 if test $ac_mid -le $ac_hi; then
20734 ac_mid=`expr 2 '*' $ac_mid`
20737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20740 echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.$ac_ext >&5
20746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20750 # Binary search between lo and hi bounds.
20751 while test "x$ac_lo" != "x$ac_hi"; do
20752 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20753 cat >conftest.$ac_ext <<_ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef int ac__type_sizeof_;
20764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20771 rm -f conftest.$ac_objext
20772 if { (ac_try="$ac_compile"
20773 case "(($ac_try" in
20774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_compile") 2>conftest.er1
20780 grep -v '^ *+' conftest.er1 >conftest.err
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } && {
20785 test -z "$ac_c_werror_flag" ||
20786 test ! -s conftest.err
20787 } && test -s conftest.$ac_objext; then
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 ac_lo=`expr '(' $ac_mid ')' + 1`
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 ?*) ac_cv_sizeof_int=$ac_lo;;
20800 '') if test "$ac_cv_type_int" = yes; then
20801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20802 See \`config.log' for more details." >&5
20803 echo "$as_me: error: cannot compute sizeof (int)
20804 See \`config.log' for more details." >&2;}
20805 { (exit 77); exit 77; }; }
20811 cat >conftest.$ac_ext <<_ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 typedef int ac__type_sizeof_;
20819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20822 #include <stdlib.h>
20827 FILE *f = fopen ("conftest.val", "w");
20830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20832 long int i = longval ();
20833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20835 fprintf (f, "%ld\n", i);
20839 unsigned long int i = ulongval ();
20840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20842 fprintf (f, "%lu\n", i);
20844 return ferror (f) || fclose (f) != 0;
20850 rm -f conftest$ac_exeext
20851 if { (ac_try="$ac_link"
20852 case "(($ac_try" in
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_link") 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 ac_cv_sizeof_int=`cat conftest.val`
20872 echo "$as_me: program exited with status $ac_status" >&5
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20876 ( exit $ac_status )
20877 if test "$ac_cv_type_int" = yes; then
20878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20879 See \`config.log' for more details." >&5
20880 echo "$as_me: error: cannot compute sizeof (int)
20881 See \`config.log' for more details." >&2;}
20882 { (exit 77); exit 77; }; }
20887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20891 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20892 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20896 cat >>confdefs.h <<_ACEOF
20897 #define SIZEOF_INT $ac_cv_sizeof_int
20901 { echo "$as_me:$LINENO: checking for long" >&5
20902 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20903 if test "${ac_cv_type_long+set}" = set; then
20904 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 cat >conftest.$ac_ext <<_ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 $ac_includes_default
20913 typedef long ac__type_new_;
20917 if ((ac__type_new_ *) 0)
20919 if (sizeof (ac__type_new_))
20925 rm -f conftest.$ac_objext
20926 if { (ac_try="$ac_compile"
20927 case "(($ac_try" in
20928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932 (eval "$ac_compile") 2>conftest.er1
20934 grep -v '^ *+' conftest.er1 >conftest.err
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } && {
20939 test -z "$ac_c_werror_flag" ||
20940 test ! -s conftest.err
20941 } && test -s conftest.$ac_objext; then
20942 ac_cv_type_long=yes
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20952 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20953 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20955 # The cast to long int works around a bug in the HP C Compiler
20956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20958 # This bug is HP SR number 8606223364.
20959 { echo "$as_me:$LINENO: checking size of long" >&5
20960 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20961 if test "${ac_cv_sizeof_long+set}" = set; then
20962 echo $ECHO_N "(cached) $ECHO_C" >&6
20964 if test "$cross_compiling" = yes; then
20965 # Depending upon the size, compute the lo and hi bounds.
20966 cat >conftest.$ac_ext <<_ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 $ac_includes_default
20973 typedef long ac__type_sizeof_;
20977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20984 rm -f conftest.$ac_objext
20985 if { (ac_try="$ac_compile"
20986 case "(($ac_try" in
20987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20988 *) ac_try_echo=$ac_try;;
20990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20991 (eval "$ac_compile") 2>conftest.er1
20993 grep -v '^ *+' conftest.er1 >conftest.err
20995 cat conftest.err >&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } && {
20998 test -z "$ac_c_werror_flag" ||
20999 test ! -s conftest.err
21000 } && test -s conftest.$ac_objext; then
21003 cat >conftest.$ac_ext <<_ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 $ac_includes_default
21010 typedef long ac__type_sizeof_;
21014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21021 rm -f conftest.$ac_objext
21022 if { (ac_try="$ac_compile"
21023 case "(($ac_try" in
21024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21025 *) ac_try_echo=$ac_try;;
21027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21028 (eval "$ac_compile") 2>conftest.er1
21030 grep -v '^ *+' conftest.er1 >conftest.err
21032 cat conftest.err >&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); } && {
21035 test -z "$ac_c_werror_flag" ||
21036 test ! -s conftest.err
21037 } && test -s conftest.$ac_objext; then
21038 ac_hi=$ac_mid; break
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21043 ac_lo=`expr $ac_mid + 1`
21044 if test $ac_lo -le $ac_mid; then
21048 ac_mid=`expr 2 '*' $ac_mid + 1`
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21057 cat >conftest.$ac_ext <<_ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 $ac_includes_default
21064 typedef long ac__type_sizeof_;
21068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21075 rm -f conftest.$ac_objext
21076 if { (ac_try="$ac_compile"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_compile") 2>conftest.er1
21084 grep -v '^ *+' conftest.er1 >conftest.err
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } && {
21089 test -z "$ac_c_werror_flag" ||
21090 test ! -s conftest.err
21091 } && test -s conftest.$ac_objext; then
21094 cat >conftest.$ac_ext <<_ACEOF
21097 cat confdefs.h >>conftest.$ac_ext
21098 cat >>conftest.$ac_ext <<_ACEOF
21099 /* end confdefs.h. */
21100 $ac_includes_default
21101 typedef long ac__type_sizeof_;
21105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21112 rm -f conftest.$ac_objext
21113 if { (ac_try="$ac_compile"
21114 case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_compile") 2>conftest.er1
21121 grep -v '^ *+' conftest.er1 >conftest.err
21123 cat conftest.err >&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } && {
21126 test -z "$ac_c_werror_flag" ||
21127 test ! -s conftest.err
21128 } && test -s conftest.$ac_objext; then
21129 ac_lo=$ac_mid; break
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21134 ac_hi=`expr '(' $ac_mid ')' - 1`
21135 if test $ac_mid -le $ac_hi; then
21139 ac_mid=`expr 2 '*' $ac_mid`
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21145 echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.$ac_ext >&5
21151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21155 # Binary search between lo and hi bounds.
21156 while test "x$ac_lo" != "x$ac_hi"; do
21157 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21158 cat >conftest.$ac_ext <<_ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef long ac__type_sizeof_;
21169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21176 rm -f conftest.$ac_objext
21177 if { (ac_try="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21185 grep -v '^ *+' conftest.er1 >conftest.err
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && {
21190 test -z "$ac_c_werror_flag" ||
21191 test ! -s conftest.err
21192 } && test -s conftest.$ac_objext; then
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21198 ac_lo=`expr '(' $ac_mid ')' + 1`
21201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 ?*) ac_cv_sizeof_long=$ac_lo;;
21205 '') if test "$ac_cv_type_long" = yes; then
21206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21207 See \`config.log' for more details." >&5
21208 echo "$as_me: error: cannot compute sizeof (long)
21209 See \`config.log' for more details." >&2;}
21210 { (exit 77); exit 77; }; }
21212 ac_cv_sizeof_long=0
21216 cat >conftest.$ac_ext <<_ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222 $ac_includes_default
21223 typedef long ac__type_sizeof_;
21224 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21225 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21227 #include <stdlib.h>
21232 FILE *f = fopen ("conftest.val", "w");
21235 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21237 long int i = longval ();
21238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21240 fprintf (f, "%ld\n", i);
21244 unsigned long int i = ulongval ();
21245 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21247 fprintf (f, "%lu\n", i);
21249 return ferror (f) || fclose (f) != 0;
21255 rm -f conftest$ac_exeext
21256 if { (ac_try="$ac_link"
21257 case "(($ac_try" in
21258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_link") 2>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 ac_cv_sizeof_long=`cat conftest.val`
21277 echo "$as_me: program exited with status $ac_status" >&5
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21281 ( exit $ac_status )
21282 if test "$ac_cv_type_long" = yes; then
21283 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21284 See \`config.log' for more details." >&5
21285 echo "$as_me: error: cannot compute sizeof (long)
21286 See \`config.log' for more details." >&2;}
21287 { (exit 77); exit 77; }; }
21289 ac_cv_sizeof_long=0
21292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21296 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21297 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21301 cat >>confdefs.h <<_ACEOF
21302 #define SIZEOF_LONG $ac_cv_sizeof_long
21306 { echo "$as_me:$LINENO: checking for size_t" >&5
21307 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21308 if test "${ac_cv_type_size_t+set}" = set; then
21309 echo $ECHO_N "(cached) $ECHO_C" >&6
21311 cat >conftest.$ac_ext <<_ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 $ac_includes_default
21318 typedef size_t ac__type_new_;
21322 if ((ac__type_new_ *) 0)
21324 if (sizeof (ac__type_new_))
21330 rm -f conftest.$ac_objext
21331 if { (ac_try="$ac_compile"
21332 case "(($ac_try" in
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21337 (eval "$ac_compile") 2>conftest.er1
21339 grep -v '^ *+' conftest.er1 >conftest.err
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } && {
21344 test -z "$ac_c_werror_flag" ||
21345 test ! -s conftest.err
21346 } && test -s conftest.$ac_objext; then
21347 ac_cv_type_size_t=yes
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ac_cv_type_size_t=no
21355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21357 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21358 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21360 # The cast to long int works around a bug in the HP C Compiler
21361 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21362 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21363 # This bug is HP SR number 8606223364.
21364 { echo "$as_me:$LINENO: checking size of size_t" >&5
21365 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21366 if test "${ac_cv_sizeof_size_t+set}" = set; then
21367 echo $ECHO_N "(cached) $ECHO_C" >&6
21369 if test "$cross_compiling" = yes; then
21370 # Depending upon the size, compute the lo and hi bounds.
21371 cat >conftest.$ac_ext <<_ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 $ac_includes_default
21378 typedef size_t ac__type_sizeof_;
21382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21389 rm -f conftest.$ac_objext
21390 if { (ac_try="$ac_compile"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_compile") 2>conftest.er1
21398 grep -v '^ *+' conftest.er1 >conftest.err
21400 cat conftest.err >&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } && {
21403 test -z "$ac_c_werror_flag" ||
21404 test ! -s conftest.err
21405 } && test -s conftest.$ac_objext; then
21408 cat >conftest.$ac_ext <<_ACEOF
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 $ac_includes_default
21415 typedef size_t ac__type_sizeof_;
21419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21426 rm -f conftest.$ac_objext
21427 if { (ac_try="$ac_compile"
21428 case "(($ac_try" in
21429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21430 *) ac_try_echo=$ac_try;;
21432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21433 (eval "$ac_compile") 2>conftest.er1
21435 grep -v '^ *+' conftest.er1 >conftest.err
21437 cat conftest.err >&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } && {
21440 test -z "$ac_c_werror_flag" ||
21441 test ! -s conftest.err
21442 } && test -s conftest.$ac_objext; then
21443 ac_hi=$ac_mid; break
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21448 ac_lo=`expr $ac_mid + 1`
21449 if test $ac_lo -le $ac_mid; then
21453 ac_mid=`expr 2 '*' $ac_mid + 1`
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21462 cat >conftest.$ac_ext <<_ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 $ac_includes_default
21469 typedef size_t ac__type_sizeof_;
21473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21480 rm -f conftest.$ac_objext
21481 if { (ac_try="$ac_compile"
21482 case "(($ac_try" in
21483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484 *) ac_try_echo=$ac_try;;
21486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487 (eval "$ac_compile") 2>conftest.er1
21489 grep -v '^ *+' conftest.er1 >conftest.err
21491 cat conftest.err >&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } && {
21494 test -z "$ac_c_werror_flag" ||
21495 test ! -s conftest.err
21496 } && test -s conftest.$ac_objext; then
21499 cat >conftest.$ac_ext <<_ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h. */
21505 $ac_includes_default
21506 typedef size_t ac__type_sizeof_;
21510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21517 rm -f conftest.$ac_objext
21518 if { (ac_try="$ac_compile"
21519 case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_compile") 2>conftest.er1
21526 grep -v '^ *+' conftest.er1 >conftest.err
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } && {
21531 test -z "$ac_c_werror_flag" ||
21532 test ! -s conftest.err
21533 } && test -s conftest.$ac_objext; then
21534 ac_lo=$ac_mid; break
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.$ac_ext >&5
21539 ac_hi=`expr '(' $ac_mid ')' - 1`
21540 if test $ac_mid -le $ac_hi; then
21544 ac_mid=`expr 2 '*' $ac_mid`
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560 # Binary search between lo and hi bounds.
21561 while test "x$ac_lo" != "x$ac_hi"; do
21562 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21563 cat >conftest.$ac_ext <<_ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 typedef size_t ac__type_sizeof_;
21574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21581 rm -f conftest.$ac_objext
21582 if { (ac_try="$ac_compile"
21583 case "(($ac_try" in
21584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21585 *) ac_try_echo=$ac_try;;
21587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21588 (eval "$ac_compile") 2>conftest.er1
21590 grep -v '^ *+' conftest.er1 >conftest.err
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } && {
21595 test -z "$ac_c_werror_flag" ||
21596 test ! -s conftest.err
21597 } && test -s conftest.$ac_objext; then
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21603 ac_lo=`expr '(' $ac_mid ')' + 1`
21606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21609 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21610 '') if test "$ac_cv_type_size_t" = yes; then
21611 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21612 See \`config.log' for more details." >&5
21613 echo "$as_me: error: cannot compute sizeof (size_t)
21614 See \`config.log' for more details." >&2;}
21615 { (exit 77); exit 77; }; }
21617 ac_cv_sizeof_size_t=0
21621 cat >conftest.$ac_ext <<_ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21627 $ac_includes_default
21628 typedef size_t ac__type_sizeof_;
21629 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21630 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21632 #include <stdlib.h>
21637 FILE *f = fopen ("conftest.val", "w");
21640 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21642 long int i = longval ();
21643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21645 fprintf (f, "%ld\n", i);
21649 unsigned long int i = ulongval ();
21650 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21652 fprintf (f, "%lu\n", i);
21654 return ferror (f) || fclose (f) != 0;
21660 rm -f conftest$ac_exeext
21661 if { (ac_try="$ac_link"
21662 case "(($ac_try" in
21663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21664 *) ac_try_echo=$ac_try;;
21666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21667 (eval "$ac_link") 2>&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); }; }; then
21680 ac_cv_sizeof_size_t=`cat conftest.val`
21682 echo "$as_me: program exited with status $ac_status" >&5
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21686 ( exit $ac_status )
21687 if test "$ac_cv_type_size_t" = yes; then
21688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21689 See \`config.log' for more details." >&5
21690 echo "$as_me: error: cannot compute sizeof (size_t)
21691 See \`config.log' for more details." >&2;}
21692 { (exit 77); exit 77; }; }
21694 ac_cv_sizeof_size_t=0
21697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21701 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21702 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21706 cat >>confdefs.h <<_ACEOF
21707 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21714 { echo "$as_me:$LINENO: checking for long long" >&5
21715 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21716 if test "${ac_cv_type_long_long+set}" = set; then
21717 echo $ECHO_N "(cached) $ECHO_C" >&6
21719 cat >conftest.$ac_ext <<_ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 $ac_includes_default
21726 typedef long long ac__type_new_;
21730 if ((ac__type_new_ *) 0)
21732 if (sizeof (ac__type_new_))
21738 rm -f conftest.$ac_objext
21739 if { (ac_try="$ac_compile"
21740 case "(($ac_try" in
21741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_compile") 2>conftest.er1
21747 grep -v '^ *+' conftest.er1 >conftest.err
21749 cat conftest.err >&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } && {
21752 test -z "$ac_c_werror_flag" ||
21753 test ! -s conftest.err
21754 } && test -s conftest.$ac_objext; then
21755 ac_cv_type_long_long=yes
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.$ac_ext >&5
21760 ac_cv_type_long_long=no
21763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21765 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21766 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21768 # The cast to long int works around a bug in the HP C Compiler
21769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21771 # This bug is HP SR number 8606223364.
21772 { echo "$as_me:$LINENO: checking size of long long" >&5
21773 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21774 if test "${ac_cv_sizeof_long_long+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21777 if test "$cross_compiling" = yes; then
21778 # Depending upon the size, compute the lo and hi bounds.
21779 cat >conftest.$ac_ext <<_ACEOF
21782 cat confdefs.h >>conftest.$ac_ext
21783 cat >>conftest.$ac_ext <<_ACEOF
21784 /* end confdefs.h. */
21785 $ac_includes_default
21786 typedef long long ac__type_sizeof_;
21790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21797 rm -f conftest.$ac_objext
21798 if { (ac_try="$ac_compile"
21799 case "(($ac_try" in
21800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21801 *) ac_try_echo=$ac_try;;
21803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21804 (eval "$ac_compile") 2>conftest.er1
21806 grep -v '^ *+' conftest.er1 >conftest.err
21808 cat conftest.err >&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } && {
21811 test -z "$ac_c_werror_flag" ||
21812 test ! -s conftest.err
21813 } && test -s conftest.$ac_objext; then
21816 cat >conftest.$ac_ext <<_ACEOF
21819 cat confdefs.h >>conftest.$ac_ext
21820 cat >>conftest.$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822 $ac_includes_default
21823 typedef long long ac__type_sizeof_;
21827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21834 rm -f conftest.$ac_objext
21835 if { (ac_try="$ac_compile"
21836 case "(($ac_try" in
21837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21838 *) ac_try_echo=$ac_try;;
21840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21841 (eval "$ac_compile") 2>conftest.er1
21843 grep -v '^ *+' conftest.er1 >conftest.err
21845 cat conftest.err >&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } && {
21848 test -z "$ac_c_werror_flag" ||
21849 test ! -s conftest.err
21850 } && test -s conftest.$ac_objext; then
21851 ac_hi=$ac_mid; break
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21856 ac_lo=`expr $ac_mid + 1`
21857 if test $ac_lo -le $ac_mid; then
21861 ac_mid=`expr 2 '*' $ac_mid + 1`
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21870 cat >conftest.$ac_ext <<_ACEOF
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 $ac_includes_default
21877 typedef long long ac__type_sizeof_;
21881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21888 rm -f conftest.$ac_objext
21889 if { (ac_try="$ac_compile"
21890 case "(($ac_try" in
21891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21892 *) ac_try_echo=$ac_try;;
21894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21895 (eval "$ac_compile") 2>conftest.er1
21897 grep -v '^ *+' conftest.er1 >conftest.err
21899 cat conftest.err >&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } && {
21902 test -z "$ac_c_werror_flag" ||
21903 test ! -s conftest.err
21904 } && test -s conftest.$ac_objext; then
21907 cat >conftest.$ac_ext <<_ACEOF
21910 cat confdefs.h >>conftest.$ac_ext
21911 cat >>conftest.$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21913 $ac_includes_default
21914 typedef long long ac__type_sizeof_;
21918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21925 rm -f conftest.$ac_objext
21926 if { (ac_try="$ac_compile"
21927 case "(($ac_try" in
21928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929 *) ac_try_echo=$ac_try;;
21931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval "$ac_compile") 2>conftest.er1
21934 grep -v '^ *+' conftest.er1 >conftest.err
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } && {
21939 test -z "$ac_c_werror_flag" ||
21940 test ! -s conftest.err
21941 } && test -s conftest.$ac_objext; then
21942 ac_lo=$ac_mid; break
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21947 ac_hi=`expr '(' $ac_mid ')' - 1`
21948 if test $ac_mid -le $ac_hi; then
21952 ac_mid=`expr 2 '*' $ac_mid`
21955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21968 # Binary search between lo and hi bounds.
21969 while test "x$ac_lo" != "x$ac_hi"; do
21970 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21971 cat >conftest.$ac_ext <<_ACEOF
21974 cat confdefs.h >>conftest.$ac_ext
21975 cat >>conftest.$ac_ext <<_ACEOF
21976 /* end confdefs.h. */
21977 $ac_includes_default
21978 typedef long long ac__type_sizeof_;
21982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21998 grep -v '^ *+' conftest.er1 >conftest.err
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22011 ac_lo=`expr '(' $ac_mid ')' + 1`
22014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22018 '') if test "$ac_cv_type_long_long" = yes; then
22019 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22020 See \`config.log' for more details." >&5
22021 echo "$as_me: error: cannot compute sizeof (long long)
22022 See \`config.log' for more details." >&2;}
22023 { (exit 77); exit 77; }; }
22025 ac_cv_sizeof_long_long=0
22029 cat >conftest.$ac_ext <<_ACEOF
22032 cat confdefs.h >>conftest.$ac_ext
22033 cat >>conftest.$ac_ext <<_ACEOF
22034 /* end confdefs.h. */
22035 $ac_includes_default
22036 typedef long long ac__type_sizeof_;
22037 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22038 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22040 #include <stdlib.h>
22045 FILE *f = fopen ("conftest.val", "w");
22048 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22050 long int i = longval ();
22051 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22053 fprintf (f, "%ld\n", i);
22057 unsigned long int i = ulongval ();
22058 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22060 fprintf (f, "%lu\n", i);
22062 return ferror (f) || fclose (f) != 0;
22068 rm -f conftest$ac_exeext
22069 if { (ac_try="$ac_link"
22070 case "(($ac_try" in
22071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22072 *) ac_try_echo=$ac_try;;
22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075 (eval "$ac_link") 2>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; }; then
22088 ac_cv_sizeof_long_long=`cat conftest.val`
22090 echo "$as_me: program exited with status $ac_status" >&5
22091 echo "$as_me: failed program was:" >&5
22092 sed 's/^/| /' conftest.$ac_ext >&5
22094 ( exit $ac_status )
22095 if test "$ac_cv_type_long_long" = yes; then
22096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22097 See \`config.log' for more details." >&5
22098 echo "$as_me: error: cannot compute sizeof (long long)
22099 See \`config.log' for more details." >&2;}
22100 { (exit 77); exit 77; }; }
22102 ac_cv_sizeof_long_long=0
22105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22109 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22110 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22114 cat >>confdefs.h <<_ACEOF
22115 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22121 { echo "$as_me:$LINENO: checking for long long" >&5
22122 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22123 if test "${ac_cv_type_long_long+set}" = set; then
22124 echo $ECHO_N "(cached) $ECHO_C" >&6
22126 cat >conftest.$ac_ext <<_ACEOF
22129 cat confdefs.h >>conftest.$ac_ext
22130 cat >>conftest.$ac_ext <<_ACEOF
22131 /* end confdefs.h. */
22132 $ac_includes_default
22133 typedef long long ac__type_new_;
22137 if ((ac__type_new_ *) 0)
22139 if (sizeof (ac__type_new_))
22145 rm -f conftest.$ac_objext
22146 if { (ac_try="$ac_compile"
22147 case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_compile") 2>conftest.er1
22154 grep -v '^ *+' conftest.er1 >conftest.err
22156 cat conftest.err >&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } && {
22159 test -z "$ac_c_werror_flag" ||
22160 test ! -s conftest.err
22161 } && test -s conftest.$ac_objext; then
22162 ac_cv_type_long_long=yes
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.$ac_ext >&5
22167 ac_cv_type_long_long=no
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22172 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22173 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22175 # The cast to long int works around a bug in the HP C Compiler
22176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22178 # This bug is HP SR number 8606223364.
22179 { echo "$as_me:$LINENO: checking size of long long" >&5
22180 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22181 if test "${ac_cv_sizeof_long_long+set}" = set; then
22182 echo $ECHO_N "(cached) $ECHO_C" >&6
22184 if test "$cross_compiling" = yes; then
22185 # Depending upon the size, compute the lo and hi bounds.
22186 cat >conftest.$ac_ext <<_ACEOF
22189 cat confdefs.h >>conftest.$ac_ext
22190 cat >>conftest.$ac_ext <<_ACEOF
22191 /* end confdefs.h. */
22192 $ac_includes_default
22193 typedef long long ac__type_sizeof_;
22197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22204 rm -f conftest.$ac_objext
22205 if { (ac_try="$ac_compile"
22206 case "(($ac_try" in
22207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22208 *) ac_try_echo=$ac_try;;
22210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22211 (eval "$ac_compile") 2>conftest.er1
22213 grep -v '^ *+' conftest.er1 >conftest.err
22215 cat conftest.err >&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } && {
22218 test -z "$ac_c_werror_flag" ||
22219 test ! -s conftest.err
22220 } && test -s conftest.$ac_objext; then
22223 cat >conftest.$ac_ext <<_ACEOF
22226 cat confdefs.h >>conftest.$ac_ext
22227 cat >>conftest.$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229 $ac_includes_default
22230 typedef long long ac__type_sizeof_;
22234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22241 rm -f conftest.$ac_objext
22242 if { (ac_try="$ac_compile"
22243 case "(($ac_try" in
22244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245 *) ac_try_echo=$ac_try;;
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248 (eval "$ac_compile") 2>conftest.er1
22250 grep -v '^ *+' conftest.er1 >conftest.err
22252 cat conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } && {
22255 test -z "$ac_c_werror_flag" ||
22256 test ! -s conftest.err
22257 } && test -s conftest.$ac_objext; then
22258 ac_hi=$ac_mid; break
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22263 ac_lo=`expr $ac_mid + 1`
22264 if test $ac_lo -le $ac_mid; then
22268 ac_mid=`expr 2 '*' $ac_mid + 1`
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22277 cat >conftest.$ac_ext <<_ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 $ac_includes_default
22284 typedef long long ac__type_sizeof_;
22288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22295 rm -f conftest.$ac_objext
22296 if { (ac_try="$ac_compile"
22297 case "(($ac_try" in
22298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 *) ac_try_echo=$ac_try;;
22301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 (eval "$ac_compile") 2>conftest.er1
22304 grep -v '^ *+' conftest.er1 >conftest.err
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } && {
22309 test -z "$ac_c_werror_flag" ||
22310 test ! -s conftest.err
22311 } && test -s conftest.$ac_objext; then
22314 cat >conftest.$ac_ext <<_ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320 $ac_includes_default
22321 typedef long long ac__type_sizeof_;
22325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22332 rm -f conftest.$ac_objext
22333 if { (ac_try="$ac_compile"
22334 case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_compile") 2>conftest.er1
22341 grep -v '^ *+' conftest.er1 >conftest.err
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } && {
22346 test -z "$ac_c_werror_flag" ||
22347 test ! -s conftest.err
22348 } && test -s conftest.$ac_objext; then
22349 ac_lo=$ac_mid; break
22351 echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.$ac_ext >&5
22354 ac_hi=`expr '(' $ac_mid ')' - 1`
22355 if test $ac_mid -le $ac_hi; then
22359 ac_mid=`expr 2 '*' $ac_mid`
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22365 echo "$as_me: failed program was:" >&5
22366 sed 's/^/| /' conftest.$ac_ext >&5
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22375 # Binary search between lo and hi bounds.
22376 while test "x$ac_lo" != "x$ac_hi"; do
22377 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22378 cat >conftest.$ac_ext <<_ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef long long ac__type_sizeof_;
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22396 rm -f conftest.$ac_objext
22397 if { (ac_try="$ac_compile"
22398 case "(($ac_try" in
22399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403 (eval "$ac_compile") 2>conftest.er1
22405 grep -v '^ *+' conftest.er1 >conftest.err
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && {
22410 test -z "$ac_c_werror_flag" ||
22411 test ! -s conftest.err
22412 } && test -s conftest.$ac_objext; then
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.$ac_ext >&5
22418 ac_lo=`expr '(' $ac_mid ')' + 1`
22421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22424 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22425 '') if test "$ac_cv_type_long_long" = yes; then
22426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22427 See \`config.log' for more details." >&5
22428 echo "$as_me: error: cannot compute sizeof (long long)
22429 See \`config.log' for more details." >&2;}
22430 { (exit 77); exit 77; }; }
22432 ac_cv_sizeof_long_long=0
22436 cat >conftest.$ac_ext <<_ACEOF
22439 cat confdefs.h >>conftest.$ac_ext
22440 cat >>conftest.$ac_ext <<_ACEOF
22441 /* end confdefs.h. */
22442 $ac_includes_default
22443 typedef long long ac__type_sizeof_;
22444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22447 #include <stdlib.h>
22452 FILE *f = fopen ("conftest.val", "w");
22455 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22457 long int i = longval ();
22458 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22460 fprintf (f, "%ld\n", i);
22464 unsigned long int i = ulongval ();
22465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22467 fprintf (f, "%lu\n", i);
22469 return ferror (f) || fclose (f) != 0;
22475 rm -f conftest$ac_exeext
22476 if { (ac_try="$ac_link"
22477 case "(($ac_try" in
22478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22479 *) ac_try_echo=$ac_try;;
22481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482 (eval "$ac_link") 2>&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); }; }; then
22495 ac_cv_sizeof_long_long=`cat conftest.val`
22497 echo "$as_me: program exited with status $ac_status" >&5
22498 echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.$ac_ext >&5
22501 ( exit $ac_status )
22502 if test "$ac_cv_type_long_long" = yes; then
22503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22504 See \`config.log' for more details." >&5
22505 echo "$as_me: error: cannot compute sizeof (long long)
22506 See \`config.log' for more details." >&2;}
22507 { (exit 77); exit 77; }; }
22509 ac_cv_sizeof_long_long=0
22512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22517 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22521 cat >>confdefs.h <<_ACEOF
22522 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22526 if test "$ac_cv_sizeof_long_long" != 0; then
22527 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22531 { echo "$as_me:$LINENO: checking for long long" >&5
22532 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22533 if test "${ac_cv_type_long_long+set}" = set; then
22534 echo $ECHO_N "(cached) $ECHO_C" >&6
22536 cat >conftest.$ac_ext <<_ACEOF
22539 cat confdefs.h >>conftest.$ac_ext
22540 cat >>conftest.$ac_ext <<_ACEOF
22541 /* end confdefs.h. */
22542 $ac_includes_default
22543 typedef long long ac__type_new_;
22547 if ((ac__type_new_ *) 0)
22549 if (sizeof (ac__type_new_))
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22564 grep -v '^ *+' conftest.er1 >conftest.err
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.$ac_objext; then
22572 ac_cv_type_long_long=yes
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22577 ac_cv_type_long_long=no
22580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22582 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22583 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22585 # The cast to long int works around a bug in the HP C Compiler
22586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22588 # This bug is HP SR number 8606223364.
22589 { echo "$as_me:$LINENO: checking size of long long" >&5
22590 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22591 if test "${ac_cv_sizeof_long_long+set}" = set; then
22592 echo $ECHO_N "(cached) $ECHO_C" >&6
22594 if test "$cross_compiling" = yes; then
22595 # Depending upon the size, compute the lo and hi bounds.
22596 cat >conftest.$ac_ext <<_ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602 $ac_includes_default
22603 typedef long long ac__type_sizeof_;
22607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22614 rm -f conftest.$ac_objext
22615 if { (ac_try="$ac_compile"
22616 case "(($ac_try" in
22617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618 *) ac_try_echo=$ac_try;;
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621 (eval "$ac_compile") 2>conftest.er1
22623 grep -v '^ *+' conftest.er1 >conftest.err
22625 cat conftest.err >&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } && {
22628 test -z "$ac_c_werror_flag" ||
22629 test ! -s conftest.err
22630 } && test -s conftest.$ac_objext; then
22633 cat >conftest.$ac_ext <<_ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 $ac_includes_default
22640 typedef long long ac__type_sizeof_;
22644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22651 rm -f conftest.$ac_objext
22652 if { (ac_try="$ac_compile"
22653 case "(($ac_try" in
22654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655 *) ac_try_echo=$ac_try;;
22657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658 (eval "$ac_compile") 2>conftest.er1
22660 grep -v '^ *+' conftest.er1 >conftest.err
22662 cat conftest.err >&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } && {
22665 test -z "$ac_c_werror_flag" ||
22666 test ! -s conftest.err
22667 } && test -s conftest.$ac_objext; then
22668 ac_hi=$ac_mid; break
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22673 ac_lo=`expr $ac_mid + 1`
22674 if test $ac_lo -le $ac_mid; then
22678 ac_mid=`expr 2 '*' $ac_mid + 1`
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22684 echo "$as_me: failed program was:" >&5
22685 sed 's/^/| /' conftest.$ac_ext >&5
22687 cat >conftest.$ac_ext <<_ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 $ac_includes_default
22694 typedef long long ac__type_sizeof_;
22698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22705 rm -f conftest.$ac_objext
22706 if { (ac_try="$ac_compile"
22707 case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_compile") 2>conftest.er1
22714 grep -v '^ *+' conftest.er1 >conftest.err
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } && {
22719 test -z "$ac_c_werror_flag" ||
22720 test ! -s conftest.err
22721 } && test -s conftest.$ac_objext; then
22724 cat >conftest.$ac_ext <<_ACEOF
22727 cat confdefs.h >>conftest.$ac_ext
22728 cat >>conftest.$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730 $ac_includes_default
22731 typedef long long ac__type_sizeof_;
22735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22742 rm -f conftest.$ac_objext
22743 if { (ac_try="$ac_compile"
22744 case "(($ac_try" in
22745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746 *) ac_try_echo=$ac_try;;
22748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22749 (eval "$ac_compile") 2>conftest.er1
22751 grep -v '^ *+' conftest.er1 >conftest.err
22753 cat conftest.err >&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); } && {
22756 test -z "$ac_c_werror_flag" ||
22757 test ! -s conftest.err
22758 } && test -s conftest.$ac_objext; then
22759 ac_lo=$ac_mid; break
22761 echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22764 ac_hi=`expr '(' $ac_mid ')' - 1`
22765 if test $ac_mid -le $ac_hi; then
22769 ac_mid=`expr 2 '*' $ac_mid`
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 # Binary search between lo and hi bounds.
22786 while test "x$ac_lo" != "x$ac_hi"; do
22787 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22788 cat >conftest.$ac_ext <<_ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 typedef long long ac__type_sizeof_;
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22815 grep -v '^ *+' conftest.er1 >conftest.err
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22828 ac_lo=`expr '(' $ac_mid ')' + 1`
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22834 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22835 '') if test "$ac_cv_type_long_long" = yes; then
22836 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22837 See \`config.log' for more details." >&5
22838 echo "$as_me: error: cannot compute sizeof (long long)
22839 See \`config.log' for more details." >&2;}
22840 { (exit 77); exit 77; }; }
22842 ac_cv_sizeof_long_long=0
22846 cat >conftest.$ac_ext <<_ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22852 $ac_includes_default
22853 typedef long long ac__type_sizeof_;
22854 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22855 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22857 #include <stdlib.h>
22862 FILE *f = fopen ("conftest.val", "w");
22865 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22867 long int i = longval ();
22868 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22870 fprintf (f, "%ld\n", i);
22874 unsigned long int i = ulongval ();
22875 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22877 fprintf (f, "%lu\n", i);
22879 return ferror (f) || fclose (f) != 0;
22885 rm -f conftest$ac_exeext
22886 if { (ac_try="$ac_link"
22887 case "(($ac_try" in
22888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22889 *) ac_try_echo=$ac_try;;
22891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22892 (eval "$ac_link") 2>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; }; then
22905 ac_cv_sizeof_long_long=`cat conftest.val`
22907 echo "$as_me: program exited with status $ac_status" >&5
22908 echo "$as_me: failed program was:" >&5
22909 sed 's/^/| /' conftest.$ac_ext >&5
22911 ( exit $ac_status )
22912 if test "$ac_cv_type_long_long" = yes; then
22913 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22914 See \`config.log' for more details." >&5
22915 echo "$as_me: error: cannot compute sizeof (long long)
22916 See \`config.log' for more details." >&2;}
22917 { (exit 77); exit 77; }; }
22919 ac_cv_sizeof_long_long=0
22922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22926 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22927 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22931 cat >>confdefs.h <<_ACEOF
22932 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22938 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22939 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22940 if test "${ac_cv_type_wchar_t+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 cat >conftest.$ac_ext <<_ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h. */
22950 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22951 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22952 # error "fake wchar_t"
22954 #ifdef HAVE_WCHAR_H
22956 # include <stddef.h>
22958 # include <wchar.h>
22960 #ifdef HAVE_STDLIB_H
22961 # include <stdlib.h>
22967 typedef wchar_t ac__type_new_;
22971 if ((ac__type_new_ *) 0)
22973 if (sizeof (ac__type_new_))
22979 rm -f conftest.$ac_objext
22980 if { (ac_try="$ac_compile"
22981 case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_compile") 2>conftest.er1
22988 grep -v '^ *+' conftest.er1 >conftest.err
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && {
22993 test -z "$ac_c_werror_flag" ||
22994 test ! -s conftest.err
22995 } && test -s conftest.$ac_objext; then
22996 ac_cv_type_wchar_t=yes
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23001 ac_cv_type_wchar_t=no
23004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23006 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23007 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23009 # The cast to long int works around a bug in the HP C Compiler
23010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23012 # This bug is HP SR number 8606223364.
23013 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23014 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23015 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23016 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 if test "$cross_compiling" = yes; then
23019 # Depending upon the size, compute the lo and hi bounds.
23020 cat >conftest.$ac_ext <<_ACEOF
23023 cat confdefs.h >>conftest.$ac_ext
23024 cat >>conftest.$ac_ext <<_ACEOF
23025 /* end confdefs.h. */
23027 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23028 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23029 # error "fake wchar_t"
23031 #ifdef HAVE_WCHAR_H
23033 # include <stddef.h>
23035 # include <wchar.h>
23037 #ifdef HAVE_STDLIB_H
23038 # include <stdlib.h>
23044 typedef wchar_t ac__type_sizeof_;
23048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23055 rm -f conftest.$ac_objext
23056 if { (ac_try="$ac_compile"
23057 case "(($ac_try" in
23058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059 *) ac_try_echo=$ac_try;;
23061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062 (eval "$ac_compile") 2>conftest.er1
23064 grep -v '^ *+' conftest.er1 >conftest.err
23066 cat conftest.err >&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } && {
23069 test -z "$ac_c_werror_flag" ||
23070 test ! -s conftest.err
23071 } && test -s conftest.$ac_objext; then
23074 cat >conftest.$ac_ext <<_ACEOF
23077 cat confdefs.h >>conftest.$ac_ext
23078 cat >>conftest.$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23081 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23082 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23083 # error "fake wchar_t"
23085 #ifdef HAVE_WCHAR_H
23087 # include <stddef.h>
23089 # include <wchar.h>
23091 #ifdef HAVE_STDLIB_H
23092 # include <stdlib.h>
23098 typedef wchar_t ac__type_sizeof_;
23102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23109 rm -f conftest.$ac_objext
23110 if { (ac_try="$ac_compile"
23111 case "(($ac_try" in
23112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23113 *) ac_try_echo=$ac_try;;
23115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23116 (eval "$ac_compile") 2>conftest.er1
23118 grep -v '^ *+' conftest.er1 >conftest.err
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } && {
23123 test -z "$ac_c_werror_flag" ||
23124 test ! -s conftest.err
23125 } && test -s conftest.$ac_objext; then
23126 ac_hi=$ac_mid; break
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.$ac_ext >&5
23131 ac_lo=`expr $ac_mid + 1`
23132 if test $ac_lo -le $ac_mid; then
23136 ac_mid=`expr 2 '*' $ac_mid + 1`
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23145 cat >conftest.$ac_ext <<_ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23152 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23153 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23154 # error "fake wchar_t"
23156 #ifdef HAVE_WCHAR_H
23158 # include <stddef.h>
23160 # include <wchar.h>
23162 #ifdef HAVE_STDLIB_H
23163 # include <stdlib.h>
23169 typedef wchar_t ac__type_sizeof_;
23173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23180 rm -f conftest.$ac_objext
23181 if { (ac_try="$ac_compile"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184 *) ac_try_echo=$ac_try;;
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_compile") 2>conftest.er1
23189 grep -v '^ *+' conftest.er1 >conftest.err
23191 cat conftest.err >&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } && {
23194 test -z "$ac_c_werror_flag" ||
23195 test ! -s conftest.err
23196 } && test -s conftest.$ac_objext; then
23199 cat >conftest.$ac_ext <<_ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23206 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23207 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23208 # error "fake wchar_t"
23210 #ifdef HAVE_WCHAR_H
23212 # include <stddef.h>
23214 # include <wchar.h>
23216 #ifdef HAVE_STDLIB_H
23217 # include <stdlib.h>
23223 typedef wchar_t ac__type_sizeof_;
23227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23234 rm -f conftest.$ac_objext
23235 if { (ac_try="$ac_compile"
23236 case "(($ac_try" in
23237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23238 *) ac_try_echo=$ac_try;;
23240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23241 (eval "$ac_compile") 2>conftest.er1
23243 grep -v '^ *+' conftest.er1 >conftest.err
23245 cat conftest.err >&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); } && {
23248 test -z "$ac_c_werror_flag" ||
23249 test ! -s conftest.err
23250 } && test -s conftest.$ac_objext; then
23251 ac_lo=$ac_mid; break
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.$ac_ext >&5
23256 ac_hi=`expr '(' $ac_mid ')' - 1`
23257 if test $ac_mid -le $ac_hi; then
23261 ac_mid=`expr 2 '*' $ac_mid`
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23267 echo "$as_me: failed program was:" >&5
23268 sed 's/^/| /' conftest.$ac_ext >&5
23273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23277 # Binary search between lo and hi bounds.
23278 while test "x$ac_lo" != "x$ac_hi"; do
23279 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23280 cat >conftest.$ac_ext <<_ACEOF
23283 cat confdefs.h >>conftest.$ac_ext
23284 cat >>conftest.$ac_ext <<_ACEOF
23285 /* end confdefs.h. */
23287 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23288 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23289 # error "fake wchar_t"
23291 #ifdef HAVE_WCHAR_H
23293 # include <stddef.h>
23295 # include <wchar.h>
23297 #ifdef HAVE_STDLIB_H
23298 # include <stdlib.h>
23304 typedef wchar_t ac__type_sizeof_;
23308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23315 rm -f conftest.$ac_objext
23316 if { (ac_try="$ac_compile"
23317 case "(($ac_try" in
23318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_compile") 2>conftest.er1
23324 grep -v '^ *+' conftest.er1 >conftest.err
23326 cat conftest.err >&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); } && {
23329 test -z "$ac_c_werror_flag" ||
23330 test ! -s conftest.err
23331 } && test -s conftest.$ac_objext; then
23334 echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.$ac_ext >&5
23337 ac_lo=`expr '(' $ac_mid ')' + 1`
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23343 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23344 '') if test "$ac_cv_type_wchar_t" = yes; then
23345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23346 See \`config.log' for more details." >&5
23347 echo "$as_me: error: cannot compute sizeof (wchar_t)
23348 See \`config.log' for more details." >&2;}
23349 { (exit 77); exit 77; }; }
23351 ac_cv_sizeof_wchar_t=0
23355 cat >conftest.$ac_ext <<_ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23362 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23363 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23364 # error "fake wchar_t"
23366 #ifdef HAVE_WCHAR_H
23368 # include <stddef.h>
23370 # include <wchar.h>
23372 #ifdef HAVE_STDLIB_H
23373 # include <stdlib.h>
23379 typedef wchar_t ac__type_sizeof_;
23380 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23381 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23383 #include <stdlib.h>
23388 FILE *f = fopen ("conftest.val", "w");
23391 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23393 long int i = longval ();
23394 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23396 fprintf (f, "%ld\n", i);
23400 unsigned long int i = ulongval ();
23401 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23403 fprintf (f, "%lu\n", i);
23405 return ferror (f) || fclose (f) != 0;
23411 rm -f conftest$ac_exeext
23412 if { (ac_try="$ac_link"
23413 case "(($ac_try" in
23414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23415 *) ac_try_echo=$ac_try;;
23417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23418 (eval "$ac_link") 2>&5
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); }; }; then
23431 ac_cv_sizeof_wchar_t=`cat conftest.val`
23433 echo "$as_me: program exited with status $ac_status" >&5
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23437 ( exit $ac_status )
23438 if test "$ac_cv_type_wchar_t" = yes; then
23439 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23440 See \`config.log' for more details." >&5
23441 echo "$as_me: error: cannot compute sizeof (wchar_t)
23442 See \`config.log' for more details." >&2;}
23443 { (exit 77); exit 77; }; }
23445 ac_cv_sizeof_wchar_t=0
23448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23452 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23453 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23457 cat >>confdefs.h <<_ACEOF
23458 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23462 if test "$ac_cv_sizeof_wchar_t" != 0; then
23468 { echo "$as_me:$LINENO: checking for va_copy" >&5
23469 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23470 if test "${wx_cv_func_va_copy+set}" = set; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 ac_cpp='$CXXCPP $CPPFLAGS'
23476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23480 cat >conftest.$ac_ext <<_ACEOF
23482 #include <stdarg.h>
23483 void foo(char *f, ...)
23497 rm -f conftest.$ac_objext conftest$ac_exeext
23498 if { (ac_try="$ac_link"
23499 case "(($ac_try" in
23500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23501 *) ac_try_echo=$ac_try;;
23503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504 (eval "$ac_link") 2>conftest.er1
23506 grep -v '^ *+' conftest.er1 >conftest.err
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } && {
23511 test -z "$ac_cxx_werror_flag" ||
23512 test ! -s conftest.err
23513 } && test -s conftest$ac_exeext &&
23514 $as_test_x conftest$ac_exeext; then
23515 wx_cv_func_va_copy=yes
23517 echo "$as_me: failed program was:" >&5
23518 sed 's/^/| /' conftest.$ac_ext >&5
23520 wx_cv_func_va_copy=no
23524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23525 conftest$ac_exeext conftest.$ac_ext
23527 ac_cpp='$CPP $CPPFLAGS'
23528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23535 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23536 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23538 if test $wx_cv_func_va_copy = "yes"; then
23539 cat >>confdefs.h <<\_ACEOF
23540 #define HAVE_VA_COPY 1
23544 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23545 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23546 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23550 if test "$cross_compiling" = yes; then
23551 wx_cv_type_va_list_lvalue=yes
23554 cat >conftest.$ac_ext <<_ACEOF
23556 #include <stdarg.h>
23557 int foo(char *f, ...)
23562 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23570 return foo("hi", 17);
23573 rm -f conftest$ac_exeext
23574 if { (ac_try="$ac_link"
23575 case "(($ac_try" in
23576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23577 *) ac_try_echo=$ac_try;;
23579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23580 (eval "$ac_link") 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; }; then
23593 wx_cv_type_va_list_lvalue=yes
23595 echo "$as_me: program exited with status $ac_status" >&5
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.$ac_ext >&5
23599 ( exit $ac_status )
23600 wx_cv_type_va_list_lvalue=no
23602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23609 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23610 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23612 if test $wx_cv_type_va_list_lvalue != "yes"; then
23613 cat >>confdefs.h <<\_ACEOF
23614 #define VA_LIST_IS_ARRAY 1
23620 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23622 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23623 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23624 if test "${wx_cv_have_variadic_macros+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 ac_cpp='$CXXCPP $CPPFLAGS'
23630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23634 cat >conftest.$ac_ext <<_ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23642 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23648 test("%s %d %p", "test", 1, 0);
23655 rm -f conftest.$ac_objext
23656 if { (ac_try="$ac_compile"
23657 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659 *) ac_try_echo=$ac_try;;
23661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662 (eval "$ac_compile") 2>conftest.er1
23664 grep -v '^ *+' conftest.er1 >conftest.err
23666 cat conftest.err >&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } && {
23669 test -z "$ac_cxx_werror_flag" ||
23670 test ! -s conftest.err
23671 } && test -s conftest.$ac_objext; then
23672 wx_cv_have_variadic_macros=yes
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23677 wx_cv_have_variadic_macros=no
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23691 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23692 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23694 if test $wx_cv_have_variadic_macros = "yes"; then
23695 cat >>confdefs.h <<\_ACEOF
23696 #define HAVE_VARIADIC_MACROS 1
23703 LARGEFILE_CPPFLAGS=
23704 # Check whether --enable-largefile was given.
23705 if test "${enable_largefile+set}" = set; then
23706 enableval=$enable_largefile;
23709 if test "$enable_largefile" != no; then
23712 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23713 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23714 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23718 cat >conftest.$ac_ext <<_ACEOF
23721 cat confdefs.h >>conftest.$ac_ext
23722 cat >>conftest.$ac_ext <<_ACEOF
23723 /* end confdefs.h. */
23724 #define _FILE_OFFSET_BITS 64
23725 #include <sys/types.h>
23730 unsigned int field: sizeof(off_t) == 8;
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_compile") 2>conftest.er1
23746 grep -v '^ *+' conftest.er1 >conftest.err
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } && {
23751 test -z "$ac_c_werror_flag" ||
23752 test ! -s conftest.err
23753 } && test -s conftest.$ac_objext; then
23754 ac_cv_sys_file_offset_bits=64
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23759 ac_cv_sys_file_offset_bits=no
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23766 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23767 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23769 if test "$ac_cv_sys_file_offset_bits" != no; then
23771 cat >>confdefs.h <<_ACEOF
23772 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23777 if test "x$wx_largefile" != "xyes"; then
23779 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23780 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23781 if test "${ac_cv_sys_large_files+set}" = set; then
23782 echo $ECHO_N "(cached) $ECHO_C" >&6
23785 cat >conftest.$ac_ext <<_ACEOF
23788 cat confdefs.h >>conftest.$ac_ext
23789 cat >>conftest.$ac_ext <<_ACEOF
23790 /* end confdefs.h. */
23791 #define _LARGE_FILES 1
23792 #include <sys/types.h>
23797 unsigned int field: sizeof(off_t) == 8;
23804 rm -f conftest.$ac_objext
23805 if { (ac_try="$ac_compile"
23806 case "(($ac_try" in
23807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23808 *) ac_try_echo=$ac_try;;
23810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23811 (eval "$ac_compile") 2>conftest.er1
23813 grep -v '^ *+' conftest.er1 >conftest.err
23815 cat conftest.err >&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); } && {
23818 test -z "$ac_c_werror_flag" ||
23819 test ! -s conftest.err
23820 } && test -s conftest.$ac_objext; then
23821 ac_cv_sys_large_files=1
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23826 ac_cv_sys_large_files=no
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23833 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23834 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23836 if test "$ac_cv_sys_large_files" != no; then
23838 cat >>confdefs.h <<_ACEOF
23839 #define _LARGE_FILES $ac_cv_sys_large_files
23846 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23847 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23848 if test "x$wx_largefile" = "xyes"; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_LARGEFILE_SUPPORT 1
23854 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23855 echo "${ECHO_T}$wx_largefile" >&6; }
23858 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23859 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23860 elif test "$ac_cv_sys_large_files" = 1; then
23861 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23864 if test -n "$LARGEFILE_CPPFLAGS"; then
23865 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23867 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23868 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23869 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23870 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23871 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 ac_cpp='$CXXCPP $CPPFLAGS'
23876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23880 cat >conftest.$ac_ext <<_ACEOF
23883 cat confdefs.h >>conftest.$ac_ext
23884 cat >>conftest.$ac_ext <<_ACEOF
23885 /* end confdefs.h. */
23891 #ifndef __STDC_EXT__
23899 rm -f conftest.$ac_objext
23900 if { (ac_try="$ac_compile"
23901 case "(($ac_try" in
23902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23903 *) ac_try_echo=$ac_try;;
23905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23906 (eval "$ac_compile") 2>conftest.er1
23908 grep -v '^ *+' conftest.er1 >conftest.err
23910 cat conftest.err >&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } && {
23913 test -z "$ac_cxx_werror_flag" ||
23914 test ! -s conftest.err
23915 } && test -s conftest.$ac_objext; then
23916 wx_cv_STDC_EXT_required=no
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23921 wx_cv_STDC_EXT_required=yes
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23935 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23936 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23937 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23938 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23944 ac_cpp='$CXXCPP $CPPFLAGS'
23945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23949 old_CPPFLAGS="$CPPFLAGS"
23950 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23951 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23952 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23953 if test "${ac_cv_sys_largefile_source+set}" = set; then
23954 echo $ECHO_N "(cached) $ECHO_C" >&6
23957 cat >conftest.$ac_ext <<_ACEOF
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <sys/types.h> /* for off_t */
23968 int (*fp) (FILE *, off_t, int) = fseeko;
23969 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23974 rm -f conftest.$ac_objext conftest$ac_exeext
23975 if { (ac_try="$ac_link"
23976 case "(($ac_try" in
23977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23978 *) ac_try_echo=$ac_try;;
23980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23981 (eval "$ac_link") 2>conftest.er1
23983 grep -v '^ *+' conftest.er1 >conftest.err
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } && {
23988 test -z "$ac_cxx_werror_flag" ||
23989 test ! -s conftest.err
23990 } && test -s conftest$ac_exeext &&
23991 $as_test_x conftest$ac_exeext; then
23992 ac_cv_sys_largefile_source=no; break
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.$ac_ext >&5
24000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24001 conftest$ac_exeext conftest.$ac_ext
24002 cat >conftest.$ac_ext <<_ACEOF
24005 cat confdefs.h >>conftest.$ac_ext
24006 cat >>conftest.$ac_ext <<_ACEOF
24007 /* end confdefs.h. */
24008 #define _LARGEFILE_SOURCE 1
24009 #include <sys/types.h> /* for off_t */
24014 int (*fp) (FILE *, off_t, int) = fseeko;
24015 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24020 rm -f conftest.$ac_objext conftest$ac_exeext
24021 if { (ac_try="$ac_link"
24022 case "(($ac_try" in
24023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24024 *) ac_try_echo=$ac_try;;
24026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24027 (eval "$ac_link") 2>conftest.er1
24029 grep -v '^ *+' conftest.er1 >conftest.err
24031 cat conftest.err >&5
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); } && {
24034 test -z "$ac_cxx_werror_flag" ||
24035 test ! -s conftest.err
24036 } && test -s conftest$ac_exeext &&
24037 $as_test_x conftest$ac_exeext; then
24038 ac_cv_sys_largefile_source=1; break
24040 echo "$as_me: failed program was:" >&5
24041 sed 's/^/| /' conftest.$ac_ext >&5
24046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24047 conftest$ac_exeext conftest.$ac_ext
24048 ac_cv_sys_largefile_source=unknown
24052 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24053 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24054 case $ac_cv_sys_largefile_source in #(
24057 cat >>confdefs.h <<_ACEOF
24058 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24064 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24065 # in glibc 2.1.3, but that breaks too many other things.
24066 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24067 if test $ac_cv_sys_largefile_source != unknown; then
24069 cat >>confdefs.h <<\_ACEOF
24070 #define HAVE_FSEEKO 1
24075 CPPFLAGS="$old_CPPFLAGS"
24077 ac_cpp='$CPP $CPPFLAGS'
24078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24082 if test "$ac_cv_sys_largefile_source" != no; then
24083 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24086 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24087 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24088 if test "${ac_cv_c_bigendian+set}" = set; then
24089 echo $ECHO_N "(cached) $ECHO_C" >&6
24091 ac_cv_c_bigendian=unknown
24092 # See if sys/param.h defines the BYTE_ORDER macro.
24093 cat >conftest.$ac_ext <<_ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24099 #include <sys/types.h>
24100 #include <sys/param.h>
24105 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24106 bogus endian macros
24112 rm -f conftest.$ac_objext
24113 if { (ac_try="$ac_compile"
24114 case "(($ac_try" in
24115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24116 *) ac_try_echo=$ac_try;;
24118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24119 (eval "$ac_compile") 2>conftest.er1
24121 grep -v '^ *+' conftest.er1 >conftest.err
24123 cat conftest.err >&5
24124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 (exit $ac_status); } && {
24126 test -z "$ac_c_werror_flag" ||
24127 test ! -s conftest.err
24128 } && test -s conftest.$ac_objext; then
24129 # It does; now see whether it defined to BIG_ENDIAN or not.
24130 cat >conftest.$ac_ext <<_ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24136 #include <sys/types.h>
24137 #include <sys/param.h>
24142 #if BYTE_ORDER != BIG_ENDIAN
24149 rm -f conftest.$ac_objext
24150 if { (ac_try="$ac_compile"
24151 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_compile") 2>conftest.er1
24158 grep -v '^ *+' conftest.er1 >conftest.err
24160 cat conftest.err >&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } && {
24163 test -z "$ac_c_werror_flag" ||
24164 test ! -s conftest.err
24165 } && test -s conftest.$ac_objext; then
24166 ac_cv_c_bigendian=yes
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24171 ac_cv_c_bigendian=no
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176 echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24183 if test $ac_cv_c_bigendian = unknown; then
24184 if test "$cross_compiling" = yes; then
24185 ac_cv_c_bigendian=unknown
24187 cat >conftest.$ac_ext <<_ACEOF
24190 cat confdefs.h >>conftest.$ac_ext
24191 cat >>conftest.$ac_ext <<_ACEOF
24192 /* end confdefs.h. */
24194 /* Are we little or big endian? From Harbison&Steele. */
24198 char c[sizeof (long)];
24201 exit (u.c[sizeof (long) - 1] == 1);
24204 rm -f conftest$ac_exeext
24205 if { (ac_try="$ac_link"
24206 case "(($ac_try" in
24207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_link") 2>&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); }; }; then
24224 ac_cv_c_bigendian=no
24226 echo "$as_me: program exited with status $ac_status" >&5
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.$ac_ext >&5
24230 ( exit $ac_status )
24231 ac_cv_c_bigendian=yes
24233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24239 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24240 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24241 if test $ac_cv_c_bigendian = unknown; then
24242 { 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
24243 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;}
24245 if test $ac_cv_c_bigendian = yes; then
24246 cat >>confdefs.h <<\_ACEOF
24247 #define WORDS_BIGENDIAN 1
24256 ac_cpp='$CXXCPP $CPPFLAGS'
24257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24263 for ac_header in iostream
24265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24269 echo $ECHO_N "(cached) $ECHO_C" >&6
24271 cat >conftest.$ac_ext <<_ACEOF
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h. */
24279 #include <$ac_header>
24281 rm -f conftest.$ac_objext
24282 if { (ac_try="$ac_compile"
24283 case "(($ac_try" in
24284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24285 *) ac_try_echo=$ac_try;;
24287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24288 (eval "$ac_compile") 2>conftest.er1
24290 grep -v '^ *+' conftest.er1 >conftest.err
24292 cat conftest.err >&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } && {
24295 test -z "$ac_cxx_werror_flag" ||
24296 test ! -s conftest.err
24297 } && test -s conftest.$ac_objext; then
24298 eval "$as_ac_Header=yes"
24300 echo "$as_me: failed program was:" >&5
24301 sed 's/^/| /' conftest.$ac_ext >&5
24303 eval "$as_ac_Header=no"
24306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24308 ac_res=`eval echo '${'$as_ac_Header'}'`
24309 { echo "$as_me:$LINENO: result: $ac_res" >&5
24310 echo "${ECHO_T}$ac_res" >&6; }
24311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24312 cat >>confdefs.h <<_ACEOF
24313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24321 if test "$ac_cv_header_iostream" = "yes" ; then
24324 cat >>confdefs.h <<\_ACEOF
24325 #define wxUSE_IOSTREAMH 1
24331 ac_cpp='$CPP $CPPFLAGS'
24332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24339 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24340 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24341 if test "${wx_cv_explicit+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24347 ac_cpp='$CXXCPP $CPPFLAGS'
24348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24353 cat >conftest.$ac_ext <<_ACEOF
24356 cat confdefs.h >>conftest.$ac_ext
24357 cat >>conftest.$ac_ext <<_ACEOF
24358 /* end confdefs.h. */
24360 class Foo { public: explicit Foo(int) {} };
24372 rm -f conftest.$ac_objext
24373 if { (ac_try="$ac_compile"
24374 case "(($ac_try" in
24375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24376 *) ac_try_echo=$ac_try;;
24378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24379 (eval "$ac_compile") 2>conftest.er1
24381 grep -v '^ *+' conftest.er1 >conftest.err
24383 cat conftest.err >&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); } && {
24386 test -z "$ac_cxx_werror_flag" ||
24387 test ! -s conftest.err
24388 } && test -s conftest.$ac_objext; then
24390 cat >conftest.$ac_ext <<_ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24397 class Foo { public: explicit Foo(int) {} };
24398 static void TakeFoo(const Foo& foo) { }
24411 rm -f conftest.$ac_objext
24412 if { (ac_try="$ac_compile"
24413 case "(($ac_try" in
24414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24415 *) ac_try_echo=$ac_try;;
24417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24418 (eval "$ac_compile") 2>conftest.er1
24420 grep -v '^ *+' conftest.er1 >conftest.err
24422 cat conftest.err >&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } && {
24425 test -z "$ac_cxx_werror_flag" ||
24426 test ! -s conftest.err
24427 } && test -s conftest.$ac_objext; then
24430 echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.$ac_ext >&5
24437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.$ac_ext >&5
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24450 ac_cpp='$CPP $CPPFLAGS'
24451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24457 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24458 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24460 if test "$wx_cv_explicit" = "yes"; then
24461 cat >>confdefs.h <<\_ACEOF
24462 #define HAVE_EXPLICIT 1
24468 if test "x$SUNCXX" = xyes; then
24469 CXXFLAGS="-features=tmplife $CXXFLAGS"
24472 if test "x$SUNCC" = xyes; then
24473 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24476 if test "x$SGICC" = "xyes"; then
24477 CFLAGS="-woff 3970 $CFLAGS"
24479 if test "x$SGICXX" = "xyes"; then
24480 CXXFLAGS="-woff 3970 $CXXFLAGS"
24483 if test "x$HPCC" = "xyes"; then
24484 CFLAGS="+W 2011,2450 $CFLAGS"
24486 if test "x$HPCXX" = "xyes"; then
24487 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24490 if test "x$COMPAQCXX" = "xyes"; then
24491 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24501 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24502 if test "$wxUSE_UNICODE" = "yes"; then
24503 std_string="std::wstring"
24504 char_type="wchar_t"
24506 std_string="std::string"
24510 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24511 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24512 if test "${wx_cv_class_stdstring+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24516 cat >conftest.$ac_ext <<_ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24540 grep -v '^ *+' conftest.er1 >conftest.err
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 wx_cv_class_stdstring=yes
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24553 wx_cv_class_stdstring=no
24557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24562 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24564 if test "$wx_cv_class_stdstring" = yes; then
24565 if test "$wxUSE_UNICODE" = "yes"; then
24566 cat >>confdefs.h <<\_ACEOF
24567 #define HAVE_STD_WSTRING 1
24572 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24573 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24574 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24575 echo $ECHO_N "(cached) $ECHO_C" >&6
24578 cat >conftest.$ac_ext <<_ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24585 #ifdef HAVE_WCHAR_H
24587 # include <stddef.h>
24589 # include <wchar.h>
24591 #ifdef HAVE_STDLIB_H
24592 # include <stdlib.h>
24600 std::basic_string<$char_type> foo;
24601 const $char_type* dummy = foo.c_str();
24606 rm -f conftest.$ac_objext
24607 if { (ac_try="$ac_compile"
24608 case "(($ac_try" in
24609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24610 *) ac_try_echo=$ac_try;;
24612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24613 (eval "$ac_compile") 2>conftest.er1
24615 grep -v '^ *+' conftest.er1 >conftest.err
24617 cat conftest.err >&5
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); } && {
24620 test -z "$ac_cxx_werror_flag" ||
24621 test ! -s conftest.err
24622 } && test -s conftest.$ac_objext; then
24623 wx_cv_class_stdbasicstring=yes
24625 echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.$ac_ext >&5
24628 wx_cv_class_stdbasicstring=no
24632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24637 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24639 if test "$wx_cv_class_stdbasicstring" != yes; then
24640 if test "$wxUSE_STL" = "yes"; then
24641 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24642 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24643 { (exit 1); exit 1; }; }
24644 elif test "$wxUSE_STD_STRING" = "yes"; then
24645 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24646 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24647 { (exit 1); exit 1; }; }
24649 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24650 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24651 wxUSE_STD_STRING=no
24657 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24658 { echo "$as_me:$LINENO: checking for std::istream" >&5
24659 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24660 if test "${ac_cv_type_std__istream+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 cat >conftest.$ac_ext <<_ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 #include <iostream>
24671 typedef std::istream ac__type_new_;
24675 if ((ac__type_new_ *) 0)
24677 if (sizeof (ac__type_new_))
24683 rm -f conftest.$ac_objext
24684 if { (ac_try="$ac_compile"
24685 case "(($ac_try" in
24686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24687 *) ac_try_echo=$ac_try;;
24689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24690 (eval "$ac_compile") 2>conftest.er1
24692 grep -v '^ *+' conftest.er1 >conftest.err
24694 cat conftest.err >&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } && {
24697 test -z "$ac_cxx_werror_flag" ||
24698 test ! -s conftest.err
24699 } && test -s conftest.$ac_objext; then
24700 ac_cv_type_std__istream=yes
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24705 ac_cv_type_std__istream=no
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24710 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24711 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24712 if test $ac_cv_type_std__istream = yes; then
24714 cat >>confdefs.h <<_ACEOF
24715 #define HAVE_STD__ISTREAM 1
24720 wxUSE_STD_IOSTREAM=no
24722 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24723 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24724 if test "${ac_cv_type_std__ostream+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24727 cat >conftest.$ac_ext <<_ACEOF
24730 cat confdefs.h >>conftest.$ac_ext
24731 cat >>conftest.$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24733 #include <iostream>
24735 typedef std::ostream ac__type_new_;
24739 if ((ac__type_new_ *) 0)
24741 if (sizeof (ac__type_new_))
24747 rm -f conftest.$ac_objext
24748 if { (ac_try="$ac_compile"
24749 case "(($ac_try" in
24750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24751 *) ac_try_echo=$ac_try;;
24753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24754 (eval "$ac_compile") 2>conftest.er1
24756 grep -v '^ *+' conftest.er1 >conftest.err
24758 cat conftest.err >&5
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); } && {
24761 test -z "$ac_cxx_werror_flag" ||
24762 test ! -s conftest.err
24763 } && test -s conftest.$ac_objext; then
24764 ac_cv_type_std__ostream=yes
24766 echo "$as_me: failed program was:" >&5
24767 sed 's/^/| /' conftest.$ac_ext >&5
24769 ac_cv_type_std__ostream=no
24772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24774 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24775 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24776 if test $ac_cv_type_std__ostream = yes; then
24778 cat >>confdefs.h <<_ACEOF
24779 #define HAVE_STD__OSTREAM 1
24784 wxUSE_STD_IOSTREAM=no
24788 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24789 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24790 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24791 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24792 { (exit 1); exit 1; }; }
24794 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24795 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24800 if test "$wxUSE_STL" = "yes"; then
24801 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24802 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24803 if test "${wx_cv_lib_stl+set}" = set; then
24804 echo $ECHO_N "(cached) $ECHO_C" >&6
24806 cat >conftest.$ac_ext <<_ACEOF
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24813 #include <functional>
24814 #include <algorithm>
24820 std::vector<int> moo;
24821 std::list<int> foo;
24822 std::vector<int>::iterator it =
24823 std::find_if(moo.begin(), moo.end(),
24824 std::bind2nd(std::less<int>(), 3));
24829 rm -f conftest.$ac_objext
24830 if { (ac_try="$ac_compile"
24831 case "(($ac_try" in
24832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24833 *) ac_try_echo=$ac_try;;
24835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24836 (eval "$ac_compile") 2>conftest.er1
24838 grep -v '^ *+' conftest.er1 >conftest.err
24840 cat conftest.err >&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); } && {
24843 test -z "$ac_cxx_werror_flag" ||
24844 test ! -s conftest.err
24845 } && test -s conftest.$ac_objext; then
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24858 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24859 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24861 if test "$wx_cv_lib_stl" != yes; then
24862 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24863 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24864 { (exit 1); exit 1; }; }
24867 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24868 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24869 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 cat >conftest.$ac_ext <<_ACEOF
24875 cat confdefs.h >>conftest.$ac_ext
24876 cat >>conftest.$ac_ext <<_ACEOF
24877 /* end confdefs.h. */
24882 std::string foo, bar;
24884 foo.compare(1, 1, bar);
24885 foo.compare(1, 1, bar, 1, 1);
24887 foo.compare(1, 1, "");
24888 foo.compare(1, 1, "", 2);
24893 rm -f conftest.$ac_objext
24894 if { (ac_try="$ac_compile"
24895 case "(($ac_try" in
24896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24897 *) ac_try_echo=$ac_try;;
24899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24900 (eval "$ac_compile") 2>conftest.er1
24902 grep -v '^ *+' conftest.er1 >conftest.err
24904 cat conftest.err >&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); } && {
24907 test -z "$ac_cxx_werror_flag" ||
24908 test ! -s conftest.err
24909 } && test -s conftest.$ac_objext; then
24910 wx_cv_func_stdstring_compare=yes
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.$ac_ext >&5
24915 wx_cv_func_stdstring_compare=no
24919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24922 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24923 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24925 if test "$wx_cv_func_stdstring_compare" = yes; then
24926 cat >>confdefs.h <<\_ACEOF
24927 #define HAVE_STD_STRING_COMPARE 1
24932 if test "$wx_cv_class_gnuhashmapset" = yes; then
24933 cat >>confdefs.h <<\_ACEOF
24934 #define HAVE_EXT_HASH_MAP 1
24937 cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_GNU_CXX_HASH_MAP 1
24943 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24944 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24945 if test "${ac_cv_header_unordered_map+set}" = set; then
24946 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 cat >conftest.$ac_ext <<_ACEOF
24951 cat confdefs.h >>conftest.$ac_ext
24952 cat >>conftest.$ac_ext <<_ACEOF
24953 /* end confdefs.h. */
24957 #include <unordered_map>
24959 rm -f conftest.$ac_objext
24960 if { (ac_try="$ac_compile"
24961 case "(($ac_try" in
24962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24963 *) ac_try_echo=$ac_try;;
24965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24966 (eval "$ac_compile") 2>conftest.er1
24968 grep -v '^ *+' conftest.er1 >conftest.err
24970 cat conftest.err >&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } && {
24973 test -z "$ac_cxx_werror_flag" ||
24974 test ! -s conftest.err
24975 } && test -s conftest.$ac_objext; then
24976 ac_cv_header_unordered_map=yes
24978 echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24981 ac_cv_header_unordered_map=no
24984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24986 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24987 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24988 if test $ac_cv_header_unordered_map = yes; then
24989 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24990 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24991 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 cat >conftest.$ac_ext <<_ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25000 #include <unordered_map>
25001 #include <unordered_set>
25005 std::unordered_map<double*, char*> test1;
25006 std::unordered_set<char*> test2;
25011 rm -f conftest.$ac_objext
25012 if { (ac_try="$ac_compile"
25013 case "(($ac_try" in
25014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25015 *) ac_try_echo=$ac_try;;
25017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25018 (eval "$ac_compile") 2>conftest.er1
25020 grep -v '^ *+' conftest.er1 >conftest.err
25022 cat conftest.err >&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); } && {
25025 test -z "$ac_cxx_werror_flag" ||
25026 test ! -s conftest.err
25027 } && test -s conftest.$ac_objext; then
25028 wx_cv_class_stdunorderedmapset=yes
25030 echo "$as_me: failed program was:" >&5
25031 sed 's/^/| /' conftest.$ac_ext >&5
25033 wx_cv_class_stdunorderedmapset=no
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25041 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25046 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25047 cat >>confdefs.h <<\_ACEOF
25048 #define HAVE_STD_UNORDERED_MAP 1
25051 cat >>confdefs.h <<\_ACEOF
25052 #define HAVE_STD_UNORDERED_SET 1
25056 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25057 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25058 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25059 echo $ECHO_N "(cached) $ECHO_C" >&6
25061 cat >conftest.$ac_ext <<_ACEOF
25064 cat confdefs.h >>conftest.$ac_ext
25065 cat >>conftest.$ac_ext <<_ACEOF
25066 /* end confdefs.h. */
25070 #include <tr1/unordered_map>
25072 rm -f conftest.$ac_objext
25073 if { (ac_try="$ac_compile"
25074 case "(($ac_try" in
25075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25076 *) ac_try_echo=$ac_try;;
25078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25079 (eval "$ac_compile") 2>conftest.er1
25081 grep -v '^ *+' conftest.er1 >conftest.err
25083 cat conftest.err >&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); } && {
25086 test -z "$ac_cxx_werror_flag" ||
25087 test ! -s conftest.err
25088 } && test -s conftest.$ac_objext; then
25089 ac_cv_header_tr1_unordered_map=yes
25091 echo "$as_me: failed program was:" >&5
25092 sed 's/^/| /' conftest.$ac_ext >&5
25094 ac_cv_header_tr1_unordered_map=no
25097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25099 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25100 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25101 if test $ac_cv_header_tr1_unordered_map = yes; then
25102 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25103 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25104 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25107 cat >conftest.$ac_ext <<_ACEOF
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25113 #include <tr1/unordered_map>
25114 #include <tr1/unordered_set>
25118 std::tr1::unordered_map<double*, char*> test1;
25119 std::tr1::unordered_set<char*> test2;
25120 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25121 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25127 rm -f conftest.$ac_objext
25128 if { (ac_try="$ac_compile"
25129 case "(($ac_try" in
25130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25131 *) ac_try_echo=$ac_try;;
25133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25134 (eval "$ac_compile") 2>conftest.er1
25136 grep -v '^ *+' conftest.er1 >conftest.err
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } && {
25141 test -z "$ac_cxx_werror_flag" ||
25142 test ! -s conftest.err
25143 } && test -s conftest.$ac_objext; then
25144 wx_cv_class_tr1unorderedmapset=yes
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25149 wx_cv_class_tr1unorderedmapset=no
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25157 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25162 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25163 cat >>confdefs.h <<\_ACEOF
25164 #define HAVE_TR1_UNORDERED_MAP 1
25167 cat >>confdefs.h <<\_ACEOF
25168 #define HAVE_TR1_UNORDERED_SET 1
25172 { echo "$as_me:$LINENO: checking for hash_map" >&5
25173 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25174 if test "${ac_cv_header_hash_map+set}" = set; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 cat >conftest.$ac_ext <<_ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25186 #include <hash_map>
25188 rm -f conftest.$ac_objext
25189 if { (ac_try="$ac_compile"
25190 case "(($ac_try" in
25191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25192 *) ac_try_echo=$ac_try;;
25194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25195 (eval "$ac_compile") 2>conftest.er1
25197 grep -v '^ *+' conftest.er1 >conftest.err
25199 cat conftest.err >&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } && {
25202 test -z "$ac_cxx_werror_flag" ||
25203 test ! -s conftest.err
25204 } && test -s conftest.$ac_objext; then
25205 ac_cv_header_hash_map=yes
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25210 ac_cv_header_hash_map=no
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25215 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25216 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25217 if test $ac_cv_header_hash_map = yes; then
25218 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25219 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25220 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25221 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 cat >conftest.$ac_ext <<_ACEOF
25226 cat confdefs.h >>conftest.$ac_ext
25227 cat >>conftest.$ac_ext <<_ACEOF
25228 /* end confdefs.h. */
25229 #include <hash_map>
25230 #include <hash_set>
25234 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25235 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25240 rm -f conftest.$ac_objext
25241 if { (ac_try="$ac_compile"
25242 case "(($ac_try" in
25243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25244 *) ac_try_echo=$ac_try;;
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247 (eval "$ac_compile") 2>conftest.er1
25249 grep -v '^ *+' conftest.er1 >conftest.err
25251 cat conftest.err >&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); } && {
25254 test -z "$ac_cxx_werror_flag" ||
25255 test ! -s conftest.err
25256 } && test -s conftest.$ac_objext; then
25257 wx_cv_class_stdhashmapset=yes
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.$ac_ext >&5
25262 wx_cv_class_stdhashmapset=no
25265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25269 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25270 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25275 if test "$wx_cv_class_stdhashmapset" = yes; then
25276 cat >>confdefs.h <<\_ACEOF
25277 #define HAVE_HASH_MAP 1
25280 cat >>confdefs.h <<\_ACEOF
25281 #define HAVE_STD_HASH_MAP 1
25286 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25287 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25288 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 cat >conftest.$ac_ext <<_ACEOF
25294 cat confdefs.h >>conftest.$ac_ext
25295 cat >>conftest.$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25300 #include <ext/hash_map>
25302 rm -f conftest.$ac_objext
25303 if { (ac_try="$ac_compile"
25304 case "(($ac_try" in
25305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25306 *) ac_try_echo=$ac_try;;
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309 (eval "$ac_compile") 2>conftest.er1
25311 grep -v '^ *+' conftest.er1 >conftest.err
25313 cat conftest.err >&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && {
25316 test -z "$ac_cxx_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest.$ac_objext; then
25319 ac_cv_header_ext_hash_map=yes
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25324 ac_cv_header_ext_hash_map=no
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25329 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25330 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25331 if test $ac_cv_header_ext_hash_map = yes; then
25332 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25333 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25334 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25335 echo $ECHO_N "(cached) $ECHO_C" >&6
25337 cat >conftest.$ac_ext <<_ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25343 #include <ext/hash_map>
25344 #include <ext/hash_set>
25348 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25349 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25354 rm -f conftest.$ac_objext
25355 if { (ac_try="$ac_compile"
25356 case "(($ac_try" in
25357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25358 *) ac_try_echo=$ac_try;;
25360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25361 (eval "$ac_compile") 2>conftest.er1
25363 grep -v '^ *+' conftest.er1 >conftest.err
25365 cat conftest.err >&5
25366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 (exit $ac_status); } && {
25368 test -z "$ac_cxx_werror_flag" ||
25369 test ! -s conftest.err
25370 } && test -s conftest.$ac_objext; then
25371 wx_cv_class_gnuhashmapset=yes
25373 echo "$as_me: failed program was:" >&5
25374 sed 's/^/| /' conftest.$ac_ext >&5
25376 wx_cv_class_gnuhashmapset=no
25379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25383 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25384 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25395 if test -n "$GCC"; then
25396 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25397 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25398 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25399 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 cat >conftest.$ac_ext <<_ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25413 unsigned int value=0;
25414 /* wxAtomicInc doesn't use return value here */
25415 __sync_fetch_and_add(&value, 2);
25416 __sync_sub_and_fetch(&value, 1);
25417 /* but wxAtomicDec does, so mimic that: */
25418 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25424 rm -f conftest.$ac_objext conftest$ac_exeext
25425 if { (ac_try="$ac_link"
25426 case "(($ac_try" in
25427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25428 *) ac_try_echo=$ac_try;;
25430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25431 (eval "$ac_link") 2>conftest.er1
25433 grep -v '^ *+' conftest.er1 >conftest.err
25435 cat conftest.err >&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } && {
25438 test -z "$ac_cxx_werror_flag" ||
25439 test ! -s conftest.err
25440 } && test -s conftest$ac_exeext &&
25441 $as_test_x conftest$ac_exeext; then
25442 wx_cv_cc_gcc_atomic_builtins=yes
25444 echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.$ac_ext >&5
25447 wx_cv_cc_gcc_atomic_builtins=no
25450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25451 conftest$ac_exeext conftest.$ac_ext
25455 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25456 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25457 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25458 cat >>confdefs.h <<\_ACEOF
25459 #define HAVE_GCC_ATOMIC_BUILTINS 1
25467 ac_cpp='$CPP $CPPFLAGS'
25468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25475 /usr/local/include \
25476 /usr/local/X11/include \
25477 /usr/local/include/X11 \
25478 /usr/local/X11R7/include \
25479 /usr/local/X11R6/include \
25480 /usr/local/include/X11R7 \
25481 /usr/local/include/X11R6 \
25483 /usr/Motif-2.1/include \
25484 /usr/Motif-1.2/include \
25485 /usr/include/Motif1.2 \
25488 /usr/openwin/include \
25492 /usr/X11R7/include \
25493 /usr/X11R6/include \
25494 /usr/X11R6.4/include \
25496 /usr/include/X11R7 \
25497 /usr/include/X11R6 \
25502 /usr/XFree86/include/X11 \
25505 /usr/local/X1R5/include \
25506 /usr/local/include/X11R5 \
25507 /usr/X11R5/include \
25508 /usr/include/X11R5 \
25510 /usr/local/X11R4/include \
25511 /usr/local/include/X11R4 \
25512 /usr/X11R4/include \
25513 /usr/include/X11R4 \
25515 /usr/openwin/share/include"
25517 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25518 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25522 if test "${wx_cv_std_libpath+set}" = set; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25526 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25527 for e in a so sl dylib dll.a; do
25529 if test -f $libc; then
25532 cat >conftest.$ac_ext <<_ACEOF
25533 int main() { return 0; }
25535 rm -f conftest.$ac_objext conftest$ac_exeext
25536 if { (ac_try="$ac_link"
25537 case "(($ac_try" in
25538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25539 *) ac_try_echo=$ac_try;;
25541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25542 (eval "$ac_link") 2>conftest.er1
25544 grep -v '^ *+' conftest.er1 >conftest.err
25546 cat conftest.err >&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); } && {
25549 test -z "$ac_c_werror_flag" ||
25550 test ! -s conftest.err
25551 } && test -s conftest$ac_exeext &&
25552 $as_test_x conftest$ac_exeext; then
25553 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25562 conftest$ac_exeext conftest.$ac_ext
25564 if test "x$wx_cv_std_libpath" != "x"; then
25570 if test "x$wx_cv_std_libpath" = "x"; then
25571 wx_cv_std_libpath="lib"
25580 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25581 wx_cv_std_libpath="lib/64"
25583 wx_cv_std_libpath="lib"
25588 if test "$ac_cv_sizeof_void_p" = 8 -a \
25589 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25590 wx_cv_std_libpath="lib64"
25592 wx_cv_std_libpath="lib"
25597 wx_cv_std_libpath="lib";
25601 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25602 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25604 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25606 if test "$build" != "$host" -a "$GCC" = yes; then
25607 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25608 cross_root=`dirname $cross_root`
25609 cross_root=`dirname $cross_root`
25611 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25612 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25613 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25615 if test -z "$PKG_CONFIG_PATH"; then
25616 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25617 export PKG_CONFIG_PATH
25620 if test -z "$x_includes" -o "$x_includes" = NONE; then
25623 for ac_dir in $SEARCH_INCLUDE /usr/include;
25625 if test -f "$ac_dir/X11/Intrinsic.h"; then
25626 ac_find_includes=$ac_dir
25631 x_includes=$ac_find_includes
25633 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25636 for ac_dir in $SEARCH_LIB;
25638 for ac_extension in a so sl dylib dll.a; do
25639 if test -f "$ac_dir/libXt.$ac_extension"; then
25640 ac_find_libraries=$ac_dir
25646 x_libraries=$ac_find_libraries
25652 cat >confcache <<\_ACEOF
25653 # This file is a shell script that caches the results of configure
25654 # tests run on this system so they can be shared between configure
25655 # scripts and configure runs, see configure's option --config-cache.
25656 # It is not useful on other systems. If it contains results you don't
25657 # want to keep, you may remove or edit it.
25659 # config.status only pays attention to the cache file if you give it
25660 # the --recheck option to rerun configure.
25662 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25663 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25664 # following values.
25668 # The following way of writing the cache mishandles newlines in values,
25669 # but we know of no workaround that is simple, portable, and efficient.
25670 # So, we kill variables containing newlines.
25671 # Ultrix sh set writes to stderr and can't be redirected directly,
25672 # and sets the high bit in the cache file unless we assign to the vars.
25674 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25675 eval ac_val=\$$ac_var
25679 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25680 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25683 _ | IFS | as_nl) ;; #(
25684 *) $as_unset $ac_var ;;
25690 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25691 *${as_nl}ac_space=\ *)
25692 # `set' does not quote correctly, so add quotes (double-quote
25693 # substitution turns \\\\ into \\, and sed turns \\ into \).
25696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25699 # `set' quotes correctly as required by POSIX, so do not add quotes.
25700 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25711 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25713 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25714 if test -w "$cache_file"; then
25715 test "x$cache_file" != "x/dev/null" &&
25716 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25717 echo "$as_me: updating cache $cache_file" >&6;}
25718 cat confcache >$cache_file
25720 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25721 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25726 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25727 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25728 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25729 if test "${wx_cv_lib_glibc21+set}" = set; then
25730 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 cat >conftest.$ac_ext <<_ACEOF
25736 cat confdefs.h >>conftest.$ac_ext
25737 cat >>conftest.$ac_ext <<_ACEOF
25738 /* end confdefs.h. */
25739 #include <features.h>
25744 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25752 rm -f conftest.$ac_objext
25753 if { (ac_try="$ac_compile"
25754 case "(($ac_try" in
25755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25756 *) ac_try_echo=$ac_try;;
25758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25759 (eval "$ac_compile") 2>conftest.er1
25761 grep -v '^ *+' conftest.er1 >conftest.err
25763 cat conftest.err >&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); } && {
25766 test -z "$ac_c_werror_flag" ||
25767 test ! -s conftest.err
25768 } && test -s conftest.$ac_objext; then
25770 wx_cv_lib_glibc21=yes
25773 echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.$ac_ext >&5
25777 wx_cv_lib_glibc21=no
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25785 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25786 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25787 if test "$wx_cv_lib_glibc21" = "yes"; then
25788 cat >>confdefs.h <<\_ACEOF
25789 #define wxHAVE_GLIBC2 1
25795 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25796 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25797 cat >>confdefs.h <<\_ACEOF
25798 #define _GNU_SOURCE 1
25809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25810 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25813 echo $ECHO_N "(cached) $ECHO_C" >&6
25815 cat >conftest.$ac_ext <<_ACEOF
25818 cat confdefs.h >>conftest.$ac_ext
25819 cat >>conftest.$ac_ext <<_ACEOF
25820 /* end confdefs.h. */
25821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25823 #define $ac_func innocuous_$ac_func
25825 /* System header to define __stub macros and hopefully few prototypes,
25826 which can conflict with char $ac_func (); below.
25827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25828 <limits.h> exists even on freestanding compilers. */
25831 # include <limits.h>
25833 # include <assert.h>
25838 /* Override any GCC internal prototype to avoid an error.
25839 Use char because int might match the return type of a GCC
25840 builtin and then its argument prototype would still apply. */
25845 /* The GNU C library defines this for functions which it implements
25846 to always fail with ENOSYS. Some functions are actually named
25847 something starting with __ and the normal name is an alias. */
25848 #if defined __stub_$ac_func || defined __stub___$ac_func
25855 return $ac_func ();
25860 rm -f conftest.$ac_objext conftest$ac_exeext
25861 if { (ac_try="$ac_link"
25862 case "(($ac_try" in
25863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25864 *) ac_try_echo=$ac_try;;
25866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25867 (eval "$ac_link") 2>conftest.er1
25869 grep -v '^ *+' conftest.er1 >conftest.err
25871 cat conftest.err >&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } && {
25874 test -z "$ac_c_werror_flag" ||
25875 test ! -s conftest.err
25876 } && test -s conftest$ac_exeext &&
25877 $as_test_x conftest$ac_exeext; then
25878 eval "$as_ac_var=yes"
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25883 eval "$as_ac_var=no"
25886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25887 conftest$ac_exeext conftest.$ac_ext
25889 ac_res=`eval echo '${'$as_ac_var'}'`
25890 { echo "$as_me:$LINENO: result: $ac_res" >&5
25891 echo "${ECHO_T}$ac_res" >&6; }
25892 if test `eval echo '${'$as_ac_var'}'` = yes; then
25893 cat >>confdefs.h <<_ACEOF
25894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25901 for ac_func in floor
25903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25907 echo $ECHO_N "(cached) $ECHO_C" >&6
25909 cat >conftest.$ac_ext <<_ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25917 #define $ac_func innocuous_$ac_func
25919 /* System header to define __stub macros and hopefully few prototypes,
25920 which can conflict with char $ac_func (); below.
25921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25922 <limits.h> exists even on freestanding compilers. */
25925 # include <limits.h>
25927 # include <assert.h>
25932 /* Override any GCC internal prototype to avoid an error.
25933 Use char because int might match the return type of a GCC
25934 builtin and then its argument prototype would still apply. */
25939 /* The GNU C library defines this for functions which it implements
25940 to always fail with ENOSYS. Some functions are actually named
25941 something starting with __ and the normal name is an alias. */
25942 #if defined __stub_$ac_func || defined __stub___$ac_func
25949 return $ac_func ();
25954 rm -f conftest.$ac_objext conftest$ac_exeext
25955 if { (ac_try="$ac_link"
25956 case "(($ac_try" in
25957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25958 *) ac_try_echo=$ac_try;;
25960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25961 (eval "$ac_link") 2>conftest.er1
25963 grep -v '^ *+' conftest.er1 >conftest.err
25965 cat conftest.err >&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); } && {
25968 test -z "$ac_c_werror_flag" ||
25969 test ! -s conftest.err
25970 } && test -s conftest$ac_exeext &&
25971 $as_test_x conftest$ac_exeext; then
25972 eval "$as_ac_var=yes"
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25977 eval "$as_ac_var=no"
25980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25981 conftest$ac_exeext conftest.$ac_ext
25983 ac_res=`eval echo '${'$as_ac_var'}'`
25984 { echo "$as_me:$LINENO: result: $ac_res" >&5
25985 echo "${ECHO_T}$ac_res" >&6; }
25986 if test `eval echo '${'$as_ac_var'}'` = yes; then
25987 cat >>confdefs.h <<_ACEOF
25988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25994 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25995 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25996 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25997 { echo "$as_me:$LINENO: result: yes" >&5
25998 echo "${ECHO_T}yes" >&6; }
26000 { echo "$as_me:$LINENO: result: no" >&5
26001 echo "${ECHO_T}no" >&6; }
26003 # use different functions to avoid configure caching
26009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26015 cat >conftest.$ac_ext <<_ACEOF
26018 cat confdefs.h >>conftest.$ac_ext
26019 cat >>conftest.$ac_ext <<_ACEOF
26020 /* end confdefs.h. */
26021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26023 #define $ac_func innocuous_$ac_func
26025 /* System header to define __stub macros and hopefully few prototypes,
26026 which can conflict with char $ac_func (); below.
26027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26028 <limits.h> exists even on freestanding compilers. */
26031 # include <limits.h>
26033 # include <assert.h>
26038 /* Override any GCC internal prototype to avoid an error.
26039 Use char because int might match the return type of a GCC
26040 builtin and then its argument prototype would still apply. */
26045 /* The GNU C library defines this for functions which it implements
26046 to always fail with ENOSYS. Some functions are actually named
26047 something starting with __ and the normal name is an alias. */
26048 #if defined __stub_$ac_func || defined __stub___$ac_func
26055 return $ac_func ();
26060 rm -f conftest.$ac_objext conftest$ac_exeext
26061 if { (ac_try="$ac_link"
26062 case "(($ac_try" in
26063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26064 *) ac_try_echo=$ac_try;;
26066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26067 (eval "$ac_link") 2>conftest.er1
26069 grep -v '^ *+' conftest.er1 >conftest.err
26071 cat conftest.err >&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } && {
26074 test -z "$ac_c_werror_flag" ||
26075 test ! -s conftest.err
26076 } && test -s conftest$ac_exeext &&
26077 $as_test_x conftest$ac_exeext; then
26078 eval "$as_ac_var=yes"
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26083 eval "$as_ac_var=no"
26086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26087 conftest$ac_exeext conftest.$ac_ext
26089 ac_res=`eval echo '${'$as_ac_var'}'`
26090 { echo "$as_me:$LINENO: result: $ac_res" >&5
26091 echo "${ECHO_T}$ac_res" >&6; }
26092 if test `eval echo '${'$as_ac_var'}'` = yes; then
26093 cat >>confdefs.h <<_ACEOF
26094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26101 for ac_func in ceil
26103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 cat >conftest.$ac_ext <<_ACEOF
26112 cat confdefs.h >>conftest.$ac_ext
26113 cat >>conftest.$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26117 #define $ac_func innocuous_$ac_func
26119 /* System header to define __stub macros and hopefully few prototypes,
26120 which can conflict with char $ac_func (); below.
26121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26122 <limits.h> exists even on freestanding compilers. */
26125 # include <limits.h>
26127 # include <assert.h>
26132 /* Override any GCC internal prototype to avoid an error.
26133 Use char because int might match the return type of a GCC
26134 builtin and then its argument prototype would still apply. */
26139 /* The GNU C library defines this for functions which it implements
26140 to always fail with ENOSYS. Some functions are actually named
26141 something starting with __ and the normal name is an alias. */
26142 #if defined __stub_$ac_func || defined __stub___$ac_func
26149 return $ac_func ();
26154 rm -f conftest.$ac_objext conftest$ac_exeext
26155 if { (ac_try="$ac_link"
26156 case "(($ac_try" in
26157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26158 *) ac_try_echo=$ac_try;;
26160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161 (eval "$ac_link") 2>conftest.er1
26163 grep -v '^ *+' conftest.er1 >conftest.err
26165 cat conftest.err >&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } && {
26168 test -z "$ac_c_werror_flag" ||
26169 test ! -s conftest.err
26170 } && test -s conftest$ac_exeext &&
26171 $as_test_x conftest$ac_exeext; then
26172 eval "$as_ac_var=yes"
26174 echo "$as_me: failed program was:" >&5
26175 sed 's/^/| /' conftest.$ac_ext >&5
26177 eval "$as_ac_var=no"
26180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26181 conftest$ac_exeext conftest.$ac_ext
26183 ac_res=`eval echo '${'$as_ac_var'}'`
26184 { echo "$as_me:$LINENO: result: $ac_res" >&5
26185 echo "${ECHO_T}$ac_res" >&6; }
26186 if test `eval echo '${'$as_ac_var'}'` = yes; then
26187 cat >>confdefs.h <<_ACEOF
26188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26194 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26195 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26196 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26197 { echo "$as_me:$LINENO: result: yes" >&5
26198 echo "${ECHO_T}yes" >&6; }
26200 { echo "$as_me:$LINENO: result: no" >&5
26201 echo "${ECHO_T}no" >&6; }
26202 # not sure we should warn the user, crash, etc.
26207 ac_cpp='$CXXCPP $CPPFLAGS'
26208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26212 if test "wxUSE_UNICODE" = "yes"; then
26214 for wx_func in wcstoull
26216 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26217 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26218 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26219 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 cat >conftest.$ac_ext <<_ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26231 $ac_includes_default
26247 rm -f conftest.$ac_objext conftest$ac_exeext
26248 if { (ac_try="$ac_link"
26249 case "(($ac_try" in
26250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26251 *) ac_try_echo=$ac_try;;
26253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26254 (eval "$ac_link") 2>conftest.er1
26256 grep -v '^ *+' conftest.er1 >conftest.err
26258 cat conftest.err >&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); } && {
26261 test -z "$ac_cxx_werror_flag" ||
26262 test ! -s conftest.err
26263 } && test -s conftest$ac_exeext &&
26264 $as_test_x conftest$ac_exeext; then
26265 eval wx_cv_func_$wx_func=yes
26267 echo "$as_me: failed program was:" >&5
26268 sed 's/^/| /' conftest.$ac_ext >&5
26270 eval wx_cv_func_$wx_func=no
26273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26274 conftest$ac_exeext conftest.$ac_ext
26277 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26278 { echo "$as_me:$LINENO: result: $ac_res" >&5
26279 echo "${ECHO_T}$ac_res" >&6; }
26281 if eval test \$wx_cv_func_$wx_func = yes
26283 cat >>confdefs.h <<_ACEOF
26284 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26296 for wx_func in strtoull
26298 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26299 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26300 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26304 cat >conftest.$ac_ext <<_ACEOF
26308 cat confdefs.h >>conftest.$ac_ext
26309 cat >>conftest.$ac_ext <<_ACEOF
26310 /* end confdefs.h. */
26313 $ac_includes_default
26329 rm -f conftest.$ac_objext conftest$ac_exeext
26330 if { (ac_try="$ac_link"
26331 case "(($ac_try" in
26332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26333 *) ac_try_echo=$ac_try;;
26335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26336 (eval "$ac_link") 2>conftest.er1
26338 grep -v '^ *+' conftest.er1 >conftest.err
26340 cat conftest.err >&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); } && {
26343 test -z "$ac_cxx_werror_flag" ||
26344 test ! -s conftest.err
26345 } && test -s conftest$ac_exeext &&
26346 $as_test_x conftest$ac_exeext; then
26347 eval wx_cv_func_$wx_func=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26352 eval wx_cv_func_$wx_func=no
26355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26356 conftest$ac_exeext conftest.$ac_ext
26359 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26360 { echo "$as_me:$LINENO: result: $ac_res" >&5
26361 echo "${ECHO_T}$ac_res" >&6; }
26363 if eval test \$wx_cv_func_$wx_func = yes
26365 cat >>confdefs.h <<_ACEOF
26366 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26378 ac_cpp='$CPP $CPPFLAGS'
26379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26386 if test "$wxUSE_REGEX" != "no"; then
26387 cat >>confdefs.h <<\_ACEOF
26388 #define wxUSE_REGEX 1
26392 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26393 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26394 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26395 wxUSE_REGEX=builtin
26398 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26399 { echo "$as_me:$LINENO: checking for regex.h" >&5
26400 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26401 if test "${ac_cv_header_regex_h+set}" = set; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26404 cat >conftest.$ac_ext <<_ACEOF
26407 cat confdefs.h >>conftest.$ac_ext
26408 cat >>conftest.$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26414 rm -f conftest.$ac_objext
26415 if { (ac_try="$ac_compile"
26416 case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26418 *) ac_try_echo=$ac_try;;
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_compile") 2>conftest.er1
26423 grep -v '^ *+' conftest.er1 >conftest.err
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } && {
26428 test -z "$ac_c_werror_flag" ||
26429 test ! -s conftest.err
26430 } && test -s conftest.$ac_objext; then
26431 ac_cv_header_regex_h=yes
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26436 ac_cv_header_regex_h=no
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26441 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26442 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26443 if test $ac_cv_header_regex_h = yes; then
26446 for ac_func in regcomp re_search
26448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26452 echo $ECHO_N "(cached) $ECHO_C" >&6
26454 cat >conftest.$ac_ext <<_ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26462 #define $ac_func innocuous_$ac_func
26464 /* System header to define __stub macros and hopefully few prototypes,
26465 which can conflict with char $ac_func (); below.
26466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26467 <limits.h> exists even on freestanding compilers. */
26470 # include <limits.h>
26472 # include <assert.h>
26477 /* Override any GCC internal prototype to avoid an error.
26478 Use char because int might match the return type of a GCC
26479 builtin and then its argument prototype would still apply. */
26484 /* The GNU C library defines this for functions which it implements
26485 to always fail with ENOSYS. Some functions are actually named
26486 something starting with __ and the normal name is an alias. */
26487 #if defined __stub_$ac_func || defined __stub___$ac_func
26494 return $ac_func ();
26499 rm -f conftest.$ac_objext conftest$ac_exeext
26500 if { (ac_try="$ac_link"
26501 case "(($ac_try" in
26502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26503 *) ac_try_echo=$ac_try;;
26505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26506 (eval "$ac_link") 2>conftest.er1
26508 grep -v '^ *+' conftest.er1 >conftest.err
26510 cat conftest.err >&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } && {
26513 test -z "$ac_c_werror_flag" ||
26514 test ! -s conftest.err
26515 } && test -s conftest$ac_exeext &&
26516 $as_test_x conftest$ac_exeext; then
26517 eval "$as_ac_var=yes"
26519 echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.$ac_ext >&5
26522 eval "$as_ac_var=no"
26525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26526 conftest$ac_exeext conftest.$ac_ext
26528 ac_res=`eval echo '${'$as_ac_var'}'`
26529 { echo "$as_me:$LINENO: result: $ac_res" >&5
26530 echo "${ECHO_T}$ac_res" >&6; }
26531 if test `eval echo '${'$as_ac_var'}'` = yes; then
26532 cat >>confdefs.h <<_ACEOF
26533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26543 if test "x$ac_cv_func_regcomp" != "xyes"; then
26544 if test "$wxUSE_REGEX" = "sys" ; then
26545 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26546 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26547 { (exit 1); exit 1; }; }
26549 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26550 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26551 wxUSE_REGEX=builtin
26555 cat >>confdefs.h <<\_ACEOF
26556 #define WX_NO_REGEX_ADVANCED 1
26565 if test "$wxUSE_ZLIB" != "no" ; then
26566 cat >>confdefs.h <<\_ACEOF
26567 #define wxUSE_ZLIB 1
26571 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26572 if test "$USE_DARWIN" = 1; then
26573 system_zlib_h_ok="yes"
26575 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26576 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26577 if test "${ac_cv_header_zlib_h+set}" = set; then
26578 echo $ECHO_N "(cached) $ECHO_C" >&6
26580 if test "$cross_compiling" = yes; then
26581 unset ac_cv_header_zlib_h
26584 cat >conftest.$ac_ext <<_ACEOF
26587 cat confdefs.h >>conftest.$ac_ext
26588 cat >>conftest.$ac_ext <<_ACEOF
26589 /* end confdefs.h. */
26596 FILE *f=fopen("conftestval", "w");
26599 ZLIB_VERSION[0] == '1' &&
26600 (ZLIB_VERSION[2] > '1' ||
26601 (ZLIB_VERSION[2] == '1' &&
26602 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26607 rm -f conftest$ac_exeext
26608 if { (ac_try="$ac_link"
26609 case "(($ac_try" in
26610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26611 *) ac_try_echo=$ac_try;;
26613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26614 (eval "$ac_link") 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; }; then
26627 ac_cv_header_zlib_h=`cat conftestval`
26629 echo "$as_me: program exited with status $ac_status" >&5
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26633 ( exit $ac_status )
26634 ac_cv_header_zlib_h=no
26636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26642 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26643 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26644 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26645 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26646 if test "${ac_cv_header_zlib_h+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 cat >conftest.$ac_ext <<_ACEOF
26652 cat confdefs.h >>conftest.$ac_ext
26653 cat >>conftest.$ac_ext <<_ACEOF
26654 /* end confdefs.h. */
26659 rm -f conftest.$ac_objext
26660 if { (ac_try="$ac_compile"
26661 case "(($ac_try" in
26662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26663 *) ac_try_echo=$ac_try;;
26665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26666 (eval "$ac_compile") 2>conftest.er1
26668 grep -v '^ *+' conftest.er1 >conftest.err
26670 cat conftest.err >&5
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); } && {
26673 test -z "$ac_c_werror_flag" ||
26674 test ! -s conftest.err
26675 } && test -s conftest.$ac_objext; then
26676 ac_cv_header_zlib_h=yes
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.$ac_ext >&5
26681 ac_cv_header_zlib_h=no
26684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26686 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26687 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26691 system_zlib_h_ok=$ac_cv_header_zlib_h
26694 if test "$system_zlib_h_ok" = "yes"; then
26695 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26696 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26697 if test "${ac_cv_lib_z_deflate+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26700 ac_check_lib_save_LIBS=$LIBS
26702 cat >conftest.$ac_ext <<_ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26709 /* Override any GCC internal prototype to avoid an error.
26710 Use char because int might match the return type of a GCC
26711 builtin and then its argument prototype would still apply. */
26724 rm -f conftest.$ac_objext conftest$ac_exeext
26725 if { (ac_try="$ac_link"
26726 case "(($ac_try" in
26727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26728 *) ac_try_echo=$ac_try;;
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_link") 2>conftest.er1
26733 grep -v '^ *+' conftest.er1 >conftest.err
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } && {
26738 test -z "$ac_c_werror_flag" ||
26739 test ! -s conftest.err
26740 } && test -s conftest$ac_exeext &&
26741 $as_test_x conftest$ac_exeext; then
26742 ac_cv_lib_z_deflate=yes
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26747 ac_cv_lib_z_deflate=no
26750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26751 conftest$ac_exeext conftest.$ac_ext
26752 LIBS=$ac_check_lib_save_LIBS
26754 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26755 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26756 if test $ac_cv_lib_z_deflate = yes; then
26762 if test "x$ZLIB_LINK" = "x" ; then
26763 if test "$wxUSE_ZLIB" = "sys" ; then
26764 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26765 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26766 { (exit 1); exit 1; }; }
26768 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26769 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26780 if test "$wxUSE_LIBPNG" != "no" ; then
26781 cat >>confdefs.h <<\_ACEOF
26782 #define wxUSE_LIBPNG 1
26786 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26787 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26788 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26792 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26793 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26794 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26795 wxUSE_LIBPNG=builtin
26798 if test "$wxUSE_MGL" != 1 ; then
26799 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26800 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26801 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26802 if test "${ac_cv_header_png_h+set}" = set; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 if test "$cross_compiling" = yes; then
26806 unset ac_cv_header_png_h
26809 cat >conftest.$ac_ext <<_ACEOF
26812 cat confdefs.h >>conftest.$ac_ext
26813 cat >>conftest.$ac_ext <<_ACEOF
26814 /* end confdefs.h. */
26821 FILE *f=fopen("conftestval", "w");
26824 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26829 rm -f conftest$ac_exeext
26830 if { (ac_try="$ac_link"
26831 case "(($ac_try" in
26832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26833 *) ac_try_echo=$ac_try;;
26835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26836 (eval "$ac_link") 2>&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; }; then
26849 ac_cv_header_png_h=`cat conftestval`
26851 echo "$as_me: program exited with status $ac_status" >&5
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26855 ( exit $ac_status )
26856 ac_cv_header_png_h=no
26858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26864 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26865 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26866 { echo "$as_me:$LINENO: checking for png.h" >&5
26867 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26868 if test "${ac_cv_header_png_h+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 cat >conftest.$ac_ext <<_ACEOF
26874 cat confdefs.h >>conftest.$ac_ext
26875 cat >>conftest.$ac_ext <<_ACEOF
26876 /* end confdefs.h. */
26881 rm -f conftest.$ac_objext
26882 if { (ac_try="$ac_compile"
26883 case "(($ac_try" in
26884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885 *) ac_try_echo=$ac_try;;
26887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888 (eval "$ac_compile") 2>conftest.er1
26890 grep -v '^ *+' conftest.er1 >conftest.err
26892 cat conftest.err >&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } && {
26895 test -z "$ac_c_werror_flag" ||
26896 test ! -s conftest.err
26897 } && test -s conftest.$ac_objext; then
26898 ac_cv_header_png_h=yes
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26903 ac_cv_header_png_h=no
26906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26908 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26909 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26913 if test "$ac_cv_header_png_h" = "yes"; then
26914 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26915 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26916 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26917 echo $ECHO_N "(cached) $ECHO_C" >&6
26919 ac_check_lib_save_LIBS=$LIBS
26920 LIBS="-lpng -lz -lm $LIBS"
26921 cat >conftest.$ac_ext <<_ACEOF
26924 cat confdefs.h >>conftest.$ac_ext
26925 cat >>conftest.$ac_ext <<_ACEOF
26926 /* end confdefs.h. */
26928 /* Override any GCC internal prototype to avoid an error.
26929 Use char because int might match the return type of a GCC
26930 builtin and then its argument prototype would still apply. */
26934 char png_check_sig ();
26938 return png_check_sig ();
26943 rm -f conftest.$ac_objext conftest$ac_exeext
26944 if { (ac_try="$ac_link"
26945 case "(($ac_try" in
26946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_link") 2>conftest.er1
26952 grep -v '^ *+' conftest.er1 >conftest.err
26954 cat conftest.err >&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } && {
26957 test -z "$ac_c_werror_flag" ||
26958 test ! -s conftest.err
26959 } && test -s conftest$ac_exeext &&
26960 $as_test_x conftest$ac_exeext; then
26961 ac_cv_lib_png_png_check_sig=yes
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.$ac_ext >&5
26966 ac_cv_lib_png_png_check_sig=no
26969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26970 conftest$ac_exeext conftest.$ac_ext
26971 LIBS=$ac_check_lib_save_LIBS
26973 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26974 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26975 if test $ac_cv_lib_png_png_check_sig = yes; then
26976 PNG_LINK=" -lpng -lz"
26981 if test "x$PNG_LINK" = "x" ; then
26982 if test "$wxUSE_LIBPNG" = "sys" ; then
26983 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26984 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26985 { (exit 1); exit 1; }; }
26987 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26988 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26989 wxUSE_LIBPNG=builtin
27000 if test "$wxUSE_LIBJPEG" != "no" ; then
27001 cat >>confdefs.h <<\_ACEOF
27002 #define wxUSE_LIBJPEG 1
27006 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27007 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27008 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27012 if test "$wxUSE_MGL" != 1 ; then
27013 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27014 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27015 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27016 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27019 cat >conftest.$ac_ext <<_ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27026 #undef HAVE_STDLIB_H
27028 #include <jpeglib.h>
27039 rm -f conftest.$ac_objext
27040 if { (ac_try="$ac_compile"
27041 case "(($ac_try" in
27042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27043 *) ac_try_echo=$ac_try;;
27045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27046 (eval "$ac_compile") 2>conftest.er1
27048 grep -v '^ *+' conftest.er1 >conftest.err
27050 cat conftest.err >&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); } && {
27053 test -z "$ac_c_werror_flag" ||
27054 test ! -s conftest.err
27055 } && test -s conftest.$ac_objext; then
27056 ac_cv_header_jpeglib_h=yes
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27061 ac_cv_header_jpeglib_h=no
27065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27069 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27070 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27072 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27073 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27074 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27075 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 ac_check_lib_save_LIBS=$LIBS
27079 LIBS="-ljpeg $LIBS"
27080 cat >conftest.$ac_ext <<_ACEOF
27083 cat confdefs.h >>conftest.$ac_ext
27084 cat >>conftest.$ac_ext <<_ACEOF
27085 /* end confdefs.h. */
27087 /* Override any GCC internal prototype to avoid an error.
27088 Use char because int might match the return type of a GCC
27089 builtin and then its argument prototype would still apply. */
27093 char jpeg_read_header ();
27097 return jpeg_read_header ();
27102 rm -f conftest.$ac_objext conftest$ac_exeext
27103 if { (ac_try="$ac_link"
27104 case "(($ac_try" in
27105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27106 *) ac_try_echo=$ac_try;;
27108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27109 (eval "$ac_link") 2>conftest.er1
27111 grep -v '^ *+' conftest.er1 >conftest.err
27113 cat conftest.err >&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } && {
27116 test -z "$ac_c_werror_flag" ||
27117 test ! -s conftest.err
27118 } && test -s conftest$ac_exeext &&
27119 $as_test_x conftest$ac_exeext; then
27120 ac_cv_lib_jpeg_jpeg_read_header=yes
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.$ac_ext >&5
27125 ac_cv_lib_jpeg_jpeg_read_header=no
27128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27129 conftest$ac_exeext conftest.$ac_ext
27130 LIBS=$ac_check_lib_save_LIBS
27132 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27133 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27134 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27135 JPEG_LINK=" -ljpeg"
27140 if test "x$JPEG_LINK" = "x" ; then
27141 if test "$wxUSE_LIBJPEG" = "sys" ; then
27142 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27143 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27144 { (exit 1); exit 1; }; }
27146 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27147 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27148 wxUSE_LIBJPEG=builtin
27153 if test "$wxUSE_MSW" = 1; then
27154 { echo "$as_me:$LINENO: checking for boolean" >&5
27155 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27156 if test "${ac_cv_type_boolean+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 cat >conftest.$ac_ext <<_ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h. */
27165 #include <windows.h>
27167 typedef boolean ac__type_new_;
27171 if ((ac__type_new_ *) 0)
27173 if (sizeof (ac__type_new_))
27179 rm -f conftest.$ac_objext
27180 if { (ac_try="$ac_compile"
27181 case "(($ac_try" in
27182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27183 *) ac_try_echo=$ac_try;;
27185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27186 (eval "$ac_compile") 2>conftest.er1
27188 grep -v '^ *+' conftest.er1 >conftest.err
27190 cat conftest.err >&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } && {
27193 test -z "$ac_c_werror_flag" ||
27194 test ! -s conftest.err
27195 } && test -s conftest.$ac_objext; then
27196 ac_cv_type_boolean=yes
27198 echo "$as_me: failed program was:" >&5
27199 sed 's/^/| /' conftest.$ac_ext >&5
27201 ac_cv_type_boolean=no
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27206 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27207 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27208 if test $ac_cv_type_boolean = yes; then
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE_BOOLEAN 1
27215 { echo "$as_me:$LINENO: checking for boolean" >&5
27216 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27217 if test "${ac_cv_type_boolean+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27220 cat >conftest.$ac_ext <<_ACEOF
27223 cat confdefs.h >>conftest.$ac_ext
27224 cat >>conftest.$ac_ext <<_ACEOF
27225 /* end confdefs.h. */
27227 #undef HAVE_BOOLEAN
27229 #include <jpeglib.h>
27232 typedef boolean ac__type_new_;
27236 if ((ac__type_new_ *) 0)
27238 if (sizeof (ac__type_new_))
27244 rm -f conftest.$ac_objext
27245 if { (ac_try="$ac_compile"
27246 case "(($ac_try" in
27247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248 *) ac_try_echo=$ac_try;;
27250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27251 (eval "$ac_compile") 2>conftest.er1
27253 grep -v '^ *+' conftest.er1 >conftest.err
27255 cat conftest.err >&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } && {
27258 test -z "$ac_c_werror_flag" ||
27259 test ! -s conftest.err
27260 } && test -s conftest.$ac_objext; then
27261 ac_cv_type_boolean=yes
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27266 ac_cv_type_boolean=no
27269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27271 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27272 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27274 # The cast to long int works around a bug in the HP C Compiler
27275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27277 # This bug is HP SR number 8606223364.
27278 { echo "$as_me:$LINENO: checking size of boolean" >&5
27279 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27280 if test "${ac_cv_sizeof_boolean+set}" = set; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27283 if test "$cross_compiling" = yes; then
27284 # Depending upon the size, compute the lo and hi bounds.
27285 cat >conftest.$ac_ext <<_ACEOF
27288 cat confdefs.h >>conftest.$ac_ext
27289 cat >>conftest.$ac_ext <<_ACEOF
27290 /* end confdefs.h. */
27292 #undef HAVE_BOOLEAN
27294 #include <jpeglib.h>
27297 typedef boolean ac__type_sizeof_;
27301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27308 rm -f conftest.$ac_objext
27309 if { (ac_try="$ac_compile"
27310 case "(($ac_try" in
27311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27312 *) ac_try_echo=$ac_try;;
27314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27315 (eval "$ac_compile") 2>conftest.er1
27317 grep -v '^ *+' conftest.er1 >conftest.err
27319 cat conftest.err >&5
27320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321 (exit $ac_status); } && {
27322 test -z "$ac_c_werror_flag" ||
27323 test ! -s conftest.err
27324 } && test -s conftest.$ac_objext; then
27327 cat >conftest.$ac_ext <<_ACEOF
27330 cat confdefs.h >>conftest.$ac_ext
27331 cat >>conftest.$ac_ext <<_ACEOF
27332 /* end confdefs.h. */
27334 #undef HAVE_BOOLEAN
27336 #include <jpeglib.h>
27339 typedef boolean ac__type_sizeof_;
27343 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27350 rm -f conftest.$ac_objext
27351 if { (ac_try="$ac_compile"
27352 case "(($ac_try" in
27353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27354 *) ac_try_echo=$ac_try;;
27356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27357 (eval "$ac_compile") 2>conftest.er1
27359 grep -v '^ *+' conftest.er1 >conftest.err
27361 cat conftest.err >&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); } && {
27364 test -z "$ac_c_werror_flag" ||
27365 test ! -s conftest.err
27366 } && test -s conftest.$ac_objext; then
27367 ac_hi=$ac_mid; break
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.$ac_ext >&5
27372 ac_lo=`expr $ac_mid + 1`
27373 if test $ac_lo -le $ac_mid; then
27377 ac_mid=`expr 2 '*' $ac_mid + 1`
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27386 cat >conftest.$ac_ext <<_ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27393 #undef HAVE_BOOLEAN
27395 #include <jpeglib.h>
27398 typedef boolean ac__type_sizeof_;
27402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27409 rm -f conftest.$ac_objext
27410 if { (ac_try="$ac_compile"
27411 case "(($ac_try" in
27412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413 *) ac_try_echo=$ac_try;;
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416 (eval "$ac_compile") 2>conftest.er1
27418 grep -v '^ *+' conftest.er1 >conftest.err
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } && {
27423 test -z "$ac_c_werror_flag" ||
27424 test ! -s conftest.err
27425 } && test -s conftest.$ac_objext; then
27428 cat >conftest.$ac_ext <<_ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h. */
27435 #undef HAVE_BOOLEAN
27437 #include <jpeglib.h>
27440 typedef boolean ac__type_sizeof_;
27444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27451 rm -f conftest.$ac_objext
27452 if { (ac_try="$ac_compile"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_compile") 2>conftest.er1
27460 grep -v '^ *+' conftest.er1 >conftest.err
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest.$ac_objext; then
27468 ac_lo=$ac_mid; break
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27473 ac_hi=`expr '(' $ac_mid ')' - 1`
27474 if test $ac_mid -le $ac_hi; then
27478 ac_mid=`expr 2 '*' $ac_mid`
27481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27494 # Binary search between lo and hi bounds.
27495 while test "x$ac_lo" != "x$ac_hi"; do
27496 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27497 cat >conftest.$ac_ext <<_ACEOF
27500 cat confdefs.h >>conftest.$ac_ext
27501 cat >>conftest.$ac_ext <<_ACEOF
27502 /* end confdefs.h. */
27504 #undef HAVE_BOOLEAN
27506 #include <jpeglib.h>
27509 typedef boolean ac__type_sizeof_;
27513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27520 rm -f conftest.$ac_objext
27521 if { (ac_try="$ac_compile"
27522 case "(($ac_try" in
27523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27524 *) ac_try_echo=$ac_try;;
27526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27527 (eval "$ac_compile") 2>conftest.er1
27529 grep -v '^ *+' conftest.er1 >conftest.err
27531 cat conftest.err >&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); } && {
27534 test -z "$ac_c_werror_flag" ||
27535 test ! -s conftest.err
27536 } && test -s conftest.$ac_objext; then
27539 echo "$as_me: failed program was:" >&5
27540 sed 's/^/| /' conftest.$ac_ext >&5
27542 ac_lo=`expr '(' $ac_mid ')' + 1`
27545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27548 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27549 '') if test "$ac_cv_type_boolean" = yes; then
27550 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27551 See \`config.log' for more details." >&5
27552 echo "$as_me: error: cannot compute sizeof (boolean)
27553 See \`config.log' for more details." >&2;}
27554 { (exit 77); exit 77; }; }
27556 ac_cv_sizeof_boolean=0
27560 cat >conftest.$ac_ext <<_ACEOF
27563 cat confdefs.h >>conftest.$ac_ext
27564 cat >>conftest.$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27567 #undef HAVE_BOOLEAN
27569 #include <jpeglib.h>
27572 typedef boolean ac__type_sizeof_;
27573 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27574 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27576 #include <stdlib.h>
27581 FILE *f = fopen ("conftest.val", "w");
27584 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27586 long int i = longval ();
27587 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27589 fprintf (f, "%ld\n", i);
27593 unsigned long int i = ulongval ();
27594 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27596 fprintf (f, "%lu\n", i);
27598 return ferror (f) || fclose (f) != 0;
27604 rm -f conftest$ac_exeext
27605 if { (ac_try="$ac_link"
27606 case "(($ac_try" in
27607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27608 *) ac_try_echo=$ac_try;;
27610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27611 (eval "$ac_link") 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); }; }; then
27624 ac_cv_sizeof_boolean=`cat conftest.val`
27626 echo "$as_me: program exited with status $ac_status" >&5
27627 echo "$as_me: failed program was:" >&5
27628 sed 's/^/| /' conftest.$ac_ext >&5
27630 ( exit $ac_status )
27631 if test "$ac_cv_type_boolean" = yes; then
27632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27633 See \`config.log' for more details." >&5
27634 echo "$as_me: error: cannot compute sizeof (boolean)
27635 See \`config.log' for more details." >&2;}
27636 { (exit 77); exit 77; }; }
27638 ac_cv_sizeof_boolean=0
27641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27645 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27646 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27650 cat >>confdefs.h <<_ACEOF
27651 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27655 cat >>confdefs.h <<_ACEOF
27656 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27670 TIFF_PREREQ_LINKS=-lm
27671 if test "$wxUSE_LIBTIFF" != "no" ; then
27672 cat >>confdefs.h <<\_ACEOF
27673 #define wxUSE_LIBTIFF 1
27677 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27678 if test "$wxUSE_LIBJPEG" = "sys"; then
27679 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27681 if test "$wxUSE_ZLIB" = "sys"; then
27682 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27684 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27685 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27686 if test "${ac_cv_header_tiffio_h+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 cat >conftest.$ac_ext <<_ACEOF
27692 cat confdefs.h >>conftest.$ac_ext
27693 cat >>conftest.$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27698 #include <tiffio.h>
27700 rm -f conftest.$ac_objext
27701 if { (ac_try="$ac_compile"
27702 case "(($ac_try" in
27703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_compile") 2>conftest.er1
27709 grep -v '^ *+' conftest.er1 >conftest.err
27711 cat conftest.err >&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } && {
27714 test -z "$ac_c_werror_flag" ||
27715 test ! -s conftest.err
27716 } && test -s conftest.$ac_objext; then
27717 ac_cv_header_tiffio_h=yes
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27722 ac_cv_header_tiffio_h=no
27725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27727 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27728 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27729 if test $ac_cv_header_tiffio_h = yes; then
27731 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27732 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27733 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27734 echo $ECHO_N "(cached) $ECHO_C" >&6
27736 ac_check_lib_save_LIBS=$LIBS
27737 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27738 cat >conftest.$ac_ext <<_ACEOF
27741 cat confdefs.h >>conftest.$ac_ext
27742 cat >>conftest.$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27745 /* Override any GCC internal prototype to avoid an error.
27746 Use char because int might match the return type of a GCC
27747 builtin and then its argument prototype would still apply. */
27755 return TIFFError ();
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (ac_try="$ac_link"
27762 case "(($ac_try" in
27763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27764 *) ac_try_echo=$ac_try;;
27766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27767 (eval "$ac_link") 2>conftest.er1
27769 grep -v '^ *+' conftest.er1 >conftest.err
27771 cat conftest.err >&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); } && {
27774 test -z "$ac_c_werror_flag" ||
27775 test ! -s conftest.err
27776 } && test -s conftest$ac_exeext &&
27777 $as_test_x conftest$ac_exeext; then
27778 ac_cv_lib_tiff_TIFFError=yes
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27783 ac_cv_lib_tiff_TIFFError=no
27786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27787 conftest$ac_exeext conftest.$ac_ext
27788 LIBS=$ac_check_lib_save_LIBS
27790 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27791 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27792 if test $ac_cv_lib_tiff_TIFFError = yes; then
27793 TIFF_LINK=" -ltiff"
27801 if test "x$TIFF_LINK" = "x" ; then
27802 if test "$wxUSE_LIBTIFF" = "sys" ; then
27803 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27804 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27805 { (exit 1); exit 1; }; }
27807 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27808 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27809 wxUSE_LIBTIFF=builtin
27815 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27816 if test "$wxUSE_LIBJPEG" = "no"; then
27817 ac_configure_args="$ac_configure_args --disable-jpeg"
27819 subdirs="$subdirs src/tiff"
27825 if test "$wxUSE_WCHAR_T" != "yes"; then
27826 if test "$wxUSE_EXPAT" != "no"; then
27827 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27828 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27831 if test "$wxUSE_XML" != "no"; then
27832 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27833 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27838 if test "$wxUSE_EXPAT" != "no"; then
27840 cat >>confdefs.h <<\_ACEOF
27841 #define wxUSE_EXPAT 1
27844 cat >>confdefs.h <<\_ACEOF
27845 #define wxUSE_XML 1
27849 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27850 { echo "$as_me:$LINENO: checking for expat.h" >&5
27851 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27852 if test "${ac_cv_header_expat_h+set}" = set; then
27853 echo $ECHO_N "(cached) $ECHO_C" >&6
27855 cat >conftest.$ac_ext <<_ACEOF
27858 cat confdefs.h >>conftest.$ac_ext
27859 cat >>conftest.$ac_ext <<_ACEOF
27860 /* end confdefs.h. */
27865 rm -f conftest.$ac_objext
27866 if { (ac_try="$ac_compile"
27867 case "(($ac_try" in
27868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27869 *) ac_try_echo=$ac_try;;
27871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27872 (eval "$ac_compile") 2>conftest.er1
27874 grep -v '^ *+' conftest.er1 >conftest.err
27876 cat conftest.err >&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); } && {
27879 test -z "$ac_c_werror_flag" ||
27880 test ! -s conftest.err
27881 } && test -s conftest.$ac_objext; then
27882 ac_cv_header_expat_h=yes
27884 echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.$ac_ext >&5
27887 ac_cv_header_expat_h=no
27890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27892 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27893 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27894 if test $ac_cv_header_expat_h = yes; then
27899 if test "x$found_expat_h" = "x1"; then
27900 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27901 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27902 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 ac_cpp='$CXXCPP $CPPFLAGS'
27908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27912 cat >conftest.$ac_ext <<_ACEOF
27915 cat confdefs.h >>conftest.$ac_ext
27916 cat >>conftest.$ac_ext <<_ACEOF
27917 /* end confdefs.h. */
27927 rm -f conftest.$ac_objext
27928 if { (ac_try="$ac_compile"
27929 case "(($ac_try" in
27930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27931 *) ac_try_echo=$ac_try;;
27933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27934 (eval "$ac_compile") 2>conftest.er1
27936 grep -v '^ *+' conftest.er1 >conftest.err
27938 cat conftest.err >&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); } && {
27941 test -z "$ac_cxx_werror_flag" ||
27942 test ! -s conftest.err
27943 } && test -s conftest.$ac_objext; then
27944 wx_cv_expat_is_not_broken=yes
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.$ac_ext >&5
27949 wx_cv_expat_is_not_broken=no
27953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27955 ac_cpp='$CPP $CPPFLAGS'
27956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27963 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27964 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27965 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27966 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27967 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27968 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 ac_check_lib_save_LIBS=$LIBS
27972 LIBS="-lexpat $LIBS"
27973 cat >conftest.$ac_ext <<_ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27980 /* Override any GCC internal prototype to avoid an error.
27981 Use char because int might match the return type of a GCC
27982 builtin and then its argument prototype would still apply. */
27986 char XML_ParserCreate ();
27990 return XML_ParserCreate ();
27995 rm -f conftest.$ac_objext conftest$ac_exeext
27996 if { (ac_try="$ac_link"
27997 case "(($ac_try" in
27998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27999 *) ac_try_echo=$ac_try;;
28001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28002 (eval "$ac_link") 2>conftest.er1
28004 grep -v '^ *+' conftest.er1 >conftest.err
28006 cat conftest.err >&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } && {
28009 test -z "$ac_c_werror_flag" ||
28010 test ! -s conftest.err
28011 } && test -s conftest$ac_exeext &&
28012 $as_test_x conftest$ac_exeext; then
28013 ac_cv_lib_expat_XML_ParserCreate=yes
28015 echo "$as_me: failed program was:" >&5
28016 sed 's/^/| /' conftest.$ac_ext >&5
28018 ac_cv_lib_expat_XML_ParserCreate=no
28021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28022 conftest$ac_exeext conftest.$ac_ext
28023 LIBS=$ac_check_lib_save_LIBS
28025 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28026 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28027 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28028 EXPAT_LINK=" -lexpat"
28033 if test "x$EXPAT_LINK" = "x" ; then
28034 if test "$wxUSE_EXPAT" = "sys" ; then
28035 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28036 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28037 { (exit 1); exit 1; }; }
28039 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28040 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28041 wxUSE_EXPAT=builtin
28047 if test "$wxUSE_EXPAT" = "builtin" ; then
28048 subdirs="$subdirs src/expat"
28055 if test "$wxUSE_LIBMSPACK" != "no"; then
28056 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28057 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28058 if test "${ac_cv_header_mspack_h+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 cat >conftest.$ac_ext <<_ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28069 #include <mspack.h>
28071 rm -f conftest.$ac_objext
28072 if { (ac_try="$ac_compile"
28073 case "(($ac_try" in
28074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28075 *) ac_try_echo=$ac_try;;
28077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28078 (eval "$ac_compile") 2>conftest.er1
28080 grep -v '^ *+' conftest.er1 >conftest.err
28082 cat conftest.err >&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); } && {
28085 test -z "$ac_c_werror_flag" ||
28086 test ! -s conftest.err
28087 } && test -s conftest.$ac_objext; then
28088 ac_cv_header_mspack_h=yes
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28093 ac_cv_header_mspack_h=no
28096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28098 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28099 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28100 if test $ac_cv_header_mspack_h = yes; then
28105 if test "x$found_mspack_h" = "x1"; then
28106 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28107 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28108 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 ac_check_lib_save_LIBS=$LIBS
28112 LIBS="-lmspack $LIBS"
28113 cat >conftest.$ac_ext <<_ACEOF
28116 cat confdefs.h >>conftest.$ac_ext
28117 cat >>conftest.$ac_ext <<_ACEOF
28118 /* end confdefs.h. */
28120 /* Override any GCC internal prototype to avoid an error.
28121 Use char because int might match the return type of a GCC
28122 builtin and then its argument prototype would still apply. */
28126 char mspack_create_chm_decompressor ();
28130 return mspack_create_chm_decompressor ();
28135 rm -f conftest.$ac_objext conftest$ac_exeext
28136 if { (ac_try="$ac_link"
28137 case "(($ac_try" in
28138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28139 *) ac_try_echo=$ac_try;;
28141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28142 (eval "$ac_link") 2>conftest.er1
28144 grep -v '^ *+' conftest.er1 >conftest.err
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } && {
28149 test -z "$ac_c_werror_flag" ||
28150 test ! -s conftest.err
28151 } && test -s conftest$ac_exeext &&
28152 $as_test_x conftest$ac_exeext; then
28153 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28158 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28162 conftest$ac_exeext conftest.$ac_ext
28163 LIBS=$ac_check_lib_save_LIBS
28165 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28166 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28167 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28168 MSPACK_LINK=" -lmspack"
28172 if test "x$MSPACK_LINK" = "x" ; then
28177 if test "$wxUSE_LIBMSPACK" != "no"; then
28178 cat >>confdefs.h <<\_ACEOF
28179 #define wxUSE_LIBMSPACK 1
28193 if test "$USE_WIN32" = 1 ; then
28195 for ac_header in w32api.h
28197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28198 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28201 echo $ECHO_N "(cached) $ECHO_C" >&6
28203 cat >conftest.$ac_ext <<_ACEOF
28206 cat confdefs.h >>conftest.$ac_ext
28207 cat >>conftest.$ac_ext <<_ACEOF
28208 /* end confdefs.h. */
28211 #include <$ac_header>
28213 rm -f conftest.$ac_objext
28214 if { (ac_try="$ac_compile"
28215 case "(($ac_try" in
28216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28217 *) ac_try_echo=$ac_try;;
28219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28220 (eval "$ac_compile") 2>conftest.er1
28222 grep -v '^ *+' conftest.er1 >conftest.err
28224 cat conftest.err >&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } && {
28227 test -z "$ac_c_werror_flag" ||
28228 test ! -s conftest.err
28229 } && test -s conftest.$ac_objext; then
28230 eval "$as_ac_Header=yes"
28232 echo "$as_me: failed program was:" >&5
28233 sed 's/^/| /' conftest.$ac_ext >&5
28235 eval "$as_ac_Header=no"
28238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28240 ac_res=`eval echo '${'$as_ac_Header'}'`
28241 { echo "$as_me:$LINENO: result: $ac_res" >&5
28242 echo "${ECHO_T}$ac_res" >&6; }
28243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28244 cat >>confdefs.h <<_ACEOF
28245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28252 { echo "$as_me:$LINENO: checking for windows.h" >&5
28253 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28254 if test "${ac_cv_header_windows_h+set}" = set; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28257 cat >conftest.$ac_ext <<_ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28265 #include <windows.h>
28267 rm -f conftest.$ac_objext
28268 if { (ac_try="$ac_compile"
28269 case "(($ac_try" in
28270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28271 *) ac_try_echo=$ac_try;;
28273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28274 (eval "$ac_compile") 2>conftest.er1
28276 grep -v '^ *+' conftest.er1 >conftest.err
28278 cat conftest.err >&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); } && {
28281 test -z "$ac_c_werror_flag" ||
28282 test ! -s conftest.err
28283 } && test -s conftest.$ac_objext; then
28284 ac_cv_header_windows_h=yes
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.$ac_ext >&5
28289 ac_cv_header_windows_h=no
28292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28295 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28296 if test $ac_cv_header_windows_h = yes; then
28300 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28301 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28302 { (exit 1); exit 1; }; }
28309 x86_64-*-mingw32* )
28310 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28313 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28316 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28317 LIBS="$LIBS -loleacc"
28322 LIBS="$LIBS -lkernel32 -luser32"
28325 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28326 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28328 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28330 WIN32INSTALL=win32install
28332 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28333 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28334 if test "${ac_cv_header_pbt_h+set}" = set; then
28335 echo $ECHO_N "(cached) $ECHO_C" >&6
28337 cat >conftest.$ac_ext <<_ACEOF
28340 cat confdefs.h >>conftest.$ac_ext
28341 cat >>conftest.$ac_ext <<_ACEOF
28342 /* end confdefs.h. */
28347 rm -f conftest.$ac_objext
28348 if { (ac_try="$ac_compile"
28349 case "(($ac_try" in
28350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28351 *) ac_try_echo=$ac_try;;
28353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28354 (eval "$ac_compile") 2>conftest.er1
28356 grep -v '^ *+' conftest.er1 >conftest.err
28358 cat conftest.err >&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } && {
28361 test -z "$ac_c_werror_flag" ||
28362 test ! -s conftest.err
28363 } && test -s conftest.$ac_objext; then
28364 ac_cv_header_pbt_h=yes
28366 echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.$ac_ext >&5
28369 ac_cv_header_pbt_h=no
28372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28374 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28375 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28376 if test $ac_cv_header_pbt_h = yes; then
28379 cat >>confdefs.h <<\_ACEOF
28380 #define NEED_PBT_H 1
28388 if test "$wxUSE_GUI" = "yes"; then
28398 if test "$wxUSE_COCOA" = 1 ; then
28399 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28400 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28401 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28402 wxUSE_PRINTING_ARCHITECTURE=no
28404 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28405 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28406 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28407 wxUSE_DRAG_AND_DROP=no
28409 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28410 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28411 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28416 if test "$wxUSE_MSW" = 1 ; then
28422 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28426 if test "$wxUSE_GTK" = 1; then
28427 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28428 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28430 gtk_version_cached=1
28431 if test "${wx_cv_lib_gtk+set}" = set; then
28432 echo $ECHO_N "(cached) $ECHO_C" >&6
28435 gtk_version_cached=0
28436 { echo "$as_me:$LINENO: result: " >&5
28437 echo "${ECHO_T}" >&6; }
28440 if test "$wxUSE_THREADS" = "yes"; then
28441 GTK_MODULES=gthread
28445 if test "x$wxGTK_VERSION" != "x1"
28449 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28454 # Check whether --enable-gtktest was given.
28455 if test "${enable_gtktest+set}" = set; then
28456 enableval=$enable_gtktest;
28462 pkg_config_args=gtk+-2.0
28463 for module in . $GTK_MODULES
28467 pkg_config_args="$pkg_config_args gthread-2.0"
28474 # Extract the first word of "pkg-config", so it can be a program name with args.
28475 set dummy pkg-config; ac_word=$2
28476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28478 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28479 echo $ECHO_N "(cached) $ECHO_C" >&6
28481 case $PKG_CONFIG in
28483 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28487 for as_dir in $PATH
28490 test -z "$as_dir" && as_dir=.
28491 for ac_exec_ext in '' $ac_executable_extensions; do
28492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28493 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28501 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28505 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28506 if test -n "$PKG_CONFIG"; then
28507 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28508 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28510 { echo "$as_me:$LINENO: result: no" >&5
28511 echo "${ECHO_T}no" >&6; }
28516 if test x$PKG_CONFIG != xno ; then
28517 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28520 echo "*** pkg-config too old; version 0.7 or better required."
28528 min_gtk_version=2.4.0
28529 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28530 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28532 if test x$PKG_CONFIG != xno ; then
28533 ## don't try to run the test against uninstalled libtool libs
28534 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28535 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28539 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28546 if test x"$no_gtk" = x ; then
28547 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28548 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28549 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28551 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28553 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28555 if test "x$enable_gtktest" = "xyes" ; then
28556 ac_save_CFLAGS="$CFLAGS"
28557 ac_save_LIBS="$LIBS"
28558 CFLAGS="$CFLAGS $GTK_CFLAGS"
28559 LIBS="$GTK_LIBS $LIBS"
28561 if test "$cross_compiling" = yes; then
28562 echo $ac_n "cross compiling; assumed OK... $ac_c"
28564 cat >conftest.$ac_ext <<_ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28571 #include <gtk/gtk.h>
28573 #include <stdlib.h>
28578 int major, minor, micro;
28581 system ("touch conf.gtktest");
28583 /* HP/UX 9 (%@#!) writes to sscanf strings */
28584 tmp_version = g_strdup("$min_gtk_version");
28585 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28586 printf("%s, bad version string\n", "$min_gtk_version");
28590 if ((gtk_major_version != $gtk_config_major_version) ||
28591 (gtk_minor_version != $gtk_config_minor_version) ||
28592 (gtk_micro_version != $gtk_config_micro_version))
28594 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28595 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28596 gtk_major_version, gtk_minor_version, gtk_micro_version);
28597 printf ("*** was found! If pkg-config was correct, then it is best\n");
28598 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28599 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28600 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28601 printf("*** required on your system.\n");
28602 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28603 printf("*** to point to the correct configuration files\n");
28605 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28606 (gtk_minor_version != GTK_MINOR_VERSION) ||
28607 (gtk_micro_version != GTK_MICRO_VERSION))
28609 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28610 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28611 printf("*** library (version %d.%d.%d)\n",
28612 gtk_major_version, gtk_minor_version, gtk_micro_version);
28616 if ((gtk_major_version > major) ||
28617 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28618 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28624 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28625 gtk_major_version, gtk_minor_version, gtk_micro_version);
28626 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28627 major, minor, micro);
28628 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28630 printf("*** If you have already installed a sufficiently new version, this error\n");
28631 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28632 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28633 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28634 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28635 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28636 printf("*** so that the correct libraries are found at run-time))\n");
28643 rm -f conftest$ac_exeext
28644 if { (ac_try="$ac_link"
28645 case "(($ac_try" in
28646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28647 *) ac_try_echo=$ac_try;;
28649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28650 (eval "$ac_link") 2>&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28665 echo "$as_me: program exited with status $ac_status" >&5
28666 echo "$as_me: failed program was:" >&5
28667 sed 's/^/| /' conftest.$ac_ext >&5
28669 ( exit $ac_status )
28672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28676 CFLAGS="$ac_save_CFLAGS"
28677 LIBS="$ac_save_LIBS"
28680 if test "x$no_gtk" = x ; then
28681 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28682 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28685 { echo "$as_me:$LINENO: result: no" >&5
28686 echo "${ECHO_T}no" >&6; }
28687 if test "$PKG_CONFIG" = "no" ; then
28688 echo "*** A new enough version of pkg-config was not found."
28689 echo "*** See http://pkgconfig.sourceforge.net"
28691 if test -f conf.gtktest ; then
28694 echo "*** Could not run GTK+ test program, checking why..."
28695 ac_save_CFLAGS="$CFLAGS"
28696 ac_save_LIBS="$LIBS"
28697 CFLAGS="$CFLAGS $GTK_CFLAGS"
28698 LIBS="$LIBS $GTK_LIBS"
28699 cat >conftest.$ac_ext <<_ACEOF
28702 cat confdefs.h >>conftest.$ac_ext
28703 cat >>conftest.$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28706 #include <gtk/gtk.h>
28712 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28717 rm -f conftest.$ac_objext conftest$ac_exeext
28718 if { (ac_try="$ac_link"
28719 case "(($ac_try" in
28720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28721 *) ac_try_echo=$ac_try;;
28723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28724 (eval "$ac_link") 2>conftest.er1
28726 grep -v '^ *+' conftest.er1 >conftest.err
28728 cat conftest.err >&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); } && {
28731 test -z "$ac_c_werror_flag" ||
28732 test ! -s conftest.err
28733 } && test -s conftest$ac_exeext &&
28734 $as_test_x conftest$ac_exeext; then
28735 echo "*** The test program compiled, but did not run. This usually means"
28736 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28737 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28738 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28739 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28740 echo "*** is required on your system"
28742 echo "*** If you have an old version installed, it is best to remove it, although"
28743 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28745 echo "$as_me: failed program was:" >&5
28746 sed 's/^/| /' conftest.$ac_ext >&5
28748 echo "*** The test program failed to compile or link. See the file config.log for the"
28749 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28753 conftest$ac_exeext conftest.$ac_ext
28754 CFLAGS="$ac_save_CFLAGS"
28755 LIBS="$ac_save_LIBS"
28769 if test "$wxUSE_SHARED" != "yes"; then
28770 GTK_LIBS="$GTK_LIBS -lX11"
28775 if test -z "$wx_cv_lib_gtk"; then
28776 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28778 # Check whether --with-gtk-prefix was given.
28779 if test "${with_gtk_prefix+set}" = set; then
28780 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28782 gtk_config_prefix=""
28786 # Check whether --with-gtk-exec-prefix was given.
28787 if test "${with_gtk_exec_prefix+set}" = set; then
28788 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28790 gtk_config_exec_prefix=""
28793 # Check whether --enable-gtktest was given.
28794 if test "${enable_gtktest+set}" = set; then
28795 enableval=$enable_gtktest;
28801 for module in . $GTK_MODULES
28805 gtk_config_args="$gtk_config_args gthread"
28810 if test x$gtk_config_exec_prefix != x ; then
28811 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28812 if test x${GTK_CONFIG+set} != xset ; then
28813 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28816 if test x$gtk_config_prefix != x ; then
28817 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28818 if test x${GTK_CONFIG+set} != xset ; then
28819 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28823 # Extract the first word of "gtk-config", so it can be a program name with args.
28824 set dummy gtk-config; ac_word=$2
28825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28827 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28828 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 case $GTK_CONFIG in
28832 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28836 for as_dir in $PATH
28839 test -z "$as_dir" && as_dir=.
28840 for ac_exec_ext in '' $ac_executable_extensions; do
28841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28842 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28850 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28854 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28855 if test -n "$GTK_CONFIG"; then
28856 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28857 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28859 { echo "$as_me:$LINENO: result: no" >&5
28860 echo "${ECHO_T}no" >&6; }
28864 min_gtk_version=1.2.7
28865 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28866 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28868 if test "$GTK_CONFIG" = "no" ; then
28871 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28872 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28873 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28875 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28877 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28879 if test "x$enable_gtktest" = "xyes" ; then
28880 ac_save_CFLAGS="$CFLAGS"
28881 ac_save_LIBS="$LIBS"
28882 CFLAGS="$CFLAGS $GTK_CFLAGS"
28883 LIBS="$GTK_LIBS $LIBS"
28885 if test "$cross_compiling" = yes; then
28886 echo $ac_n "cross compiling; assumed OK... $ac_c"
28888 cat >conftest.$ac_ext <<_ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 #include <gtk/gtk.h>
28897 #include <stdlib.h>
28902 int major, minor, micro;
28905 system ("touch conf.gtktest");
28907 /* HP/UX 9 (%@#!) writes to sscanf strings */
28908 tmp_version = g_strdup("$min_gtk_version");
28909 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28910 printf("%s, bad version string\n", "$min_gtk_version");
28914 if ((gtk_major_version != $gtk_config_major_version) ||
28915 (gtk_minor_version != $gtk_config_minor_version) ||
28916 (gtk_micro_version != $gtk_config_micro_version))
28918 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28919 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28920 gtk_major_version, gtk_minor_version, gtk_micro_version);
28921 printf ("*** was found! If gtk-config was correct, then it is best\n");
28922 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28923 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28924 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28925 printf("*** required on your system.\n");
28926 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28927 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28928 printf("*** before re-running configure\n");
28930 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28931 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28932 (gtk_minor_version != GTK_MINOR_VERSION) ||
28933 (gtk_micro_version != GTK_MICRO_VERSION))
28935 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28936 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28937 printf("*** library (version %d.%d.%d)\n",
28938 gtk_major_version, gtk_minor_version, gtk_micro_version);
28940 #endif /* defined (GTK_MAJOR_VERSION) ... */
28943 if ((gtk_major_version > major) ||
28944 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28945 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28951 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28952 gtk_major_version, gtk_minor_version, gtk_micro_version);
28953 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28954 major, minor, micro);
28955 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28957 printf("*** If you have already installed a sufficiently new version, this error\n");
28958 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28959 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28960 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28961 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28962 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28963 printf("*** so that the correct libraries are found at run-time))\n");
28970 rm -f conftest$ac_exeext
28971 if { (ac_try="$ac_link"
28972 case "(($ac_try" in
28973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_link") 2>&5
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; }; then
28992 echo "$as_me: program exited with status $ac_status" >&5
28993 echo "$as_me: failed program was:" >&5
28994 sed 's/^/| /' conftest.$ac_ext >&5
28996 ( exit $ac_status )
28999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29003 CFLAGS="$ac_save_CFLAGS"
29004 LIBS="$ac_save_LIBS"
29007 if test "x$no_gtk" = x ; then
29008 { echo "$as_me:$LINENO: result: yes" >&5
29009 echo "${ECHO_T}yes" >&6; }
29010 wx_cv_lib_gtk=1.2.7
29012 { echo "$as_me:$LINENO: result: no" >&5
29013 echo "${ECHO_T}no" >&6; }
29014 if test "$GTK_CONFIG" = "no" ; then
29015 echo "*** The gtk-config script installed by GTK could not be found"
29016 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29017 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29018 echo "*** full path to gtk-config."
29020 if test -f conf.gtktest ; then
29023 echo "*** Could not run GTK test program, checking why..."
29024 CFLAGS="$CFLAGS $GTK_CFLAGS"
29025 LIBS="$LIBS $GTK_LIBS"
29026 cat >conftest.$ac_ext <<_ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29033 #include <gtk/gtk.h>
29039 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29044 rm -f conftest.$ac_objext conftest$ac_exeext
29045 if { (ac_try="$ac_link"
29046 case "(($ac_try" in
29047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29048 *) ac_try_echo=$ac_try;;
29050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29051 (eval "$ac_link") 2>conftest.er1
29053 grep -v '^ *+' conftest.er1 >conftest.err
29055 cat conftest.err >&5
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); } && {
29058 test -z "$ac_c_werror_flag" ||
29059 test ! -s conftest.err
29060 } && test -s conftest$ac_exeext &&
29061 $as_test_x conftest$ac_exeext; then
29062 echo "*** The test program compiled, but did not run. This usually means"
29063 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29064 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29065 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29066 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29067 echo "*** is required on your system"
29069 echo "*** If you have an old version installed, it is best to remove it, although"
29070 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29072 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29073 echo "*** came with the system with the command"
29075 echo "*** rpm --erase --nodeps gtk gtk-devel"
29077 echo "$as_me: failed program was:" >&5
29078 sed 's/^/| /' conftest.$ac_ext >&5
29080 echo "*** The test program failed to compile or link. See the file config.log for the"
29081 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29082 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29083 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29087 conftest$ac_exeext conftest.$ac_ext
29088 CFLAGS="$ac_save_CFLAGS"
29089 LIBS="$ac_save_LIBS"
29101 if test -z "$wx_cv_lib_gtk"; then
29103 # Check whether --with-gtk-prefix was given.
29104 if test "${with_gtk_prefix+set}" = set; then
29105 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29107 gtk_config_prefix=""
29111 # Check whether --with-gtk-exec-prefix was given.
29112 if test "${with_gtk_exec_prefix+set}" = set; then
29113 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29115 gtk_config_exec_prefix=""
29118 # Check whether --enable-gtktest was given.
29119 if test "${enable_gtktest+set}" = set; then
29120 enableval=$enable_gtktest;
29126 for module in . $GTK_MODULES
29130 gtk_config_args="$gtk_config_args gthread"
29135 if test x$gtk_config_exec_prefix != x ; then
29136 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29137 if test x${GTK_CONFIG+set} != xset ; then
29138 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29141 if test x$gtk_config_prefix != x ; then
29142 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29143 if test x${GTK_CONFIG+set} != xset ; then
29144 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29148 # Extract the first word of "gtk-config", so it can be a program name with args.
29149 set dummy gtk-config; ac_word=$2
29150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29152 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29153 echo $ECHO_N "(cached) $ECHO_C" >&6
29155 case $GTK_CONFIG in
29157 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29161 for as_dir in $PATH
29164 test -z "$as_dir" && as_dir=.
29165 for ac_exec_ext in '' $ac_executable_extensions; do
29166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29167 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29175 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29179 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29180 if test -n "$GTK_CONFIG"; then
29181 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29182 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29184 { echo "$as_me:$LINENO: result: no" >&5
29185 echo "${ECHO_T}no" >&6; }
29189 min_gtk_version=1.2.3
29190 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29191 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29193 if test "$GTK_CONFIG" = "no" ; then
29196 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29197 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29198 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29199 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29200 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29202 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29204 if test "x$enable_gtktest" = "xyes" ; then
29205 ac_save_CFLAGS="$CFLAGS"
29206 ac_save_LIBS="$LIBS"
29207 CFLAGS="$CFLAGS $GTK_CFLAGS"
29208 LIBS="$GTK_LIBS $LIBS"
29210 if test "$cross_compiling" = yes; then
29211 echo $ac_n "cross compiling; assumed OK... $ac_c"
29213 cat >conftest.$ac_ext <<_ACEOF
29216 cat confdefs.h >>conftest.$ac_ext
29217 cat >>conftest.$ac_ext <<_ACEOF
29218 /* end confdefs.h. */
29220 #include <gtk/gtk.h>
29222 #include <stdlib.h>
29227 int major, minor, micro;
29230 system ("touch conf.gtktest");
29232 /* HP/UX 9 (%@#!) writes to sscanf strings */
29233 tmp_version = g_strdup("$min_gtk_version");
29234 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29235 printf("%s, bad version string\n", "$min_gtk_version");
29239 if ((gtk_major_version != $gtk_config_major_version) ||
29240 (gtk_minor_version != $gtk_config_minor_version) ||
29241 (gtk_micro_version != $gtk_config_micro_version))
29243 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29244 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29245 gtk_major_version, gtk_minor_version, gtk_micro_version);
29246 printf ("*** was found! If gtk-config was correct, then it is best\n");
29247 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29248 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29249 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29250 printf("*** required on your system.\n");
29251 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29252 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29253 printf("*** before re-running configure\n");
29255 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29256 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29257 (gtk_minor_version != GTK_MINOR_VERSION) ||
29258 (gtk_micro_version != GTK_MICRO_VERSION))
29260 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29261 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29262 printf("*** library (version %d.%d.%d)\n",
29263 gtk_major_version, gtk_minor_version, gtk_micro_version);
29265 #endif /* defined (GTK_MAJOR_VERSION) ... */
29268 if ((gtk_major_version > major) ||
29269 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29270 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29276 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29277 gtk_major_version, gtk_minor_version, gtk_micro_version);
29278 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29279 major, minor, micro);
29280 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29282 printf("*** If you have already installed a sufficiently new version, this error\n");
29283 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29284 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29285 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29286 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29287 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29288 printf("*** so that the correct libraries are found at run-time))\n");
29295 rm -f conftest$ac_exeext
29296 if { (ac_try="$ac_link"
29297 case "(($ac_try" in
29298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29299 *) ac_try_echo=$ac_try;;
29301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29302 (eval "$ac_link") 2>&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); }; }; then
29317 echo "$as_me: program exited with status $ac_status" >&5
29318 echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.$ac_ext >&5
29321 ( exit $ac_status )
29324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29328 CFLAGS="$ac_save_CFLAGS"
29329 LIBS="$ac_save_LIBS"
29332 if test "x$no_gtk" = x ; then
29333 { echo "$as_me:$LINENO: result: yes" >&5
29334 echo "${ECHO_T}yes" >&6; }
29335 wx_cv_lib_gtk=1.2.3
29337 { echo "$as_me:$LINENO: result: no" >&5
29338 echo "${ECHO_T}no" >&6; }
29339 if test "$GTK_CONFIG" = "no" ; then
29340 echo "*** The gtk-config script installed by GTK could not be found"
29341 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29342 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29343 echo "*** full path to gtk-config."
29345 if test -f conf.gtktest ; then
29348 echo "*** Could not run GTK test program, checking why..."
29349 CFLAGS="$CFLAGS $GTK_CFLAGS"
29350 LIBS="$LIBS $GTK_LIBS"
29351 cat >conftest.$ac_ext <<_ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29358 #include <gtk/gtk.h>
29364 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29369 rm -f conftest.$ac_objext conftest$ac_exeext
29370 if { (ac_try="$ac_link"
29371 case "(($ac_try" in
29372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29373 *) ac_try_echo=$ac_try;;
29375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29376 (eval "$ac_link") 2>conftest.er1
29378 grep -v '^ *+' conftest.er1 >conftest.err
29380 cat conftest.err >&5
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); } && {
29383 test -z "$ac_c_werror_flag" ||
29384 test ! -s conftest.err
29385 } && test -s conftest$ac_exeext &&
29386 $as_test_x conftest$ac_exeext; then
29387 echo "*** The test program compiled, but did not run. This usually means"
29388 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29389 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29392 echo "*** is required on your system"
29394 echo "*** If you have an old version installed, it is best to remove it, although"
29395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29397 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29398 echo "*** came with the system with the command"
29400 echo "*** rpm --erase --nodeps gtk gtk-devel"
29402 echo "$as_me: failed program was:" >&5
29403 sed 's/^/| /' conftest.$ac_ext >&5
29405 echo "*** The test program failed to compile or link. See the file config.log for the"
29406 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29407 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29408 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29412 conftest$ac_exeext conftest.$ac_ext
29413 CFLAGS="$ac_save_CFLAGS"
29414 LIBS="$ac_save_LIBS"
29429 if test -z "$wx_cv_lib_gtk"; then
29432 wx_cv_cflags_gtk=$GTK_CFLAGS
29433 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29440 if test "$gtk_version_cached" = 1; then
29441 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29442 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29445 case "$wx_cv_lib_gtk" in
29454 *) { { echo "$as_me:$LINENO: error:
29455 The development files for GTK+ were not found. For GTK+ 2, please
29456 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29457 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29458 and that the version is 1.2.3 or above. Also check that the
29459 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29460 --libs' are in the LD_LIBRARY_PATH or equivalent.
29462 echo "$as_me: error:
29463 The development files for GTK+ were not found. For GTK+ 2, please
29464 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29465 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29466 and that the version is 1.2.3 or above. Also check that the
29467 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29468 --libs' are in the LD_LIBRARY_PATH or equivalent.
29470 { (exit 1); exit 1; }; }
29474 if test "$WXGTK2" = 1; then
29475 save_CFLAGS="$CFLAGS"
29477 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29478 LIBS="$LIBS $wx_cv_libs_gtk"
29480 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29481 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29482 cat >conftest.$ac_ext <<_ACEOF
29485 cat confdefs.h >>conftest.$ac_ext
29486 cat >>conftest.$ac_ext <<_ACEOF
29487 /* end confdefs.h. */
29489 #include <gtk/gtk.h>
29495 #if !GTK_CHECK_VERSION(2,10,0)
29503 rm -f conftest.$ac_objext
29504 if { (ac_try="$ac_compile"
29505 case "(($ac_try" in
29506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29507 *) ac_try_echo=$ac_try;;
29509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29510 (eval "$ac_compile") 2>conftest.er1
29512 grep -v '^ *+' conftest.er1 >conftest.err
29514 cat conftest.err >&5
29515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516 (exit $ac_status); } && {
29517 test -z "$ac_c_werror_flag" ||
29518 test ! -s conftest.err
29519 } && test -s conftest.$ac_objext; then
29521 cat >>confdefs.h <<\_ACEOF
29522 #define __WXGTK210__ 1
29525 cat >>confdefs.h <<\_ACEOF
29526 #define __WXGTK26__ 1
29529 { echo "$as_me:$LINENO: result: yes" >&5
29530 echo "${ECHO_T}yes" >&6; }
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29538 { echo "$as_me:$LINENO: result: no" >&5
29539 echo "${ECHO_T}no" >&6; }
29544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29546 if test "$ac_wxgtk210" = 0; then
29547 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29548 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29549 cat >conftest.$ac_ext <<_ACEOF
29552 cat confdefs.h >>conftest.$ac_ext
29553 cat >>conftest.$ac_ext <<_ACEOF
29554 /* end confdefs.h. */
29556 #include <gtk/gtk.h>
29562 #if !GTK_CHECK_VERSION(2,6,0)
29570 rm -f conftest.$ac_objext
29571 if { (ac_try="$ac_compile"
29572 case "(($ac_try" in
29573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29574 *) ac_try_echo=$ac_try;;
29576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29577 (eval "$ac_compile") 2>conftest.er1
29579 grep -v '^ *+' conftest.er1 >conftest.err
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } && {
29584 test -z "$ac_c_werror_flag" ||
29585 test ! -s conftest.err
29586 } && test -s conftest.$ac_objext; then
29588 cat >>confdefs.h <<\_ACEOF
29589 #define __WXGTK26__ 1
29592 { echo "$as_me:$LINENO: result: yes" >&5
29593 echo "${ECHO_T}yes" >&6; }
29597 echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29601 { echo "$as_me:$LINENO: result: no" >&5
29602 echo "${ECHO_T}no" >&6; }
29607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29610 CFLAGS="$save_CFLAGS"
29613 if test "$wxUSE_UNICODE" = "yes"; then
29614 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29615 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29619 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29620 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29621 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29622 echo $ECHO_N "(cached) $ECHO_C" >&6
29624 ac_check_lib_save_LIBS=$LIBS
29626 cat >conftest.$ac_ext <<_ACEOF
29629 cat confdefs.h >>conftest.$ac_ext
29630 cat >>conftest.$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29633 /* Override any GCC internal prototype to avoid an error.
29634 Use char because int might match the return type of a GCC
29635 builtin and then its argument prototype would still apply. */
29639 char gdk_im_open ();
29643 return gdk_im_open ();
29648 rm -f conftest.$ac_objext conftest$ac_exeext
29649 if { (ac_try="$ac_link"
29650 case "(($ac_try" in
29651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29652 *) ac_try_echo=$ac_try;;
29654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29655 (eval "$ac_link") 2>conftest.er1
29657 grep -v '^ *+' conftest.er1 >conftest.err
29659 cat conftest.err >&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); } && {
29662 test -z "$ac_c_werror_flag" ||
29663 test ! -s conftest.err
29664 } && test -s conftest$ac_exeext &&
29665 $as_test_x conftest$ac_exeext; then
29666 ac_cv_lib_gdk_gdk_im_open=yes
29668 echo "$as_me: failed program was:" >&5
29669 sed 's/^/| /' conftest.$ac_ext >&5
29671 ac_cv_lib_gdk_gdk_im_open=no
29674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29675 conftest$ac_exeext conftest.$ac_ext
29676 LIBS=$ac_check_lib_save_LIBS
29678 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29679 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29680 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29681 cat >>confdefs.h <<\_ACEOF
29688 if test "$USE_DARWIN" != 1; then
29690 for ac_func in poll
29692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29696 echo $ECHO_N "(cached) $ECHO_C" >&6
29698 cat >conftest.$ac_ext <<_ACEOF
29701 cat confdefs.h >>conftest.$ac_ext
29702 cat >>conftest.$ac_ext <<_ACEOF
29703 /* end confdefs.h. */
29704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29706 #define $ac_func innocuous_$ac_func
29708 /* System header to define __stub macros and hopefully few prototypes,
29709 which can conflict with char $ac_func (); below.
29710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29711 <limits.h> exists even on freestanding compilers. */
29714 # include <limits.h>
29716 # include <assert.h>
29721 /* Override any GCC internal prototype to avoid an error.
29722 Use char because int might match the return type of a GCC
29723 builtin and then its argument prototype would still apply. */
29728 /* The GNU C library defines this for functions which it implements
29729 to always fail with ENOSYS. Some functions are actually named
29730 something starting with __ and the normal name is an alias. */
29731 #if defined __stub_$ac_func || defined __stub___$ac_func
29738 return $ac_func ();
29743 rm -f conftest.$ac_objext conftest$ac_exeext
29744 if { (ac_try="$ac_link"
29745 case "(($ac_try" in
29746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29747 *) ac_try_echo=$ac_try;;
29749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29750 (eval "$ac_link") 2>conftest.er1
29752 grep -v '^ *+' conftest.er1 >conftest.err
29754 cat conftest.err >&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); } && {
29757 test -z "$ac_c_werror_flag" ||
29758 test ! -s conftest.err
29759 } && test -s conftest$ac_exeext &&
29760 $as_test_x conftest$ac_exeext; then
29761 eval "$as_ac_var=yes"
29763 echo "$as_me: failed program was:" >&5
29764 sed 's/^/| /' conftest.$ac_ext >&5
29766 eval "$as_ac_var=no"
29769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29770 conftest$ac_exeext conftest.$ac_ext
29772 ac_res=`eval echo '${'$as_ac_var'}'`
29773 { echo "$as_me:$LINENO: result: $ac_res" >&5
29774 echo "${ECHO_T}$ac_res" >&6; }
29775 if test `eval echo '${'$as_ac_var'}'` = yes; then
29776 cat >>confdefs.h <<_ACEOF
29777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29786 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29787 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29789 AFMINSTALL=afminstall
29793 if test "$wxUSE_GPE" = "yes"; then
29794 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29795 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29798 for ac_dir in $SEARCH_LIB;
29800 for ac_extension in a so sl dylib dll.a; do
29801 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29802 ac_find_libraries=$ac_dir
29808 if test "$ac_find_libraries" != "" ; then
29810 if test "$ac_find_libraries" = "default location"; then
29813 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29815 if test $result = 0; then
29818 ac_path_to_link=" -L$ac_find_libraries"
29822 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29824 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29825 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29827 { echo "$as_me:$LINENO: result: not found" >&5
29828 echo "${ECHO_T}not found" >&6; }
29834 if test "$wxUSE_MGL" = 1; then
29835 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29836 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29837 if test "x$MGL_ROOT" = x ; then
29838 { echo "$as_me:$LINENO: result: not found" >&5
29839 echo "${ECHO_T}not found" >&6; }
29840 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29841 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29842 { (exit 1); exit 1; }; }
29844 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29845 echo "${ECHO_T}$MGL_ROOT" >&6; }
29848 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29849 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29852 if test "x$wxUSE_SHARED" = xyes ; then
29853 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29855 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29859 mgl_os_candidates="dos32/dj2"
29862 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29863 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29864 { (exit 1); exit 1; }; }
29870 for mgl_os_i in $mgl_os_candidates ; do
29871 if test "x$mgl_os" = x ; then
29872 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29873 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29874 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29879 if test "x$mgl_lib_type" = x ; then
29880 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29881 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29882 mgl_lib_type=release
29889 if test "x$mgl_os" = x ; then
29890 { echo "$as_me:$LINENO: result: not found" >&5
29891 echo "${ECHO_T}not found" >&6; }
29892 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29893 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29894 { (exit 1); exit 1; }; }
29896 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29897 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29899 wxUSE_UNIVERSAL="yes"
29901 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29902 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29904 AFMINSTALL=afminstall
29909 if test "$wxUSE_DFB" = 1; then
29912 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29913 if test -n "$ac_tool_prefix"; then
29914 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29915 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29918 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29919 echo $ECHO_N "(cached) $ECHO_C" >&6
29921 case $PKG_CONFIG in
29923 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29927 for as_dir in $PATH
29930 test -z "$as_dir" && as_dir=.
29931 for ac_exec_ext in '' $ac_executable_extensions; do
29932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29933 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29944 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29945 if test -n "$PKG_CONFIG"; then
29946 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29947 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29949 { echo "$as_me:$LINENO: result: no" >&5
29950 echo "${ECHO_T}no" >&6; }
29955 if test -z "$ac_cv_path_PKG_CONFIG"; then
29956 ac_pt_PKG_CONFIG=$PKG_CONFIG
29957 # Extract the first word of "pkg-config", so it can be a program name with args.
29958 set dummy pkg-config; ac_word=$2
29959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29961 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29962 echo $ECHO_N "(cached) $ECHO_C" >&6
29964 case $ac_pt_PKG_CONFIG in
29966 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29970 for as_dir in $PATH
29973 test -z "$as_dir" && as_dir=.
29974 for ac_exec_ext in '' $ac_executable_extensions; do
29975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29976 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29987 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29988 if test -n "$ac_pt_PKG_CONFIG"; then
29989 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29990 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29992 { echo "$as_me:$LINENO: result: no" >&5
29993 echo "${ECHO_T}no" >&6; }
29996 if test "x$ac_pt_PKG_CONFIG" = x; then
29999 case $cross_compiling:$ac_tool_warned in
30001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30002 whose name does not start with the host triplet. If you think this
30003 configuration is useful to you, please write to autoconf@gnu.org." >&5
30004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30005 whose name does not start with the host triplet. If you think this
30006 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30007 ac_tool_warned=yes ;;
30009 PKG_CONFIG=$ac_pt_PKG_CONFIG
30012 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30016 if test -n "$PKG_CONFIG"; then
30017 _pkg_min_version=0.9.0
30018 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30019 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30020 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30021 { echo "$as_me:$LINENO: result: yes" >&5
30022 echo "${ECHO_T}yes" >&6; }
30024 { echo "$as_me:$LINENO: result: no" >&5
30025 echo "${ECHO_T}no" >&6; }
30033 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30034 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30036 if test -n "$PKG_CONFIG"; then
30037 if test -n "$DIRECTFB_CFLAGS"; then
30038 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30040 if test -n "$PKG_CONFIG" && \
30041 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30042 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); }; then
30046 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30054 if test -n "$PKG_CONFIG"; then
30055 if test -n "$DIRECTFB_LIBS"; then
30056 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30058 if test -n "$PKG_CONFIG" && \
30059 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30060 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); }; then
30064 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30075 if test $pkg_failed = yes; then
30077 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30078 _pkg_short_errors_supported=yes
30080 _pkg_short_errors_supported=no
30082 if test $_pkg_short_errors_supported = yes; then
30083 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30085 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30087 # Put the nasty error message in config.log where it belongs
30088 echo "$DIRECTFB_PKG_ERRORS" >&5
30091 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30092 echo "$as_me: error: DirectFB not found." >&2;}
30093 { (exit 1); exit 1; }; }
30096 elif test $pkg_failed = untried; then
30098 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30099 echo "$as_me: error: DirectFB not found." >&2;}
30100 { (exit 1); exit 1; }; }
30104 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30105 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30106 { echo "$as_me:$LINENO: result: yes" >&5
30107 echo "${ECHO_T}yes" >&6; }
30109 wxUSE_UNIVERSAL="yes"
30110 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30111 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30118 if test "$wxUSE_MICROWIN" = 1; then
30119 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30120 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30121 if test "x$MICROWINDOWS" = x ; then
30122 { echo "$as_me:$LINENO: result: not found" >&5
30123 echo "${ECHO_T}not found" >&6; }
30124 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30125 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30126 { (exit 1); exit 1; }; }
30128 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30129 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30132 if test -f $MICROWINDOWS/lib/libmwin.a; then
30133 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30134 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30136 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30137 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30138 { (exit 1); exit 1; }; }
30141 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30142 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30144 wxUSE_UNIVERSAL="yes"
30146 AFMINSTALL=afminstall
30148 GUIDIST=MICROWIN_DIST
30150 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30153 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30154 { echo "$as_me:$LINENO: checking for X" >&5
30155 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30158 # Check whether --with-x was given.
30159 if test "${with_x+set}" = set; then
30163 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30164 if test "x$with_x" = xno; then
30165 # The user explicitly disabled X.
30168 case $x_includes,$x_libraries in #(
30169 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30170 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30171 { (exit 1); exit 1; }; };; #(
30172 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30173 echo $ECHO_N "(cached) $ECHO_C" >&6
30175 # One or both of the vars are not set, and there is no cached value.
30176 ac_x_includes=no ac_x_libraries=no
30177 rm -f -r conftest.dir
30178 if mkdir conftest.dir; then
30180 cat >Imakefile <<'_ACEOF'
30182 @echo incroot='${INCROOT}'
30184 @echo usrlibdir='${USRLIBDIR}'
30186 @echo libdir='${LIBDIR}'
30188 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30190 for ac_var in incroot usrlibdir libdir; do
30191 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30193 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30194 for ac_extension in a so sl; do
30195 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30196 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30197 ac_im_usrlibdir=$ac_im_libdir; break
30200 # Screen out bogus values from the imake configuration. They are
30201 # bogus both because they are the default anyway, and because
30202 # using them would break gcc on systems where it needs fixed includes.
30203 case $ac_im_incroot in
30204 /usr/include) ac_x_includes= ;;
30205 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30207 case $ac_im_usrlibdir in
30208 /usr/lib | /lib) ;;
30209 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30213 rm -f -r conftest.dir
30216 # Standard set of common directories for X headers.
30217 # Check X11 before X11Rn because it is often a symlink to the current release.
30229 /usr/local/X11/include
30230 /usr/local/X11R6/include
30231 /usr/local/X11R5/include
30232 /usr/local/X11R4/include
30234 /usr/local/include/X11
30235 /usr/local/include/X11R6
30236 /usr/local/include/X11R5
30237 /usr/local/include/X11R4
30241 /usr/XFree86/include/X11
30245 /usr/unsupported/include
30246 /usr/athena/include
30247 /usr/local/x11r5/include
30248 /usr/lpp/Xamples/include
30250 /usr/openwin/include
30251 /usr/openwin/share/include'
30253 if test "$ac_x_includes" = no; then
30254 # Guess where to find include files, by looking for Xlib.h.
30255 # First, try using that file with no special directory specified.
30256 cat >conftest.$ac_ext <<_ACEOF
30259 cat confdefs.h >>conftest.$ac_ext
30260 cat >>conftest.$ac_ext <<_ACEOF
30261 /* end confdefs.h. */
30262 #include <X11/Xlib.h>
30264 if { (ac_try="$ac_cpp conftest.$ac_ext"
30265 case "(($ac_try" in
30266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30267 *) ac_try_echo=$ac_try;;
30269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30272 grep -v '^ *+' conftest.er1 >conftest.err
30274 cat conftest.err >&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); } >/dev/null && {
30277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30278 test ! -s conftest.err
30280 # We can compile using X headers with no special include directory.
30283 echo "$as_me: failed program was:" >&5
30284 sed 's/^/| /' conftest.$ac_ext >&5
30286 for ac_dir in $ac_x_header_dirs; do
30287 if test -r "$ac_dir/X11/Xlib.h"; then
30288 ac_x_includes=$ac_dir
30294 rm -f conftest.err conftest.$ac_ext
30295 fi # $ac_x_includes = no
30297 if test "$ac_x_libraries" = no; then
30298 # Check for the libraries.
30299 # See if we find them without any special options.
30300 # Don't add to $LIBS permanently.
30303 cat >conftest.$ac_ext <<_ACEOF
30306 cat confdefs.h >>conftest.$ac_ext
30307 cat >>conftest.$ac_ext <<_ACEOF
30308 /* end confdefs.h. */
30309 #include <X11/Xlib.h>
30318 rm -f conftest.$ac_objext conftest$ac_exeext
30319 if { (ac_try="$ac_link"
30320 case "(($ac_try" in
30321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30322 *) ac_try_echo=$ac_try;;
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325 (eval "$ac_link") 2>conftest.er1
30327 grep -v '^ *+' conftest.er1 >conftest.err
30329 cat conftest.err >&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } && {
30332 test -z "$ac_c_werror_flag" ||
30333 test ! -s conftest.err
30334 } && test -s conftest$ac_exeext &&
30335 $as_test_x conftest$ac_exeext; then
30337 # We can link X programs with no special library path.
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30344 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30346 # Don't even attempt the hair of trying to link an X program!
30347 for ac_extension in a so sl; do
30348 if test -r "$ac_dir/libX11.$ac_extension"; then
30349 ac_x_libraries=$ac_dir
30356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30357 conftest$ac_exeext conftest.$ac_ext
30358 fi # $ac_x_libraries = no
30360 case $ac_x_includes,$ac_x_libraries in #(
30361 no,* | *,no | *\'*)
30362 # Didn't find X, or a directory has "'" in its name.
30363 ac_cv_have_x="have_x=no";; #(
30365 # Record where we found X for the cache.
30366 ac_cv_have_x="have_x=yes\
30367 ac_x_includes='$ac_x_includes'\
30368 ac_x_libraries='$ac_x_libraries'"
30374 eval "$ac_cv_have_x"
30377 if test "$have_x" != yes; then
30378 { echo "$as_me:$LINENO: result: $have_x" >&5
30379 echo "${ECHO_T}$have_x" >&6; }
30382 # If each of the values was on the command line, it overrides each guess.
30383 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30384 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30385 # Update the cache value to reflect the command line values.
30386 ac_cv_have_x="have_x=yes\
30387 ac_x_includes='$x_includes'\
30388 ac_x_libraries='$x_libraries'"
30389 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30390 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30393 if test "$no_x" = yes; then
30394 # Not all programs may use this symbol, but it does not hurt to define it.
30396 cat >>confdefs.h <<\_ACEOF
30397 #define X_DISPLAY_MISSING 1
30400 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30402 if test -n "$x_includes"; then
30403 X_CFLAGS="$X_CFLAGS -I$x_includes"
30406 # It would also be nice to do this for all -L options, not just this one.
30407 if test -n "$x_libraries"; then
30408 X_LIBS="$X_LIBS -L$x_libraries"
30409 # For Solaris; some versions of Sun CC require a space after -R and
30410 # others require no space. Words are not sufficient . . . .
30411 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30412 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30413 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30414 ac_xsave_c_werror_flag=$ac_c_werror_flag
30415 ac_c_werror_flag=yes
30416 cat >conftest.$ac_ext <<_ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h. */
30431 rm -f conftest.$ac_objext conftest$ac_exeext
30432 if { (ac_try="$ac_link"
30433 case "(($ac_try" in
30434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30435 *) ac_try_echo=$ac_try;;
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438 (eval "$ac_link") 2>conftest.er1
30440 grep -v '^ *+' conftest.er1 >conftest.err
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } && {
30445 test -z "$ac_c_werror_flag" ||
30446 test ! -s conftest.err
30447 } && test -s conftest$ac_exeext &&
30448 $as_test_x conftest$ac_exeext; then
30449 { echo "$as_me:$LINENO: result: no" >&5
30450 echo "${ECHO_T}no" >&6; }
30451 X_LIBS="$X_LIBS -R$x_libraries"
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.$ac_ext >&5
30456 LIBS="$ac_xsave_LIBS -R $x_libraries"
30457 cat >conftest.$ac_ext <<_ACEOF
30460 cat confdefs.h >>conftest.$ac_ext
30461 cat >>conftest.$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30472 rm -f conftest.$ac_objext conftest$ac_exeext
30473 if { (ac_try="$ac_link"
30474 case "(($ac_try" in
30475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30476 *) ac_try_echo=$ac_try;;
30478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30479 (eval "$ac_link") 2>conftest.er1
30481 grep -v '^ *+' conftest.er1 >conftest.err
30483 cat conftest.err >&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); } && {
30486 test -z "$ac_c_werror_flag" ||
30487 test ! -s conftest.err
30488 } && test -s conftest$ac_exeext &&
30489 $as_test_x conftest$ac_exeext; then
30490 { echo "$as_me:$LINENO: result: yes" >&5
30491 echo "${ECHO_T}yes" >&6; }
30492 X_LIBS="$X_LIBS -R $x_libraries"
30494 echo "$as_me: failed program was:" >&5
30495 sed 's/^/| /' conftest.$ac_ext >&5
30497 { echo "$as_me:$LINENO: result: neither works" >&5
30498 echo "${ECHO_T}neither works" >&6; }
30501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30502 conftest$ac_exeext conftest.$ac_ext
30505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30506 conftest$ac_exeext conftest.$ac_ext
30507 ac_c_werror_flag=$ac_xsave_c_werror_flag
30508 LIBS=$ac_xsave_LIBS
30511 # Check for system-dependent libraries X programs must link with.
30512 # Do this before checking for the system-independent R6 libraries
30513 # (-lICE), since we may need -lsocket or whatever for X linking.
30515 if test "$ISC" = yes; then
30516 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30518 # Martyn Johnson says this is needed for Ultrix, if the X
30519 # libraries were built with DECnet support. And Karl Berry says
30520 # the Alpha needs dnet_stub (dnet does not exist).
30521 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30522 cat >conftest.$ac_ext <<_ACEOF
30525 cat confdefs.h >>conftest.$ac_ext
30526 cat >>conftest.$ac_ext <<_ACEOF
30527 /* end confdefs.h. */
30529 /* Override any GCC internal prototype to avoid an error.
30530 Use char because int might match the return type of a GCC
30531 builtin and then its argument prototype would still apply. */
30535 char XOpenDisplay ();
30539 return XOpenDisplay ();
30544 rm -f conftest.$ac_objext conftest$ac_exeext
30545 if { (ac_try="$ac_link"
30546 case "(($ac_try" in
30547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30548 *) ac_try_echo=$ac_try;;
30550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30551 (eval "$ac_link") 2>conftest.er1
30553 grep -v '^ *+' conftest.er1 >conftest.err
30555 cat conftest.err >&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } && {
30558 test -z "$ac_c_werror_flag" ||
30559 test ! -s conftest.err
30560 } && test -s conftest$ac_exeext &&
30561 $as_test_x conftest$ac_exeext; then
30564 echo "$as_me: failed program was:" >&5
30565 sed 's/^/| /' conftest.$ac_ext >&5
30567 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30568 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30569 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 ac_check_lib_save_LIBS=$LIBS
30573 LIBS="-ldnet $LIBS"
30574 cat >conftest.$ac_ext <<_ACEOF
30577 cat confdefs.h >>conftest.$ac_ext
30578 cat >>conftest.$ac_ext <<_ACEOF
30579 /* end confdefs.h. */
30581 /* Override any GCC internal prototype to avoid an error.
30582 Use char because int might match the return type of a GCC
30583 builtin and then its argument prototype would still apply. */
30591 return dnet_ntoa ();
30596 rm -f conftest.$ac_objext conftest$ac_exeext
30597 if { (ac_try="$ac_link"
30598 case "(($ac_try" in
30599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30600 *) ac_try_echo=$ac_try;;
30602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30603 (eval "$ac_link") 2>conftest.er1
30605 grep -v '^ *+' conftest.er1 >conftest.err
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } && {
30610 test -z "$ac_c_werror_flag" ||
30611 test ! -s conftest.err
30612 } && test -s conftest$ac_exeext &&
30613 $as_test_x conftest$ac_exeext; then
30614 ac_cv_lib_dnet_dnet_ntoa=yes
30616 echo "$as_me: failed program was:" >&5
30617 sed 's/^/| /' conftest.$ac_ext >&5
30619 ac_cv_lib_dnet_dnet_ntoa=no
30622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30623 conftest$ac_exeext conftest.$ac_ext
30624 LIBS=$ac_check_lib_save_LIBS
30626 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30627 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30628 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30629 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30632 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30633 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30634 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30635 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30636 echo $ECHO_N "(cached) $ECHO_C" >&6
30638 ac_check_lib_save_LIBS=$LIBS
30639 LIBS="-ldnet_stub $LIBS"
30640 cat >conftest.$ac_ext <<_ACEOF
30643 cat confdefs.h >>conftest.$ac_ext
30644 cat >>conftest.$ac_ext <<_ACEOF
30645 /* end confdefs.h. */
30647 /* Override any GCC internal prototype to avoid an error.
30648 Use char because int might match the return type of a GCC
30649 builtin and then its argument prototype would still apply. */
30657 return dnet_ntoa ();
30662 rm -f conftest.$ac_objext conftest$ac_exeext
30663 if { (ac_try="$ac_link"
30664 case "(($ac_try" in
30665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30666 *) ac_try_echo=$ac_try;;
30668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30669 (eval "$ac_link") 2>conftest.er1
30671 grep -v '^ *+' conftest.er1 >conftest.err
30673 cat conftest.err >&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } && {
30676 test -z "$ac_c_werror_flag" ||
30677 test ! -s conftest.err
30678 } && test -s conftest$ac_exeext &&
30679 $as_test_x conftest$ac_exeext; then
30680 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.$ac_ext >&5
30685 ac_cv_lib_dnet_stub_dnet_ntoa=no
30688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30689 conftest$ac_exeext conftest.$ac_ext
30690 LIBS=$ac_check_lib_save_LIBS
30692 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30693 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30694 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30695 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30702 conftest$ac_exeext conftest.$ac_ext
30703 LIBS="$ac_xsave_LIBS"
30705 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30706 # to get the SysV transport functions.
30707 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30709 # The nsl library prevents programs from opening the X display
30710 # on Irix 5.2, according to T.E. Dickey.
30711 # The functions gethostbyname, getservbyname, and inet_addr are
30712 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30713 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30714 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30715 if test "${ac_cv_func_gethostbyname+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30718 cat >conftest.$ac_ext <<_ACEOF
30721 cat confdefs.h >>conftest.$ac_ext
30722 cat >>conftest.$ac_ext <<_ACEOF
30723 /* end confdefs.h. */
30724 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30726 #define gethostbyname innocuous_gethostbyname
30728 /* System header to define __stub macros and hopefully few prototypes,
30729 which can conflict with char gethostbyname (); below.
30730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30731 <limits.h> exists even on freestanding compilers. */
30734 # include <limits.h>
30736 # include <assert.h>
30739 #undef gethostbyname
30741 /* Override any GCC internal prototype to avoid an error.
30742 Use char because int might match the return type of a GCC
30743 builtin and then its argument prototype would still apply. */
30747 char gethostbyname ();
30748 /* The GNU C library defines this for functions which it implements
30749 to always fail with ENOSYS. Some functions are actually named
30750 something starting with __ and the normal name is an alias. */
30751 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30758 return gethostbyname ();
30763 rm -f conftest.$ac_objext conftest$ac_exeext
30764 if { (ac_try="$ac_link"
30765 case "(($ac_try" in
30766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30767 *) ac_try_echo=$ac_try;;
30769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30770 (eval "$ac_link") 2>conftest.er1
30772 grep -v '^ *+' conftest.er1 >conftest.err
30774 cat conftest.err >&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); } && {
30777 test -z "$ac_c_werror_flag" ||
30778 test ! -s conftest.err
30779 } && test -s conftest$ac_exeext &&
30780 $as_test_x conftest$ac_exeext; then
30781 ac_cv_func_gethostbyname=yes
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.$ac_ext >&5
30786 ac_cv_func_gethostbyname=no
30789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30790 conftest$ac_exeext conftest.$ac_ext
30792 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30793 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30795 if test $ac_cv_func_gethostbyname = no; then
30796 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30797 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30798 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30799 echo $ECHO_N "(cached) $ECHO_C" >&6
30801 ac_check_lib_save_LIBS=$LIBS
30803 cat >conftest.$ac_ext <<_ACEOF
30806 cat confdefs.h >>conftest.$ac_ext
30807 cat >>conftest.$ac_ext <<_ACEOF
30808 /* end confdefs.h. */
30810 /* Override any GCC internal prototype to avoid an error.
30811 Use char because int might match the return type of a GCC
30812 builtin and then its argument prototype would still apply. */
30816 char gethostbyname ();
30820 return gethostbyname ();
30825 rm -f conftest.$ac_objext conftest$ac_exeext
30826 if { (ac_try="$ac_link"
30827 case "(($ac_try" in
30828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30829 *) ac_try_echo=$ac_try;;
30831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30832 (eval "$ac_link") 2>conftest.er1
30834 grep -v '^ *+' conftest.er1 >conftest.err
30836 cat conftest.err >&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); } && {
30839 test -z "$ac_c_werror_flag" ||
30840 test ! -s conftest.err
30841 } && test -s conftest$ac_exeext &&
30842 $as_test_x conftest$ac_exeext; then
30843 ac_cv_lib_nsl_gethostbyname=yes
30845 echo "$as_me: failed program was:" >&5
30846 sed 's/^/| /' conftest.$ac_ext >&5
30848 ac_cv_lib_nsl_gethostbyname=no
30851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30852 conftest$ac_exeext conftest.$ac_ext
30853 LIBS=$ac_check_lib_save_LIBS
30855 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30856 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30857 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30858 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30861 if test $ac_cv_lib_nsl_gethostbyname = no; then
30862 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30863 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30864 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30865 echo $ECHO_N "(cached) $ECHO_C" >&6
30867 ac_check_lib_save_LIBS=$LIBS
30869 cat >conftest.$ac_ext <<_ACEOF
30872 cat confdefs.h >>conftest.$ac_ext
30873 cat >>conftest.$ac_ext <<_ACEOF
30874 /* end confdefs.h. */
30876 /* Override any GCC internal prototype to avoid an error.
30877 Use char because int might match the return type of a GCC
30878 builtin and then its argument prototype would still apply. */
30882 char gethostbyname ();
30886 return gethostbyname ();
30891 rm -f conftest.$ac_objext conftest$ac_exeext
30892 if { (ac_try="$ac_link"
30893 case "(($ac_try" in
30894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895 *) ac_try_echo=$ac_try;;
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898 (eval "$ac_link") 2>conftest.er1
30900 grep -v '^ *+' conftest.er1 >conftest.err
30902 cat conftest.err >&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } && {
30905 test -z "$ac_c_werror_flag" ||
30906 test ! -s conftest.err
30907 } && test -s conftest$ac_exeext &&
30908 $as_test_x conftest$ac_exeext; then
30909 ac_cv_lib_bsd_gethostbyname=yes
30911 echo "$as_me: failed program was:" >&5
30912 sed 's/^/| /' conftest.$ac_ext >&5
30914 ac_cv_lib_bsd_gethostbyname=no
30917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30918 conftest$ac_exeext conftest.$ac_ext
30919 LIBS=$ac_check_lib_save_LIBS
30921 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30922 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30923 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30924 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30930 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30931 # socket/setsockopt and other routines are undefined under SCO ODT
30932 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30933 # on later versions), says Simon Leinen: it contains gethostby*
30934 # variants that don't use the name server (or something). -lsocket
30935 # must be given before -lnsl if both are needed. We assume that
30936 # if connect needs -lnsl, so does gethostbyname.
30937 { echo "$as_me:$LINENO: checking for connect" >&5
30938 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30939 if test "${ac_cv_func_connect+set}" = set; then
30940 echo $ECHO_N "(cached) $ECHO_C" >&6
30942 cat >conftest.$ac_ext <<_ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30950 #define connect innocuous_connect
30952 /* System header to define __stub macros and hopefully few prototypes,
30953 which can conflict with char connect (); below.
30954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30955 <limits.h> exists even on freestanding compilers. */
30958 # include <limits.h>
30960 # include <assert.h>
30965 /* Override any GCC internal prototype to avoid an error.
30966 Use char because int might match the return type of a GCC
30967 builtin and then its argument prototype would still apply. */
30972 /* The GNU C library defines this for functions which it implements
30973 to always fail with ENOSYS. Some functions are actually named
30974 something starting with __ and the normal name is an alias. */
30975 #if defined __stub_connect || defined __stub___connect
30987 rm -f conftest.$ac_objext conftest$ac_exeext
30988 if { (ac_try="$ac_link"
30989 case "(($ac_try" in
30990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30991 *) ac_try_echo=$ac_try;;
30993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30994 (eval "$ac_link") 2>conftest.er1
30996 grep -v '^ *+' conftest.er1 >conftest.err
30998 cat conftest.err >&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); } && {
31001 test -z "$ac_c_werror_flag" ||
31002 test ! -s conftest.err
31003 } && test -s conftest$ac_exeext &&
31004 $as_test_x conftest$ac_exeext; then
31005 ac_cv_func_connect=yes
31007 echo "$as_me: failed program was:" >&5
31008 sed 's/^/| /' conftest.$ac_ext >&5
31010 ac_cv_func_connect=no
31013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31014 conftest$ac_exeext conftest.$ac_ext
31016 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31017 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31019 if test $ac_cv_func_connect = no; then
31020 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31021 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31022 if test "${ac_cv_lib_socket_connect+set}" = set; then
31023 echo $ECHO_N "(cached) $ECHO_C" >&6
31025 ac_check_lib_save_LIBS=$LIBS
31026 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31027 cat >conftest.$ac_ext <<_ACEOF
31030 cat confdefs.h >>conftest.$ac_ext
31031 cat >>conftest.$ac_ext <<_ACEOF
31032 /* end confdefs.h. */
31034 /* Override any GCC internal prototype to avoid an error.
31035 Use char because int might match the return type of a GCC
31036 builtin and then its argument prototype would still apply. */
31049 rm -f conftest.$ac_objext conftest$ac_exeext
31050 if { (ac_try="$ac_link"
31051 case "(($ac_try" in
31052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31053 *) ac_try_echo=$ac_try;;
31055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31056 (eval "$ac_link") 2>conftest.er1
31058 grep -v '^ *+' conftest.er1 >conftest.err
31060 cat conftest.err >&5
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); } && {
31063 test -z "$ac_c_werror_flag" ||
31064 test ! -s conftest.err
31065 } && test -s conftest$ac_exeext &&
31066 $as_test_x conftest$ac_exeext; then
31067 ac_cv_lib_socket_connect=yes
31069 echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.$ac_ext >&5
31072 ac_cv_lib_socket_connect=no
31075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31076 conftest$ac_exeext conftest.$ac_ext
31077 LIBS=$ac_check_lib_save_LIBS
31079 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31080 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31081 if test $ac_cv_lib_socket_connect = yes; then
31082 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31087 # Guillermo Gomez says -lposix is necessary on A/UX.
31088 { echo "$as_me:$LINENO: checking for remove" >&5
31089 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31090 if test "${ac_cv_func_remove+set}" = set; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31093 cat >conftest.$ac_ext <<_ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31099 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31101 #define remove innocuous_remove
31103 /* System header to define __stub macros and hopefully few prototypes,
31104 which can conflict with char remove (); below.
31105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31106 <limits.h> exists even on freestanding compilers. */
31109 # include <limits.h>
31111 # include <assert.h>
31116 /* Override any GCC internal prototype to avoid an error.
31117 Use char because int might match the return type of a GCC
31118 builtin and then its argument prototype would still apply. */
31123 /* The GNU C library defines this for functions which it implements
31124 to always fail with ENOSYS. Some functions are actually named
31125 something starting with __ and the normal name is an alias. */
31126 #if defined __stub_remove || defined __stub___remove
31138 rm -f conftest.$ac_objext conftest$ac_exeext
31139 if { (ac_try="$ac_link"
31140 case "(($ac_try" in
31141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31142 *) ac_try_echo=$ac_try;;
31144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31145 (eval "$ac_link") 2>conftest.er1
31147 grep -v '^ *+' conftest.er1 >conftest.err
31149 cat conftest.err >&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); } && {
31152 test -z "$ac_c_werror_flag" ||
31153 test ! -s conftest.err
31154 } && test -s conftest$ac_exeext &&
31155 $as_test_x conftest$ac_exeext; then
31156 ac_cv_func_remove=yes
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.$ac_ext >&5
31161 ac_cv_func_remove=no
31164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31165 conftest$ac_exeext conftest.$ac_ext
31167 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31168 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31170 if test $ac_cv_func_remove = no; then
31171 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31172 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31173 if test "${ac_cv_lib_posix_remove+set}" = set; then
31174 echo $ECHO_N "(cached) $ECHO_C" >&6
31176 ac_check_lib_save_LIBS=$LIBS
31177 LIBS="-lposix $LIBS"
31178 cat >conftest.$ac_ext <<_ACEOF
31181 cat confdefs.h >>conftest.$ac_ext
31182 cat >>conftest.$ac_ext <<_ACEOF
31183 /* end confdefs.h. */
31185 /* Override any GCC internal prototype to avoid an error.
31186 Use char because int might match the return type of a GCC
31187 builtin and then its argument prototype would still apply. */
31200 rm -f conftest.$ac_objext conftest$ac_exeext
31201 if { (ac_try="$ac_link"
31202 case "(($ac_try" in
31203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31204 *) ac_try_echo=$ac_try;;
31206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31207 (eval "$ac_link") 2>conftest.er1
31209 grep -v '^ *+' conftest.er1 >conftest.err
31211 cat conftest.err >&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); } && {
31214 test -z "$ac_c_werror_flag" ||
31215 test ! -s conftest.err
31216 } && test -s conftest$ac_exeext &&
31217 $as_test_x conftest$ac_exeext; then
31218 ac_cv_lib_posix_remove=yes
31220 echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.$ac_ext >&5
31223 ac_cv_lib_posix_remove=no
31226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31227 conftest$ac_exeext conftest.$ac_ext
31228 LIBS=$ac_check_lib_save_LIBS
31230 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31231 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31232 if test $ac_cv_lib_posix_remove = yes; then
31233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31238 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31239 { echo "$as_me:$LINENO: checking for shmat" >&5
31240 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31241 if test "${ac_cv_func_shmat+set}" = set; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 cat >conftest.$ac_ext <<_ACEOF
31247 cat confdefs.h >>conftest.$ac_ext
31248 cat >>conftest.$ac_ext <<_ACEOF
31249 /* end confdefs.h. */
31250 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31252 #define shmat innocuous_shmat
31254 /* System header to define __stub macros and hopefully few prototypes,
31255 which can conflict with char shmat (); below.
31256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31257 <limits.h> exists even on freestanding compilers. */
31260 # include <limits.h>
31262 # include <assert.h>
31267 /* Override any GCC internal prototype to avoid an error.
31268 Use char because int might match the return type of a GCC
31269 builtin and then its argument prototype would still apply. */
31274 /* The GNU C library defines this for functions which it implements
31275 to always fail with ENOSYS. Some functions are actually named
31276 something starting with __ and the normal name is an alias. */
31277 #if defined __stub_shmat || defined __stub___shmat
31289 rm -f conftest.$ac_objext conftest$ac_exeext
31290 if { (ac_try="$ac_link"
31291 case "(($ac_try" in
31292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31293 *) ac_try_echo=$ac_try;;
31295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31296 (eval "$ac_link") 2>conftest.er1
31298 grep -v '^ *+' conftest.er1 >conftest.err
31300 cat conftest.err >&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } && {
31303 test -z "$ac_c_werror_flag" ||
31304 test ! -s conftest.err
31305 } && test -s conftest$ac_exeext &&
31306 $as_test_x conftest$ac_exeext; then
31307 ac_cv_func_shmat=yes
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31312 ac_cv_func_shmat=no
31315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31316 conftest$ac_exeext conftest.$ac_ext
31318 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31319 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31321 if test $ac_cv_func_shmat = no; then
31322 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31323 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31324 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31327 ac_check_lib_save_LIBS=$LIBS
31329 cat >conftest.$ac_ext <<_ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31336 /* Override any GCC internal prototype to avoid an error.
31337 Use char because int might match the return type of a GCC
31338 builtin and then its argument prototype would still apply. */
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (ac_try="$ac_link"
31353 case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355 *) ac_try_echo=$ac_try;;
31357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_link") 2>conftest.er1
31360 grep -v '^ *+' conftest.er1 >conftest.err
31362 cat conftest.err >&5
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); } && {
31365 test -z "$ac_c_werror_flag" ||
31366 test ! -s conftest.err
31367 } && test -s conftest$ac_exeext &&
31368 $as_test_x conftest$ac_exeext; then
31369 ac_cv_lib_ipc_shmat=yes
31371 echo "$as_me: failed program was:" >&5
31372 sed 's/^/| /' conftest.$ac_ext >&5
31374 ac_cv_lib_ipc_shmat=no
31377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31378 conftest$ac_exeext conftest.$ac_ext
31379 LIBS=$ac_check_lib_save_LIBS
31381 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31382 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31383 if test $ac_cv_lib_ipc_shmat = yes; then
31384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31390 # Check for libraries that X11R6 Xt/Xaw programs need.
31391 ac_save_LDFLAGS=$LDFLAGS
31392 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31393 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31394 # check for ICE first), but we must link in the order -lSM -lICE or
31395 # we get undefined symbols. So assume we have SM if we have ICE.
31396 # These have to be linked with before -lX11, unlike the other
31397 # libraries we check for below, so use a different variable.
31398 # John Interrante, Karl Berry
31399 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31400 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31401 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31402 echo $ECHO_N "(cached) $ECHO_C" >&6
31404 ac_check_lib_save_LIBS=$LIBS
31405 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31406 cat >conftest.$ac_ext <<_ACEOF
31409 cat confdefs.h >>conftest.$ac_ext
31410 cat >>conftest.$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31413 /* Override any GCC internal prototype to avoid an error.
31414 Use char because int might match the return type of a GCC
31415 builtin and then its argument prototype would still apply. */
31419 char IceConnectionNumber ();
31423 return IceConnectionNumber ();
31428 rm -f conftest.$ac_objext conftest$ac_exeext
31429 if { (ac_try="$ac_link"
31430 case "(($ac_try" in
31431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31432 *) ac_try_echo=$ac_try;;
31434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31435 (eval "$ac_link") 2>conftest.er1
31437 grep -v '^ *+' conftest.er1 >conftest.err
31439 cat conftest.err >&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } && {
31442 test -z "$ac_c_werror_flag" ||
31443 test ! -s conftest.err
31444 } && test -s conftest$ac_exeext &&
31445 $as_test_x conftest$ac_exeext; then
31446 ac_cv_lib_ICE_IceConnectionNumber=yes
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31451 ac_cv_lib_ICE_IceConnectionNumber=no
31454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31455 conftest$ac_exeext conftest.$ac_ext
31456 LIBS=$ac_check_lib_save_LIBS
31458 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31459 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31460 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31461 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31464 LDFLAGS=$ac_save_LDFLAGS
31469 if test "$no_x" = "yes"; then
31470 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31471 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31472 { (exit 1); exit 1; }; }
31475 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31476 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31477 AFMINSTALL=afminstall
31478 COMPILED_X_PROGRAM=0
31482 if test "$wxUSE_X11" = 1; then
31483 if test "$wxUSE_NANOX" = "yes"; then
31484 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31485 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31486 if test "x$MICROWIN" = x ; then
31487 { echo "$as_me:$LINENO: result: not found" >&5
31488 echo "${ECHO_T}not found" >&6; }
31489 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31490 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31491 { (exit 1); exit 1; }; }
31493 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31494 echo "${ECHO_T}$MICROWIN" >&6; }
31495 cat >>confdefs.h <<\_ACEOF
31496 #define wxUSE_NANOX 1
31502 if test "$wxUSE_UNICODE" = "yes"; then
31505 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31506 if test -n "$ac_tool_prefix"; then
31507 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31508 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31511 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31512 echo $ECHO_N "(cached) $ECHO_C" >&6
31514 case $PKG_CONFIG in
31516 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31520 for as_dir in $PATH
31523 test -z "$as_dir" && as_dir=.
31524 for ac_exec_ext in '' $ac_executable_extensions; do
31525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31526 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31537 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31538 if test -n "$PKG_CONFIG"; then
31539 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31540 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31542 { echo "$as_me:$LINENO: result: no" >&5
31543 echo "${ECHO_T}no" >&6; }
31548 if test -z "$ac_cv_path_PKG_CONFIG"; then
31549 ac_pt_PKG_CONFIG=$PKG_CONFIG
31550 # Extract the first word of "pkg-config", so it can be a program name with args.
31551 set dummy pkg-config; ac_word=$2
31552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31554 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31555 echo $ECHO_N "(cached) $ECHO_C" >&6
31557 case $ac_pt_PKG_CONFIG in
31559 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31563 for as_dir in $PATH
31566 test -z "$as_dir" && as_dir=.
31567 for ac_exec_ext in '' $ac_executable_extensions; do
31568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31569 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31580 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31581 if test -n "$ac_pt_PKG_CONFIG"; then
31582 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31583 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31585 { echo "$as_me:$LINENO: result: no" >&5
31586 echo "${ECHO_T}no" >&6; }
31589 if test "x$ac_pt_PKG_CONFIG" = x; then
31592 case $cross_compiling:$ac_tool_warned in
31594 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31595 whose name does not start with the host triplet. If you think this
31596 configuration is useful to you, please write to autoconf@gnu.org." >&5
31597 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31598 whose name does not start with the host triplet. If you think this
31599 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31600 ac_tool_warned=yes ;;
31602 PKG_CONFIG=$ac_pt_PKG_CONFIG
31605 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31609 if test -n "$PKG_CONFIG"; then
31610 _pkg_min_version=0.9.0
31611 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31612 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31613 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31614 { echo "$as_me:$LINENO: result: yes" >&5
31615 echo "${ECHO_T}yes" >&6; }
31617 { echo "$as_me:$LINENO: result: no" >&5
31618 echo "${ECHO_T}no" >&6; }
31626 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31627 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31629 if test -n "$PKG_CONFIG"; then
31630 if test -n "$PANGOX_CFLAGS"; then
31631 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31633 if test -n "$PKG_CONFIG" && \
31634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31635 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; then
31639 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31647 if test -n "$PKG_CONFIG"; then
31648 if test -n "$PANGOX_LIBS"; then
31649 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31651 if test -n "$PKG_CONFIG" && \
31652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31653 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); }; then
31657 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31668 if test $pkg_failed = yes; then
31670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31671 _pkg_short_errors_supported=yes
31673 _pkg_short_errors_supported=no
31675 if test $_pkg_short_errors_supported = yes; then
31676 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31678 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31680 # Put the nasty error message in config.log where it belongs
31681 echo "$PANGOX_PKG_ERRORS" >&5
31684 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31685 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31686 { (exit 1); exit 1; }; }
31689 elif test $pkg_failed = untried; then
31691 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31692 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31693 { (exit 1); exit 1; }; }
31697 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31698 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31699 { echo "$as_me:$LINENO: result: yes" >&5
31700 echo "${ECHO_T}yes" >&6; }
31702 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31703 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31704 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31709 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31710 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31712 if test -n "$PKG_CONFIG"; then
31713 if test -n "$PANGOFT2_CFLAGS"; then
31714 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31716 if test -n "$PKG_CONFIG" && \
31717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31718 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; then
31722 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31730 if test -n "$PKG_CONFIG"; then
31731 if test -n "$PANGOFT2_LIBS"; then
31732 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31734 if test -n "$PKG_CONFIG" && \
31735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31736 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; then
31740 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31751 if test $pkg_failed = yes; then
31753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31754 _pkg_short_errors_supported=yes
31756 _pkg_short_errors_supported=no
31758 if test $_pkg_short_errors_supported = yes; then
31759 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31761 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31763 # Put the nasty error message in config.log where it belongs
31764 echo "$PANGOFT2_PKG_ERRORS" >&5
31767 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31768 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31769 wxUSE_PRINTING_ARCHITECTURE="no"
31772 elif test $pkg_failed = untried; then
31774 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31775 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31776 wxUSE_PRINTING_ARCHITECTURE="no"
31780 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31781 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31782 { echo "$as_me:$LINENO: result: yes" >&5
31783 echo "${ECHO_T}yes" >&6; }
31785 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31786 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31787 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31792 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31793 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31795 if test -n "$PKG_CONFIG"; then
31796 if test -n "$PANGOXFT_CFLAGS"; then
31797 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31799 if test -n "$PKG_CONFIG" && \
31800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31801 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); }; then
31805 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31813 if test -n "$PKG_CONFIG"; then
31814 if test -n "$PANGOXFT_LIBS"; then
31815 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31817 if test -n "$PKG_CONFIG" && \
31818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31819 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; then
31823 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31834 if test $pkg_failed = yes; then
31836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31837 _pkg_short_errors_supported=yes
31839 _pkg_short_errors_supported=no
31841 if test $_pkg_short_errors_supported = yes; then
31842 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31844 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31846 # Put the nasty error message in config.log where it belongs
31847 echo "$PANGOXFT_PKG_ERRORS" >&5
31850 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31851 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31854 elif test $pkg_failed = untried; then
31856 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31857 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31861 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31862 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31863 { echo "$as_me:$LINENO: result: yes" >&5
31864 echo "${ECHO_T}yes" >&6; }
31866 cat >>confdefs.h <<\_ACEOF
31867 #define HAVE_PANGO_XFT 1
31870 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31871 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31876 LIBS="$LIBS $PANGOX_LIBS"
31878 for ac_func in pango_font_family_is_monospace
31880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
31886 cat >conftest.$ac_ext <<_ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31894 #define $ac_func innocuous_$ac_func
31896 /* System header to define __stub macros and hopefully few prototypes,
31897 which can conflict with char $ac_func (); below.
31898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31899 <limits.h> exists even on freestanding compilers. */
31902 # include <limits.h>
31904 # include <assert.h>
31909 /* Override any GCC internal prototype to avoid an error.
31910 Use char because int might match the return type of a GCC
31911 builtin and then its argument prototype would still apply. */
31916 /* The GNU C library defines this for functions which it implements
31917 to always fail with ENOSYS. Some functions are actually named
31918 something starting with __ and the normal name is an alias. */
31919 #if defined __stub_$ac_func || defined __stub___$ac_func
31926 return $ac_func ();
31931 rm -f conftest.$ac_objext conftest$ac_exeext
31932 if { (ac_try="$ac_link"
31933 case "(($ac_try" in
31934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31935 *) ac_try_echo=$ac_try;;
31937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31938 (eval "$ac_link") 2>conftest.er1
31940 grep -v '^ *+' conftest.er1 >conftest.err
31942 cat conftest.err >&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); } && {
31945 test -z "$ac_c_werror_flag" ||
31946 test ! -s conftest.err
31947 } && test -s conftest$ac_exeext &&
31948 $as_test_x conftest$ac_exeext; then
31949 eval "$as_ac_var=yes"
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31954 eval "$as_ac_var=no"
31957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31958 conftest$ac_exeext conftest.$ac_ext
31960 ac_res=`eval echo '${'$as_ac_var'}'`
31961 { echo "$as_me:$LINENO: result: $ac_res" >&5
31962 echo "${ECHO_T}$ac_res" >&6; }
31963 if test `eval echo '${'$as_ac_var'}'` = yes; then
31964 cat >>confdefs.h <<_ACEOF
31965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31974 wxUSE_UNIVERSAL="yes"
31976 if test "$wxUSE_NANOX" = "yes"; then
31977 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31978 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"
31979 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31988 if test "$wxUSE_MOTIF" = 1; then
31989 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31990 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31993 for ac_dir in $SEARCH_INCLUDE /usr/include;
31995 if test -f "$ac_dir/Xm/Xm.h"; then
31996 ac_find_includes=$ac_dir
32001 if test "$ac_find_includes" != "" ; then
32002 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32003 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32005 if test "x$ac_find_includes" = "x/usr/include"; then
32006 ac_path_to_include=""
32008 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32010 if test $result = 0; then
32011 ac_path_to_include=""
32013 ac_path_to_include=" -I$ac_find_includes"
32017 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32019 save_CFLAGS=$CFLAGS
32020 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32022 cat >conftest.$ac_ext <<_ACEOF
32025 cat confdefs.h >>conftest.$ac_ext
32026 cat >>conftest.$ac_ext <<_ACEOF
32027 /* end confdefs.h. */
32036 version = xmUseVersion;
32042 rm -f conftest.$ac_objext
32043 if { (ac_try="$ac_compile"
32044 case "(($ac_try" in
32045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32046 *) ac_try_echo=$ac_try;;
32048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32049 (eval "$ac_compile") 2>conftest.er1
32051 grep -v '^ *+' conftest.er1 >conftest.err
32053 cat conftest.err >&5
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); } && {
32056 test -z "$ac_c_werror_flag" ||
32057 test ! -s conftest.err
32058 } && test -s conftest.$ac_objext; then
32060 { echo "$as_me:$LINENO: result: found in default search path" >&5
32061 echo "${ECHO_T}found in default search path" >&6; }
32062 COMPILED_X_PROGRAM=1
32065 echo "$as_me: failed program was:" >&5
32066 sed 's/^/| /' conftest.$ac_ext >&5
32069 { echo "$as_me:$LINENO: result: no" >&5
32070 echo "${ECHO_T}no" >&6; }
32071 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32072 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32073 { (exit 1); exit 1; }; }
32078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32080 CFLAGS=$save_CFLAGS
32084 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32085 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32088 for ac_dir in $SEARCH_LIB;
32090 for ac_extension in a so sl dylib dll.a; do
32091 if test -f "$ac_dir/libXm.$ac_extension"; then
32092 ac_find_libraries=$ac_dir
32099 if test "x$ac_find_libraries" != "x" ; then
32100 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32101 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32104 if test "$ac_find_libraries" = "default location"; then
32107 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32109 if test $result = 0; then
32112 ac_path_to_link=" -L$ac_find_libraries"
32116 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32118 save_CFLAGS=$CFLAGS
32119 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32121 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32123 cat >conftest.$ac_ext <<_ACEOF
32126 cat confdefs.h >>conftest.$ac_ext
32127 cat >>conftest.$ac_ext <<_ACEOF
32128 /* end confdefs.h. */
32137 version = xmUseVersion;
32143 rm -f conftest.$ac_objext conftest$ac_exeext
32144 if { (ac_try="$ac_link"
32145 case "(($ac_try" in
32146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32147 *) ac_try_echo=$ac_try;;
32149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32150 (eval "$ac_link") 2>conftest.er1
32152 grep -v '^ *+' conftest.er1 >conftest.err
32154 cat conftest.err >&5
32155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156 (exit $ac_status); } && {
32157 test -z "$ac_c_werror_flag" ||
32158 test ! -s conftest.err
32159 } && test -s conftest$ac_exeext &&
32160 $as_test_x conftest$ac_exeext; then
32162 { echo "$as_me:$LINENO: result: found in default search path" >&5
32163 echo "${ECHO_T}found in default search path" >&6; }
32164 COMPILED_X_PROGRAM=1
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32171 { echo "$as_me:$LINENO: result: no" >&5
32172 echo "${ECHO_T}no" >&6; }
32173 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32174 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32175 { (exit 1); exit 1; }; }
32180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32181 conftest$ac_exeext conftest.$ac_ext
32183 CFLAGS=$save_CFLAGS
32187 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32188 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32192 for libp in "" " -lXp"; do
32193 if test "$libs_found" = 0; then
32194 for libsm_ice in "" " -lSM -lICE"; do
32195 if test "$libs_found" = 0; then
32197 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32198 save_CFLAGS=$CFLAGS
32199 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32201 cat >conftest.$ac_ext <<_ACEOF
32204 cat confdefs.h >>conftest.$ac_ext
32205 cat >>conftest.$ac_ext <<_ACEOF
32206 /* end confdefs.h. */
32209 #include <Xm/List.h>
32215 XmString string = NULL;
32218 XmListAddItem(w, string, position);
32224 rm -f conftest.$ac_objext conftest$ac_exeext
32225 if { (ac_try="$ac_link"
32226 case "(($ac_try" in
32227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32228 *) ac_try_echo=$ac_try;;
32230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32231 (eval "$ac_link") 2>conftest.er1
32233 grep -v '^ *+' conftest.er1 >conftest.err
32235 cat conftest.err >&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); } && {
32238 test -z "$ac_c_werror_flag" ||
32239 test ! -s conftest.err
32240 } && test -s conftest$ac_exeext &&
32241 $as_test_x conftest$ac_exeext; then
32244 libsm_ice_link="$libsm_ice"
32245 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32246 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32250 echo "$as_me: failed program was:" >&5
32251 sed 's/^/| /' conftest.$ac_ext >&5
32257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32258 conftest$ac_exeext conftest.$ac_ext
32261 CFLAGS=$save_CFLAGS
32267 if test "$libs_found" = 0; then
32268 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32269 echo "${ECHO_T}can't find the right libraries" >&6; }
32270 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32271 echo "$as_me: error: can't link a simple motif program" >&2;}
32272 { (exit 1); exit 1; }; }
32275 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32276 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32277 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32278 echo $ECHO_N "(cached) $ECHO_C" >&6
32280 ac_check_lib_save_LIBS=$LIBS
32282 cat >conftest.$ac_ext <<_ACEOF
32285 cat confdefs.h >>conftest.$ac_ext
32286 cat >>conftest.$ac_ext <<_ACEOF
32287 /* end confdefs.h. */
32289 /* Override any GCC internal prototype to avoid an error.
32290 Use char because int might match the return type of a GCC
32291 builtin and then its argument prototype would still apply. */
32295 char SgCreateList ();
32299 return SgCreateList ();
32304 rm -f conftest.$ac_objext conftest$ac_exeext
32305 if { (ac_try="$ac_link"
32306 case "(($ac_try" in
32307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32308 *) ac_try_echo=$ac_try;;
32310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32311 (eval "$ac_link") 2>conftest.er1
32313 grep -v '^ *+' conftest.er1 >conftest.err
32315 cat conftest.err >&5
32316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32317 (exit $ac_status); } && {
32318 test -z "$ac_c_werror_flag" ||
32319 test ! -s conftest.err
32320 } && test -s conftest$ac_exeext &&
32321 $as_test_x conftest$ac_exeext; then
32322 ac_cv_lib_Sgm_SgCreateList=yes
32324 echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.$ac_ext >&5
32327 ac_cv_lib_Sgm_SgCreateList=no
32330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32331 conftest$ac_exeext conftest.$ac_ext
32332 LIBS=$ac_check_lib_save_LIBS
32334 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32335 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32336 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32337 libsgm_link=" -lSgm"
32341 save_CFLAGS=$CFLAGS
32342 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32344 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32345 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32346 if test "${wx_cv_lib_motif2+set}" = set; then
32347 echo $ECHO_N "(cached) $ECHO_C" >&6
32349 cat >conftest.$ac_ext <<_ACEOF
32352 cat confdefs.h >>conftest.$ac_ext
32353 cat >>conftest.$ac_ext <<_ACEOF
32354 /* end confdefs.h. */
32362 #if XmVersion < 2000
32370 rm -f conftest.$ac_objext
32371 if { (ac_try="$ac_compile"
32372 case "(($ac_try" in
32373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32374 *) ac_try_echo=$ac_try;;
32376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32377 (eval "$ac_compile") 2>conftest.er1
32379 grep -v '^ *+' conftest.er1 >conftest.err
32381 cat conftest.err >&5
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); } && {
32384 test -z "$ac_c_werror_flag" ||
32385 test ! -s conftest.err
32386 } && test -s conftest.$ac_objext; then
32387 wx_cv_lib_motif2="yes"
32389 echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.$ac_ext >&5
32392 wx_cv_lib_motif2="no"
32395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32397 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32398 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32399 if test "$wx_cv_lib_motif2" = "yes"; then
32400 cat >>confdefs.h <<\_ACEOF
32401 #define __WXMOTIF20__ 1
32405 cat >>confdefs.h <<\_ACEOF
32406 #define __WXMOTIF20__ 0
32411 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32412 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32413 if test "${wx_cv_lib_lesstif+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32416 cat >conftest.$ac_ext <<_ACEOF
32419 cat confdefs.h >>conftest.$ac_ext
32420 cat >>conftest.$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32429 #if !defined(LesstifVersion) || LesstifVersion <= 0
32437 rm -f conftest.$ac_objext
32438 if { (ac_try="$ac_compile"
32439 case "(($ac_try" in
32440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32441 *) ac_try_echo=$ac_try;;
32443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32444 (eval "$ac_compile") 2>conftest.er1
32446 grep -v '^ *+' conftest.er1 >conftest.err
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } && {
32451 test -z "$ac_c_werror_flag" ||
32452 test ! -s conftest.err
32453 } && test -s conftest.$ac_objext; then
32454 wx_cv_lib_lesstif="yes"
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32459 wx_cv_lib_lesstif="no"
32462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32465 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32466 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32467 if test "$wx_cv_lib_lesstif" = "yes"; then
32468 cat >>confdefs.h <<\_ACEOF
32469 #define __WXLESSTIF__ 1
32473 cat >>confdefs.h <<\_ACEOF
32474 #define __WXLESSTIF__ 0
32479 CFLAGS=$save_CFLAGS
32481 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32486 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32487 if test "$wxUSE_LIBXPM" = "sys"; then
32488 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32489 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32492 for ac_dir in $SEARCH_LIB;
32494 for ac_extension in a so sl dylib dll.a; do
32495 if test -f "$ac_dir/libXpm.$ac_extension"; then
32496 ac_find_libraries=$ac_dir
32502 if test "$ac_find_libraries" != "" ; then
32504 if test "$ac_find_libraries" = "default location"; then
32507 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32509 if test $result = 0; then
32512 ac_path_to_link=" -L$ac_find_libraries"
32516 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32517 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32518 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32520 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32521 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32522 if test "${wx_cv_x11_xpm_h+set}" = set; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 save_CFLAGS=$CFLAGS
32527 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32529 cat >conftest.$ac_ext <<_ACEOF
32532 cat confdefs.h >>conftest.$ac_ext
32533 cat >>conftest.$ac_ext <<_ACEOF
32534 /* end confdefs.h. */
32536 #include <X11/xpm.h>
32543 version = XpmLibraryVersion();
32549 rm -f conftest.$ac_objext
32550 if { (ac_try="$ac_compile"
32551 case "(($ac_try" in
32552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32553 *) ac_try_echo=$ac_try;;
32555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32556 (eval "$ac_compile") 2>conftest.er1
32558 grep -v '^ *+' conftest.er1 >conftest.err
32560 cat conftest.err >&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } && {
32563 test -z "$ac_c_werror_flag" ||
32564 test ! -s conftest.err
32565 } && test -s conftest.$ac_objext; then
32566 wx_cv_x11_xpm_h=yes
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32577 CFLAGS=$save_CFLAGS
32581 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32582 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32584 if test $wx_cv_x11_xpm_h = "yes"; then
32585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32586 cat >>confdefs.h <<\_ACEOF
32587 #define wxHAVE_LIB_XPM 1
32591 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32592 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32598 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32599 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32600 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32603 ac_check_lib_save_LIBS=$LIBS
32604 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32605 cat >conftest.$ac_ext <<_ACEOF
32608 cat confdefs.h >>conftest.$ac_ext
32609 cat >>conftest.$ac_ext <<_ACEOF
32610 /* end confdefs.h. */
32612 /* Override any GCC internal prototype to avoid an error.
32613 Use char because int might match the return type of a GCC
32614 builtin and then its argument prototype would still apply. */
32618 char XShapeQueryExtension ();
32622 return XShapeQueryExtension ();
32627 rm -f conftest.$ac_objext conftest$ac_exeext
32628 if { (ac_try="$ac_link"
32629 case "(($ac_try" in
32630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32631 *) ac_try_echo=$ac_try;;
32633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32634 (eval "$ac_link") 2>conftest.er1
32636 grep -v '^ *+' conftest.er1 >conftest.err
32638 cat conftest.err >&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); } && {
32641 test -z "$ac_c_werror_flag" ||
32642 test ! -s conftest.err
32643 } && test -s conftest$ac_exeext &&
32644 $as_test_x conftest$ac_exeext; then
32645 ac_cv_lib_Xext_XShapeQueryExtension=yes
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32650 ac_cv_lib_Xext_XShapeQueryExtension=no
32653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32654 conftest$ac_exeext conftest.$ac_ext
32655 LIBS=$ac_check_lib_save_LIBS
32657 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32658 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32659 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32667 if test "$wxHAVE_XEXT_LIB" = 1; then
32668 save_CFLAGS="$CFLAGS"
32669 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32671 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32672 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32673 cat >conftest.$ac_ext <<_ACEOF
32676 cat confdefs.h >>conftest.$ac_ext
32677 cat >>conftest.$ac_ext <<_ACEOF
32678 /* end confdefs.h. */
32680 #include <X11/Xlib.h>
32681 #include <X11/extensions/shape.h>
32687 int dummy1, dummy2;
32688 XShapeQueryExtension((Display*)NULL,
32689 (int*)NULL, (int*)NULL);
32695 rm -f conftest.$ac_objext
32696 if { (ac_try="$ac_compile"
32697 case "(($ac_try" in
32698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32699 *) ac_try_echo=$ac_try;;
32701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32702 (eval "$ac_compile") 2>conftest.er1
32704 grep -v '^ *+' conftest.er1 >conftest.err
32706 cat conftest.err >&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); } && {
32709 test -z "$ac_c_werror_flag" ||
32710 test ! -s conftest.err
32711 } && test -s conftest.$ac_objext; then
32713 cat >>confdefs.h <<\_ACEOF
32714 #define HAVE_XSHAPE 1
32717 { echo "$as_me:$LINENO: result: found" >&5
32718 echo "${ECHO_T}found" >&6; }
32721 echo "$as_me: failed program was:" >&5
32722 sed 's/^/| /' conftest.$ac_ext >&5
32725 { echo "$as_me:$LINENO: result: not found" >&5
32726 echo "${ECHO_T}not found" >&6; }
32730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731 CFLAGS="$save_CFLAGS"
32736 if test "$wxUSE_OSX_CARBON" = 1; then
32737 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32738 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32739 if test "$GCC" = yes; then
32740 { echo "$as_me:$LINENO: result: gcc" >&5
32741 echo "${ECHO_T}gcc" >&6; }
32742 CPPFLAGS_PASCAL="-fpascal-strings"
32743 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32744 { echo "$as_me:$LINENO: result: xlc" >&5
32745 echo "${ECHO_T}xlc" >&6; }
32746 CPPFLAGS_PASCAL="-qmacpstr"
32748 { echo "$as_me:$LINENO: result: none" >&5
32749 echo "${ECHO_T}none" >&6; }
32752 if test "x$wxUSE_UNIX" = "xyes"; then
32753 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32755 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32759 GUIDIST=OSX_CARBON_DIST
32760 WXBASEPORT="_carbon"
32763 if test "$wxUSE_OSX_COCOA" = 1; then
32765 GUIDIST=OSX_COCOA_DIST
32768 if test "$wxUSE_COCOA" = 1; then
32773 if test "$wxUSE_PM" = 1; then
32776 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32777 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32778 if test "${wx_cv_spbcdata+set}" = set; then
32779 echo $ECHO_N "(cached) $ECHO_C" >&6
32782 cat >conftest.$ac_ext <<_ACEOF
32785 cat confdefs.h >>conftest.$ac_ext
32786 cat >>conftest.$ac_ext <<_ACEOF
32787 /* end confdefs.h. */
32802 rm -f conftest.$ac_objext
32803 if { (ac_try="$ac_compile"
32804 case "(($ac_try" in
32805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32806 *) ac_try_echo=$ac_try;;
32808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32809 (eval "$ac_compile") 2>conftest.er1
32811 grep -v '^ *+' conftest.er1 >conftest.err
32813 cat conftest.err >&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); } && {
32816 test -z "$ac_c_werror_flag" ||
32817 test ! -s conftest.err
32818 } && test -s conftest.$ac_objext; then
32821 echo "$as_me: failed program was:" >&5
32822 sed 's/^/| /' conftest.$ac_ext >&5
32828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32832 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32833 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32835 if test $wx_cv_spbcdata = "yes"; then
32836 cat >>confdefs.h <<\_ACEOF
32837 #define HAVE_SPBCDATA 1
32843 if test "$TOOLKIT" = "PM" ; then
32846 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32849 if test "$wxUSE_UNIVERSAL" = "yes"; then
32850 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32854 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32855 DISTDIR="wx\$(TOOLKIT)"
32861 if test "$USE_WIN32" = 1 ; then
32865 GUIDIST="BASE_DIST"
32871 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32872 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32873 wxUSE_UNICODE_UTF8=yes
32874 elif test "$USE_OS2" = 1 ; then
32875 wxUSE_UNICODE_UTF8=yes
32877 wxUSE_UNICODE_UTF8=no
32882 if test "$wxUSE_GUI" = "yes"; then
32883 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32885 for ac_header in X11/Xlib.h
32887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32891 echo $ECHO_N "(cached) $ECHO_C" >&6
32893 cat >conftest.$ac_ext <<_ACEOF
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h. */
32901 #include <$ac_header>
32903 rm -f conftest.$ac_objext
32904 if { (ac_try="$ac_compile"
32905 case "(($ac_try" in
32906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32907 *) ac_try_echo=$ac_try;;
32909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32910 (eval "$ac_compile") 2>conftest.er1
32912 grep -v '^ *+' conftest.er1 >conftest.err
32914 cat conftest.err >&5
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); } && {
32917 test -z "$ac_c_werror_flag" ||
32918 test ! -s conftest.err
32919 } && test -s conftest.$ac_objext; then
32920 eval "$as_ac_Header=yes"
32922 echo "$as_me: failed program was:" >&5
32923 sed 's/^/| /' conftest.$ac_ext >&5
32925 eval "$as_ac_Header=no"
32928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32930 ac_res=`eval echo '${'$as_ac_Header'}'`
32931 { echo "$as_me:$LINENO: result: $ac_res" >&5
32932 echo "${ECHO_T}$ac_res" >&6; }
32933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32934 cat >>confdefs.h <<_ACEOF
32935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32943 for ac_header in X11/XKBlib.h
32945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32946 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32951 cat >conftest.$ac_ext <<_ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32958 #if HAVE_X11_XLIB_H
32959 #include <X11/Xlib.h>
32963 #include <$ac_header>
32965 rm -f conftest.$ac_objext
32966 if { (ac_try="$ac_compile"
32967 case "(($ac_try" in
32968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32969 *) ac_try_echo=$ac_try;;
32971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32972 (eval "$ac_compile") 2>conftest.er1
32974 grep -v '^ *+' conftest.er1 >conftest.err
32976 cat conftest.err >&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); } && {
32979 test -z "$ac_c_werror_flag" ||
32980 test ! -s conftest.err
32981 } && test -s conftest.$ac_objext; then
32982 eval "$as_ac_Header=yes"
32984 echo "$as_me: failed program was:" >&5
32985 sed 's/^/| /' conftest.$ac_ext >&5
32987 eval "$as_ac_Header=no"
32990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32992 ac_res=`eval echo '${'$as_ac_Header'}'`
32993 { echo "$as_me:$LINENO: result: $ac_res" >&5
32994 echo "${ECHO_T}$ac_res" >&6; }
32995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32996 cat >>confdefs.h <<_ACEOF
32997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33009 if test "$wxUSE_DISPLAY" = "yes"; then
33010 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33011 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33012 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33015 for ac_dir in $SEARCH_LIB;
33017 for ac_extension in a so sl dylib dll.a; do
33018 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33019 ac_find_libraries=$ac_dir
33025 if test "$ac_find_libraries" != "" ; then
33027 if test "$ac_find_libraries" = "default location"; then
33030 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33032 if test $result = 0; then
33035 ac_path_to_link=" -L$ac_find_libraries"
33039 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33040 LDFLAGS="$LDFLAGS $ac_path_to_link"
33042 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33043 { echo "$as_me:$LINENO: result: yes" >&5
33044 echo "${ECHO_T}yes" >&6; }
33046 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33047 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33050 for ac_dir in $SEARCH_LIB;
33052 for ac_extension in a so sl dylib dll.a; do
33053 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33054 ac_find_libraries=$ac_dir
33060 if test "$ac_find_libraries" != "" ; then
33061 { echo "$as_me:$LINENO: result: yes" >&5
33062 echo "${ECHO_T}yes" >&6; }
33064 for ac_header in X11/extensions/xf86vmode.h
33066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33070 echo $ECHO_N "(cached) $ECHO_C" >&6
33072 cat >conftest.$ac_ext <<_ACEOF
33075 cat confdefs.h >>conftest.$ac_ext
33076 cat >>conftest.$ac_ext <<_ACEOF
33077 /* end confdefs.h. */
33079 #if HAVE_X11_XLIB_H
33080 #include <X11/Xlib.h>
33084 #include <$ac_header>
33086 rm -f conftest.$ac_objext
33087 if { (ac_try="$ac_compile"
33088 case "(($ac_try" in
33089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33090 *) ac_try_echo=$ac_try;;
33092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33093 (eval "$ac_compile") 2>conftest.er1
33095 grep -v '^ *+' conftest.er1 >conftest.err
33097 cat conftest.err >&5
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); } && {
33100 test -z "$ac_c_werror_flag" ||
33101 test ! -s conftest.err
33102 } && test -s conftest.$ac_objext; then
33103 eval "$as_ac_Header=yes"
33105 echo "$as_me: failed program was:" >&5
33106 sed 's/^/| /' conftest.$ac_ext >&5
33108 eval "$as_ac_Header=no"
33111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113 ac_res=`eval echo '${'$as_ac_Header'}'`
33114 { echo "$as_me:$LINENO: result: $ac_res" >&5
33115 echo "${ECHO_T}$ac_res" >&6; }
33116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33117 cat >>confdefs.h <<_ACEOF
33118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33121 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33128 { echo "$as_me:$LINENO: result: no" >&5
33129 echo "${ECHO_T}no" >&6; }
33133 { echo "$as_me:$LINENO: result: no" >&5
33134 echo "${ECHO_T}no" >&6; }
33135 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33136 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33139 elif test "$wxUSE_MSW" = 1; then
33140 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33141 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33142 if test "${ac_cv_header_ddraw_h+set}" = set; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 cat >conftest.$ac_ext <<_ACEOF
33148 cat confdefs.h >>conftest.$ac_ext
33149 cat >>conftest.$ac_ext <<_ACEOF
33150 /* end confdefs.h. */
33151 #include <windows.h>
33155 rm -f conftest.$ac_objext
33156 if { (ac_try="$ac_compile"
33157 case "(($ac_try" in
33158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33159 *) ac_try_echo=$ac_try;;
33161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33162 (eval "$ac_compile") 2>conftest.er1
33164 grep -v '^ *+' conftest.er1 >conftest.err
33166 cat conftest.err >&5
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); } && {
33169 test -z "$ac_c_werror_flag" ||
33170 test ! -s conftest.err
33171 } && test -s conftest.$ac_objext; then
33172 ac_cv_header_ddraw_h=yes
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33177 ac_cv_header_ddraw_h=no
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33182 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33183 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33189 if test "$wxUSE_DETECT_SM" = "yes"; then
33190 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33191 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33192 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33195 for ac_dir in $SEARCH_LIB;
33197 for ac_extension in a so sl dylib dll.a; do
33198 if test -f "$ac_dir/libSM.$ac_extension"; then
33199 ac_find_libraries=$ac_dir
33205 if test "$ac_find_libraries" != "" ; then
33207 if test "$ac_find_libraries" = "default location"; then
33210 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33212 if test $result = 0; then
33215 ac_path_to_link=" -L$ac_find_libraries"
33219 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33220 LDFLAGS="$LDFLAGS $ac_path_to_link"
33222 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33223 { echo "$as_me:$LINENO: result: yes" >&5
33224 echo "${ECHO_T}yes" >&6; }
33226 { echo "$as_me:$LINENO: result: no" >&5
33227 echo "${ECHO_T}no" >&6; }
33228 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33229 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33230 wxUSE_DETECT_SM="no"
33233 wxUSE_DETECT_SM="no"
33240 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33243 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33244 OPENGL_LIBS="-framework OpenGL -framework AGL"
33245 elif test "$wxUSE_MSW" = 1; then
33246 OPENGL_LIBS="-lopengl32 -lglu32"
33247 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33249 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33250 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33253 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33255 if test -f "$ac_dir/GL/gl.h"; then
33256 ac_find_includes=$ac_dir
33261 if test "$ac_find_includes" != "" ; then
33262 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33263 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33265 if test "x$ac_find_includes" = "x/usr/include"; then
33266 ac_path_to_include=""
33268 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33270 if test $result = 0; then
33271 ac_path_to_include=""
33273 ac_path_to_include=" -I$ac_find_includes"
33277 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33279 { echo "$as_me:$LINENO: result: not found" >&5
33280 echo "${ECHO_T}not found" >&6; }
33283 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33284 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33285 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33286 echo $ECHO_N "(cached) $ECHO_C" >&6
33288 cat >conftest.$ac_ext <<_ACEOF
33291 cat confdefs.h >>conftest.$ac_ext
33292 cat >>conftest.$ac_ext <<_ACEOF
33293 /* end confdefs.h. */
33298 rm -f conftest.$ac_objext
33299 if { (ac_try="$ac_compile"
33300 case "(($ac_try" in
33301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33302 *) ac_try_echo=$ac_try;;
33304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33305 (eval "$ac_compile") 2>conftest.er1
33307 grep -v '^ *+' conftest.er1 >conftest.err
33309 cat conftest.err >&5
33310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311 (exit $ac_status); } && {
33312 test -z "$ac_c_werror_flag" ||
33313 test ! -s conftest.err
33314 } && test -s conftest.$ac_objext; then
33315 ac_cv_header_GL_gl_h=yes
33317 echo "$as_me: failed program was:" >&5
33318 sed 's/^/| /' conftest.$ac_ext >&5
33320 ac_cv_header_GL_gl_h=no
33323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33325 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33326 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33327 if test $ac_cv_header_GL_gl_h = yes; then
33329 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33330 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33331 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33332 echo $ECHO_N "(cached) $ECHO_C" >&6
33334 cat >conftest.$ac_ext <<_ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33342 #include <GL/glu.h>
33344 rm -f conftest.$ac_objext
33345 if { (ac_try="$ac_compile"
33346 case "(($ac_try" in
33347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33348 *) ac_try_echo=$ac_try;;
33350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33351 (eval "$ac_compile") 2>conftest.er1
33353 grep -v '^ *+' conftest.er1 >conftest.err
33355 cat conftest.err >&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } && {
33358 test -z "$ac_c_werror_flag" ||
33359 test ! -s conftest.err
33360 } && test -s conftest.$ac_objext; then
33361 ac_cv_header_GL_glu_h=yes
33363 echo "$as_me: failed program was:" >&5
33364 sed 's/^/| /' conftest.$ac_ext >&5
33366 ac_cv_header_GL_glu_h=no
33369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33371 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33372 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33373 if test $ac_cv_header_GL_glu_h = yes; then
33377 { echo "$as_me:$LINENO: checking for -lGL" >&5
33378 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33381 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33383 for ac_extension in a so sl dylib dll.a; do
33384 if test -f "$ac_dir/libGL.$ac_extension"; then
33385 ac_find_libraries=$ac_dir
33391 if test "$ac_find_libraries" != "" ; then
33392 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33393 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33396 if test "$ac_find_libraries" = "default location"; then
33399 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33401 if test $result = 0; then
33404 ac_path_to_link=" -L$ac_find_libraries"
33408 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33409 LDFLAGS_GL="$ac_path_to_link"
33412 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33413 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33416 for ac_dir in $SEARCH_LIB;
33418 for ac_extension in a so sl dylib dll.a; do
33419 if test -f "$ac_dir/libGLU.$ac_extension"; then
33420 ac_find_libraries=$ac_dir
33426 if test "$ac_find_libraries" != "" ; then
33428 if test "$ac_find_libraries" = "default location"; then
33431 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33433 if test $result = 0; then
33436 ac_path_to_link=" -L$ac_find_libraries"
33440 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33441 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33442 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33446 OPENGL_LIBS="-lGL -lGLU"
33447 { echo "$as_me:$LINENO: result: yes" >&5
33448 echo "${ECHO_T}yes" >&6; }
33450 { echo "$as_me:$LINENO: result: no" >&5
33451 echo "${ECHO_T}no" >&6; }
33454 { echo "$as_me:$LINENO: result: no" >&5
33455 echo "${ECHO_T}no" >&6; }
33458 if test "$found_gl" != 1; then
33459 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33460 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33463 for ac_dir in $SEARCH_LIB;
33465 for ac_extension in a so sl dylib dll.a; do
33466 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33467 ac_find_libraries=$ac_dir
33473 if test "$ac_find_libraries" != "" ; then
33475 if test "$ac_find_libraries" = "default location"; then
33478 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33480 if test $result = 0; then
33483 ac_path_to_link=" -L$ac_find_libraries"
33487 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33488 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33489 { echo "$as_me:$LINENO: result: yes" >&5
33490 echo "${ECHO_T}yes" >&6; }
33492 { echo "$as_me:$LINENO: result: no" >&5
33493 echo "${ECHO_T}no" >&6; }
33505 if test "x$OPENGL_LIBS" = "x"; then
33506 if test "$wxUSE_OPENGL" = "yes"; then
33507 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33508 echo "$as_me: error: OpenGL libraries not available" >&2;}
33509 { (exit 1); exit 1; }; }
33511 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33512 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33518 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33519 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33523 if test "$wxUSE_OPENGL" = "auto"; then
33527 if test "$wxUSE_OPENGL" = "yes"; then
33529 cat >>confdefs.h <<\_ACEOF
33530 #define wxUSE_OPENGL 1
33533 cat >>confdefs.h <<\_ACEOF
33534 #define wxUSE_GLCANVAS 1
33537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33542 if test -n "$TOOLKIT" ; then
33543 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33548 if test "$wxUSE_SHARED" = "yes"; then
33552 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33553 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33558 if test "$wxUSE_SHARED" = "yes"; then
33562 *-*-cygwin* | *-*-mingw* )
33563 wx_cv_version_script=no
33567 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33568 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33569 if test "${wx_cv_version_script+set}" = set; then
33570 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 echo "VER_1 { *; };" >conftest.sym
33574 echo "int main() { return 0; }" >conftest.cpp
33577 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33578 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } ; then
33584 if test -s conftest.stderr ; then
33585 wx_cv_version_script=no
33587 wx_cv_version_script=yes
33590 wx_cv_version_script=no
33593 if test $wx_cv_version_script = yes
33595 echo "struct B { virtual ~B() { } }; \
33596 struct D : public B { }; \
33597 void F() { D d; }" > conftest.cpp
33600 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33601 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33603 (eval $ac_try) 2>&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); }; } &&
33608 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33609 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33611 (eval $ac_try) 2>&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); }; }
33617 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33618 -Wl,--version-script,conftest.sym conftest2.output 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); }; }
33625 wx_cv_version_script=yes
33627 wx_cv_version_script=no
33632 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33633 rm -f conftest1.output conftest2.output conftest3.output
33636 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33637 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33639 if test $wx_cv_version_script = yes ; then
33640 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33646 if test "$wxUSE_VISIBILITY" != "no"; then
33649 if test -n "$GCC"; then
33650 CFLAGS_VISIBILITY="-fvisibility=hidden"
33651 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33652 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33653 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33654 if test "${wx_cv_cc_visibility+set}" = set; then
33655 echo $ECHO_N "(cached) $ECHO_C" >&6
33658 wx_save_CXXFLAGS="$CXXFLAGS"
33659 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33666 cat >conftest.$ac_ext <<_ACEOF
33669 cat confdefs.h >>conftest.$ac_ext
33670 cat >>conftest.$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33673 /* we need gcc >= 4.0, older versions with visibility support
33674 didn't have class visibility: */
33675 #if defined(__GNUC__) && __GNUC__ < 4
33676 error this gcc is too old;
33679 /* visibility only makes sense for ELF shared libs: */
33680 #if !defined(__ELF__) && !defined(__APPLE__)
33681 error this platform has no visibility;
33684 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33685 extern __attribute__((__visibility__("default"))) int exportedvar;
33686 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33687 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33688 class __attribute__((__visibility__("default"))) Foo {
33700 rm -f conftest.$ac_objext
33701 if { (ac_try="$ac_compile"
33702 case "(($ac_try" in
33703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33704 *) ac_try_echo=$ac_try;;
33706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33707 (eval "$ac_compile") 2>conftest.er1
33709 grep -v '^ *+' conftest.er1 >conftest.err
33711 cat conftest.err >&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); } && {
33714 test -z "$ac_cxx_werror_flag" ||
33715 test ! -s conftest.err
33716 } && test -s conftest.$ac_objext; then
33717 wx_cv_cc_visibility=yes
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33722 wx_cv_cc_visibility=no
33725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33727 ac_cpp='$CPP $CPPFLAGS'
33728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33732 CXXFLAGS="$wx_save_CXXFLAGS"
33735 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33736 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33737 if test $wx_cv_cc_visibility = yes; then
33738 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33739 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33740 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33741 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 wx_save_CXXFLAGS="$CXXFLAGS"
33745 wx_save_LDFLAGS="$LDFLAGS"
33746 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33747 LDFLAGS="$LDFLAGS -shared -fPIC"
33749 ac_cpp='$CXXCPP $CPPFLAGS'
33750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754 cat >conftest.$ac_ext <<_ACEOF
33757 cat confdefs.h >>conftest.$ac_ext
33758 cat >>conftest.$ac_ext <<_ACEOF
33759 /* end confdefs.h. */
33767 std::string s("hello");
33774 rm -f conftest.$ac_objext conftest$ac_exeext
33775 if { (ac_try="$ac_link"
33776 case "(($ac_try" in
33777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33778 *) ac_try_echo=$ac_try;;
33780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33781 (eval "$ac_link") 2>conftest.er1
33783 grep -v '^ *+' conftest.er1 >conftest.err
33785 cat conftest.err >&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } && {
33788 test -z "$ac_cxx_werror_flag" ||
33789 test ! -s conftest.err
33790 } && test -s conftest$ac_exeext &&
33791 $as_test_x conftest$ac_exeext; then
33792 wx_cv_cc_broken_libstdcxx_visibility=no
33794 echo "$as_me: failed program was:" >&5
33795 sed 's/^/| /' conftest.$ac_ext >&5
33797 wx_cv_cc_broken_libstdcxx_visibility=yes
33800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33801 conftest$ac_exeext conftest.$ac_ext
33803 ac_cpp='$CPP $CPPFLAGS'
33804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33808 CXXFLAGS="$wx_save_CXXFLAGS"
33809 LDFLAGS="$wx_save_LDFLAGS"
33812 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33813 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33815 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33816 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33817 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33818 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33819 echo $ECHO_N "(cached) $ECHO_C" >&6
33823 ac_cpp='$CXXCPP $CPPFLAGS'
33824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33828 cat >conftest.$ac_ext <<_ACEOF
33831 cat confdefs.h >>conftest.$ac_ext
33832 cat >>conftest.$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33835 #pragma GCC visibility push(default)
33837 #pragma GCC visibility pop
33843 std::string s("hello");
33850 rm -f conftest.$ac_objext conftest$ac_exeext
33851 if { (ac_try="$ac_link"
33852 case "(($ac_try" in
33853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33854 *) ac_try_echo=$ac_try;;
33856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33857 (eval "$ac_link") 2>conftest.er1
33859 grep -v '^ *+' conftest.er1 >conftest.err
33861 cat conftest.err >&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); } && {
33864 test -z "$ac_cxx_werror_flag" ||
33865 test ! -s conftest.err
33866 } && test -s conftest$ac_exeext &&
33867 $as_test_x conftest$ac_exeext; then
33868 wx_cv_cc_visibility_workaround=no
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.$ac_ext >&5
33873 wx_cv_cc_visibility_workaround=yes
33876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33877 conftest$ac_exeext conftest.$ac_ext
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33887 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33888 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33890 if test $wx_cv_cc_visibility_workaround = no; then
33891 wx_cv_cc_visibility=no
33896 if test $wx_cv_cc_visibility = yes; then
33897 cat >>confdefs.h <<\_ACEOF
33898 #define HAVE_VISIBILITY 1
33901 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33902 cat >>confdefs.h <<\_ACEOF
33903 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33908 CFLAGS_VISIBILITY=""
33909 CXXFLAGS_VISIBILITY=""
33917 if test "x$SUNCXX" = xyes; then
33918 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33919 WXCONFIG_RPATH="-R\$libdir"
33922 *-*-linux* | *-*-gnu* )
33923 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33924 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33929 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33931 saveLdflags="$LDFLAGS"
33932 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33933 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33934 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33935 cat >conftest.$ac_ext <<_ACEOF
33938 cat confdefs.h >>conftest.$ac_ext
33939 cat >>conftest.$ac_ext <<_ACEOF
33940 /* end confdefs.h. */
33950 rm -f conftest.$ac_objext conftest$ac_exeext
33951 if { (ac_try="$ac_link"
33952 case "(($ac_try" in
33953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33954 *) ac_try_echo=$ac_try;;
33956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33957 (eval "$ac_link") 2>conftest.er1
33959 grep -v '^ *+' conftest.er1 >conftest.err
33961 cat conftest.err >&5
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); } && {
33964 test -z "$ac_c_werror_flag" ||
33965 test ! -s conftest.err
33966 } && test -s conftest$ac_exeext &&
33967 $as_test_x conftest$ac_exeext; then
33969 { echo "$as_me:$LINENO: result: yes" >&5
33970 echo "${ECHO_T}yes" >&6; }
33971 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33972 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33975 echo "$as_me: failed program was:" >&5
33976 sed 's/^/| /' conftest.$ac_ext >&5
33979 { echo "$as_me:$LINENO: result: no" >&5
33980 echo "${ECHO_T}no" >&6; }
33981 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33982 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33983 LDFLAGS="$saveLdflags -Wl,-R,/"
33984 cat >conftest.$ac_ext <<_ACEOF
33987 cat confdefs.h >>conftest.$ac_ext
33988 cat >>conftest.$ac_ext <<_ACEOF
33989 /* end confdefs.h. */
33999 rm -f conftest.$ac_objext conftest$ac_exeext
34000 if { (ac_try="$ac_link"
34001 case "(($ac_try" in
34002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34003 *) ac_try_echo=$ac_try;;
34005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34006 (eval "$ac_link") 2>conftest.er1
34008 grep -v '^ *+' conftest.er1 >conftest.err
34010 cat conftest.err >&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); } && {
34013 test -z "$ac_c_werror_flag" ||
34014 test ! -s conftest.err
34015 } && test -s conftest$ac_exeext &&
34016 $as_test_x conftest$ac_exeext; then
34018 { echo "$as_me:$LINENO: result: yes" >&5
34019 echo "${ECHO_T}yes" >&6; }
34020 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34021 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34024 echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.$ac_ext >&5
34028 { echo "$as_me:$LINENO: result: no" >&5
34029 echo "${ECHO_T}no" >&6; }
34033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34034 conftest$ac_exeext conftest.$ac_ext
34038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34039 conftest$ac_exeext conftest.$ac_ext
34040 LDFLAGS="$saveLdflags"
34044 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34045 if test "$install_name_tool" -a -x "$install_name_tool"; then
34046 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34047 cat <<EOF >change-install-names
34049 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34050 for i in \${libnames} ; do
34051 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34052 for dep in \${libnames} ; do
34053 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34057 chmod +x change-install-names
34058 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34061 HEADER_PAD_OPTION="-headerpad_max_install_names"
34064 *-*-cygwin* | *-*-mingw32* )
34068 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34069 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34075 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34077 if test $wxUSE_RPATH = "no"; then
34078 SAMPLES_RPATH_FLAG=''
34079 DYLIB_PATH_POSTLINK=''
34087 config_linkage_component="-static"
34094 lib_unicode_suffix=
34096 if test "$wxUSE_UNICODE" = "yes"; then
34097 lib_unicode_suffix=u
34098 WX_CHARTYPE="unicode"
34102 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34103 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34106 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34110 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34112 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34114 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34117 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34118 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34120 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34122 if test "${TOOLKIT_DIR}" = "os2"; then
34123 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34125 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34130 if test "$wxUSE_COCOA" = 1; then
34133 ac_cpp='$CPP $CPPFLAGS'
34134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34140 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34141 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34142 cat >conftest.$ac_ext <<_ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148 #include <AppKit/NSEvent.h>
34149 #include <CoreFoundation/CoreFoundation.h>
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34168 grep -v '^ *+' conftest.er1 >conftest.err
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_c_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 { echo "$as_me:$LINENO: result: no" >&5
34177 echo "${ECHO_T}no" >&6; }
34179 echo "$as_me: failed program was:" >&5
34180 sed 's/^/| /' conftest.$ac_ext >&5
34182 { echo "$as_me:$LINENO: result: yes" >&5
34183 echo "${ECHO_T}yes" >&6; }
34184 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34185 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34186 cat >conftest.$ac_ext <<_ACEOF
34189 cat confdefs.h >>conftest.$ac_ext
34190 cat >>conftest.$ac_ext <<_ACEOF
34191 /* end confdefs.h. */
34192 #define __Point__ 1
34193 #include <AppKit/NSEvent.h>
34194 #include <CoreFoundation/CoreFoundation.h>
34204 rm -f conftest.$ac_objext
34205 if { (ac_try="$ac_compile"
34206 case "(($ac_try" in
34207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34208 *) ac_try_echo=$ac_try;;
34210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34211 (eval "$ac_compile") 2>conftest.er1
34213 grep -v '^ *+' conftest.er1 >conftest.err
34215 cat conftest.err >&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } && {
34218 test -z "$ac_c_werror_flag" ||
34219 test ! -s conftest.err
34220 } && test -s conftest.$ac_objext; then
34221 { echo "$as_me:$LINENO: result: yes" >&5
34222 echo "${ECHO_T}yes" >&6; }
34223 cat >>confdefs.h <<\_ACEOF
34224 #define __Point__ 1
34229 echo "$as_me: failed program was:" >&5
34230 sed 's/^/| /' conftest.$ac_ext >&5
34232 { { echo "$as_me:$LINENO: error: no
34233 See \`config.log' for more details." >&5
34234 echo "$as_me: error: no
34235 See \`config.log' for more details." >&2;}
34236 { (exit 1); exit 1; }; }
34240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34246 ac_cpp='$CPP $CPPFLAGS'
34247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34254 { echo "$as_me:$LINENO: checking for mode_t" >&5
34255 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34256 if test "${ac_cv_type_mode_t+set}" = set; then
34257 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 cat >conftest.$ac_ext <<_ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265 $ac_includes_default
34266 typedef mode_t ac__type_new_;
34270 if ((ac__type_new_ *) 0)
34272 if (sizeof (ac__type_new_))
34278 rm -f conftest.$ac_objext
34279 if { (ac_try="$ac_compile"
34280 case "(($ac_try" in
34281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34282 *) ac_try_echo=$ac_try;;
34284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34285 (eval "$ac_compile") 2>conftest.er1
34287 grep -v '^ *+' conftest.er1 >conftest.err
34289 cat conftest.err >&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } && {
34292 test -z "$ac_c_werror_flag" ||
34293 test ! -s conftest.err
34294 } && test -s conftest.$ac_objext; then
34295 ac_cv_type_mode_t=yes
34297 echo "$as_me: failed program was:" >&5
34298 sed 's/^/| /' conftest.$ac_ext >&5
34300 ac_cv_type_mode_t=no
34303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34305 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34306 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34307 if test $ac_cv_type_mode_t = yes; then
34311 cat >>confdefs.h <<_ACEOF
34317 { echo "$as_me:$LINENO: checking for off_t" >&5
34318 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34319 if test "${ac_cv_type_off_t+set}" = set; then
34320 echo $ECHO_N "(cached) $ECHO_C" >&6
34322 cat >conftest.$ac_ext <<_ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34328 $ac_includes_default
34329 typedef off_t ac__type_new_;
34333 if ((ac__type_new_ *) 0)
34335 if (sizeof (ac__type_new_))
34341 rm -f conftest.$ac_objext
34342 if { (ac_try="$ac_compile"
34343 case "(($ac_try" in
34344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34345 *) ac_try_echo=$ac_try;;
34347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34348 (eval "$ac_compile") 2>conftest.er1
34350 grep -v '^ *+' conftest.er1 >conftest.err
34352 cat conftest.err >&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); } && {
34355 test -z "$ac_c_werror_flag" ||
34356 test ! -s conftest.err
34357 } && test -s conftest.$ac_objext; then
34358 ac_cv_type_off_t=yes
34360 echo "$as_me: failed program was:" >&5
34361 sed 's/^/| /' conftest.$ac_ext >&5
34363 ac_cv_type_off_t=no
34366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34368 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34369 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34370 if test $ac_cv_type_off_t = yes; then
34374 cat >>confdefs.h <<_ACEOF
34375 #define off_t long int
34380 { echo "$as_me:$LINENO: checking for pid_t" >&5
34381 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34382 if test "${ac_cv_type_pid_t+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 cat >conftest.$ac_ext <<_ACEOF
34388 cat confdefs.h >>conftest.$ac_ext
34389 cat >>conftest.$ac_ext <<_ACEOF
34390 /* end confdefs.h. */
34391 $ac_includes_default
34392 typedef pid_t ac__type_new_;
34396 if ((ac__type_new_ *) 0)
34398 if (sizeof (ac__type_new_))
34404 rm -f conftest.$ac_objext
34405 if { (ac_try="$ac_compile"
34406 case "(($ac_try" in
34407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34408 *) ac_try_echo=$ac_try;;
34410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34411 (eval "$ac_compile") 2>conftest.er1
34413 grep -v '^ *+' conftest.er1 >conftest.err
34415 cat conftest.err >&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); } && {
34418 test -z "$ac_c_werror_flag" ||
34419 test ! -s conftest.err
34420 } && test -s conftest.$ac_objext; then
34421 ac_cv_type_pid_t=yes
34423 echo "$as_me: failed program was:" >&5
34424 sed 's/^/| /' conftest.$ac_ext >&5
34426 ac_cv_type_pid_t=no
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34431 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34432 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34433 if test $ac_cv_type_pid_t = yes; then
34437 cat >>confdefs.h <<_ACEOF
34443 { echo "$as_me:$LINENO: checking for size_t" >&5
34444 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34445 if test "${ac_cv_type_size_t+set}" = set; then
34446 echo $ECHO_N "(cached) $ECHO_C" >&6
34448 cat >conftest.$ac_ext <<_ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34454 $ac_includes_default
34455 typedef size_t ac__type_new_;
34459 if ((ac__type_new_ *) 0)
34461 if (sizeof (ac__type_new_))
34467 rm -f conftest.$ac_objext
34468 if { (ac_try="$ac_compile"
34469 case "(($ac_try" in
34470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34471 *) ac_try_echo=$ac_try;;
34473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34474 (eval "$ac_compile") 2>conftest.er1
34476 grep -v '^ *+' conftest.er1 >conftest.err
34478 cat conftest.err >&5
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); } && {
34481 test -z "$ac_c_werror_flag" ||
34482 test ! -s conftest.err
34483 } && test -s conftest.$ac_objext; then
34484 ac_cv_type_size_t=yes
34486 echo "$as_me: failed program was:" >&5
34487 sed 's/^/| /' conftest.$ac_ext >&5
34489 ac_cv_type_size_t=no
34492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34495 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34496 if test $ac_cv_type_size_t = yes; then
34500 cat >>confdefs.h <<_ACEOF
34501 #define size_t unsigned int
34507 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34508 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34509 if test "${ac_cv_type_ssize_t+set}" = set; then
34510 echo $ECHO_N "(cached) $ECHO_C" >&6
34512 cat >conftest.$ac_ext <<_ACEOF
34515 cat confdefs.h >>conftest.$ac_ext
34516 cat >>conftest.$ac_ext <<_ACEOF
34517 /* end confdefs.h. */
34518 $ac_includes_default
34519 typedef ssize_t ac__type_new_;
34523 if ((ac__type_new_ *) 0)
34525 if (sizeof (ac__type_new_))
34531 rm -f conftest.$ac_objext
34532 if { (ac_try="$ac_compile"
34533 case "(($ac_try" in
34534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34535 *) ac_try_echo=$ac_try;;
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 (eval "$ac_compile") 2>conftest.er1
34540 grep -v '^ *+' conftest.er1 >conftest.err
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } && {
34545 test -z "$ac_c_werror_flag" ||
34546 test ! -s conftest.err
34547 } && test -s conftest.$ac_objext; then
34548 ac_cv_type_ssize_t=yes
34550 echo "$as_me: failed program was:" >&5
34551 sed 's/^/| /' conftest.$ac_ext >&5
34553 ac_cv_type_ssize_t=no
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34558 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34559 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34560 if test $ac_cv_type_ssize_t = yes; then
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE_SSIZE_T 1
34571 ac_cpp='$CXXCPP $CPPFLAGS'
34572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34576 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34577 if test "${wx_cv_size_t_is_uint+set}" = set; then
34578 echo $ECHO_N "(cached) $ECHO_C" >&6
34581 cat >conftest.$ac_ext <<_ACEOF
34584 cat confdefs.h >>conftest.$ac_ext
34585 cat >>conftest.$ac_ext <<_ACEOF
34586 /* end confdefs.h. */
34587 #include <stddef.h>
34594 struct Foo { void foo(size_t); void foo(unsigned int); };
34602 rm -f conftest.$ac_objext
34603 if { (ac_try="$ac_compile"
34604 case "(($ac_try" in
34605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34606 *) ac_try_echo=$ac_try;;
34608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34609 (eval "$ac_compile") 2>conftest.er1
34611 grep -v '^ *+' conftest.er1 >conftest.err
34613 cat conftest.err >&5
34614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615 (exit $ac_status); } && {
34616 test -z "$ac_cxx_werror_flag" ||
34617 test ! -s conftest.err
34618 } && test -s conftest.$ac_objext; then
34619 wx_cv_size_t_is_uint=no
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34624 wx_cv_size_t_is_uint=yes
34628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34632 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34633 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34635 if test "$wx_cv_size_t_is_uint" = "yes"; then
34636 cat >>confdefs.h <<\_ACEOF
34637 #define wxSIZE_T_IS_UINT 1
34641 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34642 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34643 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.$ac_ext <<_ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652 #include <stddef.h>
34659 struct Foo { void foo(size_t); void foo(unsigned long); };
34667 rm -f conftest.$ac_objext
34668 if { (ac_try="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34671 *) ac_try_echo=$ac_try;;
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34676 grep -v '^ *+' conftest.er1 >conftest.err
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_cxx_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.$ac_objext; then
34684 wx_cv_size_t_is_ulong=no
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34689 wx_cv_size_t_is_ulong=yes
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34696 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34697 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34699 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34700 cat >>confdefs.h <<\_ACEOF
34701 #define wxSIZE_T_IS_ULONG 1
34707 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34708 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34709 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34710 echo $ECHO_N "(cached) $ECHO_C" >&6
34712 cat >conftest.$ac_ext <<_ACEOF
34715 cat confdefs.h >>conftest.$ac_ext
34716 cat >>conftest.$ac_ext <<_ACEOF
34717 /* end confdefs.h. */
34725 struct Foo { void foo(wchar_t);
34726 void foo(unsigned short);
34727 void foo(unsigned int);
34728 void foo(unsigned long); };
34736 rm -f conftest.$ac_objext
34737 if { (ac_try="$ac_compile"
34738 case "(($ac_try" in
34739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34740 *) ac_try_echo=$ac_try;;
34742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34743 (eval "$ac_compile") 2>conftest.er1
34745 grep -v '^ *+' conftest.er1 >conftest.err
34747 cat conftest.err >&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); } && {
34750 test -z "$ac_cxx_werror_flag" ||
34751 test ! -s conftest.err
34752 } && test -s conftest.$ac_objext; then
34753 wx_cv_wchar_t_is_separate_type=yes
34755 echo "$as_me: failed program was:" >&5
34756 sed 's/^/| /' conftest.$ac_ext >&5
34758 wx_cv_wchar_t_is_separate_type=no
34762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34765 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34766 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34768 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34769 cat >>confdefs.h <<\_ACEOF
34770 #define wxWCHAR_T_IS_REAL_TYPE 1
34774 cat >>confdefs.h <<\_ACEOF
34775 #define wxWCHAR_T_IS_REAL_TYPE 0
34781 ac_cpp='$CPP $CPPFLAGS'
34782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34787 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34788 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34789 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34790 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 cat >conftest.$ac_ext <<_ACEOF
34796 cat confdefs.h >>conftest.$ac_ext
34797 cat >>conftest.$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34812 rm -f conftest.$ac_objext
34813 if { (ac_try="$ac_compile"
34814 case "(($ac_try" in
34815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34816 *) ac_try_echo=$ac_try;;
34818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34819 (eval "$ac_compile") 2>conftest.er1
34821 grep -v '^ *+' conftest.er1 >conftest.err
34823 cat conftest.err >&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); } && {
34826 test -z "$ac_c_werror_flag" ||
34827 test ! -s conftest.err
34828 } && test -s conftest.$ac_objext; then
34830 wx_cv_struct_pw_gecos=yes
34833 echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.$ac_ext >&5
34837 wx_cv_struct_pw_gecos=no
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34846 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34847 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34849 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34850 cat >>confdefs.h <<\_ACEOF
34851 #define HAVE_PW_GECOS 1
34857 if test "$wxUSE_WCHAR_T" = "yes"; then
34858 cat >>confdefs.h <<\_ACEOF
34859 #define wxUSE_WCHAR_T 1
34866 for ac_func in wcslen
34868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34872 echo $ECHO_N "(cached) $ECHO_C" >&6
34874 cat >conftest.$ac_ext <<_ACEOF
34877 cat confdefs.h >>conftest.$ac_ext
34878 cat >>conftest.$ac_ext <<_ACEOF
34879 /* end confdefs.h. */
34880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34882 #define $ac_func innocuous_$ac_func
34884 /* System header to define __stub macros and hopefully few prototypes,
34885 which can conflict with char $ac_func (); below.
34886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34887 <limits.h> exists even on freestanding compilers. */
34890 # include <limits.h>
34892 # include <assert.h>
34897 /* Override any GCC internal prototype to avoid an error.
34898 Use char because int might match the return type of a GCC
34899 builtin and then its argument prototype would still apply. */
34904 /* The GNU C library defines this for functions which it implements
34905 to always fail with ENOSYS. Some functions are actually named
34906 something starting with __ and the normal name is an alias. */
34907 #if defined __stub_$ac_func || defined __stub___$ac_func
34914 return $ac_func ();
34919 rm -f conftest.$ac_objext conftest$ac_exeext
34920 if { (ac_try="$ac_link"
34921 case "(($ac_try" in
34922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34923 *) ac_try_echo=$ac_try;;
34925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34926 (eval "$ac_link") 2>conftest.er1
34928 grep -v '^ *+' conftest.er1 >conftest.err
34930 cat conftest.err >&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); } && {
34933 test -z "$ac_c_werror_flag" ||
34934 test ! -s conftest.err
34935 } && test -s conftest$ac_exeext &&
34936 $as_test_x conftest$ac_exeext; then
34937 eval "$as_ac_var=yes"
34939 echo "$as_me: failed program was:" >&5
34940 sed 's/^/| /' conftest.$ac_ext >&5
34942 eval "$as_ac_var=no"
34945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34946 conftest$ac_exeext conftest.$ac_ext
34948 ac_res=`eval echo '${'$as_ac_var'}'`
34949 { echo "$as_me:$LINENO: result: $ac_res" >&5
34950 echo "${ECHO_T}$ac_res" >&6; }
34951 if test `eval echo '${'$as_ac_var'}'` = yes; then
34952 cat >>confdefs.h <<_ACEOF
34953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34960 if test "$WCSLEN_FOUND" = 0; then
34961 if test "$TOOLKIT" = "MSW"; then
34962 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34963 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34964 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 ac_check_lib_save_LIBS=$LIBS
34968 LIBS="-lmsvcrt $LIBS"
34969 cat >conftest.$ac_ext <<_ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34976 /* Override any GCC internal prototype to avoid an error.
34977 Use char because int might match the return type of a GCC
34978 builtin and then its argument prototype would still apply. */
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (ac_try="$ac_link"
34993 case "(($ac_try" in
34994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34995 *) ac_try_echo=$ac_try;;
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_link") 2>conftest.er1
35000 grep -v '^ *+' conftest.er1 >conftest.err
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest$ac_exeext &&
35008 $as_test_x conftest$ac_exeext; then
35009 ac_cv_lib_msvcrt_wcslen=yes
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35014 ac_cv_lib_msvcrt_wcslen=no
35017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35018 conftest$ac_exeext conftest.$ac_ext
35019 LIBS=$ac_check_lib_save_LIBS
35021 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35022 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35023 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35028 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35029 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35030 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35031 echo $ECHO_N "(cached) $ECHO_C" >&6
35033 ac_check_lib_save_LIBS=$LIBS
35035 cat >conftest.$ac_ext <<_ACEOF
35038 cat confdefs.h >>conftest.$ac_ext
35039 cat >>conftest.$ac_ext <<_ACEOF
35040 /* end confdefs.h. */
35042 /* Override any GCC internal prototype to avoid an error.
35043 Use char because int might match the return type of a GCC
35044 builtin and then its argument prototype would still apply. */
35057 rm -f conftest.$ac_objext conftest$ac_exeext
35058 if { (ac_try="$ac_link"
35059 case "(($ac_try" in
35060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35061 *) ac_try_echo=$ac_try;;
35063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35064 (eval "$ac_link") 2>conftest.er1
35066 grep -v '^ *+' conftest.er1 >conftest.err
35068 cat conftest.err >&5
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); } && {
35071 test -z "$ac_c_werror_flag" ||
35072 test ! -s conftest.err
35073 } && test -s conftest$ac_exeext &&
35074 $as_test_x conftest$ac_exeext; then
35075 ac_cv_lib_w_wcslen=yes
35077 echo "$as_me: failed program was:" >&5
35078 sed 's/^/| /' conftest.$ac_ext >&5
35080 ac_cv_lib_w_wcslen=no
35083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35084 conftest$ac_exeext conftest.$ac_ext
35085 LIBS=$ac_check_lib_save_LIBS
35087 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35088 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35089 if test $ac_cv_lib_w_wcslen = yes; then
35099 if test "$WCSLEN_FOUND" = 1; then
35100 cat >>confdefs.h <<\_ACEOF
35101 #define HAVE_WCSLEN 1
35111 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35114 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35117 echo $ECHO_N "(cached) $ECHO_C" >&6
35119 cat >conftest.$ac_ext <<_ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35127 #define $ac_func innocuous_$ac_func
35129 /* System header to define __stub macros and hopefully few prototypes,
35130 which can conflict with char $ac_func (); below.
35131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35132 <limits.h> exists even on freestanding compilers. */
35135 # include <limits.h>
35137 # include <assert.h>
35142 /* Override any GCC internal prototype to avoid an error.
35143 Use char because int might match the return type of a GCC
35144 builtin and then its argument prototype would still apply. */
35149 /* The GNU C library defines this for functions which it implements
35150 to always fail with ENOSYS. Some functions are actually named
35151 something starting with __ and the normal name is an alias. */
35152 #if defined __stub_$ac_func || defined __stub___$ac_func
35159 return $ac_func ();
35164 rm -f conftest.$ac_objext conftest$ac_exeext
35165 if { (ac_try="$ac_link"
35166 case "(($ac_try" in
35167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35168 *) ac_try_echo=$ac_try;;
35170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35171 (eval "$ac_link") 2>conftest.er1
35173 grep -v '^ *+' conftest.er1 >conftest.err
35175 cat conftest.err >&5
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); } && {
35178 test -z "$ac_c_werror_flag" ||
35179 test ! -s conftest.err
35180 } && test -s conftest$ac_exeext &&
35181 $as_test_x conftest$ac_exeext; then
35182 eval "$as_ac_var=yes"
35184 echo "$as_me: failed program was:" >&5
35185 sed 's/^/| /' conftest.$ac_ext >&5
35187 eval "$as_ac_var=no"
35190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35191 conftest$ac_exeext conftest.$ac_ext
35193 ac_res=`eval echo '${'$as_ac_var'}'`
35194 { echo "$as_me:$LINENO: result: $ac_res" >&5
35195 echo "${ECHO_T}$ac_res" >&6; }
35196 if test `eval echo '${'$as_ac_var'}'` = yes; then
35197 cat >>confdefs.h <<_ACEOF
35198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35205 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35206 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35209 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35210 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35211 if test "${ac_cv_type_mbstate_t+set}" = set; then
35212 echo $ECHO_N "(cached) $ECHO_C" >&6
35214 cat >conftest.$ac_ext <<_ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35222 typedef mbstate_t ac__type_new_;
35226 if ((ac__type_new_ *) 0)
35228 if (sizeof (ac__type_new_))
35234 rm -f conftest.$ac_objext
35235 if { (ac_try="$ac_compile"
35236 case "(($ac_try" in
35237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35238 *) ac_try_echo=$ac_try;;
35240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35241 (eval "$ac_compile") 2>conftest.er1
35243 grep -v '^ *+' conftest.er1 >conftest.err
35245 cat conftest.err >&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); } && {
35248 test -z "$ac_c_werror_flag" ||
35249 test ! -s conftest.err
35250 } && test -s conftest.$ac_objext; then
35251 ac_cv_type_mbstate_t=yes
35253 echo "$as_me: failed program was:" >&5
35254 sed 's/^/| /' conftest.$ac_ext >&5
35256 ac_cv_type_mbstate_t=no
35259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35262 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35263 if test $ac_cv_type_mbstate_t = yes; then
35265 cat >>confdefs.h <<_ACEOF
35266 #define HAVE_MBSTATE_T 1
35270 for ac_func in wcsrtombs
35272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35276 echo $ECHO_N "(cached) $ECHO_C" >&6
35278 cat >conftest.$ac_ext <<_ACEOF
35281 cat confdefs.h >>conftest.$ac_ext
35282 cat >>conftest.$ac_ext <<_ACEOF
35283 /* end confdefs.h. */
35284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35286 #define $ac_func innocuous_$ac_func
35288 /* System header to define __stub macros and hopefully few prototypes,
35289 which can conflict with char $ac_func (); below.
35290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35291 <limits.h> exists even on freestanding compilers. */
35294 # include <limits.h>
35296 # include <assert.h>
35301 /* Override any GCC internal prototype to avoid an error.
35302 Use char because int might match the return type of a GCC
35303 builtin and then its argument prototype would still apply. */
35308 /* The GNU C library defines this for functions which it implements
35309 to always fail with ENOSYS. Some functions are actually named
35310 something starting with __ and the normal name is an alias. */
35311 #if defined __stub_$ac_func || defined __stub___$ac_func
35318 return $ac_func ();
35323 rm -f conftest.$ac_objext conftest$ac_exeext
35324 if { (ac_try="$ac_link"
35325 case "(($ac_try" in
35326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35327 *) ac_try_echo=$ac_try;;
35329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35330 (eval "$ac_link") 2>conftest.er1
35332 grep -v '^ *+' conftest.er1 >conftest.err
35334 cat conftest.err >&5
35335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35336 (exit $ac_status); } && {
35337 test -z "$ac_c_werror_flag" ||
35338 test ! -s conftest.err
35339 } && test -s conftest$ac_exeext &&
35340 $as_test_x conftest$ac_exeext; then
35341 eval "$as_ac_var=yes"
35343 echo "$as_me: failed program was:" >&5
35344 sed 's/^/| /' conftest.$ac_ext >&5
35346 eval "$as_ac_var=no"
35349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35350 conftest$ac_exeext conftest.$ac_ext
35352 ac_res=`eval echo '${'$as_ac_var'}'`
35353 { echo "$as_me:$LINENO: result: $ac_res" >&5
35354 echo "${ECHO_T}$ac_res" >&6; }
35355 if test `eval echo '${'$as_ac_var'}'` = yes; then
35356 cat >>confdefs.h <<_ACEOF
35357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35366 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35367 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35373 for ac_func in snprintf vsnprintf vsscanf
35375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35379 echo $ECHO_N "(cached) $ECHO_C" >&6
35381 cat >conftest.$ac_ext <<_ACEOF
35384 cat confdefs.h >>conftest.$ac_ext
35385 cat >>conftest.$ac_ext <<_ACEOF
35386 /* end confdefs.h. */
35387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35389 #define $ac_func innocuous_$ac_func
35391 /* System header to define __stub macros and hopefully few prototypes,
35392 which can conflict with char $ac_func (); below.
35393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35394 <limits.h> exists even on freestanding compilers. */
35397 # include <limits.h>
35399 # include <assert.h>
35404 /* Override any GCC internal prototype to avoid an error.
35405 Use char because int might match the return type of a GCC
35406 builtin and then its argument prototype would still apply. */
35411 /* The GNU C library defines this for functions which it implements
35412 to always fail with ENOSYS. Some functions are actually named
35413 something starting with __ and the normal name is an alias. */
35414 #if defined __stub_$ac_func || defined __stub___$ac_func
35421 return $ac_func ();
35426 rm -f conftest.$ac_objext conftest$ac_exeext
35427 if { (ac_try="$ac_link"
35428 case "(($ac_try" in
35429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35430 *) ac_try_echo=$ac_try;;
35432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35433 (eval "$ac_link") 2>conftest.er1
35435 grep -v '^ *+' conftest.er1 >conftest.err
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } && {
35440 test -z "$ac_c_werror_flag" ||
35441 test ! -s conftest.err
35442 } && test -s conftest$ac_exeext &&
35443 $as_test_x conftest$ac_exeext; then
35444 eval "$as_ac_var=yes"
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35449 eval "$as_ac_var=no"
35452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35453 conftest$ac_exeext conftest.$ac_ext
35455 ac_res=`eval echo '${'$as_ac_var'}'`
35456 { echo "$as_me:$LINENO: result: $ac_res" >&5
35457 echo "${ECHO_T}$ac_res" >&6; }
35458 if test `eval echo '${'$as_ac_var'}'` = yes; then
35459 cat >>confdefs.h <<_ACEOF
35460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35473 if test "$ac_cv_func_vsnprintf" = "yes"; then
35474 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35475 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35476 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 cat >conftest.$ac_ext <<_ACEOF
35483 cat confdefs.h >>conftest.$ac_ext
35484 cat >>conftest.$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35488 #include <stdarg.h>
35490 #if __MSL__ >= 0x6000
35492 using namespace std;
35502 vsnprintf(buf, 10u, "%s", ap);
35508 rm -f conftest.$ac_objext
35509 if { (ac_try="$ac_compile"
35510 case "(($ac_try" in
35511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35512 *) ac_try_echo=$ac_try;;
35514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35515 (eval "$ac_compile") 2>conftest.er1
35517 grep -v '^ *+' conftest.er1 >conftest.err
35519 cat conftest.err >&5
35520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521 (exit $ac_status); } && {
35522 test -z "$ac_cxx_werror_flag" ||
35523 test ! -s conftest.err
35524 } && test -s conftest.$ac_objext; then
35525 wx_cv_func_vsnprintf_decl=yes
35527 echo "$as_me: failed program was:" >&5
35528 sed 's/^/| /' conftest.$ac_ext >&5
35530 wx_cv_func_vsnprintf_decl=no
35534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35538 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35539 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35541 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35542 cat >>confdefs.h <<\_ACEOF
35543 #define HAVE_VSNPRINTF_DECL 1
35547 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35548 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35549 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35553 cat >conftest.$ac_ext <<_ACEOF
35556 cat confdefs.h >>conftest.$ac_ext
35557 cat >>conftest.$ac_ext <<_ACEOF
35558 /* end confdefs.h. */
35561 #include <stdarg.h>
35563 #if __MSL__ >= 0x6000
35565 using namespace std;
35575 const char *fmt = "%s";
35576 vsnprintf(buf, 10u, fmt, ap);
35582 rm -f conftest.$ac_objext
35583 if { (ac_try="$ac_compile"
35584 case "(($ac_try" in
35585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35586 *) ac_try_echo=$ac_try;;
35588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35589 (eval "$ac_compile") 2>conftest.er1
35591 grep -v '^ *+' conftest.er1 >conftest.err
35593 cat conftest.err >&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); } && {
35596 test -z "$ac_cxx_werror_flag" ||
35597 test ! -s conftest.err
35598 } && test -s conftest.$ac_objext; then
35599 wx_cv_func_broken_vsnprintf_decl=no
35601 echo "$as_me: failed program was:" >&5
35602 sed 's/^/| /' conftest.$ac_ext >&5
35604 wx_cv_func_broken_vsnprintf_decl=yes
35608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35613 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35615 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35616 cat >>confdefs.h <<\_ACEOF
35617 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35624 if test "$ac_cv_func_snprintf" = "yes"; then
35625 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35626 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35627 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35631 cat >conftest.$ac_ext <<_ACEOF
35634 cat confdefs.h >>conftest.$ac_ext
35635 cat >>conftest.$ac_ext <<_ACEOF
35636 /* end confdefs.h. */
35639 #include <stdarg.h>
35641 #if __MSL__ >= 0x6000
35643 using namespace std;
35652 snprintf(buf, 10u, "%s", "wx");
35658 rm -f conftest.$ac_objext
35659 if { (ac_try="$ac_compile"
35660 case "(($ac_try" in
35661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35662 *) ac_try_echo=$ac_try;;
35664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35665 (eval "$ac_compile") 2>conftest.er1
35667 grep -v '^ *+' conftest.er1 >conftest.err
35669 cat conftest.err >&5
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); } && {
35672 test -z "$ac_cxx_werror_flag" ||
35673 test ! -s conftest.err
35674 } && test -s conftest.$ac_objext; then
35675 wx_cv_func_snprintf_decl=yes
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35680 wx_cv_func_snprintf_decl=no
35684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35688 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35689 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35691 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35692 cat >>confdefs.h <<\_ACEOF
35693 #define HAVE_SNPRINTF_DECL 1
35698 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35700 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35701 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35702 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35703 echo $ECHO_N "(cached) $ECHO_C" >&6
35706 if test "$cross_compiling" = yes; then
35708 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35709 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35710 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35711 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35712 wx_cv_func_snprintf_pos_params=no
35716 cat >conftest.$ac_ext <<_ACEOF
35719 cat confdefs.h >>conftest.$ac_ext
35720 cat >>conftest.$ac_ext <<_ACEOF
35721 /* end confdefs.h. */
35728 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35729 if (strcmp ("2 3 1", buffer) == 0)
35735 rm -f conftest$ac_exeext
35736 if { (ac_try="$ac_link"
35737 case "(($ac_try" in
35738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35739 *) ac_try_echo=$ac_try;;
35741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35742 (eval "$ac_link") 2>&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; }; then
35755 wx_cv_func_snprintf_pos_params=no
35757 echo "$as_me: program exited with status $ac_status" >&5
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35761 ( exit $ac_status )
35762 wx_cv_func_snprintf_pos_params=yes
35764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35771 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35772 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35774 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35775 cat >>confdefs.h <<\_ACEOF
35776 #define HAVE_UNIX98_PRINTF 1
35783 if test "$ac_cv_func_vsscanf" = "yes"; then
35784 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35785 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35786 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35787 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 cat >conftest.$ac_ext <<_ACEOF
35793 cat confdefs.h >>conftest.$ac_ext
35794 cat >>conftest.$ac_ext <<_ACEOF
35795 /* end confdefs.h. */
35798 #include <stdarg.h>
35800 #if __MSL__ >= 0x6000
35802 using namespace std;
35812 vsscanf(buf, "%s", args);
35818 rm -f conftest.$ac_objext
35819 if { (ac_try="$ac_compile"
35820 case "(($ac_try" in
35821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35822 *) ac_try_echo=$ac_try;;
35824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35825 (eval "$ac_compile") 2>conftest.er1
35827 grep -v '^ *+' conftest.er1 >conftest.err
35829 cat conftest.err >&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); } && {
35832 test -z "$ac_cxx_werror_flag" ||
35833 test ! -s conftest.err
35834 } && test -s conftest.$ac_objext; then
35835 wx_cv_func_vsscanf_decl=yes
35837 echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.$ac_ext >&5
35840 wx_cv_func_vsscanf_decl=no
35844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35848 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35849 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35851 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35852 cat >>confdefs.h <<\_ACEOF
35853 #define HAVE_VSSCANF_DECL 1
35859 ac_cpp='$CPP $CPPFLAGS'
35860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35865 if test "$wxUSE_UNICODE" = yes; then
35867 wchar_headers="#include <stdio.h>
35868 #include <wchar.h>"
35872 for ac_header in widec.h
35874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 cat >conftest.$ac_ext <<_ACEOF
35883 cat confdefs.h >>conftest.$ac_ext
35884 cat >>conftest.$ac_ext <<_ACEOF
35885 /* end confdefs.h. */
35886 $ac_includes_default
35888 #include <$ac_header>
35890 rm -f conftest.$ac_objext
35891 if { (ac_try="$ac_compile"
35892 case "(($ac_try" in
35893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35894 *) ac_try_echo=$ac_try;;
35896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35897 (eval "$ac_compile") 2>conftest.er1
35899 grep -v '^ *+' conftest.er1 >conftest.err
35901 cat conftest.err >&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); } && {
35904 test -z "$ac_c_werror_flag" ||
35905 test ! -s conftest.err
35906 } && test -s conftest.$ac_objext; then
35907 eval "$as_ac_Header=yes"
35909 echo "$as_me: failed program was:" >&5
35910 sed 's/^/| /' conftest.$ac_ext >&5
35912 eval "$as_ac_Header=no"
35915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35917 ac_res=`eval echo '${'$as_ac_Header'}'`
35918 { echo "$as_me:$LINENO: result: $ac_res" >&5
35919 echo "${ECHO_T}$ac_res" >&6; }
35920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35921 cat >>confdefs.h <<_ACEOF
35922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35929 if test "$ac_cv_header_widec_h" = "yes"; then
35930 wchar_headers="$wchar_headers
35931 #include <widec.h>"
35936 for wx_func in putws fputws wprintf vswprintf vswscanf
35938 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35939 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35940 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35941 echo $ECHO_N "(cached) $ECHO_C" >&6
35944 cat >conftest.$ac_ext <<_ACEOF
35948 cat confdefs.h >>conftest.$ac_ext
35949 cat >>conftest.$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35953 $ac_includes_default
35969 rm -f conftest.$ac_objext conftest$ac_exeext
35970 if { (ac_try="$ac_link"
35971 case "(($ac_try" in
35972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35973 *) ac_try_echo=$ac_try;;
35975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35976 (eval "$ac_link") 2>conftest.er1
35978 grep -v '^ *+' conftest.er1 >conftest.err
35980 cat conftest.err >&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } && {
35983 test -z "$ac_c_werror_flag" ||
35984 test ! -s conftest.err
35985 } && test -s conftest$ac_exeext &&
35986 $as_test_x conftest$ac_exeext; then
35987 eval wx_cv_func_$wx_func=yes
35989 echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35992 eval wx_cv_func_$wx_func=no
35995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35996 conftest$ac_exeext conftest.$ac_ext
35999 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36000 { echo "$as_me:$LINENO: result: $ac_res" >&5
36001 echo "${ECHO_T}$ac_res" >&6; }
36003 if eval test \$wx_cv_func_$wx_func = yes
36005 cat >>confdefs.h <<_ACEOF
36006 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36017 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36018 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36019 cat >conftest.$ac_ext <<_ACEOF
36022 cat confdefs.h >>conftest.$ac_ext
36023 cat >>conftest.$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36034 rm -f conftest.$ac_objext
36035 if { (ac_try="$ac_compile"
36036 case "(($ac_try" in
36037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36038 *) ac_try_echo=$ac_try;;
36040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36041 (eval "$ac_compile") 2>conftest.er1
36043 grep -v '^ *+' conftest.er1 >conftest.err
36045 cat conftest.err >&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } && {
36048 test -z "$ac_c_werror_flag" ||
36049 test ! -s conftest.err
36050 } && test -s conftest.$ac_objext; then
36051 { echo "$as_me:$LINENO: result: yes" >&5
36052 echo "${ECHO_T}yes" >&6; }
36053 cat >>confdefs.h <<\_ACEOF
36054 #define HAVE__VSNWPRINTF 1
36058 echo "$as_me: failed program was:" >&5
36059 sed 's/^/| /' conftest.$ac_ext >&5
36061 { echo "$as_me:$LINENO: result: no" >&5
36062 echo "${ECHO_T}no" >&6; }
36065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36068 if test "$wxUSE_FILE" = "yes"; then
36070 for wx_func in fsync
36072 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36073 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36074 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36075 echo $ECHO_N "(cached) $ECHO_C" >&6
36078 cat >conftest.$ac_ext <<_ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36087 $ac_includes_default
36103 rm -f conftest.$ac_objext conftest$ac_exeext
36104 if { (ac_try="$ac_link"
36105 case "(($ac_try" in
36106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36107 *) ac_try_echo=$ac_try;;
36109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36110 (eval "$ac_link") 2>conftest.er1
36112 grep -v '^ *+' conftest.er1 >conftest.err
36114 cat conftest.err >&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); } && {
36117 test -z "$ac_c_werror_flag" ||
36118 test ! -s conftest.err
36119 } && test -s conftest$ac_exeext &&
36120 $as_test_x conftest$ac_exeext; then
36121 eval wx_cv_func_$wx_func=yes
36123 echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36126 eval wx_cv_func_$wx_func=no
36129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36130 conftest$ac_exeext conftest.$ac_ext
36133 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36134 { echo "$as_me:$LINENO: result: $ac_res" >&5
36135 echo "${ECHO_T}$ac_res" >&6; }
36137 if eval test \$wx_cv_func_$wx_func = yes
36139 cat >>confdefs.h <<_ACEOF
36140 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36153 ac_cpp='$CXXCPP $CPPFLAGS'
36154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36159 for wx_func in round
36161 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36162 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36163 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36164 echo $ECHO_N "(cached) $ECHO_C" >&6
36167 cat >conftest.$ac_ext <<_ACEOF
36171 cat confdefs.h >>conftest.$ac_ext
36172 cat >>conftest.$ac_ext <<_ACEOF
36173 /* end confdefs.h. */
36176 $ac_includes_default
36192 rm -f conftest.$ac_objext conftest$ac_exeext
36193 if { (ac_try="$ac_link"
36194 case "(($ac_try" in
36195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36196 *) ac_try_echo=$ac_try;;
36198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36199 (eval "$ac_link") 2>conftest.er1
36201 grep -v '^ *+' conftest.er1 >conftest.err
36203 cat conftest.err >&5
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); } && {
36206 test -z "$ac_cxx_werror_flag" ||
36207 test ! -s conftest.err
36208 } && test -s conftest$ac_exeext &&
36209 $as_test_x conftest$ac_exeext; then
36210 eval wx_cv_func_$wx_func=yes
36212 echo "$as_me: failed program was:" >&5
36213 sed 's/^/| /' conftest.$ac_ext >&5
36215 eval wx_cv_func_$wx_func=no
36218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36219 conftest$ac_exeext conftest.$ac_ext
36222 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36223 { echo "$as_me:$LINENO: result: $ac_res" >&5
36224 echo "${ECHO_T}$ac_res" >&6; }
36226 if eval test \$wx_cv_func_$wx_func = yes
36228 cat >>confdefs.h <<_ACEOF
36229 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36240 ac_cpp='$CPP $CPPFLAGS'
36241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36246 if test "$TOOLKIT" != "MSW"; then
36248 if test "$wxUSE_LIBICONV" != "no" ; then
36252 # Check whether --with-libiconv-prefix was given.
36253 if test "${with_libiconv_prefix+set}" = set; then
36254 withval=$with_libiconv_prefix;
36255 for dir in `echo "$withval" | tr : ' '`; do
36256 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36257 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36263 { echo "$as_me:$LINENO: checking for iconv" >&5
36264 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36265 if test "${am_cv_func_iconv+set}" = set; then
36266 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 am_cv_func_iconv="no, consider installing GNU libiconv"
36271 cat >conftest.$ac_ext <<_ACEOF
36274 cat confdefs.h >>conftest.$ac_ext
36275 cat >>conftest.$ac_ext <<_ACEOF
36276 /* end confdefs.h. */
36277 #include <stdlib.h>
36282 iconv_t cd = iconv_open("","");
36283 iconv(cd,NULL,NULL,NULL,NULL);
36289 rm -f conftest.$ac_objext conftest$ac_exeext
36290 if { (ac_try="$ac_link"
36291 case "(($ac_try" in
36292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36293 *) ac_try_echo=$ac_try;;
36295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36296 (eval "$ac_link") 2>conftest.er1
36298 grep -v '^ *+' conftest.er1 >conftest.err
36300 cat conftest.err >&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } && {
36303 test -z "$ac_c_werror_flag" ||
36304 test ! -s conftest.err
36305 } && test -s conftest$ac_exeext &&
36306 $as_test_x conftest$ac_exeext; then
36307 am_cv_func_iconv=yes
36309 echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.$ac_ext >&5
36315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36316 conftest$ac_exeext conftest.$ac_ext
36317 if test "$am_cv_func_iconv" != yes; then
36318 am_save_LIBS="$LIBS"
36319 LIBS="$LIBS -liconv"
36320 cat >conftest.$ac_ext <<_ACEOF
36323 cat confdefs.h >>conftest.$ac_ext
36324 cat >>conftest.$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36326 #include <stdlib.h>
36331 iconv_t cd = iconv_open("","");
36332 iconv(cd,NULL,NULL,NULL,NULL);
36338 rm -f conftest.$ac_objext conftest$ac_exeext
36339 if { (ac_try="$ac_link"
36340 case "(($ac_try" in
36341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36342 *) ac_try_echo=$ac_try;;
36344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36345 (eval "$ac_link") 2>conftest.er1
36347 grep -v '^ *+' conftest.er1 >conftest.err
36349 cat conftest.err >&5
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); } && {
36352 test -z "$ac_c_werror_flag" ||
36353 test ! -s conftest.err
36354 } && test -s conftest$ac_exeext &&
36355 $as_test_x conftest$ac_exeext; then
36356 am_cv_lib_iconv=yes
36357 am_cv_func_iconv=yes
36359 echo "$as_me: failed program was:" >&5
36360 sed 's/^/| /' conftest.$ac_ext >&5
36365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36366 conftest$ac_exeext conftest.$ac_ext
36367 LIBS="$am_save_LIBS"
36371 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36372 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36373 if test "$am_cv_func_iconv" = yes; then
36375 cat >>confdefs.h <<\_ACEOF
36376 #define HAVE_ICONV 1
36379 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36380 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36381 if test "${wx_cv_func_iconv_const+set}" = set; then
36382 echo $ECHO_N "(cached) $ECHO_C" >&6
36384 cat >conftest.$ac_ext <<_ACEOF
36387 cat confdefs.h >>conftest.$ac_ext
36388 cat >>conftest.$ac_ext <<_ACEOF
36389 /* end confdefs.h. */
36391 #include <stdlib.h>
36397 #if defined(__STDC__) || defined(__cplusplus)
36398 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36411 rm -f conftest.$ac_objext
36412 if { (ac_try="$ac_compile"
36413 case "(($ac_try" in
36414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36415 *) ac_try_echo=$ac_try;;
36417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36418 (eval "$ac_compile") 2>conftest.er1
36420 grep -v '^ *+' conftest.er1 >conftest.err
36422 cat conftest.err >&5
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); } && {
36425 test -z "$ac_c_werror_flag" ||
36426 test ! -s conftest.err
36427 } && test -s conftest.$ac_objext; then
36428 wx_cv_func_iconv_const="no"
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.$ac_ext >&5
36433 wx_cv_func_iconv_const="yes"
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36440 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36441 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36444 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36445 iconv_const="const"
36449 cat >>confdefs.h <<_ACEOF
36450 #define ICONV_CONST $iconv_const
36455 if test "$am_cv_lib_iconv" = yes; then
36460 LIBS="$LIBICONV $LIBS"
36463 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36465 for ac_func in sigaction
36467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36468 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36471 echo $ECHO_N "(cached) $ECHO_C" >&6
36473 cat >conftest.$ac_ext <<_ACEOF
36476 cat confdefs.h >>conftest.$ac_ext
36477 cat >>conftest.$ac_ext <<_ACEOF
36478 /* end confdefs.h. */
36479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36481 #define $ac_func innocuous_$ac_func
36483 /* System header to define __stub macros and hopefully few prototypes,
36484 which can conflict with char $ac_func (); below.
36485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36486 <limits.h> exists even on freestanding compilers. */
36489 # include <limits.h>
36491 # include <assert.h>
36496 /* Override any GCC internal prototype to avoid an error.
36497 Use char because int might match the return type of a GCC
36498 builtin and then its argument prototype would still apply. */
36503 /* The GNU C library defines this for functions which it implements
36504 to always fail with ENOSYS. Some functions are actually named
36505 something starting with __ and the normal name is an alias. */
36506 #if defined __stub_$ac_func || defined __stub___$ac_func
36513 return $ac_func ();
36518 rm -f conftest.$ac_objext conftest$ac_exeext
36519 if { (ac_try="$ac_link"
36520 case "(($ac_try" in
36521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36522 *) ac_try_echo=$ac_try;;
36524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36525 (eval "$ac_link") 2>conftest.er1
36527 grep -v '^ *+' conftest.er1 >conftest.err
36529 cat conftest.err >&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } && {
36532 test -z "$ac_c_werror_flag" ||
36533 test ! -s conftest.err
36534 } && test -s conftest$ac_exeext &&
36535 $as_test_x conftest$ac_exeext; then
36536 eval "$as_ac_var=yes"
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36541 eval "$as_ac_var=no"
36544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36545 conftest$ac_exeext conftest.$ac_ext
36547 ac_res=`eval echo '${'$as_ac_var'}'`
36548 { echo "$as_me:$LINENO: result: $ac_res" >&5
36549 echo "${ECHO_T}$ac_res" >&6; }
36550 if test `eval echo '${'$as_ac_var'}'` = yes; then
36551 cat >>confdefs.h <<_ACEOF
36552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36559 if test "$ac_cv_func_sigaction" = "no"; then
36560 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36561 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36562 wxUSE_ON_FATAL_EXCEPTION=no
36565 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36566 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36567 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36568 if test "${wx_cv_type_sa_handler+set}" = set; then
36569 echo $ECHO_N "(cached) $ECHO_C" >&6
36573 ac_cpp='$CXXCPP $CPPFLAGS'
36574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36578 cat >conftest.$ac_ext <<_ACEOF
36581 cat confdefs.h >>conftest.$ac_ext
36582 cat >>conftest.$ac_ext <<_ACEOF
36583 /* end confdefs.h. */
36584 #include <signal.h>
36589 extern void testSigHandler(int);
36591 struct sigaction sa;
36592 sa.sa_handler = testSigHandler;
36598 rm -f conftest.$ac_objext
36599 if { (ac_try="$ac_compile"
36600 case "(($ac_try" in
36601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36602 *) ac_try_echo=$ac_try;;
36604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36605 (eval "$ac_compile") 2>conftest.er1
36607 grep -v '^ *+' conftest.er1 >conftest.err
36609 cat conftest.err >&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } && {
36612 test -z "$ac_cxx_werror_flag" ||
36613 test ! -s conftest.err
36614 } && test -s conftest.$ac_objext; then
36616 wx_cv_type_sa_handler=int
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36623 wx_cv_type_sa_handler=void
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36636 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36637 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36639 cat >>confdefs.h <<_ACEOF
36640 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36646 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36647 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36648 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36649 if test "${wx_cv_func_backtrace+set}" = set; then
36650 echo $ECHO_N "(cached) $ECHO_C" >&6
36654 ac_cpp='$CXXCPP $CPPFLAGS'
36655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36659 cat >conftest.$ac_ext <<_ACEOF
36662 cat confdefs.h >>conftest.$ac_ext
36663 cat >>conftest.$ac_ext <<_ACEOF
36664 /* end confdefs.h. */
36665 #include <execinfo.h>
36673 backtrace(trace, 1);
36674 messages = backtrace_symbols(trace, 1);
36680 rm -f conftest.$ac_objext
36681 if { (ac_try="$ac_compile"
36682 case "(($ac_try" in
36683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36684 *) ac_try_echo=$ac_try;;
36686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36687 (eval "$ac_compile") 2>conftest.er1
36689 grep -v '^ *+' conftest.er1 >conftest.err
36691 cat conftest.err >&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } && {
36694 test -z "$ac_cxx_werror_flag" ||
36695 test ! -s conftest.err
36696 } && test -s conftest.$ac_objext; then
36697 wx_cv_func_backtrace=yes
36699 echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36702 wx_cv_func_backtrace=no
36706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36708 ac_cpp='$CPP $CPPFLAGS'
36709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36716 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36717 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36720 if test "$wx_cv_func_backtrace" = "no"; then
36721 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36722 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36723 wxUSE_STACKWALKER=no
36725 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36726 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36727 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36728 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat >conftest.$ac_ext <<_ACEOF
36740 cat confdefs.h >>conftest.$ac_ext
36741 cat >>conftest.$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 #include <cxxabi.h>
36749 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36755 rm -f conftest.$ac_objext conftest$ac_exeext
36756 if { (ac_try="$ac_link"
36757 case "(($ac_try" in
36758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36759 *) ac_try_echo=$ac_try;;
36761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36762 (eval "$ac_link") 2>conftest.er1
36764 grep -v '^ *+' conftest.er1 >conftest.err
36766 cat conftest.err >&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); } && {
36769 test -z "$ac_cxx_werror_flag" ||
36770 test ! -s conftest.err
36771 } && test -s conftest$ac_exeext &&
36772 $as_test_x conftest$ac_exeext; then
36773 wx_cv_func_cxa_demangle=yes
36775 echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.$ac_ext >&5
36778 wx_cv_func_cxa_demangle=no
36782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36783 conftest$ac_exeext conftest.$ac_ext
36785 ac_cpp='$CPP $CPPFLAGS'
36786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36793 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36794 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36796 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36797 cat >>confdefs.h <<\_ACEOF
36798 #define HAVE_CXA_DEMANGLE 1
36805 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36806 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36807 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36808 wxUSE_STACKWALKER=no
36814 for ac_func in mkstemp mktemp
36816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36817 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36820 echo $ECHO_N "(cached) $ECHO_C" >&6
36822 cat >conftest.$ac_ext <<_ACEOF
36825 cat confdefs.h >>conftest.$ac_ext
36826 cat >>conftest.$ac_ext <<_ACEOF
36827 /* end confdefs.h. */
36828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36830 #define $ac_func innocuous_$ac_func
36832 /* System header to define __stub macros and hopefully few prototypes,
36833 which can conflict with char $ac_func (); below.
36834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36835 <limits.h> exists even on freestanding compilers. */
36838 # include <limits.h>
36840 # include <assert.h>
36845 /* Override any GCC internal prototype to avoid an error.
36846 Use char because int might match the return type of a GCC
36847 builtin and then its argument prototype would still apply. */
36852 /* The GNU C library defines this for functions which it implements
36853 to always fail with ENOSYS. Some functions are actually named
36854 something starting with __ and the normal name is an alias. */
36855 #if defined __stub_$ac_func || defined __stub___$ac_func
36862 return $ac_func ();
36867 rm -f conftest.$ac_objext conftest$ac_exeext
36868 if { (ac_try="$ac_link"
36869 case "(($ac_try" in
36870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36871 *) ac_try_echo=$ac_try;;
36873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36874 (eval "$ac_link") 2>conftest.er1
36876 grep -v '^ *+' conftest.er1 >conftest.err
36878 cat conftest.err >&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); } && {
36881 test -z "$ac_c_werror_flag" ||
36882 test ! -s conftest.err
36883 } && test -s conftest$ac_exeext &&
36884 $as_test_x conftest$ac_exeext; then
36885 eval "$as_ac_var=yes"
36887 echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.$ac_ext >&5
36890 eval "$as_ac_var=no"
36893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36894 conftest$ac_exeext conftest.$ac_ext
36896 ac_res=`eval echo '${'$as_ac_var'}'`
36897 { echo "$as_me:$LINENO: result: $ac_res" >&5
36898 echo "${ECHO_T}$ac_res" >&6; }
36899 if test `eval echo '${'$as_ac_var'}'` = yes; then
36900 cat >>confdefs.h <<_ACEOF
36901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36908 { echo "$as_me:$LINENO: checking for statfs" >&5
36909 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36910 if test "${wx_cv_func_statfs+set}" = set; then
36911 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 cat >conftest.$ac_ext <<_ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36920 #if defined(__BSD__)
36921 #include <sys/param.h>
36922 #include <sys/mount.h>
36924 #include <sys/vfs.h>
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36946 *) ac_try_echo=$ac_try;;
36948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36949 (eval "$ac_compile") 2>conftest.er1
36951 grep -v '^ *+' conftest.er1 >conftest.err
36953 cat conftest.err >&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } && {
36956 test -z "$ac_c_werror_flag" ||
36957 test ! -s conftest.err
36958 } && test -s conftest.$ac_objext; then
36959 wx_cv_func_statfs=yes
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36964 wx_cv_func_statfs=no
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36971 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36972 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36974 if test "$wx_cv_func_statfs" = "yes"; then
36975 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36976 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36977 if test "${wx_cv_func_statfs_decl+set}" = set; then
36978 echo $ECHO_N "(cached) $ECHO_C" >&6
36981 ac_cpp='$CXXCPP $CPPFLAGS'
36982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986 cat >conftest.$ac_ext <<_ACEOF
36989 cat confdefs.h >>conftest.$ac_ext
36990 cat >>conftest.$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36993 #if defined(__BSD__)
36994 #include <sys/param.h>
36995 #include <sys/mount.h>
36997 #include <sys/vfs.h>
37011 rm -f conftest.$ac_objext
37012 if { (ac_try="$ac_compile"
37013 case "(($ac_try" in
37014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37015 *) ac_try_echo=$ac_try;;
37017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37018 (eval "$ac_compile") 2>conftest.er1
37020 grep -v '^ *+' conftest.er1 >conftest.err
37022 cat conftest.err >&5
37023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024 (exit $ac_status); } && {
37025 test -z "$ac_cxx_werror_flag" ||
37026 test ! -s conftest.err
37027 } && test -s conftest.$ac_objext; then
37028 wx_cv_func_statfs_decl=yes
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37033 wx_cv_func_statfs_decl=no
37037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37039 ac_cpp='$CPP $CPPFLAGS'
37040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37046 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37047 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37049 if test "$wx_cv_func_statfs_decl" = "yes"; then
37050 cat >>confdefs.h <<\_ACEOF
37051 #define HAVE_STATFS_DECL 1
37056 wx_cv_type_statvfs_t="struct statfs"
37057 cat >>confdefs.h <<\_ACEOF
37058 #define HAVE_STATFS 1
37062 { echo "$as_me:$LINENO: checking for statvfs" >&5
37063 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37064 if test "${wx_cv_func_statvfs+set}" = set; then
37065 echo $ECHO_N "(cached) $ECHO_C" >&6
37067 cat >conftest.$ac_ext <<_ACEOF
37070 cat confdefs.h >>conftest.$ac_ext
37071 cat >>conftest.$ac_ext <<_ACEOF
37072 /* end confdefs.h. */
37074 #include <stddef.h>
37075 #include <sys/statvfs.h>
37081 statvfs("/", NULL);
37087 rm -f conftest.$ac_objext
37088 if { (ac_try="$ac_compile"
37089 case "(($ac_try" in
37090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37091 *) ac_try_echo=$ac_try;;
37093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37094 (eval "$ac_compile") 2>conftest.er1
37096 grep -v '^ *+' conftest.er1 >conftest.err
37098 cat conftest.err >&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); } && {
37101 test -z "$ac_c_werror_flag" ||
37102 test ! -s conftest.err
37103 } && test -s conftest.$ac_objext; then
37104 wx_cv_func_statvfs=yes
37106 echo "$as_me: failed program was:" >&5
37107 sed 's/^/| /' conftest.$ac_ext >&5
37109 wx_cv_func_statvfs=no
37113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37116 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37117 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37119 if test "$wx_cv_func_statvfs" = "yes"; then
37120 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37121 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37122 if test "${wx_cv_type_statvfs_t+set}" = set; then
37123 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 ac_cpp='$CXXCPP $CPPFLAGS'
37127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37131 cat >conftest.$ac_ext <<_ACEOF
37134 cat confdefs.h >>conftest.$ac_ext
37135 cat >>conftest.$ac_ext <<_ACEOF
37136 /* end confdefs.h. */
37138 #include <sys/statvfs.h>
37155 rm -f conftest.$ac_objext
37156 if { (ac_try="$ac_compile"
37157 case "(($ac_try" in
37158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37159 *) ac_try_echo=$ac_try;;
37161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37162 (eval "$ac_compile") 2>conftest.er1
37164 grep -v '^ *+' conftest.er1 >conftest.err
37166 cat conftest.err >&5
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); } && {
37169 test -z "$ac_cxx_werror_flag" ||
37170 test ! -s conftest.err
37171 } && test -s conftest.$ac_objext; then
37172 wx_cv_type_statvfs_t=statvfs_t
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37178 cat >conftest.$ac_ext <<_ACEOF
37181 cat confdefs.h >>conftest.$ac_ext
37182 cat >>conftest.$ac_ext <<_ACEOF
37183 /* end confdefs.h. */
37185 #include <sys/statvfs.h>
37202 rm -f conftest.$ac_objext
37203 if { (ac_try="$ac_compile"
37204 case "(($ac_try" in
37205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37206 *) ac_try_echo=$ac_try;;
37208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37209 (eval "$ac_compile") 2>conftest.er1
37211 grep -v '^ *+' conftest.er1 >conftest.err
37213 cat conftest.err >&5
37214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37215 (exit $ac_status); } && {
37216 test -z "$ac_cxx_werror_flag" ||
37217 test ! -s conftest.err
37218 } && test -s conftest.$ac_objext; then
37219 wx_cv_type_statvfs_t="struct statvfs"
37221 echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.$ac_ext >&5
37224 wx_cv_type_statvfs_t="unknown"
37228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37235 ac_cpp='$CPP $CPPFLAGS'
37236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37242 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37243 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37245 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37246 cat >>confdefs.h <<\_ACEOF
37247 #define HAVE_STATVFS 1
37252 wx_cv_type_statvfs_t="unknown"
37256 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37257 cat >>confdefs.h <<_ACEOF
37258 #define WX_STATFS_T $wx_cv_type_statvfs_t
37262 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37263 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37266 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37269 for ac_func in fcntl flock
37271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37275 echo $ECHO_N "(cached) $ECHO_C" >&6
37277 cat >conftest.$ac_ext <<_ACEOF
37280 cat confdefs.h >>conftest.$ac_ext
37281 cat >>conftest.$ac_ext <<_ACEOF
37282 /* end confdefs.h. */
37283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37285 #define $ac_func innocuous_$ac_func
37287 /* System header to define __stub macros and hopefully few prototypes,
37288 which can conflict with char $ac_func (); below.
37289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37290 <limits.h> exists even on freestanding compilers. */
37293 # include <limits.h>
37295 # include <assert.h>
37300 /* Override any GCC internal prototype to avoid an error.
37301 Use char because int might match the return type of a GCC
37302 builtin and then its argument prototype would still apply. */
37307 /* The GNU C library defines this for functions which it implements
37308 to always fail with ENOSYS. Some functions are actually named
37309 something starting with __ and the normal name is an alias. */
37310 #if defined __stub_$ac_func || defined __stub___$ac_func
37317 return $ac_func ();
37322 rm -f conftest.$ac_objext conftest$ac_exeext
37323 if { (ac_try="$ac_link"
37324 case "(($ac_try" in
37325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37326 *) ac_try_echo=$ac_try;;
37328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37329 (eval "$ac_link") 2>conftest.er1
37331 grep -v '^ *+' conftest.er1 >conftest.err
37333 cat conftest.err >&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); } && {
37336 test -z "$ac_c_werror_flag" ||
37337 test ! -s conftest.err
37338 } && test -s conftest$ac_exeext &&
37339 $as_test_x conftest$ac_exeext; then
37340 eval "$as_ac_var=yes"
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37345 eval "$as_ac_var=no"
37348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37349 conftest$ac_exeext conftest.$ac_ext
37351 ac_res=`eval echo '${'$as_ac_var'}'`
37352 { echo "$as_me:$LINENO: result: $ac_res" >&5
37353 echo "${ECHO_T}$ac_res" >&6; }
37354 if test `eval echo '${'$as_ac_var'}'` = yes; then
37355 cat >>confdefs.h <<_ACEOF
37356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37363 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37364 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37365 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37366 wxUSE_SNGLINST_CHECKER=no
37372 for ac_func in setenv putenv
37374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37375 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37378 echo $ECHO_N "(cached) $ECHO_C" >&6
37380 cat >conftest.$ac_ext <<_ACEOF
37383 cat confdefs.h >>conftest.$ac_ext
37384 cat >>conftest.$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37388 #define $ac_func innocuous_$ac_func
37390 /* System header to define __stub macros and hopefully few prototypes,
37391 which can conflict with char $ac_func (); below.
37392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37393 <limits.h> exists even on freestanding compilers. */
37396 # include <limits.h>
37398 # include <assert.h>
37403 /* Override any GCC internal prototype to avoid an error.
37404 Use char because int might match the return type of a GCC
37405 builtin and then its argument prototype would still apply. */
37410 /* The GNU C library defines this for functions which it implements
37411 to always fail with ENOSYS. Some functions are actually named
37412 something starting with __ and the normal name is an alias. */
37413 #if defined __stub_$ac_func || defined __stub___$ac_func
37420 return $ac_func ();
37425 rm -f conftest.$ac_objext conftest$ac_exeext
37426 if { (ac_try="$ac_link"
37427 case "(($ac_try" in
37428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37429 *) ac_try_echo=$ac_try;;
37431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37432 (eval "$ac_link") 2>conftest.er1
37434 grep -v '^ *+' conftest.er1 >conftest.err
37436 cat conftest.err >&5
37437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438 (exit $ac_status); } && {
37439 test -z "$ac_c_werror_flag" ||
37440 test ! -s conftest.err
37441 } && test -s conftest$ac_exeext &&
37442 $as_test_x conftest$ac_exeext; then
37443 eval "$as_ac_var=yes"
37445 echo "$as_me: failed program was:" >&5
37446 sed 's/^/| /' conftest.$ac_ext >&5
37448 eval "$as_ac_var=no"
37451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37452 conftest$ac_exeext conftest.$ac_ext
37454 ac_res=`eval echo '${'$as_ac_var'}'`
37455 { echo "$as_me:$LINENO: result: $ac_res" >&5
37456 echo "${ECHO_T}$ac_res" >&6; }
37457 if test `eval echo '${'$as_ac_var'}'` = yes; then
37458 cat >>confdefs.h <<_ACEOF
37459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37465 if test "$ac_cv_func_setenv" = "yes"; then
37467 for ac_func in unsetenv
37469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37473 echo $ECHO_N "(cached) $ECHO_C" >&6
37475 cat >conftest.$ac_ext <<_ACEOF
37478 cat confdefs.h >>conftest.$ac_ext
37479 cat >>conftest.$ac_ext <<_ACEOF
37480 /* end confdefs.h. */
37481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37483 #define $ac_func innocuous_$ac_func
37485 /* System header to define __stub macros and hopefully few prototypes,
37486 which can conflict with char $ac_func (); below.
37487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37488 <limits.h> exists even on freestanding compilers. */
37491 # include <limits.h>
37493 # include <assert.h>
37498 /* Override any GCC internal prototype to avoid an error.
37499 Use char because int might match the return type of a GCC
37500 builtin and then its argument prototype would still apply. */
37505 /* The GNU C library defines this for functions which it implements
37506 to always fail with ENOSYS. Some functions are actually named
37507 something starting with __ and the normal name is an alias. */
37508 #if defined __stub_$ac_func || defined __stub___$ac_func
37515 return $ac_func ();
37520 rm -f conftest.$ac_objext conftest$ac_exeext
37521 if { (ac_try="$ac_link"
37522 case "(($ac_try" in
37523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37524 *) ac_try_echo=$ac_try;;
37526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37527 (eval "$ac_link") 2>conftest.er1
37529 grep -v '^ *+' conftest.er1 >conftest.err
37531 cat conftest.err >&5
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); } && {
37534 test -z "$ac_c_werror_flag" ||
37535 test ! -s conftest.err
37536 } && test -s conftest$ac_exeext &&
37537 $as_test_x conftest$ac_exeext; then
37538 eval "$as_ac_var=yes"
37540 echo "$as_me: failed program was:" >&5
37541 sed 's/^/| /' conftest.$ac_ext >&5
37543 eval "$as_ac_var=no"
37546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37547 conftest$ac_exeext conftest.$ac_ext
37549 ac_res=`eval echo '${'$as_ac_var'}'`
37550 { echo "$as_me:$LINENO: result: $ac_res" >&5
37551 echo "${ECHO_T}$ac_res" >&6; }
37552 if test `eval echo '${'$as_ac_var'}'` = yes; then
37553 cat >>confdefs.h <<_ACEOF
37554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37562 HAVE_SOME_SLEEP_FUNC=0
37563 if test "$USE_BEOS" = 1; then
37564 cat >>confdefs.h <<\_ACEOF
37565 #define HAVE_SLEEP 1
37568 HAVE_SOME_SLEEP_FUNC=1
37571 if test "$USE_DARWIN" = 1; then
37572 cat >>confdefs.h <<\_ACEOF
37573 #define HAVE_USLEEP 1
37576 HAVE_SOME_SLEEP_FUNC=1
37579 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37582 for ac_func in nanosleep
37584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37590 cat >conftest.$ac_ext <<_ACEOF
37593 cat confdefs.h >>conftest.$ac_ext
37594 cat >>conftest.$ac_ext <<_ACEOF
37595 /* end confdefs.h. */
37596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37598 #define $ac_func innocuous_$ac_func
37600 /* System header to define __stub macros and hopefully few prototypes,
37601 which can conflict with char $ac_func (); below.
37602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37603 <limits.h> exists even on freestanding compilers. */
37606 # include <limits.h>
37608 # include <assert.h>
37613 /* Override any GCC internal prototype to avoid an error.
37614 Use char because int might match the return type of a GCC
37615 builtin and then its argument prototype would still apply. */
37620 /* The GNU C library defines this for functions which it implements
37621 to always fail with ENOSYS. Some functions are actually named
37622 something starting with __ and the normal name is an alias. */
37623 #if defined __stub_$ac_func || defined __stub___$ac_func
37630 return $ac_func ();
37635 rm -f conftest.$ac_objext conftest$ac_exeext
37636 if { (ac_try="$ac_link"
37637 case "(($ac_try" in
37638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37639 *) ac_try_echo=$ac_try;;
37641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37642 (eval "$ac_link") 2>conftest.er1
37644 grep -v '^ *+' conftest.er1 >conftest.err
37646 cat conftest.err >&5
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); } && {
37649 test -z "$ac_c_werror_flag" ||
37650 test ! -s conftest.err
37651 } && test -s conftest$ac_exeext &&
37652 $as_test_x conftest$ac_exeext; then
37653 eval "$as_ac_var=yes"
37655 echo "$as_me: failed program was:" >&5
37656 sed 's/^/| /' conftest.$ac_ext >&5
37658 eval "$as_ac_var=no"
37661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37662 conftest$ac_exeext conftest.$ac_ext
37664 ac_res=`eval echo '${'$as_ac_var'}'`
37665 { echo "$as_me:$LINENO: result: $ac_res" >&5
37666 echo "${ECHO_T}$ac_res" >&6; }
37667 if test `eval echo '${'$as_ac_var'}'` = yes; then
37668 cat >>confdefs.h <<_ACEOF
37669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37671 cat >>confdefs.h <<\_ACEOF
37672 #define HAVE_NANOSLEEP 1
37677 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37678 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37679 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37680 echo $ECHO_N "(cached) $ECHO_C" >&6
37682 ac_check_lib_save_LIBS=$LIBS
37683 LIBS="-lposix4 $LIBS"
37684 cat >conftest.$ac_ext <<_ACEOF
37687 cat confdefs.h >>conftest.$ac_ext
37688 cat >>conftest.$ac_ext <<_ACEOF
37689 /* end confdefs.h. */
37691 /* Override any GCC internal prototype to avoid an error.
37692 Use char because int might match the return type of a GCC
37693 builtin and then its argument prototype would still apply. */
37701 return nanosleep ();
37706 rm -f conftest.$ac_objext conftest$ac_exeext
37707 if { (ac_try="$ac_link"
37708 case "(($ac_try" in
37709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37710 *) ac_try_echo=$ac_try;;
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_link") 2>conftest.er1
37715 grep -v '^ *+' conftest.er1 >conftest.err
37717 cat conftest.err >&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } && {
37720 test -z "$ac_c_werror_flag" ||
37721 test ! -s conftest.err
37722 } && test -s conftest$ac_exeext &&
37723 $as_test_x conftest$ac_exeext; then
37724 ac_cv_lib_posix4_nanosleep=yes
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37729 ac_cv_lib_posix4_nanosleep=no
37732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37733 conftest$ac_exeext conftest.$ac_ext
37734 LIBS=$ac_check_lib_save_LIBS
37736 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37737 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37738 if test $ac_cv_lib_posix4_nanosleep = yes; then
37740 cat >>confdefs.h <<\_ACEOF
37741 #define HAVE_NANOSLEEP 1
37744 POSIX4_LINK=" -lposix4"
37749 for wx_func in usleep
37751 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37752 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37753 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37754 echo $ECHO_N "(cached) $ECHO_C" >&6
37757 cat >conftest.$ac_ext <<_ACEOF
37761 cat confdefs.h >>conftest.$ac_ext
37762 cat >>conftest.$ac_ext <<_ACEOF
37763 /* end confdefs.h. */
37766 $ac_includes_default
37782 rm -f conftest.$ac_objext conftest$ac_exeext
37783 if { (ac_try="$ac_link"
37784 case "(($ac_try" in
37785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37786 *) ac_try_echo=$ac_try;;
37788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37789 (eval "$ac_link") 2>conftest.er1
37791 grep -v '^ *+' conftest.er1 >conftest.err
37793 cat conftest.err >&5
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); } && {
37796 test -z "$ac_c_werror_flag" ||
37797 test ! -s conftest.err
37798 } && test -s conftest$ac_exeext &&
37799 $as_test_x conftest$ac_exeext; then
37800 eval wx_cv_func_$wx_func=yes
37802 echo "$as_me: failed program was:" >&5
37803 sed 's/^/| /' conftest.$ac_ext >&5
37805 eval wx_cv_func_$wx_func=no
37808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37809 conftest$ac_exeext conftest.$ac_ext
37812 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37813 { echo "$as_me:$LINENO: result: $ac_res" >&5
37814 echo "${ECHO_T}$ac_res" >&6; }
37816 if eval test \$wx_cv_func_$wx_func = yes
37818 cat >>confdefs.h <<_ACEOF
37819 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37825 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37826 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37843 for wx_func in uname
37845 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37846 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37847 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37848 echo $ECHO_N "(cached) $ECHO_C" >&6
37851 cat >conftest.$ac_ext <<_ACEOF
37855 cat confdefs.h >>conftest.$ac_ext
37856 cat >>conftest.$ac_ext <<_ACEOF
37857 /* end confdefs.h. */
37859 #include <sys/utsname.h>
37860 $ac_includes_default
37876 rm -f conftest.$ac_objext conftest$ac_exeext
37877 if { (ac_try="$ac_link"
37878 case "(($ac_try" in
37879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37880 *) ac_try_echo=$ac_try;;
37882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37883 (eval "$ac_link") 2>conftest.er1
37885 grep -v '^ *+' conftest.er1 >conftest.err
37887 cat conftest.err >&5
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); } && {
37890 test -z "$ac_c_werror_flag" ||
37891 test ! -s conftest.err
37892 } && test -s conftest$ac_exeext &&
37893 $as_test_x conftest$ac_exeext; then
37894 eval wx_cv_func_$wx_func=yes
37896 echo "$as_me: failed program was:" >&5
37897 sed 's/^/| /' conftest.$ac_ext >&5
37899 eval wx_cv_func_$wx_func=no
37902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37903 conftest$ac_exeext conftest.$ac_ext
37906 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37907 { echo "$as_me:$LINENO: result: $ac_res" >&5
37908 echo "${ECHO_T}$ac_res" >&6; }
37910 if eval test \$wx_cv_func_$wx_func = yes
37912 cat >>confdefs.h <<_ACEOF
37913 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37923 if test "$wx_cv_func_uname" != yes; then
37925 for wx_func in gethostname
37927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 cat >conftest.$ac_ext <<_ACEOF
37937 cat confdefs.h >>conftest.$ac_ext
37938 cat >>conftest.$ac_ext <<_ACEOF
37939 /* end confdefs.h. */
37942 $ac_includes_default
37958 rm -f conftest.$ac_objext conftest$ac_exeext
37959 if { (ac_try="$ac_link"
37960 case "(($ac_try" in
37961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37962 *) ac_try_echo=$ac_try;;
37964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37965 (eval "$ac_link") 2>conftest.er1
37967 grep -v '^ *+' conftest.er1 >conftest.err
37969 cat conftest.err >&5
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); } && {
37972 test -z "$ac_c_werror_flag" ||
37973 test ! -s conftest.err
37974 } && test -s conftest$ac_exeext &&
37975 $as_test_x conftest$ac_exeext; then
37976 eval wx_cv_func_$wx_func=yes
37978 echo "$as_me: failed program was:" >&5
37979 sed 's/^/| /' conftest.$ac_ext >&5
37981 eval wx_cv_func_$wx_func=no
37984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37985 conftest$ac_exeext conftest.$ac_ext
37988 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37989 { echo "$as_me:$LINENO: result: $ac_res" >&5
37990 echo "${ECHO_T}$ac_res" >&6; }
37992 if eval test \$wx_cv_func_$wx_func = yes
37994 cat >>confdefs.h <<_ACEOF
37995 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38008 for wx_func in strtok_r
38010 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38011 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38012 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38013 echo $ECHO_N "(cached) $ECHO_C" >&6
38016 cat >conftest.$ac_ext <<_ACEOF
38020 cat confdefs.h >>conftest.$ac_ext
38021 cat >>conftest.$ac_ext <<_ACEOF
38022 /* end confdefs.h. */
38025 $ac_includes_default
38041 rm -f conftest.$ac_objext conftest$ac_exeext
38042 if { (ac_try="$ac_link"
38043 case "(($ac_try" in
38044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38045 *) ac_try_echo=$ac_try;;
38047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38048 (eval "$ac_link") 2>conftest.er1
38050 grep -v '^ *+' conftest.er1 >conftest.err
38052 cat conftest.err >&5
38053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38054 (exit $ac_status); } && {
38055 test -z "$ac_c_werror_flag" ||
38056 test ! -s conftest.err
38057 } && test -s conftest$ac_exeext &&
38058 $as_test_x conftest$ac_exeext; then
38059 eval wx_cv_func_$wx_func=yes
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
38064 eval wx_cv_func_$wx_func=no
38067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38068 conftest$ac_exeext conftest.$ac_ext
38071 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38072 { echo "$as_me:$LINENO: result: $ac_res" >&5
38073 echo "${ECHO_T}$ac_res" >&6; }
38075 if eval test \$wx_cv_func_$wx_func = yes
38077 cat >>confdefs.h <<_ACEOF
38078 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38091 for ac_func in inet_addr
38093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38096 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38099 cat >conftest.$ac_ext <<_ACEOF
38102 cat confdefs.h >>conftest.$ac_ext
38103 cat >>conftest.$ac_ext <<_ACEOF
38104 /* end confdefs.h. */
38105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38107 #define $ac_func innocuous_$ac_func
38109 /* System header to define __stub macros and hopefully few prototypes,
38110 which can conflict with char $ac_func (); below.
38111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38112 <limits.h> exists even on freestanding compilers. */
38115 # include <limits.h>
38117 # include <assert.h>
38122 /* Override any GCC internal prototype to avoid an error.
38123 Use char because int might match the return type of a GCC
38124 builtin and then its argument prototype would still apply. */
38129 /* The GNU C library defines this for functions which it implements
38130 to always fail with ENOSYS. Some functions are actually named
38131 something starting with __ and the normal name is an alias. */
38132 #if defined __stub_$ac_func || defined __stub___$ac_func
38139 return $ac_func ();
38144 rm -f conftest.$ac_objext conftest$ac_exeext
38145 if { (ac_try="$ac_link"
38146 case "(($ac_try" in
38147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38148 *) ac_try_echo=$ac_try;;
38150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38151 (eval "$ac_link") 2>conftest.er1
38153 grep -v '^ *+' conftest.er1 >conftest.err
38155 cat conftest.err >&5
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); } && {
38158 test -z "$ac_c_werror_flag" ||
38159 test ! -s conftest.err
38160 } && test -s conftest$ac_exeext &&
38161 $as_test_x conftest$ac_exeext; then
38162 eval "$as_ac_var=yes"
38164 echo "$as_me: failed program was:" >&5
38165 sed 's/^/| /' conftest.$ac_ext >&5
38167 eval "$as_ac_var=no"
38170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38171 conftest$ac_exeext conftest.$ac_ext
38173 ac_res=`eval echo '${'$as_ac_var'}'`
38174 { echo "$as_me:$LINENO: result: $ac_res" >&5
38175 echo "${ECHO_T}$ac_res" >&6; }
38176 if test `eval echo '${'$as_ac_var'}'` = yes; then
38177 cat >>confdefs.h <<_ACEOF
38178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38180 cat >>confdefs.h <<\_ACEOF
38181 #define HAVE_INET_ADDR 1
38186 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38187 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38188 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 ac_check_lib_save_LIBS=$LIBS
38193 cat >conftest.$ac_ext <<_ACEOF
38196 cat confdefs.h >>conftest.$ac_ext
38197 cat >>conftest.$ac_ext <<_ACEOF
38198 /* end confdefs.h. */
38200 /* Override any GCC internal prototype to avoid an error.
38201 Use char because int might match the return type of a GCC
38202 builtin and then its argument prototype would still apply. */
38210 return inet_addr ();
38215 rm -f conftest.$ac_objext conftest$ac_exeext
38216 if { (ac_try="$ac_link"
38217 case "(($ac_try" in
38218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38219 *) ac_try_echo=$ac_try;;
38221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38222 (eval "$ac_link") 2>conftest.er1
38224 grep -v '^ *+' conftest.er1 >conftest.err
38226 cat conftest.err >&5
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); } && {
38229 test -z "$ac_c_werror_flag" ||
38230 test ! -s conftest.err
38231 } && test -s conftest$ac_exeext &&
38232 $as_test_x conftest$ac_exeext; then
38233 ac_cv_lib_nsl_inet_addr=yes
38235 echo "$as_me: failed program was:" >&5
38236 sed 's/^/| /' conftest.$ac_ext >&5
38238 ac_cv_lib_nsl_inet_addr=no
38241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38242 conftest$ac_exeext conftest.$ac_ext
38243 LIBS=$ac_check_lib_save_LIBS
38245 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38246 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38247 if test $ac_cv_lib_nsl_inet_addr = yes; then
38251 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38252 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38253 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38256 ac_check_lib_save_LIBS=$LIBS
38257 LIBS="-lresolv $LIBS"
38258 cat >conftest.$ac_ext <<_ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38265 /* Override any GCC internal prototype to avoid an error.
38266 Use char because int might match the return type of a GCC
38267 builtin and then its argument prototype would still apply. */
38275 return inet_addr ();
38280 rm -f conftest.$ac_objext conftest$ac_exeext
38281 if { (ac_try="$ac_link"
38282 case "(($ac_try" in
38283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38284 *) ac_try_echo=$ac_try;;
38286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38287 (eval "$ac_link") 2>conftest.er1
38289 grep -v '^ *+' conftest.er1 >conftest.err
38291 cat conftest.err >&5
38292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293 (exit $ac_status); } && {
38294 test -z "$ac_c_werror_flag" ||
38295 test ! -s conftest.err
38296 } && test -s conftest$ac_exeext &&
38297 $as_test_x conftest$ac_exeext; then
38298 ac_cv_lib_resolv_inet_addr=yes
38300 echo "$as_me: failed program was:" >&5
38301 sed 's/^/| /' conftest.$ac_ext >&5
38303 ac_cv_lib_resolv_inet_addr=no
38306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38307 conftest$ac_exeext conftest.$ac_ext
38308 LIBS=$ac_check_lib_save_LIBS
38310 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38311 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38312 if test $ac_cv_lib_resolv_inet_addr = yes; then
38316 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38317 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38318 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38319 echo $ECHO_N "(cached) $ECHO_C" >&6
38321 ac_check_lib_save_LIBS=$LIBS
38322 LIBS="-lsocket $LIBS"
38323 cat >conftest.$ac_ext <<_ACEOF
38326 cat confdefs.h >>conftest.$ac_ext
38327 cat >>conftest.$ac_ext <<_ACEOF
38328 /* end confdefs.h. */
38330 /* Override any GCC internal prototype to avoid an error.
38331 Use char because int might match the return type of a GCC
38332 builtin and then its argument prototype would still apply. */
38340 return inet_addr ();
38345 rm -f conftest.$ac_objext conftest$ac_exeext
38346 if { (ac_try="$ac_link"
38347 case "(($ac_try" in
38348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38349 *) ac_try_echo=$ac_try;;
38351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38352 (eval "$ac_link") 2>conftest.er1
38354 grep -v '^ *+' conftest.er1 >conftest.err
38356 cat conftest.err >&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } && {
38359 test -z "$ac_c_werror_flag" ||
38360 test ! -s conftest.err
38361 } && test -s conftest$ac_exeext &&
38362 $as_test_x conftest$ac_exeext; then
38363 ac_cv_lib_socket_inet_addr=yes
38365 echo "$as_me: failed program was:" >&5
38366 sed 's/^/| /' conftest.$ac_ext >&5
38368 ac_cv_lib_socket_inet_addr=no
38371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38372 conftest$ac_exeext conftest.$ac_ext
38373 LIBS=$ac_check_lib_save_LIBS
38375 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38376 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38377 if test $ac_cv_lib_socket_inet_addr = yes; then
38397 for ac_func in inet_aton
38399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38402 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38403 echo $ECHO_N "(cached) $ECHO_C" >&6
38405 cat >conftest.$ac_ext <<_ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38413 #define $ac_func innocuous_$ac_func
38415 /* System header to define __stub macros and hopefully few prototypes,
38416 which can conflict with char $ac_func (); below.
38417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38418 <limits.h> exists even on freestanding compilers. */
38421 # include <limits.h>
38423 # include <assert.h>
38428 /* Override any GCC internal prototype to avoid an error.
38429 Use char because int might match the return type of a GCC
38430 builtin and then its argument prototype would still apply. */
38435 /* The GNU C library defines this for functions which it implements
38436 to always fail with ENOSYS. Some functions are actually named
38437 something starting with __ and the normal name is an alias. */
38438 #if defined __stub_$ac_func || defined __stub___$ac_func
38445 return $ac_func ();
38450 rm -f conftest.$ac_objext conftest$ac_exeext
38451 if { (ac_try="$ac_link"
38452 case "(($ac_try" in
38453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38454 *) ac_try_echo=$ac_try;;
38456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38457 (eval "$ac_link") 2>conftest.er1
38459 grep -v '^ *+' conftest.er1 >conftest.err
38461 cat conftest.err >&5
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); } && {
38464 test -z "$ac_c_werror_flag" ||
38465 test ! -s conftest.err
38466 } && test -s conftest$ac_exeext &&
38467 $as_test_x conftest$ac_exeext; then
38468 eval "$as_ac_var=yes"
38470 echo "$as_me: failed program was:" >&5
38471 sed 's/^/| /' conftest.$ac_ext >&5
38473 eval "$as_ac_var=no"
38476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38477 conftest$ac_exeext conftest.$ac_ext
38479 ac_res=`eval echo '${'$as_ac_var'}'`
38480 { echo "$as_me:$LINENO: result: $ac_res" >&5
38481 echo "${ECHO_T}$ac_res" >&6; }
38482 if test `eval echo '${'$as_ac_var'}'` = yes; then
38483 cat >>confdefs.h <<_ACEOF
38484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38486 cat >>confdefs.h <<\_ACEOF
38487 #define HAVE_INET_ATON 1
38492 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38493 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38494 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38495 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38496 echo $ECHO_N "(cached) $ECHO_C" >&6
38498 ac_check_lib_save_LIBS=$LIBS
38499 LIBS="-l$INET_LINK $LIBS"
38500 cat >conftest.$ac_ext <<_ACEOF
38503 cat confdefs.h >>conftest.$ac_ext
38504 cat >>conftest.$ac_ext <<_ACEOF
38505 /* end confdefs.h. */
38507 /* Override any GCC internal prototype to avoid an error.
38508 Use char because int might match the return type of a GCC
38509 builtin and then its argument prototype would still apply. */
38517 return inet_aton ();
38522 rm -f conftest.$ac_objext conftest$ac_exeext
38523 if { (ac_try="$ac_link"
38524 case "(($ac_try" in
38525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38526 *) ac_try_echo=$ac_try;;
38528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38529 (eval "$ac_link") 2>conftest.er1
38531 grep -v '^ *+' conftest.er1 >conftest.err
38533 cat conftest.err >&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); } && {
38536 test -z "$ac_c_werror_flag" ||
38537 test ! -s conftest.err
38538 } && test -s conftest$ac_exeext &&
38539 $as_test_x conftest$ac_exeext; then
38540 eval "$as_ac_Lib=yes"
38542 echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.$ac_ext >&5
38545 eval "$as_ac_Lib=no"
38548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38549 conftest$ac_exeext conftest.$ac_ext
38550 LIBS=$ac_check_lib_save_LIBS
38552 ac_res=`eval echo '${'$as_ac_Lib'}'`
38553 { echo "$as_me:$LINENO: result: $ac_res" >&5
38554 echo "${ECHO_T}$ac_res" >&6; }
38555 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38556 cat >>confdefs.h <<\_ACEOF
38557 #define HAVE_INET_ATON 1
38567 if test "x$INET_LINK" != "x"; then
38568 cat >>confdefs.h <<\_ACEOF
38569 #define HAVE_INET_ADDR 1
38572 INET_LINK=" -l$INET_LINK"
38576 for wx_func in fdopen
38578 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38579 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38580 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38581 echo $ECHO_N "(cached) $ECHO_C" >&6
38584 cat >conftest.$ac_ext <<_ACEOF
38588 cat confdefs.h >>conftest.$ac_ext
38589 cat >>conftest.$ac_ext <<_ACEOF
38590 /* end confdefs.h. */
38593 $ac_includes_default
38609 rm -f conftest.$ac_objext conftest$ac_exeext
38610 if { (ac_try="$ac_link"
38611 case "(($ac_try" in
38612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38613 *) ac_try_echo=$ac_try;;
38615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38616 (eval "$ac_link") 2>conftest.er1
38618 grep -v '^ *+' conftest.er1 >conftest.err
38620 cat conftest.err >&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } && {
38623 test -z "$ac_c_werror_flag" ||
38624 test ! -s conftest.err
38625 } && test -s conftest$ac_exeext &&
38626 $as_test_x conftest$ac_exeext; then
38627 eval wx_cv_func_$wx_func=yes
38629 echo "$as_me: failed program was:" >&5
38630 sed 's/^/| /' conftest.$ac_ext >&5
38632 eval wx_cv_func_$wx_func=no
38635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38636 conftest$ac_exeext conftest.$ac_ext
38639 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38640 { echo "$as_me:$LINENO: result: $ac_res" >&5
38641 echo "${ECHO_T}$ac_res" >&6; }
38643 if eval test \$wx_cv_func_$wx_func = yes
38645 cat >>confdefs.h <<_ACEOF
38646 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38657 if test "$wxUSE_TARSTREAM" = "yes"; then
38659 for wx_func in sysconf
38661 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38662 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38663 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38664 echo $ECHO_N "(cached) $ECHO_C" >&6
38667 cat >conftest.$ac_ext <<_ACEOF
38671 cat confdefs.h >>conftest.$ac_ext
38672 cat >>conftest.$ac_ext <<_ACEOF
38673 /* end confdefs.h. */
38676 $ac_includes_default
38692 rm -f conftest.$ac_objext conftest$ac_exeext
38693 if { (ac_try="$ac_link"
38694 case "(($ac_try" in
38695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38696 *) ac_try_echo=$ac_try;;
38698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38699 (eval "$ac_link") 2>conftest.er1
38701 grep -v '^ *+' conftest.er1 >conftest.err
38703 cat conftest.err >&5
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); } && {
38706 test -z "$ac_c_werror_flag" ||
38707 test ! -s conftest.err
38708 } && test -s conftest$ac_exeext &&
38709 $as_test_x conftest$ac_exeext; then
38710 eval wx_cv_func_$wx_func=yes
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.$ac_ext >&5
38715 eval wx_cv_func_$wx_func=no
38718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38719 conftest$ac_exeext conftest.$ac_ext
38722 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38723 { echo "$as_me:$LINENO: result: $ac_res" >&5
38724 echo "${ECHO_T}$ac_res" >&6; }
38726 if eval test \$wx_cv_func_$wx_func = yes
38728 cat >>confdefs.h <<_ACEOF
38729 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38741 for wx_func in getpwuid_r
38743 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38744 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38745 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38746 echo $ECHO_N "(cached) $ECHO_C" >&6
38749 cat >conftest.$ac_ext <<_ACEOF
38753 cat confdefs.h >>conftest.$ac_ext
38754 cat >>conftest.$ac_ext <<_ACEOF
38755 /* end confdefs.h. */
38761 $ac_includes_default
38771 struct passwd pw, *ppw;
38773 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38781 rm -f conftest.$ac_objext conftest$ac_exeext
38782 if { (ac_try="$ac_link"
38783 case "(($ac_try" in
38784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38785 *) ac_try_echo=$ac_try;;
38787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38788 (eval "$ac_link") 2>conftest.er1
38790 grep -v '^ *+' conftest.er1 >conftest.err
38792 cat conftest.err >&5
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); } && {
38795 test -z "$ac_c_werror_flag" ||
38796 test ! -s conftest.err
38797 } && test -s conftest$ac_exeext &&
38798 $as_test_x conftest$ac_exeext; then
38799 eval wx_cv_func_$wx_func=yes
38801 echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.$ac_ext >&5
38804 eval wx_cv_func_$wx_func=no
38807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38808 conftest$ac_exeext conftest.$ac_ext
38811 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38812 { echo "$as_me:$LINENO: result: $ac_res" >&5
38813 echo "${ECHO_T}$ac_res" >&6; }
38815 if eval test \$wx_cv_func_$wx_func = yes
38817 cat >>confdefs.h <<_ACEOF
38818 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38830 for wx_func in getgrgid_r
38832 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38833 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38834 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38835 echo $ECHO_N "(cached) $ECHO_C" >&6
38838 cat >conftest.$ac_ext <<_ACEOF
38842 cat confdefs.h >>conftest.$ac_ext
38843 cat >>conftest.$ac_ext <<_ACEOF
38844 /* end confdefs.h. */
38850 $ac_includes_default
38860 struct group grp, *pgrp;
38862 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38870 rm -f conftest.$ac_objext conftest$ac_exeext
38871 if { (ac_try="$ac_link"
38872 case "(($ac_try" in
38873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38874 *) ac_try_echo=$ac_try;;
38876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38877 (eval "$ac_link") 2>conftest.er1
38879 grep -v '^ *+' conftest.er1 >conftest.err
38881 cat conftest.err >&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); } && {
38884 test -z "$ac_c_werror_flag" ||
38885 test ! -s conftest.err
38886 } && test -s conftest$ac_exeext &&
38887 $as_test_x conftest$ac_exeext; then
38888 eval wx_cv_func_$wx_func=yes
38890 echo "$as_me: failed program was:" >&5
38891 sed 's/^/| /' conftest.$ac_ext >&5
38893 eval wx_cv_func_$wx_func=no
38896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38897 conftest$ac_exeext conftest.$ac_ext
38900 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38901 { echo "$as_me:$LINENO: result: $ac_res" >&5
38902 echo "${ECHO_T}$ac_res" >&6; }
38904 if eval test \$wx_cv_func_$wx_func = yes
38906 cat >>confdefs.h <<_ACEOF
38907 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38923 cat >confcache <<\_ACEOF
38924 # This file is a shell script that caches the results of configure
38925 # tests run on this system so they can be shared between configure
38926 # scripts and configure runs, see configure's option --config-cache.
38927 # It is not useful on other systems. If it contains results you don't
38928 # want to keep, you may remove or edit it.
38930 # config.status only pays attention to the cache file if you give it
38931 # the --recheck option to rerun configure.
38933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38935 # following values.
38939 # The following way of writing the cache mishandles newlines in values,
38940 # but we know of no workaround that is simple, portable, and efficient.
38941 # So, we kill variables containing newlines.
38942 # Ultrix sh set writes to stderr and can't be redirected directly,
38943 # and sets the high bit in the cache file unless we assign to the vars.
38945 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38946 eval ac_val=\$$ac_var
38950 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38951 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38954 _ | IFS | as_nl) ;; #(
38955 *) $as_unset $ac_var ;;
38961 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38962 *${as_nl}ac_space=\ *)
38963 # `set' does not quote correctly, so add quotes (double-quote
38964 # substitution turns \\\\ into \\, and sed turns \\ into \).
38967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38970 # `set' quotes correctly as required by POSIX, so do not add quotes.
38971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38980 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38982 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38985 if test -w "$cache_file"; then
38986 test "x$cache_file" != "x/dev/null" &&
38987 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38988 echo "$as_me: updating cache $cache_file" >&6;}
38989 cat confcache >$cache_file
38991 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38992 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38998 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39004 if test "$wxUSE_THREADS" = "yes" ; then
39005 if test "$USE_BEOS" = 1; then
39006 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39007 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39012 if test "$wxUSE_THREADS" = "yes" ; then
39015 THREAD_OPTS="-pthread"
39016 if test "x$SUNCXX" = xyes; then
39017 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39021 *-*-solaris2* | *-*-sunos4* )
39022 if test "x$GCC" = "xyes"; then
39023 THREAD_OPTS="-pthreads $THREAD_OPTS"
39027 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39029 *-*-darwin* | *-*-cygwin* )
39033 THREAD_OPTS="pthreads"
39036 if test "x$GCC" = "xyes"; then
39037 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39045 if test "x$GCC" = "xyes"; then
39051 if test "x$GCC" != "xyes"; then
39052 THREAD_OPTS="-Ethread"
39057 THREAD_OPTS="$THREAD_OPTS pthread none"
39060 for flag in $THREAD_OPTS; do
39063 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39064 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39068 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39069 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39070 THREADS_CFLAGS="$flag"
39074 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39075 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39076 THREADS_LINK="-l$flag"
39081 save_CFLAGS="$CFLAGS"
39082 LIBS="$THREADS_LINK $LIBS"
39083 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39085 cat >conftest.$ac_ext <<_ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h. */
39091 #include <pthread.h>
39095 pthread_create(0,0,0,0);
39100 rm -f conftest.$ac_objext conftest$ac_exeext
39101 if { (ac_try="$ac_link"
39102 case "(($ac_try" in
39103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39104 *) ac_try_echo=$ac_try;;
39106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39107 (eval "$ac_link") 2>conftest.er1
39109 grep -v '^ *+' conftest.er1 >conftest.err
39111 cat conftest.err >&5
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); } && {
39114 test -z "$ac_c_werror_flag" ||
39115 test ! -s conftest.err
39116 } && test -s conftest$ac_exeext &&
39117 $as_test_x conftest$ac_exeext; then
39120 echo "$as_me: failed program was:" >&5
39121 sed 's/^/| /' conftest.$ac_ext >&5
39126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39127 conftest$ac_exeext conftest.$ac_ext
39130 CFLAGS="$save_CFLAGS"
39132 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39133 echo "${ECHO_T}$THREADS_OK" >&6; }
39134 if test "x$THREADS_OK" = "xyes"; then
39142 if test "x$THREADS_OK" != "xyes"; then
39144 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39145 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39147 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39148 LIBS="$THREADS_LINK $LIBS"
39150 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39151 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39155 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39156 flag="-D_THREAD_SAFE"
39159 flag="-D_THREAD_SAFE"
39162 flag="-D_REENTRANT"
39163 if test "x$GCC" != "xyes"; then
39164 flag="$flag -D_RWSTD_MULTI_THREAD"
39167 *solaris* | alpha*-osf*)
39168 flag="-D_REENTRANT"
39171 { echo "$as_me:$LINENO: result: ${flag}" >&5
39172 echo "${ECHO_T}${flag}" >&6; }
39173 if test "x$flag" != xno; then
39174 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39177 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39181 if test "$wxUSE_THREADS" = "yes" ; then
39183 for ac_func in thr_setconcurrency
39185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39188 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39189 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 cat >conftest.$ac_ext <<_ACEOF
39194 cat confdefs.h >>conftest.$ac_ext
39195 cat >>conftest.$ac_ext <<_ACEOF
39196 /* end confdefs.h. */
39197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39199 #define $ac_func innocuous_$ac_func
39201 /* System header to define __stub macros and hopefully few prototypes,
39202 which can conflict with char $ac_func (); below.
39203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39204 <limits.h> exists even on freestanding compilers. */
39207 # include <limits.h>
39209 # include <assert.h>
39214 /* Override any GCC internal prototype to avoid an error.
39215 Use char because int might match the return type of a GCC
39216 builtin and then its argument prototype would still apply. */
39221 /* The GNU C library defines this for functions which it implements
39222 to always fail with ENOSYS. Some functions are actually named
39223 something starting with __ and the normal name is an alias. */
39224 #if defined __stub_$ac_func || defined __stub___$ac_func
39231 return $ac_func ();
39236 rm -f conftest.$ac_objext conftest$ac_exeext
39237 if { (ac_try="$ac_link"
39238 case "(($ac_try" in
39239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39240 *) ac_try_echo=$ac_try;;
39242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39243 (eval "$ac_link") 2>conftest.er1
39245 grep -v '^ *+' conftest.er1 >conftest.err
39247 cat conftest.err >&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); } && {
39250 test -z "$ac_c_werror_flag" ||
39251 test ! -s conftest.err
39252 } && test -s conftest$ac_exeext &&
39253 $as_test_x conftest$ac_exeext; then
39254 eval "$as_ac_var=yes"
39256 echo "$as_me: failed program was:" >&5
39257 sed 's/^/| /' conftest.$ac_ext >&5
39259 eval "$as_ac_var=no"
39262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39263 conftest$ac_exeext conftest.$ac_ext
39265 ac_res=`eval echo '${'$as_ac_var'}'`
39266 { echo "$as_me:$LINENO: result: $ac_res" >&5
39267 echo "${ECHO_T}$ac_res" >&6; }
39268 if test `eval echo '${'$as_ac_var'}'` = yes; then
39269 cat >>confdefs.h <<_ACEOF
39270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39277 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39278 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39279 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39280 echo $ECHO_N "(cached) $ECHO_C" >&6
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39289 cat >conftest.$ac_ext <<_ACEOF
39292 cat confdefs.h >>conftest.$ac_ext
39293 cat >>conftest.$ac_ext <<_ACEOF
39294 /* end confdefs.h. */
39295 #include <pthread.h>
39296 void ThreadCleanupFunc(void *p);
39303 pthread_cleanup_push(ThreadCleanupFunc, p);
39304 pthread_cleanup_pop(0);
39310 rm -f conftest.$ac_objext
39311 if { (ac_try="$ac_compile"
39312 case "(($ac_try" in
39313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39314 *) ac_try_echo=$ac_try;;
39316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39317 (eval "$ac_compile") 2>conftest.er1
39319 grep -v '^ *+' conftest.er1 >conftest.err
39321 cat conftest.err >&5
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); } && {
39324 test -z "$ac_cxx_werror_flag" ||
39325 test ! -s conftest.err
39326 } && test -s conftest.$ac_objext; then
39328 wx_cv_func_pthread_cleanup=yes
39331 echo "$as_me: failed program was:" >&5
39332 sed 's/^/| /' conftest.$ac_ext >&5
39335 wx_cv_func_pthread_cleanup=no
39340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39349 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39350 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39351 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39352 cat >>confdefs.h <<\_ACEOF
39353 #define wxHAVE_PTHREAD_CLEANUP 1
39359 for ac_header in sched.h
39361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39365 echo $ECHO_N "(cached) $ECHO_C" >&6
39367 cat >conftest.$ac_ext <<_ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39373 $ac_includes_default
39375 #include <$ac_header>
39377 rm -f conftest.$ac_objext
39378 if { (ac_try="$ac_compile"
39379 case "(($ac_try" in
39380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39381 *) ac_try_echo=$ac_try;;
39383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39384 (eval "$ac_compile") 2>conftest.er1
39386 grep -v '^ *+' conftest.er1 >conftest.err
39388 cat conftest.err >&5
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); } && {
39391 test -z "$ac_c_werror_flag" ||
39392 test ! -s conftest.err
39393 } && test -s conftest.$ac_objext; then
39394 eval "$as_ac_Header=yes"
39396 echo "$as_me: failed program was:" >&5
39397 sed 's/^/| /' conftest.$ac_ext >&5
39399 eval "$as_ac_Header=no"
39402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39404 ac_res=`eval echo '${'$as_ac_Header'}'`
39405 { echo "$as_me:$LINENO: result: $ac_res" >&5
39406 echo "${ECHO_T}$ac_res" >&6; }
39407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39408 cat >>confdefs.h <<_ACEOF
39409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39416 if test "$ac_cv_header_sched_h" = "yes"; then
39417 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39418 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39419 if test "${ac_cv_func_sched_yield+set}" = set; then
39420 echo $ECHO_N "(cached) $ECHO_C" >&6
39422 cat >conftest.$ac_ext <<_ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39430 #define sched_yield innocuous_sched_yield
39432 /* System header to define __stub macros and hopefully few prototypes,
39433 which can conflict with char sched_yield (); below.
39434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39435 <limits.h> exists even on freestanding compilers. */
39438 # include <limits.h>
39440 # include <assert.h>
39445 /* Override any GCC internal prototype to avoid an error.
39446 Use char because int might match the return type of a GCC
39447 builtin and then its argument prototype would still apply. */
39451 char sched_yield ();
39452 /* The GNU C library defines this for functions which it implements
39453 to always fail with ENOSYS. Some functions are actually named
39454 something starting with __ and the normal name is an alias. */
39455 #if defined __stub_sched_yield || defined __stub___sched_yield
39462 return sched_yield ();
39467 rm -f conftest.$ac_objext conftest$ac_exeext
39468 if { (ac_try="$ac_link"
39469 case "(($ac_try" in
39470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39471 *) ac_try_echo=$ac_try;;
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_link") 2>conftest.er1
39476 grep -v '^ *+' conftest.er1 >conftest.err
39478 cat conftest.err >&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } && {
39481 test -z "$ac_c_werror_flag" ||
39482 test ! -s conftest.err
39483 } && test -s conftest$ac_exeext &&
39484 $as_test_x conftest$ac_exeext; then
39485 ac_cv_func_sched_yield=yes
39487 echo "$as_me: failed program was:" >&5
39488 sed 's/^/| /' conftest.$ac_ext >&5
39490 ac_cv_func_sched_yield=no
39493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39494 conftest$ac_exeext conftest.$ac_ext
39496 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39497 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39498 if test $ac_cv_func_sched_yield = yes; then
39499 cat >>confdefs.h <<\_ACEOF
39500 #define HAVE_SCHED_YIELD 1
39505 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39506 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39507 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39508 echo $ECHO_N "(cached) $ECHO_C" >&6
39510 ac_check_lib_save_LIBS=$LIBS
39511 LIBS="-lposix4 $LIBS"
39512 cat >conftest.$ac_ext <<_ACEOF
39515 cat confdefs.h >>conftest.$ac_ext
39516 cat >>conftest.$ac_ext <<_ACEOF
39517 /* end confdefs.h. */
39519 /* Override any GCC internal prototype to avoid an error.
39520 Use char because int might match the return type of a GCC
39521 builtin and then its argument prototype would still apply. */
39525 char sched_yield ();
39529 return sched_yield ();
39534 rm -f conftest.$ac_objext conftest$ac_exeext
39535 if { (ac_try="$ac_link"
39536 case "(($ac_try" in
39537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39538 *) ac_try_echo=$ac_try;;
39540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39541 (eval "$ac_link") 2>conftest.er1
39543 grep -v '^ *+' conftest.er1 >conftest.err
39545 cat conftest.err >&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } && {
39548 test -z "$ac_c_werror_flag" ||
39549 test ! -s conftest.err
39550 } && test -s conftest$ac_exeext &&
39551 $as_test_x conftest$ac_exeext; then
39552 ac_cv_lib_posix4_sched_yield=yes
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.$ac_ext >&5
39557 ac_cv_lib_posix4_sched_yield=no
39560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39561 conftest$ac_exeext conftest.$ac_ext
39562 LIBS=$ac_check_lib_save_LIBS
39564 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39565 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39566 if test $ac_cv_lib_posix4_sched_yield = yes; then
39567 cat >>confdefs.h <<\_ACEOF
39568 #define HAVE_SCHED_YIELD 1
39570 POSIX4_LINK=" -lposix4"
39572 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39573 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39584 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39585 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39586 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39587 echo $ECHO_N "(cached) $ECHO_C" >&6
39589 cat >conftest.$ac_ext <<_ACEOF
39592 cat confdefs.h >>conftest.$ac_ext
39593 cat >>conftest.$ac_ext <<_ACEOF
39594 /* end confdefs.h. */
39595 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39597 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39599 /* System header to define __stub macros and hopefully few prototypes,
39600 which can conflict with char pthread_attr_getschedpolicy (); below.
39601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39602 <limits.h> exists even on freestanding compilers. */
39605 # include <limits.h>
39607 # include <assert.h>
39610 #undef pthread_attr_getschedpolicy
39612 /* Override any GCC internal prototype to avoid an error.
39613 Use char because int might match the return type of a GCC
39614 builtin and then its argument prototype would still apply. */
39618 char pthread_attr_getschedpolicy ();
39619 /* The GNU C library defines this for functions which it implements
39620 to always fail with ENOSYS. Some functions are actually named
39621 something starting with __ and the normal name is an alias. */
39622 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39629 return pthread_attr_getschedpolicy ();
39634 rm -f conftest.$ac_objext conftest$ac_exeext
39635 if { (ac_try="$ac_link"
39636 case "(($ac_try" in
39637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39638 *) ac_try_echo=$ac_try;;
39640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39641 (eval "$ac_link") 2>conftest.er1
39643 grep -v '^ *+' conftest.er1 >conftest.err
39645 cat conftest.err >&5
39646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647 (exit $ac_status); } && {
39648 test -z "$ac_c_werror_flag" ||
39649 test ! -s conftest.err
39650 } && test -s conftest$ac_exeext &&
39651 $as_test_x conftest$ac_exeext; then
39652 ac_cv_func_pthread_attr_getschedpolicy=yes
39654 echo "$as_me: failed program was:" >&5
39655 sed 's/^/| /' conftest.$ac_ext >&5
39657 ac_cv_func_pthread_attr_getschedpolicy=no
39660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39661 conftest$ac_exeext conftest.$ac_ext
39663 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39664 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39665 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39666 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39667 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39668 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39669 echo $ECHO_N "(cached) $ECHO_C" >&6
39671 cat >conftest.$ac_ext <<_ACEOF
39674 cat confdefs.h >>conftest.$ac_ext
39675 cat >>conftest.$ac_ext <<_ACEOF
39676 /* end confdefs.h. */
39677 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39679 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39681 /* System header to define __stub macros and hopefully few prototypes,
39682 which can conflict with char pthread_attr_setschedparam (); below.
39683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39684 <limits.h> exists even on freestanding compilers. */
39687 # include <limits.h>
39689 # include <assert.h>
39692 #undef pthread_attr_setschedparam
39694 /* Override any GCC internal prototype to avoid an error.
39695 Use char because int might match the return type of a GCC
39696 builtin and then its argument prototype would still apply. */
39700 char pthread_attr_setschedparam ();
39701 /* The GNU C library defines this for functions which it implements
39702 to always fail with ENOSYS. Some functions are actually named
39703 something starting with __ and the normal name is an alias. */
39704 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39711 return pthread_attr_setschedparam ();
39716 rm -f conftest.$ac_objext conftest$ac_exeext
39717 if { (ac_try="$ac_link"
39718 case "(($ac_try" in
39719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39720 *) ac_try_echo=$ac_try;;
39722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39723 (eval "$ac_link") 2>conftest.er1
39725 grep -v '^ *+' conftest.er1 >conftest.err
39727 cat conftest.err >&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } && {
39730 test -z "$ac_c_werror_flag" ||
39731 test ! -s conftest.err
39732 } && test -s conftest$ac_exeext &&
39733 $as_test_x conftest$ac_exeext; then
39734 ac_cv_func_pthread_attr_setschedparam=yes
39736 echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.$ac_ext >&5
39739 ac_cv_func_pthread_attr_setschedparam=no
39742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39743 conftest$ac_exeext conftest.$ac_ext
39745 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39746 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39747 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39748 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39749 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39750 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39751 echo $ECHO_N "(cached) $ECHO_C" >&6
39753 cat >conftest.$ac_ext <<_ACEOF
39756 cat confdefs.h >>conftest.$ac_ext
39757 cat >>conftest.$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39759 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39761 #define sched_get_priority_max innocuous_sched_get_priority_max
39763 /* System header to define __stub macros and hopefully few prototypes,
39764 which can conflict with char sched_get_priority_max (); below.
39765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39766 <limits.h> exists even on freestanding compilers. */
39769 # include <limits.h>
39771 # include <assert.h>
39774 #undef sched_get_priority_max
39776 /* Override any GCC internal prototype to avoid an error.
39777 Use char because int might match the return type of a GCC
39778 builtin and then its argument prototype would still apply. */
39782 char sched_get_priority_max ();
39783 /* The GNU C library defines this for functions which it implements
39784 to always fail with ENOSYS. Some functions are actually named
39785 something starting with __ and the normal name is an alias. */
39786 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39793 return sched_get_priority_max ();
39798 rm -f conftest.$ac_objext conftest$ac_exeext
39799 if { (ac_try="$ac_link"
39800 case "(($ac_try" in
39801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39802 *) ac_try_echo=$ac_try;;
39804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39805 (eval "$ac_link") 2>conftest.er1
39807 grep -v '^ *+' conftest.er1 >conftest.err
39809 cat conftest.err >&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } && {
39812 test -z "$ac_c_werror_flag" ||
39813 test ! -s conftest.err
39814 } && test -s conftest$ac_exeext &&
39815 $as_test_x conftest$ac_exeext; then
39816 ac_cv_func_sched_get_priority_max=yes
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.$ac_ext >&5
39821 ac_cv_func_sched_get_priority_max=no
39824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39825 conftest$ac_exeext conftest.$ac_ext
39827 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39828 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39829 if test $ac_cv_func_sched_get_priority_max = yes; then
39832 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39833 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39834 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39835 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 ac_check_lib_save_LIBS=$LIBS
39838 LIBS="-lposix4 $LIBS"
39839 cat >conftest.$ac_ext <<_ACEOF
39842 cat confdefs.h >>conftest.$ac_ext
39843 cat >>conftest.$ac_ext <<_ACEOF
39844 /* end confdefs.h. */
39846 /* Override any GCC internal prototype to avoid an error.
39847 Use char because int might match the return type of a GCC
39848 builtin and then its argument prototype would still apply. */
39852 char sched_get_priority_max ();
39856 return sched_get_priority_max ();
39861 rm -f conftest.$ac_objext conftest$ac_exeext
39862 if { (ac_try="$ac_link"
39863 case "(($ac_try" in
39864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39865 *) ac_try_echo=$ac_try;;
39867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39868 (eval "$ac_link") 2>conftest.er1
39870 grep -v '^ *+' conftest.er1 >conftest.err
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } && {
39875 test -z "$ac_c_werror_flag" ||
39876 test ! -s conftest.err
39877 } && test -s conftest$ac_exeext &&
39878 $as_test_x conftest$ac_exeext; then
39879 ac_cv_lib_posix4_sched_get_priority_max=yes
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39884 ac_cv_lib_posix4_sched_get_priority_max=no
39887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39888 conftest$ac_exeext conftest.$ac_ext
39889 LIBS=$ac_check_lib_save_LIBS
39891 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39892 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39893 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39896 POSIX4_LINK=" -lposix4"
39910 if test "$HAVE_PRIOR_FUNCS" = 1; then
39911 cat >>confdefs.h <<\_ACEOF
39912 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39916 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39917 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39920 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39921 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39922 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39923 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 cat >conftest.$ac_ext <<_ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39933 #define pthread_cancel innocuous_pthread_cancel
39935 /* System header to define __stub macros and hopefully few prototypes,
39936 which can conflict with char pthread_cancel (); below.
39937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39938 <limits.h> exists even on freestanding compilers. */
39941 # include <limits.h>
39943 # include <assert.h>
39946 #undef pthread_cancel
39948 /* Override any GCC internal prototype to avoid an error.
39949 Use char because int might match the return type of a GCC
39950 builtin and then its argument prototype would still apply. */
39954 char pthread_cancel ();
39955 /* The GNU C library defines this for functions which it implements
39956 to always fail with ENOSYS. Some functions are actually named
39957 something starting with __ and the normal name is an alias. */
39958 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39965 return pthread_cancel ();
39970 rm -f conftest.$ac_objext conftest$ac_exeext
39971 if { (ac_try="$ac_link"
39972 case "(($ac_try" in
39973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39974 *) ac_try_echo=$ac_try;;
39976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39977 (eval "$ac_link") 2>conftest.er1
39979 grep -v '^ *+' conftest.er1 >conftest.err
39981 cat conftest.err >&5
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); } && {
39984 test -z "$ac_c_werror_flag" ||
39985 test ! -s conftest.err
39986 } && test -s conftest$ac_exeext &&
39987 $as_test_x conftest$ac_exeext; then
39988 ac_cv_func_pthread_cancel=yes
39990 echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.$ac_ext >&5
39993 ac_cv_func_pthread_cancel=no
39996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39997 conftest$ac_exeext conftest.$ac_ext
39999 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40000 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40001 if test $ac_cv_func_pthread_cancel = yes; then
40002 cat >>confdefs.h <<\_ACEOF
40003 #define HAVE_PTHREAD_CANCEL 1
40007 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40008 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40012 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40013 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40014 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40015 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 cat >conftest.$ac_ext <<_ACEOF
40020 cat confdefs.h >>conftest.$ac_ext
40021 cat >>conftest.$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40023 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40025 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40027 /* System header to define __stub macros and hopefully few prototypes,
40028 which can conflict with char pthread_mutex_timedlock (); below.
40029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40030 <limits.h> exists even on freestanding compilers. */
40033 # include <limits.h>
40035 # include <assert.h>
40038 #undef pthread_mutex_timedlock
40040 /* Override any GCC internal prototype to avoid an error.
40041 Use char because int might match the return type of a GCC
40042 builtin and then its argument prototype would still apply. */
40046 char pthread_mutex_timedlock ();
40047 /* The GNU C library defines this for functions which it implements
40048 to always fail with ENOSYS. Some functions are actually named
40049 something starting with __ and the normal name is an alias. */
40050 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40057 return pthread_mutex_timedlock ();
40062 rm -f conftest.$ac_objext conftest$ac_exeext
40063 if { (ac_try="$ac_link"
40064 case "(($ac_try" in
40065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40066 *) ac_try_echo=$ac_try;;
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069 (eval "$ac_link") 2>conftest.er1
40071 grep -v '^ *+' conftest.er1 >conftest.err
40073 cat conftest.err >&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); } && {
40076 test -z "$ac_c_werror_flag" ||
40077 test ! -s conftest.err
40078 } && test -s conftest$ac_exeext &&
40079 $as_test_x conftest$ac_exeext; then
40080 ac_cv_func_pthread_mutex_timedlock=yes
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40085 ac_cv_func_pthread_mutex_timedlock=no
40088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40089 conftest$ac_exeext conftest.$ac_ext
40091 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40092 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40093 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40099 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40100 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40104 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40105 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40106 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40107 echo $ECHO_N "(cached) $ECHO_C" >&6
40109 cat >conftest.$ac_ext <<_ACEOF
40112 cat confdefs.h >>conftest.$ac_ext
40113 cat >>conftest.$ac_ext <<_ACEOF
40114 /* end confdefs.h. */
40115 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40117 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40119 /* System header to define __stub macros and hopefully few prototypes,
40120 which can conflict with char pthread_attr_setstacksize (); below.
40121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40122 <limits.h> exists even on freestanding compilers. */
40125 # include <limits.h>
40127 # include <assert.h>
40130 #undef pthread_attr_setstacksize
40132 /* Override any GCC internal prototype to avoid an error.
40133 Use char because int might match the return type of a GCC
40134 builtin and then its argument prototype would still apply. */
40138 char pthread_attr_setstacksize ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40149 return pthread_attr_setstacksize ();
40154 rm -f conftest.$ac_objext conftest$ac_exeext
40155 if { (ac_try="$ac_link"
40156 case "(($ac_try" in
40157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40158 *) ac_try_echo=$ac_try;;
40160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40161 (eval "$ac_link") 2>conftest.er1
40163 grep -v '^ *+' conftest.er1 >conftest.err
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } && {
40168 test -z "$ac_c_werror_flag" ||
40169 test ! -s conftest.err
40170 } && test -s conftest$ac_exeext &&
40171 $as_test_x conftest$ac_exeext; then
40172 ac_cv_func_pthread_attr_setstacksize=yes
40174 echo "$as_me: failed program was:" >&5
40175 sed 's/^/| /' conftest.$ac_ext >&5
40177 ac_cv_func_pthread_attr_setstacksize=no
40180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40181 conftest$ac_exeext conftest.$ac_ext
40183 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40184 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40185 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40186 cat >>confdefs.h <<\_ACEOF
40187 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40194 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40195 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40196 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40197 echo $ECHO_N "(cached) $ECHO_C" >&6
40200 cat >conftest.$ac_ext <<_ACEOF
40203 cat confdefs.h >>conftest.$ac_ext
40204 cat >>conftest.$ac_ext <<_ACEOF
40205 /* end confdefs.h. */
40206 #include <pthread.h>
40211 pthread_mutexattr_t attr;
40212 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40218 rm -f conftest.$ac_objext
40219 if { (ac_try="$ac_compile"
40220 case "(($ac_try" in
40221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40222 *) ac_try_echo=$ac_try;;
40224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40225 (eval "$ac_compile") 2>conftest.er1
40227 grep -v '^ *+' conftest.er1 >conftest.err
40229 cat conftest.err >&5
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); } && {
40232 test -z "$ac_c_werror_flag" ||
40233 test ! -s conftest.err
40234 } && test -s conftest.$ac_objext; then
40235 wx_cv_type_pthread_mutexattr_t=yes
40237 echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.$ac_ext >&5
40240 wx_cv_type_pthread_mutexattr_t=no
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40247 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40248 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40250 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40251 cat >>confdefs.h <<\_ACEOF
40252 #define HAVE_PTHREAD_MUTEXATTR_T 1
40256 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40257 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40258 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40259 echo $ECHO_N "(cached) $ECHO_C" >&6
40262 cat >conftest.$ac_ext <<_ACEOF
40265 cat confdefs.h >>conftest.$ac_ext
40266 cat >>conftest.$ac_ext <<_ACEOF
40267 /* end confdefs.h. */
40268 #include <pthread.h>
40273 pthread_mutexattr_t attr;
40274 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40280 rm -f conftest.$ac_objext
40281 if { (ac_try="$ac_compile"
40282 case "(($ac_try" in
40283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40284 *) ac_try_echo=$ac_try;;
40286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40287 (eval "$ac_compile") 2>conftest.er1
40289 grep -v '^ *+' conftest.er1 >conftest.err
40291 cat conftest.err >&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); } && {
40294 test -z "$ac_c_werror_flag" ||
40295 test ! -s conftest.err
40296 } && test -s conftest.$ac_objext; then
40297 wx_cv_func_pthread_mutexattr_settype_decl=yes
40299 echo "$as_me: failed program was:" >&5
40300 sed 's/^/| /' conftest.$ac_ext >&5
40302 wx_cv_func_pthread_mutexattr_settype_decl=no
40306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40309 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40310 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40311 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40312 cat >>confdefs.h <<\_ACEOF
40313 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40318 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40319 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40320 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40321 echo $ECHO_N "(cached) $ECHO_C" >&6
40324 cat >conftest.$ac_ext <<_ACEOF
40327 cat confdefs.h >>conftest.$ac_ext
40328 cat >>conftest.$ac_ext <<_ACEOF
40329 /* end confdefs.h. */
40330 #include <pthread.h>
40335 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40341 rm -f conftest.$ac_objext
40342 if { (ac_try="$ac_compile"
40343 case "(($ac_try" in
40344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40345 *) ac_try_echo=$ac_try;;
40347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40348 (eval "$ac_compile") 2>conftest.er1
40350 grep -v '^ *+' conftest.er1 >conftest.err
40352 cat conftest.err >&5
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); } && {
40355 test -z "$ac_c_werror_flag" ||
40356 test ! -s conftest.err
40357 } && test -s conftest.$ac_objext; then
40359 wx_cv_type_pthread_rec_mutex_init=yes
40362 echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40366 wx_cv_type_pthread_rec_mutex_init=no
40371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40374 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40375 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40376 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40377 cat >>confdefs.h <<\_ACEOF
40378 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40382 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40383 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40387 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40388 if test "$USE_NETBSD" = 1; then
40389 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40390 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40391 wxUSE_COMPILER_TLS=no
40393 wxUSE_COMPILER_TLS=yes
40397 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40398 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40399 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40400 if test "${wx_cv_cc___thread+set}" = set; then
40401 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 cat >conftest.$ac_ext <<_ACEOF
40407 cat confdefs.h >>conftest.$ac_ext
40408 cat >>conftest.$ac_ext <<_ACEOF
40409 /* end confdefs.h. */
40410 #include <pthread.h>
40415 static __thread int n = 0;
40416 static __thread int *p = 0;
40422 rm -f conftest.$ac_objext
40423 if { (ac_try="$ac_compile"
40424 case "(($ac_try" in
40425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40426 *) ac_try_echo=$ac_try;;
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429 (eval "$ac_compile") 2>conftest.er1
40431 grep -v '^ *+' conftest.er1 >conftest.err
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } && {
40436 test -z "$ac_c_werror_flag" ||
40437 test ! -s conftest.err
40438 } && test -s conftest.$ac_objext; then
40439 wx_cv_cc___thread=yes
40441 echo "$as_me: failed program was:" >&5
40442 sed 's/^/| /' conftest.$ac_ext >&5
40444 wx_cv_cc___thread=no
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40452 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40453 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40455 if test "$wx_cv_cc___thread" = "yes"; then
40461 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40462 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40464 if test "x$GCC" = "xyes" ; then
40466 if test -z "" ; then
40468 ax_gcc_option_test="int main()
40475 ax_gcc_option_test=""
40480 # Dump the test program to file
40481 cat <<EOF > conftest.c
40482 $ax_gcc_option_test
40485 # Dump back the file to the log, useful for debugging purposes
40486 { ac_try='cat conftest.c 1>&5'
40487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40488 (eval $ac_try) 2>&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); }; }
40493 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495 (eval $ac_try) 2>&5
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); }; } ; then
40500 { echo "$as_me:$LINENO: result: yes" >&5
40501 echo "${ECHO_T}yes" >&6; }
40503 ax_gcc_version_option=yes
40508 { echo "$as_me:$LINENO: result: no" >&5
40509 echo "${ECHO_T}no" >&6; }
40511 ax_gcc_version_option=no
40519 { echo "$as_me:$LINENO: result: no gcc available" >&5
40520 echo "${ECHO_T}no gcc available" >&6; }
40525 if test "x$GXX" = "xyes"; then
40527 if test "x$ax_gxx_version_option" != "no"; then
40529 { echo "$as_me:$LINENO: checking gxx version" >&5
40530 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40531 if test "${ax_cv_gxx_version+set}" = set; then
40532 echo $ECHO_N "(cached) $ECHO_C" >&6
40535 ax_cv_gxx_version="`$CXX -dumpversion`"
40536 if test "x$ax_cv_gxx_version" = "x"; then
40538 ax_cv_gxx_version=""
40544 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40545 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40546 GXX_VERSION=$ax_cv_gxx_version
40555 if test -n "$ax_cv_gxx_version"; then
40556 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40557 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40558 case "$ax_cv_gxx_version" in
40560 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40561 echo "${ECHO_T}no, it's broken" >&6; }
40562 wx_cv_cc___thread=no
40565 { echo "$as_me:$LINENO: result: yes, it works" >&5
40566 echo "${ECHO_T}yes, it works" >&6; }
40572 if test "$wx_cv_cc___thread" = "yes"; then
40573 cat >>confdefs.h <<\_ACEOF
40574 #define HAVE___THREAD_KEYWORD 1
40582 if test "$wxUSE_THREADS" = "yes" ; then
40584 x86_64-*-mingw32* )
40587 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40588 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40589 if test "${wx_cv_cflags_mthread+set}" = set; then
40590 echo $ECHO_N "(cached) $ECHO_C" >&6
40593 CFLAGS_OLD="$CFLAGS"
40594 CFLAGS="-mthreads $CFLAGS"
40595 cat >conftest.$ac_ext <<_ACEOF
40598 cat confdefs.h >>conftest.$ac_ext
40599 cat >>conftest.$ac_ext <<_ACEOF
40600 /* end confdefs.h. */
40610 rm -f conftest.$ac_objext
40611 if { (ac_try="$ac_compile"
40612 case "(($ac_try" in
40613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40614 *) ac_try_echo=$ac_try;;
40616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40617 (eval "$ac_compile") 2>conftest.er1
40619 grep -v '^ *+' conftest.er1 >conftest.err
40621 cat conftest.err >&5
40622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } && {
40624 test -z "$ac_c_werror_flag" ||
40625 test ! -s conftest.err
40626 } && test -s conftest.$ac_objext; then
40627 wx_cv_cflags_mthread=yes
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40632 wx_cv_cflags_mthread=no
40636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40640 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40641 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40643 if test "$wx_cv_cflags_mthread" = "yes"; then
40644 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40645 LDFLAGS="$LDFLAGS -mthreads"
40647 CFLAGS="$CFLAGS_OLD"
40651 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40652 LDFLAGS="$LDFLAGS -Zmt"
40658 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40659 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40660 if test "${ac_cv_func_localtime_r+set}" = set; then
40661 echo $ECHO_N "(cached) $ECHO_C" >&6
40663 cat >conftest.$ac_ext <<_ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40669 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40671 #define localtime_r innocuous_localtime_r
40673 /* System header to define __stub macros and hopefully few prototypes,
40674 which can conflict with char localtime_r (); below.
40675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40676 <limits.h> exists even on freestanding compilers. */
40679 # include <limits.h>
40681 # include <assert.h>
40686 /* Override any GCC internal prototype to avoid an error.
40687 Use char because int might match the return type of a GCC
40688 builtin and then its argument prototype would still apply. */
40692 char localtime_r ();
40693 /* The GNU C library defines this for functions which it implements
40694 to always fail with ENOSYS. Some functions are actually named
40695 something starting with __ and the normal name is an alias. */
40696 #if defined __stub_localtime_r || defined __stub___localtime_r
40703 return localtime_r ();
40708 rm -f conftest.$ac_objext conftest$ac_exeext
40709 if { (ac_try="$ac_link"
40710 case "(($ac_try" in
40711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40712 *) ac_try_echo=$ac_try;;
40714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40715 (eval "$ac_link") 2>conftest.er1
40717 grep -v '^ *+' conftest.er1 >conftest.err
40719 cat conftest.err >&5
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); } && {
40722 test -z "$ac_c_werror_flag" ||
40723 test ! -s conftest.err
40724 } && test -s conftest$ac_exeext &&
40725 $as_test_x conftest$ac_exeext; then
40726 ac_cv_func_localtime_r=yes
40728 echo "$as_me: failed program was:" >&5
40729 sed 's/^/| /' conftest.$ac_ext >&5
40731 ac_cv_func_localtime_r=no
40734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40735 conftest$ac_exeext conftest.$ac_ext
40737 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40738 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40739 if test $ac_cv_func_localtime_r = yes; then
40740 cat >>confdefs.h <<\_ACEOF
40741 #define HAVE_LOCALTIME_R 1
40746 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40747 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40748 if test "${ac_cv_func_gmtime_r+set}" = set; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40751 cat >conftest.$ac_ext <<_ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40757 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40759 #define gmtime_r innocuous_gmtime_r
40761 /* System header to define __stub macros and hopefully few prototypes,
40762 which can conflict with char gmtime_r (); below.
40763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40764 <limits.h> exists even on freestanding compilers. */
40767 # include <limits.h>
40769 # include <assert.h>
40774 /* Override any GCC internal prototype to avoid an error.
40775 Use char because int might match the return type of a GCC
40776 builtin and then its argument prototype would still apply. */
40781 /* The GNU C library defines this for functions which it implements
40782 to always fail with ENOSYS. Some functions are actually named
40783 something starting with __ and the normal name is an alias. */
40784 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40791 return gmtime_r ();
40796 rm -f conftest.$ac_objext conftest$ac_exeext
40797 if { (ac_try="$ac_link"
40798 case "(($ac_try" in
40799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40800 *) ac_try_echo=$ac_try;;
40802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40803 (eval "$ac_link") 2>conftest.er1
40805 grep -v '^ *+' conftest.er1 >conftest.err
40807 cat conftest.err >&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } && {
40810 test -z "$ac_c_werror_flag" ||
40811 test ! -s conftest.err
40812 } && test -s conftest$ac_exeext &&
40813 $as_test_x conftest$ac_exeext; then
40814 ac_cv_func_gmtime_r=yes
40816 echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.$ac_ext >&5
40819 ac_cv_func_gmtime_r=no
40822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40823 conftest$ac_exeext conftest.$ac_ext
40825 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40826 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40827 if test $ac_cv_func_gmtime_r = yes; then
40828 cat >>confdefs.h <<\_ACEOF
40829 #define HAVE_GMTIME_R 1
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40843 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40844 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40846 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40851 ################################################################
40853 ac_cv_func_which_gethostbyname_r=unknown
40856 # ONE ARGUMENT (sanity check)
40859 # This should fail, as there is no variant of gethostbyname_r() that takes
40860 # a single argument. If it actually compiles, then we can assume that
40861 # netdb.h is not declaring the function, and the compiler is thereby
40862 # assuming an implicit prototype. In which case, we're out of luck.
40864 cat >conftest.$ac_ext <<_ACEOF
40867 cat confdefs.h >>conftest.$ac_ext
40868 cat >>conftest.$ac_ext <<_ACEOF
40869 /* end confdefs.h. */
40875 char *name = "www.gnu.org";
40876 (void)gethostbyname_r(name) /* ; */
40882 rm -f conftest.$ac_objext
40883 if { (ac_try="$ac_compile"
40884 case "(($ac_try" in
40885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40886 *) ac_try_echo=$ac_try;;
40888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40889 (eval "$ac_compile") 2>conftest.er1
40891 grep -v '^ *+' conftest.er1 >conftest.err
40893 cat conftest.err >&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } && {
40896 test -z "$ac_c_werror_flag" ||
40897 test ! -s conftest.err
40898 } && test -s conftest.$ac_objext; then
40899 ac_cv_func_which_gethostbyname_r=no
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40916 cat >conftest.$ac_ext <<_ACEOF
40919 cat confdefs.h >>conftest.$ac_ext
40920 cat >>conftest.$ac_ext <<_ACEOF
40921 /* end confdefs.h. */
40927 char *name = "www.gnu.org";
40928 struct hostent ret, *retp;
40932 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40938 rm -f conftest.$ac_objext
40939 if { (ac_try="$ac_compile"
40940 case "(($ac_try" in
40941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40942 *) ac_try_echo=$ac_try;;
40944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40945 (eval "$ac_compile") 2>conftest.er1
40947 grep -v '^ *+' conftest.er1 >conftest.err
40949 cat conftest.err >&5
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); } && {
40952 test -z "$ac_c_werror_flag" ||
40953 test ! -s conftest.err
40954 } && test -s conftest.$ac_objext; then
40955 ac_cv_func_which_gethostbyname_r=six
40957 echo "$as_me: failed program was:" >&5
40958 sed 's/^/| /' conftest.$ac_ext >&5
40963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40974 cat >conftest.$ac_ext <<_ACEOF
40977 cat confdefs.h >>conftest.$ac_ext
40978 cat >>conftest.$ac_ext <<_ACEOF
40979 /* end confdefs.h. */
40985 char *name = "www.gnu.org";
40986 struct hostent ret;
40990 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40996 rm -f conftest.$ac_objext
40997 if { (ac_try="$ac_compile"
40998 case "(($ac_try" in
40999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41000 *) ac_try_echo=$ac_try;;
41002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41003 (eval "$ac_compile") 2>conftest.er1
41005 grep -v '^ *+' conftest.er1 >conftest.err
41007 cat conftest.err >&5
41008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009 (exit $ac_status); } && {
41010 test -z "$ac_c_werror_flag" ||
41011 test ! -s conftest.err
41012 } && test -s conftest.$ac_objext; then
41013 ac_cv_func_which_gethostbyname_r=five
41015 echo "$as_me: failed program was:" >&5
41016 sed 's/^/| /' conftest.$ac_ext >&5
41021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41027 # (e.g. AIX, HP-UX, Tru64)
41030 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41032 cat >conftest.$ac_ext <<_ACEOF
41035 cat confdefs.h >>conftest.$ac_ext
41036 cat >>conftest.$ac_ext <<_ACEOF
41037 /* end confdefs.h. */
41043 char *name = "www.gnu.org";
41044 struct hostent ret;
41045 struct hostent_data data;
41046 (void)gethostbyname_r(name, &ret, &data) /* ; */
41052 rm -f conftest.$ac_objext
41053 if { (ac_try="$ac_compile"
41054 case "(($ac_try" in
41055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41056 *) ac_try_echo=$ac_try;;
41058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41059 (eval "$ac_compile") 2>conftest.er1
41061 grep -v '^ *+' conftest.er1 >conftest.err
41063 cat conftest.err >&5
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); } && {
41066 test -z "$ac_c_werror_flag" ||
41067 test ! -s conftest.err
41068 } && test -s conftest.$ac_objext; then
41069 ac_cv_func_which_gethostbyname_r=three
41071 echo "$as_me: failed program was:" >&5
41072 sed 's/^/| /' conftest.$ac_ext >&5
41077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41081 ################################################################
41086 case "$ac_cv_func_which_gethostbyname_r" in
41088 { echo "$as_me:$LINENO: result: three" >&5
41089 echo "${ECHO_T}three" >&6; }
41090 cat >>confdefs.h <<\_ACEOF
41091 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41097 { echo "$as_me:$LINENO: result: five" >&5
41098 echo "${ECHO_T}five" >&6; }
41099 cat >>confdefs.h <<\_ACEOF
41100 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41106 { echo "$as_me:$LINENO: result: six" >&5
41107 echo "${ECHO_T}six" >&6; }
41108 cat >>confdefs.h <<\_ACEOF
41109 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41115 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41116 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41120 { echo "$as_me:$LINENO: result: can't tell" >&5
41121 echo "${ECHO_T}can't tell" >&6; }
41125 { { echo "$as_me:$LINENO: error: internal error" >&5
41126 echo "$as_me: error: internal error" >&2;}
41127 { (exit 1); exit 1; }; }
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41139 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41140 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41141 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41142 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41143 if test "${ac_cv_func_gethostbyname+set}" = set; then
41144 echo $ECHO_N "(cached) $ECHO_C" >&6
41146 cat >conftest.$ac_ext <<_ACEOF
41149 cat confdefs.h >>conftest.$ac_ext
41150 cat >>conftest.$ac_ext <<_ACEOF
41151 /* end confdefs.h. */
41152 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41154 #define gethostbyname innocuous_gethostbyname
41156 /* System header to define __stub macros and hopefully few prototypes,
41157 which can conflict with char gethostbyname (); below.
41158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41159 <limits.h> exists even on freestanding compilers. */
41162 # include <limits.h>
41164 # include <assert.h>
41167 #undef gethostbyname
41169 /* Override any GCC internal prototype to avoid an error.
41170 Use char because int might match the return type of a GCC
41171 builtin and then its argument prototype would still apply. */
41175 char gethostbyname ();
41176 /* The GNU C library defines this for functions which it implements
41177 to always fail with ENOSYS. Some functions are actually named
41178 something starting with __ and the normal name is an alias. */
41179 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41186 return gethostbyname ();
41191 rm -f conftest.$ac_objext conftest$ac_exeext
41192 if { (ac_try="$ac_link"
41193 case "(($ac_try" in
41194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41195 *) ac_try_echo=$ac_try;;
41197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41198 (eval "$ac_link") 2>conftest.er1
41200 grep -v '^ *+' conftest.er1 >conftest.err
41202 cat conftest.err >&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); } && {
41205 test -z "$ac_c_werror_flag" ||
41206 test ! -s conftest.err
41207 } && test -s conftest$ac_exeext &&
41208 $as_test_x conftest$ac_exeext; then
41209 ac_cv_func_gethostbyname=yes
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41214 ac_cv_func_gethostbyname=no
41217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41218 conftest$ac_exeext conftest.$ac_ext
41220 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41221 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41222 if test $ac_cv_func_gethostbyname = yes; then
41223 cat >>confdefs.h <<\_ACEOF
41224 #define HAVE_GETHOSTBYNAME 1
41231 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41232 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41233 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41234 echo $ECHO_N "(cached) $ECHO_C" >&6
41238 ac_cpp='$CXXCPP $CPPFLAGS'
41239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41244 cat >conftest.$ac_ext <<_ACEOF
41247 cat confdefs.h >>conftest.$ac_ext
41248 cat >>conftest.$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41257 struct servent *se, *res;
41260 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41266 rm -f conftest.$ac_objext
41267 if { (ac_try="$ac_compile"
41268 case "(($ac_try" in
41269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41270 *) ac_try_echo=$ac_try;;
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273 (eval "$ac_compile") 2>conftest.er1
41275 grep -v '^ *+' conftest.er1 >conftest.err
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } && {
41280 test -z "$ac_cxx_werror_flag" ||
41281 test ! -s conftest.err
41282 } && test -s conftest.$ac_objext; then
41283 ac_cv_func_which_getservbyname_r=six
41285 echo "$as_me: failed program was:" >&5
41286 sed 's/^/| /' conftest.$ac_ext >&5
41289 cat >conftest.$ac_ext <<_ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h. */
41302 struct servent *se;
41305 (void) getservbyname_r(name, proto, se, buffer, buflen)
41311 rm -f conftest.$ac_objext
41312 if { (ac_try="$ac_compile"
41313 case "(($ac_try" in
41314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41315 *) ac_try_echo=$ac_try;;
41317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41318 (eval "$ac_compile") 2>conftest.er1
41320 grep -v '^ *+' conftest.er1 >conftest.err
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } && {
41325 test -z "$ac_cxx_werror_flag" ||
41326 test ! -s conftest.err
41327 } && test -s conftest.$ac_objext; then
41328 ac_cv_func_which_getservbyname_r=five
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41334 cat >conftest.$ac_ext <<_ACEOF
41337 cat confdefs.h >>conftest.$ac_ext
41338 cat >>conftest.$ac_ext <<_ACEOF
41339 /* end confdefs.h. */
41347 struct servent *se;
41348 struct servent_data data;
41349 (void) getservbyname_r(name, proto, se, &data);
41355 rm -f conftest.$ac_objext
41356 if { (ac_try="$ac_compile"
41357 case "(($ac_try" in
41358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41359 *) ac_try_echo=$ac_try;;
41361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41362 (eval "$ac_compile") 2>conftest.er1
41364 grep -v '^ *+' conftest.er1 >conftest.err
41366 cat conftest.err >&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } && {
41369 test -z "$ac_cxx_werror_flag" ||
41370 test ! -s conftest.err
41371 } && test -s conftest.$ac_objext; then
41372 ac_cv_func_which_getservbyname_r=four
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41377 ac_cv_func_which_getservbyname_r=no
41381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41393 ac_cpp='$CPP $CPPFLAGS'
41394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41401 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41402 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41404 if test $ac_cv_func_which_getservbyname_r = six; then
41405 cat >>confdefs.h <<\_ACEOF
41406 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41409 elif test $ac_cv_func_which_getservbyname_r = five; then
41410 cat >>confdefs.h <<\_ACEOF
41411 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41414 elif test $ac_cv_func_which_getservbyname_r = four; then
41415 cat >>confdefs.h <<\_ACEOF
41416 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41422 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41423 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41425 for ac_func in getservbyname
41427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41431 echo $ECHO_N "(cached) $ECHO_C" >&6
41433 cat >conftest.$ac_ext <<_ACEOF
41436 cat confdefs.h >>conftest.$ac_ext
41437 cat >>conftest.$ac_ext <<_ACEOF
41438 /* end confdefs.h. */
41439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41441 #define $ac_func innocuous_$ac_func
41443 /* System header to define __stub macros and hopefully few prototypes,
41444 which can conflict with char $ac_func (); below.
41445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41446 <limits.h> exists even on freestanding compilers. */
41449 # include <limits.h>
41451 # include <assert.h>
41456 /* Override any GCC internal prototype to avoid an error.
41457 Use char because int might match the return type of a GCC
41458 builtin and then its argument prototype would still apply. */
41463 /* The GNU C library defines this for functions which it implements
41464 to always fail with ENOSYS. Some functions are actually named
41465 something starting with __ and the normal name is an alias. */
41466 #if defined __stub_$ac_func || defined __stub___$ac_func
41473 return $ac_func ();
41478 rm -f conftest.$ac_objext conftest$ac_exeext
41479 if { (ac_try="$ac_link"
41480 case "(($ac_try" in
41481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41482 *) ac_try_echo=$ac_try;;
41484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41485 (eval "$ac_link") 2>conftest.er1
41487 grep -v '^ *+' conftest.er1 >conftest.err
41489 cat conftest.err >&5
41490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491 (exit $ac_status); } && {
41492 test -z "$ac_c_werror_flag" ||
41493 test ! -s conftest.err
41494 } && test -s conftest$ac_exeext &&
41495 $as_test_x conftest$ac_exeext; then
41496 eval "$as_ac_var=yes"
41498 echo "$as_me: failed program was:" >&5
41499 sed 's/^/| /' conftest.$ac_ext >&5
41501 eval "$as_ac_var=no"
41504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41505 conftest$ac_exeext conftest.$ac_ext
41507 ac_res=`eval echo '${'$as_ac_var'}'`
41508 { echo "$as_me:$LINENO: result: $ac_res" >&5
41509 echo "${ECHO_T}$ac_res" >&6; }
41510 if test `eval echo '${'$as_ac_var'}'` = yes; then
41511 cat >>confdefs.h <<_ACEOF
41512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41514 cat >>confdefs.h <<\_ACEOF
41515 #define HAVE_GETSERVBYNAME 1
41523 if test "$wxUSE_THREADS" = "yes"; then
41524 cat >>confdefs.h <<\_ACEOF
41525 #define wxUSE_THREADS 1
41529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41531 if test "$wx_cv_func_strtok_r" = "yes"; then
41532 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41533 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41534 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41535 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41536 { echo "$as_me:$LINENO: result: yes" >&5
41537 echo "${ECHO_T}yes" >&6; }
41539 { echo "$as_me:$LINENO: result: no" >&5
41540 echo "${ECHO_T}no" >&6; }
41545 if test "$WXGTK2" = 1 ; then
41546 cat >>confdefs.h <<_ACEOF
41547 #define __WXGTK20__ $WXGTK2
41553 if test "$WXGTK12" = 1 ; then
41554 cat >>confdefs.h <<_ACEOF
41555 #define __WXGTK12__ $WXGTK12
41560 if test "$WXGTK127" = 1 ; then
41561 cat >>confdefs.h <<_ACEOF
41562 #define __WXGTK127__ $WXGTK127
41567 if test "$WXGPE" = 1 ; then
41568 cat >>confdefs.h <<_ACEOF
41569 #define __WXGPE__ $WXGPE
41575 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41576 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41577 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41578 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41582 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41583 wxUSE_DEBUG_INFO=yes
41584 if test "$GCC" = yes; then
41585 DEBUG_CFLAGS="-ggdb"
41589 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41590 if test "$wxUSE_GTK" = 1 ; then
41591 if test "x$wxGTK_VERSION" = "x1" ; then
41592 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41597 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41598 cat >>confdefs.h <<\_ACEOF
41599 #define wxUSE_MEMORY_TRACING 1
41602 cat >>confdefs.h <<\_ACEOF
41603 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41606 cat >>confdefs.h <<\_ACEOF
41607 #define wxUSE_DEBUG_NEW_ALWAYS 1
41610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41613 if test "$wxUSE_DMALLOC" = "yes" ; then
41614 DMALLOC_LIBS="-ldmallocthcxx"
41618 if test "$wxUSE_PROFILE" = "yes" ; then
41619 PROFILE_FLAGS=" -pg"
41622 if test "$GCC" = "yes" ; then
41623 if test "$wxUSE_NO_RTTI" = "yes" ; then
41624 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41626 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41627 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41629 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41630 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41635 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41638 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41644 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41645 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41646 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41648 if test "$wxUSE_OPTIMISE" = "no" ; then
41649 if test "$GCC" = yes ; then
41650 OPTIMISE_CFLAGS="-O0"
41653 if test "$GCC" = yes ; then
41655 *-pc-os2_emx | *-pc-os2-emx )
41656 OPTIMISE_CFLAGS="-O2"
41659 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41663 OPTIMISE_CFLAGS="-O"
41669 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41670 cat >>confdefs.h <<\_ACEOF
41671 #define WXWIN_COMPATIBILITY_2_6 1
41675 WXWIN_COMPATIBILITY_2_8="yes"
41678 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41679 cat >>confdefs.h <<\_ACEOF
41680 #define WXWIN_COMPATIBILITY_2_8 1
41686 if test "$wxUSE_GUI" = "yes"; then
41687 cat >>confdefs.h <<\_ACEOF
41688 #define wxUSE_GUI 1
41695 if test "$wxUSE_UNIX" = "yes"; then
41696 cat >>confdefs.h <<\_ACEOF
41697 #define wxUSE_UNIX 1
41703 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41707 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41708 if test "$USE_DOS" = 1; then
41712 for ac_func in dlopen
41714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41720 cat >conftest.$ac_ext <<_ACEOF
41723 cat confdefs.h >>conftest.$ac_ext
41724 cat >>conftest.$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41728 #define $ac_func innocuous_$ac_func
41730 /* System header to define __stub macros and hopefully few prototypes,
41731 which can conflict with char $ac_func (); below.
41732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41733 <limits.h> exists even on freestanding compilers. */
41736 # include <limits.h>
41738 # include <assert.h>
41743 /* Override any GCC internal prototype to avoid an error.
41744 Use char because int might match the return type of a GCC
41745 builtin and then its argument prototype would still apply. */
41750 /* The GNU C library defines this for functions which it implements
41751 to always fail with ENOSYS. Some functions are actually named
41752 something starting with __ and the normal name is an alias. */
41753 #if defined __stub_$ac_func || defined __stub___$ac_func
41760 return $ac_func ();
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (ac_try="$ac_link"
41767 case "(($ac_try" in
41768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41769 *) ac_try_echo=$ac_try;;
41771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41772 (eval "$ac_link") 2>conftest.er1
41774 grep -v '^ *+' conftest.er1 >conftest.err
41776 cat conftest.err >&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); } && {
41779 test -z "$ac_c_werror_flag" ||
41780 test ! -s conftest.err
41781 } && test -s conftest$ac_exeext &&
41782 $as_test_x conftest$ac_exeext; then
41783 eval "$as_ac_var=yes"
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41788 eval "$as_ac_var=no"
41791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41792 conftest$ac_exeext conftest.$ac_ext
41794 ac_res=`eval echo '${'$as_ac_var'}'`
41795 { echo "$as_me:$LINENO: result: $ac_res" >&5
41796 echo "${ECHO_T}$ac_res" >&6; }
41797 if test `eval echo '${'$as_ac_var'}'` = yes; then
41798 cat >>confdefs.h <<_ACEOF
41799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41802 cat >>confdefs.h <<\_ACEOF
41803 #define HAVE_DLOPEN 1
41810 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41811 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41812 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41813 echo $ECHO_N "(cached) $ECHO_C" >&6
41815 ac_check_lib_save_LIBS=$LIBS
41817 cat >conftest.$ac_ext <<_ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41824 /* Override any GCC internal prototype to avoid an error.
41825 Use char because int might match the return type of a GCC
41826 builtin and then its argument prototype would still apply. */
41839 rm -f conftest.$ac_objext conftest$ac_exeext
41840 if { (ac_try="$ac_link"
41841 case "(($ac_try" in
41842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41843 *) ac_try_echo=$ac_try;;
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846 (eval "$ac_link") 2>conftest.er1
41848 grep -v '^ *+' conftest.er1 >conftest.err
41850 cat conftest.err >&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); } && {
41853 test -z "$ac_c_werror_flag" ||
41854 test ! -s conftest.err
41855 } && test -s conftest$ac_exeext &&
41856 $as_test_x conftest$ac_exeext; then
41857 ac_cv_lib_dl_dlopen=yes
41859 echo "$as_me: failed program was:" >&5
41860 sed 's/^/| /' conftest.$ac_ext >&5
41862 ac_cv_lib_dl_dlopen=no
41865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41866 conftest$ac_exeext conftest.$ac_ext
41867 LIBS=$ac_check_lib_save_LIBS
41869 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41870 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41871 if test $ac_cv_lib_dl_dlopen = yes; then
41873 cat >>confdefs.h <<\_ACEOF
41874 #define HAVE_DLOPEN 1
41878 DL_LINK=" -ldl$DL_LINK"
41883 for ac_func in shl_load
41885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41889 echo $ECHO_N "(cached) $ECHO_C" >&6
41891 cat >conftest.$ac_ext <<_ACEOF
41894 cat confdefs.h >>conftest.$ac_ext
41895 cat >>conftest.$ac_ext <<_ACEOF
41896 /* end confdefs.h. */
41897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41899 #define $ac_func innocuous_$ac_func
41901 /* System header to define __stub macros and hopefully few prototypes,
41902 which can conflict with char $ac_func (); below.
41903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41904 <limits.h> exists even on freestanding compilers. */
41907 # include <limits.h>
41909 # include <assert.h>
41914 /* Override any GCC internal prototype to avoid an error.
41915 Use char because int might match the return type of a GCC
41916 builtin and then its argument prototype would still apply. */
41921 /* The GNU C library defines this for functions which it implements
41922 to always fail with ENOSYS. Some functions are actually named
41923 something starting with __ and the normal name is an alias. */
41924 #if defined __stub_$ac_func || defined __stub___$ac_func
41931 return $ac_func ();
41936 rm -f conftest.$ac_objext conftest$ac_exeext
41937 if { (ac_try="$ac_link"
41938 case "(($ac_try" in
41939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41940 *) ac_try_echo=$ac_try;;
41942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41943 (eval "$ac_link") 2>conftest.er1
41945 grep -v '^ *+' conftest.er1 >conftest.err
41947 cat conftest.err >&5
41948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41949 (exit $ac_status); } && {
41950 test -z "$ac_c_werror_flag" ||
41951 test ! -s conftest.err
41952 } && test -s conftest$ac_exeext &&
41953 $as_test_x conftest$ac_exeext; then
41954 eval "$as_ac_var=yes"
41956 echo "$as_me: failed program was:" >&5
41957 sed 's/^/| /' conftest.$ac_ext >&5
41959 eval "$as_ac_var=no"
41962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41963 conftest$ac_exeext conftest.$ac_ext
41965 ac_res=`eval echo '${'$as_ac_var'}'`
41966 { echo "$as_me:$LINENO: result: $ac_res" >&5
41967 echo "${ECHO_T}$ac_res" >&6; }
41968 if test `eval echo '${'$as_ac_var'}'` = yes; then
41969 cat >>confdefs.h <<_ACEOF
41970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41973 cat >>confdefs.h <<\_ACEOF
41974 #define HAVE_SHL_LOAD 1
41981 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41982 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41983 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41984 echo $ECHO_N "(cached) $ECHO_C" >&6
41986 ac_check_lib_save_LIBS=$LIBS
41987 LIBS="-lshl_load $LIBS"
41988 cat >conftest.$ac_ext <<_ACEOF
41991 cat confdefs.h >>conftest.$ac_ext
41992 cat >>conftest.$ac_ext <<_ACEOF
41993 /* end confdefs.h. */
41995 /* Override any GCC internal prototype to avoid an error.
41996 Use char because int might match the return type of a GCC
41997 builtin and then its argument prototype would still apply. */
42010 rm -f conftest.$ac_objext conftest$ac_exeext
42011 if { (ac_try="$ac_link"
42012 case "(($ac_try" in
42013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42014 *) ac_try_echo=$ac_try;;
42016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42017 (eval "$ac_link") 2>conftest.er1
42019 grep -v '^ *+' conftest.er1 >conftest.err
42021 cat conftest.err >&5
42022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42023 (exit $ac_status); } && {
42024 test -z "$ac_c_werror_flag" ||
42025 test ! -s conftest.err
42026 } && test -s conftest$ac_exeext &&
42027 $as_test_x conftest$ac_exeext; then
42028 ac_cv_lib_shl_load_dld=yes
42030 echo "$as_me: failed program was:" >&5
42031 sed 's/^/| /' conftest.$ac_ext >&5
42033 ac_cv_lib_shl_load_dld=no
42036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42037 conftest$ac_exeext conftest.$ac_ext
42038 LIBS=$ac_check_lib_save_LIBS
42040 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42041 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42042 if test $ac_cv_lib_shl_load_dld = yes; then
42045 DL_LINK=" -ldld$DL_LINK"
42061 if test "$HAVE_DL_FUNCS" = 1; then
42063 for ac_func in dlerror
42065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42069 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 cat >conftest.$ac_ext <<_ACEOF
42074 cat confdefs.h >>conftest.$ac_ext
42075 cat >>conftest.$ac_ext <<_ACEOF
42076 /* end confdefs.h. */
42077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42079 #define $ac_func innocuous_$ac_func
42081 /* System header to define __stub macros and hopefully few prototypes,
42082 which can conflict with char $ac_func (); below.
42083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42084 <limits.h> exists even on freestanding compilers. */
42087 # include <limits.h>
42089 # include <assert.h>
42094 /* Override any GCC internal prototype to avoid an error.
42095 Use char because int might match the return type of a GCC
42096 builtin and then its argument prototype would still apply. */
42101 /* The GNU C library defines this for functions which it implements
42102 to always fail with ENOSYS. Some functions are actually named
42103 something starting with __ and the normal name is an alias. */
42104 #if defined __stub_$ac_func || defined __stub___$ac_func
42111 return $ac_func ();
42116 rm -f conftest.$ac_objext conftest$ac_exeext
42117 if { (ac_try="$ac_link"
42118 case "(($ac_try" in
42119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42120 *) ac_try_echo=$ac_try;;
42122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42123 (eval "$ac_link") 2>conftest.er1
42125 grep -v '^ *+' conftest.er1 >conftest.err
42127 cat conftest.err >&5
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); } && {
42130 test -z "$ac_c_werror_flag" ||
42131 test ! -s conftest.err
42132 } && test -s conftest$ac_exeext &&
42133 $as_test_x conftest$ac_exeext; then
42134 eval "$as_ac_var=yes"
42136 echo "$as_me: failed program was:" >&5
42137 sed 's/^/| /' conftest.$ac_ext >&5
42139 eval "$as_ac_var=no"
42142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42143 conftest$ac_exeext conftest.$ac_ext
42145 ac_res=`eval echo '${'$as_ac_var'}'`
42146 { echo "$as_me:$LINENO: result: $ac_res" >&5
42147 echo "${ECHO_T}$ac_res" >&6; }
42148 if test `eval echo '${'$as_ac_var'}'` = yes; then
42149 cat >>confdefs.h <<_ACEOF
42150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42152 cat >>confdefs.h <<\_ACEOF
42153 #define HAVE_DLERROR 1
42158 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42159 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42160 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42163 ac_check_lib_save_LIBS=$LIBS
42165 cat >conftest.$ac_ext <<_ACEOF
42168 cat confdefs.h >>conftest.$ac_ext
42169 cat >>conftest.$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42172 /* Override any GCC internal prototype to avoid an error.
42173 Use char because int might match the return type of a GCC
42174 builtin and then its argument prototype would still apply. */
42187 rm -f conftest.$ac_objext conftest$ac_exeext
42188 if { (ac_try="$ac_link"
42189 case "(($ac_try" in
42190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42191 *) ac_try_echo=$ac_try;;
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194 (eval "$ac_link") 2>conftest.er1
42196 grep -v '^ *+' conftest.er1 >conftest.err
42198 cat conftest.err >&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } && {
42201 test -z "$ac_c_werror_flag" ||
42202 test ! -s conftest.err
42203 } && test -s conftest$ac_exeext &&
42204 $as_test_x conftest$ac_exeext; then
42205 ac_cv_lib_dl_dlerror=yes
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.$ac_ext >&5
42210 ac_cv_lib_dl_dlerror=no
42213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42214 conftest$ac_exeext conftest.$ac_ext
42215 LIBS=$ac_check_lib_save_LIBS
42217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42218 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42219 if test $ac_cv_lib_dl_dlerror = yes; then
42220 cat >>confdefs.h <<\_ACEOF
42221 #define HAVE_DLERROR 1
42234 if test "$USE_DARWIN" = 1; then
42238 if test "$HAVE_DL_FUNCS" = 0; then
42239 if test "$HAVE_SHL_FUNCS" = 0; then
42240 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42241 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42242 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42243 wxUSE_DYNAMIC_LOADER=no
42244 wxUSE_DYNLIB_CLASS=no
42246 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42247 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42254 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42255 cat >>confdefs.h <<\_ACEOF
42256 #define wxUSE_DYNAMIC_LOADER 1
42260 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42261 cat >>confdefs.h <<\_ACEOF
42262 #define wxUSE_DYNLIB_CLASS 1
42269 if test "$wxUSE_PLUGINS" = "yes" ; then
42270 if test "$wxUSE_SHARED" = "no" ; then
42271 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42272 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42275 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42276 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42277 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42280 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42281 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42282 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42285 if test "$wxUSE_PLUGINS" = "yes" ; then
42286 cat >>confdefs.h <<\_ACEOF
42287 #define wxUSE_PLUGINS 1
42294 if test "$wxUSE_STL" = "yes"; then
42295 cat >>confdefs.h <<\_ACEOF
42296 #define wxUSE_STL 1
42301 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42302 cat >>confdefs.h <<\_ACEOF
42303 #define wxUSE_EXTENDED_RTTI 1
42308 if test "$wxUSE_ANY" = "yes"; then
42309 cat >>confdefs.h <<\_ACEOF
42310 #define wxUSE_ANY 1
42315 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42316 cat >>confdefs.h <<\_ACEOF
42317 #define wxUSE_APPLE_IEEE 1
42322 if test "$wxUSE_TIMER" = "yes"; then
42323 cat >>confdefs.h <<\_ACEOF
42324 #define wxUSE_TIMER 1
42329 if test "$USE_UNIX" = 1 ; then
42330 if test "$wxUSE_MGL" != 1; then
42331 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42332 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42333 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42334 echo $ECHO_N "(cached) $ECHO_C" >&6
42337 cat >conftest.$ac_ext <<_ACEOF
42340 cat confdefs.h >>conftest.$ac_ext
42341 cat >>conftest.$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42344 #include <sys/ioctl.h>
42345 #include <sys/soundcard.h>
42351 ioctl(0, SNDCTL_DSP_SPEED, 0);
42357 rm -f conftest.$ac_objext conftest$ac_exeext
42358 if { (ac_try="$ac_link"
42359 case "(($ac_try" in
42360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42361 *) ac_try_echo=$ac_try;;
42363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42364 (eval "$ac_link") 2>conftest.er1
42366 grep -v '^ *+' conftest.er1 >conftest.err
42368 cat conftest.err >&5
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); } && {
42371 test -z "$ac_c_werror_flag" ||
42372 test ! -s conftest.err
42373 } && test -s conftest$ac_exeext &&
42374 $as_test_x conftest$ac_exeext; then
42375 ac_cv_header_sys_soundcard=yes
42377 echo "$as_me: failed program was:" >&5
42378 sed 's/^/| /' conftest.$ac_ext >&5
42382 LIBS="$saveLibs -lossaudio"
42383 cat >conftest.$ac_ext <<_ACEOF
42386 cat confdefs.h >>conftest.$ac_ext
42387 cat >>conftest.$ac_ext <<_ACEOF
42388 /* end confdefs.h. */
42390 #include <sys/ioctl.h>
42391 #include <sys/soundcard.h>
42397 ioctl(0, SNDCTL_DSP_SPEED, 0);
42403 rm -f conftest.$ac_objext conftest$ac_exeext
42404 if { (ac_try="$ac_link"
42405 case "(($ac_try" in
42406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42407 *) ac_try_echo=$ac_try;;
42409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42410 (eval "$ac_link") 2>conftest.er1
42412 grep -v '^ *+' conftest.er1 >conftest.err
42414 cat conftest.err >&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); } && {
42417 test -z "$ac_c_werror_flag" ||
42418 test ! -s conftest.err
42419 } && test -s conftest$ac_exeext &&
42420 $as_test_x conftest$ac_exeext; then
42421 ac_cv_header_sys_soundcard=yes
42423 echo "$as_me: failed program was:" >&5
42424 sed 's/^/| /' conftest.$ac_ext >&5
42428 ac_cv_header_sys_soundcard=no
42433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42434 conftest$ac_exeext conftest.$ac_ext
42439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42440 conftest$ac_exeext conftest.$ac_ext
42443 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42444 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42447 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42448 cat >>confdefs.h <<\_ACEOF
42449 #define HAVE_SYS_SOUNDCARD_H 1
42456 if test "$wxUSE_SOUND" = "yes"; then
42457 if test "$USE_UNIX" = 1 ; then
42458 if test "$wxUSE_LIBSDL" != "no"; then
42460 # Check whether --with-sdl-prefix was given.
42461 if test "${with_sdl_prefix+set}" = set; then
42462 withval=$with_sdl_prefix; sdl_prefix="$withval"
42468 # Check whether --with-sdl-exec-prefix was given.
42469 if test "${with_sdl_exec_prefix+set}" = set; then
42470 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42475 # Check whether --enable-sdltest was given.
42476 if test "${enable_sdltest+set}" = set; then
42477 enableval=$enable_sdltest;
42483 if test x$sdl_exec_prefix != x ; then
42484 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42485 if test x${SDL_CONFIG+set} != xset ; then
42486 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42489 if test x$sdl_prefix != x ; then
42490 sdl_args="$sdl_args --prefix=$sdl_prefix"
42491 if test x${SDL_CONFIG+set} != xset ; then
42492 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42496 if test "x$prefix" != xNONE; then
42497 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42499 # Extract the first word of "sdl-config", so it can be a program name with args.
42500 set dummy sdl-config; ac_word=$2
42501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42503 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42504 echo $ECHO_N "(cached) $ECHO_C" >&6
42506 case $SDL_CONFIG in
42508 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42512 for as_dir in $PATH
42515 test -z "$as_dir" && as_dir=.
42516 for ac_exec_ext in '' $ac_executable_extensions; do
42517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42518 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42526 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42530 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42531 if test -n "$SDL_CONFIG"; then
42532 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42533 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42535 { echo "$as_me:$LINENO: result: no" >&5
42536 echo "${ECHO_T}no" >&6; }
42540 min_sdl_version=1.2.0
42541 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42542 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42544 if test "$SDL_CONFIG" = "no" ; then
42547 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42548 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42550 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42552 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42553 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42554 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42556 if test "x$enable_sdltest" = "xyes" ; then
42557 ac_save_CFLAGS="$CFLAGS"
42558 ac_save_CXXFLAGS="$CXXFLAGS"
42559 ac_save_LIBS="$LIBS"
42560 CFLAGS="$CFLAGS $SDL_CFLAGS"
42561 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42562 LIBS="$LIBS $SDL_LIBS"
42564 if test "$cross_compiling" = yes; then
42565 echo $ac_n "cross compiling; assumed OK... $ac_c"
42567 cat >conftest.$ac_ext <<_ACEOF
42570 cat confdefs.h >>conftest.$ac_ext
42571 cat >>conftest.$ac_ext <<_ACEOF
42572 /* end confdefs.h. */
42575 #include <stdlib.h>
42576 #include <string.h>
42580 my_strdup (char *str)
42586 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42587 strcpy (new_str, str);
42595 int main (int argc, char *argv[])
42597 int major, minor, micro;
42600 /* This hangs on some systems (?)
42601 system ("touch conf.sdltest");
42603 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42605 /* HP/UX 9 (%@#!) writes to sscanf strings */
42606 tmp_version = my_strdup("$min_sdl_version");
42607 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42608 printf("%s, bad version string\n", "$min_sdl_version");
42612 if (($sdl_major_version > major) ||
42613 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42614 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42620 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42621 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42622 printf("*** best to upgrade to the required version.\n");
42623 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42624 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42625 printf("*** config.cache before re-running configure\n");
42632 rm -f conftest$ac_exeext
42633 if { (ac_try="$ac_link"
42634 case "(($ac_try" in
42635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42636 *) ac_try_echo=$ac_try;;
42638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42639 (eval "$ac_link") 2>&5
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
42650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651 (exit $ac_status); }; }; then
42654 echo "$as_me: program exited with status $ac_status" >&5
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42658 ( exit $ac_status )
42661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42665 CFLAGS="$ac_save_CFLAGS"
42666 CXXFLAGS="$ac_save_CXXFLAGS"
42667 LIBS="$ac_save_LIBS"
42670 if test "x$no_sdl" = x ; then
42671 { echo "$as_me:$LINENO: result: yes" >&5
42672 echo "${ECHO_T}yes" >&6; }
42674 EXTRALIBS_SDL="$SDL_LIBS"
42675 CFLAGS="$SDL_CFLAGS $CFLAGS"
42676 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42677 cat >>confdefs.h <<\_ACEOF
42678 #define wxUSE_LIBSDL 1
42683 { echo "$as_me:$LINENO: result: no" >&5
42684 echo "${ECHO_T}no" >&6; }
42685 if test "$SDL_CONFIG" = "no" ; then
42686 echo "*** The sdl-config script installed by SDL could not be found"
42687 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42688 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42689 echo "*** full path to sdl-config."
42691 if test -f conf.sdltest ; then
42694 echo "*** Could not run SDL test program, checking why..."
42695 CFLAGS="$CFLAGS $SDL_CFLAGS"
42696 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42697 LIBS="$LIBS $SDL_LIBS"
42698 cat >conftest.$ac_ext <<_ACEOF
42701 cat confdefs.h >>conftest.$ac_ext
42702 cat >>conftest.$ac_ext <<_ACEOF
42703 /* end confdefs.h. */
42708 int main(int argc, char *argv[])
42711 #define main K_and_R_C_main
42721 rm -f conftest.$ac_objext conftest$ac_exeext
42722 if { (ac_try="$ac_link"
42723 case "(($ac_try" in
42724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42725 *) ac_try_echo=$ac_try;;
42727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42728 (eval "$ac_link") 2>conftest.er1
42730 grep -v '^ *+' conftest.er1 >conftest.err
42732 cat conftest.err >&5
42733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); } && {
42735 test -z "$ac_c_werror_flag" ||
42736 test ! -s conftest.err
42737 } && test -s conftest$ac_exeext &&
42738 $as_test_x conftest$ac_exeext; then
42739 echo "*** The test program compiled, but did not run. This usually means"
42740 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42741 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42742 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42743 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42744 echo "*** is required on your system"
42746 echo "*** If you have an old version installed, it is best to remove it, although"
42747 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42749 echo "$as_me: failed program was:" >&5
42750 sed 's/^/| /' conftest.$ac_ext >&5
42752 echo "*** The test program failed to compile or link. See the file config.log for the"
42753 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42754 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42755 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42759 conftest$ac_exeext conftest.$ac_ext
42760 CFLAGS="$ac_save_CFLAGS"
42761 CXXFLAGS="$ac_save_CXXFLAGS"
42762 LIBS="$ac_save_LIBS"
42773 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42778 if test "$wxUSE_MGL" = 1; then
42779 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42780 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42786 if test "$wxUSE_SOUND" = "yes"; then
42787 cat >>confdefs.h <<\_ACEOF
42788 #define wxUSE_SOUND 1
42791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42794 if test "$WXGTK2" = 1; then
42797 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42798 if test -n "$ac_tool_prefix"; then
42799 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42800 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42804 echo $ECHO_N "(cached) $ECHO_C" >&6
42806 case $PKG_CONFIG in
42808 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42812 for as_dir in $PATH
42815 test -z "$as_dir" && as_dir=.
42816 for ac_exec_ext in '' $ac_executable_extensions; do
42817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42818 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42829 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42830 if test -n "$PKG_CONFIG"; then
42831 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42832 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42834 { echo "$as_me:$LINENO: result: no" >&5
42835 echo "${ECHO_T}no" >&6; }
42840 if test -z "$ac_cv_path_PKG_CONFIG"; then
42841 ac_pt_PKG_CONFIG=$PKG_CONFIG
42842 # Extract the first word of "pkg-config", so it can be a program name with args.
42843 set dummy pkg-config; ac_word=$2
42844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42846 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42849 case $ac_pt_PKG_CONFIG in
42851 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42855 for as_dir in $PATH
42858 test -z "$as_dir" && as_dir=.
42859 for ac_exec_ext in '' $ac_executable_extensions; do
42860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42861 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42872 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42873 if test -n "$ac_pt_PKG_CONFIG"; then
42874 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42875 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42877 { echo "$as_me:$LINENO: result: no" >&5
42878 echo "${ECHO_T}no" >&6; }
42881 if test "x$ac_pt_PKG_CONFIG" = x; then
42884 case $cross_compiling:$ac_tool_warned in
42886 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42887 whose name does not start with the host triplet. If you think this
42888 configuration is useful to you, please write to autoconf@gnu.org." >&5
42889 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42890 whose name does not start with the host triplet. If you think this
42891 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42892 ac_tool_warned=yes ;;
42894 PKG_CONFIG=$ac_pt_PKG_CONFIG
42897 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42901 if test -n "$PKG_CONFIG"; then
42902 _pkg_min_version=0.9.0
42903 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42904 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42905 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42906 { echo "$as_me:$LINENO: result: yes" >&5
42907 echo "${ECHO_T}yes" >&6; }
42909 { echo "$as_me:$LINENO: result: no" >&5
42910 echo "${ECHO_T}no" >&6; }
42916 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42918 if test "$wxUSE_GTKPRINT" = "yes" ; then
42922 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42923 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42925 if test -n "$PKG_CONFIG"; then
42926 if test -n "$GTKPRINT_CFLAGS"; then
42927 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42929 if test -n "$PKG_CONFIG" && \
42930 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42931 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42934 (exit $ac_status); }; then
42935 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42943 if test -n "$PKG_CONFIG"; then
42944 if test -n "$GTKPRINT_LIBS"; then
42945 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42947 if test -n "$PKG_CONFIG" && \
42948 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42949 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42952 (exit $ac_status); }; then
42953 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42964 if test $pkg_failed = yes; then
42966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42967 _pkg_short_errors_supported=yes
42969 _pkg_short_errors_supported=no
42971 if test $_pkg_short_errors_supported = yes; then
42972 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42974 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42976 # Put the nasty error message in config.log where it belongs
42977 echo "$GTKPRINT_PKG_ERRORS" >&5
42980 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42981 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42982 wxUSE_GTKPRINT="no"
42985 elif test $pkg_failed = untried; then
42987 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42988 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42989 wxUSE_GTKPRINT="no"
42993 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42994 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42995 { echo "$as_me:$LINENO: result: yes" >&5
42996 echo "${ECHO_T}yes" >&6; }
42998 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42999 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43000 cat >>confdefs.h <<\_ACEOF
43001 #define wxUSE_GTKPRINT 1
43008 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43012 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43013 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43015 if test -n "$PKG_CONFIG"; then
43016 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43017 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43019 if test -n "$PKG_CONFIG" && \
43020 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43021 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); }; then
43025 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43033 if test -n "$PKG_CONFIG"; then
43034 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43035 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43037 if test -n "$PKG_CONFIG" && \
43038 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43039 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43042 (exit $ac_status); }; then
43043 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43054 if test $pkg_failed = yes; then
43056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43057 _pkg_short_errors_supported=yes
43059 _pkg_short_errors_supported=no
43061 if test $_pkg_short_errors_supported = yes; then
43062 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43064 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43066 # Put the nasty error message in config.log where it belongs
43067 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43070 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43071 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43072 wxUSE_LIBGNOMEPRINT="no"
43075 elif test $pkg_failed = untried; then
43077 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43078 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43079 wxUSE_LIBGNOMEPRINT="no"
43083 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43084 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43085 { echo "$as_me:$LINENO: result: yes" >&5
43086 echo "${ECHO_T}yes" >&6; }
43088 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43089 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43090 cat >>confdefs.h <<\_ACEOF
43091 #define wxUSE_LIBGNOMEPRINT 1
43099 if test "$wxUSE_MIMETYPE" = "yes" ; then
43100 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43104 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43105 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43107 if test -n "$PKG_CONFIG"; then
43108 if test -n "$GNOMEVFS_CFLAGS"; then
43109 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43111 if test -n "$PKG_CONFIG" && \
43112 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43113 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); }; then
43117 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43125 if test -n "$PKG_CONFIG"; then
43126 if test -n "$GNOMEVFS_LIBS"; then
43127 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43129 if test -n "$PKG_CONFIG" && \
43130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43131 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43134 (exit $ac_status); }; then
43135 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43146 if test $pkg_failed = yes; then
43148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43149 _pkg_short_errors_supported=yes
43151 _pkg_short_errors_supported=no
43153 if test $_pkg_short_errors_supported = yes; then
43154 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43156 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43158 # Put the nasty error message in config.log where it belongs
43159 echo "$GNOMEVFS_PKG_ERRORS" >&5
43162 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43163 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43164 wxUSE_LIBGNOMEVFS="no"
43167 elif test $pkg_failed = untried; then
43169 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43170 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43171 wxUSE_LIBGNOMEVFS="no"
43175 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43176 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43177 { echo "$as_me:$LINENO: result: yes" >&5
43178 echo "${ECHO_T}yes" >&6; }
43180 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43181 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43182 cat >>confdefs.h <<\_ACEOF
43183 #define wxUSE_LIBGNOMEVFS 1
43191 if test "$wxUSE_LIBHILDON" = "yes" ; then
43194 { echo "$as_me:$LINENO: checking for HILDON" >&5
43195 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43197 if test -n "$PKG_CONFIG"; then
43198 if test -n "$HILDON_CFLAGS"; then
43199 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43201 if test -n "$PKG_CONFIG" && \
43202 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43203 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); }; then
43207 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43215 if test -n "$PKG_CONFIG"; then
43216 if test -n "$HILDON_LIBS"; then
43217 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43219 if test -n "$PKG_CONFIG" && \
43220 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43221 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224 (exit $ac_status); }; then
43225 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43236 if test $pkg_failed = yes; then
43238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43239 _pkg_short_errors_supported=yes
43241 _pkg_short_errors_supported=no
43243 if test $_pkg_short_errors_supported = yes; then
43244 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43246 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43248 # Put the nasty error message in config.log where it belongs
43249 echo "$HILDON_PKG_ERRORS" >&5
43252 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43253 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43254 wxUSE_LIBHILDON="no"
43257 elif test $pkg_failed = untried; then
43259 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43260 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43261 wxUSE_LIBHILDON="no"
43265 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43266 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43267 { echo "$as_me:$LINENO: result: yes" >&5
43268 echo "${ECHO_T}yes" >&6; }
43270 EXTRALIBS_HILDON="$HILDON_LIBS"
43271 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43272 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43273 cat >>confdefs.h <<\_ACEOF
43274 #define wxUSE_LIBHILDON 1
43282 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43283 cat >>confdefs.h <<\_ACEOF
43284 #define wxUSE_CMDLINE_PARSER 1
43289 if test "$wxUSE_STOPWATCH" = "yes"; then
43290 cat >>confdefs.h <<\_ACEOF
43291 #define wxUSE_STOPWATCH 1
43296 if test "$wxUSE_DATETIME" = "yes"; then
43297 cat >>confdefs.h <<\_ACEOF
43298 #define wxUSE_DATETIME 1
43303 if test "$wxUSE_FILE" = "yes"; then
43304 cat >>confdefs.h <<\_ACEOF
43305 #define wxUSE_FILE 1
43310 if test "$wxUSE_FFILE" = "yes"; then
43311 cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_FFILE 1
43317 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43318 if test "$wxUSE_STREAMS" != yes; then
43319 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43320 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43321 wxUSE_ARCHIVE_STREAMS=no
43323 cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_ARCHIVE_STREAMS 1
43330 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43331 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43332 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43333 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43334 elif test "$wxUSE_ZLIB" = "no"; then
43335 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43336 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43338 cat >>confdefs.h <<\_ACEOF
43339 #define wxUSE_ZIPSTREAM 1
43345 if test "$wxUSE_TARSTREAM" = "yes"; then
43346 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43347 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43348 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43350 cat >>confdefs.h <<\_ACEOF
43351 #define wxUSE_TARSTREAM 1
43357 if test "$wxUSE_FILESYSTEM" = "yes"; then
43358 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43359 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43360 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43361 wxUSE_FILESYSTEM=no
43363 cat >>confdefs.h <<\_ACEOF
43364 #define wxUSE_FILESYSTEM 1
43370 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43371 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43372 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43373 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_FS_ARCHIVE 1
43382 if test "$wxUSE_FS_ZIP" = "yes"; then
43383 if test "$wxUSE_FS_ARCHIVE" != yes; then
43384 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43385 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_FS_ZIP 1
43394 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43395 if test "$USE_UNIX" != 1; then
43396 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43397 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43398 wxUSE_ON_FATAL_EXCEPTION=no
43400 cat >>confdefs.h <<\_ACEOF
43401 #define wxUSE_ON_FATAL_EXCEPTION 1
43407 if test "$wxUSE_STACKWALKER" = "yes"; then
43408 cat >>confdefs.h <<\_ACEOF
43409 #define wxUSE_STACKWALKER 1
43414 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43415 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43416 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43417 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43418 wxUSE_DEBUGREPORT=no
43420 cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_DEBUGREPORT 1
43424 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43430 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43431 cat >>confdefs.h <<\_ACEOF
43432 #define wxUSE_SNGLINST_CHECKER 1
43437 if test "$wxUSE_BUSYINFO" = "yes"; then
43438 cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_BUSYINFO 1
43444 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43445 cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_STD_IOSTREAM 1
43451 if test "$wxUSE_STD_STRING" = "yes"; then
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_STD_STRING 1
43458 if test "$wxUSE_STDPATHS" = "yes"; then
43459 cat >>confdefs.h <<\_ACEOF
43460 #define wxUSE_STDPATHS 1
43465 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43466 cat >>confdefs.h <<\_ACEOF
43467 #define wxUSE_TEXTBUFFER 1
43472 if test "$wxUSE_TEXTFILE" = "yes"; then
43473 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43474 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43475 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_TEXTFILE 1
43484 if test "$wxUSE_CONFIG" = "yes" ; then
43485 if test "$wxUSE_TEXTFILE" != "yes"; then
43486 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43487 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43489 cat >>confdefs.h <<\_ACEOF
43490 #define wxUSE_CONFIG 1
43493 cat >>confdefs.h <<\_ACEOF
43494 #define wxUSE_CONFIG_NATIVE 1
43497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43501 if test "$wxUSE_INTL" = "yes" ; then
43502 if test "$wxUSE_FILE" != "yes"; then
43503 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43504 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43506 cat >>confdefs.h <<\_ACEOF
43507 #define wxUSE_INTL 1
43510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43511 GUIDIST="$GUIDIST INTL_DIST"
43515 if test "$wxUSE_XLOCALE" = "yes" ; then
43516 cat >>confdefs.h <<\_ACEOF
43517 #define wxUSE_XLOCALE 1
43520 { echo "$as_me:$LINENO: checking for locale_t" >&5
43521 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43522 if test "${ac_cv_type_locale_t+set}" = set; then
43523 echo $ECHO_N "(cached) $ECHO_C" >&6
43525 cat >conftest.$ac_ext <<_ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h. */
43531 #include <xlocale.h>
43532 #include <locale.h>
43534 typedef locale_t ac__type_new_;
43538 if ((ac__type_new_ *) 0)
43540 if (sizeof (ac__type_new_))
43546 rm -f conftest.$ac_objext
43547 if { (ac_try="$ac_compile"
43548 case "(($ac_try" in
43549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43550 *) ac_try_echo=$ac_try;;
43552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43553 (eval "$ac_compile") 2>conftest.er1
43555 grep -v '^ *+' conftest.er1 >conftest.err
43557 cat conftest.err >&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } && {
43560 test -z "$ac_c_werror_flag" ||
43561 test ! -s conftest.err
43562 } && test -s conftest.$ac_objext; then
43563 ac_cv_type_locale_t=yes
43565 echo "$as_me: failed program was:" >&5
43566 sed 's/^/| /' conftest.$ac_ext >&5
43568 ac_cv_type_locale_t=no
43571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43574 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43575 if test $ac_cv_type_locale_t = yes; then
43577 cat >>confdefs.h <<_ACEOF
43578 #define HAVE_LOCALE_T 1
43586 if test "$wxUSE_LOG" = "yes"; then
43587 cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_LOG 1
43592 if test "$wxUSE_LOGGUI" = "yes"; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_LOGGUI 1
43599 if test "$wxUSE_LOGWINDOW" = "yes"; then
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_LOGWINDOW 1
43606 if test "$wxUSE_LOGDIALOG" = "yes"; then
43607 cat >>confdefs.h <<\_ACEOF
43608 #define wxUSE_LOG_DIALOG 1
43613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43616 if test "$wxUSE_LONGLONG" = "yes"; then
43617 cat >>confdefs.h <<\_ACEOF
43618 #define wxUSE_LONGLONG 1
43623 if test "$wxUSE_GEOMETRY" = "yes"; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define wxUSE_GEOMETRY 1
43630 if test "$wxUSE_BASE64" = "yes"; then
43631 cat >>confdefs.h <<\_ACEOF
43632 #define wxUSE_BASE64 1
43637 if test "$wxUSE_STREAMS" = "yes" ; then
43638 cat >>confdefs.h <<\_ACEOF
43639 #define wxUSE_STREAMS 1
43644 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43645 cat >>confdefs.h <<\_ACEOF
43646 #define wxUSE_PRINTF_POS_PARAMS 1
43651 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43652 cat >>confdefs.h <<\_ACEOF
43653 #define wxUSE_OBJC_UNIQUIFYING 1
43659 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43660 cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_CONSOLE_EVENTLOOP 1
43665 if test "$wxUSE_UNIX" = "yes"; then
43666 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43667 cat >>confdefs.h <<\_ACEOF
43668 #define wxUSE_SELECT_DISPATCHER 1
43673 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43675 for ac_header in sys/epoll.h
43677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43681 echo $ECHO_N "(cached) $ECHO_C" >&6
43683 cat >conftest.$ac_ext <<_ACEOF
43686 cat confdefs.h >>conftest.$ac_ext
43687 cat >>conftest.$ac_ext <<_ACEOF
43688 /* end confdefs.h. */
43689 $ac_includes_default
43691 #include <$ac_header>
43693 rm -f conftest.$ac_objext
43694 if { (ac_try="$ac_compile"
43695 case "(($ac_try" in
43696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43697 *) ac_try_echo=$ac_try;;
43699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43700 (eval "$ac_compile") 2>conftest.er1
43702 grep -v '^ *+' conftest.er1 >conftest.err
43704 cat conftest.err >&5
43705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43706 (exit $ac_status); } && {
43707 test -z "$ac_c_werror_flag" ||
43708 test ! -s conftest.err
43709 } && test -s conftest.$ac_objext; then
43710 eval "$as_ac_Header=yes"
43712 echo "$as_me: failed program was:" >&5
43713 sed 's/^/| /' conftest.$ac_ext >&5
43715 eval "$as_ac_Header=no"
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 ac_res=`eval echo '${'$as_ac_Header'}'`
43721 { echo "$as_me:$LINENO: result: $ac_res" >&5
43722 echo "${ECHO_T}$ac_res" >&6; }
43723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43724 cat >>confdefs.h <<_ACEOF
43725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43732 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_EPOLL_DISPATCHER 1
43738 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43739 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43748 for ac_func in gettimeofday ftime
43750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43754 echo $ECHO_N "(cached) $ECHO_C" >&6
43756 cat >conftest.$ac_ext <<_ACEOF
43759 cat confdefs.h >>conftest.$ac_ext
43760 cat >>conftest.$ac_ext <<_ACEOF
43761 /* end confdefs.h. */
43762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43764 #define $ac_func innocuous_$ac_func
43766 /* System header to define __stub macros and hopefully few prototypes,
43767 which can conflict with char $ac_func (); below.
43768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43769 <limits.h> exists even on freestanding compilers. */
43772 # include <limits.h>
43774 # include <assert.h>
43779 /* Override any GCC internal prototype to avoid an error.
43780 Use char because int might match the return type of a GCC
43781 builtin and then its argument prototype would still apply. */
43786 /* The GNU C library defines this for functions which it implements
43787 to always fail with ENOSYS. Some functions are actually named
43788 something starting with __ and the normal name is an alias. */
43789 #if defined __stub_$ac_func || defined __stub___$ac_func
43796 return $ac_func ();
43801 rm -f conftest.$ac_objext conftest$ac_exeext
43802 if { (ac_try="$ac_link"
43803 case "(($ac_try" in
43804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43805 *) ac_try_echo=$ac_try;;
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808 (eval "$ac_link") 2>conftest.er1
43810 grep -v '^ *+' conftest.er1 >conftest.err
43812 cat conftest.err >&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } && {
43815 test -z "$ac_c_werror_flag" ||
43816 test ! -s conftest.err
43817 } && test -s conftest$ac_exeext &&
43818 $as_test_x conftest$ac_exeext; then
43819 eval "$as_ac_var=yes"
43821 echo "$as_me: failed program was:" >&5
43822 sed 's/^/| /' conftest.$ac_ext >&5
43824 eval "$as_ac_var=no"
43827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43828 conftest$ac_exeext conftest.$ac_ext
43830 ac_res=`eval echo '${'$as_ac_var'}'`
43831 { echo "$as_me:$LINENO: result: $ac_res" >&5
43832 echo "${ECHO_T}$ac_res" >&6; }
43833 if test `eval echo '${'$as_ac_var'}'` = yes; then
43834 cat >>confdefs.h <<_ACEOF
43835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43842 if test "$ac_cv_func_gettimeofday" = "yes"; then
43843 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43844 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43845 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43846 echo $ECHO_N "(cached) $ECHO_C" >&6
43849 cat >conftest.$ac_ext <<_ACEOF
43852 cat confdefs.h >>conftest.$ac_ext
43853 cat >>conftest.$ac_ext <<_ACEOF
43854 /* end confdefs.h. */
43856 #include <sys/time.h>
43857 #include <unistd.h>
43864 gettimeofday(&tv, NULL);
43870 rm -f conftest.$ac_objext
43871 if { (ac_try="$ac_compile"
43872 case "(($ac_try" in
43873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43874 *) ac_try_echo=$ac_try;;
43876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43877 (eval "$ac_compile") 2>conftest.er1
43879 grep -v '^ *+' conftest.er1 >conftest.err
43881 cat conftest.err >&5
43882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43883 (exit $ac_status); } && {
43884 test -z "$ac_c_werror_flag" ||
43885 test ! -s conftest.err
43886 } && test -s conftest.$ac_objext; then
43887 wx_cv_func_gettimeofday_has_2_args=yes
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.$ac_ext >&5
43892 cat >conftest.$ac_ext <<_ACEOF
43895 cat confdefs.h >>conftest.$ac_ext
43896 cat >>conftest.$ac_ext <<_ACEOF
43897 /* end confdefs.h. */
43899 #include <sys/time.h>
43900 #include <unistd.h>
43913 rm -f conftest.$ac_objext
43914 if { (ac_try="$ac_compile"
43915 case "(($ac_try" in
43916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43917 *) ac_try_echo=$ac_try;;
43919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43920 (eval "$ac_compile") 2>conftest.er1
43922 grep -v '^ *+' conftest.er1 >conftest.err
43924 cat conftest.err >&5
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); } && {
43927 test -z "$ac_c_werror_flag" ||
43928 test ! -s conftest.err
43929 } && test -s conftest.$ac_objext; then
43930 wx_cv_func_gettimeofday_has_2_args=no
43932 echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.$ac_ext >&5
43936 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43937 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43938 wx_cv_func_gettimeofday_has_2_args=unknown
43943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43950 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43951 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43953 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43954 cat >>confdefs.h <<\_ACEOF
43955 #define WX_GETTIMEOFDAY_NO_TZ 1
43961 if test "$wxUSE_DATETIME" = "yes"; then
43962 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43963 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43964 if test "${wx_cv_var_timezone+set}" = set; then
43965 echo $ECHO_N "(cached) $ECHO_C" >&6
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43974 cat >conftest.$ac_ext <<_ACEOF
43977 cat confdefs.h >>conftest.$ac_ext
43978 cat >>conftest.$ac_ext <<_ACEOF
43979 /* end confdefs.h. */
43994 rm -f conftest.$ac_objext
43995 if { (ac_try="$ac_compile"
43996 case "(($ac_try" in
43997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43998 *) ac_try_echo=$ac_try;;
44000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44001 (eval "$ac_compile") 2>conftest.er1
44003 grep -v '^ *+' conftest.er1 >conftest.err
44005 cat conftest.err >&5
44006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007 (exit $ac_status); } && {
44008 test -z "$ac_cxx_werror_flag" ||
44009 test ! -s conftest.err
44010 } && test -s conftest.$ac_objext; then
44012 wx_cv_var_timezone=timezone
44015 echo "$as_me: failed program was:" >&5
44016 sed 's/^/| /' conftest.$ac_ext >&5
44019 cat >conftest.$ac_ext <<_ACEOF
44022 cat confdefs.h >>conftest.$ac_ext
44023 cat >>conftest.$ac_ext <<_ACEOF
44024 /* end confdefs.h. */
44039 rm -f conftest.$ac_objext
44040 if { (ac_try="$ac_compile"
44041 case "(($ac_try" in
44042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44043 *) ac_try_echo=$ac_try;;
44045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44046 (eval "$ac_compile") 2>conftest.er1
44048 grep -v '^ *+' conftest.er1 >conftest.err
44050 cat conftest.err >&5
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); } && {
44053 test -z "$ac_cxx_werror_flag" ||
44054 test ! -s conftest.err
44055 } && test -s conftest.$ac_objext; then
44057 wx_cv_var_timezone=_timezone
44060 echo "$as_me: failed program was:" >&5
44061 sed 's/^/| /' conftest.$ac_ext >&5
44064 cat >conftest.$ac_ext <<_ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h. */
44084 rm -f conftest.$ac_objext
44085 if { (ac_try="$ac_compile"
44086 case "(($ac_try" in
44087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44088 *) ac_try_echo=$ac_try;;
44090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44091 (eval "$ac_compile") 2>conftest.er1
44093 grep -v '^ *+' conftest.er1 >conftest.err
44095 cat conftest.err >&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } && {
44098 test -z "$ac_cxx_werror_flag" ||
44099 test ! -s conftest.err
44100 } && test -s conftest.$ac_objext; then
44102 wx_cv_var_timezone=__timezone
44105 echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.$ac_ext >&5
44109 if test "$USE_DOS" = 0 ; then
44110 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44111 echo "$as_me: WARNING: no timezone variable" >&2;}
44117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44129 ac_cpp='$CPP $CPPFLAGS'
44130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44137 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44138 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44140 if test "x$wx_cv_var_timezone" != x ; then
44141 cat >>confdefs.h <<_ACEOF
44142 #define WX_TIMEZONE $wx_cv_var_timezone
44148 for ac_func in localtime
44150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44153 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44154 echo $ECHO_N "(cached) $ECHO_C" >&6
44156 cat >conftest.$ac_ext <<_ACEOF
44159 cat confdefs.h >>conftest.$ac_ext
44160 cat >>conftest.$ac_ext <<_ACEOF
44161 /* end confdefs.h. */
44162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44164 #define $ac_func innocuous_$ac_func
44166 /* System header to define __stub macros and hopefully few prototypes,
44167 which can conflict with char $ac_func (); below.
44168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44169 <limits.h> exists even on freestanding compilers. */
44172 # include <limits.h>
44174 # include <assert.h>
44179 /* Override any GCC internal prototype to avoid an error.
44180 Use char because int might match the return type of a GCC
44181 builtin and then its argument prototype would still apply. */
44186 /* The GNU C library defines this for functions which it implements
44187 to always fail with ENOSYS. Some functions are actually named
44188 something starting with __ and the normal name is an alias. */
44189 #if defined __stub_$ac_func || defined __stub___$ac_func
44196 return $ac_func ();
44201 rm -f conftest.$ac_objext conftest$ac_exeext
44202 if { (ac_try="$ac_link"
44203 case "(($ac_try" in
44204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44205 *) ac_try_echo=$ac_try;;
44207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44208 (eval "$ac_link") 2>conftest.er1
44210 grep -v '^ *+' conftest.er1 >conftest.err
44212 cat conftest.err >&5
44213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44214 (exit $ac_status); } && {
44215 test -z "$ac_c_werror_flag" ||
44216 test ! -s conftest.err
44217 } && test -s conftest$ac_exeext &&
44218 $as_test_x conftest$ac_exeext; then
44219 eval "$as_ac_var=yes"
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44224 eval "$as_ac_var=no"
44227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44228 conftest$ac_exeext conftest.$ac_ext
44230 ac_res=`eval echo '${'$as_ac_var'}'`
44231 { echo "$as_me:$LINENO: result: $ac_res" >&5
44232 echo "${ECHO_T}$ac_res" >&6; }
44233 if test `eval echo '${'$as_ac_var'}'` = yes; then
44234 cat >>confdefs.h <<_ACEOF
44235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44242 if test "$ac_cv_func_localtime" = "yes"; then
44243 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44244 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44245 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44246 echo $ECHO_N "(cached) $ECHO_C" >&6
44249 cat >conftest.$ac_ext <<_ACEOF
44252 cat confdefs.h >>conftest.$ac_ext
44253 cat >>conftest.$ac_ext <<_ACEOF
44254 /* end confdefs.h. */
44269 rm -f conftest.$ac_objext
44270 if { (ac_try="$ac_compile"
44271 case "(($ac_try" in
44272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44273 *) ac_try_echo=$ac_try;;
44275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44276 (eval "$ac_compile") 2>conftest.er1
44278 grep -v '^ *+' conftest.er1 >conftest.err
44280 cat conftest.err >&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); } && {
44283 test -z "$ac_c_werror_flag" ||
44284 test ! -s conftest.err
44285 } && test -s conftest.$ac_objext; then
44287 wx_cv_struct_tm_has_gmtoff=yes
44290 echo "$as_me: failed program was:" >&5
44291 sed 's/^/| /' conftest.$ac_ext >&5
44293 wx_cv_struct_tm_has_gmtoff=no
44297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44301 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44304 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44305 cat >>confdefs.h <<\_ACEOF
44306 #define WX_GMTOFF_IN_TM 1
44311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44315 if test "$wxUSE_SOCKETS" = "yes"; then
44316 if test "$wxUSE_MGL" = 1; then
44317 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44318 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44323 if test "$wxUSE_SOCKETS" = "yes"; then
44324 if test "$TOOLKIT" != "MSW"; then
44325 { echo "$as_me:$LINENO: checking for socket" >&5
44326 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44327 if test "${ac_cv_func_socket+set}" = set; then
44328 echo $ECHO_N "(cached) $ECHO_C" >&6
44330 cat >conftest.$ac_ext <<_ACEOF
44333 cat confdefs.h >>conftest.$ac_ext
44334 cat >>conftest.$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44338 #define socket innocuous_socket
44340 /* System header to define __stub macros and hopefully few prototypes,
44341 which can conflict with char socket (); below.
44342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44343 <limits.h> exists even on freestanding compilers. */
44346 # include <limits.h>
44348 # include <assert.h>
44353 /* Override any GCC internal prototype to avoid an error.
44354 Use char because int might match the return type of a GCC
44355 builtin and then its argument prototype would still apply. */
44360 /* The GNU C library defines this for functions which it implements
44361 to always fail with ENOSYS. Some functions are actually named
44362 something starting with __ and the normal name is an alias. */
44363 #if defined __stub_socket || defined __stub___socket
44375 rm -f conftest.$ac_objext conftest$ac_exeext
44376 if { (ac_try="$ac_link"
44377 case "(($ac_try" in
44378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44379 *) ac_try_echo=$ac_try;;
44381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44382 (eval "$ac_link") 2>conftest.er1
44384 grep -v '^ *+' conftest.er1 >conftest.err
44386 cat conftest.err >&5
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); } && {
44389 test -z "$ac_c_werror_flag" ||
44390 test ! -s conftest.err
44391 } && test -s conftest$ac_exeext &&
44392 $as_test_x conftest$ac_exeext; then
44393 ac_cv_func_socket=yes
44395 echo "$as_me: failed program was:" >&5
44396 sed 's/^/| /' conftest.$ac_ext >&5
44398 ac_cv_func_socket=no
44401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44402 conftest$ac_exeext conftest.$ac_ext
44404 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44405 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44406 if test $ac_cv_func_socket = yes; then
44410 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44411 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44412 if test "${ac_cv_lib_socket_socket+set}" = set; then
44413 echo $ECHO_N "(cached) $ECHO_C" >&6
44415 ac_check_lib_save_LIBS=$LIBS
44416 LIBS="-lsocket $LIBS"
44417 cat >conftest.$ac_ext <<_ACEOF
44420 cat confdefs.h >>conftest.$ac_ext
44421 cat >>conftest.$ac_ext <<_ACEOF
44422 /* end confdefs.h. */
44424 /* Override any GCC internal prototype to avoid an error.
44425 Use char because int might match the return type of a GCC
44426 builtin and then its argument prototype would still apply. */
44439 rm -f conftest.$ac_objext conftest$ac_exeext
44440 if { (ac_try="$ac_link"
44441 case "(($ac_try" in
44442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44443 *) ac_try_echo=$ac_try;;
44445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44446 (eval "$ac_link") 2>conftest.er1
44448 grep -v '^ *+' conftest.er1 >conftest.err
44450 cat conftest.err >&5
44451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44452 (exit $ac_status); } && {
44453 test -z "$ac_c_werror_flag" ||
44454 test ! -s conftest.err
44455 } && test -s conftest$ac_exeext &&
44456 $as_test_x conftest$ac_exeext; then
44457 ac_cv_lib_socket_socket=yes
44459 echo "$as_me: failed program was:" >&5
44460 sed 's/^/| /' conftest.$ac_ext >&5
44462 ac_cv_lib_socket_socket=no
44465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44466 conftest$ac_exeext conftest.$ac_ext
44467 LIBS=$ac_check_lib_save_LIBS
44469 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44470 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44471 if test $ac_cv_lib_socket_socket = yes; then
44472 if test "$INET_LINK" != " -lsocket"; then
44473 INET_LINK="$INET_LINK -lsocket"
44477 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44478 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44491 if test "$wxUSE_SOCKETS" = "yes" ; then
44492 if test "$TOOLKIT" != "MSW"; then
44493 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44494 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44495 if test "${wx_cv_type_getsockname3+set}" = set; then
44496 echo $ECHO_N "(cached) $ECHO_C" >&6
44500 ac_cpp='$CXXCPP $CPPFLAGS'
44501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44505 cat >conftest.$ac_ext <<_ACEOF
44508 cat confdefs.h >>conftest.$ac_ext
44509 cat >>conftest.$ac_ext <<_ACEOF
44510 /* end confdefs.h. */
44512 #include <sys/types.h>
44513 #include <sys/socket.h>
44520 getsockname(0, 0, &len);
44526 rm -f conftest.$ac_objext
44527 if { (ac_try="$ac_compile"
44528 case "(($ac_try" in
44529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44530 *) ac_try_echo=$ac_try;;
44532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44533 (eval "$ac_compile") 2>conftest.er1
44535 grep -v '^ *+' conftest.er1 >conftest.err
44537 cat conftest.err >&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } && {
44540 test -z "$ac_cxx_werror_flag" ||
44541 test ! -s conftest.err
44542 } && test -s conftest.$ac_objext; then
44543 wx_cv_type_getsockname3=socklen_t
44545 echo "$as_me: failed program was:" >&5
44546 sed 's/^/| /' conftest.$ac_ext >&5
44549 CFLAGS_OLD="$CFLAGS"
44550 if test "$GCC" = yes ; then
44551 CFLAGS="-Werror $CFLAGS"
44554 cat >conftest.$ac_ext <<_ACEOF
44557 cat confdefs.h >>conftest.$ac_ext
44558 cat >>conftest.$ac_ext <<_ACEOF
44559 /* end confdefs.h. */
44561 #include <sys/types.h>
44562 #include <sys/socket.h>
44569 getsockname(0, 0, &len);
44575 rm -f conftest.$ac_objext
44576 if { (ac_try="$ac_compile"
44577 case "(($ac_try" in
44578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44579 *) ac_try_echo=$ac_try;;
44581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44582 (eval "$ac_compile") 2>conftest.er1
44584 grep -v '^ *+' conftest.er1 >conftest.err
44586 cat conftest.err >&5
44587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44588 (exit $ac_status); } && {
44589 test -z "$ac_cxx_werror_flag" ||
44590 test ! -s conftest.err
44591 } && test -s conftest.$ac_objext; then
44592 wx_cv_type_getsockname3=size_t
44594 echo "$as_me: failed program was:" >&5
44595 sed 's/^/| /' conftest.$ac_ext >&5
44597 cat >conftest.$ac_ext <<_ACEOF
44600 cat confdefs.h >>conftest.$ac_ext
44601 cat >>conftest.$ac_ext <<_ACEOF
44602 /* end confdefs.h. */
44604 #include <sys/types.h>
44605 #include <sys/socket.h>
44612 getsockname(0, 0, &len);
44618 rm -f conftest.$ac_objext
44619 if { (ac_try="$ac_compile"
44620 case "(($ac_try" in
44621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44622 *) ac_try_echo=$ac_try;;
44624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44625 (eval "$ac_compile") 2>conftest.er1
44627 grep -v '^ *+' conftest.er1 >conftest.err
44629 cat conftest.err >&5
44630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44631 (exit $ac_status); } && {
44632 test -z "$ac_cxx_werror_flag" ||
44633 test ! -s conftest.err
44634 } && test -s conftest.$ac_objext; then
44635 wx_cv_type_getsockname3=int
44637 echo "$as_me: failed program was:" >&5
44638 sed 's/^/| /' conftest.$ac_ext >&5
44640 wx_cv_type_getsockname3=unknown
44644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 CFLAGS="$CFLAGS_OLD"
44655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44657 ac_cpp='$CPP $CPPFLAGS'
44658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44664 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44665 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44667 if test "$wx_cv_type_getsockname3" = "unknown"; then
44669 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44670 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44672 cat >>confdefs.h <<_ACEOF
44673 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44677 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44678 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44679 if test "${wx_cv_type_getsockopt5+set}" = set; then
44680 echo $ECHO_N "(cached) $ECHO_C" >&6
44684 ac_cpp='$CXXCPP $CPPFLAGS'
44685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44689 cat >conftest.$ac_ext <<_ACEOF
44692 cat confdefs.h >>conftest.$ac_ext
44693 cat >>conftest.$ac_ext <<_ACEOF
44694 /* end confdefs.h. */
44696 #include <sys/types.h>
44697 #include <sys/socket.h>
44704 getsockopt(0, 0, 0, 0, &len);
44710 rm -f conftest.$ac_objext
44711 if { (ac_try="$ac_compile"
44712 case "(($ac_try" in
44713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44714 *) ac_try_echo=$ac_try;;
44716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44717 (eval "$ac_compile") 2>conftest.er1
44719 grep -v '^ *+' conftest.er1 >conftest.err
44721 cat conftest.err >&5
44722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44723 (exit $ac_status); } && {
44724 test -z "$ac_cxx_werror_flag" ||
44725 test ! -s conftest.err
44726 } && test -s conftest.$ac_objext; then
44727 wx_cv_type_getsockopt5=socklen_t
44729 echo "$as_me: failed program was:" >&5
44730 sed 's/^/| /' conftest.$ac_ext >&5
44733 cat >conftest.$ac_ext <<_ACEOF
44736 cat confdefs.h >>conftest.$ac_ext
44737 cat >>conftest.$ac_ext <<_ACEOF
44738 /* end confdefs.h. */
44740 #include <sys/types.h>
44741 #include <sys/socket.h>
44748 getsockopt(0, 0, 0, 0, &len);
44754 rm -f conftest.$ac_objext
44755 if { (ac_try="$ac_compile"
44756 case "(($ac_try" in
44757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44758 *) ac_try_echo=$ac_try;;
44760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44761 (eval "$ac_compile") 2>conftest.er1
44763 grep -v '^ *+' conftest.er1 >conftest.err
44765 cat conftest.err >&5
44766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44767 (exit $ac_status); } && {
44768 test -z "$ac_cxx_werror_flag" ||
44769 test ! -s conftest.err
44770 } && test -s conftest.$ac_objext; then
44771 wx_cv_type_getsockopt5=size_t
44773 echo "$as_me: failed program was:" >&5
44774 sed 's/^/| /' conftest.$ac_ext >&5
44776 cat >conftest.$ac_ext <<_ACEOF
44779 cat confdefs.h >>conftest.$ac_ext
44780 cat >>conftest.$ac_ext <<_ACEOF
44781 /* end confdefs.h. */
44783 #include <sys/types.h>
44784 #include <sys/socket.h>
44791 getsockopt(0, 0, 0, 0, &len);
44797 rm -f conftest.$ac_objext
44798 if { (ac_try="$ac_compile"
44799 case "(($ac_try" in
44800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44801 *) ac_try_echo=$ac_try;;
44803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44804 (eval "$ac_compile") 2>conftest.er1
44806 grep -v '^ *+' conftest.er1 >conftest.err
44808 cat conftest.err >&5
44809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810 (exit $ac_status); } && {
44811 test -z "$ac_cxx_werror_flag" ||
44812 test ! -s conftest.err
44813 } && test -s conftest.$ac_objext; then
44814 wx_cv_type_getsockopt5=int
44816 echo "$as_me: failed program was:" >&5
44817 sed 's/^/| /' conftest.$ac_ext >&5
44819 wx_cv_type_getsockopt5=unknown
44823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834 ac_cpp='$CPP $CPPFLAGS'
44835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44841 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44842 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44844 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44846 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44847 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44849 cat >>confdefs.h <<_ACEOF
44850 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44857 if test "$wxUSE_SOCKETS" = "yes" ; then
44858 if test "$wxUSE_IPV6" = "yes"; then
44859 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44860 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44861 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44862 echo $ECHO_N "(cached) $ECHO_C" >&6
44865 cat >conftest.$ac_ext <<_ACEOF
44868 cat confdefs.h >>conftest.$ac_ext
44869 cat >>conftest.$ac_ext <<_ACEOF
44870 /* end confdefs.h. */
44872 #include <sys/types.h>
44873 #include <sys/socket.h>
44874 #include <netinet/in.h>
44880 struct sockaddr_in6 sa6;
44886 rm -f conftest.$ac_objext
44887 if { (ac_try="$ac_compile"
44888 case "(($ac_try" in
44889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44890 *) ac_try_echo=$ac_try;;
44892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44893 (eval "$ac_compile") 2>conftest.er1
44895 grep -v '^ *+' conftest.er1 >conftest.err
44897 cat conftest.err >&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } && {
44900 test -z "$ac_c_werror_flag" ||
44901 test ! -s conftest.err
44902 } && test -s conftest.$ac_objext; then
44903 wx_cv_type_sockaddr_in6=yes
44905 echo "$as_me: failed program was:" >&5
44906 sed 's/^/| /' conftest.$ac_ext >&5
44908 wx_cv_type_sockaddr_in6=no
44912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44917 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44919 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44920 cat >>confdefs.h <<\_ACEOF
44921 #define wxUSE_IPV6 1
44925 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44926 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44930 cat >>confdefs.h <<\_ACEOF
44931 #define wxUSE_SOCKETS 1
44934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44937 if test "$wxUSE_PROTOCOL" = "yes"; then
44938 if test "$wxUSE_SOCKETS" != "yes"; then
44939 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44940 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44945 if test "$wxUSE_PROTOCOL" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_PROTOCOL 1
44951 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_PROTOCOL_HTTP 1
44957 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_PROTOCOL_FTP 1
44963 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44964 cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_PROTOCOL_FILE 1
44970 if test "$wxUSE_FS_INET" = "yes"; then
44971 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44972 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44977 if test "$wxUSE_URL" = "yes"; then
44978 if test "$wxUSE_PROTOCOL" != "yes"; then
44979 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44980 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44983 if test "$wxUSE_URL" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_URL 1
44991 if test "$wxUSE_VARIANT" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_VARIANT 1
44998 if test "$wxUSE_FS_INET" = "yes"; then
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_FS_INET 1
45006 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45009 if test "$TOOLKIT" = "MSW"; then
45012 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45013 if test "$USE_DARWIN" = 1; then
45014 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45015 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45017 ac_cpp='$CXXCPP $CPPFLAGS'
45018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45022 cat >conftest.$ac_ext <<_ACEOF
45025 cat confdefs.h >>conftest.$ac_ext
45026 cat >>conftest.$ac_ext <<_ACEOF
45027 /* end confdefs.h. */
45028 #include <IOKit/hid/IOHIDLib.h>
45032 IOHIDQueueInterface *qi = NULL;
45033 IOHIDCallbackFunction cb = NULL;
45034 qi->setEventCallout(NULL, cb, NULL, NULL);
45039 rm -f conftest.$ac_objext
45040 if { (ac_try="$ac_compile"
45041 case "(($ac_try" in
45042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45043 *) ac_try_echo=$ac_try;;
45045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45046 (eval "$ac_compile") 2>conftest.er1
45048 grep -v '^ *+' conftest.er1 >conftest.err
45050 cat conftest.err >&5
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); } && {
45053 test -z "$ac_cxx_werror_flag" ||
45054 test ! -s conftest.err
45055 } && test -s conftest.$ac_objext; then
45059 echo "$as_me: failed program was:" >&5
45060 sed 's/^/| /' conftest.$ac_ext >&5
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45072 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45073 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45077 if test "$wxUSE_MGL" != 1; then
45079 for ac_header in linux/joystick.h
45081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45082 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45085 echo $ECHO_N "(cached) $ECHO_C" >&6
45087 cat >conftest.$ac_ext <<_ACEOF
45090 cat confdefs.h >>conftest.$ac_ext
45091 cat >>conftest.$ac_ext <<_ACEOF
45092 /* end confdefs.h. */
45093 $ac_includes_default
45095 #include <$ac_header>
45097 rm -f conftest.$ac_objext
45098 if { (ac_try="$ac_compile"
45099 case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45101 *) ac_try_echo=$ac_try;;
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_compile") 2>conftest.er1
45106 grep -v '^ *+' conftest.er1 >conftest.err
45108 cat conftest.err >&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); } && {
45111 test -z "$ac_c_werror_flag" ||
45112 test ! -s conftest.err
45113 } && test -s conftest.$ac_objext; then
45114 eval "$as_ac_Header=yes"
45116 echo "$as_me: failed program was:" >&5
45117 sed 's/^/| /' conftest.$ac_ext >&5
45119 eval "$as_ac_Header=no"
45122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45124 ac_res=`eval echo '${'$as_ac_Header'}'`
45125 { echo "$as_me:$LINENO: result: $ac_res" >&5
45126 echo "${ECHO_T}$ac_res" >&6; }
45127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45128 cat >>confdefs.h <<_ACEOF
45129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45139 if test "$wxUSE_JOYSTICK" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_JOYSTICK 1
45144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45146 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45147 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45153 if test "$wxUSE_FONTENUM" = "yes" ; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_FONTENUM 1
45160 if test "$wxUSE_FONTMAP" = "yes" ; then
45161 cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_FONTMAP 1
45167 if test "$wxUSE_UNICODE" = "yes" ; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_UNICODE 1
45173 if test "$USE_WIN32" != 1; then
45174 wxUSE_UNICODE_MSLU=no
45177 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45178 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45179 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45180 if test "${ac_cv_lib_unicows_main+set}" = set; then
45181 echo $ECHO_N "(cached) $ECHO_C" >&6
45183 ac_check_lib_save_LIBS=$LIBS
45184 LIBS="-lunicows $LIBS"
45185 cat >conftest.$ac_ext <<_ACEOF
45188 cat confdefs.h >>conftest.$ac_ext
45189 cat >>conftest.$ac_ext <<_ACEOF
45190 /* end confdefs.h. */
45201 rm -f conftest.$ac_objext conftest$ac_exeext
45202 if { (ac_try="$ac_link"
45203 case "(($ac_try" in
45204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45205 *) ac_try_echo=$ac_try;;
45207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45208 (eval "$ac_link") 2>conftest.er1
45210 grep -v '^ *+' conftest.er1 >conftest.err
45212 cat conftest.err >&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); } && {
45215 test -z "$ac_c_werror_flag" ||
45216 test ! -s conftest.err
45217 } && test -s conftest$ac_exeext &&
45218 $as_test_x conftest$ac_exeext; then
45219 ac_cv_lib_unicows_main=yes
45221 echo "$as_me: failed program was:" >&5
45222 sed 's/^/| /' conftest.$ac_ext >&5
45224 ac_cv_lib_unicows_main=no
45227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45228 conftest$ac_exeext conftest.$ac_ext
45229 LIBS=$ac_check_lib_save_LIBS
45231 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45232 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45233 if test $ac_cv_lib_unicows_main = yes; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_UNICODE_MSLU 1
45242 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45243 Applications will only run on Windows NT/2000/XP!" >&5
45244 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45245 Applications will only run on Windows NT/2000/XP!" >&2;}
45246 wxUSE_UNICODE_MSLU=no
45253 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_UNICODE_UTF8 1
45259 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_UTF8_LOCALE_ONLY 1
45268 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45269 cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_CONSTRAINTS 1
45273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45276 if test "$wxUSE_MDI" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_MDI 1
45282 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45283 cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_MDI_ARCHITECTURE 1
45287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45291 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45299 if test "$wxUSE_HELP" = "yes"; then
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_HELP 1
45304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45306 if test "$wxUSE_MSW" = 1; then
45307 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_MS_HTML_HELP 1
45315 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45316 if test "$wxUSE_HTML" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_WXHTML_HELP 1
45322 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45323 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45324 wxUSE_WXHTML_HELP=no
45329 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45330 cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_PRINTING_ARCHITECTURE 1
45334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45337 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_POSTSCRIPT 1
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45349 if test "$wxUSE_SVG" = "yes"; then
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_SVG 1
45357 if test "$wxUSE_METAFILE" = "yes"; then
45358 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45359 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45360 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45366 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45367 -o "$wxUSE_CLIPBOARD" = "yes" \
45368 -o "$wxUSE_OLE" = "yes" \
45369 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45370 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45371 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45372 if test "${ac_cv_header_ole2_h+set}" = set; then
45373 echo $ECHO_N "(cached) $ECHO_C" >&6
45375 cat >conftest.$ac_ext <<_ACEOF
45378 cat confdefs.h >>conftest.$ac_ext
45379 cat >>conftest.$ac_ext <<_ACEOF
45380 /* end confdefs.h. */
45385 rm -f conftest.$ac_objext
45386 if { (ac_try="$ac_compile"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45389 *) ac_try_echo=$ac_try;;
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_compile") 2>conftest.er1
45394 grep -v '^ *+' conftest.er1 >conftest.err
45396 cat conftest.err >&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest.$ac_objext; then
45402 ac_cv_header_ole2_h=yes
45404 echo "$as_me: failed program was:" >&5
45405 sed 's/^/| /' conftest.$ac_ext >&5
45407 ac_cv_header_ole2_h=no
45410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45412 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45413 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45417 if test "$ac_cv_header_ole2_h" = "yes" ; then
45418 if test "$GCC" = yes ; then
45419 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45420 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45421 cat >conftest.$ac_ext <<_ACEOF
45424 cat confdefs.h >>conftest.$ac_ext
45425 cat >>conftest.$ac_ext <<_ACEOF
45426 /* end confdefs.h. */
45427 #include <windows.h>
45437 rm -f conftest.$ac_objext
45438 if { (ac_try="$ac_compile"
45439 case "(($ac_try" in
45440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45441 *) ac_try_echo=$ac_try;;
45443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45444 (eval "$ac_compile") 2>conftest.er1
45446 grep -v '^ *+' conftest.er1 >conftest.err
45448 cat conftest.err >&5
45449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45450 (exit $ac_status); } && {
45451 test -z "$ac_c_werror_flag" ||
45452 test ! -s conftest.err
45453 } && test -s conftest.$ac_objext; then
45454 { echo "$as_me:$LINENO: result: no" >&5
45455 echo "${ECHO_T}no" >&6; }
45457 echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45460 { echo "$as_me:$LINENO: result: yes" >&5
45461 echo "${ECHO_T}yes" >&6; }
45462 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45466 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45467 if test "$wxUSE_OLE" = "yes" ; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_OLE 1
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_OLE_AUTOMATION 1
45476 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_ACTIVEX 1
45480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45484 if test "$wxUSE_DATAOBJ" = "yes" ; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_DATAOBJ 1
45491 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45492 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45495 wxUSE_DRAG_AND_DROP=no
45500 if test "$wxUSE_METAFILE" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_METAFILE 1
45506 cat >>confdefs.h <<\_ACEOF
45507 #define wxUSE_ENH_METAFILE 1
45513 if test "$wxUSE_IPC" = "yes"; then
45514 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45515 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45516 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45520 if test "$wxUSE_IPC" = "yes"; then
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_IPC 1
45525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45529 if test "$wxUSE_DATAOBJ" = "yes"; then
45530 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45531 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45532 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_DATAOBJ 1
45541 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45542 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45544 wxUSE_DRAG_AND_DROP=no
45547 if test "$wxUSE_CLIPBOARD" = "yes"; then
45548 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45549 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45550 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45554 if test "$wxUSE_CLIPBOARD" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_CLIPBOARD 1
45562 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45563 if test "$wxUSE_GTK" = 1; then
45564 if test "$WXGTK12" != 1; then
45565 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45566 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45567 wxUSE_DRAG_AND_DROP=no
45571 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45572 "$wxUSE_DFB" = 1; then
45573 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45574 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45575 wxUSE_DRAG_AND_DROP=no
45578 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_DRAG_AND_DROP 1
45587 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45591 if test "$wxUSE_CLIPBOARD" = "yes"; then
45592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45595 if test "$wxUSE_SPLINES" = "yes" ; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_SPLINES 1
45602 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_MOUSEWHEEL 1
45611 if test "$wxUSE_CONTROLS" = "yes"; then
45615 if test "$wxUSE_ACCEL" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_ACCEL 1
45623 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_ANIMATIONCTRL 1
45629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45632 if test "$wxUSE_BUTTON" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_BUTTON 1
45640 if test "$wxUSE_BMPBUTTON" = "yes"; then
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_BMPBUTTON 1
45648 if test "$wxUSE_CALCTRL" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_CALENDARCTRL 1
45654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45657 if test "$wxUSE_CARET" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_CARET 1
45663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45666 if test "$wxUSE_COLLPANE" = "yes"; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_COLLPANE 1
45672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45675 if test "$wxUSE_COMBOBOX" = "yes"; then
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_COMBOBOX 1
45683 if test "$wxUSE_COMBOCTRL" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_COMBOCTRL 1
45691 if test "$wxUSE_CHOICE" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_CHOICE 1
45699 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_CHOICEBOOK 1
45707 if test "$wxUSE_CHECKBOX" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_CHECKBOX 1
45715 if test "$wxUSE_CHECKLST" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_CHECKLISTBOX 1
45723 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_COLOURPICKERCTRL 1
45731 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_DATEPICKCTRL 1
45739 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_DIRPICKERCTRL 1
45747 if test "$wxUSE_FILECTRL" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_FILECTRL 1
45755 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_FILEPICKERCTRL 1
45763 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_FONTPICKERCTRL 1
45771 if test "$wxUSE_DISPLAY" = "yes"; then
45772 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45773 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45774 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_DISPLAY 1
45781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45785 if test "$wxUSE_DETECT_SM" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_DETECT_SM 1
45792 if test "$wxUSE_GAUGE" = "yes"; then
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_GAUGE 1
45800 if test "$wxUSE_GRID" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_GRID 1
45806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45809 if test "$wxUSE_HEADERCTRL" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_HEADERCTRL 1
45817 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_HYPERLINKCTRL 1
45825 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_BITMAPCOMBOBOX 1
45833 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_DATAVIEWCTRL 1
45839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45842 if test "$wxUSE_IMAGLIST" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_IMAGLIST 1
45849 if test "$wxUSE_LISTBOOK" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_LISTBOOK 1
45857 if test "$wxUSE_LISTBOX" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_LISTBOX 1
45865 if test "$wxUSE_LISTCTRL" = "yes"; then
45866 if test "$wxUSE_IMAGLIST" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_LISTCTRL 1
45872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45874 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45875 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45879 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_EDITABLELISTBOX 1
45887 if test "$wxUSE_NOTEBOOK" = "yes"; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_NOTEBOOK 1
45893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45896 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_NOTIFICATION_MESSAGE 1
45903 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_ODCOMBOBOX 1
45909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45912 if test "$wxUSE_RADIOBOX" = "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_RADIOBOX 1
45920 if test "$wxUSE_RADIOBTN" = "yes"; then
45921 cat >>confdefs.h <<\_ACEOF
45922 #define wxUSE_RADIOBTN 1
45928 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_REARRANGECTRL 1
45935 if test "$wxUSE_SASH" = "yes"; then
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_SASH 1
45940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45943 if test "$wxUSE_SCROLLBAR" = "yes"; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_SCROLLBAR 1
45949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45952 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_SEARCHCTRL 1
45960 if test "$wxUSE_SLIDER" = "yes"; then
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_SLIDER 1
45968 if test "$wxUSE_SPINBTN" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_SPINBTN 1
45976 if test "$wxUSE_SPINCTRL" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_SPINCTRL 1
45984 if test "$wxUSE_SPLITTER" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_SPLITTER 1
45989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45992 if test "$wxUSE_STATBMP" = "yes"; then
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_STATBMP 1
46000 if test "$wxUSE_STATBOX" = "yes"; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_STATBOX 1
46008 if test "$wxUSE_STATTEXT" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_STATTEXT 1
46016 if test "$wxUSE_STATLINE" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_STATLINE 1
46024 if test "$wxUSE_STATUSBAR" = "yes"; then
46025 cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_NATIVE_STATUSBAR 1
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_STATUSBAR 1
46035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46038 if test "$wxUSE_TEXTCTRL" = "yes"; then
46039 cat >>confdefs.h <<\_ACEOF
46040 #define wxUSE_TEXTCTRL 1
46044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_RICHEDIT 1
46050 cat >>confdefs.h <<\_ACEOF
46051 #define wxUSE_RICHEDIT2 1
46056 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46057 if test "$wxUSE_COCOA" = 1 ; then
46058 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46059 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46063 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_TOGGLEBTN 1
46072 if test "$wxUSE_TOOLBAR" = "yes"; then
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_TOOLBAR 1
46079 if test "$wxUSE_UNIVERSAL" = "yes"; then
46080 wxUSE_TOOLBAR_NATIVE="no"
46082 wxUSE_TOOLBAR_NATIVE="yes"
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_TOOLBAR_NATIVE 1
46089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46092 if test "$wxUSE_TOOLTIPS" = "yes"; then
46093 if test "$wxUSE_MOTIF" = 1; then
46094 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46095 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46097 if test "$wxUSE_UNIVERSAL" = "yes"; then
46098 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46099 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46101 cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_TOOLTIPS 1
46109 if test "$wxUSE_TREEBOOK" = "yes"; then
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_TREEBOOK 1
46117 if test "$wxUSE_TOOLBOOK" = "yes"; then
46118 cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_TOOLBOOK 1
46125 if test "$wxUSE_TREECTRL" = "yes"; then
46126 if test "$wxUSE_IMAGLIST" = "yes"; then
46127 cat >>confdefs.h <<\_ACEOF
46128 #define wxUSE_TREECTRL 1
46132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46134 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46135 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46139 if test "$wxUSE_POPUPWIN" = "yes"; then
46140 if test "$wxUSE_COCOA" = 1 ; then
46141 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46142 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46144 if test "$wxUSE_PM" = 1; then
46145 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46146 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_POPUPWIN 1
46152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46159 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46160 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46161 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46162 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_DIALUP_MANAGER 1
46168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46172 if test "$wxUSE_TIPWINDOW" = "yes"; then
46173 if test "$wxUSE_PM" = 1; then
46174 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46175 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46177 cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_TIPWINDOW 1
46184 if test "$USES_CONTROLS" = 1; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_CONTROLS 1
46192 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_ACCESSIBILITY 1
46197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46200 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_DRAGIMAGE 1
46205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46208 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46209 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46210 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46211 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_EXCEPTIONS 1
46217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46222 if test "$wxUSE_HTML" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_HTML 1
46228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46230 if test "$wxUSE_WEBKIT" = "yes"; then
46231 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46232 old_CPPFLAGS="$CPPFLAGS"
46233 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46234 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46235 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46236 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46237 echo $ECHO_N "(cached) $ECHO_C" >&6
46239 cat >conftest.$ac_ext <<_ACEOF
46242 cat confdefs.h >>conftest.$ac_ext
46243 cat >>conftest.$ac_ext <<_ACEOF
46244 /* end confdefs.h. */
46246 #include <Carbon/Carbon.h>
46247 #include <WebKit/WebKit.h>
46250 #include <WebKit/HIWebView.h>
46252 rm -f conftest.$ac_objext
46253 if { (ac_try="$ac_compile"
46254 case "(($ac_try" in
46255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46256 *) ac_try_echo=$ac_try;;
46258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46259 (eval "$ac_compile") 2>conftest.er1
46261 grep -v '^ *+' conftest.er1 >conftest.err
46263 cat conftest.err >&5
46264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46265 (exit $ac_status); } && {
46266 test -z "$ac_c_werror_flag" ||
46267 test ! -s conftest.err
46268 } && test -s conftest.$ac_objext; then
46269 ac_cv_header_WebKit_HIWebView_h=yes
46271 echo "$as_me: failed program was:" >&5
46272 sed 's/^/| /' conftest.$ac_ext >&5
46274 ac_cv_header_WebKit_HIWebView_h=no
46277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46280 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46281 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_WEBKIT 1
46287 WEBKIT_LINK="-framework WebKit"
46291 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46292 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46298 CPPFLAGS="$old_CPPFLAGS"
46299 elif test "$wxUSE_COCOA" = 1; then
46300 cat >>confdefs.h <<\_ACEOF
46301 #define wxUSE_WEBKIT 1
46307 if test "$wxUSE_WEBKIT" = "yes"; then
46308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46313 if test "$wxUSE_XRC" = "yes"; then
46314 if test "$wxUSE_XML" != "yes"; then
46315 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46316 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_XRC 1
46324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46329 if test "$wxUSE_AUI" = "yes"; then
46330 cat >>confdefs.h <<\_ACEOF
46331 #define wxUSE_AUI 1
46335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46339 if test "$wxUSE_PROPGRID" = "yes"; then
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_PROPGRID 1
46345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46349 if test "$wxUSE_RIBBON" = "yes"; then
46350 cat >>confdefs.h <<\_ACEOF
46351 #define wxUSE_RIBBON 1
46355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46359 if test "$wxUSE_STC" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_STC 1
46365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46367 # Extract the first word of "python", so it can be a program name with args.
46368 set dummy python; ac_word=$2
46369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46371 if test "${ac_cv_path_PYTHON+set}" = set; then
46372 echo $ECHO_N "(cached) $ECHO_C" >&6
46376 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46380 for as_dir in $PATH
46383 test -z "$as_dir" && as_dir=.
46384 for ac_exec_ext in '' $ac_executable_extensions; do
46385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46386 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46397 PYTHON=$ac_cv_path_PYTHON
46398 if test -n "$PYTHON"; then
46399 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46400 echo "${ECHO_T}$PYTHON" >&6; }
46402 { echo "$as_me:$LINENO: result: no" >&5
46403 echo "${ECHO_T}no" >&6; }
46407 if test "x$PYTHON" = "x"; then
46413 if test "$wxUSE_MENUS" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_MENUS 1
46418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46421 if test "$wxUSE_METAFILE" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_METAFILE 1
46428 if test "$wxUSE_MIMETYPE" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_MIMETYPE 1
46435 if test "$wxUSE_MINIFRAME" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_MINIFRAME 1
46442 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_SYSTEM_OPTIONS 1
46449 if test "$wxUSE_TASKBARICON" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_TASKBARICON 1
46454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46458 if test "$wxUSE_VALIDATORS" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_VALIDATORS 1
46463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46466 if test "$wxUSE_PALETTE" = "yes" ; then
46467 if test "$wxUSE_DFB" = 1; then
46468 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46469 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_PALETTE 1
46479 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46480 LIBS=" -lunicows $LIBS"
46484 if test "$wxUSE_RICHTEXT" = "yes"; then
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_RICHTEXT 1
46490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46494 if test "$wxUSE_IMAGE" = "yes" ; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_IMAGE 1
46500 if test "$wxUSE_GIF" = "yes" ; then
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_GIF 1
46507 if test "$wxUSE_PCX" = "yes" ; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_PCX 1
46514 if test "$wxUSE_TGA" = "yes" ; then
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_TGA 1
46521 if test "$wxUSE_IFF" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_IFF 1
46528 if test "$wxUSE_PNM" = "yes" ; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_PNM 1
46535 if test "$wxUSE_XPM" = "yes" ; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_XPM 1
46542 if test "$wxUSE_ICO_CUR" = "yes" ; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_ICO_CUR 1
46551 if test "$wxUSE_ABOUTDLG" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_ABOUTDLG 1
46558 if test "$wxUSE_CHOICEDLG" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_CHOICEDLG 1
46565 if test "$wxUSE_COLOURDLG" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_COLOURDLG 1
46572 if test "$wxUSE_FILEDLG" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_FILEDLG 1
46579 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_FINDREPLDLG 1
46586 if test "$wxUSE_FONTDLG" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_FONTDLG 1
46593 if test "$wxUSE_DIRDLG" = "yes"; then
46594 if test "$wxUSE_TREECTRL" != "yes"; then
46595 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46596 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_DIRDLG 1
46605 if test "$wxUSE_MSGDLG" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_MSGDLG 1
46612 if test "$wxUSE_NUMBERDLG" = "yes"; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_NUMBERDLG 1
46619 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_PROGRESSDLG 1
46626 if test "$wxUSE_SPLASH" = "yes"; then
46627 cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_SPLASH 1
46631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46634 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_STARTUP_TIPS 1
46641 if test "$wxUSE_TEXTDLG" = "yes"; then
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_TEXTDLG 1
46648 if test "$wxUSE_WIZARDDLG" = "yes"; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_WIZARDDLG 1
46653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46657 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46658 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_OWNER_DRAWN 1
46667 if test "$wxUSE_MSW" = 1 ; then
46669 if test "$wxUSE_DC_CACHEING" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_DC_CACHEING 1
46676 if test "$wxUSE_DIB" = "yes"; then
46677 cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_WXDIB 1
46683 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46684 cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46690 if test "$wxUSE_UXTHEME" = "yes"; then
46691 cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_UXTHEME 1
46699 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_AUTOID_MANAGEMENT 1
46706 if test "$USE_WIN32" = 1 ; then
46707 if test "$wxUSE_INICONF" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_INICONF 1
46714 if test "$wxUSE_REGKEY" = "yes"; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_REGKEY 1
46723 if test "$wxUSE_MAC" = 1; then
46724 wxUSE_GRAPHICS_CONTEXT="yes"
46727 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46728 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_GRAPHICS_CONTEXT 1
46733 elif test "$wxUSE_GTK" != 1; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_GRAPHICS_CONTEXT 1
46741 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46742 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46744 if test -n "$PKG_CONFIG"; then
46745 if test -n "$CAIRO_CFLAGS"; then
46746 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46748 if test -n "$PKG_CONFIG" && \
46749 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46750 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; then
46754 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46762 if test -n "$PKG_CONFIG"; then
46763 if test -n "$CAIRO_LIBS"; then
46764 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46766 if test -n "$PKG_CONFIG" && \
46767 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46768 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; then
46772 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46783 if test $pkg_failed = yes; then
46785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46786 _pkg_short_errors_supported=yes
46788 _pkg_short_errors_supported=no
46790 if test $_pkg_short_errors_supported = yes; then
46791 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46793 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46795 # Put the nasty error message in config.log where it belongs
46796 echo "$CAIRO_PKG_ERRORS" >&5
46798 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46799 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46801 elif test $pkg_failed = untried; then
46802 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46803 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46806 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46807 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46808 { echo "$as_me:$LINENO: result: yes" >&5
46809 echo "${ECHO_T}yes" >&6; }
46810 cat >>confdefs.h <<\_ACEOF
46811 #define wxUSE_GRAPHICS_CONTEXT 1
46821 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46824 if test "$wxUSE_GTK" = 1; then
46825 wxUSE_GSTREAMER="no"
46827 GST_VERSION_MAJOR=0
46828 GST_VERSION_MINOR=10
46829 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46831 if test "$wxUSE_GSTREAMER8" = "no"; then
46834 { echo "$as_me:$LINENO: checking for GST" >&5
46835 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46837 if test -n "$PKG_CONFIG"; then
46838 if test -n "$GST_CFLAGS"; then
46839 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46841 if test -n "$PKG_CONFIG" && \
46842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46843 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); }; then
46847 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46855 if test -n "$PKG_CONFIG"; then
46856 if test -n "$GST_LIBS"; then
46857 pkg_cv_GST_LIBS="$GST_LIBS"
46859 if test -n "$PKG_CONFIG" && \
46860 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46861 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46864 (exit $ac_status); }; then
46865 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46876 if test $pkg_failed = yes; then
46878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46879 _pkg_short_errors_supported=yes
46881 _pkg_short_errors_supported=no
46883 if test $_pkg_short_errors_supported = yes; then
46884 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46886 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46888 # Put the nasty error message in config.log where it belongs
46889 echo "$GST_PKG_ERRORS" >&5
46892 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46893 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46894 GST_VERSION_MINOR=8
46897 elif test $pkg_failed = untried; then
46899 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46900 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46901 GST_VERSION_MINOR=8
46905 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46906 GST_LIBS=$pkg_cv_GST_LIBS
46907 { echo "$as_me:$LINENO: result: yes" >&5
46908 echo "${ECHO_T}yes" >&6; }
46910 wxUSE_GSTREAMER="yes"
46911 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46915 GST_VERSION_MINOR=8
46918 if test $GST_VERSION_MINOR = "8"; then
46919 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46922 { echo "$as_me:$LINENO: checking for GST" >&5
46923 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46925 if test -n "$PKG_CONFIG"; then
46926 if test -n "$GST_CFLAGS"; then
46927 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46929 if test -n "$PKG_CONFIG" && \
46930 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46931 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934 (exit $ac_status); }; then
46935 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46943 if test -n "$PKG_CONFIG"; then
46944 if test -n "$GST_LIBS"; then
46945 pkg_cv_GST_LIBS="$GST_LIBS"
46947 if test -n "$PKG_CONFIG" && \
46948 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46949 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; then
46953 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46964 if test $pkg_failed = yes; then
46966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46967 _pkg_short_errors_supported=yes
46969 _pkg_short_errors_supported=no
46971 if test $_pkg_short_errors_supported = yes; then
46972 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46974 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46976 # Put the nasty error message in config.log where it belongs
46977 echo "$GST_PKG_ERRORS" >&5
46980 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46981 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46983 elif test $pkg_failed = untried; then
46985 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46986 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46989 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46990 GST_LIBS=$pkg_cv_GST_LIBS
46991 { echo "$as_me:$LINENO: result: yes" >&5
46992 echo "${ECHO_T}yes" >&6; }
46993 wxUSE_GSTREAMER="yes"
46998 if test "$wxUSE_GSTREAMER" = "yes"; then
46999 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47000 EXTRALIBS_MEDIA="$GST_LIBS"
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_GSTREAMER 1
47011 if test $USE_MEDIA = 1; then
47012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_MEDIACTRL 1
47018 if test "$wxUSE_MEDIACTRL" = "yes"; then
47019 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47020 echo "$as_me: error: GStreamer not available" >&2;}
47021 { (exit 1); exit 1; }; }
47023 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47024 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47030 if test "$cross_compiling" != "no"; then
47033 OSINFO=`uname -s -r -m`
47034 OSINFO="\"$OSINFO\""
47037 cat >>confdefs.h <<_ACEOF
47038 #define WXWIN_OS_DESCRIPTION $OSINFO
47043 if test "x$prefix" != "xNONE"; then
47046 wxPREFIX=$ac_default_prefix
47049 cat >>confdefs.h <<_ACEOF
47050 #define wxINSTALL_PREFIX "$wxPREFIX"
47056 STD_BASE_LIBS="base"
47058 BUILT_WX_LIBS="base"
47059 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47061 if test "$wxUSE_SOCKETS" = "yes" ; then
47062 STD_BASE_LIBS="net $STD_BASE_LIBS"
47063 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47065 if test "$wxUSE_XML" = "yes" ; then
47066 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47067 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47070 if test "$wxUSE_GUI" = "yes"; then
47071 STD_GUI_LIBS="adv core"
47072 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47074 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47075 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47076 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47078 if test "$wxUSE_HTML" = "yes" ; then
47079 STD_GUI_LIBS="html $STD_GUI_LIBS"
47080 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47082 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47083 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47085 if test "$wxUSE_OPENGL" = "yes" ; then
47086 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47088 if test "$wxUSE_AUI" = "yes" ; then
47089 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47091 if test "$wxUSE_PROPGRID" = "yes" ; then
47092 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47094 if test "$wxUSE_RIBBON" = "yes" ; then
47095 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47097 if test "$wxUSE_RICHTEXT" = "yes" ; then
47098 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47100 if test "$wxUSE_STC" = "yes" ; then
47101 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47103 if test "$wxUSE_XRC" = "yes" ; then
47104 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47105 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47116 if test "$wxUSE_MAC" = 1 ; then
47117 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47118 if test "$USE_DARWIN" = 1; then
47119 LDFLAGS="$LDFLAGS -framework QuickTime"
47122 if test "$USE_DARWIN" = 1; then
47123 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47126 if test "$wxUSE_COCOA" = 1 ; then
47127 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47128 if test "$wxUSE_MEDIACTRL" = "yes"; then
47129 LDFLAGS="$LDFLAGS -framework QuickTime"
47132 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47133 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47136 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47138 if test "$wxUSE_GUI" = "yes"; then
47141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47142 erase event exec font image minimal render \
47143 shaped svg taborder vscroll widgets wrapsizer"
47145 if test "$wxUSE_MONOLITHIC" != "yes"; then
47146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47148 if test "$TOOLKIT" = "MSW"; then
47149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47150 if test "$wxUSE_UNIVERSAL" != "yes"; then
47151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47154 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47158 SAMPLES_SUBDIRS="console"
47159 if test "$wxUSE_SOCKETS" = "yes" ; then
47160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47162 if test "$wxUSE_IPC" = "yes" ; then
47163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47168 if test "x$INTELCC" = "xyes" ; then
47169 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47170 elif test "$GCC" = yes ; then
47171 CWARNINGS="-Wall -Wundef"
47174 if test "x$INTELCXX" = "xyes" ; then
47175 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47176 elif test "$GXX" = yes ; then
47177 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47178 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47179 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47180 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47181 echo $ECHO_N "(cached) $ECHO_C" >&6
47183 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47186 ac_cpp='$CXXCPP $CPPFLAGS'
47187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47191 ac_save_CXXFLAGS="$CXXFLAGS"
47192 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47193 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47194 cat >conftest.$ac_ext <<_ACEOF
47197 cat confdefs.h >>conftest.$ac_ext
47198 cat >>conftest.$ac_ext <<_ACEOF
47199 /* end confdefs.h. */
47209 rm -f conftest.$ac_objext
47210 if { (ac_try="$ac_compile"
47211 case "(($ac_try" in
47212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47213 *) ac_try_echo=$ac_try;;
47215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47216 (eval "$ac_compile") 2>conftest.er1
47218 grep -v '^ *+' conftest.er1 >conftest.err
47220 cat conftest.err >&5
47221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47222 (exit $ac_status); } && {
47223 test -z "$ac_cxx_werror_flag" ||
47224 test ! -s conftest.err
47225 } && test -s conftest.$ac_objext; then
47226 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47228 echo "$as_me: failed program was:" >&5
47229 sed 's/^/| /' conftest.$ac_ext >&5
47234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47236 CXXFLAGS="$ac_save_CXXFLAGS"
47238 ac_cpp='$CPP $CPPFLAGS'
47239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47245 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47246 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47247 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47251 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47252 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47253 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256 (exit $ac_status); }
47257 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47258 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47261 (exit $ac_status); }
47262 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47268 if test "$wxUSE_MAC" = 1 ; then
47269 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47274 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47275 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47278 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47279 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47280 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47283 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47284 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47285 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47286 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47287 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47289 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47292 if test "x$MWCC" = "xyes"; then
47294 CC="$CC -cwd source -I-"
47295 CXX="$CXX -cwd source -I-"
47300 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47301 EXTRALIBS_XML="$EXPAT_LINK"
47302 EXTRALIBS_HTML="$MSPACK_LINK"
47303 EXTRALIBS_MEDIA="$GST_LIBS"
47304 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47305 if test "$wxUSE_GUI" = "yes"; then
47306 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47308 if test "$wxUSE_OPENGL" = "yes"; then
47309 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47312 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47314 WXCONFIG_LIBS="$LIBS"
47316 if test "$wxUSE_REGEX" = "builtin" ; then
47317 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47319 if test "$wxUSE_EXPAT" = "builtin" ; then
47320 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47322 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47323 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47325 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47326 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47328 if test "$wxUSE_LIBPNG" = "builtin" ; then
47329 wxconfig_3rdparty="png $wxconfig_3rdparty"
47331 if test "$wxUSE_ZLIB" = "builtin" ; then
47332 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47335 for i in $wxconfig_3rdparty ; do
47336 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47340 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47343 case "$wxUNIV_THEMES" in
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_ALL_THEMES 1
47352 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47353 cat >>confdefs.h <<_ACEOF
47354 #define wxUSE_THEME_$t 1
47370 if test $wxUSE_MONOLITHIC = "yes" ; then
47376 if test $wxUSE_PLUGINS = "yes" ; then
47382 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47388 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47420 TOOLKIT_LOWERCASE=xxx
47421 if test "$TOOLKIT" = "MAC"; then
47422 TOOLKIT_LOWERCASE=osx_carbon
47424 if test "$TOOLKIT" = "OSX_CARBON"; then
47425 TOOLKIT_LOWERCASE=osx_carbon
47427 if test "$TOOLKIT" = "OSX_COCOA"; then
47428 TOOLKIT_LOWERCASE=osx_cocoa
47430 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47431 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47445 TOOLKIT_DESC="GTK+"
47446 if test "$WXGTK2" = 1; then
47447 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47448 if test "$wxUSE_GTKPRINT" = "yes" ; then
47449 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47451 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47452 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47454 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47455 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47457 if test "$wxUSE_LIBHILDON" = "yes"; then
47458 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47461 if test "$TOOLKIT_EXTRA" != ""; then
47462 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47468 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47472 TOOLKIT_DESC="base only"
47476 if test "$wxUSE_WINE" = "yes"; then
47477 BAKEFILE_FORCE_PLATFORM=win32
47480 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47482 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47483 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47484 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47485 echo $ECHO_N "(cached) $ECHO_C" >&6
47488 echo '#include <stdio.h>
47489 const wchar_t test_var[] = L"awidetest";' > conftest.h
47491 echo '#include "conftest.h"
47494 printf("%ls", test_var);
47498 wx_cv_gcc_pch_bug="pch not supported"
47500 if $CXX conftest.h >/dev/null 2>&1
47504 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47506 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47507 grep awidetest >/dev/null
47509 wx_cv_gcc_pch_bug=no
47511 wx_cv_gcc_pch_bug=yes
47516 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47519 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47520 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47522 if test "$wx_cv_gcc_pch_bug" = yes; then
47533 if test "x$BAKEFILE_HOST" = "x"; then
47534 if test "x${host}" = "x" ; then
47535 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47536 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47537 { (exit 1); exit 1; }; }
47540 BAKEFILE_HOST="${host}"
47543 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47545 if test -n "$ac_tool_prefix"; then
47546 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47547 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47550 if test "${ac_cv_prog_RANLIB+set}" = set; then
47551 echo $ECHO_N "(cached) $ECHO_C" >&6
47553 if test -n "$RANLIB"; then
47554 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47557 for as_dir in $PATH
47560 test -z "$as_dir" && as_dir=.
47561 for ac_exec_ext in '' $ac_executable_extensions; do
47562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47563 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47573 RANLIB=$ac_cv_prog_RANLIB
47574 if test -n "$RANLIB"; then
47575 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47576 echo "${ECHO_T}$RANLIB" >&6; }
47578 { echo "$as_me:$LINENO: result: no" >&5
47579 echo "${ECHO_T}no" >&6; }
47584 if test -z "$ac_cv_prog_RANLIB"; then
47585 ac_ct_RANLIB=$RANLIB
47586 # Extract the first word of "ranlib", so it can be a program name with args.
47587 set dummy ranlib; ac_word=$2
47588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47590 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47591 echo $ECHO_N "(cached) $ECHO_C" >&6
47593 if test -n "$ac_ct_RANLIB"; then
47594 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47597 for as_dir in $PATH
47600 test -z "$as_dir" && as_dir=.
47601 for ac_exec_ext in '' $ac_executable_extensions; do
47602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47603 ac_cv_prog_ac_ct_RANLIB="ranlib"
47604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47613 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47614 if test -n "$ac_ct_RANLIB"; then
47615 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47616 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47618 { echo "$as_me:$LINENO: result: no" >&5
47619 echo "${ECHO_T}no" >&6; }
47622 if test "x$ac_ct_RANLIB" = x; then
47625 case $cross_compiling:$ac_tool_warned in
47627 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47628 whose name does not start with the host triplet. If you think this
47629 configuration is useful to you, please write to autoconf@gnu.org." >&5
47630 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47631 whose name does not start with the host triplet. If you think this
47632 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47633 ac_tool_warned=yes ;;
47635 RANLIB=$ac_ct_RANLIB
47638 RANLIB="$ac_cv_prog_RANLIB"
47641 # Find a good install program. We prefer a C program (faster),
47642 # so one script is as good as another. But avoid the broken or
47643 # incompatible versions:
47644 # SysV /etc/install, /usr/sbin/install
47645 # SunOS /usr/etc/install
47646 # IRIX /sbin/install
47648 # AmigaOS /C/install, which installs bootblocks on floppy discs
47649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47652 # OS/2's system install, which has a completely different semantic
47653 # ./install, which can be erroneously created by make from ./install.sh.
47654 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47655 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47656 if test -z "$INSTALL"; then
47657 if test "${ac_cv_path_install+set}" = set; then
47658 echo $ECHO_N "(cached) $ECHO_C" >&6
47660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47661 for as_dir in $PATH
47664 test -z "$as_dir" && as_dir=.
47665 # Account for people who put trailing slashes in PATH elements.
47667 ./ | .// | /cC/* | \
47668 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47669 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47672 # OSF1 and SCO ODT 3.0 have their own names for install.
47673 # Don't use installbsd from OSF since it installs stuff as root
47675 for ac_prog in ginstall scoinst install; do
47676 for ac_exec_ext in '' $ac_executable_extensions; do
47677 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47678 if test $ac_prog = install &&
47679 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47680 # AIX install. It has an incompatible calling convention.
47682 elif test $ac_prog = install &&
47683 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47684 # program-specific install script used by HP pwplus--don't use.
47687 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47700 if test "${ac_cv_path_install+set}" = set; then
47701 INSTALL=$ac_cv_path_install
47703 # As a last resort, use the slow shell script. Don't cache a
47704 # value for INSTALL within a source directory, because that will
47705 # break other packages using the cache if that directory is
47706 # removed, or if the value is a relative name.
47707 INSTALL=$ac_install_sh
47710 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47711 echo "${ECHO_T}$INSTALL" >&6; }
47713 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47714 # It thinks the first close brace ends the variable substitution.
47715 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47717 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47719 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47721 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47722 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47724 if test "$LN_S" = "ln -s"; then
47725 { echo "$as_me:$LINENO: result: yes" >&5
47726 echo "${ECHO_T}yes" >&6; }
47728 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47729 echo "${ECHO_T}no, using $LN_S" >&6; }
47733 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47734 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47735 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47736 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47737 echo $ECHO_N "(cached) $ECHO_C" >&6
47739 cat >conftest.make <<\_ACEOF
47742 @echo '@@@%%%=$(MAKE)=@@@%%%'
47744 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47745 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47746 *@@@%%%=?*=@@@%%%*)
47747 eval ac_cv_prog_make_${ac_make}_set=yes;;
47749 eval ac_cv_prog_make_${ac_make}_set=no;;
47751 rm -f conftest.make
47753 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47754 { echo "$as_me:$LINENO: result: yes" >&5
47755 echo "${ECHO_T}yes" >&6; }
47758 { echo "$as_me:$LINENO: result: no" >&5
47759 echo "${ECHO_T}no" >&6; }
47760 SET_MAKE="MAKE=${MAKE-make}"
47765 if test "x$SUNCXX" = "xyes"; then
47767 AROPTIONS="-xar -o"
47769 elif test "x$SGICC" = "xyes"; then
47774 if test -n "$ac_tool_prefix"; then
47775 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47776 set dummy ${ac_tool_prefix}ar; ac_word=$2
47777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47779 if test "${ac_cv_prog_AR+set}" = set; then
47780 echo $ECHO_N "(cached) $ECHO_C" >&6
47782 if test -n "$AR"; then
47783 ac_cv_prog_AR="$AR" # Let the user override the test.
47785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47786 for as_dir in $PATH
47789 test -z "$as_dir" && as_dir=.
47790 for ac_exec_ext in '' $ac_executable_extensions; do
47791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47792 ac_cv_prog_AR="${ac_tool_prefix}ar"
47793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47803 if test -n "$AR"; then
47804 { echo "$as_me:$LINENO: result: $AR" >&5
47805 echo "${ECHO_T}$AR" >&6; }
47807 { echo "$as_me:$LINENO: result: no" >&5
47808 echo "${ECHO_T}no" >&6; }
47813 if test -z "$ac_cv_prog_AR"; then
47815 # Extract the first word of "ar", so it can be a program name with args.
47816 set dummy ar; ac_word=$2
47817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47819 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47820 echo $ECHO_N "(cached) $ECHO_C" >&6
47822 if test -n "$ac_ct_AR"; then
47823 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47826 for as_dir in $PATH
47829 test -z "$as_dir" && as_dir=.
47830 for ac_exec_ext in '' $ac_executable_extensions; do
47831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47832 ac_cv_prog_ac_ct_AR="ar"
47833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47842 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47843 if test -n "$ac_ct_AR"; then
47844 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47845 echo "${ECHO_T}$ac_ct_AR" >&6; }
47847 { echo "$as_me:$LINENO: result: no" >&5
47848 echo "${ECHO_T}no" >&6; }
47851 if test "x$ac_ct_AR" = x; then
47854 case $cross_compiling:$ac_tool_warned in
47856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47857 whose name does not start with the host triplet. If you think this
47858 configuration is useful to you, please write to autoconf@gnu.org." >&5
47859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47860 whose name does not start with the host triplet. If you think this
47861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47862 ac_tool_warned=yes ;;
47867 AR="$ac_cv_prog_AR"
47874 if test -n "$ac_tool_prefix"; then
47875 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47876 set dummy ${ac_tool_prefix}strip; ac_word=$2
47877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47879 if test "${ac_cv_prog_STRIP+set}" = set; then
47880 echo $ECHO_N "(cached) $ECHO_C" >&6
47882 if test -n "$STRIP"; then
47883 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47886 for as_dir in $PATH
47889 test -z "$as_dir" && as_dir=.
47890 for ac_exec_ext in '' $ac_executable_extensions; do
47891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47892 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47902 STRIP=$ac_cv_prog_STRIP
47903 if test -n "$STRIP"; then
47904 { echo "$as_me:$LINENO: result: $STRIP" >&5
47905 echo "${ECHO_T}$STRIP" >&6; }
47907 { echo "$as_me:$LINENO: result: no" >&5
47908 echo "${ECHO_T}no" >&6; }
47913 if test -z "$ac_cv_prog_STRIP"; then
47915 # Extract the first word of "strip", so it can be a program name with args.
47916 set dummy strip; ac_word=$2
47917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47920 echo $ECHO_N "(cached) $ECHO_C" >&6
47922 if test -n "$ac_ct_STRIP"; then
47923 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47926 for as_dir in $PATH
47929 test -z "$as_dir" && as_dir=.
47930 for ac_exec_ext in '' $ac_executable_extensions; do
47931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47932 ac_cv_prog_ac_ct_STRIP="strip"
47933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47942 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47943 if test -n "$ac_ct_STRIP"; then
47944 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47945 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47947 { echo "$as_me:$LINENO: result: no" >&5
47948 echo "${ECHO_T}no" >&6; }
47951 if test "x$ac_ct_STRIP" = x; then
47954 case $cross_compiling:$ac_tool_warned in
47956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47957 whose name does not start with the host triplet. If you think this
47958 configuration is useful to you, please write to autoconf@gnu.org." >&5
47959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47960 whose name does not start with the host triplet. If you think this
47961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47962 ac_tool_warned=yes ;;
47967 STRIP="$ac_cv_prog_STRIP"
47970 if test -n "$ac_tool_prefix"; then
47971 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47972 set dummy ${ac_tool_prefix}nm; ac_word=$2
47973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47975 if test "${ac_cv_prog_NM+set}" = set; then
47976 echo $ECHO_N "(cached) $ECHO_C" >&6
47978 if test -n "$NM"; then
47979 ac_cv_prog_NM="$NM" # Let the user override the test.
47981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47982 for as_dir in $PATH
47985 test -z "$as_dir" && as_dir=.
47986 for ac_exec_ext in '' $ac_executable_extensions; do
47987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47988 ac_cv_prog_NM="${ac_tool_prefix}nm"
47989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47999 if test -n "$NM"; then
48000 { echo "$as_me:$LINENO: result: $NM" >&5
48001 echo "${ECHO_T}$NM" >&6; }
48003 { echo "$as_me:$LINENO: result: no" >&5
48004 echo "${ECHO_T}no" >&6; }
48009 if test -z "$ac_cv_prog_NM"; then
48011 # Extract the first word of "nm", so it can be a program name with args.
48012 set dummy nm; ac_word=$2
48013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48015 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 if test -n "$ac_ct_NM"; then
48019 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48022 for as_dir in $PATH
48025 test -z "$as_dir" && as_dir=.
48026 for ac_exec_ext in '' $ac_executable_extensions; do
48027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48028 ac_cv_prog_ac_ct_NM="nm"
48029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48038 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48039 if test -n "$ac_ct_NM"; then
48040 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48041 echo "${ECHO_T}$ac_ct_NM" >&6; }
48043 { echo "$as_me:$LINENO: result: no" >&5
48044 echo "${ECHO_T}no" >&6; }
48047 if test "x$ac_ct_NM" = x; then
48050 case $cross_compiling:$ac_tool_warned in
48052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48053 whose name does not start with the host triplet. If you think this
48054 configuration is useful to you, please write to autoconf@gnu.org." >&5
48055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48056 whose name does not start with the host triplet. If you think this
48057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48058 ac_tool_warned=yes ;;
48063 NM="$ac_cv_prog_NM"
48067 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48068 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48069 INSTALL_TEST_DIR=acbftest$$
48070 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48071 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48072 rmdir $INSTALL_TEST_DIR
48073 INSTALL_DIR='$(INSTALL) -d'
48074 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48075 echo "${ECHO_T}$INSTALL -d" >&6; }
48077 INSTALL_DIR="mkdir -p"
48078 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48079 echo "${ECHO_T}mkdir -p" >&6; }
48084 case ${BAKEFILE_HOST} in
48085 *-*-cygwin* | *-*-mingw32* )
48086 LDFLAGS_GUI="-mwindows"
48092 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48093 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48094 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48095 echo $ECHO_N "(cached) $ECHO_C" >&6
48098 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48099 egrep -s GNU > /dev/null); then
48100 bakefile_cv_prog_makeisgnu="yes"
48102 bakefile_cv_prog_makeisgnu="no"
48106 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48107 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48109 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48126 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48127 case "${BAKEFILE_HOST}" in
48134 *-pc-os2_emx | *-pc-os2-emx )
48144 powerpc-apple-macos* )
48153 case "$BAKEFILE_FORCE_PLATFORM" in
48188 # Check whether --enable-omf was given.
48189 if test "${enable_omf+set}" = set; then
48190 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48194 case "${BAKEFILE_HOST}" in
48196 if test "x$GCC" = "xyes"; then
48197 CFLAGS="$CFLAGS -fno-common"
48198 CXXFLAGS="$CXXFLAGS -fno-common"
48200 if test "x$XLCC" = "xyes"; then
48201 CFLAGS="$CFLAGS -qnocommon"
48202 CXXFLAGS="$CXXFLAGS -qnocommon"
48206 *-pc-os2_emx | *-pc-os2-emx )
48207 if test "x$bk_os2_use_omf" = "xyes" ; then
48210 LDFLAGS="-Zomf $LDFLAGS"
48211 CFLAGS="-Zomf $CFLAGS"
48212 CXXFLAGS="-Zomf $CXXFLAGS"
48220 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48226 SO_SUFFIX_MODULE="so"
48231 DLLPREFIX_MODULE=""
48235 case "${BAKEFILE_HOST}" in
48240 SO_SUFFIX_MODULE="sl"
48244 SO_SUFFIX_MODULE="a"
48248 SO_SUFFIX_MODULE="dll"
48249 DLLIMP_SUFFIX="dll.a"
48256 SO_SUFFIX_MODULE="dll"
48257 DLLIMP_SUFFIX="dll.a"
48267 *-pc-os2_emx | *-pc-os2-emx )
48269 SO_SUFFIX_MODULE="dll"
48270 DLLIMP_SUFFIX=$OS2_LIBEXT
48274 LIBEXT=".$OS2_LIBEXT"
48279 SO_SUFFIX_MODULE="bundle"
48283 if test "x$DLLIMP_SUFFIX" = "x" ; then
48284 DLLIMP_SUFFIX="$SO_SUFFIX"
48299 if test "x$GCC" = "xyes"; then
48303 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48304 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48307 case "${BAKEFILE_HOST}" in
48309 if test "x$GCC" != "xyes"; then
48310 LDFLAGS="$LDFLAGS -L/usr/lib"
48312 SHARED_LD_CC="${CC} -b -o"
48313 SHARED_LD_CXX="${CXX} -b -o"
48319 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48321 elif test "x$SUNCXX" = "xyes"; then
48322 SHARED_LD_CC="${CC} -G -o"
48323 SHARED_LD_CXX="${CXX} -G -o"
48329 if test "x$SUNCXX" = xyes ; then
48330 SHARED_LD_CC="${CC} -G -o"
48331 SHARED_LD_CXX="${CXX} -G -o"
48339 cat <<EOF >shared-ld-sh
48341 #-----------------------------------------------------------------------------
48342 #-- Name: distrib/mac/shared-ld-sh
48343 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48344 #-- Author: Gilles Depeyrot
48345 #-- Copyright: (c) 2002 Gilles Depeyrot
48346 #-- Licence: any use permitted
48347 #-----------------------------------------------------------------------------
48352 linking_flag="-dynamiclib"
48353 ldargs="-r -keep_private_externs -nostdlib"
48355 if test "x${D}CXX" = "x"; then
48359 while test ${D}# -gt 0; do
48366 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48367 # collect these options and values
48368 args="${D}{args} ${D}1 ${D}2"
48373 # collect these options and values
48374 ldargs="${D}{ldargs} ${D}1 ${D}2"
48379 # collect these load args
48380 ldargs="${D}{ldargs} ${D}1"
48383 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48384 # collect these options
48385 args="${D}{args} ${D}1"
48388 -dynamiclib|-bundle)
48389 linking_flag="${D}1"
48393 echo "shared-ld: unhandled option '${D}1'"
48397 *.o | *.a | *.dylib)
48398 # collect object files
48399 objects="${D}{objects} ${D}1"
48403 echo "shared-ld: unhandled argument '${D}1'"
48414 # Link one module containing all the others
48416 if test ${D}{verbose} = 1; then
48417 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48419 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48423 # Link the shared library from the single module created, but only if the
48424 # previous command didn't fail:
48426 if test ${D}{status} = 0; then
48427 if test ${D}{verbose} = 1; then
48428 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48430 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48435 # Remove intermediate module
48437 rm -f master.${D}${D}.o
48442 chmod +x shared-ld-sh
48444 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48445 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48448 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48449 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48450 if test "${bakefile_cv_gcc31+set}" = set; then
48451 echo $ECHO_N "(cached) $ECHO_C" >&6
48454 cat >conftest.$ac_ext <<_ACEOF
48457 cat confdefs.h >>conftest.$ac_ext
48458 cat >>conftest.$ac_ext <<_ACEOF
48459 /* end confdefs.h. */
48465 #if (__GNUC__ < 3) || \
48466 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48474 rm -f conftest.$ac_objext
48475 if { (ac_try="$ac_compile"
48476 case "(($ac_try" in
48477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48478 *) ac_try_echo=$ac_try;;
48480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48481 (eval "$ac_compile") 2>conftest.er1
48483 grep -v '^ *+' conftest.er1 >conftest.err
48485 cat conftest.err >&5
48486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48487 (exit $ac_status); } && {
48488 test -z "$ac_c_werror_flag" ||
48489 test ! -s conftest.err
48490 } && test -s conftest.$ac_objext; then
48492 bakefile_cv_gcc31=yes
48495 echo "$as_me: failed program was:" >&5
48496 sed 's/^/| /' conftest.$ac_ext >&5
48499 bakefile_cv_gcc31=no
48504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48507 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48508 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48509 if test "$bakefile_cv_gcc31" = "no"; then
48510 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48511 SHARED_LD_CXX="$SHARED_LD_CC"
48513 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48514 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48517 if test "x$GCC" == "xyes"; then
48518 PIC_FLAG="-dynamic -fPIC"
48520 if test "x$XLCC" = "xyes"; then
48521 PIC_FLAG="-dynamic -DPIC"
48526 if test "x$GCC" = "xyes"; then
48529 case "${BAKEFILE_HOST}" in
48531 LD_EXPFULL="-Wl,-bexpfull"
48535 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48536 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48538 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48539 set dummy makeC++SharedLib; ac_word=$2
48540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48542 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48543 echo $ECHO_N "(cached) $ECHO_C" >&6
48545 if test -n "$AIX_CXX_LD"; then
48546 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48549 for as_dir in $PATH
48552 test -z "$as_dir" && as_dir=.
48553 for ac_exec_ext in '' $ac_executable_extensions; do
48554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48555 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48563 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48566 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48567 if test -n "$AIX_CXX_LD"; then
48568 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48569 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48571 { echo "$as_me:$LINENO: result: no" >&5
48572 echo "${ECHO_T}no" >&6; }
48576 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48577 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48582 SHARED_LD_CC="${LD} -nostart -o"
48583 SHARED_LD_CXX="${LD} -nostart -o"
48587 if test "x$GCC" != "xyes"; then
48592 *-*-cygwin* | *-*-mingw32* )
48594 SHARED_LD_CC="\$(CC) -shared -o"
48595 SHARED_LD_CXX="\$(CXX) -shared -o"
48599 *-pc-os2_emx | *-pc-os2-emx )
48600 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48601 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48605 cat <<EOF >dllar.sh
48608 # dllar - a tool to build both a .dll and an .a file
48609 # from a set of object (.o) files for EMX/OS2.
48611 # Written by Andrew Zabolotny, bit@freya.etu.ru
48612 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48614 # This script will accept a set of files on the command line.
48615 # All the public symbols from the .o files will be exported into
48616 # a .DEF file, then linker will be run (through gcc) against them to
48617 # build a shared library consisting of all given .o files. All libraries
48618 # (.a) will be first decompressed into component .o files then act as
48619 # described above. You can optionally give a description (-d "description")
48620 # which will be put into .DLL. To see the list of accepted options (as well
48621 # as command-line format) simply run this program without options. The .DLL
48622 # is built to be imported by name (there is no guarantee that new versions
48623 # of the library you build will have same ordinals for same symbols).
48625 # dllar is free software; you can redistribute it and/or modify
48626 # it under the terms of the GNU General Public License as published by
48627 # the Free Software Foundation; either version 2, or (at your option)
48628 # any later version.
48630 # dllar is distributed in the hope that it will be useful,
48631 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48632 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48633 # GNU General Public License for more details.
48635 # You should have received a copy of the GNU General Public License
48636 # along with dllar; see the file COPYING. If not, write to the Free
48637 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48640 # To successfuly run this program you will need:
48641 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48642 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48644 # (used to build the .dll)
48646 # (used to create .def file from .o files)
48648 # (used to create .a file from .def file)
48649 # - GNU text utilites (cat, sort, uniq)
48650 # used to process emxexp output
48651 # - GNU file utilities (mv, rm)
48653 # - lxlite (optional, see flag below)
48654 # (used for general .dll cleanup)
48661 # basnam, variant of basename, which does _not_ remove the path, _iff_
48662 # second argument (suffix to remove) is given
48666 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48669 echo ${D}1 | sed 's/'${D}2'${D}//'
48672 echo "error in basnam ${D}*"
48678 # Cleanup temporary files and output
48681 for i in ${D}inputFiles ; do
48684 rm -rf \`basnam ${D}i !\`
48691 # Kill result in case of failure as there is just to many stupid make/nmake
48692 # things out there which doesn't do this.
48693 if [ ${D}# -eq 0 ]; then
48694 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48698 # Print usage and exit script with rc=1.
48700 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48701 echo ' [-name-mangler-script script.sh]'
48702 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48703 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48704 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48705 echo ' [*.o] [*.a]'
48706 echo '*> "output_file" should have no extension.'
48707 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48708 echo ' The import library name is derived from this and is set to "name".a,'
48709 echo ' unless overridden by -import'
48710 echo '*> "importlib_name" should have no extension.'
48711 echo ' If it has the .o, or .a extension, it is automatically removed.'
48712 echo ' This name is used as the import library name and may be longer and'
48713 echo ' more descriptive than the DLL name which has to follow the old '
48714 echo ' 8.3 convention of FAT.'
48715 echo '*> "script.sh may be given to override the output_file name by a'
48716 echo ' different name. It is mainly useful if the regular make process'
48717 echo ' of some package does not take into account OS/2 restriction of'
48718 echo ' DLL name lengths. It takes the importlib name as input and is'
48719 echo ' supposed to procude a shorter name as output. The script should'
48720 echo ' expect to get importlib_name without extension and should produce'
48721 echo ' a (max.) 8 letter name without extension.'
48722 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48723 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48724 echo ' These flags will be put at the start of GCC command line.'
48725 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48726 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48727 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48728 echo ' If the last character of a symbol is "*", all symbols beginning'
48729 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48730 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48731 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48732 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48733 echo ' C runtime DLLs.'
48734 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48735 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48736 echo ' unchanged to GCC at the end of command line.'
48737 echo '*> If you create a DLL from a library and you do not specify -o,'
48738 echo ' the basename for DLL and import library will be set to library name,'
48739 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48740 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48741 echo ' library will be renamed into gcc_s.a.'
48744 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48745 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48750 # Execute a command.
48751 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48752 # @Uses Whatever CleanUp() uses.
48758 if [ ${D}rcCmd -ne 0 ]; then
48759 echo "command failed, exit code="${D}rcCmd
48774 CFLAGS="-s -Zcrtdll"
48776 EXPORT_BY_ORDINALS=0
48781 case ${D}curDirS in
48785 curDirS=${D}{curDirS}"/"
48788 # Parse commandline
48791 while [ ${D}1 ]; do
48794 EXPORT_BY_ORDINALS=1;
48804 -name-mangler-script)
48825 exclude_symbols=${D}{exclude_symbols}${D}1" "
48829 library_flags=${D}{library_flags}${D}1" "
48848 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48851 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48852 if [ ${D}omfLinking -eq 1 ]; then
48853 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48855 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48860 if [ ${D}libsToLink -ne 0 ]; then
48861 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48863 for file in ${D}1 ; do
48864 if [ -f ${D}file ]; then
48865 inputFiles="${D}{inputFiles} ${D}file"
48869 if [ ${D}found -eq 0 ]; then
48870 echo "ERROR: No file(s) found: "${D}1
48877 done # iterate cmdline words
48880 if [ -z "${D}inputFiles" ]; then
48881 echo "dllar: no input files"
48885 # Now extract all .o files from .a files
48887 for file in ${D}inputFiles ; do
48898 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48903 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48905 if [ ${D}? -ne 0 ]; then
48906 echo "Failed to create subdirectory ./${D}dirname"
48910 # Append '!' to indicate archive
48911 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48912 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48915 for subfile in ${D}dirname/*.o* ; do
48916 if [ -f ${D}subfile ]; then
48918 if [ -s ${D}subfile ]; then
48919 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48920 newInputFiles="${D}newInputFiles ${D}subfile"
48924 if [ ${D}found -eq 0 ]; then
48925 echo "WARNING: there are no files in archive \\'${D}file\\'"
48929 newInputFiles="${D}{newInputFiles} ${D}file"
48933 inputFiles="${D}newInputFiles"
48935 # Output filename(s).
48937 if [ -z ${D}outFile ]; then
48939 set outFile ${D}inputFiles; outFile=${D}2
48942 # If it is an archive, remove the '!' and the '_%' suffixes
48943 case ${D}outFile in
48945 outFile=\`basnam ${D}outFile _%!\`
48950 case ${D}outFile in
48952 outFile=\`basnam ${D}outFile .dll\`
48955 outFile=\`basnam ${D}outFile .DLL\`
48958 outFile=\`basnam ${D}outFile .o\`
48961 outFile=\`basnam ${D}outFile .obj\`
48964 outFile=\`basnam ${D}outFile .a\`
48967 outFile=\`basnam ${D}outFile .lib\`
48972 case ${D}outimpFile in
48974 outimpFile=\`basnam ${D}outimpFile .a\`
48977 outimpFile=\`basnam ${D}outimpFile .lib\`
48982 if [ -z ${D}outimpFile ]; then
48983 outimpFile=${D}outFile
48985 defFile="${D}{outFile}.def"
48986 arcFile="${D}{outimpFile}.a"
48987 arcFile2="${D}{outimpFile}.lib"
48989 #create ${D}dllFile as something matching 8.3 restrictions,
48990 if [ -z ${D}renameScript ] ; then
48991 dllFile="${D}outFile"
48993 dllFile=\`${D}renameScript ${D}outimpFile\`
48996 if [ ${D}do_backup -ne 0 ] ; then
48997 if [ -f ${D}arcFile ] ; then
48998 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49000 if [ -f ${D}arcFile2 ] ; then
49001 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49005 # Extract public symbols from all the object files.
49006 tmpdefFile=${D}{defFile}_%
49007 rm -f ${D}tmpdefFile
49008 for file in ${D}inputFiles ; do
49013 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49018 # Create the def file.
49020 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49021 dllFile="${D}{dllFile}.dll"
49022 if [ ! -z ${D}description ]; then
49023 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49025 echo "EXPORTS" >> ${D}defFile
49027 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49028 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49030 # Checks if the export is ok or not.
49031 for word in ${D}exclude_symbols; do
49032 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49033 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49037 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49038 sed "=" < ${D}tmpdefFile | \\
49042 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49044 ' > ${D}{tmpdefFile}%
49045 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49047 rm -f ${D}{tmpdefFile}%
49049 cat ${D}tmpdefFile >> ${D}defFile
49050 rm -f ${D}tmpdefFile
49052 # Do linking, create implib, and apply lxlite.
49054 for file in ${D}inputFiles ; do
49059 gccCmdl="${D}gccCmdl ${D}file"
49063 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49064 touch "${D}{outFile}.dll"
49066 doCommand "emximp -o ${D}arcFile ${D}defFile"
49067 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49069 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49072 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49074 doCommand "emxomf -s -l ${D}arcFile"
49084 powerpc-apple-macos* | \
49085 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49095 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49096 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49097 { (exit 1); exit 1; }; }
49100 if test "x$PIC_FLAG" != "x" ; then
49101 PIC_FLAG="$PIC_FLAG -DPIC"
49104 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49105 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49107 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49108 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49127 case "${BAKEFILE_HOST}" in
49128 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49129 *-*-k*bsd*-gnu | *-*-mirbsd* )
49130 if test "x$SUNCXX" = "xyes"; then
49133 SONAME_FLAG="-Wl,-soname,"
49168 # Check whether --enable-dependency-tracking was given.
49169 if test "${enable_dependency_tracking+set}" = set; then
49170 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49174 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49175 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49178 if test "x$bk_use_trackdeps" = "xno" ; then
49180 { echo "$as_me:$LINENO: result: disabled" >&5
49181 echo "${ECHO_T}disabled" >&6; }
49185 if test "x$GCC" = "xyes"; then
49187 case "${BAKEFILE_HOST}" in
49189 DEPSFLAG="-no-cpp-precomp -MMD"
49195 { echo "$as_me:$LINENO: result: gcc" >&5
49196 echo "${ECHO_T}gcc" >&6; }
49197 elif test "x$MWCC" = "xyes"; then
49200 { echo "$as_me:$LINENO: result: mwcc" >&5
49201 echo "${ECHO_T}mwcc" >&6; }
49202 elif test "x$SUNCC" = "xyes"; then
49205 { echo "$as_me:$LINENO: result: Sun cc" >&5
49206 echo "${ECHO_T}Sun cc" >&6; }
49207 elif test "x$SGICC" = "xyes"; then
49210 { echo "$as_me:$LINENO: result: SGI cc" >&5
49211 echo "${ECHO_T}SGI cc" >&6; }
49212 elif test "x$HPCC" = "xyes"; then
49215 { echo "$as_me:$LINENO: result: HP cc" >&5
49216 echo "${ECHO_T}HP cc" >&6; }
49217 elif test "x$COMPAQCC" = "xyes"; then
49220 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49221 echo "${ECHO_T}Compaq cc" >&6; }
49224 { echo "$as_me:$LINENO: result: none" >&5
49225 echo "${ECHO_T}none" >&6; }
49228 if test $DEPS_TRACKING = 1 ; then
49234 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49235 # script. It is used to track C/C++ files dependencies in portable way.
49237 # Permission is given to use this file in any way.
49239 DEPSMODE=${DEPSMODE}
49240 DEPSFLAG="${DEPSFLAG}"
49243 if test ${D}DEPSMODE = gcc ; then
49244 ${D}* ${D}{DEPSFLAG}
49247 # determine location of created files:
49248 while test ${D}# -gt 0; do
49262 objfilebase=\`basename ${D}objfile\`
49263 builddir=\`dirname ${D}objfile\`
49264 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49265 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49266 depsdir=${D}builddir/${D}DEPSDIRBASE
49267 mkdir -p ${D}depsdir
49269 # if the compiler failed, we're done:
49270 if test ${D}{status} != 0 ; then
49275 # move created file to the location we want it in:
49276 if test -f ${D}depfile ; then
49277 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49280 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49281 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49282 if test ! -f ${D}depfile ; then
49283 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49284 depfile="${D}objfile.d"
49286 if test -f ${D}depfile ; then
49287 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49293 elif test ${D}DEPSMODE = mwcc ; then
49294 ${D}* || exit ${D}?
49295 # Run mwcc again with -MM and redirect into the dep file we want
49296 # NOTE: We can't use shift here because we need ${D}* to be valid
49298 for arg in ${D}* ; do
49299 if test "${D}prevarg" = "-o"; then
49313 objfilebase=\`basename ${D}objfile\`
49314 builddir=\`dirname ${D}objfile\`
49315 depsdir=${D}builddir/${D}DEPSDIRBASE
49316 mkdir -p ${D}depsdir
49318 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49321 elif test ${D}DEPSMODE = unixcc; then
49322 ${D}* || exit ${D}?
49323 # Run compiler again with deps flag and redirect into the dep file.
49324 # It doesn't work if the '-o FILE' option is used, but without it the
49325 # dependency file will contain the wrong name for the object. So it is
49326 # removed from the command line, and the dep file is fixed with sed.
49328 while test ${D}# -gt 0; do
49335 eval arg${D}#=\\${D}1
49336 cmd="${D}cmd \\${D}arg${D}#"
49342 objfilebase=\`basename ${D}objfile\`
49343 builddir=\`dirname ${D}objfile\`
49344 depsdir=${D}builddir/${D}DEPSDIRBASE
49345 mkdir -p ${D}depsdir
49347 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49357 BK_DEPS="`pwd`/bk-deps"
49365 case ${BAKEFILE_HOST} in
49366 *-*-cygwin* | *-*-mingw32* )
49367 if test -n "$ac_tool_prefix"; then
49368 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49369 set dummy ${ac_tool_prefix}windres; ac_word=$2
49370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49372 if test "${ac_cv_prog_WINDRES+set}" = set; then
49373 echo $ECHO_N "(cached) $ECHO_C" >&6
49375 if test -n "$WINDRES"; then
49376 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49379 for as_dir in $PATH
49382 test -z "$as_dir" && as_dir=.
49383 for ac_exec_ext in '' $ac_executable_extensions; do
49384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49385 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49395 WINDRES=$ac_cv_prog_WINDRES
49396 if test -n "$WINDRES"; then
49397 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49398 echo "${ECHO_T}$WINDRES" >&6; }
49400 { echo "$as_me:$LINENO: result: no" >&5
49401 echo "${ECHO_T}no" >&6; }
49406 if test -z "$ac_cv_prog_WINDRES"; then
49407 ac_ct_WINDRES=$WINDRES
49408 # Extract the first word of "windres", so it can be a program name with args.
49409 set dummy windres; ac_word=$2
49410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49412 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49413 echo $ECHO_N "(cached) $ECHO_C" >&6
49415 if test -n "$ac_ct_WINDRES"; then
49416 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49419 for as_dir in $PATH
49422 test -z "$as_dir" && as_dir=.
49423 for ac_exec_ext in '' $ac_executable_extensions; do
49424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49425 ac_cv_prog_ac_ct_WINDRES="windres"
49426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49435 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49436 if test -n "$ac_ct_WINDRES"; then
49437 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49438 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49440 { echo "$as_me:$LINENO: result: no" >&5
49441 echo "${ECHO_T}no" >&6; }
49444 if test "x$ac_ct_WINDRES" = x; then
49447 case $cross_compiling:$ac_tool_warned in
49449 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49450 whose name does not start with the host triplet. If you think this
49451 configuration is useful to you, please write to autoconf@gnu.org." >&5
49452 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49453 whose name does not start with the host triplet. If you think this
49454 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49455 ac_tool_warned=yes ;;
49457 WINDRES=$ac_ct_WINDRES
49460 WINDRES="$ac_cv_prog_WINDRES"
49465 *-*-darwin* | powerpc-apple-macos* )
49466 # Extract the first word of "Rez", so it can be a program name with args.
49467 set dummy Rez; ac_word=$2
49468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49470 if test "${ac_cv_prog_REZ+set}" = set; then
49471 echo $ECHO_N "(cached) $ECHO_C" >&6
49473 if test -n "$REZ"; then
49474 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49477 for as_dir in $PATH
49480 test -z "$as_dir" && as_dir=.
49481 for ac_exec_ext in '' $ac_executable_extensions; do
49482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49483 ac_cv_prog_REZ="Rez"
49484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49491 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49494 REZ=$ac_cv_prog_REZ
49495 if test -n "$REZ"; then
49496 { echo "$as_me:$LINENO: result: $REZ" >&5
49497 echo "${ECHO_T}$REZ" >&6; }
49499 { echo "$as_me:$LINENO: result: no" >&5
49500 echo "${ECHO_T}no" >&6; }
49504 # Extract the first word of "SetFile", so it can be a program name with args.
49505 set dummy SetFile; ac_word=$2
49506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49508 if test "${ac_cv_prog_SETFILE+set}" = set; then
49509 echo $ECHO_N "(cached) $ECHO_C" >&6
49511 if test -n "$SETFILE"; then
49512 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49515 for as_dir in $PATH
49518 test -z "$as_dir" && as_dir=.
49519 for ac_exec_ext in '' $ac_executable_extensions; do
49520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49521 ac_cv_prog_SETFILE="SetFile"
49522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49529 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49532 SETFILE=$ac_cv_prog_SETFILE
49533 if test -n "$SETFILE"; then
49534 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49535 echo "${ECHO_T}$SETFILE" >&6; }
49537 { echo "$as_me:$LINENO: result: no" >&5
49538 echo "${ECHO_T}no" >&6; }
49553 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49556 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49560 # Check whether --enable-precomp-headers was given.
49561 if test "${enable_precomp_headers+set}" = set; then
49562 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49571 case ${BAKEFILE_HOST} in
49577 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49578 if test "x$GCC" = "xyes"; then
49579 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49580 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49581 cat >conftest.$ac_ext <<_ACEOF
49584 cat confdefs.h >>conftest.$ac_ext
49585 cat >>conftest.$ac_ext <<_ACEOF
49586 /* end confdefs.h. */
49592 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49593 There is no PCH support
49596 There is no PCH support
49598 #if (__GNUC__ == 3) && \
49599 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49600 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49601 ( defined(__INTEL_COMPILER) )
49602 There is no PCH support
49609 rm -f conftest.$ac_objext
49610 if { (ac_try="$ac_compile"
49611 case "(($ac_try" in
49612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49613 *) ac_try_echo=$ac_try;;
49615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49616 (eval "$ac_compile") 2>conftest.er1
49618 grep -v '^ *+' conftest.er1 >conftest.err
49620 cat conftest.err >&5
49621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49622 (exit $ac_status); } && {
49623 test -z "$ac_c_werror_flag" ||
49624 test ! -s conftest.err
49625 } && test -s conftest.$ac_objext; then
49627 { echo "$as_me:$LINENO: result: yes" >&5
49628 echo "${ECHO_T}yes" >&6; }
49632 echo "$as_me: failed program was:" >&5
49633 sed 's/^/| /' conftest.$ac_ext >&5
49636 if test "$INTELCXX8" = "yes"; then
49637 { echo "$as_me:$LINENO: result: yes" >&5
49638 echo "${ECHO_T}yes" >&6; }
49640 if test "$INTELCXX10" = "yes"; then
49641 ICC_PCH_CREATE_SWITCH="-pch-create"
49642 ICC_PCH_USE_SWITCH="-pch-use"
49644 ICC_PCH_CREATE_SWITCH="-create-pch"
49645 ICC_PCH_USE_SWITCH="-use-pch"
49648 { echo "$as_me:$LINENO: result: no" >&5
49649 echo "${ECHO_T}no" >&6; }
49654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49655 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49659 cat <<EOF >bk-make-pch
49662 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49663 # script. It is used to generated precompiled headers.
49665 # Permission is given to use this file in any way.
49672 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49677 while test ${D}{#} -gt 0; do
49681 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49682 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49683 headerfile="${D}{incdir}/${D}{header}"
49686 -use-pch|-use_pch|-pch-use )
49691 if test ${D}add_to_cmdline = 1 ; then
49692 compiler="${D}{compiler} ${D}{1}"
49697 if test "x${D}{headerfile}" = "x" ; then
49698 echo "error: can't find header ${D}{header} in include paths" >&2
49700 if test -f ${D}{outfile} ; then
49701 rm -f ${D}{outfile}
49703 mkdir -p \`dirname ${D}{outfile}\`
49705 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49706 mkdir -p ${D}{builddir}/.deps
49707 if test "x${GCC_PCH}" = "x1" ; then
49708 # can do this because gcc is >= 3.4:
49709 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49710 elif test "x${ICC_PCH}" = "x1" ; then
49711 filename=pch_gen-${D}${D}
49712 file=${D}{filename}.c
49713 dfile=${D}{filename}.d
49714 cat > ${D}file <<EOT
49715 #include "${D}header"
49717 # using -MF icc complains about differing command lines in creation/use
49718 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49719 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49720 rm -f ${D}file ${D}dfile ${D}{filename}.o
49726 chmod +x bk-make-pch
49727 BK_MAKE_PCH="`pwd`/bk-make-pch"
49738 COND_BUILD_DEBUG="#"
49739 if test "x$BUILD" = "xdebug" ; then
49740 COND_BUILD_DEBUG=""
49743 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49744 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49745 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49748 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49749 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49750 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49753 COND_BUILD_DEBUG_UNICODE_0="#"
49754 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49755 COND_BUILD_DEBUG_UNICODE_0=""
49758 COND_BUILD_DEBUG_UNICODE_1="#"
49759 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49760 COND_BUILD_DEBUG_UNICODE_1=""
49763 COND_BUILD_RELEASE="#"
49764 if test "x$BUILD" = "xrelease" ; then
49765 COND_BUILD_RELEASE=""
49768 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49769 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49770 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49773 COND_BUILD_RELEASE_UNICODE_0="#"
49774 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49775 COND_BUILD_RELEASE_UNICODE_0=""
49778 COND_BUILD_RELEASE_UNICODE_1="#"
49779 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49780 COND_BUILD_RELEASE_UNICODE_1=""
49783 COND_BUILD_debug="#"
49784 if test "x$BUILD" = "xdebug" ; then
49785 COND_BUILD_debug=""
49788 COND_BUILD_debug_DEBUG_FLAG_default="#"
49789 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49790 COND_BUILD_debug_DEBUG_FLAG_default=""
49793 COND_BUILD_debug_DEBUG_INFO_default="#"
49794 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49795 COND_BUILD_debug_DEBUG_INFO_default=""
49798 COND_BUILD_debug_UNICODE_0="#"
49799 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49800 COND_BUILD_debug_UNICODE_0=""
49803 COND_BUILD_debug_UNICODE_1="#"
49804 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49805 COND_BUILD_debug_UNICODE_1=""
49808 COND_BUILD_release="#"
49809 if test "x$BUILD" = "xrelease" ; then
49810 COND_BUILD_release=""
49813 COND_BUILD_release_DEBUG_INFO_default="#"
49814 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49815 COND_BUILD_release_DEBUG_INFO_default=""
49818 COND_BUILD_release_UNICODE_0="#"
49819 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49820 COND_BUILD_release_UNICODE_0=""
49823 COND_BUILD_release_UNICODE_1="#"
49824 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49825 COND_BUILD_release_UNICODE_1=""
49828 COND_DEBUG_FLAG_0="#"
49829 if test "x$DEBUG_FLAG" = "x0" ; then
49830 COND_DEBUG_FLAG_0=""
49833 COND_DEBUG_FLAG_1="#"
49834 if test "x$DEBUG_FLAG" = "x1" ; then
49835 COND_DEBUG_FLAG_1=""
49838 COND_DEBUG_INFO_0="#"
49839 if test "x$DEBUG_INFO" = "x0" ; then
49840 COND_DEBUG_INFO_0=""
49843 COND_DEBUG_INFO_1="#"
49844 if test "x$DEBUG_INFO" = "x1" ; then
49845 COND_DEBUG_INFO_1=""
49848 COND_DEPS_TRACKING_0="#"
49849 if test "x$DEPS_TRACKING" = "x0" ; then
49850 COND_DEPS_TRACKING_0=""
49853 COND_DEPS_TRACKING_1="#"
49854 if test "x$DEPS_TRACKING" = "x1" ; then
49855 COND_DEPS_TRACKING_1=""
49859 if test "x$GCC_PCH" = "x1" ; then
49864 if test "x$ICC_PCH" = "x1" ; then
49868 COND_MONOLITHIC_0="#"
49869 if test "x$MONOLITHIC" = "x0" ; then
49870 COND_MONOLITHIC_0=""
49873 COND_MONOLITHIC_0_SHARED_0="#"
49874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49875 COND_MONOLITHIC_0_SHARED_0=""
49878 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49880 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49883 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49893 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49903 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49905 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49908 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
49909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
49910 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
49913 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49915 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49918 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49920 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49923 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49925 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49928 COND_MONOLITHIC_0_SHARED_1="#"
49929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49930 COND_MONOLITHIC_0_SHARED_1=""
49933 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49935 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49955 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49958 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49960 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49963 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
49964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
49965 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
49968 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49970 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49973 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49975 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49978 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49980 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49983 COND_MONOLITHIC_0_USE_AUI_1="#"
49984 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49985 COND_MONOLITHIC_0_USE_AUI_1=""
49988 COND_MONOLITHIC_0_USE_GUI_1="#"
49989 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49990 COND_MONOLITHIC_0_USE_GUI_1=""
49993 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49994 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49995 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49998 COND_MONOLITHIC_0_USE_HTML_1="#"
49999 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50000 COND_MONOLITHIC_0_USE_HTML_1=""
50003 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50004 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50005 COND_MONOLITHIC_0_USE_MEDIA_1=""
50008 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50009 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50010 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50013 COND_MONOLITHIC_0_USE_QA_1="#"
50014 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50015 COND_MONOLITHIC_0_USE_QA_1=""
50018 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50019 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50020 COND_MONOLITHIC_0_USE_RIBBON_1=""
50023 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50024 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50025 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50028 COND_MONOLITHIC_0_USE_STC_1="#"
50029 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50030 COND_MONOLITHIC_0_USE_STC_1=""
50033 COND_MONOLITHIC_0_USE_XRC_1="#"
50034 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50035 COND_MONOLITHIC_0_USE_XRC_1=""
50038 COND_MONOLITHIC_1="#"
50039 if test "x$MONOLITHIC" = "x1" ; then
50040 COND_MONOLITHIC_1=""
50043 COND_MONOLITHIC_1_SHARED_0="#"
50044 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50045 COND_MONOLITHIC_1_SHARED_0=""
50048 COND_MONOLITHIC_1_SHARED_1="#"
50049 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50050 COND_MONOLITHIC_1_SHARED_1=""
50053 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50054 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50055 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50058 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50059 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50060 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50063 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50064 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50065 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50068 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50069 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50070 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50073 COND_PLATFORM_MACOSX_1="#"
50074 if test "x$PLATFORM_MACOSX" = "x1" ; then
50075 COND_PLATFORM_MACOSX_1=""
50078 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50079 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50080 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50083 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50084 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50085 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50088 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50089 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50090 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50093 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50095 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50099 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50103 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50104 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50105 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50108 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50110 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50113 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50115 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50118 COND_PLATFORM_MACOS_1="#"
50119 if test "x$PLATFORM_MACOS" = "x1" ; then
50120 COND_PLATFORM_MACOS_1=""
50123 COND_PLATFORM_MAC_0="#"
50124 if test "x$PLATFORM_MAC" = "x0" ; then
50125 COND_PLATFORM_MAC_0=""
50128 COND_PLATFORM_MAC_1="#"
50129 if test "x$PLATFORM_MAC" = "x1" ; then
50130 COND_PLATFORM_MAC_1=""
50133 COND_PLATFORM_MSDOS_0="#"
50134 if test "x$PLATFORM_MSDOS" = "x0" ; then
50135 COND_PLATFORM_MSDOS_0=""
50138 COND_PLATFORM_MSDOS_1="#"
50139 if test "x$PLATFORM_MSDOS" = "x1" ; then
50140 COND_PLATFORM_MSDOS_1=""
50143 COND_PLATFORM_OS2_1="#"
50144 if test "x$PLATFORM_OS2" = "x1" ; then
50145 COND_PLATFORM_OS2_1=""
50148 COND_PLATFORM_UNIX_0="#"
50149 if test "x$PLATFORM_UNIX" = "x0" ; then
50150 COND_PLATFORM_UNIX_0=""
50153 COND_PLATFORM_UNIX_1="#"
50154 if test "x$PLATFORM_UNIX" = "x1" ; then
50155 COND_PLATFORM_UNIX_1=""
50158 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50159 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50160 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50163 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50164 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50165 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50168 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50169 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50170 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50173 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50174 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50175 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50178 COND_PLATFORM_WIN32_0="#"
50179 if test "x$PLATFORM_WIN32" = "x0" ; then
50180 COND_PLATFORM_WIN32_0=""
50183 COND_PLATFORM_WIN32_1="#"
50184 if test "x$PLATFORM_WIN32" = "x1" ; then
50185 COND_PLATFORM_WIN32_1=""
50189 if test "x$SHARED" = "x0" ; then
50193 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50194 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50195 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50198 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50199 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50200 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50203 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50204 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50205 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50208 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50209 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50210 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50213 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50214 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50215 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50218 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50219 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50220 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50223 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50224 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50225 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50228 COND_SHARED_0_USE_STC_1="#"
50229 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50230 COND_SHARED_0_USE_STC_1=""
50233 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50234 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50235 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50238 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50239 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50240 COND_SHARED_0_wxUSE_REGEX_builtin=""
50243 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50244 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50245 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50249 if test "x$SHARED" = "x1" ; then
50253 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50254 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50255 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50259 if test "x$TOOLKIT" = "x" ; then
50263 COND_TOOLKIT_COCOA="#"
50264 if test "x$TOOLKIT" = "xCOCOA" ; then
50265 COND_TOOLKIT_COCOA=""
50268 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50269 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50270 COND_TOOLKIT_COCOA_USE_GUI_1=""
50273 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50274 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50275 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50278 COND_TOOLKIT_DFB="#"
50279 if test "x$TOOLKIT" = "xDFB" ; then
50280 COND_TOOLKIT_DFB=""
50283 COND_TOOLKIT_DFB_USE_GUI_1="#"
50284 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50285 COND_TOOLKIT_DFB_USE_GUI_1=""
50288 COND_TOOLKIT_GTK="#"
50289 if test "x$TOOLKIT" = "xGTK" ; then
50290 COND_TOOLKIT_GTK=""
50293 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50294 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50295 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50299 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50300 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50304 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50305 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50309 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50310 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50313 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50314 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50315 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50318 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50319 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50320 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50323 COND_TOOLKIT_GTK_USE_GUI_1="#"
50324 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50325 COND_TOOLKIT_GTK_USE_GUI_1=""
50328 COND_TOOLKIT_MAC="#"
50329 if test "x$TOOLKIT" = "xMAC" ; then
50330 COND_TOOLKIT_MAC=""
50333 COND_TOOLKIT_MGL="#"
50334 if test "x$TOOLKIT" = "xMGL" ; then
50335 COND_TOOLKIT_MGL=""
50338 COND_TOOLKIT_MGL_USE_GUI_1="#"
50339 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50340 COND_TOOLKIT_MGL_USE_GUI_1=""
50343 COND_TOOLKIT_MOTIF="#"
50344 if test "x$TOOLKIT" = "xMOTIF" ; then
50345 COND_TOOLKIT_MOTIF=""
50348 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50349 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50350 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50353 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50354 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50355 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50358 COND_TOOLKIT_MSW="#"
50359 if test "x$TOOLKIT" = "xMSW" ; then
50360 COND_TOOLKIT_MSW=""
50363 COND_TOOLKIT_MSW_USE_GUI_1="#"
50364 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50365 COND_TOOLKIT_MSW_USE_GUI_1=""
50368 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50369 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50370 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50373 COND_TOOLKIT_MSW_WXUNIV_0="#"
50374 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50375 COND_TOOLKIT_MSW_WXUNIV_0=""
50378 COND_TOOLKIT_OSX_CARBON="#"
50379 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50380 COND_TOOLKIT_OSX_CARBON=""
50383 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50384 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50385 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50388 COND_TOOLKIT_OSX_COCOA="#"
50389 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50390 COND_TOOLKIT_OSX_COCOA=""
50393 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50394 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50395 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50398 COND_TOOLKIT_OSX_IPHONE="#"
50399 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50400 COND_TOOLKIT_OSX_IPHONE=""
50403 COND_TOOLKIT_PM="#"
50404 if test "x$TOOLKIT" = "xPM" ; then
50408 COND_TOOLKIT_PM_USE_GUI_1="#"
50409 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50410 COND_TOOLKIT_PM_USE_GUI_1=""
50413 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50414 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50415 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50418 COND_TOOLKIT_WINCE="#"
50419 if test "x$TOOLKIT" = "xWINCE" ; then
50420 COND_TOOLKIT_WINCE=""
50423 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50424 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50425 COND_TOOLKIT_WINCE_USE_GUI_1=""
50428 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50429 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50430 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50433 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50434 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50435 COND_TOOLKIT_WINCE_WXUNIV_0=""
50438 COND_TOOLKIT_X11="#"
50439 if test "x$TOOLKIT" = "xX11" ; then
50440 COND_TOOLKIT_X11=""
50443 COND_TOOLKIT_X11_USE_GUI_1="#"
50444 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50445 COND_TOOLKIT_X11_USE_GUI_1=""
50449 if test "x$UNICODE" = "x1" ; then
50453 COND_USE_EXCEPTIONS_0="#"
50454 if test "x$USE_EXCEPTIONS" = "x0" ; then
50455 COND_USE_EXCEPTIONS_0=""
50458 COND_USE_EXCEPTIONS_1="#"
50459 if test "x$USE_EXCEPTIONS" = "x1" ; then
50460 COND_USE_EXCEPTIONS_1=""
50464 if test "x$USE_GUI" = "x0" ; then
50469 if test "x$USE_GUI" = "x1" ; then
50473 COND_USE_GUI_1_USE_OPENGL_1="#"
50474 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50475 COND_USE_GUI_1_USE_OPENGL_1=""
50478 COND_USE_GUI_1_WXUNIV_0="#"
50479 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50480 COND_USE_GUI_1_WXUNIV_0=""
50483 COND_USE_GUI_1_WXUNIV_1="#"
50484 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50485 COND_USE_GUI_1_WXUNIV_1=""
50488 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50489 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50490 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50493 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50494 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50495 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50498 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50499 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50500 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50503 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50504 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50505 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50508 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50509 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50510 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50513 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50514 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50515 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50518 COND_USE_OPENGL_1="#"
50519 if test "x$USE_OPENGL" = "x1" ; then
50520 COND_USE_OPENGL_1=""
50524 if test "x$USE_PCH" = "x1" ; then
50528 COND_USE_PLUGINS_0="#"
50529 if test "x$USE_PLUGINS" = "x0" ; then
50530 COND_USE_PLUGINS_0=""
50533 COND_USE_RTTI_0="#"
50534 if test "x$USE_RTTI" = "x0" ; then
50538 COND_USE_RTTI_1="#"
50539 if test "x$USE_RTTI" = "x1" ; then
50543 COND_USE_SOSYMLINKS_1="#"
50544 if test "x$USE_SOSYMLINKS" = "x1" ; then
50545 COND_USE_SOSYMLINKS_1=""
50548 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50549 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50550 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50553 COND_USE_SOVERLINUX_1="#"
50554 if test "x$USE_SOVERLINUX" = "x1" ; then
50555 COND_USE_SOVERLINUX_1=""
50558 COND_USE_SOVERSION_0="#"
50559 if test "x$USE_SOVERSION" = "x0" ; then
50560 COND_USE_SOVERSION_0=""
50563 COND_USE_SOVERSOLARIS_1="#"
50564 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50565 COND_USE_SOVERSOLARIS_1=""
50569 if test "x$USE_STC" = "x1" ; then
50573 COND_USE_THREADS_0="#"
50574 if test "x$USE_THREADS" = "x0" ; then
50575 COND_USE_THREADS_0=""
50578 COND_USE_THREADS_1="#"
50579 if test "x$USE_THREADS" = "x1" ; then
50580 COND_USE_THREADS_1=""
50584 if test "x$USE_XRC" = "x1" ; then
50588 COND_WINDOWS_IMPLIB_1="#"
50589 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50590 COND_WINDOWS_IMPLIB_1=""
50593 COND_WITH_PLUGIN_SDL_1="#"
50594 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50595 COND_WITH_PLUGIN_SDL_1=""
50599 if test "x$WXUNIV" = "x0" ; then
50604 if test "x$WXUNIV" = "x1" ; then
50608 COND_WXUSE_EXPAT_BUILTIN="#"
50609 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50610 COND_WXUSE_EXPAT_BUILTIN=""
50613 COND_WXUSE_LIBJPEG_BUILTIN="#"
50614 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50615 COND_WXUSE_LIBJPEG_BUILTIN=""
50618 COND_WXUSE_LIBPNG_BUILTIN="#"
50619 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50620 COND_WXUSE_LIBPNG_BUILTIN=""
50623 COND_WXUSE_LIBTIFF_BUILTIN="#"
50624 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50625 COND_WXUSE_LIBTIFF_BUILTIN=""
50628 COND_WXUSE_REGEX_BUILTIN="#"
50629 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50630 COND_WXUSE_REGEX_BUILTIN=""
50633 COND_WXUSE_ZLIB_BUILTIN="#"
50634 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50635 COND_WXUSE_ZLIB_BUILTIN=""
50638 COND_wxUSE_EXPAT_builtin="#"
50639 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50640 COND_wxUSE_EXPAT_builtin=""
50643 COND_wxUSE_LIBJPEG_builtin="#"
50644 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50645 COND_wxUSE_LIBJPEG_builtin=""
50648 COND_wxUSE_LIBPNG_builtin="#"
50649 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50650 COND_wxUSE_LIBPNG_builtin=""
50653 COND_wxUSE_LIBTIFF_builtin="#"
50654 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50655 COND_wxUSE_LIBTIFF_builtin=""
50658 COND_wxUSE_REGEX_builtin="#"
50659 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50660 COND_wxUSE_REGEX_builtin=""
50663 COND_wxUSE_ZLIB_builtin="#"
50664 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50665 COND_wxUSE_ZLIB_builtin=""
50670 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50671 { { 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
50672 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;}
50673 { (exit 1); exit 1; }; }
50676 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50677 { { 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
50678 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;}
50679 { (exit 1); exit 1; }; }
50686 ?:* ) # Drive letter, considered as absolute.
50689 INSTALL=`pwd`/${INSTALL} ;;
50692 if test "$wxUSE_GUI" = "yes"; then
50694 if test "$wxUSE_MSW" = 1 ; then
50695 if test "x$WINDRES" = "x"; then
50696 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50697 echo "$as_me: error: Required windres program not found" >&2;}
50698 { (exit 1); exit 1; }; }
50704 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50705 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50706 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50708 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50710 # Extract the first word of "DeRez", so it can be a program name with args.
50711 set dummy DeRez; ac_word=$2
50712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50714 if test "${ac_cv_prog_DEREZ+set}" = set; then
50715 echo $ECHO_N "(cached) $ECHO_C" >&6
50717 if test -n "$DEREZ"; then
50718 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50721 for as_dir in $PATH
50724 test -z "$as_dir" && as_dir=.
50725 for ac_exec_ext in '' $ac_executable_extensions; do
50726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50727 ac_cv_prog_DEREZ="DeRez"
50728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50735 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50738 DEREZ=$ac_cv_prog_DEREZ
50739 if test -n "$DEREZ"; then
50740 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50741 echo "${ECHO_T}$DEREZ" >&6; }
50743 { echo "$as_me:$LINENO: result: no" >&5
50744 echo "${ECHO_T}no" >&6; }
50749 MACSETFILE="\$(SETFILE)"
50751 if test "$wxUSE_OSX_CARBON" = 1; then
50752 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50754 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50756 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50757 RESCOMP="cat /dev/null \| $REZ"
50758 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50764 if test "$wxUSE_PM" = 1; then
50766 WXCONFIG_RESFLAGS="-ep"
50768 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50770 POSTLINK_COMMAND="@true"
50777 if test $GCC_PCH = 1
50779 if test "$wx_cv_gcc_pch_bug" = yes; then
50780 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50781 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50782 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50783 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50784 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50785 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50788 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50789 # the headers that benefit from precompilation are mostly C++ headers.
50790 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50791 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50792 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50796 if test "$wxUSE_MAC" = 1 ; then
50797 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50798 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50804 if test "$wxUSE_SHARED" = "yes"; then
50806 *-pc-os2_emx | *-pc-os2-emx )
50807 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50808 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50809 cp -p ${srcdir}/src/os2/dllnames.sh .
50810 cp -p ${srcdir}/src/os2/dllar.sh .
50814 if test "$wxUSE_OMF" = "yes"; then
50816 *-pc-os2_emx | *-pc-os2-emx )
50817 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50818 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50819 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50824 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50829 if test "$GCC" = yes; then
50830 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50831 LIBS=`echo $LIBS | sed 's/-mt//'`
50832 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50837 if test "x$SUNCXX" = xyes; then
50838 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50839 LIBS=`echo $LIBS | sed 's/-pthread//'`
50840 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50845 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50846 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50847 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50848 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50850 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50910 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50911 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50912 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50913 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50914 echo $ECHO_N "(cached) $ECHO_C" >&6
50916 cat >conftest.make <<\_ACEOF
50919 @echo '@@@%%%=$(MAKE)=@@@%%%'
50921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50922 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50923 *@@@%%%=?*=@@@%%%*)
50924 eval ac_cv_prog_make_${ac_make}_set=yes;;
50926 eval ac_cv_prog_make_${ac_make}_set=no;;
50928 rm -f conftest.make
50930 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50931 { echo "$as_me:$LINENO: result: yes" >&5
50932 echo "${ECHO_T}yes" >&6; }
50935 { echo "$as_me:$LINENO: result: no" >&5
50936 echo "${ECHO_T}no" >&6; }
50937 SET_MAKE="MAKE=${MAKE-make}"
50942 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50945 if test "$USE_WIN32" = 1; then
50946 ac_config_commands="$ac_config_commands rcdefs.h"
50950 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50953 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50956 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50959 if test "$wx_cv_version_script" = "yes"; then
50960 ac_config_files="$ac_config_files version-script"
50963 ac_config_files="$ac_config_files Makefile"
50966 ac_config_commands="$ac_config_commands wx-config"
50970 if test "$wxWITH_SUBDIRS" != "no"; then
50971 if test "$wxUSE_GUI" = "yes"; then
50972 SUBDIRS="samples demos utils"
50974 SUBDIRS="samples utils"
50979 # Check whether --with-cppunit-prefix was given.
50980 if test "${with_cppunit_prefix+set}" = set; then
50981 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50983 cppunit_config_prefix=""
50987 # Check whether --with-cppunit-exec-prefix was given.
50988 if test "${with_cppunit_exec_prefix+set}" = set; then
50989 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50991 cppunit_config_exec_prefix=""
50995 if test x$cppunit_config_exec_prefix != x ; then
50996 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50997 if test x${CPPUNIT_CONFIG+set} != xset ; then
50998 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51001 if test x$cppunit_config_prefix != x ; then
51002 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51003 if test x${CPPUNIT_CONFIG+set} != xset ; then
51004 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51008 # Extract the first word of "cppunit-config", so it can be a program name with args.
51009 set dummy cppunit-config; ac_word=$2
51010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51012 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51013 echo $ECHO_N "(cached) $ECHO_C" >&6
51015 case $CPPUNIT_CONFIG in
51017 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51021 for as_dir in $PATH
51024 test -z "$as_dir" && as_dir=.
51025 for ac_exec_ext in '' $ac_executable_extensions; do
51026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51027 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51035 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51039 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51040 if test -n "$CPPUNIT_CONFIG"; then
51041 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51042 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51044 { echo "$as_me:$LINENO: result: no" >&5
51045 echo "${ECHO_T}no" >&6; }
51049 cppunit_version_min=1.8.0
51051 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51052 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51054 if test "$CPPUNIT_CONFIG" = "no" ; then
51055 { echo "$as_me:$LINENO: result: no" >&5
51056 echo "${ECHO_T}no" >&6; }
51059 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51060 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51061 cppunit_version=`$CPPUNIT_CONFIG --version`
51063 cppunit_major_version=`echo $cppunit_version | \
51064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51065 cppunit_minor_version=`echo $cppunit_version | \
51066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51067 cppunit_micro_version=`echo $cppunit_version | \
51068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51070 cppunit_major_min=`echo $cppunit_version_min | \
51071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51072 cppunit_minor_min=`echo $cppunit_version_min | \
51073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51074 cppunit_micro_min=`echo $cppunit_version_min | \
51075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51077 cppunit_version_proper=`expr \
51078 $cppunit_major_version \> $cppunit_major_min \| \
51079 $cppunit_major_version \= $cppunit_major_min \& \
51080 $cppunit_minor_version \> $cppunit_minor_min \| \
51081 $cppunit_major_version \= $cppunit_major_min \& \
51082 $cppunit_minor_version \= $cppunit_minor_min \& \
51083 $cppunit_micro_version \>= $cppunit_micro_min `
51085 if test "$cppunit_version_proper" = "1" ; then
51086 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51087 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51089 { echo "$as_me:$LINENO: result: no" >&5
51090 echo "${ECHO_T}no" >&6; }
51095 if test "x$no_cppunit" = x ; then
51096 SUBDIRS="$SUBDIRS tests"
51107 for subdir in $SUBDIRS; do
51108 if test -d ${srcdir}/${subdir} ; then
51109 if test "$wxUSE_GUI" = "yes"; then
51110 if test ${subdir} = "samples"; then
51111 makefiles="samples/Makefile.in $makefiles"
51112 for sample in $SAMPLES_SUBDIRS; do
51113 if test -d $srcdir/samples/$sample; then
51114 makefiles="samples/$sample/Makefile.in $makefiles"
51118 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51119 eval "disabled=\$$disabled_var"
51120 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51121 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51124 if test ${subdir} = "samples"; then
51125 makefiles="samples/Makefile.in $makefiles"
51126 for sample in `echo $SAMPLES_SUBDIRS`; do
51127 if test -d $srcdir/samples/$sample; then
51128 makefiles="samples/$sample/Makefile.in $makefiles"
51131 elif test ${subdir} = "utils"; then
51133 for util in ifacecheck ; do
51134 if test -d $srcdir/utils/$util ; then
51135 makefiles="utils/$util/src/Makefile.in \
51140 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51144 for mkin in $makefiles ; do
51145 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51146 ac_config_files="$ac_config_files $mk"
51152 cat >confcache <<\_ACEOF
51153 # This file is a shell script that caches the results of configure
51154 # tests run on this system so they can be shared between configure
51155 # scripts and configure runs, see configure's option --config-cache.
51156 # It is not useful on other systems. If it contains results you don't
51157 # want to keep, you may remove or edit it.
51159 # config.status only pays attention to the cache file if you give it
51160 # the --recheck option to rerun configure.
51162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51164 # following values.
51168 # The following way of writing the cache mishandles newlines in values,
51169 # but we know of no workaround that is simple, portable, and efficient.
51170 # So, we kill variables containing newlines.
51171 # Ultrix sh set writes to stderr and can't be redirected directly,
51172 # and sets the high bit in the cache file unless we assign to the vars.
51174 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51175 eval ac_val=\$$ac_var
51179 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51180 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51183 _ | IFS | as_nl) ;; #(
51184 *) $as_unset $ac_var ;;
51190 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51191 *${as_nl}ac_space=\ *)
51192 # `set' does not quote correctly, so add quotes (double-quote
51193 # substitution turns \\\\ into \\, and sed turns \\ into \).
51196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51199 # `set' quotes correctly as required by POSIX, so do not add quotes.
51200 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51209 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51211 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51213 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51214 if test -w "$cache_file"; then
51215 test "x$cache_file" != "x/dev/null" &&
51216 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51217 echo "$as_me: updating cache $cache_file" >&6;}
51218 cat confcache >$cache_file
51220 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51221 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51226 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51227 # Let make expand exec_prefix.
51228 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51230 DEFS=-DHAVE_CONFIG_H
51234 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51235 # 1. Remove the extension, and $U if already installed.
51236 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51237 ac_i=`echo "$ac_i" | sed "$ac_script"`
51238 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51239 # will be set to the directory where LIBOBJS objects are built.
51240 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51241 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51243 LIBOBJS=$ac_libobjs
51245 LTLIBOBJS=$ac_ltlibobjs
51249 : ${CONFIG_STATUS=./config.status}
51250 ac_clean_files_save=$ac_clean_files
51251 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51252 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51253 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51254 cat >$CONFIG_STATUS <<_ACEOF
51256 # Generated by $as_me.
51257 # Run this file to recreate the current configuration.
51258 # Compiler output produced by configure, useful for debugging
51259 # configure, is in config.log if it exists.
51262 ac_cs_recheck=false
51264 SHELL=\${CONFIG_SHELL-$SHELL}
51267 cat >>$CONFIG_STATUS <<\_ACEOF
51268 ## --------------------- ##
51269 ## M4sh Initialization. ##
51270 ## --------------------- ##
51272 # Be more Bourne compatible
51273 DUALCASE=1; export DUALCASE # for MKS sh
51274 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51277 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51278 # is contrary to our usage. Disable this feature.
51279 alias -g '${1+"$@"}'='"$@"'
51280 setopt NO_GLOB_SUBST
51282 case `(set -o) 2>/dev/null` in
51283 *posix*) set -o posix ;;
51292 # Avoid depending upon Character Ranges.
51293 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51294 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51295 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51296 as_cr_digits='0123456789'
51297 as_cr_alnum=$as_cr_Letters$as_cr_digits
51299 # The user is always right.
51300 if test "${PATH_SEPARATOR+set}" != set; then
51301 echo "#! /bin/sh" >conf$$.sh
51302 echo "exit 0" >>conf$$.sh
51304 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51312 # Support unset when possible.
51313 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51321 # We need space, tab and new line, in precisely that order. Quoting is
51322 # there to prevent editors from complaining about space-tab.
51323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51324 # splitting by setting IFS to empty value.)
51329 # Find who we are. Look in the path if we contain no directory separator.
51331 *[\\/]* ) as_myself=$0 ;;
51332 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51336 test -z "$as_dir" && as_dir=.
51337 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51343 # We did not find ourselves, most probably we were run as `sh COMMAND'
51344 # in which case we are not to be found in the path.
51345 if test "x$as_myself" = x; then
51348 if test ! -f "$as_myself"; then
51349 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51350 { (exit 1); exit 1; }
51353 # Work around bugs in pre-3.0 UWIN ksh.
51354 for as_var in ENV MAIL MAILPATH
51355 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51363 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51364 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51365 LC_TELEPHONE LC_TIME
51367 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51368 eval $as_var=C; export $as_var
51370 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51374 # Required to use basename.
51375 if expr a : '\(a\)' >/dev/null 2>&1 &&
51376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51383 as_basename=basename
51389 # Name of the executable.
51390 as_me=`$as_basename -- "$0" ||
51391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51392 X"$0" : 'X\(//\)$' \| \
51393 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51395 sed '/^.*\/\([^/][^/]*\)\/*$/{
51414 as_lineno_1=$LINENO
51415 as_lineno_2=$LINENO
51416 test "x$as_lineno_1" != "x$as_lineno_2" &&
51417 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51420 # uniformly replaced by the line number. The first 'sed' inserts a
51421 # line-number line after each line using $LINENO; the second 'sed'
51422 # does the real work. The second script uses 'N' to pair each
51423 # line-number line with the line containing $LINENO, and appends
51424 # trailing '-' during substitution so that $LINENO is not a special
51425 # case at line end.
51426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51427 # scripts with optimization help from Paolo Bonzini. Blame Lee
51428 # E. McMahon (1931-1989) for sed's syntax. :-)
51440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51443 ' >$as_me.lineno &&
51444 chmod +x "$as_me.lineno" ||
51445 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51446 { (exit 1); exit 1; }; }
51448 # Don't try to exec as it changes $[0], causing all sort of problems
51449 # (the dirname of $[0] is not the place where we might find the
51450 # original and so on. Autoconf is especially sensitive to this).
51451 . "./$as_me.lineno"
51452 # Exit status is that of the last command.
51457 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51463 ECHO_C= ECHO_N= ECHO_T=
51464 case `echo -n x` in
51466 case `echo 'x\c'` in
51467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51474 if expr a : '\(a\)' >/dev/null 2>&1 &&
51475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51481 rm -f conf$$ conf$$.exe conf$$.file
51482 if test -d conf$$.dir; then
51483 rm -f conf$$.dir/conf$$.file
51489 if ln -s conf$$.file conf$$ 2>/dev/null; then
51491 # ... but there are two gotchas:
51492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51494 # In both cases, we have to default to `cp -p'.
51495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51497 elif ln conf$$.file conf$$ 2>/dev/null; then
51502 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51503 rmdir conf$$.dir 2>/dev/null
51505 if mkdir -p . 2>/dev/null; then
51508 test -d ./-p && rmdir ./-p
51512 if test -x / >/dev/null 2>&1; then
51513 as_test_x='test -x'
51515 if ls -dL / >/dev/null 2>&1; then
51522 if test -d "$1"; then
51528 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51529 ???[sx]*):;;*)false;;esac;fi
51533 as_executable_p=$as_test_x
51535 # Sed expression to map a string onto a valid CPP name.
51536 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51538 # Sed expression to map a string onto a valid variable name.
51539 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51544 # Save the log message, to keep $[0] and so on meaningful, and to
51545 # report actual input values of CONFIG_FILES etc. instead of their
51546 # values after options handling.
51548 This file was extended by wxWidgets $as_me 2.9.1, which was
51549 generated by GNU Autoconf 2.61. Invocation command line was
51551 CONFIG_FILES = $CONFIG_FILES
51552 CONFIG_HEADERS = $CONFIG_HEADERS
51553 CONFIG_LINKS = $CONFIG_LINKS
51554 CONFIG_COMMANDS = $CONFIG_COMMANDS
51557 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51562 cat >>$CONFIG_STATUS <<_ACEOF
51563 # Files that config.status was made for.
51564 config_files="$ac_config_files"
51565 config_headers="$ac_config_headers"
51566 config_commands="$ac_config_commands"
51570 cat >>$CONFIG_STATUS <<\_ACEOF
51572 \`$as_me' instantiates files from templates according to the
51573 current configuration.
51575 Usage: $0 [OPTIONS] [FILE]...
51577 -h, --help print this help, then exit
51578 -V, --version print version number and configuration settings, then exit
51579 -q, --quiet do not print progress messages
51580 -d, --debug don't remove temporary files
51581 --recheck update $as_me by reconfiguring in the same conditions
51582 --file=FILE[:TEMPLATE]
51583 instantiate the configuration file FILE
51584 --header=FILE[:TEMPLATE]
51585 instantiate the configuration header FILE
51587 Configuration files:
51590 Configuration headers:
51593 Configuration commands:
51596 Report bugs to <bug-autoconf@gnu.org>."
51599 cat >>$CONFIG_STATUS <<_ACEOF
51601 wxWidgets config.status 2.9.1
51602 configured by $0, generated by GNU Autoconf 2.61,
51603 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51605 Copyright (C) 2006 Free Software Foundation, Inc.
51606 This config.status script is free software; the Free Software Foundation
51607 gives unlimited permission to copy, distribute and modify it."
51614 cat >>$CONFIG_STATUS <<\_ACEOF
51615 # If no file are specified by the user, then we need to provide default
51616 # value. By we need to know if files were specified by the user.
51622 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51623 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51634 # Handling of the options.
51635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51637 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51638 echo "$ac_cs_version"; exit ;;
51639 --debug | --debu | --deb | --de | --d | -d )
51641 --file | --fil | --fi | --f )
51643 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51644 ac_need_defaults=false;;
51645 --header | --heade | --head | --hea )
51647 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51648 ac_need_defaults=false;;
51650 # Conflict between --help and --header
51651 { echo "$as_me: error: ambiguous option: $1
51652 Try \`$0 --help' for more information." >&2
51653 { (exit 1); exit 1; }; };;
51654 --help | --hel | -h )
51655 echo "$ac_cs_usage"; exit ;;
51656 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51657 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51660 # This is an error.
51661 -*) { echo "$as_me: error: unrecognized option: $1
51662 Try \`$0 --help' for more information." >&2
51663 { (exit 1); exit 1; }; } ;;
51665 *) ac_config_targets="$ac_config_targets $1"
51666 ac_need_defaults=false ;;
51672 ac_configure_extra_args=
51674 if $ac_cs_silent; then
51676 ac_configure_extra_args="$ac_configure_extra_args --silent"
51680 cat >>$CONFIG_STATUS <<_ACEOF
51681 if \$ac_cs_recheck; then
51682 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51683 CONFIG_SHELL=$SHELL
51684 export CONFIG_SHELL
51685 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51689 cat >>$CONFIG_STATUS <<\_ACEOF
51693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51694 ## Running $as_me. ##
51700 cat >>$CONFIG_STATUS <<_ACEOF
51706 infile="$srcdir/include/wx/msw/genrcdefs.h"
51707 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51710 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51711 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51712 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51718 cat >>$CONFIG_STATUS <<\_ACEOF
51720 # Handling of arguments.
51721 for ac_config_target in $ac_config_targets
51723 case $ac_config_target in
51724 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51725 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51726 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51727 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51728 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51729 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51730 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51731 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51732 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51734 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51735 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51736 { (exit 1); exit 1; }; };;
51741 # If the user did not use the arguments to specify the items to instantiate,
51742 # then the envvar interface is used. Set only those that are not.
51743 # We use the long form for the default assignment because of an extremely
51744 # bizarre bug on SunOS 4.1.3.
51745 if $ac_need_defaults; then
51746 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51747 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51748 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51751 # Have a temporary directory for convenience. Make it in the build tree
51752 # simply because there is no reason against having it here, and in addition,
51753 # creating and moving files from /tmp can sometimes cause problems.
51754 # Hook for its removal unless debugging.
51755 # Note that there is a small window in which the directory will not be cleaned:
51756 # after its creation but before its name has been assigned to `$tmp'.
51760 trap 'exit_status=$?
51761 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51763 trap '{ (exit 1); exit 1; }' 1 2 13 15
51765 # Create a (secure) tmp directory for tmp files.
51768 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51769 test -n "$tmp" && test -d "$tmp"
51772 tmp=./conf$$-$RANDOM
51773 (umask 077 && mkdir "$tmp")
51776 echo "$me: cannot create a temporary directory in ." >&2
51777 { (exit 1); exit 1; }
51781 # Set up the sed scripts for CONFIG_FILES section.
51784 # No need to generate the scripts if there are no CONFIG_FILES.
51785 # This happens for instance when ./config.status config.h
51786 if test -n "$CONFIG_FILES"; then
51793 for ac_last_try in false false false false false :; do
51794 cat >conf$$subs.sed <<_ACEOF
51795 SHELL!$SHELL$ac_delim
51796 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51797 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51798 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51799 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51800 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51801 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51802 exec_prefix!$exec_prefix$ac_delim
51803 prefix!$prefix$ac_delim
51804 program_transform_name!$program_transform_name$ac_delim
51805 bindir!$bindir$ac_delim
51806 sbindir!$sbindir$ac_delim
51807 libexecdir!$libexecdir$ac_delim
51808 datarootdir!$datarootdir$ac_delim
51809 datadir!$datadir$ac_delim
51810 sysconfdir!$sysconfdir$ac_delim
51811 sharedstatedir!$sharedstatedir$ac_delim
51812 localstatedir!$localstatedir$ac_delim
51813 includedir!$includedir$ac_delim
51814 oldincludedir!$oldincludedir$ac_delim
51815 docdir!$docdir$ac_delim
51816 infodir!$infodir$ac_delim
51817 htmldir!$htmldir$ac_delim
51818 dvidir!$dvidir$ac_delim
51819 pdfdir!$pdfdir$ac_delim
51820 psdir!$psdir$ac_delim
51821 libdir!$libdir$ac_delim
51822 localedir!$localedir$ac_delim
51823 mandir!$mandir$ac_delim
51824 DEFS!$DEFS$ac_delim
51825 ECHO_C!$ECHO_C$ac_delim
51826 ECHO_N!$ECHO_N$ac_delim
51827 ECHO_T!$ECHO_T$ac_delim
51828 LIBS!$LIBS$ac_delim
51829 build_alias!$build_alias$ac_delim
51830 host_alias!$host_alias$ac_delim
51831 target_alias!$target_alias$ac_delim
51832 build!$build$ac_delim
51833 build_cpu!$build_cpu$ac_delim
51834 build_vendor!$build_vendor$ac_delim
51835 build_os!$build_os$ac_delim
51836 host!$host$ac_delim
51837 host_cpu!$host_cpu$ac_delim
51838 host_vendor!$host_vendor$ac_delim
51839 host_os!$host_os$ac_delim
51840 wx_top_builddir!$wx_top_builddir$ac_delim
51842 CFLAGS!$CFLAGS$ac_delim
51843 LDFLAGS!$LDFLAGS$ac_delim
51844 CPPFLAGS!$CPPFLAGS$ac_delim
51845 ac_ct_CC!$ac_ct_CC$ac_delim
51846 EXEEXT!$EXEEXT$ac_delim
51847 OBJEXT!$OBJEXT$ac_delim
51849 GREP!$GREP$ac_delim
51850 EGREP!$EGREP$ac_delim
51852 CXXFLAGS!$CXXFLAGS$ac_delim
51853 ac_ct_CXX!$ac_ct_CXX$ac_delim
51855 subdirs!$subdirs$ac_delim
51856 PKG_CONFIG!$PKG_CONFIG$ac_delim
51857 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51858 GTK_LIBS!$GTK_LIBS$ac_delim
51859 GTK_CONFIG!$GTK_CONFIG$ac_delim
51860 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51861 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51862 XMKMF!$XMKMF$ac_delim
51863 X_CFLAGS!$X_CFLAGS$ac_delim
51864 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51865 X_LIBS!$X_LIBS$ac_delim
51866 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51867 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51868 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51869 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51870 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51871 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51872 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51873 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51874 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51875 LIBICONV!$LIBICONV$ac_delim
51876 GXX_VERSION!$GXX_VERSION$ac_delim
51877 SDL_CONFIG!$SDL_CONFIG$ac_delim
51878 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51879 SDL_LIBS!$SDL_LIBS$ac_delim
51880 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51881 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51882 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51883 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51884 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51885 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51886 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51887 HILDON_LIBS!$HILDON_LIBS$ac_delim
51888 PYTHON!$PYTHON$ac_delim
51889 COND_PYTHON!$COND_PYTHON$ac_delim
51890 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51891 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51894 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51896 elif $ac_last_try; then
51897 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51898 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51899 { (exit 1); exit 1; }; }
51901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51905 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51906 if test -n "$ac_eof"; then
51907 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51908 ac_eof=`expr $ac_eof + 1`
51911 cat >>$CONFIG_STATUS <<_ACEOF
51912 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51916 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51917 s/^/s,@/; s/!/@,|#_!!_#|/
51920 s/'"$ac_delim"'$/,g/; t
51922 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51923 ' >>$CONFIG_STATUS <conf$$subs.sed
51924 rm -f conf$$subs.sed
51925 cat >>$CONFIG_STATUS <<_ACEOF
51931 for ac_last_try in false false false false false :; do
51932 cat >conf$$subs.sed <<_ACEOF
51933 GST_CFLAGS!$GST_CFLAGS$ac_delim
51934 GST_LIBS!$GST_LIBS$ac_delim
51935 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51936 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51937 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51938 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51939 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51940 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51941 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51942 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51943 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51944 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51945 VENDOR!$VENDOR$ac_delim
51946 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51947 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51948 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51949 WXUNIV!$WXUNIV$ac_delim
51950 MONOLITHIC!$MONOLITHIC$ac_delim
51951 USE_PLUGINS!$USE_PLUGINS$ac_delim
51952 CXXWARNINGS!$CXXWARNINGS$ac_delim
51953 EXTRALIBS!$EXTRALIBS$ac_delim
51954 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51955 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51956 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51957 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51958 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51959 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51960 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51961 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51962 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51963 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51964 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51965 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51966 UNICODE!$UNICODE$ac_delim
51967 DEBUG_INFO!$DEBUG_INFO$ac_delim
51968 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51969 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51970 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51971 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51972 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51973 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51974 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51975 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51976 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51977 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51978 RANLIB!$RANLIB$ac_delim
51979 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51980 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51981 INSTALL_DATA!$INSTALL_DATA$ac_delim
51982 LN_S!$LN_S$ac_delim
51983 SET_MAKE!$SET_MAKE$ac_delim
51984 MAKE_SET!$MAKE_SET$ac_delim
51985 AROPTIONS!$AROPTIONS$ac_delim
51986 STRIP!$STRIP$ac_delim
51988 INSTALL_DIR!$INSTALL_DIR$ac_delim
51989 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51990 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51991 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51992 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51993 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51994 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51995 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51996 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51997 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51998 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51999 SO_SUFFIX!$SO_SUFFIX$ac_delim
52000 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52001 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52002 LIBPREFIX!$LIBPREFIX$ac_delim
52003 LIBEXT!$LIBEXT$ac_delim
52004 DLLPREFIX!$DLLPREFIX$ac_delim
52005 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52006 dlldir!$dlldir$ac_delim
52007 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52008 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52009 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52010 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52011 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52012 PIC_FLAG!$PIC_FLAG$ac_delim
52013 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52014 USE_SOVERSION!$USE_SOVERSION$ac_delim
52015 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52016 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52017 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52018 USE_MACVERSION!$USE_MACVERSION$ac_delim
52019 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52020 SONAME_FLAG!$SONAME_FLAG$ac_delim
52021 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52022 BK_DEPS!$BK_DEPS$ac_delim
52023 WINDRES!$WINDRES$ac_delim
52025 SETFILE!$SETFILE$ac_delim
52026 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52027 GCC_PCH!$GCC_PCH$ac_delim
52028 ICC_PCH!$ICC_PCH$ac_delim
52029 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52032 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52034 elif $ac_last_try; then
52035 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52037 { (exit 1); exit 1; }; }
52039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52043 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52044 if test -n "$ac_eof"; then
52045 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52046 ac_eof=`expr $ac_eof + 1`
52049 cat >>$CONFIG_STATUS <<_ACEOF
52050 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52054 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52055 s/^/s,@/; s/!/@,|#_!!_#|/
52058 s/'"$ac_delim"'$/,g/; t
52060 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52061 ' >>$CONFIG_STATUS <conf$$subs.sed
52062 rm -f conf$$subs.sed
52063 cat >>$CONFIG_STATUS <<_ACEOF
52069 for ac_last_try in false false false false false :; do
52070 cat >conf$$subs.sed <<_ACEOF
52071 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52072 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52073 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52074 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52075 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52076 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52077 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52078 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52079 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52080 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52081 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52082 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52083 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52084 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52085 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52086 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52087 COND_BUILD_release!$COND_BUILD_release$ac_delim
52088 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52089 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52090 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52091 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52092 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52093 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52094 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52095 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52096 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52097 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52098 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52099 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52100 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52101 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52117 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52118 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52119 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52120 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52121 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52122 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52123 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52124 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52125 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52126 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52127 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52128 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52129 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52130 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52131 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52132 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52133 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52134 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52135 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52136 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52137 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52138 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52139 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52140 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52141 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52142 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52143 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
52144 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52145 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
52146 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52147 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52148 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52149 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52150 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52151 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52152 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52153 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52154 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52155 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52156 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52157 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52158 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52159 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52160 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52161 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52162 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52163 COND_SHARED_0!$COND_SHARED_0$ac_delim
52164 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52165 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52166 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52167 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52170 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52172 elif $ac_last_try; then
52173 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52174 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52175 { (exit 1); exit 1; }; }
52177 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52181 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52182 if test -n "$ac_eof"; then
52183 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52184 ac_eof=`expr $ac_eof + 1`
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52192 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52193 s/^/s,@/; s/!/@,|#_!!_#|/
52196 s/'"$ac_delim"'$/,g/; t
52198 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52199 ' >>$CONFIG_STATUS <conf$$subs.sed
52200 rm -f conf$$subs.sed
52201 cat >>$CONFIG_STATUS <<_ACEOF
52207 for ac_last_try in false false false false false :; do
52208 cat >conf$$subs.sed <<_ACEOF
52209 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52210 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52211 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52212 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52213 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52214 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52215 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52216 COND_SHARED_1!$COND_SHARED_1$ac_delim
52217 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52218 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52219 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52220 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52221 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52222 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52223 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52224 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52229 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52231 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52232 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52233 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52234 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52235 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52236 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52237 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52238 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52239 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52240 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52241 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52243 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52244 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52245 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52246 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52247 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52248 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52249 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52250 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52251 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52252 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52253 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52254 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52255 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52256 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52257 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52258 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52259 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52260 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52261 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52262 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52263 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52264 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52265 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52266 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52267 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52268 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52269 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52270 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52271 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52272 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52273 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52274 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52275 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52276 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52277 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52278 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52279 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52280 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52281 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52282 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52283 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52284 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52285 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52286 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52287 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52288 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52289 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52290 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52291 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52292 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52293 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52294 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52295 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52296 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52297 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52298 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52299 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52300 DEREZ!$DEREZ$ac_delim
52301 SHARED!$SHARED$ac_delim
52302 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52303 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52304 USE_GUI!$USE_GUI$ac_delim
52305 AFMINSTALL!$AFMINSTALL$ac_delim
52308 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52310 elif $ac_last_try; then
52311 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52313 { (exit 1); exit 1; }; }
52315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52319 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52320 if test -n "$ac_eof"; then
52321 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52322 ac_eof=`expr $ac_eof + 1`
52325 cat >>$CONFIG_STATUS <<_ACEOF
52326 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52331 s/^/s,@/; s/!/@,|#_!!_#|/
52334 s/'"$ac_delim"'$/,g/; t
52336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52337 ' >>$CONFIG_STATUS <conf$$subs.sed
52338 rm -f conf$$subs.sed
52339 cat >>$CONFIG_STATUS <<_ACEOF
52345 for ac_last_try in false false false false false :; do
52346 cat >conf$$subs.sed <<_ACEOF
52347 WIN32INSTALL!$WIN32INSTALL$ac_delim
52348 TOOLKIT!$TOOLKIT$ac_delim
52349 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52350 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52351 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52352 cross_compiling!$cross_compiling$ac_delim
52353 WIDGET_SET!$WIDGET_SET$ac_delim
52354 WX_RELEASE!$WX_RELEASE$ac_delim
52355 WX_VERSION!$WX_VERSION$ac_delim
52356 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52357 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52358 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52359 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52360 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52361 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52362 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52363 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52364 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52365 GUIDIST!$GUIDIST$ac_delim
52366 DISTDIR!$DISTDIR$ac_delim
52367 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52368 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52369 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52370 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52371 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52372 RESCOMP!$RESCOMP$ac_delim
52373 RESFLAGS!$RESFLAGS$ac_delim
52374 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52375 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52376 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52377 LIBWXMACRES!$LIBWXMACRES$ac_delim
52378 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52379 MACSETFILE!$MACSETFILE$ac_delim
52381 DLLTOOL!$DLLTOOL$ac_delim
52382 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52383 LIBOBJS!$LIBOBJS$ac_delim
52384 LTLIBOBJS!$LTLIBOBJS$ac_delim
52387 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52389 elif $ac_last_try; then
52390 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52391 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52392 { (exit 1); exit 1; }; }
52394 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52398 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52399 if test -n "$ac_eof"; then
52400 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52401 ac_eof=`expr $ac_eof + 1`
52404 cat >>$CONFIG_STATUS <<_ACEOF
52405 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52409 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52410 s/^/s,@/; s/!/@,|#_!!_#|/
52413 s/'"$ac_delim"'$/,g/; t
52415 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52416 ' >>$CONFIG_STATUS <conf$$subs.sed
52417 rm -f conf$$subs.sed
52418 cat >>$CONFIG_STATUS <<_ACEOF
52425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52427 # trailing colons and then remove the whole line if VPATH becomes empty
52428 # (actually we leave an empty line to preserve line numbers).
52429 if test "x$srcdir" = x.; then
52430 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52431 s/:*\$(srcdir):*/:/
52432 s/:*\${srcdir}:*/:/
52434 s/^\([^=]*=[ ]*\):*/\1/
52440 cat >>$CONFIG_STATUS <<\_ACEOF
52441 fi # test -n "$CONFIG_FILES"
52444 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52447 :[FHLC]) ac_mode=$ac_tag; continue;;
52449 case $ac_mode$ac_tag in
52451 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52452 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52453 { (exit 1); exit 1; }; };;
52454 :[FH]-) ac_tag=-:-;;
52455 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52472 -) ac_f="$tmp/stdin";;
52473 *) # Look for the file first in the build tree, then in the source tree
52474 # (if the path is not absolute). The absolute path cannot be DOS-style,
52475 # because $ac_f cannot contain `:'.
52479 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52481 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52482 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52483 { (exit 1); exit 1; }; };;
52485 ac_file_inputs="$ac_file_inputs $ac_f"
52488 # Let's still pretend it is `configure' which instantiates (i.e., don't
52489 # use $as_me), people would be surprised to read:
52490 # /* config.h. Generated by config.status. */
52491 configure_input="Generated from "`IFS=:
52492 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52493 if test x"$ac_file" != x-; then
52494 configure_input="$ac_file. $configure_input"
52495 { echo "$as_me:$LINENO: creating $ac_file" >&5
52496 echo "$as_me: creating $ac_file" >&6;}
52500 *:-:* | *:-) cat >"$tmp/stdin";;
52505 ac_dir=`$as_dirname -- "$ac_file" ||
52506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52507 X"$ac_file" : 'X\(//\)[^/]' \| \
52508 X"$ac_file" : 'X\(//\)$' \| \
52509 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52515 /^X\(\/\/\)[^/].*/{
52530 -*) as_dir=./$as_dir;;
52532 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52536 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52537 *) as_qdir=$as_dir;;
52539 as_dirs="'$as_qdir' $as_dirs"
52540 as_dir=`$as_dirname -- "$as_dir" ||
52541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52542 X"$as_dir" : 'X\(//\)[^/]' \| \
52543 X"$as_dir" : 'X\(//\)$' \| \
52544 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52550 /^X\(\/\/\)[^/].*/{
52563 test -d "$as_dir" && break
52565 test -z "$as_dirs" || eval "mkdir $as_dirs"
52566 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52567 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52568 { (exit 1); exit 1; }; }; }
52572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52574 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52575 # A ".." for each directory in $ac_dir_suffix.
52576 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52577 case $ac_top_builddir_sub in
52578 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52579 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52582 ac_abs_top_builddir=$ac_pwd
52583 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52584 # for backward compatibility:
52585 ac_top_builddir=$ac_top_build_prefix
52588 .) # We are building in place.
52590 ac_top_srcdir=$ac_top_builddir_sub
52591 ac_abs_top_srcdir=$ac_pwd ;;
52592 [\\/]* | ?:[\\/]* ) # Absolute name.
52593 ac_srcdir=$srcdir$ac_dir_suffix;
52594 ac_top_srcdir=$srcdir
52595 ac_abs_top_srcdir=$srcdir ;;
52596 *) # Relative name.
52597 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52598 ac_top_srcdir=$ac_top_build_prefix$srcdir
52599 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52601 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52611 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52612 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52616 cat >>$CONFIG_STATUS <<\_ACEOF
52617 # If the template does not know about datarootdir, expand it.
52618 # FIXME: This hack should be removed a few years after 2.60.
52619 ac_datarootdir_hack=; ac_datarootdir_seen=
52621 case `sed -n '/datarootdir/ {
52630 ' $ac_file_inputs` in
52631 *datarootdir*) ac_datarootdir_seen=yes;;
52632 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52633 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52634 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52636 cat >>$CONFIG_STATUS <<_ACEOF
52637 ac_datarootdir_hack='
52638 s&@datadir@&$datadir&g
52639 s&@docdir@&$docdir&g
52640 s&@infodir@&$infodir&g
52641 s&@localedir@&$localedir&g
52642 s&@mandir@&$mandir&g
52643 s&\\\${datarootdir}&$datarootdir&g' ;;
52647 # Neutralize VPATH when `$srcdir' = `.'.
52648 # Shell code in configure.ac might set extrasub.
52649 # FIXME: do we really want to maintain this feature?
52650 cat >>$CONFIG_STATUS <<_ACEOF
52654 cat >>$CONFIG_STATUS <<\_ACEOF
52656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52657 s&@configure_input@&$configure_input&;t t
52658 s&@top_builddir@&$ac_top_builddir_sub&;t t
52659 s&@srcdir@&$ac_srcdir&;t t
52660 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52661 s&@top_srcdir@&$ac_top_srcdir&;t t
52662 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52663 s&@builddir@&$ac_builddir&;t t
52664 s&@abs_builddir@&$ac_abs_builddir&;t t
52665 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52666 s&@INSTALL@&$ac_INSTALL&;t t
52667 $ac_datarootdir_hack
52668 " $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
52670 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52671 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52672 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52673 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52674 which seems to be undefined. Please make sure it is defined." >&5
52675 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52676 which seems to be undefined. Please make sure it is defined." >&2;}
52680 -) cat "$tmp/out"; rm -f "$tmp/out";;
52681 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52690 # Transform confdefs.h into a sed script `conftest.defines', that
52691 # substitutes the proper values into config.h.in to produce config.h.
52692 rm -f conftest.defines conftest.tail
52693 # First, append a space to every undef/define line, to ease matching.
52694 echo 's/$/ /' >conftest.defines
52695 # Then, protect against being on the right side of a sed subst, or in
52696 # an unquoted here document, in config.status. If some macros were
52697 # called several times there might be several #defines for the same
52698 # symbol, which is useless. But do not sort them, since the last
52699 # AC_DEFINE must be honored.
52700 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52701 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52702 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52703 # PARAMS is the parameter list in the macro definition--in most cases, it's
52704 # just an empty string.
52705 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52706 ac_dB='\\)[ (].*,\\1define\\2'
52714 s/^[ ]*#[ ]*define[ ][ ]*//
52719 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52720 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52721 ' >>conftest.defines
52723 # Remove the space that was appended to ease matching.
52724 # Then replace #undef with comments. This is necessary, for
52725 # example, in the case of _POSIX_SOURCE, which is predefined and required
52726 # on some systems where configure will not decide to define it.
52727 # (The regexp can be short, since the line contains either #define or #undef.)
52729 s,^[ #]*u.*,/* & */,' >>conftest.defines
52731 # Break up conftest.defines:
52732 ac_max_sed_lines=50
52734 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52735 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52736 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52738 ac_in='$ac_file_inputs'
52739 ac_out='"$tmp/out1"'
52740 ac_nxt='"$tmp/out2"'
52744 # Write a here document:
52745 cat >>$CONFIG_STATUS <<_ACEOF
52746 # First, check the format of the line:
52747 cat >"\$tmp/defines.sed" <<\\CEOF
52748 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52749 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52753 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52755 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52756 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52757 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52758 grep . conftest.tail >/dev/null || break
52759 rm -f conftest.defines
52760 mv conftest.tail conftest.defines
52762 rm -f conftest.defines conftest.tail
52764 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52765 cat >>$CONFIG_STATUS <<\_ACEOF
52766 if test x"$ac_file" != x-; then
52767 echo "/* $configure_input */" >"$tmp/config.h"
52768 cat "$ac_result" >>"$tmp/config.h"
52769 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52770 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52771 echo "$as_me: $ac_file is unchanged" >&6;}
52774 mv "$tmp/config.h" $ac_file
52777 echo "/* $configure_input */"
52783 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52784 echo "$as_me: executing $ac_file commands" >&6;}
52789 case $ac_file$ac_mode in
52791 mkdir -p $outdir &&
52792 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52794 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52795 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52796 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52797 "wx-config":C) rm -f wx-config
52798 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52805 { (exit 0); exit 0; }
52807 chmod +x $CONFIG_STATUS
52808 ac_clean_files=$ac_clean_files_save
52811 # configure is writing to config.log, and then calls config.status.
52812 # config.status does its own redirection, appending to config.log.
52813 # Unfortunately, on DOS this fails, as config.log is still kept open
52814 # by configure, so config.status won't be able to write to it; its
52815 # output is simply discarded. So we exec the FD to /dev/null,
52816 # effectively closing config.log, so it can be properly (re)opened and
52817 # appended to by config.status. When coming back to configure, we
52818 # need to make the FD available again.
52819 if test "$no_create" != yes; then
52821 ac_config_status_args=
52822 test "$silent" = yes &&
52823 ac_config_status_args="$ac_config_status_args --quiet"
52825 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52827 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52828 # would make configure fail if this is the last instruction.
52829 $ac_cs_success || { (exit 1); exit 1; }
52833 # CONFIG_SUBDIRS section.
52835 if test "$no_recursion" != yes; then
52837 # Remove --cache-file and --srcdir arguments so they do not pile up.
52838 ac_sub_configure_args=
52840 eval "set x $ac_configure_args"
52844 if test -n "$ac_prev"; then
52849 -cache-file | --cache-file | --cache-fil | --cache-fi \
52850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52851 ac_prev=cache_file ;;
52852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52856 --config-cache | -C)
52858 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52860 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52862 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52864 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52868 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52870 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52874 # Always prepend --prefix to ensure using the same prefix
52875 # in subdir configurations.
52876 ac_arg="--prefix=$prefix"
52878 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52880 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52883 if test "$silent" = yes; then
52884 ac_sub_configure_args="--silent $ac_sub_configure_args"
52888 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52890 # Do not complain, so a configure script can configure whichever
52891 # parts of a large source tree are present.
52892 test -d "$srcdir/$ac_dir" || continue
52894 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52895 echo "$as_me:$LINENO: $ac_msg" >&5
52899 -*) as_dir=./$as_dir;;
52901 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52905 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52906 *) as_qdir=$as_dir;;
52908 as_dirs="'$as_qdir' $as_dirs"
52909 as_dir=`$as_dirname -- "$as_dir" ||
52910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52911 X"$as_dir" : 'X\(//\)[^/]' \| \
52912 X"$as_dir" : 'X\(//\)$' \| \
52913 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52919 /^X\(\/\/\)[^/].*/{
52932 test -d "$as_dir" && break
52934 test -z "$as_dirs" || eval "mkdir $as_dirs"
52935 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52936 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52937 { (exit 1); exit 1; }; }; }
52941 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52943 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52944 # A ".." for each directory in $ac_dir_suffix.
52945 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52946 case $ac_top_builddir_sub in
52947 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52948 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52951 ac_abs_top_builddir=$ac_pwd
52952 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52953 # for backward compatibility:
52954 ac_top_builddir=$ac_top_build_prefix
52957 .) # We are building in place.
52959 ac_top_srcdir=$ac_top_builddir_sub
52960 ac_abs_top_srcdir=$ac_pwd ;;
52961 [\\/]* | ?:[\\/]* ) # Absolute name.
52962 ac_srcdir=$srcdir$ac_dir_suffix;
52963 ac_top_srcdir=$srcdir
52964 ac_abs_top_srcdir=$srcdir ;;
52965 *) # Relative name.
52966 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52967 ac_top_srcdir=$ac_top_build_prefix$srcdir
52968 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52970 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52975 # Check for guested configure; otherwise get Cygnus style configure.
52976 if test -f "$ac_srcdir/configure.gnu"; then
52977 ac_sub_configure=$ac_srcdir/configure.gnu
52978 elif test -f "$ac_srcdir/configure"; then
52979 ac_sub_configure=$ac_srcdir/configure
52980 elif test -f "$ac_srcdir/configure.in"; then
52981 # This should be Cygnus configure.
52982 ac_sub_configure=$ac_aux_dir/configure
52984 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52985 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52989 # The recursion is here.
52990 if test -n "$ac_sub_configure"; then
52991 # Make the cache file name correct relative to the subdirectory.
52992 case $cache_file in
52993 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52994 *) # Relative name.
52995 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52998 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52999 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53000 # The eval makes quoting arguments work.
53001 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53002 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53003 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53004 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53005 { (exit 1); exit 1; }; }
53014 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53016 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53017 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53018 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53019 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53020 if test "$wxUSE_UNICODE" = "yes"; then
53021 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53022 echo " (using UTF-8)"
53024 echo " (using wchar_t)"
53030 echo " What level of wxWidgets compatibility should be enabled?"
53031 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53032 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53034 echo " Which libraries should wxWidgets use?"
53035 echo " STL ${wxUSE_STL}"
53036 echo " jpeg ${wxUSE_LIBJPEG-none}"
53037 echo " png ${wxUSE_LIBPNG-none}"
53038 echo " regex ${wxUSE_REGEX}"
53039 echo " tiff ${wxUSE_LIBTIFF-none}"
53040 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53041 echo " xpm ${wxUSE_LIBXPM-none}"
53043 echo " zlib ${wxUSE_ZLIB}"
53044 echo " expat ${wxUSE_EXPAT}"
53045 echo " libmspack ${wxUSE_LIBMSPACK}"
53046 echo " sdl ${wxUSE_LIBSDL}"