2 # From configure.in Id: configure.in 50061 2007-11-18 20:53:33Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
755 SAMPLES_RPATH_POSTLINK
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
881 COND_PLATFORM_WIN32_0
882 COND_PLATFORM_WIN32_1
884 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
885 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
891 COND_SHARED_0_USE_STC_1
892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
893 COND_SHARED_0_WXUSE_REGEX_BUILTIN
894 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
899 COND_TOOLKIT_COCOA_USE_GUI_1
900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_USE_GUI_1
913 COND_TOOLKIT_MAC_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW_USE_GUI_1
922 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_PM_USE_GUI_1
926 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_WINCE_USE_GUI_1
929 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_WXUNIV_0
932 COND_TOOLKIT_X11_USE_GUI_1
934 COND_USE_EXCEPTIONS_0
935 COND_USE_EXCEPTIONS_1
938 COND_USE_GUI_1_USE_OPENGL_1
939 COND_USE_GUI_1_WXUNIV_0
940 COND_USE_GUI_1_WXUNIV_1
941 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
942 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
948 COND_USE_SOSYMLINKS_1
949 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
950 COND_USE_SOVERLINUX_1
952 COND_USE_SOVERSOLARIS_1
957 COND_WINDOWS_IMPLIB_1
958 COND_WITH_PLUGIN_SDL_1
961 COND_WXUSE_EXPAT_BUILTIN
962 COND_WXUSE_LIBJPEG_BUILTIN
963 COND_WXUSE_LIBPNG_BUILTIN
964 COND_WXUSE_LIBTIFF_BUILTIN
965 COND_WXUSE_REGEX_BUILTIN
966 COND_WXUSE_ZLIB_BUILTIN
969 WX_LIBRARY_BASENAME_NOGUI
970 WX_LIBRARY_BASENAME_GUI
1002 WX_RESOURCES_MACOSX_ASCII
1003 WX_RESOURCES_MACOSX_DATA
1013 ac_precious_vars='build_alias
1037 LIBGNOMEPRINTUI_CFLAGS
1038 LIBGNOMEPRINTUI_LIBS
1047 ac_subdirs_all='src/tiff
1050 # Initialize some variables set by options.
1052 ac_init_version=false
1053 # The variables have the same names as the options, with
1054 # dashes changed to underlines.
1055 cache_file=/dev/null
1062 program_transform_name=s,x,x,
1070 # Installation directory options.
1071 # These are left unexpanded so users can "make install exec_prefix=/foo"
1072 # and all the variables that are supposed to be based on exec_prefix
1073 # by default will actually change.
1074 # Use braces instead of parens because sh, perl, etc. also accept them.
1075 # (The list follows the same order as the GNU Coding Standards.)
1076 bindir='${exec_prefix}/bin'
1077 sbindir='${exec_prefix}/sbin'
1078 libexecdir='${exec_prefix}/libexec'
1079 datarootdir='${prefix}/share'
1080 datadir='${datarootdir}'
1081 sysconfdir='${prefix}/etc'
1082 sharedstatedir='${prefix}/com'
1083 localstatedir='${prefix}/var'
1084 includedir='${prefix}/include'
1085 oldincludedir='/usr/include'
1086 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1087 infodir='${datarootdir}/info'
1092 libdir='${exec_prefix}/lib'
1093 localedir='${datarootdir}/locale'
1094 mandir='${datarootdir}/man'
1100 # If the previous option needs an argument, assign it.
1101 if test -n "$ac_prev"; then
1102 eval $ac_prev=\$ac_option
1108 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1112 # Accept the important Cygnus configure options, so we can diagnose typos.
1114 case $ac_dashdash$ac_option in
1118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121 bindir=$ac_optarg ;;
1123 -build | --build | --buil | --bui | --bu)
1124 ac_prev=build_alias ;;
1125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126 build_alias=$ac_optarg ;;
1128 -cache-file | --cache-file | --cache-fil | --cache-fi \
1129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130 ac_prev=cache_file ;;
1131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133 cache_file=$ac_optarg ;;
1135 --config-cache | -C)
1136 cache_file=config.cache ;;
1138 -datadir | --datadir | --datadi | --datad)
1140 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141 datadir=$ac_optarg ;;
1143 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144 | --dataroo | --dataro | --datar)
1145 ac_prev=datarootdir ;;
1146 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148 datarootdir=$ac_optarg ;;
1150 -disable-* | --disable-*)
1151 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1155 { (exit 1); exit 1; }; }
1156 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1157 eval enable_$ac_feature=no ;;
1159 -docdir | --docdir | --docdi | --doc | --do)
1161 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1162 docdir=$ac_optarg ;;
1164 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1167 dvidir=$ac_optarg ;;
1169 -enable-* | --enable-*)
1170 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1174 { (exit 1); exit 1; }; }
1175 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1176 eval enable_$ac_feature=\$ac_optarg ;;
1178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1180 | --exec | --exe | --ex)
1181 ac_prev=exec_prefix ;;
1182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1184 | --exec=* | --exe=* | --ex=*)
1185 exec_prefix=$ac_optarg ;;
1187 -gas | --gas | --ga | --g)
1188 # Obsolete; use --with-gas.
1191 -help | --help | --hel | --he | -h)
1192 ac_init_help=long ;;
1193 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1194 ac_init_help=recursive ;;
1195 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1196 ac_init_help=short ;;
1198 -host | --host | --hos | --ho)
1199 ac_prev=host_alias ;;
1200 -host=* | --host=* | --hos=* | --ho=*)
1201 host_alias=$ac_optarg ;;
1203 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 htmldir=$ac_optarg ;;
1209 -includedir | --includedir | --includedi | --included | --include \
1210 | --includ | --inclu | --incl | --inc)
1211 ac_prev=includedir ;;
1212 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1213 | --includ=* | --inclu=* | --incl=* | --inc=*)
1214 includedir=$ac_optarg ;;
1216 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1219 infodir=$ac_optarg ;;
1221 -libdir | --libdir | --libdi | --libd)
1223 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1224 libdir=$ac_optarg ;;
1226 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1227 | --libexe | --libex | --libe)
1228 ac_prev=libexecdir ;;
1229 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1230 | --libexe=* | --libex=* | --libe=*)
1231 libexecdir=$ac_optarg ;;
1233 -localedir | --localedir | --localedi | --localed | --locale)
1234 ac_prev=localedir ;;
1235 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1236 localedir=$ac_optarg ;;
1238 -localstatedir | --localstatedir | --localstatedi | --localstated \
1239 | --localstate | --localstat | --localsta | --localst | --locals)
1240 ac_prev=localstatedir ;;
1241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1242 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1243 localstatedir=$ac_optarg ;;
1245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1248 mandir=$ac_optarg ;;
1250 -nfp | --nfp | --nf)
1251 # Obsolete; use --without-fp.
1254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1255 | --no-cr | --no-c | -n)
1258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1264 | --oldin | --oldi | --old | --ol | --o)
1265 ac_prev=oldincludedir ;;
1266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1269 oldincludedir=$ac_optarg ;;
1271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1274 prefix=$ac_optarg ;;
1276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1277 | --program-pre | --program-pr | --program-p)
1278 ac_prev=program_prefix ;;
1279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1281 program_prefix=$ac_optarg ;;
1283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1284 | --program-suf | --program-su | --program-s)
1285 ac_prev=program_suffix ;;
1286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1288 program_suffix=$ac_optarg ;;
1290 -program-transform-name | --program-transform-name \
1291 | --program-transform-nam | --program-transform-na \
1292 | --program-transform-n | --program-transform- \
1293 | --program-transform | --program-transfor \
1294 | --program-transfo | --program-transf \
1295 | --program-trans | --program-tran \
1296 | --progr-tra | --program-tr | --program-t)
1297 ac_prev=program_transform_name ;;
1298 -program-transform-name=* | --program-transform-name=* \
1299 | --program-transform-nam=* | --program-transform-na=* \
1300 | --program-transform-n=* | --program-transform-=* \
1301 | --program-transform=* | --program-transfor=* \
1302 | --program-transfo=* | --program-transf=* \
1303 | --program-trans=* | --program-tran=* \
1304 | --progr-tra=* | --program-tr=* | --program-t=*)
1305 program_transform_name=$ac_optarg ;;
1307 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1310 pdfdir=$ac_optarg ;;
1312 -psdir | --psdir | --psdi | --psd | --ps)
1314 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1318 | -silent | --silent | --silen | --sile | --sil)
1321 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 sbindir=$ac_optarg ;;
1327 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1328 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1329 | --sharedst | --shareds | --shared | --share | --shar \
1331 ac_prev=sharedstatedir ;;
1332 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1333 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1334 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 sharedstatedir=$ac_optarg ;;
1338 -site | --site | --sit)
1340 -site=* | --site=* | --sit=*)
1343 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1346 srcdir=$ac_optarg ;;
1348 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1349 | --syscon | --sysco | --sysc | --sys | --sy)
1350 ac_prev=sysconfdir ;;
1351 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1352 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1353 sysconfdir=$ac_optarg ;;
1355 -target | --target | --targe | --targ | --tar | --ta | --t)
1356 ac_prev=target_alias ;;
1357 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1358 target_alias=$ac_optarg ;;
1360 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1363 -version | --version | --versio | --versi | --vers | -V)
1364 ac_init_version=: ;;
1367 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_$ac_package=\$ac_optarg ;;
1375 -without-* | --without-*)
1376 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=no ;;
1385 # Obsolete; use --with-x.
1388 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1389 | --x-incl | --x-inc | --x-in | --x-i)
1390 ac_prev=x_includes ;;
1391 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1392 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1393 x_includes=$ac_optarg ;;
1395 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1396 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1397 ac_prev=x_libraries ;;
1398 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1399 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1400 x_libraries=$ac_optarg ;;
1402 -*) { echo "$as_me: error: unrecognized option: $ac_option
1403 Try \`$0 --help' for more information." >&2
1404 { (exit 1); exit 1; }; }
1408 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1409 # Reject names that are not valid shell variable names.
1410 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1411 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1412 { (exit 1); exit 1; }; }
1413 eval $ac_envvar=\$ac_optarg
1414 export $ac_envvar ;;
1417 # FIXME: should be removed in autoconf 3.0.
1418 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1419 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1420 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1421 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 if test -n "$ac_prev"; then
1428 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1429 { echo "$as_me: error: missing argument to $ac_option" >&2
1430 { (exit 1); exit 1; }; }
1433 # Be sure to have absolute directory names.
1434 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1435 datadir sysconfdir sharedstatedir localstatedir includedir \
1436 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1437 libdir localedir mandir
1439 eval ac_val=\$$ac_var
1441 [\\/$]* | ?:[\\/]* ) continue;;
1442 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1445 { (exit 1); exit 1; }; }
1448 # There might be people who depend on the old broken behavior: `$host'
1449 # used to hold the argument of --host etc.
1450 # FIXME: To remove some day.
1453 target=$target_alias
1455 # FIXME: To remove some day.
1456 if test "x$host_alias" != x; then
1457 if test "x$build_alias" = x; then
1458 cross_compiling=maybe
1459 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1460 If a cross compiler is detected then cross compile mode will be used." >&2
1461 elif test "x$build_alias" != "x$host_alias"; then
1467 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469 test "$silent" = yes && exec 6>/dev/null
1472 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1473 ac_ls_di=`ls -di .` &&
1474 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1475 { echo "$as_me: error: Working directory cannot be determined" >&2
1476 { (exit 1); exit 1; }; }
1477 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1478 { echo "$as_me: error: pwd does not report name of working directory" >&2
1479 { (exit 1); exit 1; }; }
1482 # Find the source files, if location was not specified.
1483 if test -z "$srcdir"; then
1484 ac_srcdir_defaulted=yes
1485 # Try the directory containing this script, then the parent directory.
1486 ac_confdir=`$as_dirname -- "$0" ||
1487 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488 X"$0" : 'X\(//\)[^/]' \| \
1489 X"$0" : 'X\(//\)$' \| \
1490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1510 if test ! -r "$srcdir/$ac_unique_file"; then
1514 ac_srcdir_defaulted=no
1516 if test ! -r "$srcdir/$ac_unique_file"; then
1517 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1518 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1519 { (exit 1); exit 1; }; }
1521 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1524 { (exit 1); exit 1; }; }
1526 # When building in place, set srcdir=.
1527 if test "$ac_abs_confdir" = "$ac_pwd"; then
1530 # Remove unnecessary trailing slashes from srcdir.
1531 # Double slashes in file names in object file debugging info
1532 # mess up M-x gdb in Emacs.
1534 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 for ac_var in $ac_precious_vars; do
1537 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1538 eval ac_env_${ac_var}_value=\$${ac_var}
1539 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1540 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1544 # Report the --help message.
1546 if test "$ac_init_help" = "long"; then
1547 # Omit some internal or obsolete options to make the list less imposing.
1548 # This message is too long to be a string in the A/UX 3.1 sh.
1550 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552 Usage: $0 [OPTION]... [VAR=VALUE]...
1554 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1555 VAR=VALUE. See below for descriptions of some of the useful variables.
1557 Defaults for the options are specified in brackets.
1560 -h, --help display this help and exit
1561 --help=short display options specific to this package
1562 --help=recursive display the short help of all the included packages
1563 -V, --version display version information and exit
1564 -q, --quiet, --silent do not print \`checking...' messages
1565 --cache-file=FILE cache test results in FILE [disabled]
1566 -C, --config-cache alias for \`--cache-file=config.cache'
1567 -n, --no-create do not create output files
1568 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570 Installation directories:
1571 --prefix=PREFIX install architecture-independent files in PREFIX
1572 [$ac_default_prefix]
1573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1576 By default, \`make install' will install all the files in
1577 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1578 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1579 for instance \`--prefix=\$HOME'.
1581 For better control, use the options below.
1583 Fine tuning of the installation directories:
1584 --bindir=DIR user executables [EPREFIX/bin]
1585 --sbindir=DIR system admin executables [EPREFIX/sbin]
1586 --libexecdir=DIR program executables [EPREFIX/libexec]
1587 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1588 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1589 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1590 --libdir=DIR object code libraries [EPREFIX/lib]
1591 --includedir=DIR C header files [PREFIX/include]
1592 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1593 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1594 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1595 --infodir=DIR info documentation [DATAROOTDIR/info]
1596 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1597 --mandir=DIR man documentation [DATAROOTDIR/man]
1598 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1599 --htmldir=DIR html documentation [DOCDIR]
1600 --dvidir=DIR dvi documentation [DOCDIR]
1601 --pdfdir=DIR pdf documentation [DOCDIR]
1602 --psdir=DIR ps documentation [DOCDIR]
1608 --x-includes=DIR X include files are in DIR
1609 --x-libraries=DIR X library files are in DIR
1612 --build=BUILD configure for building on BUILD [guessed]
1613 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1614 --target=TARGET configure for building compilers for TARGET [HOST]
1618 if test -n "$ac_init_help"; then
1619 case $ac_init_help in
1620 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1625 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1626 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1627 --disable-gui don't build GUI parts of the library
1628 --enable-monolithic build wxWidgets as single library
1629 --enable-plugins build parts of wxWidgets as loadable components
1630 --enable-official_build official build of wxWidgets (win32 DLL only)
1631 --enable-vendor=VENDOR vendor name (win32 DLL only)
1632 --disable-all-features disable all optional features to build minimal library
1633 --enable-universal use wxWidgets GUI controls instead of native ones
1634 --enable-nanox use NanoX
1635 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1636 --enable-gpe use GNOME PDA Environment features if possible
1637 --disable-shared create static library instead of shared
1638 --disable-optimise create optimised code
1639 --enable-debug same as debug_flag and debug_info
1640 --enable-stl use STL for containers
1641 --enable-std_iostreams use standard C++ stream classes
1642 --enable-std_string use standard C++ string classes
1643 --disable-unicode compile without Unicode support
1644 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1645 --enable-utf8 use UTF-8 representation for strings (Unix only)
1646 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1647 --enable-extended_rtti use extended RTTI (XTI)
1648 --enable-omf use OMF object format
1649 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1650 --enable-debug_info create code with debugging information
1651 --enable-debug_gdb create code with extra GDB debugging information
1652 --enable-debug_cntxt use wxDebugContext
1653 --enable-mem_tracing create code with memory tracing
1654 --enable-profile create code with profiling information
1655 --enable-no_rtti create code without RTTI information
1656 --enable-no_exceptions create code without C++ exceptions handling
1657 --enable-permissive compile code disregarding strict ANSI
1658 --enable-no_deps create code without dependency information
1659 --disable-vararg_macros don't use vararg macros, even if they are supported
1660 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1661 --enable-compat26 enable wxWidgets 2.6 compatibility
1662 --disable-compat28 disable wxWidgets 2.8 compatibility
1663 --disable-rpath disable use of rpath for uninstalled builds
1664 --enable-objc_uniquifying enable Objective-C class name uniquifying
1665 --disable-visibility disable use of ELF symbols visibility even if supported
1666 --enable-intl use internationalization system
1667 --enable-config use wxConfig (and derived) classes
1668 --enable-protocols use wxProtocol and derived classes
1669 --enable-ftp use wxFTP (requires wxProtocol
1670 --enable-http use wxHTTP (requires wxProtocol
1671 --enable-fileproto use wxFileProto class (requires wxProtocol
1672 --enable-sockets use socket/network classes
1673 --enable-ipv6 enable IPv6 support in wxSocket
1674 --enable-ole use OLE classes (Win32 only)
1675 --enable-dataobj use data object classes
1676 --enable-ipc use interprocess communication (wxSocket etc.)
1677 --enable-baseevtloop use event loop in console programs too
1678 --enable-epollloop use wxEpollDispatcher class (Linux only)
1679 --enable-selectloop use wxSelectDispatcher class
1680 --enable-apple_ieee use the Apple IEEE codec
1681 --enable-arcstream use wxArchive streams
1682 --enable-base64 use base64 encoding/decoding functions
1683 --enable-backtrace use wxStackWalker class for getting backtraces
1684 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1685 --enable-cmdline use wxCmdLineParser class
1686 --enable-datetime use wxDateTime class
1687 --enable-debugreport use wxDebugReport class
1688 --enable-dialupman use dialup network classes
1689 --enable-dynlib use wxLibrary class for DLL loading
1690 --enable-dynamicloader use (new) wxDynamicLibrary class
1691 --enable-exceptions build exception-safe library
1692 --enable-ffile use wxFFile class
1693 --enable-file use wxFile class
1694 --enable-filesystem use virtual file systems classes
1695 --enable-fontenum use wxFontEnumerator class
1696 --enable-fontmap use font encodings conversion classes
1697 --enable-fs_archive use virtual archive filesystems
1698 --enable-fs_inet use virtual HTTP/FTP filesystems
1699 --enable-fs_zip now replaced by fs_archive
1700 --enable-geometry use geometry class
1701 --enable-log use logging system
1702 --enable-longlong use wxLongLong class
1703 --enable-mimetype use wxMimeTypesManager
1704 --enable-snglinst use wxSingleInstanceChecker class
1705 --enable-stdpaths use wxStandardPaths class
1706 --enable-stopwatch use wxStopWatch class
1707 --enable-streams use wxStream etc classes
1708 --enable-sysoptions use wxSystemOptions
1709 --enable-tarstream use wxTar streams
1710 --enable-textbuf use wxTextBuffer class
1711 --enable-textfile use wxTextFile class
1712 --enable-timer use wxTimer class
1713 --enable-sound use wxSound class
1714 --enable-mediactrl use wxMediaCtrl class
1715 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1716 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1717 --enable-zipstream use wxZip streams
1718 --enable-url use wxURL class
1719 --enable-variant use wxVariant class
1720 --enable-protocol use wxProtocol class
1721 --enable-protocol-http HTTP support in wxProtocol
1722 --enable-protocol-ftp FTP support in wxProtocol
1723 --enable-protocol-file FILE support in wxProtocol
1724 --enable-threads use threads
1725 --enable-iniconf use wxIniConfig (Win32 only)
1726 --enable-regkey use wxRegKey class (Win32 only)
1727 --enable-docview use document view architecture
1728 --enable-help use help subsystem
1729 --enable-mshtmlhelp use MS HTML Help (win32)
1730 --enable-html use wxHTML sub-library
1731 --enable-htmlhelp use wxHTML-based help
1732 --enable-xrc use XRC resources sub-library
1733 --enable-aui use AUI docking library
1734 --enable-stc use wxStyledTextCtrl library
1735 --enable-constraints use layout-constraints system
1736 --enable-printarch use printing architecture
1737 --enable-mdi use multiple document interface architecture
1738 --enable-mdidoc use docview architecture with MDI
1739 --enable-loggui use standard GUI logger
1740 --enable-logwin use wxLogWindow
1741 --enable-logdialog use wxLogDialog
1742 --enable-webkit use wxWebKitCtrl (Mac)
1743 --enable-richtext use wxRichTextCtrl
1744 --enable-graphics_ctx use graphics context 2D drawing API
1745 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1746 --enable-svg use wxSVGFileDC device context
1747 --enable-clipboard use wxClipboard class
1748 --enable-dnd use Drag'n'Drop classes
1749 --enable-metafile use win32 metafiles
1750 --disable-controls disable compilation of all standard controls
1751 --enable-accel use accelerators
1752 --enable-animatectrl use wxAnimationCtrl class
1753 --enable-button use wxButton class
1754 --enable-bmpbutton use wxBitmapButton class
1755 --enable-bmpcombobox use wxBitmapComboBox class
1756 --enable-calendar use wxCalendarCtrl class
1757 --enable-caret use wxCaret class
1758 --enable-checkbox use wxCheckBox class
1759 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1760 --enable-choice use wxChoice class
1761 --enable-choicebook use wxChoicebook class
1762 --enable-collpane use wxCollapsiblePane class
1763 --enable-colourpicker use wxColourPickerCtrl class
1764 --enable-combobox use wxComboBox class
1765 --enable-comboctrl use wxComboCtrl class
1766 --enable-datepick use wxDatePickerCtrl class
1767 --enable-dirpicker use wxDirPickerCtrl class
1768 --enable-display use wxDisplay class
1769 --enable-detect_sm use code to detect X11 session manager
1770 --enable-editablebox use wxEditableListBox class
1771 --enable-filepicker use wxFilePickerCtrl class
1772 --enable-filectrl use wxFileCtrl class
1773 --enable-fontpicker use wxFontPickerCtrl class
1774 --enable-gauge use wxGauge class
1775 --enable-grid use wxGrid class
1776 --enable-dataviewctrl use wxDataViewCtrl class
1777 --enable-hyperlink use wxHyperlinkCtrl class
1778 --enable-imaglist use wxImageList class
1779 --enable-listbook use wxListbook class
1780 --enable-listbox use wxListBox class
1781 --enable-listctrl use wxListCtrl class
1782 --enable-notebook use wxNotebook class
1783 --enable-odcombobox use wxOwnerDrawnComboBox class
1784 --enable-radiobox use wxRadioBox class
1785 --enable-radiobtn use wxRadioButton class
1786 --enable-sash use wxSashWindow class
1787 --enable-scrollbar use wxScrollBar class and scrollable windows
1788 --enable-searchctrl use wxSearchCtrl class
1789 --enable-slider use wxSlider class
1790 --enable-spinbtn use wxSpinButton class
1791 --enable-spinctrl use wxSpinCtrl class
1792 --enable-splitter use wxSplitterWindow class
1793 --enable-statbmp use wxStaticBitmap class
1794 --enable-statbox use wxStaticBox class
1795 --enable-statline use wxStaticLine class
1796 --enable-stattext use wxStaticText class
1797 --enable-statusbar use wxStatusBar class
1798 --enable-tabdialog use wxTabControl class
1799 --enable-taskbaricon use wxTaskBarIcon class
1800 --enable-textctrl use wxTextCtrl class
1801 --enable-togglebtn use wxToggleButton class
1802 --enable-toolbar use wxToolBar class
1803 --enable-tbarnative use native wxToolBar class
1804 --enable-treebook use wxTreebook class
1805 --enable-toolbook use wxToolbook class
1806 --enable-treectrl use wxTreeCtrl class
1807 --enable-tipwindow use wxTipWindow class
1808 --enable-popupwin use wxPopUpWindow class
1809 --enable-commondlg use all common dialogs
1810 --enable-aboutdlg use wxAboutBox
1811 --enable-choicedlg use wxChoiceDialog
1812 --enable-coldlg use wxColourDialog
1813 --enable-filedlg use wxFileDialog
1814 --enable-finddlg use wxFindReplaceDialog
1815 --enable-fontdlg use wxFontDialog
1816 --enable-dirdlg use wxDirDialog
1817 --enable-msgdlg use wxMessageDialog
1818 --enable-numberdlg use wxNumberEntryDialog
1819 --enable-splash use wxSplashScreen
1820 --enable-textdlg use wxTextDialog
1821 --enable-tipdlg use startup tips
1822 --enable-progressdlg use wxProgressDialog
1823 --enable-wizarddlg use wxWizard
1824 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1825 --enable-miniframe use wxMiniFrame class
1826 --enable-tooltips use wxToolTip class
1827 --enable-splines use spline drawing code
1828 --enable-mousewheel use mousewheel
1829 --enable-validators use wxValidator and derived classes
1830 --enable-busyinfo use wxBusyInfo
1831 --enable-joystick use wxJoystick
1832 --enable-metafiles use wxMetaFile (Win32 only)
1833 --enable-dragimage use wxDragImage
1834 --enable-accessibility enable accessibility support
1835 --enable-palette use wxPalette class
1836 --enable-image use wxImage class
1837 --enable-gif use gif images (GIF file format)
1838 --enable-pcx use pcx images (PCX file format)
1839 --enable-tga use tga images (TGA file format)
1840 --enable-iff use iff images (IFF file format)
1841 --enable-pnm use pnm images (PNM file format)
1842 --enable-xpm use xpm images (XPM file format)
1843 --enable-icocur use Windows ICO and CUR formats
1844 --enable-dccache cache temporary wxDC objects (Win32 only)
1845 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1846 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1847 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1848 --enable-wxdib use wxDIB class (Win32 only)
1849 --disable-largefile omit support for large files
1850 --disable-gtktest do not try to compile and run a test GTK+ program
1851 --disable-gtktest Do not try to compile and run a test GTK program
1852 --disable-sdltest Do not try to compile and run a test SDL program
1853 --enable-omf use OMF object format (OS/2)
1854 --disable-dependency-tracking
1855 don't use dependency tracking even if the compiler
1857 --disable-precomp-headers
1858 don't use precompiled headers even if compiler can
1861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1863 --without-subdirs don't generate makefiles for samples/demos/...
1864 --with-flavour=NAME specify a name to identify this build
1865 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1866 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1867 --with-motif use Motif/Lesstif
1868 --with-mac use Mac OS X
1869 --with-cocoa use Cocoa
1870 --with-wine use Wine
1871 --with-msw use MS-Windows
1872 --with-pm use OS/2 Presentation Manager
1873 --with-mgl use SciTech MGL
1874 --with-directfb use DirectFB
1875 --with-microwin use MicroWindows
1877 --with-libpng use libpng (PNG image format)
1878 --with-libjpeg use libjpeg (JPEG file format)
1879 --with-libtiff use libtiff (TIFF file format)
1880 --with-libxpm use libxpm (XPM file format)
1881 --with-libmspack use libmspack (CHM help files loading)
1882 --without-gtkprint don't use GTK printing support
1883 --without-gnomeprint don't use GNOME printing libraries
1884 --with-gnomevfs use GNOME VFS for associating MIME types
1885 --with-hildon use Hildon framework for Nokia 770
1886 --with-opengl use OpenGL (or Mesa)
1887 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1888 --with-sdl use SDL for audio on Unix
1889 --with-regex enable support for wxRegEx class
1890 --with-zlib use zlib for LZW compression
1891 --with-expat enable XML support using expat parser
1892 --with-macosx-sdk=PATH use an OS X SDK at PATH
1893 --with-macosx-version-min=VER build binaries which require at least this OS X version
1894 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1895 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1896 --with-x use the X Window System
1897 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1898 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1899 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1900 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1901 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1903 Some influential environment variables:
1904 CC C compiler command
1905 CFLAGS C compiler flags
1906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1907 nonstandard directory <lib dir>
1908 LIBS libraries to pass to the linker, e.g. -l<library>
1909 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1910 you have headers in a nonstandard directory <include dir>
1912 CXX C++ compiler command
1913 CXXFLAGS C++ compiler flags
1914 PKG_CONFIG path to pkg-config utility
1916 C compiler flags for DIRECTFB, overriding pkg-config
1918 linker flags for DIRECTFB, overriding pkg-config
1919 XMKMF Path to xmkmf, Makefile generator for X Window System
1921 C compiler flags for PANGOX, overriding pkg-config
1922 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1924 C compiler flags for PANGOFT2, overriding pkg-config
1926 linker flags for PANGOFT2, overriding pkg-config
1928 C compiler flags for PANGOXFT, overriding pkg-config
1930 linker flags for PANGOXFT, overriding pkg-config
1932 C compiler flags for GTKPRINT, overriding pkg-config
1934 linker flags for GTKPRINT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1942 linker flags for GNOMEVFS, overriding pkg-config
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1952 Use these variables to override the choices made by `configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1983 .) # We are building in place.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_must_keep_next=false
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 -* ) ac_must_keep_next=true ;;
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2147 # The following way of writing the cache mishandles newlines in values,
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2184 for ac_var in $ac_subst_vars
2186 eval ac_val=\$$ac_var
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 echo "$ac_var='\''$ac_val'\''"
2194 if test -n "$ac_subst_files"; then
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2201 for ac_var in $ac_subst_files
2203 eval ac_val=\$$ac_var
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 echo "$ac_var='\''$ac_val'\''"
2212 if test -s confdefs.h; then
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2238 # Predefined preprocessor variables.
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2303 # Check that the precious variables saved in the cache have kept the same
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2392 elif test -f "$ac_dir/install.sh"; then
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2396 elif test -f "$ac_dir/shtool"; then
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2450 ac_save_IFS=$IFS; IFS='-'
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS=$IFS; IFS='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2542 program_prefix=${target_alias}-
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2549 wx_subrelease_number=0
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2558 wx_top_builddir="`pwd`"
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2587 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2612 SAMPLES_RPATH_POSTLINK=
2614 DEFAULT_STD_FLAG=yes
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2622 cat >>confdefs.h <<\_ACEOF
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2631 cat >>confdefs.h <<\_ACEOF
2636 if test "x$TMP" = "xalpha"; then
2638 cat >>confdefs.h <<\_ACEOF
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2648 if test "x$TMP" = "xalpha"; then
2650 cat >>confdefs.h <<\_ACEOF
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 *-*-irix5* | *-*-irix6* )
2660 cat >>confdefs.h <<\_ACEOF
2664 cat >>confdefs.h <<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2674 cat >>confdefs.h <<\_ACEOF
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2682 cat >>confdefs.h <<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2693 cat >>confdefs.h <<\_ACEOF
2697 cat >>confdefs.h <<\_ACEOF
2701 cat >>confdefs.h <<\_ACEOF
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2714 cat >>confdefs.h <<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 *-*-openbsd*|*-*-mirbsd*)
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2727 cat >>confdefs.h <<\_ACEOF
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2740 cat >>confdefs.h <<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 cat >>confdefs.h <<\_ACEOF
2756 cat >>confdefs.h <<\_ACEOF
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 cat >>confdefs.h <<\_ACEOF
2770 cat >>confdefs.h <<\_ACEOF
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 cat >>confdefs.h <<\_ACEOF
2783 cat >>confdefs.h <<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2794 cat >>confdefs.h <<\_ACEOF
2798 cat >>confdefs.h <<\_ACEOF
2802 cat >>confdefs.h <<\_ACEOF
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2819 *-*-cygwin* | *-*-mingw32* )
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2828 cat >>confdefs.h <<\_ACEOF
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2842 cat >>confdefs.h <<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2855 for ac_dir in $PATH; do
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 export PATH="$ac_TEMP_PATH"
2872 cat >>confdefs.h <<\_ACEOF
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 powerpc-apple-macos* )
2889 ac_cv_c_bigendian=yes
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2897 cat >>confdefs.h <<\_ACEOF
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2915 DEFAULT_wxUSE_ALL_FEATURES=yes
2917 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2918 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_DMALLOC=no
2921 DEFAULT_wxUSE_LIBGNOMEVFS=no
2922 DEFAULT_wxUSE_LIBHILDON=no
2923 DEFAULT_wxUSE_LIBMSPACK=no
2924 DEFAULT_wxUSE_LIBSDL=no
2925 DEFAULT_wxUSE_OPENGL=no
2927 DEFAULT_wxUSE_ACCESSIBILITY=no
2928 DEFAULT_wxUSE_DATAVIEWCTRL=no
2929 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2930 DEFAULT_wxUSE_IPV6=no
2931 DEFAULT_wxUSE_MEDIACTRL=no
2932 DEFAULT_wxUSE_TAB_DIALOG=no
2933 DEFAULT_wxUSE_GSTREAMER8=no
2935 DEFAULT_wxUSE_UNICODE_UTF8=auto
2936 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2938 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2940 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2942 DEFAULT_wxUSE_GTK2=yes
2944 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2950 enablestring=disable
2952 if test -z "$defaultval"; then
2953 if test x"$enablestring" = xdisable; then
2960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2961 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2962 # Check whether --enable-gui was given.
2963 if test "${enable_gui+set}" = set; then
2964 enableval=$enable_gui;
2965 if test "$enableval" = yes; then
2966 wx_cv_use_gui='wxUSE_GUI=yes'
2968 wx_cv_use_gui='wxUSE_GUI=no'
2973 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2978 eval "$wx_cv_use_gui"
2980 if test x"$enablestring" = xdisable; then
2981 if test $wxUSE_GUI = yes; then
2990 { echo "$as_me:$LINENO: result: $result" >&5
2991 echo "${ECHO_T}$result" >&6; }
2996 if test -z "$defaultval"; then
2997 if test x"$enablestring" = xdisable; then
3004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3005 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3006 # Check whether --enable-monolithic was given.
3007 if test "${enable_monolithic+set}" = set; then
3008 enableval=$enable_monolithic;
3009 if test "$enableval" = yes; then
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3017 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3022 eval "$wx_cv_use_monolithic"
3024 if test x"$enablestring" = xdisable; then
3025 if test $wxUSE_MONOLITHIC = yes; then
3031 result=$wxUSE_MONOLITHIC
3034 { echo "$as_me:$LINENO: result: $result" >&5
3035 echo "${ECHO_T}$result" >&6; }
3040 if test -z "$defaultval"; then
3041 if test x"$enablestring" = xdisable; then
3048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3049 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3050 # Check whether --enable-plugins was given.
3051 if test "${enable_plugins+set}" = set; then
3052 enableval=$enable_plugins;
3053 if test "$enableval" = yes; then
3054 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3056 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3061 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3066 eval "$wx_cv_use_plugins"
3068 if test x"$enablestring" = xdisable; then
3069 if test $wxUSE_PLUGINS = yes; then
3075 result=$wxUSE_PLUGINS
3078 { echo "$as_me:$LINENO: result: $result" >&5
3079 echo "${ECHO_T}$result" >&6; }
3083 defaultval=$wxUSE_ALL_FEATURES
3084 if test -z "$defaultval"; then
3085 if test x"$withstring" = xwithout; then
3091 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3092 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3094 # Check whether --with-subdirs was given.
3095 if test "${with_subdirs+set}" = set; then
3096 withval=$with_subdirs;
3097 if test "$withval" = yes; then
3098 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3100 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3105 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3110 eval "$wx_cv_use_subdirs"
3112 if test x"$withstring" = xwithout; then
3113 if test $wxWITH_SUBDIRS = yes; then
3119 result=$wxWITH_SUBDIRS
3122 { echo "$as_me:$LINENO: result: $result" >&5
3123 echo "${ECHO_T}$result" >&6; }
3126 # Check whether --with-flavour was given.
3127 if test "${with_flavour+set}" = set; then
3128 withval=$with_flavour; WX_FLAVOUR="$withval"
3134 if test -z "$defaultval"; then
3135 if test x"$enablestring" = xdisable; then
3142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3143 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3144 # Check whether --enable-official_build was given.
3145 if test "${enable_official_build+set}" = set; then
3146 enableval=$enable_official_build;
3147 if test "$enableval" = yes; then
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3155 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3160 eval "$wx_cv_use_official_build"
3162 if test x"$enablestring" = xdisable; then
3163 if test $wxUSE_OFFICIAL_BUILD = yes; then
3169 result=$wxUSE_OFFICIAL_BUILD
3172 { echo "$as_me:$LINENO: result: $result" >&5
3173 echo "${ECHO_T}$result" >&6; }
3175 # Check whether --enable-vendor was given.
3176 if test "${enable_vendor+set}" = set; then
3177 enableval=$enable_vendor; VENDOR="$enableval"
3180 if test "x$VENDOR" = "x"; then
3185 enablestring=disable
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3197 # Check whether --enable-all-features was given.
3198 if test "${enable_all_features+set}" = set; then
3199 enableval=$enable_all_features;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3208 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3213 eval "$wx_cv_use_all_features"
3215 if test x"$enablestring" = xdisable; then
3216 if test $wxUSE_ALL_FEATURES = yes; then
3222 result=$wxUSE_ALL_FEATURES
3225 { echo "$as_me:$LINENO: result: $result" >&5
3226 echo "${ECHO_T}$result" >&6; }
3230 if test "$wxUSE_GUI" = "yes"; then
3235 if test -z "$defaultval"; then
3236 if test x"$enablestring" = xdisable; then
3243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3244 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3245 # Check whether --enable-universal was given.
3246 if test "${enable_universal+set}" = set; then
3247 enableval=$enable_universal;
3248 if test "$enableval" = yes; then
3249 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3256 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3261 eval "$wx_cv_use_universal"
3263 if test x"$enablestring" = xdisable; then
3264 if test $wxUSE_UNIVERSAL = yes; then
3270 result=$wxUSE_UNIVERSAL
3273 { echo "$as_me:$LINENO: result: $result" >&5
3274 echo "${ECHO_T}$result" >&6; }
3276 if test "$wxUSE_UNIVERSAL" = "yes"; then
3278 # Check whether --with-themes was given.
3279 if test "${with_themes+set}" = set; then
3280 withval=$with_themes; wxUNIV_THEMES="$withval"
3286 # Check whether --with-gtk was given.
3287 if test "${with_gtk+set}" = set; then
3288 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3292 # Check whether --with-motif was given.
3293 if test "${with_motif+set}" = set; then
3294 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3298 # Check whether --with-mac was given.
3299 if test "${with_mac+set}" = set; then
3300 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3304 # Check whether --with-cocoa was given.
3305 if test "${with_cocoa+set}" = set; then
3306 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3310 # Check whether --with-wine was given.
3311 if test "${with_wine+set}" = set; then
3312 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3316 # Check whether --with-msw was given.
3317 if test "${with_msw+set}" = set; then
3318 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3322 # Check whether --with-pm was given.
3323 if test "${with_pm+set}" = set; then
3324 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3328 # Check whether --with-mgl was given.
3329 if test "${with_mgl+set}" = set; then
3330 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3334 # Check whether --with-directfb was given.
3335 if test "${with_directfb+set}" = set; then
3336 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3340 # Check whether --with-microwin was given.
3341 if test "${with_microwin+set}" = set; then
3342 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3346 # Check whether --with-x11 was given.
3347 if test "${with_x11+set}" = set; then
3348 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3354 if test -z "$defaultval"; then
3355 if test x"$enablestring" = xdisable; then
3362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3363 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3364 # Check whether --enable-nanox was given.
3365 if test "${enable_nanox+set}" = set; then
3366 enableval=$enable_nanox;
3367 if test "$enableval" = yes; then
3368 wx_cv_use_nanox='wxUSE_NANOX=yes'
3370 wx_cv_use_nanox='wxUSE_NANOX=no'
3375 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3380 eval "$wx_cv_use_nanox"
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_NANOX = yes; then
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3396 # Check whether --enable-gtk2 was given.
3397 if test "${enable_gtk2+set}" = set; then
3398 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3404 if test -z "$defaultval"; then
3405 if test x"$enablestring" = xdisable; then
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3414 # Check whether --enable-gpe was given.
3415 if test "${enable_gpe+set}" = set; then
3416 enableval=$enable_gpe;
3417 if test "$enableval" = yes; then
3418 wx_cv_use_gpe='wxUSE_GPE=yes'
3420 wx_cv_use_gpe='wxUSE_GPE=no'
3425 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3430 eval "$wx_cv_use_gpe"
3432 if test x"$enablestring" = xdisable; then
3433 if test $wxUSE_GPE = yes; then
3442 { echo "$as_me:$LINENO: result: $result" >&5
3443 echo "${ECHO_T}$result" >&6; }
3448 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3449 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3451 # Check whether --with-libpng was given.
3452 if test "${with_libpng+set}" = set; then
3453 withval=$with_libpng;
3454 if test "$withval" = yes; then
3455 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3456 elif test "$withval" = no; then
3457 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3458 elif test "$withval" = sys; then
3459 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3460 elif test "$withval" = builtin; then
3461 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3463 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3464 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3465 { (exit 1); exit 1; }; }
3470 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3475 eval "$wx_cv_use_libpng"
3477 if test "$wxUSE_LIBPNG" = yes; then
3478 { echo "$as_me:$LINENO: result: yes" >&5
3479 echo "${ECHO_T}yes" >&6; }
3480 elif test "$wxUSE_LIBPNG" = no; then
3481 { echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6; }
3483 elif test "$wxUSE_LIBPNG" = sys; then
3484 { echo "$as_me:$LINENO: result: system version" >&5
3485 echo "${ECHO_T}system version" >&6; }
3486 elif test "$wxUSE_LIBPNG" = builtin; then
3487 { echo "$as_me:$LINENO: result: builtin version" >&5
3488 echo "${ECHO_T}builtin version" >&6; }
3490 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3491 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3492 { (exit 1); exit 1; }; }
3496 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3497 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3499 # Check whether --with-libjpeg was given.
3500 if test "${with_libjpeg+set}" = set; then
3501 withval=$with_libjpeg;
3502 if test "$withval" = yes; then
3503 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3504 elif test "$withval" = no; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3506 elif test "$withval" = sys; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3508 elif test "$withval" = builtin; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3511 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3512 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3513 { (exit 1); exit 1; }; }
3518 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3523 eval "$wx_cv_use_libjpeg"
3525 if test "$wxUSE_LIBJPEG" = yes; then
3526 { echo "$as_me:$LINENO: result: yes" >&5
3527 echo "${ECHO_T}yes" >&6; }
3528 elif test "$wxUSE_LIBJPEG" = no; then
3529 { echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6; }
3531 elif test "$wxUSE_LIBJPEG" = sys; then
3532 { echo "$as_me:$LINENO: result: system version" >&5
3533 echo "${ECHO_T}system version" >&6; }
3534 elif test "$wxUSE_LIBJPEG" = builtin; then
3535 { echo "$as_me:$LINENO: result: builtin version" >&5
3536 echo "${ECHO_T}builtin version" >&6; }
3538 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3539 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3540 { (exit 1); exit 1; }; }
3544 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3545 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3547 # Check whether --with-libtiff was given.
3548 if test "${with_libtiff+set}" = set; then
3549 withval=$with_libtiff;
3550 if test "$withval" = yes; then
3551 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3552 elif test "$withval" = no; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3554 elif test "$withval" = sys; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3556 elif test "$withval" = builtin; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3559 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3560 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3561 { (exit 1); exit 1; }; }
3566 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3571 eval "$wx_cv_use_libtiff"
3573 if test "$wxUSE_LIBTIFF" = yes; then
3574 { echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6; }
3576 elif test "$wxUSE_LIBTIFF" = no; then
3577 { echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6; }
3579 elif test "$wxUSE_LIBTIFF" = sys; then
3580 { echo "$as_me:$LINENO: result: system version" >&5
3581 echo "${ECHO_T}system version" >&6; }
3582 elif test "$wxUSE_LIBTIFF" = builtin; then
3583 { echo "$as_me:$LINENO: result: builtin version" >&5
3584 echo "${ECHO_T}builtin version" >&6; }
3586 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3587 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3588 { (exit 1); exit 1; }; }
3592 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3593 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3595 # Check whether --with-libxpm was given.
3596 if test "${with_libxpm+set}" = set; then
3597 withval=$with_libxpm;
3598 if test "$withval" = yes; then
3599 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3600 elif test "$withval" = no; then
3601 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3602 elif test "$withval" = sys; then
3603 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3604 elif test "$withval" = builtin; then
3605 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3614 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3619 eval "$wx_cv_use_libxpm"
3621 if test "$wxUSE_LIBXPM" = yes; then
3622 { echo "$as_me:$LINENO: result: yes" >&5
3623 echo "${ECHO_T}yes" >&6; }
3624 elif test "$wxUSE_LIBXPM" = no; then
3625 { echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6; }
3627 elif test "$wxUSE_LIBXPM" = sys; then
3628 { echo "$as_me:$LINENO: result: system version" >&5
3629 echo "${ECHO_T}system version" >&6; }
3630 elif test "$wxUSE_LIBXPM" = builtin; then
3631 { echo "$as_me:$LINENO: result: builtin version" >&5
3632 echo "${ECHO_T}builtin version" >&6; }
3634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3635 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3636 { (exit 1); exit 1; }; }
3641 defaultval=$wxUSE_ALL_FEATURES
3642 if test -z "$defaultval"; then
3643 if test x"$withstring" = xwithout; then
3649 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3650 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3652 # Check whether --with-libmspack was given.
3653 if test "${with_libmspack+set}" = set; then
3654 withval=$with_libmspack;
3655 if test "$withval" = yes; then
3656 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3663 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3668 eval "$wx_cv_use_libmspack"
3670 if test x"$withstring" = xwithout; then
3671 if test $wxUSE_LIBMSPACK = yes; then
3677 result=$wxUSE_LIBMSPACK
3680 { echo "$as_me:$LINENO: result: $result" >&5
3681 echo "${ECHO_T}$result" >&6; }
3685 defaultval=$wxUSE_ALL_FEATURES
3686 if test -z "$defaultval"; then
3687 if test x"$withstring" = xwithout; then
3693 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3694 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3696 # Check whether --with-gtkprint was given.
3697 if test "${with_gtkprint+set}" = set; then
3698 withval=$with_gtkprint;
3699 if test "$withval" = yes; then
3700 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3707 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3712 eval "$wx_cv_use_gtkprint"
3714 if test x"$withstring" = xwithout; then
3715 if test $wxUSE_GTKPRINT = yes; then
3721 result=$wxUSE_GTKPRINT
3724 { echo "$as_me:$LINENO: result: $result" >&5
3725 echo "${ECHO_T}$result" >&6; }
3729 defaultval=$wxUSE_ALL_FEATURES
3730 if test -z "$defaultval"; then
3731 if test x"$withstring" = xwithout; then
3737 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3738 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3740 # Check whether --with-gnomeprint was given.
3741 if test "${with_gnomeprint+set}" = set; then
3742 withval=$with_gnomeprint;
3743 if test "$withval" = yes; then
3744 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3746 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3751 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3756 eval "$wx_cv_use_gnomeprint"
3758 if test x"$withstring" = xwithout; then
3759 if test $wxUSE_LIBGNOMEPRINT = yes; then
3765 result=$wxUSE_LIBGNOMEPRINT
3768 { echo "$as_me:$LINENO: result: $result" >&5
3769 echo "${ECHO_T}$result" >&6; }
3773 defaultval=$wxUSE_ALL_FEATURES
3774 if test -z "$defaultval"; then
3775 if test x"$withstring" = xwithout; then
3781 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3782 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3784 # Check whether --with-gnomevfs was given.
3785 if test "${with_gnomevfs+set}" = set; then
3786 withval=$with_gnomevfs;
3787 if test "$withval" = yes; then
3788 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3795 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3800 eval "$wx_cv_use_gnomevfs"
3802 if test x"$withstring" = xwithout; then
3803 if test $wxUSE_LIBGNOMEVFS = yes; then
3809 result=$wxUSE_LIBGNOMEVFS
3812 { echo "$as_me:$LINENO: result: $result" >&5
3813 echo "${ECHO_T}$result" >&6; }
3817 defaultval=$wxUSE_ALL_FEATURES
3818 if test -z "$defaultval"; then
3819 if test x"$withstring" = xwithout; then
3825 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3826 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3828 # Check whether --with-hildon was given.
3829 if test "${with_hildon+set}" = set; then
3830 withval=$with_hildon;
3831 if test "$withval" = yes; then
3832 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3839 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3844 eval "$wx_cv_use_hildon"
3846 if test x"$withstring" = xwithout; then
3847 if test $wxUSE_LIBHILDON = yes; then
3853 result=$wxUSE_LIBHILDON
3856 { echo "$as_me:$LINENO: result: $result" >&5
3857 echo "${ECHO_T}$result" >&6; }
3861 defaultval=$wxUSE_ALL_FEATURES
3862 if test -z "$defaultval"; then
3863 if test x"$withstring" = xwithout; then
3869 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3870 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3872 # Check whether --with-opengl was given.
3873 if test "${with_opengl+set}" = set; then
3874 withval=$with_opengl;
3875 if test "$withval" = yes; then
3876 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3878 wx_cv_use_opengl='wxUSE_OPENGL=no'
3883 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3888 eval "$wx_cv_use_opengl"
3890 if test x"$withstring" = xwithout; then
3891 if test $wxUSE_OPENGL = yes; then
3897 result=$wxUSE_OPENGL
3900 { echo "$as_me:$LINENO: result: $result" >&5
3901 echo "${ECHO_T}$result" >&6; }
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3919 # Check whether --with-dmalloc was given.
3920 if test "${with_dmalloc+set}" = set; then
3921 withval=$with_dmalloc;
3922 if test "$withval" = yes; then
3923 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3930 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3935 eval "$wx_cv_use_dmalloc"
3937 if test x"$withstring" = xwithout; then
3938 if test $wxUSE_DMALLOC = yes; then
3944 result=$wxUSE_DMALLOC
3947 { echo "$as_me:$LINENO: result: $result" >&5
3948 echo "${ECHO_T}$result" >&6; }
3952 defaultval=$wxUSE_ALL_FEATURES
3953 if test -z "$defaultval"; then
3954 if test x"$withstring" = xwithout; then
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3963 # Check whether --with-sdl was given.
3964 if test "${with_sdl+set}" = set; then
3966 if test "$withval" = yes; then
3967 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3969 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3974 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3979 eval "$wx_cv_use_sdl"
3981 if test x"$withstring" = xwithout; then
3982 if test $wxUSE_LIBSDL = yes; then
3988 result=$wxUSE_LIBSDL
3991 { echo "$as_me:$LINENO: result: $result" >&5
3992 echo "${ECHO_T}$result" >&6; }
3995 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3996 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
3998 # Check whether --with-regex was given.
3999 if test "${with_regex+set}" = set; then
4000 withval=$with_regex;
4001 if test "$withval" = yes; then
4002 wx_cv_use_regex='wxUSE_REGEX=yes'
4003 elif test "$withval" = no; then
4004 wx_cv_use_regex='wxUSE_REGEX=no'
4005 elif test "$withval" = sys; then
4006 wx_cv_use_regex='wxUSE_REGEX=sys'
4007 elif test "$withval" = builtin; then
4008 wx_cv_use_regex='wxUSE_REGEX=builtin'
4010 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4011 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4012 { (exit 1); exit 1; }; }
4017 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4022 eval "$wx_cv_use_regex"
4024 if test "$wxUSE_REGEX" = yes; then
4025 { echo "$as_me:$LINENO: result: yes" >&5
4026 echo "${ECHO_T}yes" >&6; }
4027 elif test "$wxUSE_REGEX" = no; then
4028 { echo "$as_me:$LINENO: result: no" >&5
4029 echo "${ECHO_T}no" >&6; }
4030 elif test "$wxUSE_REGEX" = sys; then
4031 { echo "$as_me:$LINENO: result: system version" >&5
4032 echo "${ECHO_T}system version" >&6; }
4033 elif test "$wxUSE_REGEX" = builtin; then
4034 { echo "$as_me:$LINENO: result: builtin version" >&5
4035 echo "${ECHO_T}builtin version" >&6; }
4037 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4038 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4039 { (exit 1); exit 1; }; }
4043 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4044 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4046 # Check whether --with-zlib was given.
4047 if test "${with_zlib+set}" = set; then
4049 if test "$withval" = yes; then
4050 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4051 elif test "$withval" = no; then
4052 wx_cv_use_zlib='wxUSE_ZLIB=no'
4053 elif test "$withval" = sys; then
4054 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4055 elif test "$withval" = builtin; then
4056 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4058 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4059 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4060 { (exit 1); exit 1; }; }
4065 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4070 eval "$wx_cv_use_zlib"
4072 if test "$wxUSE_ZLIB" = yes; then
4073 { echo "$as_me:$LINENO: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6; }
4075 elif test "$wxUSE_ZLIB" = no; then
4076 { echo "$as_me:$LINENO: result: no" >&5
4077 echo "${ECHO_T}no" >&6; }
4078 elif test "$wxUSE_ZLIB" = sys; then
4079 { echo "$as_me:$LINENO: result: system version" >&5
4080 echo "${ECHO_T}system version" >&6; }
4081 elif test "$wxUSE_ZLIB" = builtin; then
4082 { echo "$as_me:$LINENO: result: builtin version" >&5
4083 echo "${ECHO_T}builtin version" >&6; }
4085 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4086 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4087 { (exit 1); exit 1; }; }
4091 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4092 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4094 # Check whether --with-expat was given.
4095 if test "${with_expat+set}" = set; then
4096 withval=$with_expat;
4097 if test "$withval" = yes; then
4098 wx_cv_use_expat='wxUSE_EXPAT=yes'
4099 elif test "$withval" = no; then
4100 wx_cv_use_expat='wxUSE_EXPAT=no'
4101 elif test "$withval" = sys; then
4102 wx_cv_use_expat='wxUSE_EXPAT=sys'
4103 elif test "$withval" = builtin; then
4104 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4106 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4107 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4108 { (exit 1); exit 1; }; }
4113 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4118 eval "$wx_cv_use_expat"
4120 if test "$wxUSE_EXPAT" = yes; then
4121 { echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6; }
4123 elif test "$wxUSE_EXPAT" = no; then
4124 { echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6; }
4126 elif test "$wxUSE_EXPAT" = sys; then
4127 { echo "$as_me:$LINENO: result: system version" >&5
4128 echo "${ECHO_T}system version" >&6; }
4129 elif test "$wxUSE_EXPAT" = builtin; then
4130 { echo "$as_me:$LINENO: result: builtin version" >&5
4131 echo "${ECHO_T}builtin version" >&6; }
4133 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4134 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4135 { (exit 1); exit 1; }; }
4139 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4140 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4142 # Check whether --with-macosx-sdk was given.
4143 if test "${with_macosx_sdk+set}" = set; then
4144 withval=$with_macosx_sdk;
4145 wxUSE_MACOSX_SDK=$withval
4146 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4150 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4151 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4153 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4154 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4156 # Check whether --with-macosx-version-min was given.
4157 if test "${with_macosx_version_min+set}" = set; then
4158 withval=$with_macosx_version_min;
4159 wxUSE_MACOSX_VERSION_MIN=$withval
4160 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4164 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4165 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4169 enablestring=disable
4171 if test -z "$defaultval"; then
4172 if test x"$enablestring" = xdisable; then
4179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4181 # Check whether --enable-shared was given.
4182 if test "${enable_shared+set}" = set; then
4183 enableval=$enable_shared;
4184 if test "$enableval" = yes; then
4185 wx_cv_use_shared='wxUSE_SHARED=yes'
4187 wx_cv_use_shared='wxUSE_SHARED=no'
4192 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4197 eval "$wx_cv_use_shared"
4199 if test x"$enablestring" = xdisable; then
4200 if test $wxUSE_SHARED = yes; then
4206 result=$wxUSE_SHARED
4209 { echo "$as_me:$LINENO: result: $result" >&5
4210 echo "${ECHO_T}$result" >&6; }
4213 enablestring=disable
4215 if test -z "$defaultval"; then
4216 if test x"$enablestring" = xdisable; then
4223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4225 # Check whether --enable-optimise was given.
4226 if test "${enable_optimise+set}" = set; then
4227 enableval=$enable_optimise;
4228 if test "$enableval" = yes; then
4229 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4231 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4236 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4241 eval "$wx_cv_use_optimise"
4243 if test x"$enablestring" = xdisable; then
4244 if test $wxUSE_OPTIMISE = yes; then
4250 result=$wxUSE_OPTIMISE
4253 { echo "$as_me:$LINENO: result: $result" >&5
4254 echo "${ECHO_T}$result" >&6; }
4259 if test -z "$defaultval"; then
4260 if test x"$enablestring" = xdisable; then
4267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4269 # Check whether --enable-debug was given.
4270 if test "${enable_debug+set}" = set; then
4271 enableval=$enable_debug;
4272 if test "$enableval" = yes; then
4273 wx_cv_use_debug='wxUSE_DEBUG=yes'
4275 wx_cv_use_debug='wxUSE_DEBUG=no'
4280 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4285 eval "$wx_cv_use_debug"
4287 if test x"$enablestring" = xdisable; then
4288 if test $wxUSE_DEBUG = yes; then
4297 { echo "$as_me:$LINENO: result: $result" >&5
4298 echo "${ECHO_T}$result" >&6; }
4303 if test -z "$defaultval"; then
4304 if test x"$enablestring" = xdisable; then
4311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4313 # Check whether --enable-stl was given.
4314 if test "${enable_stl+set}" = set; then
4315 enableval=$enable_stl;
4316 if test "$enableval" = yes; then
4317 wx_cv_use_stl='wxUSE_STL=yes'
4319 wx_cv_use_stl='wxUSE_STL=no'
4324 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4329 eval "$wx_cv_use_stl"
4331 if test x"$enablestring" = xdisable; then
4332 if test $wxUSE_STL = yes; then
4341 { echo "$as_me:$LINENO: result: $result" >&5
4342 echo "${ECHO_T}$result" >&6; }
4347 if test -z "$defaultval"; then
4348 if test x"$enablestring" = xdisable; then
4355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4357 # Check whether --enable-std_iostreams was given.
4358 if test "${enable_std_iostreams+set}" = set; then
4359 enableval=$enable_std_iostreams;
4360 if test "$enableval" = yes; then
4361 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4368 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4373 eval "$wx_cv_use_std_iostreams"
4375 if test x"$enablestring" = xdisable; then
4376 if test $wxUSE_STD_IOSTREAM = yes; then
4382 result=$wxUSE_STD_IOSTREAM
4385 { echo "$as_me:$LINENO: result: $result" >&5
4386 echo "${ECHO_T}$result" >&6; }
4391 if test -z "$defaultval"; then
4392 if test x"$enablestring" = xdisable; then
4399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4400 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4401 # Check whether --enable-std_string was given.
4402 if test "${enable_std_string+set}" = set; then
4403 enableval=$enable_std_string;
4404 if test "$enableval" = yes; then
4405 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4407 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4412 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4417 eval "$wx_cv_use_std_string"
4419 if test x"$enablestring" = xdisable; then
4420 if test $wxUSE_STD_STRING = yes; then
4426 result=$wxUSE_STD_STRING
4429 { echo "$as_me:$LINENO: result: $result" >&5
4430 echo "${ECHO_T}$result" >&6; }
4433 enablestring=disable
4435 if test -z "$defaultval"; then
4436 if test x"$enablestring" = xdisable; then
4443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4445 # Check whether --enable-unicode was given.
4446 if test "${enable_unicode+set}" = set; then
4447 enableval=$enable_unicode;
4448 if test "$enableval" = yes; then
4449 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4451 wx_cv_use_unicode='wxUSE_UNICODE=no'
4456 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4461 eval "$wx_cv_use_unicode"
4463 if test x"$enablestring" = xdisable; then
4464 if test $wxUSE_UNICODE = yes; then
4470 result=$wxUSE_UNICODE
4473 { echo "$as_me:$LINENO: result: $result" >&5
4474 echo "${ECHO_T}$result" >&6; }
4479 if test -z "$defaultval"; then
4480 if test x"$enablestring" = xdisable; then
4487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4489 # Check whether --enable-mslu was given.
4490 if test "${enable_mslu+set}" = set; then
4491 enableval=$enable_mslu;
4492 if test "$enableval" = yes; then
4493 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4500 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4505 eval "$wx_cv_use_mslu"
4507 if test x"$enablestring" = xdisable; then
4508 if test $wxUSE_UNICODE_MSLU = yes; then
4514 result=$wxUSE_UNICODE_MSLU
4517 { echo "$as_me:$LINENO: result: $result" >&5
4518 echo "${ECHO_T}$result" >&6; }
4522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4524 # Check whether --enable-utf8 was given.
4525 if test "${enable_utf8+set}" = set; then
4526 enableval=$enable_utf8;
4527 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4531 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4536 eval "$wx_cv_use_utf8"
4538 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4539 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4544 if test -z "$defaultval"; then
4545 if test x"$enablestring" = xdisable; then
4552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4554 # Check whether --enable-utf8only was given.
4555 if test "${enable_utf8only+set}" = set; then
4556 enableval=$enable_utf8only;
4557 if test "$enableval" = yes; then
4558 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4565 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4570 eval "$wx_cv_use_utf8only"
4572 if test x"$enablestring" = xdisable; then
4573 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4579 result=$wxUSE_UNICODE_UTF8_LOCALE
4582 { echo "$as_me:$LINENO: result: $result" >&5
4583 echo "${ECHO_T}$result" >&6; }
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4598 # Check whether --enable-extended_rtti was given.
4599 if test "${enable_extended_rtti+set}" = set; then
4600 enableval=$enable_extended_rtti;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4604 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4609 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4614 eval "$wx_cv_use_extended_rtti"
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_EXTENDED_RTTI = yes; then
4623 result=$wxUSE_EXTENDED_RTTI
4626 { echo "$as_me:$LINENO: result: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4629 if test "$USE_OS2" = 1; then
4630 DEFAULT_wxUSE_OMF=no
4634 if test -z "$defaultval"; then
4635 if test x"$enablestring" = xdisable; then
4642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4643 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4644 # Check whether --enable-omf was given.
4645 if test "${enable_omf+set}" = set; then
4646 enableval=$enable_omf;
4647 if test "$enableval" = yes; then
4648 wx_cv_use_omf='wxUSE_OMF=yes'
4650 wx_cv_use_omf='wxUSE_OMF=no'
4655 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4660 eval "$wx_cv_use_omf"
4662 if test x"$enablestring" = xdisable; then
4663 if test $wxUSE_OMF = yes; then
4672 { echo "$as_me:$LINENO: result: $result" >&5
4673 echo "${ECHO_T}$result" >&6; }
4677 if test "$wxUSE_DEBUG" = "yes"; then
4678 DEFAULT_wxUSE_DEBUG_FLAG=yes
4679 DEFAULT_wxUSE_DEBUG_INFO=yes
4681 elif test "$wxUSE_DEBUG" = "no"; then
4682 DEFAULT_wxUSE_DEBUG_FLAG=no
4683 DEFAULT_wxUSE_DEBUG_INFO=no
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4700 # Check whether --enable-debug_flag was given.
4701 if test "${enable_debug_flag+set}" = set; then
4702 enableval=$enable_debug_flag;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4711 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4716 eval "$wx_cv_use_debug_flag"
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_DEBUG_FLAG = yes; then
4725 result=$wxUSE_DEBUG_FLAG
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4744 # Check whether --enable-debug_info was given.
4745 if test "${enable_debug_info+set}" = set; then
4746 enableval=$enable_debug_info;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4750 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4755 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4760 eval "$wx_cv_use_debug_info"
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_DEBUG_INFO = yes; then
4769 result=$wxUSE_DEBUG_INFO
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4778 if test -z "$defaultval"; then
4779 if test x"$enablestring" = xdisable; then
4786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4788 # Check whether --enable-debug_gdb was given.
4789 if test "${enable_debug_gdb+set}" = set; then
4790 enableval=$enable_debug_gdb;
4791 if test "$enableval" = yes; then
4792 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4799 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4804 eval "$wx_cv_use_debug_gdb"
4806 if test x"$enablestring" = xdisable; then
4807 if test $wxUSE_DEBUG_GDB = yes; then
4813 result=$wxUSE_DEBUG_GDB
4816 { echo "$as_me:$LINENO: result: $result" >&5
4817 echo "${ECHO_T}$result" >&6; }
4822 if test -z "$defaultval"; then
4823 if test x"$enablestring" = xdisable; then
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4832 # Check whether --enable-debug_cntxt was given.
4833 if test "${enable_debug_cntxt+set}" = set; then
4834 enableval=$enable_debug_cntxt;
4835 if test "$enableval" = yes; then
4836 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4843 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4848 eval "$wx_cv_use_debug_cntxt"
4850 if test x"$enablestring" = xdisable; then
4851 if test $wxUSE_DEBUG_CONTEXT = yes; then
4857 result=$wxUSE_DEBUG_CONTEXT
4860 { echo "$as_me:$LINENO: result: $result" >&5
4861 echo "${ECHO_T}$result" >&6; }
4866 if test -z "$defaultval"; then
4867 if test x"$enablestring" = xdisable; then
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4876 # Check whether --enable-mem_tracing was given.
4877 if test "${enable_mem_tracing+set}" = set; then
4878 enableval=$enable_mem_tracing;
4879 if test "$enableval" = yes; then
4880 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4882 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4887 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4892 eval "$wx_cv_use_mem_tracing"
4894 if test x"$enablestring" = xdisable; then
4895 if test $wxUSE_MEM_TRACING = yes; then
4901 result=$wxUSE_MEM_TRACING
4904 { echo "$as_me:$LINENO: result: $result" >&5
4905 echo "${ECHO_T}$result" >&6; }
4910 if test -z "$defaultval"; then
4911 if test x"$enablestring" = xdisable; then
4918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4919 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4920 # Check whether --enable-profile was given.
4921 if test "${enable_profile+set}" = set; then
4922 enableval=$enable_profile;
4923 if test "$enableval" = yes; then
4924 wx_cv_use_profile='wxUSE_PROFILE=yes'
4926 wx_cv_use_profile='wxUSE_PROFILE=no'
4931 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4936 eval "$wx_cv_use_profile"
4938 if test x"$enablestring" = xdisable; then
4939 if test $wxUSE_PROFILE = yes; then
4945 result=$wxUSE_PROFILE
4948 { echo "$as_me:$LINENO: result: $result" >&5
4949 echo "${ECHO_T}$result" >&6; }
4954 if test -z "$defaultval"; then
4955 if test x"$enablestring" = xdisable; then
4962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4963 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4964 # Check whether --enable-no_rtti was given.
4965 if test "${enable_no_rtti+set}" = set; then
4966 enableval=$enable_no_rtti;
4967 if test "$enableval" = yes; then
4968 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4975 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4980 eval "$wx_cv_use_no_rtti"
4982 if test x"$enablestring" = xdisable; then
4983 if test $wxUSE_NO_RTTI = yes; then
4989 result=$wxUSE_NO_RTTI
4992 { echo "$as_me:$LINENO: result: $result" >&5
4993 echo "${ECHO_T}$result" >&6; }
4998 if test -z "$defaultval"; then
4999 if test x"$enablestring" = xdisable; then
5006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5008 # Check whether --enable-no_exceptions was given.
5009 if test "${enable_no_exceptions+set}" = set; then
5010 enableval=$enable_no_exceptions;
5011 if test "$enableval" = yes; then
5012 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5014 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5019 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5024 eval "$wx_cv_use_no_exceptions"
5026 if test x"$enablestring" = xdisable; then
5027 if test $wxUSE_NO_EXCEPTIONS = yes; then
5033 result=$wxUSE_NO_EXCEPTIONS
5036 { echo "$as_me:$LINENO: result: $result" >&5
5037 echo "${ECHO_T}$result" >&6; }
5042 if test -z "$defaultval"; then
5043 if test x"$enablestring" = xdisable; then
5050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5052 # Check whether --enable-permissive was given.
5053 if test "${enable_permissive+set}" = set; then
5054 enableval=$enable_permissive;
5055 if test "$enableval" = yes; then
5056 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5063 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5068 eval "$wx_cv_use_permissive"
5070 if test x"$enablestring" = xdisable; then
5071 if test $wxUSE_PERMISSIVE = yes; then
5077 result=$wxUSE_PERMISSIVE
5080 { echo "$as_me:$LINENO: result: $result" >&5
5081 echo "${ECHO_T}$result" >&6; }
5086 if test -z "$defaultval"; then
5087 if test x"$enablestring" = xdisable; then
5094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5095 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5096 # Check whether --enable-no_deps was given.
5097 if test "${enable_no_deps+set}" = set; then
5098 enableval=$enable_no_deps;
5099 if test "$enableval" = yes; then
5100 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5107 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5112 eval "$wx_cv_use_no_deps"
5114 if test x"$enablestring" = xdisable; then
5115 if test $wxUSE_NO_DEPS = yes; then
5121 result=$wxUSE_NO_DEPS
5124 { echo "$as_me:$LINENO: result: $result" >&5
5125 echo "${ECHO_T}$result" >&6; }
5128 enablestring=disable
5130 if test -z "$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5140 # Check whether --enable-vararg_macros was given.
5141 if test "${enable_vararg_macros+set}" = set; then
5142 enableval=$enable_vararg_macros;
5143 if test "$enableval" = yes; then
5144 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5146 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5151 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5156 eval "$wx_cv_use_vararg_macros"
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_VARARG_MACROS = yes; then
5165 result=$wxUSE_VARARG_MACROS
5168 { echo "$as_me:$LINENO: result: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5175 # Check whether --enable-universal_binary was given.
5176 if test "${enable_universal_binary+set}" = set; then
5177 enableval=$enable_universal_binary;
5178 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5182 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5187 eval "$wx_cv_use_universal_binary"
5189 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5190 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5196 if test -z "$defaultval"; then
5197 if test x"$enablestring" = xdisable; then
5204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5206 # Check whether --enable-compat26 was given.
5207 if test "${enable_compat26+set}" = set; then
5208 enableval=$enable_compat26;
5209 if test "$enableval" = yes; then
5210 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5217 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5222 eval "$wx_cv_use_compat26"
5224 if test x"$enablestring" = xdisable; then
5225 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5231 result=$WXWIN_COMPATIBILITY_2_6
5234 { echo "$as_me:$LINENO: result: $result" >&5
5235 echo "${ECHO_T}$result" >&6; }
5238 enablestring=disable
5240 if test -z "$defaultval"; then
5241 if test x"$enablestring" = xdisable; then
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5250 # Check whether --enable-compat28 was given.
5251 if test "${enable_compat28+set}" = set; then
5252 enableval=$enable_compat28;
5253 if test "$enableval" = yes; then
5254 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5261 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5266 eval "$wx_cv_use_compat28"
5268 if test x"$enablestring" = xdisable; then
5269 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5275 result=$WXWIN_COMPATIBILITY_2_8
5278 { echo "$as_me:$LINENO: result: $result" >&5
5279 echo "${ECHO_T}$result" >&6; }
5283 enablestring=disable
5285 if test -z "$defaultval"; then
5286 if test x"$enablestring" = xdisable; then
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5295 # Check whether --enable-rpath was given.
5296 if test "${enable_rpath+set}" = set; then
5297 enableval=$enable_rpath;
5298 if test "$enableval" = yes; then
5299 wx_cv_use_rpath='wxUSE_RPATH=yes'
5301 wx_cv_use_rpath='wxUSE_RPATH=no'
5306 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5311 eval "$wx_cv_use_rpath"
5313 if test x"$enablestring" = xdisable; then
5314 if test $wxUSE_RPATH = yes; then
5323 { echo "$as_me:$LINENO: result: $result" >&5
5324 echo "${ECHO_T}$result" >&6; }
5330 if test -z "$defaultval"; then
5331 if test x"$enablestring" = xdisable; then
5338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5340 # Check whether --enable-objc_uniquifying was given.
5341 if test "${enable_objc_uniquifying+set}" = set; then
5342 enableval=$enable_objc_uniquifying;
5343 if test "$enableval" = yes; then
5344 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5351 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5356 eval "$wx_cv_use_objc_uniquifying"
5358 if test x"$enablestring" = xdisable; then
5359 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5365 result=$wxUSE_OBJC_UNIQUIFYING
5368 { echo "$as_me:$LINENO: result: $result" >&5
5369 echo "${ECHO_T}$result" >&6; }
5373 enablestring=disable
5375 if test -z "$defaultval"; then
5376 if test x"$enablestring" = xdisable; then
5383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5385 # Check whether --enable-visibility was given.
5386 if test "${enable_visibility+set}" = set; then
5387 enableval=$enable_visibility;
5388 if test "$enableval" = yes; then
5389 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5396 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5401 eval "$wx_cv_use_visibility"
5403 if test x"$enablestring" = xdisable; then
5404 if test $wxUSE_VISIBILITY = yes; then
5410 result=$wxUSE_VISIBILITY
5413 { echo "$as_me:$LINENO: result: $result" >&5
5414 echo "${ECHO_T}$result" >&6; }
5420 defaultval=$wxUSE_ALL_FEATURES
5421 if test -z "$defaultval"; then
5422 if test x"$enablestring" = xdisable; then
5429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5431 # Check whether --enable-intl was given.
5432 if test "${enable_intl+set}" = set; then
5433 enableval=$enable_intl;
5434 if test "$enableval" = yes; then
5435 wx_cv_use_intl='wxUSE_INTL=yes'
5437 wx_cv_use_intl='wxUSE_INTL=no'
5442 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5447 eval "$wx_cv_use_intl"
5449 if test x"$enablestring" = xdisable; then
5450 if test $wxUSE_INTL = yes; then
5459 { echo "$as_me:$LINENO: result: $result" >&5
5460 echo "${ECHO_T}$result" >&6; }
5464 defaultval=$wxUSE_ALL_FEATURES
5465 if test -z "$defaultval"; then
5466 if test x"$enablestring" = xdisable; then
5473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5475 # Check whether --enable-config was given.
5476 if test "${enable_config+set}" = set; then
5477 enableval=$enable_config;
5478 if test "$enableval" = yes; then
5479 wx_cv_use_config='wxUSE_CONFIG=yes'
5481 wx_cv_use_config='wxUSE_CONFIG=no'
5486 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5491 eval "$wx_cv_use_config"
5493 if test x"$enablestring" = xdisable; then
5494 if test $wxUSE_CONFIG = yes; then
5500 result=$wxUSE_CONFIG
5503 { echo "$as_me:$LINENO: result: $result" >&5
5504 echo "${ECHO_T}$result" >&6; }
5509 defaultval=$wxUSE_ALL_FEATURES
5510 if test -z "$defaultval"; then
5511 if test x"$enablestring" = xdisable; then
5518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5519 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5520 # Check whether --enable-protocols was given.
5521 if test "${enable_protocols+set}" = set; then
5522 enableval=$enable_protocols;
5523 if test "$enableval" = yes; then
5524 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5531 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5536 eval "$wx_cv_use_protocols"
5538 if test x"$enablestring" = xdisable; then
5539 if test $wxUSE_PROTOCOL = yes; then
5545 result=$wxUSE_PROTOCOL
5548 { echo "$as_me:$LINENO: result: $result" >&5
5549 echo "${ECHO_T}$result" >&6; }
5553 defaultval=$wxUSE_ALL_FEATURES
5554 if test -z "$defaultval"; then
5555 if test x"$enablestring" = xdisable; then
5562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5564 # Check whether --enable-ftp was given.
5565 if test "${enable_ftp+set}" = set; then
5566 enableval=$enable_ftp;
5567 if test "$enableval" = yes; then
5568 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5570 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5575 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5580 eval "$wx_cv_use_ftp"
5582 if test x"$enablestring" = xdisable; then
5583 if test $wxUSE_PROTOCOL_FTP = yes; then
5589 result=$wxUSE_PROTOCOL_FTP
5592 { echo "$as_me:$LINENO: result: $result" >&5
5593 echo "${ECHO_T}$result" >&6; }
5597 defaultval=$wxUSE_ALL_FEATURES
5598 if test -z "$defaultval"; then
5599 if test x"$enablestring" = xdisable; then
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5608 # Check whether --enable-http was given.
5609 if test "${enable_http+set}" = set; then
5610 enableval=$enable_http;
5611 if test "$enableval" = yes; then
5612 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5619 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5624 eval "$wx_cv_use_http"
5626 if test x"$enablestring" = xdisable; then
5627 if test $wxUSE_PROTOCOL_HTTP = yes; then
5633 result=$wxUSE_PROTOCOL_HTTP
5636 { echo "$as_me:$LINENO: result: $result" >&5
5637 echo "${ECHO_T}$result" >&6; }
5641 defaultval=$wxUSE_ALL_FEATURES
5642 if test -z "$defaultval"; then
5643 if test x"$enablestring" = xdisable; then
5650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5651 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5652 # Check whether --enable-fileproto was given.
5653 if test "${enable_fileproto+set}" = set; then
5654 enableval=$enable_fileproto;
5655 if test "$enableval" = yes; then
5656 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5663 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5668 eval "$wx_cv_use_fileproto"
5670 if test x"$enablestring" = xdisable; then
5671 if test $wxUSE_PROTOCOL_FILE = yes; then
5677 result=$wxUSE_PROTOCOL_FILE
5680 { echo "$as_me:$LINENO: result: $result" >&5
5681 echo "${ECHO_T}$result" >&6; }
5685 defaultval=$wxUSE_ALL_FEATURES
5686 if test -z "$defaultval"; then
5687 if test x"$enablestring" = xdisable; then
5694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5695 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5696 # Check whether --enable-sockets was given.
5697 if test "${enable_sockets+set}" = set; then
5698 enableval=$enable_sockets;
5699 if test "$enableval" = yes; then
5700 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5702 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5707 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5712 eval "$wx_cv_use_sockets"
5714 if test x"$enablestring" = xdisable; then
5715 if test $wxUSE_SOCKETS = yes; then
5721 result=$wxUSE_SOCKETS
5724 { echo "$as_me:$LINENO: result: $result" >&5
5725 echo "${ECHO_T}$result" >&6; }
5729 defaultval=$wxUSE_ALL_FEATURES
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5740 # Check whether --enable-ipv6 was given.
5741 if test "${enable_ipv6+set}" = set; then
5742 enableval=$enable_ipv6;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5746 wx_cv_use_ipv6='wxUSE_IPV6=no'
5751 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5756 eval "$wx_cv_use_ipv6"
5758 if test x"$enablestring" = xdisable; then
5759 if test $wxUSE_IPV6 = yes; then
5768 { echo "$as_me:$LINENO: result: $result" >&5
5769 echo "${ECHO_T}$result" >&6; }
5773 defaultval=$wxUSE_ALL_FEATURES
5774 if test -z "$defaultval"; then
5775 if test x"$enablestring" = xdisable; then
5782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5783 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5784 # Check whether --enable-ole was given.
5785 if test "${enable_ole+set}" = set; then
5786 enableval=$enable_ole;
5787 if test "$enableval" = yes; then
5788 wx_cv_use_ole='wxUSE_OLE=yes'
5790 wx_cv_use_ole='wxUSE_OLE=no'
5795 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5800 eval "$wx_cv_use_ole"
5802 if test x"$enablestring" = xdisable; then
5803 if test $wxUSE_OLE = yes; then
5812 { echo "$as_me:$LINENO: result: $result" >&5
5813 echo "${ECHO_T}$result" >&6; }
5817 defaultval=$wxUSE_ALL_FEATURES
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5828 # Check whether --enable-dataobj was given.
5829 if test "${enable_dataobj+set}" = set; then
5830 enableval=$enable_dataobj;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5834 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5839 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5844 eval "$wx_cv_use_dataobj"
5846 if test x"$enablestring" = xdisable; then
5847 if test $wxUSE_DATAOBJ = yes; then
5853 result=$wxUSE_DATAOBJ
5856 { echo "$as_me:$LINENO: result: $result" >&5
5857 echo "${ECHO_T}$result" >&6; }
5862 defaultval=$wxUSE_ALL_FEATURES
5863 if test -z "$defaultval"; then
5864 if test x"$enablestring" = xdisable; then
5871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5872 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5873 # Check whether --enable-ipc was given.
5874 if test "${enable_ipc+set}" = set; then
5875 enableval=$enable_ipc;
5876 if test "$enableval" = yes; then
5877 wx_cv_use_ipc='wxUSE_IPC=yes'
5879 wx_cv_use_ipc='wxUSE_IPC=no'
5884 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5889 eval "$wx_cv_use_ipc"
5891 if test x"$enablestring" = xdisable; then
5892 if test $wxUSE_IPC = yes; then
5901 { echo "$as_me:$LINENO: result: $result" >&5
5902 echo "${ECHO_T}$result" >&6; }
5907 defaultval=$wxUSE_ALL_FEATURES
5908 if test -z "$defaultval"; then
5909 if test x"$enablestring" = xdisable; then
5916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5917 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5918 # Check whether --enable-baseevtloop was given.
5919 if test "${enable_baseevtloop+set}" = set; then
5920 enableval=$enable_baseevtloop;
5921 if test "$enableval" = yes; then
5922 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5929 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5934 eval "$wx_cv_use_baseevtloop"
5936 if test x"$enablestring" = xdisable; then
5937 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5943 result=$wxUSE_CONSOLE_EVENTLOOP
5946 { echo "$as_me:$LINENO: result: $result" >&5
5947 echo "${ECHO_T}$result" >&6; }
5951 defaultval=$wxUSE_ALL_FEATURES
5952 if test -z "$defaultval"; then
5953 if test x"$enablestring" = xdisable; then
5960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5962 # Check whether --enable-epollloop was given.
5963 if test "${enable_epollloop+set}" = set; then
5964 enableval=$enable_epollloop;
5965 if test "$enableval" = yes; then
5966 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5968 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5973 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5978 eval "$wx_cv_use_epollloop"
5980 if test x"$enablestring" = xdisable; then
5981 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5987 result=$wxUSE_EPOLL_DISPATCHER
5990 { echo "$as_me:$LINENO: result: $result" >&5
5991 echo "${ECHO_T}$result" >&6; }
5995 defaultval=$wxUSE_ALL_FEATURES
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6006 # Check whether --enable-selectloop was given.
6007 if test "${enable_selectloop+set}" = set; then
6008 enableval=$enable_selectloop;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6017 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6022 eval "$wx_cv_use_selectloop"
6024 if test x"$enablestring" = xdisable; then
6025 if test $wxUSE_SELECT_DISPATCHER = yes; then
6031 result=$wxUSE_SELECT_DISPATCHER
6034 { echo "$as_me:$LINENO: result: $result" >&5
6035 echo "${ECHO_T}$result" >&6; }
6040 defaultval=$wxUSE_ALL_FEATURES
6041 if test -z "$defaultval"; then
6042 if test x"$enablestring" = xdisable; then
6049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6051 # Check whether --enable-apple_ieee was given.
6052 if test "${enable_apple_ieee+set}" = set; then
6053 enableval=$enable_apple_ieee;
6054 if test "$enableval" = yes; then
6055 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6062 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6067 eval "$wx_cv_use_apple_ieee"
6069 if test x"$enablestring" = xdisable; then
6070 if test $wxUSE_APPLE_IEEE = yes; then
6076 result=$wxUSE_APPLE_IEEE
6079 { echo "$as_me:$LINENO: result: $result" >&5
6080 echo "${ECHO_T}$result" >&6; }
6084 defaultval=$wxUSE_ALL_FEATURES
6085 if test -z "$defaultval"; then
6086 if test x"$enablestring" = xdisable; then
6093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6095 # Check whether --enable-arcstream was given.
6096 if test "${enable_arcstream+set}" = set; then
6097 enableval=$enable_arcstream;
6098 if test "$enableval" = yes; then
6099 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6101 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6106 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6111 eval "$wx_cv_use_arcstream"
6113 if test x"$enablestring" = xdisable; then
6114 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6120 result=$wxUSE_ARCHIVE_STREAMS
6123 { echo "$as_me:$LINENO: result: $result" >&5
6124 echo "${ECHO_T}$result" >&6; }
6128 defaultval=$wxUSE_ALL_FEATURES
6129 if test -z "$defaultval"; then
6130 if test x"$enablestring" = xdisable; then
6137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6139 # Check whether --enable-base64 was given.
6140 if test "${enable_base64+set}" = set; then
6141 enableval=$enable_base64;
6142 if test "$enableval" = yes; then
6143 wx_cv_use_base64='wxUSE_BASE64=yes'
6145 wx_cv_use_base64='wxUSE_BASE64=no'
6150 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6155 eval "$wx_cv_use_base64"
6157 if test x"$enablestring" = xdisable; then
6158 if test $wxUSE_BASE64 = yes; then
6164 result=$wxUSE_BASE64
6167 { echo "$as_me:$LINENO: result: $result" >&5
6168 echo "${ECHO_T}$result" >&6; }
6172 defaultval=$wxUSE_ALL_FEATURES
6173 if test -z "$defaultval"; then
6174 if test x"$enablestring" = xdisable; then
6181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6183 # Check whether --enable-backtrace was given.
6184 if test "${enable_backtrace+set}" = set; then
6185 enableval=$enable_backtrace;
6186 if test "$enableval" = yes; then
6187 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6194 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6199 eval "$wx_cv_use_backtrace"
6201 if test x"$enablestring" = xdisable; then
6202 if test $wxUSE_STACKWALKER = yes; then
6208 result=$wxUSE_STACKWALKER
6211 { echo "$as_me:$LINENO: result: $result" >&5
6212 echo "${ECHO_T}$result" >&6; }
6216 defaultval=$wxUSE_ALL_FEATURES
6217 if test -z "$defaultval"; then
6218 if test x"$enablestring" = xdisable; then
6225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6227 # Check whether --enable-catch_segvs was given.
6228 if test "${enable_catch_segvs+set}" = set; then
6229 enableval=$enable_catch_segvs;
6230 if test "$enableval" = yes; then
6231 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6233 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6238 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6243 eval "$wx_cv_use_catch_segvs"
6245 if test x"$enablestring" = xdisable; then
6246 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6252 result=$wxUSE_ON_FATAL_EXCEPTION
6255 { echo "$as_me:$LINENO: result: $result" >&5
6256 echo "${ECHO_T}$result" >&6; }
6260 defaultval=$wxUSE_ALL_FEATURES
6261 if test -z "$defaultval"; then
6262 if test x"$enablestring" = xdisable; then
6269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6271 # Check whether --enable-cmdline was given.
6272 if test "${enable_cmdline+set}" = set; then
6273 enableval=$enable_cmdline;
6274 if test "$enableval" = yes; then
6275 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6282 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6287 eval "$wx_cv_use_cmdline"
6289 if test x"$enablestring" = xdisable; then
6290 if test $wxUSE_CMDLINE_PARSER = yes; then
6296 result=$wxUSE_CMDLINE_PARSER
6299 { echo "$as_me:$LINENO: result: $result" >&5
6300 echo "${ECHO_T}$result" >&6; }
6304 defaultval=$wxUSE_ALL_FEATURES
6305 if test -z "$defaultval"; then
6306 if test x"$enablestring" = xdisable; then
6313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6315 # Check whether --enable-datetime was given.
6316 if test "${enable_datetime+set}" = set; then
6317 enableval=$enable_datetime;
6318 if test "$enableval" = yes; then
6319 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6321 wx_cv_use_datetime='wxUSE_DATETIME=no'
6326 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6331 eval "$wx_cv_use_datetime"
6333 if test x"$enablestring" = xdisable; then
6334 if test $wxUSE_DATETIME = yes; then
6340 result=$wxUSE_DATETIME
6343 { echo "$as_me:$LINENO: result: $result" >&5
6344 echo "${ECHO_T}$result" >&6; }
6348 defaultval=$wxUSE_ALL_FEATURES
6349 if test -z "$defaultval"; then
6350 if test x"$enablestring" = xdisable; then
6357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6359 # Check whether --enable-debugreport was given.
6360 if test "${enable_debugreport+set}" = set; then
6361 enableval=$enable_debugreport;
6362 if test "$enableval" = yes; then
6363 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6365 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6370 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6375 eval "$wx_cv_use_debugreport"
6377 if test x"$enablestring" = xdisable; then
6378 if test $wxUSE_DEBUGREPORT = yes; then
6384 result=$wxUSE_DEBUGREPORT
6387 { echo "$as_me:$LINENO: result: $result" >&5
6388 echo "${ECHO_T}$result" >&6; }
6392 defaultval=$wxUSE_ALL_FEATURES
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6402 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6403 # Check whether --enable-dialupman was given.
6404 if test "${enable_dialupman+set}" = set; then
6405 enableval=$enable_dialupman;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6414 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6419 eval "$wx_cv_use_dialupman"
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_DIALUP_MANAGER = yes; then
6428 result=$wxUSE_DIALUP_MANAGER
6431 { echo "$as_me:$LINENO: result: $result" >&5
6432 echo "${ECHO_T}$result" >&6; }
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6447 # Check whether --enable-dynlib was given.
6448 if test "${enable_dynlib+set}" = set; then
6449 enableval=$enable_dynlib;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6458 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6463 eval "$wx_cv_use_dynlib"
6465 if test x"$enablestring" = xdisable; then
6466 if test $wxUSE_DYNLIB_CLASS = yes; then
6472 result=$wxUSE_DYNLIB_CLASS
6475 { echo "$as_me:$LINENO: result: $result" >&5
6476 echo "${ECHO_T}$result" >&6; }
6480 defaultval=$wxUSE_ALL_FEATURES
6481 if test -z "$defaultval"; then
6482 if test x"$enablestring" = xdisable; then
6489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6490 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6491 # Check whether --enable-dynamicloader was given.
6492 if test "${enable_dynamicloader+set}" = set; then
6493 enableval=$enable_dynamicloader;
6494 if test "$enableval" = yes; then
6495 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6497 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6502 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6507 eval "$wx_cv_use_dynamicloader"
6509 if test x"$enablestring" = xdisable; then
6510 if test $wxUSE_DYNAMIC_LOADER = yes; then
6516 result=$wxUSE_DYNAMIC_LOADER
6519 { echo "$as_me:$LINENO: result: $result" >&5
6520 echo "${ECHO_T}$result" >&6; }
6524 defaultval=$wxUSE_ALL_FEATURES
6525 if test -z "$defaultval"; then
6526 if test x"$enablestring" = xdisable; then
6533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6534 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6535 # Check whether --enable-exceptions was given.
6536 if test "${enable_exceptions+set}" = set; then
6537 enableval=$enable_exceptions;
6538 if test "$enableval" = yes; then
6539 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6546 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6551 eval "$wx_cv_use_exceptions"
6553 if test x"$enablestring" = xdisable; then
6554 if test $wxUSE_EXCEPTIONS = yes; then
6560 result=$wxUSE_EXCEPTIONS
6563 { echo "$as_me:$LINENO: result: $result" >&5
6564 echo "${ECHO_T}$result" >&6; }
6568 defaultval=$wxUSE_ALL_FEATURES
6569 if test -z "$defaultval"; then
6570 if test x"$enablestring" = xdisable; then
6577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6579 # Check whether --enable-ffile was given.
6580 if test "${enable_ffile+set}" = set; then
6581 enableval=$enable_ffile;
6582 if test "$enableval" = yes; then
6583 wx_cv_use_ffile='wxUSE_FFILE=yes'
6585 wx_cv_use_ffile='wxUSE_FFILE=no'
6590 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6595 eval "$wx_cv_use_ffile"
6597 if test x"$enablestring" = xdisable; then
6598 if test $wxUSE_FFILE = yes; then
6607 { echo "$as_me:$LINENO: result: $result" >&5
6608 echo "${ECHO_T}$result" >&6; }
6612 defaultval=$wxUSE_ALL_FEATURES
6613 if test -z "$defaultval"; then
6614 if test x"$enablestring" = xdisable; then
6621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6623 # Check whether --enable-file was given.
6624 if test "${enable_file+set}" = set; then
6625 enableval=$enable_file;
6626 if test "$enableval" = yes; then
6627 wx_cv_use_file='wxUSE_FILE=yes'
6629 wx_cv_use_file='wxUSE_FILE=no'
6634 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6639 eval "$wx_cv_use_file"
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_FILE = yes; then
6651 { echo "$as_me:$LINENO: result: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6667 # Check whether --enable-filesystem was given.
6668 if test "${enable_filesystem+set}" = set; then
6669 enableval=$enable_filesystem;
6670 if test "$enableval" = yes; then
6671 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6678 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6683 eval "$wx_cv_use_filesystem"
6685 if test x"$enablestring" = xdisable; then
6686 if test $wxUSE_FILESYSTEM = yes; then
6692 result=$wxUSE_FILESYSTEM
6695 { echo "$as_me:$LINENO: result: $result" >&5
6696 echo "${ECHO_T}$result" >&6; }
6700 defaultval=$wxUSE_ALL_FEATURES
6701 if test -z "$defaultval"; then
6702 if test x"$enablestring" = xdisable; then
6709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6711 # Check whether --enable-fontenum was given.
6712 if test "${enable_fontenum+set}" = set; then
6713 enableval=$enable_fontenum;
6714 if test "$enableval" = yes; then
6715 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6722 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6727 eval "$wx_cv_use_fontenum"
6729 if test x"$enablestring" = xdisable; then
6730 if test $wxUSE_FONTENUM = yes; then
6736 result=$wxUSE_FONTENUM
6739 { echo "$as_me:$LINENO: result: $result" >&5
6740 echo "${ECHO_T}$result" >&6; }
6744 defaultval=$wxUSE_ALL_FEATURES
6745 if test -z "$defaultval"; then
6746 if test x"$enablestring" = xdisable; then
6753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6755 # Check whether --enable-fontmap was given.
6756 if test "${enable_fontmap+set}" = set; then
6757 enableval=$enable_fontmap;
6758 if test "$enableval" = yes; then
6759 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6761 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6766 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6771 eval "$wx_cv_use_fontmap"
6773 if test x"$enablestring" = xdisable; then
6774 if test $wxUSE_FONTMAP = yes; then
6780 result=$wxUSE_FONTMAP
6783 { echo "$as_me:$LINENO: result: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6788 defaultval=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x"$enablestring" = xdisable; then
6797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6799 # Check whether --enable-fs_archive was given.
6800 if test "${enable_fs_archive+set}" = set; then
6801 enableval=$enable_fs_archive;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6810 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6815 eval "$wx_cv_use_fs_archive"
6817 if test x"$enablestring" = xdisable; then
6818 if test $wxUSE_FS_ARCHIVE = yes; then
6824 result=$wxUSE_FS_ARCHIVE
6827 { echo "$as_me:$LINENO: result: $result" >&5
6828 echo "${ECHO_T}$result" >&6; }
6832 defaultval=$wxUSE_ALL_FEATURES
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6843 # Check whether --enable-fs_inet was given.
6844 if test "${enable_fs_inet+set}" = set; then
6845 enableval=$enable_fs_inet;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6854 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6859 eval "$wx_cv_use_fs_inet"
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_FS_INET = yes; then
6868 result=$wxUSE_FS_INET
6871 { echo "$as_me:$LINENO: result: $result" >&5
6872 echo "${ECHO_T}$result" >&6; }
6876 defaultval=$wxUSE_ALL_FEATURES
6877 if test -z "$defaultval"; then
6878 if test x"$enablestring" = xdisable; then
6885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6887 # Check whether --enable-fs_zip was given.
6888 if test "${enable_fs_zip+set}" = set; then
6889 enableval=$enable_fs_zip;
6890 if test "$enableval" = yes; then
6891 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6893 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6898 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6903 eval "$wx_cv_use_fs_zip"
6905 if test x"$enablestring" = xdisable; then
6906 if test $wxUSE_FS_ZIP = yes; then
6912 result=$wxUSE_FS_ZIP
6915 { echo "$as_me:$LINENO: result: $result" >&5
6916 echo "${ECHO_T}$result" >&6; }
6920 defaultval=$wxUSE_ALL_FEATURES
6921 if test -z "$defaultval"; then
6922 if test x"$enablestring" = xdisable; then
6929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6931 # Check whether --enable-geometry was given.
6932 if test "${enable_geometry+set}" = set; then
6933 enableval=$enable_geometry;
6934 if test "$enableval" = yes; then
6935 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6937 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6942 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6947 eval "$wx_cv_use_geometry"
6949 if test x"$enablestring" = xdisable; then
6950 if test $wxUSE_GEOMETRY = yes; then
6956 result=$wxUSE_GEOMETRY
6959 { echo "$as_me:$LINENO: result: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6964 defaultval=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6975 # Check whether --enable-log was given.
6976 if test "${enable_log+set}" = set; then
6977 enableval=$enable_log;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_log='wxUSE_LOG=yes'
6981 wx_cv_use_log='wxUSE_LOG=no'
6986 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6991 eval "$wx_cv_use_log"
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_LOG = yes; then
7003 { echo "$as_me:$LINENO: result: $result" >&5
7004 echo "${ECHO_T}$result" >&6; }
7008 defaultval=$wxUSE_ALL_FEATURES
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7019 # Check whether --enable-longlong was given.
7020 if test "${enable_longlong+set}" = set; then
7021 enableval=$enable_longlong;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7025 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7030 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7035 eval "$wx_cv_use_longlong"
7037 if test x"$enablestring" = xdisable; then
7038 if test $wxUSE_LONGLONG = yes; then
7044 result=$wxUSE_LONGLONG
7047 { echo "$as_me:$LINENO: result: $result" >&5
7048 echo "${ECHO_T}$result" >&6; }
7052 defaultval=$wxUSE_ALL_FEATURES
7053 if test -z "$defaultval"; then
7054 if test x"$enablestring" = xdisable; then
7061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7063 # Check whether --enable-mimetype was given.
7064 if test "${enable_mimetype+set}" = set; then
7065 enableval=$enable_mimetype;
7066 if test "$enableval" = yes; then
7067 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7074 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7079 eval "$wx_cv_use_mimetype"
7081 if test x"$enablestring" = xdisable; then
7082 if test $wxUSE_MIMETYPE = yes; then
7088 result=$wxUSE_MIMETYPE
7091 { echo "$as_me:$LINENO: result: $result" >&5
7092 echo "${ECHO_T}$result" >&6; }
7096 defaultval=$wxUSE_ALL_FEATURES
7097 if test -z "$defaultval"; then
7098 if test x"$enablestring" = xdisable; then
7105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7107 # Check whether --enable-snglinst was given.
7108 if test "${enable_snglinst+set}" = set; then
7109 enableval=$enable_snglinst;
7110 if test "$enableval" = yes; then
7111 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7118 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7123 eval "$wx_cv_use_snglinst"
7125 if test x"$enablestring" = xdisable; then
7126 if test $wxUSE_SNGLINST_CHECKER = yes; then
7132 result=$wxUSE_SNGLINST_CHECKER
7135 { echo "$as_me:$LINENO: result: $result" >&5
7136 echo "${ECHO_T}$result" >&6; }
7140 defaultval=$wxUSE_ALL_FEATURES
7141 if test -z "$defaultval"; then
7142 if test x"$enablestring" = xdisable; then
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7151 # Check whether --enable-stdpaths was given.
7152 if test "${enable_stdpaths+set}" = set; then
7153 enableval=$enable_stdpaths;
7154 if test "$enableval" = yes; then
7155 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7157 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7162 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7167 eval "$wx_cv_use_stdpaths"
7169 if test x"$enablestring" = xdisable; then
7170 if test $wxUSE_STDPATHS = yes; then
7176 result=$wxUSE_STDPATHS
7179 { echo "$as_me:$LINENO: result: $result" >&5
7180 echo "${ECHO_T}$result" >&6; }
7184 defaultval=$wxUSE_ALL_FEATURES
7185 if test -z "$defaultval"; then
7186 if test x"$enablestring" = xdisable; then
7193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7194 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7195 # Check whether --enable-stopwatch was given.
7196 if test "${enable_stopwatch+set}" = set; then
7197 enableval=$enable_stopwatch;
7198 if test "$enableval" = yes; then
7199 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7206 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7211 eval "$wx_cv_use_stopwatch"
7213 if test x"$enablestring" = xdisable; then
7214 if test $wxUSE_STOPWATCH = yes; then
7220 result=$wxUSE_STOPWATCH
7223 { echo "$as_me:$LINENO: result: $result" >&5
7224 echo "${ECHO_T}$result" >&6; }
7228 defaultval=$wxUSE_ALL_FEATURES
7229 if test -z "$defaultval"; then
7230 if test x"$enablestring" = xdisable; then
7237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7239 # Check whether --enable-streams was given.
7240 if test "${enable_streams+set}" = set; then
7241 enableval=$enable_streams;
7242 if test "$enableval" = yes; then
7243 wx_cv_use_streams='wxUSE_STREAMS=yes'
7245 wx_cv_use_streams='wxUSE_STREAMS=no'
7250 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7255 eval "$wx_cv_use_streams"
7257 if test x"$enablestring" = xdisable; then
7258 if test $wxUSE_STREAMS = yes; then
7264 result=$wxUSE_STREAMS
7267 { echo "$as_me:$LINENO: result: $result" >&5
7268 echo "${ECHO_T}$result" >&6; }
7272 defaultval=$wxUSE_ALL_FEATURES
7273 if test -z "$defaultval"; then
7274 if test x"$enablestring" = xdisable; then
7281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7282 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7283 # Check whether --enable-system_options was given.
7284 if test "${enable_system_options+set}" = set; then
7285 enableval=$enable_system_options;
7286 if test "$enableval" = yes; then
7287 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7289 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7294 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7299 eval "$wx_cv_use_system_options"
7301 if test x"$enablestring" = xdisable; then
7302 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7308 result=$wxUSE_SYSTEM_OPTIONS
7311 { echo "$as_me:$LINENO: result: $result" >&5
7312 echo "${ECHO_T}$result" >&6; }
7316 defaultval=$wxUSE_ALL_FEATURES
7317 if test -z "$defaultval"; then
7318 if test x"$enablestring" = xdisable; then
7325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7326 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7327 # Check whether --enable-tarstream was given.
7328 if test "${enable_tarstream+set}" = set; then
7329 enableval=$enable_tarstream;
7330 if test "$enableval" = yes; then
7331 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7338 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7343 eval "$wx_cv_use_tarstream"
7345 if test x"$enablestring" = xdisable; then
7346 if test $wxUSE_TARSTREAM = yes; then
7352 result=$wxUSE_TARSTREAM
7355 { echo "$as_me:$LINENO: result: $result" >&5
7356 echo "${ECHO_T}$result" >&6; }
7360 defaultval=$wxUSE_ALL_FEATURES
7361 if test -z "$defaultval"; then
7362 if test x"$enablestring" = xdisable; then
7369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7370 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7371 # Check whether --enable-textbuf was given.
7372 if test "${enable_textbuf+set}" = set; then
7373 enableval=$enable_textbuf;
7374 if test "$enableval" = yes; then
7375 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7382 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7387 eval "$wx_cv_use_textbuf"
7389 if test x"$enablestring" = xdisable; then
7390 if test $wxUSE_TEXTBUFFER = yes; then
7396 result=$wxUSE_TEXTBUFFER
7399 { echo "$as_me:$LINENO: result: $result" >&5
7400 echo "${ECHO_T}$result" >&6; }
7404 defaultval=$wxUSE_ALL_FEATURES
7405 if test -z "$defaultval"; then
7406 if test x"$enablestring" = xdisable; then
7413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7415 # Check whether --enable-textfile was given.
7416 if test "${enable_textfile+set}" = set; then
7417 enableval=$enable_textfile;
7418 if test "$enableval" = yes; then
7419 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7421 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7426 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7431 eval "$wx_cv_use_textfile"
7433 if test x"$enablestring" = xdisable; then
7434 if test $wxUSE_TEXTFILE = yes; then
7440 result=$wxUSE_TEXTFILE
7443 { echo "$as_me:$LINENO: result: $result" >&5
7444 echo "${ECHO_T}$result" >&6; }
7448 defaultval=$wxUSE_ALL_FEATURES
7449 if test -z "$defaultval"; then
7450 if test x"$enablestring" = xdisable; then
7457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7459 # Check whether --enable-timer was given.
7460 if test "${enable_timer+set}" = set; then
7461 enableval=$enable_timer;
7462 if test "$enableval" = yes; then
7463 wx_cv_use_timer='wxUSE_TIMER=yes'
7465 wx_cv_use_timer='wxUSE_TIMER=no'
7470 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7475 eval "$wx_cv_use_timer"
7477 if test x"$enablestring" = xdisable; then
7478 if test $wxUSE_TIMER = yes; then
7487 { echo "$as_me:$LINENO: result: $result" >&5
7488 echo "${ECHO_T}$result" >&6; }
7492 defaultval=$wxUSE_ALL_FEATURES
7493 if test -z "$defaultval"; then
7494 if test x"$enablestring" = xdisable; then
7501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7503 # Check whether --enable-sound was given.
7504 if test "${enable_sound+set}" = set; then
7505 enableval=$enable_sound;
7506 if test "$enableval" = yes; then
7507 wx_cv_use_sound='wxUSE_SOUND=yes'
7509 wx_cv_use_sound='wxUSE_SOUND=no'
7514 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7519 eval "$wx_cv_use_sound"
7521 if test x"$enablestring" = xdisable; then
7522 if test $wxUSE_SOUND = yes; then
7531 { echo "$as_me:$LINENO: result: $result" >&5
7532 echo "${ECHO_T}$result" >&6; }
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7547 # Check whether --enable-mediactrl was given.
7548 if test "${enable_mediactrl+set}" = set; then
7549 enableval=$enable_mediactrl;
7550 if test "$enableval" = yes; then
7551 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7553 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7558 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7563 eval "$wx_cv_use_mediactrl"
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_MEDIACTRL = yes; then
7572 result=$wxUSE_MEDIACTRL
7575 { echo "$as_me:$LINENO: result: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7591 # Check whether --enable-gstreamer8 was given.
7592 if test "${enable_gstreamer8+set}" = set; then
7593 enableval=$enable_gstreamer8;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7602 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7607 eval "$wx_cv_use_gstreamer8"
7609 if test x"$enablestring" = xdisable; then
7610 if test $wxUSE_GSTREAMER8 = yes; then
7616 result=$wxUSE_GSTREAMER8
7619 { echo "$as_me:$LINENO: result: $result" >&5
7620 echo "${ECHO_T}$result" >&6; }
7624 defaultval=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x"$enablestring" = xdisable; then
7633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7635 # Check whether --enable-printfposparam was given.
7636 if test "${enable_printfposparam+set}" = set; then
7637 enableval=$enable_printfposparam;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7646 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7651 eval "$wx_cv_use_printfposparam"
7653 if test x"$enablestring" = xdisable; then
7654 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7660 result=$wxUSE_PRINTF_POS_PARAMS
7663 { echo "$as_me:$LINENO: result: $result" >&5
7664 echo "${ECHO_T}$result" >&6; }
7668 defaultval=$wxUSE_ALL_FEATURES
7669 if test -z "$defaultval"; then
7670 if test x"$enablestring" = xdisable; then
7677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7679 # Check whether --enable-zipstream was given.
7680 if test "${enable_zipstream+set}" = set; then
7681 enableval=$enable_zipstream;
7682 if test "$enableval" = yes; then
7683 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7685 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7690 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7695 eval "$wx_cv_use_zipstream"
7697 if test x"$enablestring" = xdisable; then
7698 if test $wxUSE_ZIPSTREAM = yes; then
7704 result=$wxUSE_ZIPSTREAM
7707 { echo "$as_me:$LINENO: result: $result" >&5
7708 echo "${ECHO_T}$result" >&6; }
7713 defaultval=$wxUSE_ALL_FEATURES
7714 if test -z "$defaultval"; then
7715 if test x"$enablestring" = xdisable; then
7722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7723 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7724 # Check whether --enable-url was given.
7725 if test "${enable_url+set}" = set; then
7726 enableval=$enable_url;
7727 if test "$enableval" = yes; then
7728 wx_cv_use_url='wxUSE_URL=yes'
7730 wx_cv_use_url='wxUSE_URL=no'
7735 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7740 eval "$wx_cv_use_url"
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_URL = yes; then
7752 { echo "$as_me:$LINENO: result: $result" >&5
7753 echo "${ECHO_T}$result" >&6; }
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7768 # Check whether --enable-variant was given.
7769 if test "${enable_variant+set}" = set; then
7770 enableval=$enable_variant;
7771 if test "$enableval" = yes; then
7772 wx_cv_use_variant='wxUSE_VARIANT=yes'
7774 wx_cv_use_variant='wxUSE_VARIANT=no'
7779 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7784 eval "$wx_cv_use_variant"
7786 if test x"$enablestring" = xdisable; then
7787 if test $wxUSE_VARIANT = yes; then
7793 result=$wxUSE_VARIANT
7796 { echo "$as_me:$LINENO: result: $result" >&5
7797 echo "${ECHO_T}$result" >&6; }
7801 defaultval=$wxUSE_ALL_FEATURES
7802 if test -z "$defaultval"; then
7803 if test x"$enablestring" = xdisable; then
7810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7812 # Check whether --enable-protocol was given.
7813 if test "${enable_protocol+set}" = set; then
7814 enableval=$enable_protocol;
7815 if test "$enableval" = yes; then
7816 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7818 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7823 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7828 eval "$wx_cv_use_protocol"
7830 if test x"$enablestring" = xdisable; then
7831 if test $wxUSE_PROTOCOL = yes; then
7837 result=$wxUSE_PROTOCOL
7840 { echo "$as_me:$LINENO: result: $result" >&5
7841 echo "${ECHO_T}$result" >&6; }
7845 defaultval=$wxUSE_ALL_FEATURES
7846 if test -z "$defaultval"; then
7847 if test x"$enablestring" = xdisable; then
7854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7856 # Check whether --enable-protocol_http was given.
7857 if test "${enable_protocol_http+set}" = set; then
7858 enableval=$enable_protocol_http;
7859 if test "$enableval" = yes; then
7860 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7867 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7872 eval "$wx_cv_use_protocol_http"
7874 if test x"$enablestring" = xdisable; then
7875 if test $wxUSE_PROTOCOL_HTTP = yes; then
7881 result=$wxUSE_PROTOCOL_HTTP
7884 { echo "$as_me:$LINENO: result: $result" >&5
7885 echo "${ECHO_T}$result" >&6; }
7889 defaultval=$wxUSE_ALL_FEATURES
7890 if test -z "$defaultval"; then
7891 if test x"$enablestring" = xdisable; then
7898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7899 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7900 # Check whether --enable-protocol_ftp was given.
7901 if test "${enable_protocol_ftp+set}" = set; then
7902 enableval=$enable_protocol_ftp;
7903 if test "$enableval" = yes; then
7904 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7911 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7916 eval "$wx_cv_use_protocol_ftp"
7918 if test x"$enablestring" = xdisable; then
7919 if test $wxUSE_PROTOCOL_FTP = yes; then
7925 result=$wxUSE_PROTOCOL_FTP
7928 { echo "$as_me:$LINENO: result: $result" >&5
7929 echo "${ECHO_T}$result" >&6; }
7933 defaultval=$wxUSE_ALL_FEATURES
7934 if test -z "$defaultval"; then
7935 if test x"$enablestring" = xdisable; then
7942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7943 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7944 # Check whether --enable-protocol_file was given.
7945 if test "${enable_protocol_file+set}" = set; then
7946 enableval=$enable_protocol_file;
7947 if test "$enableval" = yes; then
7948 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7950 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7955 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7960 eval "$wx_cv_use_protocol_file"
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_PROTOCOL_FILE = yes; then
7969 result=$wxUSE_PROTOCOL_FILE
7972 { echo "$as_me:$LINENO: result: $result" >&5
7973 echo "${ECHO_T}$result" >&6; }
7978 defaultval=$wxUSE_ALL_FEATURES
7979 if test -z "$defaultval"; then
7980 if test x"$enablestring" = xdisable; then
7987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7989 # Check whether --enable-threads was given.
7990 if test "${enable_threads+set}" = set; then
7991 enableval=$enable_threads;
7992 if test "$enableval" = yes; then
7993 wx_cv_use_threads='wxUSE_THREADS=yes'
7995 wx_cv_use_threads='wxUSE_THREADS=no'
8000 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8005 eval "$wx_cv_use_threads"
8007 if test x"$enablestring" = xdisable; then
8008 if test $wxUSE_THREADS = yes; then
8014 result=$wxUSE_THREADS
8017 { echo "$as_me:$LINENO: result: $result" >&5
8018 echo "${ECHO_T}$result" >&6; }
8024 if test -z "$defaultval"; then
8025 if test x"$enablestring" = xdisable; then
8032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8034 # Check whether --enable-iniconf was given.
8035 if test "${enable_iniconf+set}" = set; then
8036 enableval=$enable_iniconf;
8037 if test "$enableval" = yes; then
8038 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8040 wx_cv_use_iniconf='wxUSE_INICONF=no'
8045 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8050 eval "$wx_cv_use_iniconf"
8052 if test x"$enablestring" = xdisable; then
8053 if test $wxUSE_INICONF = yes; then
8059 result=$wxUSE_INICONF
8062 { echo "$as_me:$LINENO: result: $result" >&5
8063 echo "${ECHO_T}$result" >&6; }
8067 defaultval=$wxUSE_ALL_FEATURES
8068 if test -z "$defaultval"; then
8069 if test x"$enablestring" = xdisable; then
8076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8078 # Check whether --enable-regkey was given.
8079 if test "${enable_regkey+set}" = set; then
8080 enableval=$enable_regkey;
8081 if test "$enableval" = yes; then
8082 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8084 wx_cv_use_regkey='wxUSE_REGKEY=no'
8089 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8094 eval "$wx_cv_use_regkey"
8096 if test x"$enablestring" = xdisable; then
8097 if test $wxUSE_REGKEY = yes; then
8103 result=$wxUSE_REGKEY
8106 { echo "$as_me:$LINENO: result: $result" >&5
8107 echo "${ECHO_T}$result" >&6; }
8110 if test "$wxUSE_GUI" = "yes"; then
8115 defaultval=$wxUSE_ALL_FEATURES
8116 if test -z "$defaultval"; then
8117 if test x"$enablestring" = xdisable; then
8124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8125 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8126 # Check whether --enable-docview was given.
8127 if test "${enable_docview+set}" = set; then
8128 enableval=$enable_docview;
8129 if test "$enableval" = yes; then
8130 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8137 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8142 eval "$wx_cv_use_docview"
8144 if test x"$enablestring" = xdisable; then
8145 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8151 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8154 { echo "$as_me:$LINENO: result: $result" >&5
8155 echo "${ECHO_T}$result" >&6; }
8159 defaultval=$wxUSE_ALL_FEATURES
8160 if test -z "$defaultval"; then
8161 if test x"$enablestring" = xdisable; then
8168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8170 # Check whether --enable-help was given.
8171 if test "${enable_help+set}" = set; then
8172 enableval=$enable_help;
8173 if test "$enableval" = yes; then
8174 wx_cv_use_help='wxUSE_HELP=yes'
8176 wx_cv_use_help='wxUSE_HELP=no'
8181 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8186 eval "$wx_cv_use_help"
8188 if test x"$enablestring" = xdisable; then
8189 if test $wxUSE_HELP = yes; then
8198 { echo "$as_me:$LINENO: result: $result" >&5
8199 echo "${ECHO_T}$result" >&6; }
8203 defaultval=$wxUSE_ALL_FEATURES
8204 if test -z "$defaultval"; then
8205 if test x"$enablestring" = xdisable; then
8212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8214 # Check whether --enable-mshtmlhelp was given.
8215 if test "${enable_mshtmlhelp+set}" = set; then
8216 enableval=$enable_mshtmlhelp;
8217 if test "$enableval" = yes; then
8218 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8220 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8225 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8230 eval "$wx_cv_use_mshtmlhelp"
8232 if test x"$enablestring" = xdisable; then
8233 if test $wxUSE_MS_HTML_HELP = yes; then
8239 result=$wxUSE_MS_HTML_HELP
8242 { echo "$as_me:$LINENO: result: $result" >&5
8243 echo "${ECHO_T}$result" >&6; }
8247 defaultval=$wxUSE_ALL_FEATURES
8248 if test -z "$defaultval"; then
8249 if test x"$enablestring" = xdisable; then
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8258 # Check whether --enable-html was given.
8259 if test "${enable_html+set}" = set; then
8260 enableval=$enable_html;
8261 if test "$enableval" = yes; then
8262 wx_cv_use_html='wxUSE_HTML=yes'
8264 wx_cv_use_html='wxUSE_HTML=no'
8269 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8274 eval "$wx_cv_use_html"
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_HTML = yes; then
8286 { echo "$as_me:$LINENO: result: $result" >&5
8287 echo "${ECHO_T}$result" >&6; }
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8302 # Check whether --enable-htmlhelp was given.
8303 if test "${enable_htmlhelp+set}" = set; then
8304 enableval=$enable_htmlhelp;
8305 if test "$enableval" = yes; then
8306 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8313 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8318 eval "$wx_cv_use_htmlhelp"
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_WXHTML_HELP = yes; then
8327 result=$wxUSE_WXHTML_HELP
8330 { echo "$as_me:$LINENO: result: $result" >&5
8331 echo "${ECHO_T}$result" >&6; }
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8346 # Check whether --enable-xrc was given.
8347 if test "${enable_xrc+set}" = set; then
8348 enableval=$enable_xrc;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_xrc='wxUSE_XRC=yes'
8352 wx_cv_use_xrc='wxUSE_XRC=no'
8357 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8362 eval "$wx_cv_use_xrc"
8364 if test x"$enablestring" = xdisable; then
8365 if test $wxUSE_XRC = yes; then
8374 { echo "$as_me:$LINENO: result: $result" >&5
8375 echo "${ECHO_T}$result" >&6; }
8379 defaultval=$wxUSE_ALL_FEATURES
8380 if test -z "$defaultval"; then
8381 if test x"$enablestring" = xdisable; then
8388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8390 # Check whether --enable-aui was given.
8391 if test "${enable_aui+set}" = set; then
8392 enableval=$enable_aui;
8393 if test "$enableval" = yes; then
8394 wx_cv_use_aui='wxUSE_AUI=yes'
8396 wx_cv_use_aui='wxUSE_AUI=no'
8401 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8406 eval "$wx_cv_use_aui"
8408 if test x"$enablestring" = xdisable; then
8409 if test $wxUSE_AUI = yes; then
8418 { echo "$as_me:$LINENO: result: $result" >&5
8419 echo "${ECHO_T}$result" >&6; }
8423 defaultval=$wxUSE_ALL_FEATURES
8424 if test -z "$defaultval"; then
8425 if test x"$enablestring" = xdisable; then
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8434 # Check whether --enable-stc was given.
8435 if test "${enable_stc+set}" = set; then
8436 enableval=$enable_stc;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_stc='wxUSE_STC=yes'
8440 wx_cv_use_stc='wxUSE_STC=no'
8445 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8450 eval "$wx_cv_use_stc"
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_STC = yes; then
8462 { echo "$as_me:$LINENO: result: $result" >&5
8463 echo "${ECHO_T}$result" >&6; }
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8478 # Check whether --enable-constraints was given.
8479 if test "${enable_constraints+set}" = set; then
8480 enableval=$enable_constraints;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8484 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8489 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8494 eval "$wx_cv_use_constraints"
8496 if test x"$enablestring" = xdisable; then
8497 if test $wxUSE_CONSTRAINTS = yes; then
8503 result=$wxUSE_CONSTRAINTS
8506 { echo "$as_me:$LINENO: result: $result" >&5
8507 echo "${ECHO_T}$result" >&6; }
8511 defaultval=$wxUSE_ALL_FEATURES
8512 if test -z "$defaultval"; then
8513 if test x"$enablestring" = xdisable; then
8520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8521 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8522 # Check whether --enable-printarch was given.
8523 if test "${enable_printarch+set}" = set; then
8524 enableval=$enable_printarch;
8525 if test "$enableval" = yes; then
8526 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8533 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8538 eval "$wx_cv_use_printarch"
8540 if test x"$enablestring" = xdisable; then
8541 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8547 result=$wxUSE_PRINTING_ARCHITECTURE
8550 { echo "$as_me:$LINENO: result: $result" >&5
8551 echo "${ECHO_T}$result" >&6; }
8555 defaultval=$wxUSE_ALL_FEATURES
8556 if test -z "$defaultval"; then
8557 if test x"$enablestring" = xdisable; then
8564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8566 # Check whether --enable-mdi was given.
8567 if test "${enable_mdi+set}" = set; then
8568 enableval=$enable_mdi;
8569 if test "$enableval" = yes; then
8570 wx_cv_use_mdi='wxUSE_MDI=yes'
8572 wx_cv_use_mdi='wxUSE_MDI=no'
8577 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8582 eval "$wx_cv_use_mdi"
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_MDI = yes; then
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8610 # Check whether --enable-mdidoc was given.
8611 if test "${enable_mdidoc+set}" = set; then
8612 enableval=$enable_mdidoc;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8616 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8621 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8626 eval "$wx_cv_use_mdidoc"
8628 if test x"$enablestring" = xdisable; then
8629 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8635 result=$wxUSE_MDI_ARCHITECTURE
8638 { echo "$as_me:$LINENO: result: $result" >&5
8639 echo "${ECHO_T}$result" >&6; }
8643 defaultval=$wxUSE_ALL_FEATURES
8644 if test -z "$defaultval"; then
8645 if test x"$enablestring" = xdisable; then
8652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8654 # Check whether --enable-loggui was given.
8655 if test "${enable_loggui+set}" = set; then
8656 enableval=$enable_loggui;
8657 if test "$enableval" = yes; then
8658 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8660 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8665 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8670 eval "$wx_cv_use_loggui"
8672 if test x"$enablestring" = xdisable; then
8673 if test $wxUSE_LOGGUI = yes; then
8679 result=$wxUSE_LOGGUI
8682 { echo "$as_me:$LINENO: result: $result" >&5
8683 echo "${ECHO_T}$result" >&6; }
8687 defaultval=$wxUSE_ALL_FEATURES
8688 if test -z "$defaultval"; then
8689 if test x"$enablestring" = xdisable; then
8696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8698 # Check whether --enable-logwin was given.
8699 if test "${enable_logwin+set}" = set; then
8700 enableval=$enable_logwin;
8701 if test "$enableval" = yes; then
8702 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8709 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8714 eval "$wx_cv_use_logwin"
8716 if test x"$enablestring" = xdisable; then
8717 if test $wxUSE_LOGWINDOW = yes; then
8723 result=$wxUSE_LOGWINDOW
8726 { echo "$as_me:$LINENO: result: $result" >&5
8727 echo "${ECHO_T}$result" >&6; }
8731 defaultval=$wxUSE_ALL_FEATURES
8732 if test -z "$defaultval"; then
8733 if test x"$enablestring" = xdisable; then
8740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8741 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8742 # Check whether --enable-logdialog was given.
8743 if test "${enable_logdialog+set}" = set; then
8744 enableval=$enable_logdialog;
8745 if test "$enableval" = yes; then
8746 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8748 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8753 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8758 eval "$wx_cv_use_logdialog"
8760 if test x"$enablestring" = xdisable; then
8761 if test $wxUSE_LOGDIALOG = yes; then
8767 result=$wxUSE_LOGDIALOG
8770 { echo "$as_me:$LINENO: result: $result" >&5
8771 echo "${ECHO_T}$result" >&6; }
8775 defaultval=$wxUSE_ALL_FEATURES
8776 if test -z "$defaultval"; then
8777 if test x"$enablestring" = xdisable; then
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8786 # Check whether --enable-webkit was given.
8787 if test "${enable_webkit+set}" = set; then
8788 enableval=$enable_webkit;
8789 if test "$enableval" = yes; then
8790 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8792 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8797 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8802 eval "$wx_cv_use_webkit"
8804 if test x"$enablestring" = xdisable; then
8805 if test $wxUSE_WEBKIT = yes; then
8811 result=$wxUSE_WEBKIT
8814 { echo "$as_me:$LINENO: result: $result" >&5
8815 echo "${ECHO_T}$result" >&6; }
8819 defaultval=$wxUSE_ALL_FEATURES
8820 if test -z "$defaultval"; then
8821 if test x"$enablestring" = xdisable; then
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8830 # Check whether --enable-richtext was given.
8831 if test "${enable_richtext+set}" = set; then
8832 enableval=$enable_richtext;
8833 if test "$enableval" = yes; then
8834 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8841 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8846 eval "$wx_cv_use_richtext"
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_RICHTEXT = yes; then
8855 result=$wxUSE_RICHTEXT
8858 { echo "$as_me:$LINENO: result: $result" >&5
8859 echo "${ECHO_T}$result" >&6; }
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8874 # Check whether --enable-graphics_ctx was given.
8875 if test "${enable_graphics_ctx+set}" = set; then
8876 enableval=$enable_graphics_ctx;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8880 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8885 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8890 eval "$wx_cv_use_graphics_ctx"
8892 if test x"$enablestring" = xdisable; then
8893 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8899 result=$wxUSE_GRAPHICS_CONTEXT
8902 { echo "$as_me:$LINENO: result: $result" >&5
8903 echo "${ECHO_T}$result" >&6; }
8907 defaultval=$wxUSE_ALL_FEATURES
8908 if test -z "$defaultval"; then
8909 if test x"$enablestring" = xdisable; then
8916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8918 # Check whether --enable-postscript was given.
8919 if test "${enable_postscript+set}" = set; then
8920 enableval=$enable_postscript;
8921 if test "$enableval" = yes; then
8922 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8929 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8934 eval "$wx_cv_use_postscript"
8936 if test x"$enablestring" = xdisable; then
8937 if test $wxUSE_POSTSCRIPT = yes; then
8943 result=$wxUSE_POSTSCRIPT
8946 { echo "$as_me:$LINENO: result: $result" >&5
8947 echo "${ECHO_T}$result" >&6; }
8951 defaultval=$wxUSE_ALL_FEATURES
8952 if test -z "$defaultval"; then
8953 if test x"$enablestring" = xdisable; then
8960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8962 # Check whether --enable-svg was given.
8963 if test "${enable_svg+set}" = set; then
8964 enableval=$enable_svg;
8965 if test "$enableval" = yes; then
8966 wx_cv_use_svg='wxUSE_SVG=yes'
8968 wx_cv_use_svg='wxUSE_SVG=no'
8973 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8978 eval "$wx_cv_use_svg"
8980 if test x"$enablestring" = xdisable; then
8981 if test $wxUSE_SVG = yes; then
8990 { echo "$as_me:$LINENO: result: $result" >&5
8991 echo "${ECHO_T}$result" >&6; }
8997 defaultval=$wxUSE_ALL_FEATURES
8998 if test -z "$defaultval"; then
8999 if test x"$enablestring" = xdisable; then
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9008 # Check whether --enable-clipboard was given.
9009 if test "${enable_clipboard+set}" = set; then
9010 enableval=$enable_clipboard;
9011 if test "$enableval" = yes; then
9012 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9019 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9024 eval "$wx_cv_use_clipboard"
9026 if test x"$enablestring" = xdisable; then
9027 if test $wxUSE_CLIPBOARD = yes; then
9033 result=$wxUSE_CLIPBOARD
9036 { echo "$as_me:$LINENO: result: $result" >&5
9037 echo "${ECHO_T}$result" >&6; }
9041 defaultval=$wxUSE_ALL_FEATURES
9042 if test -z "$defaultval"; then
9043 if test x"$enablestring" = xdisable; then
9050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9051 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9052 # Check whether --enable-dnd was given.
9053 if test "${enable_dnd+set}" = set; then
9054 enableval=$enable_dnd;
9055 if test "$enableval" = yes; then
9056 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9063 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9068 eval "$wx_cv_use_dnd"
9070 if test x"$enablestring" = xdisable; then
9071 if test $wxUSE_DRAG_AND_DROP = yes; then
9077 result=$wxUSE_DRAG_AND_DROP
9080 { echo "$as_me:$LINENO: result: $result" >&5
9081 echo "${ECHO_T}$result" >&6; }
9085 defaultval=$wxUSE_ALL_FEATURES
9086 if test -z "$defaultval"; then
9087 if test x"$enablestring" = xdisable; then
9094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9095 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9096 # Check whether --enable-metafile was given.
9097 if test "${enable_metafile+set}" = set; then
9098 enableval=$enable_metafile;
9099 if test "$enableval" = yes; then
9100 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9102 wx_cv_use_metafile='wxUSE_METAFILE=no'
9107 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9112 eval "$wx_cv_use_metafile"
9114 if test x"$enablestring" = xdisable; then
9115 if test $wxUSE_METAFILE = yes; then
9121 result=$wxUSE_METAFILE
9124 { echo "$as_me:$LINENO: result: $result" >&5
9125 echo "${ECHO_T}$result" >&6; }
9129 DEFAULT_wxUSE_CONTROLS=none
9131 enablestring=disable
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9142 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9143 # Check whether --enable-controls was given.
9144 if test "${enable_controls+set}" = set; then
9145 enableval=$enable_controls;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9149 wx_cv_use_controls='wxUSE_CONTROLS=no'
9154 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9159 eval "$wx_cv_use_controls"
9161 if test x"$enablestring" = xdisable; then
9162 if test $wxUSE_CONTROLS = yes; then
9168 result=$wxUSE_CONTROLS
9171 { echo "$as_me:$LINENO: result: $result" >&5
9172 echo "${ECHO_T}$result" >&6; }
9175 if test "$wxUSE_CONTROLS" = "yes"; then
9176 DEFAULT_wxUSE_ACCEL=yes
9177 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9178 DEFAULT_wxUSE_BMPBUTTON=yes
9179 DEFAULT_wxUSE_BUTTON=yes
9180 DEFAULT_wxUSE_CALCTRL=yes
9181 DEFAULT_wxUSE_CARET=yes
9182 DEFAULT_wxUSE_COMBOBOX=yes
9183 DEFAULT_wxUSE_CHECKBOX=yes
9184 DEFAULT_wxUSE_CHECKLISTBOX=yes
9185 DEFAULT_wxUSE_CHOICE=yes
9186 DEFAULT_wxUSE_CHOICEBOOK=yes
9187 DEFAULT_wxUSE_COLLPANE=yes
9188 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9189 DEFAULT_wxUSE_COMBOBOX=yes
9190 DEFAULT_wxUSE_DATEPICKCTRL=yes
9191 DEFAULT_wxUSE_DISPLAY=yes
9192 DEFAULT_wxUSE_DETECT_SM=yes
9193 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9194 DEFAULT_wxUSE_FILECTRL=yes
9195 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9196 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9197 DEFAULT_wxUSE_GAUGE=yes
9198 DEFAULT_wxUSE_GRID=yes
9199 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9200 DEFAULT_wxUSE_DATAVIEWCTRL=no
9201 DEFAULT_wxUSE_IMAGLIST=yes
9202 DEFAULT_wxUSE_LISTBOOK=yes
9203 DEFAULT_wxUSE_LISTBOX=yes
9204 DEFAULT_wxUSE_LISTCTRL=yes
9205 DEFAULT_wxUSE_NOTEBOOK=yes
9206 DEFAULT_wxUSE_RADIOBOX=yes
9207 DEFAULT_wxUSE_RADIOBTN=yes
9208 DEFAULT_wxUSE_SASH=yes
9209 DEFAULT_wxUSE_SCROLLBAR=yes
9210 DEFAULT_wxUSE_SEARCHCTRL=yes
9211 DEFAULT_wxUSE_SLIDER=yes
9212 DEFAULT_wxUSE_SPINBTN=yes
9213 DEFAULT_wxUSE_SPINCTRL=yes
9214 DEFAULT_wxUSE_SPLITTER=yes
9215 DEFAULT_wxUSE_STATBMP=yes
9216 DEFAULT_wxUSE_STATBOX=yes
9217 DEFAULT_wxUSE_STATLINE=yes
9218 DEFAULT_wxUSE_STATUSBAR=yes
9219 DEFAULT_wxUSE_TAB_DIALOG=yes
9220 DEFAULT_wxUSE_TOGGLEBTN=yes
9221 DEFAULT_wxUSE_TOOLBAR=yes
9222 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9223 DEFAULT_wxUSE_TOOLTIPS=yes
9224 DEFAULT_wxUSE_TREEBOOK=yes
9225 DEFAULT_wxUSE_TOOLBOOK=yes
9226 DEFAULT_wxUSE_TREECTRL=yes
9227 DEFAULT_wxUSE_POPUPWIN=yes
9228 DEFAULT_wxUSE_TIPWINDOW=yes
9229 elif test "$wxUSE_CONTROLS" = "no"; then
9230 DEFAULT_wxUSE_ACCEL=no
9231 DEFAULT_wxUSE_ANIMATIONCTRL=no
9232 DEFAULT_wxUSE_BMPBUTTON=no
9233 DEFAULT_wxUSE_BUTTON=no
9234 DEFAULT_wxUSE_CALCTRL=no
9235 DEFAULT_wxUSE_CARET=no
9236 DEFAULT_wxUSE_COLLPANE=no
9237 DEFAULT_wxUSE_COMBOBOX=no
9238 DEFAULT_wxUSE_CHECKBOX=no
9239 DEFAULT_wxUSE_CHECKLISTBOX=no
9240 DEFAULT_wxUSE_CHOICE=no
9241 DEFAULT_wxUSE_CHOICEBOOK=no
9242 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9243 DEFAULT_wxUSE_COMBOBOX=no
9244 DEFAULT_wxUSE_DATEPICKCTRL=no
9245 DEFAULT_wxUSE_DISPLAY=no
9246 DEFAULT_wxUSE_DETECT_SM=no
9247 DEFAULT_wxUSE_DIRPICKERCTRL=no
9248 DEFAULT_wxUSE_FILECTRL=no
9249 DEFAULT_wxUSE_FILEPICKERCTRL=no
9250 DEFAULT_wxUSE_FONTPICKERCTRL=no
9251 DEFAULT_wxUSE_GAUGE=no
9252 DEFAULT_wxUSE_GRID=no
9253 DEFAULT_wxUSE_HYPERLINKCTRL=no
9254 DEFAULT_wxUSE_DATAVIEWCTRL=no
9255 DEFAULT_wxUSE_IMAGLIST=no
9256 DEFAULT_wxUSE_LISTBOOK=no
9257 DEFAULT_wxUSE_LISTBOX=no
9258 DEFAULT_wxUSE_LISTCTRL=no
9259 DEFAULT_wxUSE_NOTEBOOK=no
9260 DEFAULT_wxUSE_RADIOBOX=no
9261 DEFAULT_wxUSE_RADIOBTN=no
9262 DEFAULT_wxUSE_SASH=no
9263 DEFAULT_wxUSE_SCROLLBAR=no
9264 DEFAULT_wxUSE_SEARCHCTRL=no
9265 DEFAULT_wxUSE_SLIDER=no
9266 DEFAULT_wxUSE_SPINBTN=no
9267 DEFAULT_wxUSE_SPINCTRL=no
9268 DEFAULT_wxUSE_SPLITTER=no
9269 DEFAULT_wxUSE_STATBMP=no
9270 DEFAULT_wxUSE_STATBOX=no
9271 DEFAULT_wxUSE_STATLINE=no
9272 DEFAULT_wxUSE_STATUSBAR=no
9273 DEFAULT_wxUSE_TAB_DIALOG=no
9274 DEFAULT_wxUSE_TOGGLEBTN=no
9275 DEFAULT_wxUSE_TOOLBAR=no
9276 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9277 DEFAULT_wxUSE_TOOLTIPS=no
9278 DEFAULT_wxUSE_TREEBOOK=no
9279 DEFAULT_wxUSE_TOOLBOOK=no
9280 DEFAULT_wxUSE_TREECTRL=no
9281 DEFAULT_wxUSE_POPUPWIN=no
9282 DEFAULT_wxUSE_TIPWINDOW=no
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9298 # Check whether --enable-accel was given.
9299 if test "${enable_accel+set}" = set; then
9300 enableval=$enable_accel;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_accel='wxUSE_ACCEL=yes'
9304 wx_cv_use_accel='wxUSE_ACCEL=no'
9309 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9314 eval "$wx_cv_use_accel"
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_ACCEL = yes; then
9326 { echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9342 # Check whether --enable-animatectrl was given.
9343 if test "${enable_animatectrl+set}" = set; then
9344 enableval=$enable_animatectrl;
9345 if test "$enableval" = yes; then
9346 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9353 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9358 eval "$wx_cv_use_animatectrl"
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_ANIMATIONCTRL = yes; then
9367 result=$wxUSE_ANIMATIONCTRL
9370 { echo "$as_me:$LINENO: result: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9386 # Check whether --enable-button was given.
9387 if test "${enable_button+set}" = set; then
9388 enableval=$enable_button;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_button='wxUSE_BUTTON=yes'
9392 wx_cv_use_button='wxUSE_BUTTON=no'
9397 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9402 eval "$wx_cv_use_button"
9404 if test x"$enablestring" = xdisable; then
9405 if test $wxUSE_BUTTON = yes; then
9411 result=$wxUSE_BUTTON
9414 { echo "$as_me:$LINENO: result: $result" >&5
9415 echo "${ECHO_T}$result" >&6; }
9419 defaultval=$wxUSE_ALL_FEATURES
9420 if test -z "$defaultval"; then
9421 if test x"$enablestring" = xdisable; then
9428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9430 # Check whether --enable-bmpbutton was given.
9431 if test "${enable_bmpbutton+set}" = set; then
9432 enableval=$enable_bmpbutton;
9433 if test "$enableval" = yes; then
9434 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9441 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9446 eval "$wx_cv_use_bmpbutton"
9448 if test x"$enablestring" = xdisable; then
9449 if test $wxUSE_BMPBUTTON = yes; then
9455 result=$wxUSE_BMPBUTTON
9458 { echo "$as_me:$LINENO: result: $result" >&5
9459 echo "${ECHO_T}$result" >&6; }
9463 defaultval=$wxUSE_ALL_FEATURES
9464 if test -z "$defaultval"; then
9465 if test x"$enablestring" = xdisable; then
9472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9474 # Check whether --enable-bmpcombobox was given.
9475 if test "${enable_bmpcombobox+set}" = set; then
9476 enableval=$enable_bmpcombobox;
9477 if test "$enableval" = yes; then
9478 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9485 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9490 eval "$wx_cv_use_bmpcombobox"
9492 if test x"$enablestring" = xdisable; then
9493 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9499 result=$wxUSE_BITMAPCOMBOBOX
9502 { echo "$as_me:$LINENO: result: $result" >&5
9503 echo "${ECHO_T}$result" >&6; }
9507 defaultval=$wxUSE_ALL_FEATURES
9508 if test -z "$defaultval"; then
9509 if test x"$enablestring" = xdisable; then
9516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9518 # Check whether --enable-calendar was given.
9519 if test "${enable_calendar+set}" = set; then
9520 enableval=$enable_calendar;
9521 if test "$enableval" = yes; then
9522 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9524 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9529 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9534 eval "$wx_cv_use_calendar"
9536 if test x"$enablestring" = xdisable; then
9537 if test $wxUSE_CALCTRL = yes; then
9543 result=$wxUSE_CALCTRL
9546 { echo "$as_me:$LINENO: result: $result" >&5
9547 echo "${ECHO_T}$result" >&6; }
9551 defaultval=$wxUSE_ALL_FEATURES
9552 if test -z "$defaultval"; then
9553 if test x"$enablestring" = xdisable; then
9560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9562 # Check whether --enable-caret was given.
9563 if test "${enable_caret+set}" = set; then
9564 enableval=$enable_caret;
9565 if test "$enableval" = yes; then
9566 wx_cv_use_caret='wxUSE_CARET=yes'
9568 wx_cv_use_caret='wxUSE_CARET=no'
9573 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9578 eval "$wx_cv_use_caret"
9580 if test x"$enablestring" = xdisable; then
9581 if test $wxUSE_CARET = yes; then
9590 { echo "$as_me:$LINENO: result: $result" >&5
9591 echo "${ECHO_T}$result" >&6; }
9595 defaultval=$wxUSE_ALL_FEATURES
9596 if test -z "$defaultval"; then
9597 if test x"$enablestring" = xdisable; then
9604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9606 # Check whether --enable-checkbox was given.
9607 if test "${enable_checkbox+set}" = set; then
9608 enableval=$enable_checkbox;
9609 if test "$enableval" = yes; then
9610 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9617 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9622 eval "$wx_cv_use_checkbox"
9624 if test x"$enablestring" = xdisable; then
9625 if test $wxUSE_CHECKBOX = yes; then
9631 result=$wxUSE_CHECKBOX
9634 { echo "$as_me:$LINENO: result: $result" >&5
9635 echo "${ECHO_T}$result" >&6; }
9639 defaultval=$wxUSE_ALL_FEATURES
9640 if test -z "$defaultval"; then
9641 if test x"$enablestring" = xdisable; then
9648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9650 # Check whether --enable-checklst was given.
9651 if test "${enable_checklst+set}" = set; then
9652 enableval=$enable_checklst;
9653 if test "$enableval" = yes; then
9654 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9656 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9661 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9666 eval "$wx_cv_use_checklst"
9668 if test x"$enablestring" = xdisable; then
9669 if test $wxUSE_CHECKLST = yes; then
9675 result=$wxUSE_CHECKLST
9678 { echo "$as_me:$LINENO: result: $result" >&5
9679 echo "${ECHO_T}$result" >&6; }
9683 defaultval=$wxUSE_ALL_FEATURES
9684 if test -z "$defaultval"; then
9685 if test x"$enablestring" = xdisable; then
9692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9694 # Check whether --enable-choice was given.
9695 if test "${enable_choice+set}" = set; then
9696 enableval=$enable_choice;
9697 if test "$enableval" = yes; then
9698 wx_cv_use_choice='wxUSE_CHOICE=yes'
9700 wx_cv_use_choice='wxUSE_CHOICE=no'
9705 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9710 eval "$wx_cv_use_choice"
9712 if test x"$enablestring" = xdisable; then
9713 if test $wxUSE_CHOICE = yes; then
9719 result=$wxUSE_CHOICE
9722 { echo "$as_me:$LINENO: result: $result" >&5
9723 echo "${ECHO_T}$result" >&6; }
9727 defaultval=$wxUSE_ALL_FEATURES
9728 if test -z "$defaultval"; then
9729 if test x"$enablestring" = xdisable; then
9736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9738 # Check whether --enable-choicebook was given.
9739 if test "${enable_choicebook+set}" = set; then
9740 enableval=$enable_choicebook;
9741 if test "$enableval" = yes; then
9742 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9749 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9754 eval "$wx_cv_use_choicebook"
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_CHOICEBOOK = yes; then
9763 result=$wxUSE_CHOICEBOOK
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9782 # Check whether --enable-collpane was given.
9783 if test "${enable_collpane+set}" = set; then
9784 enableval=$enable_collpane;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9788 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9793 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9798 eval "$wx_cv_use_collpane"
9800 if test x"$enablestring" = xdisable; then
9801 if test $wxUSE_COLLPANE = yes; then
9807 result=$wxUSE_COLLPANE
9810 { echo "$as_me:$LINENO: result: $result" >&5
9811 echo "${ECHO_T}$result" >&6; }
9815 defaultval=$wxUSE_ALL_FEATURES
9816 if test -z "$defaultval"; then
9817 if test x"$enablestring" = xdisable; then
9824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9825 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9826 # Check whether --enable-colourpicker was given.
9827 if test "${enable_colourpicker+set}" = set; then
9828 enableval=$enable_colourpicker;
9829 if test "$enableval" = yes; then
9830 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9837 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9842 eval "$wx_cv_use_colourpicker"
9844 if test x"$enablestring" = xdisable; then
9845 if test $wxUSE_COLOURPICKERCTRL = yes; then
9851 result=$wxUSE_COLOURPICKERCTRL
9854 { echo "$as_me:$LINENO: result: $result" >&5
9855 echo "${ECHO_T}$result" >&6; }
9859 defaultval=$wxUSE_ALL_FEATURES
9860 if test -z "$defaultval"; then
9861 if test x"$enablestring" = xdisable; then
9868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9870 # Check whether --enable-combobox was given.
9871 if test "${enable_combobox+set}" = set; then
9872 enableval=$enable_combobox;
9873 if test "$enableval" = yes; then
9874 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9881 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9886 eval "$wx_cv_use_combobox"
9888 if test x"$enablestring" = xdisable; then
9889 if test $wxUSE_COMBOBOX = yes; then
9895 result=$wxUSE_COMBOBOX
9898 { echo "$as_me:$LINENO: result: $result" >&5
9899 echo "${ECHO_T}$result" >&6; }
9903 defaultval=$wxUSE_ALL_FEATURES
9904 if test -z "$defaultval"; then
9905 if test x"$enablestring" = xdisable; then
9912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9913 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9914 # Check whether --enable-comboctrl was given.
9915 if test "${enable_comboctrl+set}" = set; then
9916 enableval=$enable_comboctrl;
9917 if test "$enableval" = yes; then
9918 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9920 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9925 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9930 eval "$wx_cv_use_comboctrl"
9932 if test x"$enablestring" = xdisable; then
9933 if test $wxUSE_COMBOCTRL = yes; then
9939 result=$wxUSE_COMBOCTRL
9942 { echo "$as_me:$LINENO: result: $result" >&5
9943 echo "${ECHO_T}$result" >&6; }
9947 defaultval=$wxUSE_ALL_FEATURES
9948 if test -z "$defaultval"; then
9949 if test x"$enablestring" = xdisable; then
9956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9957 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9958 # Check whether --enable-datepick was given.
9959 if test "${enable_datepick+set}" = set; then
9960 enableval=$enable_datepick;
9961 if test "$enableval" = yes; then
9962 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9969 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9974 eval "$wx_cv_use_datepick"
9976 if test x"$enablestring" = xdisable; then
9977 if test $wxUSE_DATEPICKCTRL = yes; then
9983 result=$wxUSE_DATEPICKCTRL
9986 { echo "$as_me:$LINENO: result: $result" >&5
9987 echo "${ECHO_T}$result" >&6; }
9991 defaultval=$wxUSE_ALL_FEATURES
9992 if test -z "$defaultval"; then
9993 if test x"$enablestring" = xdisable; then
10000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10001 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10002 # Check whether --enable-dirpicker was given.
10003 if test "${enable_dirpicker+set}" = set; then
10004 enableval=$enable_dirpicker;
10005 if test "$enableval" = yes; then
10006 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10013 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10018 eval "$wx_cv_use_dirpicker"
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_DIRPICKERCTRL = yes; then
10027 result=$wxUSE_DIRPICKERCTRL
10030 { echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6; }
10035 defaultval=$wxUSE_ALL_FEATURES
10036 if test -z "$defaultval"; then
10037 if test x"$enablestring" = xdisable; then
10044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10046 # Check whether --enable-display was given.
10047 if test "${enable_display+set}" = set; then
10048 enableval=$enable_display;
10049 if test "$enableval" = yes; then
10050 wx_cv_use_display='wxUSE_DISPLAY=yes'
10052 wx_cv_use_display='wxUSE_DISPLAY=no'
10057 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10062 eval "$wx_cv_use_display"
10064 if test x"$enablestring" = xdisable; then
10065 if test $wxUSE_DISPLAY = yes; then
10071 result=$wxUSE_DISPLAY
10074 { echo "$as_me:$LINENO: result: $result" >&5
10075 echo "${ECHO_T}$result" >&6; }
10079 defaultval=$wxUSE_ALL_FEATURES
10080 if test -z "$defaultval"; then
10081 if test x"$enablestring" = xdisable; then
10088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10089 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10090 # Check whether --enable-detect_sm was given.
10091 if test "${enable_detect_sm+set}" = set; then
10092 enableval=$enable_detect_sm;
10093 if test "$enableval" = yes; then
10094 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10101 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10106 eval "$wx_cv_use_detect_sm"
10108 if test x"$enablestring" = xdisable; then
10109 if test $wxUSE_DETECT_SM = yes; then
10115 result=$wxUSE_DETECT_SM
10118 { echo "$as_me:$LINENO: result: $result" >&5
10119 echo "${ECHO_T}$result" >&6; }
10123 defaultval=$wxUSE_ALL_FEATURES
10124 if test -z "$defaultval"; then
10125 if test x"$enablestring" = xdisable; then
10132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10133 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10134 # Check whether --enable-editablebox was given.
10135 if test "${enable_editablebox+set}" = set; then
10136 enableval=$enable_editablebox;
10137 if test "$enableval" = yes; then
10138 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10145 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10150 eval "$wx_cv_use_editablebox"
10152 if test x"$enablestring" = xdisable; then
10153 if test $wxUSE_EDITABLELISTBOX = yes; then
10159 result=$wxUSE_EDITABLELISTBOX
10162 { echo "$as_me:$LINENO: result: $result" >&5
10163 echo "${ECHO_T}$result" >&6; }
10167 defaultval=$wxUSE_ALL_FEATURES
10168 if test -z "$defaultval"; then
10169 if test x"$enablestring" = xdisable; then
10176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10178 # Check whether --enable-filepicker was given.
10179 if test "${enable_filepicker+set}" = set; then
10180 enableval=$enable_filepicker;
10181 if test "$enableval" = yes; then
10182 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10184 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10189 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10194 eval "$wx_cv_use_filepicker"
10196 if test x"$enablestring" = xdisable; then
10197 if test $wxUSE_FILEPICKERCTRL = yes; then
10203 result=$wxUSE_FILEPICKERCTRL
10206 { echo "$as_me:$LINENO: result: $result" >&5
10207 echo "${ECHO_T}$result" >&6; }
10211 defaultval=$wxUSE_ALL_FEATURES
10212 if test -z "$defaultval"; then
10213 if test x"$enablestring" = xdisable; then
10220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10221 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10222 # Check whether --enable-filectrl was given.
10223 if test "${enable_filectrl+set}" = set; then
10224 enableval=$enable_filectrl;
10225 if test "$enableval" = yes; then
10226 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10228 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10233 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10238 eval "$wx_cv_use_filectrl"
10240 if test x"$enablestring" = xdisable; then
10241 if test $wxUSE_FILECTRL = yes; then
10247 result=$wxUSE_FILECTRL
10250 { echo "$as_me:$LINENO: result: $result" >&5
10251 echo "${ECHO_T}$result" >&6; }
10255 defaultval=$wxUSE_ALL_FEATURES
10256 if test -z "$defaultval"; then
10257 if test x"$enablestring" = xdisable; then
10264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10265 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10266 # Check whether --enable-fontpicker was given.
10267 if test "${enable_fontpicker+set}" = set; then
10268 enableval=$enable_fontpicker;
10269 if test "$enableval" = yes; then
10270 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10277 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10282 eval "$wx_cv_use_fontpicker"
10284 if test x"$enablestring" = xdisable; then
10285 if test $wxUSE_FONTPICKERCTRL = yes; then
10291 result=$wxUSE_FONTPICKERCTRL
10294 { echo "$as_me:$LINENO: result: $result" >&5
10295 echo "${ECHO_T}$result" >&6; }
10299 defaultval=$wxUSE_ALL_FEATURES
10300 if test -z "$defaultval"; then
10301 if test x"$enablestring" = xdisable; then
10308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10310 # Check whether --enable-gauge was given.
10311 if test "${enable_gauge+set}" = set; then
10312 enableval=$enable_gauge;
10313 if test "$enableval" = yes; then
10314 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10316 wx_cv_use_gauge='wxUSE_GAUGE=no'
10321 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10326 eval "$wx_cv_use_gauge"
10328 if test x"$enablestring" = xdisable; then
10329 if test $wxUSE_GAUGE = yes; then
10335 result=$wxUSE_GAUGE
10338 { echo "$as_me:$LINENO: result: $result" >&5
10339 echo "${ECHO_T}$result" >&6; }
10343 defaultval=$wxUSE_ALL_FEATURES
10344 if test -z "$defaultval"; then
10345 if test x"$enablestring" = xdisable; then
10352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10354 # Check whether --enable-grid was given.
10355 if test "${enable_grid+set}" = set; then
10356 enableval=$enable_grid;
10357 if test "$enableval" = yes; then
10358 wx_cv_use_grid='wxUSE_GRID=yes'
10360 wx_cv_use_grid='wxUSE_GRID=no'
10365 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10370 eval "$wx_cv_use_grid"
10372 if test x"$enablestring" = xdisable; then
10373 if test $wxUSE_GRID = yes; then
10382 { echo "$as_me:$LINENO: result: $result" >&5
10383 echo "${ECHO_T}$result" >&6; }
10387 defaultval=$wxUSE_ALL_FEATURES
10388 if test -z "$defaultval"; then
10389 if test x"$enablestring" = xdisable; then
10396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10398 # Check whether --enable-dataviewctrl was given.
10399 if test "${enable_dataviewctrl+set}" = set; then
10400 enableval=$enable_dataviewctrl;
10401 if test "$enableval" = yes; then
10402 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10409 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10414 eval "$wx_cv_use_dataviewctrl"
10416 if test x"$enablestring" = xdisable; then
10417 if test $wxUSE_DATAVIEWCTRL = yes; then
10423 result=$wxUSE_DATAVIEWCTRL
10426 { echo "$as_me:$LINENO: result: $result" >&5
10427 echo "${ECHO_T}$result" >&6; }
10431 defaultval=$wxUSE_ALL_FEATURES
10432 if test -z "$defaultval"; then
10433 if test x"$enablestring" = xdisable; then
10440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10441 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10442 # Check whether --enable-hyperlink was given.
10443 if test "${enable_hyperlink+set}" = set; then
10444 enableval=$enable_hyperlink;
10445 if test "$enableval" = yes; then
10446 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10448 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10453 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10458 eval "$wx_cv_use_hyperlink"
10460 if test x"$enablestring" = xdisable; then
10461 if test $wxUSE_HYPERLINKCTRL = yes; then
10467 result=$wxUSE_HYPERLINKCTRL
10470 { echo "$as_me:$LINENO: result: $result" >&5
10471 echo "${ECHO_T}$result" >&6; }
10475 defaultval=$wxUSE_ALL_FEATURES
10476 if test -z "$defaultval"; then
10477 if test x"$enablestring" = xdisable; then
10484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10486 # Check whether --enable-imaglist was given.
10487 if test "${enable_imaglist+set}" = set; then
10488 enableval=$enable_imaglist;
10489 if test "$enableval" = yes; then
10490 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10497 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10502 eval "$wx_cv_use_imaglist"
10504 if test x"$enablestring" = xdisable; then
10505 if test $wxUSE_IMAGLIST = yes; then
10511 result=$wxUSE_IMAGLIST
10514 { echo "$as_me:$LINENO: result: $result" >&5
10515 echo "${ECHO_T}$result" >&6; }
10519 defaultval=$wxUSE_ALL_FEATURES
10520 if test -z "$defaultval"; then
10521 if test x"$enablestring" = xdisable; then
10528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10529 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10530 # Check whether --enable-listbook was given.
10531 if test "${enable_listbook+set}" = set; then
10532 enableval=$enable_listbook;
10533 if test "$enableval" = yes; then
10534 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10541 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10546 eval "$wx_cv_use_listbook"
10548 if test x"$enablestring" = xdisable; then
10549 if test $wxUSE_LISTBOOK = yes; then
10555 result=$wxUSE_LISTBOOK
10558 { echo "$as_me:$LINENO: result: $result" >&5
10559 echo "${ECHO_T}$result" >&6; }
10563 defaultval=$wxUSE_ALL_FEATURES
10564 if test -z "$defaultval"; then
10565 if test x"$enablestring" = xdisable; then
10572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10573 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10574 # Check whether --enable-listbox was given.
10575 if test "${enable_listbox+set}" = set; then
10576 enableval=$enable_listbox;
10577 if test "$enableval" = yes; then
10578 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10580 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10585 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10590 eval "$wx_cv_use_listbox"
10592 if test x"$enablestring" = xdisable; then
10593 if test $wxUSE_LISTBOX = yes; then
10599 result=$wxUSE_LISTBOX
10602 { echo "$as_me:$LINENO: result: $result" >&5
10603 echo "${ECHO_T}$result" >&6; }
10607 defaultval=$wxUSE_ALL_FEATURES
10608 if test -z "$defaultval"; then
10609 if test x"$enablestring" = xdisable; then
10616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10617 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10618 # Check whether --enable-listctrl was given.
10619 if test "${enable_listctrl+set}" = set; then
10620 enableval=$enable_listctrl;
10621 if test "$enableval" = yes; then
10622 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10629 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10634 eval "$wx_cv_use_listctrl"
10636 if test x"$enablestring" = xdisable; then
10637 if test $wxUSE_LISTCTRL = yes; then
10643 result=$wxUSE_LISTCTRL
10646 { echo "$as_me:$LINENO: result: $result" >&5
10647 echo "${ECHO_T}$result" >&6; }
10651 defaultval=$wxUSE_ALL_FEATURES
10652 if test -z "$defaultval"; then
10653 if test x"$enablestring" = xdisable; then
10660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10662 # Check whether --enable-notebook was given.
10663 if test "${enable_notebook+set}" = set; then
10664 enableval=$enable_notebook;
10665 if test "$enableval" = yes; then
10666 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10673 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10678 eval "$wx_cv_use_notebook"
10680 if test x"$enablestring" = xdisable; then
10681 if test $wxUSE_NOTEBOOK = yes; then
10687 result=$wxUSE_NOTEBOOK
10690 { echo "$as_me:$LINENO: result: $result" >&5
10691 echo "${ECHO_T}$result" >&6; }
10695 defaultval=$wxUSE_ALL_FEATURES
10696 if test -z "$defaultval"; then
10697 if test x"$enablestring" = xdisable; then
10704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10706 # Check whether --enable-odcombobox was given.
10707 if test "${enable_odcombobox+set}" = set; then
10708 enableval=$enable_odcombobox;
10709 if test "$enableval" = yes; then
10710 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10712 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10717 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10722 eval "$wx_cv_use_odcombobox"
10724 if test x"$enablestring" = xdisable; then
10725 if test $wxUSE_ODCOMBOBOX = yes; then
10731 result=$wxUSE_ODCOMBOBOX
10734 { echo "$as_me:$LINENO: result: $result" >&5
10735 echo "${ECHO_T}$result" >&6; }
10739 defaultval=$wxUSE_ALL_FEATURES
10740 if test -z "$defaultval"; then
10741 if test x"$enablestring" = xdisable; then
10748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10749 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10750 # Check whether --enable-radiobox was given.
10751 if test "${enable_radiobox+set}" = set; then
10752 enableval=$enable_radiobox;
10753 if test "$enableval" = yes; then
10754 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10756 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10761 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10766 eval "$wx_cv_use_radiobox"
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_RADIOBOX = yes; then
10775 result=$wxUSE_RADIOBOX
10778 { echo "$as_me:$LINENO: result: $result" >&5
10779 echo "${ECHO_T}$result" >&6; }
10783 defaultval=$wxUSE_ALL_FEATURES
10784 if test -z "$defaultval"; then
10785 if test x"$enablestring" = xdisable; then
10792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10794 # Check whether --enable-radiobtn was given.
10795 if test "${enable_radiobtn+set}" = set; then
10796 enableval=$enable_radiobtn;
10797 if test "$enableval" = yes; then
10798 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10800 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10805 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10810 eval "$wx_cv_use_radiobtn"
10812 if test x"$enablestring" = xdisable; then
10813 if test $wxUSE_RADIOBTN = yes; then
10819 result=$wxUSE_RADIOBTN
10822 { echo "$as_me:$LINENO: result: $result" >&5
10823 echo "${ECHO_T}$result" >&6; }
10827 defaultval=$wxUSE_ALL_FEATURES
10828 if test -z "$defaultval"; then
10829 if test x"$enablestring" = xdisable; then
10836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10837 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10838 # Check whether --enable-sash was given.
10839 if test "${enable_sash+set}" = set; then
10840 enableval=$enable_sash;
10841 if test "$enableval" = yes; then
10842 wx_cv_use_sash='wxUSE_SASH=yes'
10844 wx_cv_use_sash='wxUSE_SASH=no'
10849 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10854 eval "$wx_cv_use_sash"
10856 if test x"$enablestring" = xdisable; then
10857 if test $wxUSE_SASH = yes; then
10866 { echo "$as_me:$LINENO: result: $result" >&5
10867 echo "${ECHO_T}$result" >&6; }
10871 defaultval=$wxUSE_ALL_FEATURES
10872 if test -z "$defaultval"; then
10873 if test x"$enablestring" = xdisable; then
10880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10881 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10882 # Check whether --enable-scrollbar was given.
10883 if test "${enable_scrollbar+set}" = set; then
10884 enableval=$enable_scrollbar;
10885 if test "$enableval" = yes; then
10886 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10888 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10893 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10898 eval "$wx_cv_use_scrollbar"
10900 if test x"$enablestring" = xdisable; then
10901 if test $wxUSE_SCROLLBAR = yes; then
10907 result=$wxUSE_SCROLLBAR
10910 { echo "$as_me:$LINENO: result: $result" >&5
10911 echo "${ECHO_T}$result" >&6; }
10915 defaultval=$wxUSE_ALL_FEATURES
10916 if test -z "$defaultval"; then
10917 if test x"$enablestring" = xdisable; then
10924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10925 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10926 # Check whether --enable-searchctrl was given.
10927 if test "${enable_searchctrl+set}" = set; then
10928 enableval=$enable_searchctrl;
10929 if test "$enableval" = yes; then
10930 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10932 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10937 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10942 eval "$wx_cv_use_searchctrl"
10944 if test x"$enablestring" = xdisable; then
10945 if test $wxUSE_SEARCHCTRL = yes; then
10951 result=$wxUSE_SEARCHCTRL
10954 { echo "$as_me:$LINENO: result: $result" >&5
10955 echo "${ECHO_T}$result" >&6; }
10959 defaultval=$wxUSE_ALL_FEATURES
10960 if test -z "$defaultval"; then
10961 if test x"$enablestring" = xdisable; then
10968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10969 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10970 # Check whether --enable-slider was given.
10971 if test "${enable_slider+set}" = set; then
10972 enableval=$enable_slider;
10973 if test "$enableval" = yes; then
10974 wx_cv_use_slider='wxUSE_SLIDER=yes'
10976 wx_cv_use_slider='wxUSE_SLIDER=no'
10981 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
10986 eval "$wx_cv_use_slider"
10988 if test x"$enablestring" = xdisable; then
10989 if test $wxUSE_SLIDER = yes; then
10995 result=$wxUSE_SLIDER
10998 { echo "$as_me:$LINENO: result: $result" >&5
10999 echo "${ECHO_T}$result" >&6; }
11003 defaultval=$wxUSE_ALL_FEATURES
11004 if test -z "$defaultval"; then
11005 if test x"$enablestring" = xdisable; then
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11014 # Check whether --enable-spinbtn was given.
11015 if test "${enable_spinbtn+set}" = set; then
11016 enableval=$enable_spinbtn;
11017 if test "$enableval" = yes; then
11018 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11020 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11025 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11030 eval "$wx_cv_use_spinbtn"
11032 if test x"$enablestring" = xdisable; then
11033 if test $wxUSE_SPINBTN = yes; then
11039 result=$wxUSE_SPINBTN
11042 { echo "$as_me:$LINENO: result: $result" >&5
11043 echo "${ECHO_T}$result" >&6; }
11047 defaultval=$wxUSE_ALL_FEATURES
11048 if test -z "$defaultval"; then
11049 if test x"$enablestring" = xdisable; then
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11058 # Check whether --enable-spinctrl was given.
11059 if test "${enable_spinctrl+set}" = set; then
11060 enableval=$enable_spinctrl;
11061 if test "$enableval" = yes; then
11062 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11064 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11069 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11074 eval "$wx_cv_use_spinctrl"
11076 if test x"$enablestring" = xdisable; then
11077 if test $wxUSE_SPINCTRL = yes; then
11083 result=$wxUSE_SPINCTRL
11086 { echo "$as_me:$LINENO: result: $result" >&5
11087 echo "${ECHO_T}$result" >&6; }
11091 defaultval=$wxUSE_ALL_FEATURES
11092 if test -z "$defaultval"; then
11093 if test x"$enablestring" = xdisable; then
11100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11101 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11102 # Check whether --enable-splitter was given.
11103 if test "${enable_splitter+set}" = set; then
11104 enableval=$enable_splitter;
11105 if test "$enableval" = yes; then
11106 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11108 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11113 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11118 eval "$wx_cv_use_splitter"
11120 if test x"$enablestring" = xdisable; then
11121 if test $wxUSE_SPLITTER = yes; then
11127 result=$wxUSE_SPLITTER
11130 { echo "$as_me:$LINENO: result: $result" >&5
11131 echo "${ECHO_T}$result" >&6; }
11135 defaultval=$wxUSE_ALL_FEATURES
11136 if test -z "$defaultval"; then
11137 if test x"$enablestring" = xdisable; then
11144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11145 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11146 # Check whether --enable-statbmp was given.
11147 if test "${enable_statbmp+set}" = set; then
11148 enableval=$enable_statbmp;
11149 if test "$enableval" = yes; then
11150 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11152 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11157 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11162 eval "$wx_cv_use_statbmp"
11164 if test x"$enablestring" = xdisable; then
11165 if test $wxUSE_STATBMP = yes; then
11171 result=$wxUSE_STATBMP
11174 { echo "$as_me:$LINENO: result: $result" >&5
11175 echo "${ECHO_T}$result" >&6; }
11179 defaultval=$wxUSE_ALL_FEATURES
11180 if test -z "$defaultval"; then
11181 if test x"$enablestring" = xdisable; then
11188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11190 # Check whether --enable-statbox was given.
11191 if test "${enable_statbox+set}" = set; then
11192 enableval=$enable_statbox;
11193 if test "$enableval" = yes; then
11194 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11196 wx_cv_use_statbox='wxUSE_STATBOX=no'
11201 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11206 eval "$wx_cv_use_statbox"
11208 if test x"$enablestring" = xdisable; then
11209 if test $wxUSE_STATBOX = yes; then
11215 result=$wxUSE_STATBOX
11218 { echo "$as_me:$LINENO: result: $result" >&5
11219 echo "${ECHO_T}$result" >&6; }
11223 defaultval=$wxUSE_ALL_FEATURES
11224 if test -z "$defaultval"; then
11225 if test x"$enablestring" = xdisable; then
11232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11234 # Check whether --enable-statline was given.
11235 if test "${enable_statline+set}" = set; then
11236 enableval=$enable_statline;
11237 if test "$enableval" = yes; then
11238 wx_cv_use_statline='wxUSE_STATLINE=yes'
11240 wx_cv_use_statline='wxUSE_STATLINE=no'
11245 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11250 eval "$wx_cv_use_statline"
11252 if test x"$enablestring" = xdisable; then
11253 if test $wxUSE_STATLINE = yes; then
11259 result=$wxUSE_STATLINE
11262 { echo "$as_me:$LINENO: result: $result" >&5
11263 echo "${ECHO_T}$result" >&6; }
11267 defaultval=$wxUSE_ALL_FEATURES
11268 if test -z "$defaultval"; then
11269 if test x"$enablestring" = xdisable; then
11276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11278 # Check whether --enable-stattext was given.
11279 if test "${enable_stattext+set}" = set; then
11280 enableval=$enable_stattext;
11281 if test "$enableval" = yes; then
11282 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11284 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11289 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11294 eval "$wx_cv_use_stattext"
11296 if test x"$enablestring" = xdisable; then
11297 if test $wxUSE_STATTEXT = yes; then
11303 result=$wxUSE_STATTEXT
11306 { echo "$as_me:$LINENO: result: $result" >&5
11307 echo "${ECHO_T}$result" >&6; }
11311 defaultval=$wxUSE_ALL_FEATURES
11312 if test -z "$defaultval"; then
11313 if test x"$enablestring" = xdisable; then
11320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11321 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11322 # Check whether --enable-statusbar was given.
11323 if test "${enable_statusbar+set}" = set; then
11324 enableval=$enable_statusbar;
11325 if test "$enableval" = yes; then
11326 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11328 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11333 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11338 eval "$wx_cv_use_statusbar"
11340 if test x"$enablestring" = xdisable; then
11341 if test $wxUSE_STATUSBAR = yes; then
11347 result=$wxUSE_STATUSBAR
11350 { echo "$as_me:$LINENO: result: $result" >&5
11351 echo "${ECHO_T}$result" >&6; }
11355 defaultval=$wxUSE_ALL_FEATURES
11356 if test -z "$defaultval"; then
11357 if test x"$enablestring" = xdisable; then
11364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11365 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11366 # Check whether --enable-tabdialog was given.
11367 if test "${enable_tabdialog+set}" = set; then
11368 enableval=$enable_tabdialog;
11369 if test "$enableval" = yes; then
11370 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11372 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11377 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11382 eval "$wx_cv_use_tabdialog"
11384 if test x"$enablestring" = xdisable; then
11385 if test $wxUSE_TAB_DIALOG = yes; then
11391 result=$wxUSE_TAB_DIALOG
11394 { echo "$as_me:$LINENO: result: $result" >&5
11395 echo "${ECHO_T}$result" >&6; }
11399 defaultval=$wxUSE_ALL_FEATURES
11400 if test -z "$defaultval"; then
11401 if test x"$enablestring" = xdisable; then
11408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11409 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11410 # Check whether --enable-taskbaricon was given.
11411 if test "${enable_taskbaricon+set}" = set; then
11412 enableval=$enable_taskbaricon;
11413 if test "$enableval" = yes; then
11414 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11416 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11421 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11426 eval "$wx_cv_use_taskbaricon"
11428 if test x"$enablestring" = xdisable; then
11429 if test $wxUSE_TASKBARICON = yes; then
11435 result=$wxUSE_TASKBARICON
11438 { echo "$as_me:$LINENO: result: $result" >&5
11439 echo "${ECHO_T}$result" >&6; }
11443 defaultval=$wxUSE_ALL_FEATURES
11444 if test -z "$defaultval"; then
11445 if test x"$enablestring" = xdisable; then
11452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11454 # Check whether --enable-textctrl was given.
11455 if test "${enable_textctrl+set}" = set; then
11456 enableval=$enable_textctrl;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11460 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11465 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11470 eval "$wx_cv_use_textctrl"
11472 if test x"$enablestring" = xdisable; then
11473 if test $wxUSE_TEXTCTRL = yes; then
11479 result=$wxUSE_TEXTCTRL
11482 { echo "$as_me:$LINENO: result: $result" >&5
11483 echo "${ECHO_T}$result" >&6; }
11487 defaultval=$wxUSE_ALL_FEATURES
11488 if test -z "$defaultval"; then
11489 if test x"$enablestring" = xdisable; then
11496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11497 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11498 # Check whether --enable-togglebtn was given.
11499 if test "${enable_togglebtn+set}" = set; then
11500 enableval=$enable_togglebtn;
11501 if test "$enableval" = yes; then
11502 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11504 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11509 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11514 eval "$wx_cv_use_togglebtn"
11516 if test x"$enablestring" = xdisable; then
11517 if test $wxUSE_TOGGLEBTN = yes; then
11523 result=$wxUSE_TOGGLEBTN
11526 { echo "$as_me:$LINENO: result: $result" >&5
11527 echo "${ECHO_T}$result" >&6; }
11531 defaultval=$wxUSE_ALL_FEATURES
11532 if test -z "$defaultval"; then
11533 if test x"$enablestring" = xdisable; then
11540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11541 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11542 # Check whether --enable-toolbar was given.
11543 if test "${enable_toolbar+set}" = set; then
11544 enableval=$enable_toolbar;
11545 if test "$enableval" = yes; then
11546 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11548 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11553 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11558 eval "$wx_cv_use_toolbar"
11560 if test x"$enablestring" = xdisable; then
11561 if test $wxUSE_TOOLBAR = yes; then
11567 result=$wxUSE_TOOLBAR
11570 { echo "$as_me:$LINENO: result: $result" >&5
11571 echo "${ECHO_T}$result" >&6; }
11575 defaultval=$wxUSE_ALL_FEATURES
11576 if test -z "$defaultval"; then
11577 if test x"$enablestring" = xdisable; then
11584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11585 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11586 # Check whether --enable-tbarnative was given.
11587 if test "${enable_tbarnative+set}" = set; then
11588 enableval=$enable_tbarnative;
11589 if test "$enableval" = yes; then
11590 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11592 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11597 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11602 eval "$wx_cv_use_tbarnative"
11604 if test x"$enablestring" = xdisable; then
11605 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11611 result=$wxUSE_TOOLBAR_NATIVE
11614 { echo "$as_me:$LINENO: result: $result" >&5
11615 echo "${ECHO_T}$result" >&6; }
11619 defaultval=$wxUSE_ALL_FEATURES
11620 if test -z "$defaultval"; then
11621 if test x"$enablestring" = xdisable; then
11628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11629 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11630 # Check whether --enable-treebook was given.
11631 if test "${enable_treebook+set}" = set; then
11632 enableval=$enable_treebook;
11633 if test "$enableval" = yes; then
11634 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11636 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11641 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11646 eval "$wx_cv_use_treebook"
11648 if test x"$enablestring" = xdisable; then
11649 if test $wxUSE_TREEBOOK = yes; then
11655 result=$wxUSE_TREEBOOK
11658 { echo "$as_me:$LINENO: result: $result" >&5
11659 echo "${ECHO_T}$result" >&6; }
11663 defaultval=$wxUSE_ALL_FEATURES
11664 if test -z "$defaultval"; then
11665 if test x"$enablestring" = xdisable; then
11672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11673 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11674 # Check whether --enable-toolbook was given.
11675 if test "${enable_toolbook+set}" = set; then
11676 enableval=$enable_toolbook;
11677 if test "$enableval" = yes; then
11678 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11680 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11685 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11690 eval "$wx_cv_use_toolbook"
11692 if test x"$enablestring" = xdisable; then
11693 if test $wxUSE_TOOLBOOK = yes; then
11699 result=$wxUSE_TOOLBOOK
11702 { echo "$as_me:$LINENO: result: $result" >&5
11703 echo "${ECHO_T}$result" >&6; }
11707 defaultval=$wxUSE_ALL_FEATURES
11708 if test -z "$defaultval"; then
11709 if test x"$enablestring" = xdisable; then
11716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11717 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11718 # Check whether --enable-treectrl was given.
11719 if test "${enable_treectrl+set}" = set; then
11720 enableval=$enable_treectrl;
11721 if test "$enableval" = yes; then
11722 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11724 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11729 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11734 eval "$wx_cv_use_treectrl"
11736 if test x"$enablestring" = xdisable; then
11737 if test $wxUSE_TREECTRL = yes; then
11743 result=$wxUSE_TREECTRL
11746 { echo "$as_me:$LINENO: result: $result" >&5
11747 echo "${ECHO_T}$result" >&6; }
11751 defaultval=$wxUSE_ALL_FEATURES
11752 if test -z "$defaultval"; then
11753 if test x"$enablestring" = xdisable; then
11760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11761 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11762 # Check whether --enable-tipwindow was given.
11763 if test "${enable_tipwindow+set}" = set; then
11764 enableval=$enable_tipwindow;
11765 if test "$enableval" = yes; then
11766 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11768 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11773 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11778 eval "$wx_cv_use_tipwindow"
11780 if test x"$enablestring" = xdisable; then
11781 if test $wxUSE_TIPWINDOW = yes; then
11787 result=$wxUSE_TIPWINDOW
11790 { echo "$as_me:$LINENO: result: $result" >&5
11791 echo "${ECHO_T}$result" >&6; }
11795 defaultval=$wxUSE_ALL_FEATURES
11796 if test -z "$defaultval"; then
11797 if test x"$enablestring" = xdisable; then
11804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11805 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11806 # Check whether --enable-popupwin was given.
11807 if test "${enable_popupwin+set}" = set; then
11808 enableval=$enable_popupwin;
11809 if test "$enableval" = yes; then
11810 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11812 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11817 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11822 eval "$wx_cv_use_popupwin"
11824 if test x"$enablestring" = xdisable; then
11825 if test $wxUSE_POPUPWIN = yes; then
11831 result=$wxUSE_POPUPWIN
11834 { echo "$as_me:$LINENO: result: $result" >&5
11835 echo "${ECHO_T}$result" >&6; }
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11852 # Check whether --enable-commondlg was given.
11853 if test "${enable_commondlg+set}" = set; then
11854 enableval=$enable_commondlg;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11858 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11863 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11868 eval "$wx_cv_use_commondlg"
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_COMMONDLGS = yes; then
11877 result=$wxUSE_COMMONDLGS
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11885 defaultval=$wxUSE_ALL_FEATURES
11886 if test -z "$defaultval"; then
11887 if test x"$enablestring" = xdisable; then
11894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11895 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11896 # Check whether --enable-aboutdlg was given.
11897 if test "${enable_aboutdlg+set}" = set; then
11898 enableval=$enable_aboutdlg;
11899 if test "$enableval" = yes; then
11900 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11902 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11907 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11912 eval "$wx_cv_use_aboutdlg"
11914 if test x"$enablestring" = xdisable; then
11915 if test $wxUSE_ABOUTDLG = yes; then
11921 result=$wxUSE_ABOUTDLG
11924 { echo "$as_me:$LINENO: result: $result" >&5
11925 echo "${ECHO_T}$result" >&6; }
11929 defaultval=$wxUSE_ALL_FEATURES
11930 if test -z "$defaultval"; then
11931 if test x"$enablestring" = xdisable; then
11938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11939 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11940 # Check whether --enable-choicedlg was given.
11941 if test "${enable_choicedlg+set}" = set; then
11942 enableval=$enable_choicedlg;
11943 if test "$enableval" = yes; then
11944 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11946 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11951 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
11956 eval "$wx_cv_use_choicedlg"
11958 if test x"$enablestring" = xdisable; then
11959 if test $wxUSE_CHOICEDLG = yes; then
11965 result=$wxUSE_CHOICEDLG
11968 { echo "$as_me:$LINENO: result: $result" >&5
11969 echo "${ECHO_T}$result" >&6; }
11973 defaultval=$wxUSE_ALL_FEATURES
11974 if test -z "$defaultval"; then
11975 if test x"$enablestring" = xdisable; then
11982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11983 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11984 # Check whether --enable-coldlg was given.
11985 if test "${enable_coldlg+set}" = set; then
11986 enableval=$enable_coldlg;
11987 if test "$enableval" = yes; then
11988 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11990 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
11995 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12000 eval "$wx_cv_use_coldlg"
12002 if test x"$enablestring" = xdisable; then
12003 if test $wxUSE_COLOURDLG = yes; then
12009 result=$wxUSE_COLOURDLG
12012 { echo "$as_me:$LINENO: result: $result" >&5
12013 echo "${ECHO_T}$result" >&6; }
12017 defaultval=$wxUSE_ALL_FEATURES
12018 if test -z "$defaultval"; then
12019 if test x"$enablestring" = xdisable; then
12026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12027 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12028 # Check whether --enable-filedlg was given.
12029 if test "${enable_filedlg+set}" = set; then
12030 enableval=$enable_filedlg;
12031 if test "$enableval" = yes; then
12032 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12034 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12039 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12044 eval "$wx_cv_use_filedlg"
12046 if test x"$enablestring" = xdisable; then
12047 if test $wxUSE_FILEDLG = yes; then
12053 result=$wxUSE_FILEDLG
12056 { echo "$as_me:$LINENO: result: $result" >&5
12057 echo "${ECHO_T}$result" >&6; }
12061 defaultval=$wxUSE_ALL_FEATURES
12062 if test -z "$defaultval"; then
12063 if test x"$enablestring" = xdisable; then
12070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12071 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12072 # Check whether --enable-finddlg was given.
12073 if test "${enable_finddlg+set}" = set; then
12074 enableval=$enable_finddlg;
12075 if test "$enableval" = yes; then
12076 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12078 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12083 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12088 eval "$wx_cv_use_finddlg"
12090 if test x"$enablestring" = xdisable; then
12091 if test $wxUSE_FINDREPLDLG = yes; then
12097 result=$wxUSE_FINDREPLDLG
12100 { echo "$as_me:$LINENO: result: $result" >&5
12101 echo "${ECHO_T}$result" >&6; }
12105 defaultval=$wxUSE_ALL_FEATURES
12106 if test -z "$defaultval"; then
12107 if test x"$enablestring" = xdisable; then
12114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12115 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12116 # Check whether --enable-fontdlg was given.
12117 if test "${enable_fontdlg+set}" = set; then
12118 enableval=$enable_fontdlg;
12119 if test "$enableval" = yes; then
12120 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12122 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12127 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12132 eval "$wx_cv_use_fontdlg"
12134 if test x"$enablestring" = xdisable; then
12135 if test $wxUSE_FONTDLG = yes; then
12141 result=$wxUSE_FONTDLG
12144 { echo "$as_me:$LINENO: result: $result" >&5
12145 echo "${ECHO_T}$result" >&6; }
12149 defaultval=$wxUSE_ALL_FEATURES
12150 if test -z "$defaultval"; then
12151 if test x"$enablestring" = xdisable; then
12158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12159 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12160 # Check whether --enable-dirdlg was given.
12161 if test "${enable_dirdlg+set}" = set; then
12162 enableval=$enable_dirdlg;
12163 if test "$enableval" = yes; then
12164 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12166 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12171 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12176 eval "$wx_cv_use_dirdlg"
12178 if test x"$enablestring" = xdisable; then
12179 if test $wxUSE_DIRDLG = yes; then
12185 result=$wxUSE_DIRDLG
12188 { echo "$as_me:$LINENO: result: $result" >&5
12189 echo "${ECHO_T}$result" >&6; }
12193 defaultval=$wxUSE_ALL_FEATURES
12194 if test -z "$defaultval"; then
12195 if test x"$enablestring" = xdisable; then
12202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12203 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12204 # Check whether --enable-msgdlg was given.
12205 if test "${enable_msgdlg+set}" = set; then
12206 enableval=$enable_msgdlg;
12207 if test "$enableval" = yes; then
12208 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12210 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12215 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12220 eval "$wx_cv_use_msgdlg"
12222 if test x"$enablestring" = xdisable; then
12223 if test $wxUSE_MSGDLG = yes; then
12229 result=$wxUSE_MSGDLG
12232 { echo "$as_me:$LINENO: result: $result" >&5
12233 echo "${ECHO_T}$result" >&6; }
12237 defaultval=$wxUSE_ALL_FEATURES
12238 if test -z "$defaultval"; then
12239 if test x"$enablestring" = xdisable; then
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12248 # Check whether --enable-numberdlg was given.
12249 if test "${enable_numberdlg+set}" = set; then
12250 enableval=$enable_numberdlg;
12251 if test "$enableval" = yes; then
12252 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12254 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12259 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12264 eval "$wx_cv_use_numberdlg"
12266 if test x"$enablestring" = xdisable; then
12267 if test $wxUSE_NUMBERDLG = yes; then
12273 result=$wxUSE_NUMBERDLG
12276 { echo "$as_me:$LINENO: result: $result" >&5
12277 echo "${ECHO_T}$result" >&6; }
12281 defaultval=$wxUSE_ALL_FEATURES
12282 if test -z "$defaultval"; then
12283 if test x"$enablestring" = xdisable; then
12290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12291 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12292 # Check whether --enable-splash was given.
12293 if test "${enable_splash+set}" = set; then
12294 enableval=$enable_splash;
12295 if test "$enableval" = yes; then
12296 wx_cv_use_splash='wxUSE_SPLASH=yes'
12298 wx_cv_use_splash='wxUSE_SPLASH=no'
12303 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12308 eval "$wx_cv_use_splash"
12310 if test x"$enablestring" = xdisable; then
12311 if test $wxUSE_SPLASH = yes; then
12317 result=$wxUSE_SPLASH
12320 { echo "$as_me:$LINENO: result: $result" >&5
12321 echo "${ECHO_T}$result" >&6; }
12325 defaultval=$wxUSE_ALL_FEATURES
12326 if test -z "$defaultval"; then
12327 if test x"$enablestring" = xdisable; then
12334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12335 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12336 # Check whether --enable-textdlg was given.
12337 if test "${enable_textdlg+set}" = set; then
12338 enableval=$enable_textdlg;
12339 if test "$enableval" = yes; then
12340 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12342 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12347 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12352 eval "$wx_cv_use_textdlg"
12354 if test x"$enablestring" = xdisable; then
12355 if test $wxUSE_TEXTDLG = yes; then
12361 result=$wxUSE_TEXTDLG
12364 { echo "$as_me:$LINENO: result: $result" >&5
12365 echo "${ECHO_T}$result" >&6; }
12369 defaultval=$wxUSE_ALL_FEATURES
12370 if test -z "$defaultval"; then
12371 if test x"$enablestring" = xdisable; then
12378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12379 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12380 # Check whether --enable-tipdlg was given.
12381 if test "${enable_tipdlg+set}" = set; then
12382 enableval=$enable_tipdlg;
12383 if test "$enableval" = yes; then
12384 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12386 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12391 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12396 eval "$wx_cv_use_tipdlg"
12398 if test x"$enablestring" = xdisable; then
12399 if test $wxUSE_STARTUP_TIPS = yes; then
12405 result=$wxUSE_STARTUP_TIPS
12408 { echo "$as_me:$LINENO: result: $result" >&5
12409 echo "${ECHO_T}$result" >&6; }
12413 defaultval=$wxUSE_ALL_FEATURES
12414 if test -z "$defaultval"; then
12415 if test x"$enablestring" = xdisable; then
12422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12423 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12424 # Check whether --enable-progressdlg was given.
12425 if test "${enable_progressdlg+set}" = set; then
12426 enableval=$enable_progressdlg;
12427 if test "$enableval" = yes; then
12428 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12430 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12435 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12440 eval "$wx_cv_use_progressdlg"
12442 if test x"$enablestring" = xdisable; then
12443 if test $wxUSE_PROGRESSDLG = yes; then
12449 result=$wxUSE_PROGRESSDLG
12452 { echo "$as_me:$LINENO: result: $result" >&5
12453 echo "${ECHO_T}$result" >&6; }
12457 defaultval=$wxUSE_ALL_FEATURES
12458 if test -z "$defaultval"; then
12459 if test x"$enablestring" = xdisable; then
12466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12467 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12468 # Check whether --enable-wizarddlg was given.
12469 if test "${enable_wizarddlg+set}" = set; then
12470 enableval=$enable_wizarddlg;
12471 if test "$enableval" = yes; then
12472 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12474 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12479 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12484 eval "$wx_cv_use_wizarddlg"
12486 if test x"$enablestring" = xdisable; then
12487 if test $wxUSE_WIZARDDLG = yes; then
12493 result=$wxUSE_WIZARDDLG
12496 { echo "$as_me:$LINENO: result: $result" >&5
12497 echo "${ECHO_T}$result" >&6; }
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12514 # Check whether --enable-menus was given.
12515 if test "${enable_menus+set}" = set; then
12516 enableval=$enable_menus;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_menus='wxUSE_MENUS=yes'
12520 wx_cv_use_menus='wxUSE_MENUS=no'
12525 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12530 eval "$wx_cv_use_menus"
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_MENUS = yes; then
12539 result=$wxUSE_MENUS
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12547 defaultval=$wxUSE_ALL_FEATURES
12548 if test -z "$defaultval"; then
12549 if test x"$enablestring" = xdisable; then
12556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12557 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12558 # Check whether --enable-miniframe was given.
12559 if test "${enable_miniframe+set}" = set; then
12560 enableval=$enable_miniframe;
12561 if test "$enableval" = yes; then
12562 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12564 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12569 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12574 eval "$wx_cv_use_miniframe"
12576 if test x"$enablestring" = xdisable; then
12577 if test $wxUSE_MINIFRAME = yes; then
12583 result=$wxUSE_MINIFRAME
12586 { echo "$as_me:$LINENO: result: $result" >&5
12587 echo "${ECHO_T}$result" >&6; }
12591 defaultval=$wxUSE_ALL_FEATURES
12592 if test -z "$defaultval"; then
12593 if test x"$enablestring" = xdisable; then
12600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12601 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12602 # Check whether --enable-tooltips was given.
12603 if test "${enable_tooltips+set}" = set; then
12604 enableval=$enable_tooltips;
12605 if test "$enableval" = yes; then
12606 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12608 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12613 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12618 eval "$wx_cv_use_tooltips"
12620 if test x"$enablestring" = xdisable; then
12621 if test $wxUSE_TOOLTIPS = yes; then
12627 result=$wxUSE_TOOLTIPS
12630 { echo "$as_me:$LINENO: result: $result" >&5
12631 echo "${ECHO_T}$result" >&6; }
12635 defaultval=$wxUSE_ALL_FEATURES
12636 if test -z "$defaultval"; then
12637 if test x"$enablestring" = xdisable; then
12644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12645 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12646 # Check whether --enable-splines was given.
12647 if test "${enable_splines+set}" = set; then
12648 enableval=$enable_splines;
12649 if test "$enableval" = yes; then
12650 wx_cv_use_splines='wxUSE_SPLINES=yes'
12652 wx_cv_use_splines='wxUSE_SPLINES=no'
12657 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12662 eval "$wx_cv_use_splines"
12664 if test x"$enablestring" = xdisable; then
12665 if test $wxUSE_SPLINES = yes; then
12671 result=$wxUSE_SPLINES
12674 { echo "$as_me:$LINENO: result: $result" >&5
12675 echo "${ECHO_T}$result" >&6; }
12679 defaultval=$wxUSE_ALL_FEATURES
12680 if test -z "$defaultval"; then
12681 if test x"$enablestring" = xdisable; then
12688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12689 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12690 # Check whether --enable-mousewheel was given.
12691 if test "${enable_mousewheel+set}" = set; then
12692 enableval=$enable_mousewheel;
12693 if test "$enableval" = yes; then
12694 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12696 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12701 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12706 eval "$wx_cv_use_mousewheel"
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_MOUSEWHEEL = yes; then
12715 result=$wxUSE_MOUSEWHEEL
12718 { echo "$as_me:$LINENO: result: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12723 defaultval=$wxUSE_ALL_FEATURES
12724 if test -z "$defaultval"; then
12725 if test x"$enablestring" = xdisable; then
12732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12733 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12734 # Check whether --enable-validators was given.
12735 if test "${enable_validators+set}" = set; then
12736 enableval=$enable_validators;
12737 if test "$enableval" = yes; then
12738 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12740 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12745 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12750 eval "$wx_cv_use_validators"
12752 if test x"$enablestring" = xdisable; then
12753 if test $wxUSE_VALIDATORS = yes; then
12759 result=$wxUSE_VALIDATORS
12762 { echo "$as_me:$LINENO: result: $result" >&5
12763 echo "${ECHO_T}$result" >&6; }
12767 defaultval=$wxUSE_ALL_FEATURES
12768 if test -z "$defaultval"; then
12769 if test x"$enablestring" = xdisable; then
12776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12777 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12778 # Check whether --enable-busyinfo was given.
12779 if test "${enable_busyinfo+set}" = set; then
12780 enableval=$enable_busyinfo;
12781 if test "$enableval" = yes; then
12782 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12784 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12789 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12794 eval "$wx_cv_use_busyinfo"
12796 if test x"$enablestring" = xdisable; then
12797 if test $wxUSE_BUSYINFO = yes; then
12803 result=$wxUSE_BUSYINFO
12806 { echo "$as_me:$LINENO: result: $result" >&5
12807 echo "${ECHO_T}$result" >&6; }
12811 defaultval=$wxUSE_ALL_FEATURES
12812 if test -z "$defaultval"; then
12813 if test x"$enablestring" = xdisable; then
12820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12821 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12822 # Check whether --enable-joystick was given.
12823 if test "${enable_joystick+set}" = set; then
12824 enableval=$enable_joystick;
12825 if test "$enableval" = yes; then
12826 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12828 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12833 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12838 eval "$wx_cv_use_joystick"
12840 if test x"$enablestring" = xdisable; then
12841 if test $wxUSE_JOYSTICK = yes; then
12847 result=$wxUSE_JOYSTICK
12850 { echo "$as_me:$LINENO: result: $result" >&5
12851 echo "${ECHO_T}$result" >&6; }
12855 defaultval=$wxUSE_ALL_FEATURES
12856 if test -z "$defaultval"; then
12857 if test x"$enablestring" = xdisable; then
12864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12865 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12866 # Check whether --enable-metafile was given.
12867 if test "${enable_metafile+set}" = set; then
12868 enableval=$enable_metafile;
12869 if test "$enableval" = yes; then
12870 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12872 wx_cv_use_metafile='wxUSE_METAFILE=no'
12877 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12882 eval "$wx_cv_use_metafile"
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_METAFILE = yes; then
12891 result=$wxUSE_METAFILE
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12910 # Check whether --enable-dragimage was given.
12911 if test "${enable_dragimage+set}" = set; then
12912 enableval=$enable_dragimage;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12916 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12921 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12926 eval "$wx_cv_use_dragimage"
12928 if test x"$enablestring" = xdisable; then
12929 if test $wxUSE_DRAGIMAGE = yes; then
12935 result=$wxUSE_DRAGIMAGE
12938 { echo "$as_me:$LINENO: result: $result" >&5
12939 echo "${ECHO_T}$result" >&6; }
12943 defaultval=$wxUSE_ALL_FEATURES
12944 if test -z "$defaultval"; then
12945 if test x"$enablestring" = xdisable; then
12952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12953 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12954 # Check whether --enable-accessibility was given.
12955 if test "${enable_accessibility+set}" = set; then
12956 enableval=$enable_accessibility;
12957 if test "$enableval" = yes; then
12958 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12960 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12965 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
12970 eval "$wx_cv_use_accessibility"
12972 if test x"$enablestring" = xdisable; then
12973 if test $wxUSE_ACCESSIBILITY = yes; then
12979 result=$wxUSE_ACCESSIBILITY
12982 { echo "$as_me:$LINENO: result: $result" >&5
12983 echo "${ECHO_T}$result" >&6; }
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13000 # Check whether --enable-palette was given.
13001 if test "${enable_palette+set}" = set; then
13002 enableval=$enable_palette;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_palette='wxUSE_PALETTE=yes'
13006 wx_cv_use_palette='wxUSE_PALETTE=no'
13011 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13016 eval "$wx_cv_use_palette"
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_PALETTE = yes; then
13025 result=$wxUSE_PALETTE
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13044 # Check whether --enable-image was given.
13045 if test "${enable_image+set}" = set; then
13046 enableval=$enable_image;
13047 if test "$enableval" = yes; then
13048 wx_cv_use_image='wxUSE_IMAGE=yes'
13050 wx_cv_use_image='wxUSE_IMAGE=no'
13055 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13060 eval "$wx_cv_use_image"
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_IMAGE = yes; then
13069 result=$wxUSE_IMAGE
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13088 # Check whether --enable-gif was given.
13089 if test "${enable_gif+set}" = set; then
13090 enableval=$enable_gif;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_gif='wxUSE_GIF=yes'
13094 wx_cv_use_gif='wxUSE_GIF=no'
13099 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13104 eval "$wx_cv_use_gif"
13106 if test x"$enablestring" = xdisable; then
13107 if test $wxUSE_GIF = yes; then
13116 { echo "$as_me:$LINENO: result: $result" >&5
13117 echo "${ECHO_T}$result" >&6; }
13121 defaultval=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x"$enablestring" = xdisable; then
13130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13131 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13132 # Check whether --enable-pcx was given.
13133 if test "${enable_pcx+set}" = set; then
13134 enableval=$enable_pcx;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_pcx='wxUSE_PCX=yes'
13138 wx_cv_use_pcx='wxUSE_PCX=no'
13143 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13148 eval "$wx_cv_use_pcx"
13150 if test x"$enablestring" = xdisable; then
13151 if test $wxUSE_PCX = yes; then
13160 { echo "$as_me:$LINENO: result: $result" >&5
13161 echo "${ECHO_T}$result" >&6; }
13165 defaultval=$wxUSE_ALL_FEATURES
13166 if test -z "$defaultval"; then
13167 if test x"$enablestring" = xdisable; then
13174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13175 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13176 # Check whether --enable-tga was given.
13177 if test "${enable_tga+set}" = set; then
13178 enableval=$enable_tga;
13179 if test "$enableval" = yes; then
13180 wx_cv_use_tga='wxUSE_TGA=yes'
13182 wx_cv_use_tga='wxUSE_TGA=no'
13187 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13192 eval "$wx_cv_use_tga"
13194 if test x"$enablestring" = xdisable; then
13195 if test $wxUSE_TGA = yes; then
13204 { echo "$as_me:$LINENO: result: $result" >&5
13205 echo "${ECHO_T}$result" >&6; }
13209 defaultval=$wxUSE_ALL_FEATURES
13210 if test -z "$defaultval"; then
13211 if test x"$enablestring" = xdisable; then
13218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13219 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13220 # Check whether --enable-iff was given.
13221 if test "${enable_iff+set}" = set; then
13222 enableval=$enable_iff;
13223 if test "$enableval" = yes; then
13224 wx_cv_use_iff='wxUSE_IFF=yes'
13226 wx_cv_use_iff='wxUSE_IFF=no'
13231 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13236 eval "$wx_cv_use_iff"
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_IFF = yes; then
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13264 # Check whether --enable-pnm was given.
13265 if test "${enable_pnm+set}" = set; then
13266 enableval=$enable_pnm;
13267 if test "$enableval" = yes; then
13268 wx_cv_use_pnm='wxUSE_PNM=yes'
13270 wx_cv_use_pnm='wxUSE_PNM=no'
13275 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13280 eval "$wx_cv_use_pnm"
13282 if test x"$enablestring" = xdisable; then
13283 if test $wxUSE_PNM = yes; then
13292 { echo "$as_me:$LINENO: result: $result" >&5
13293 echo "${ECHO_T}$result" >&6; }
13297 defaultval=$wxUSE_ALL_FEATURES
13298 if test -z "$defaultval"; then
13299 if test x"$enablestring" = xdisable; then
13306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13307 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13308 # Check whether --enable-xpm was given.
13309 if test "${enable_xpm+set}" = set; then
13310 enableval=$enable_xpm;
13311 if test "$enableval" = yes; then
13312 wx_cv_use_xpm='wxUSE_XPM=yes'
13314 wx_cv_use_xpm='wxUSE_XPM=no'
13319 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13324 eval "$wx_cv_use_xpm"
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_XPM = yes; then
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13352 # Check whether --enable-ico_cur was given.
13353 if test "${enable_ico_cur+set}" = set; then
13354 enableval=$enable_ico_cur;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13358 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13363 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13368 eval "$wx_cv_use_ico_cur"
13370 if test x"$enablestring" = xdisable; then
13371 if test $wxUSE_ICO_CUR = yes; then
13377 result=$wxUSE_ICO_CUR
13380 { echo "$as_me:$LINENO: result: $result" >&5
13381 echo "${ECHO_T}$result" >&6; }
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13398 # Check whether --enable-dccache was given.
13399 if test "${enable_dccache+set}" = set; then
13400 enableval=$enable_dccache;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13404 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13409 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13414 eval "$wx_cv_use_dccache"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_DC_CACHEING = yes; then
13423 result=$wxUSE_DC_CACHEING
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13441 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13442 # Check whether --enable-ps-in-msw was given.
13443 if test "${enable_ps_in_msw+set}" = set; then
13444 enableval=$enable_ps_in_msw;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13448 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13453 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13458 eval "$wx_cv_use_ps_in_msw"
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13467 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13470 { echo "$as_me:$LINENO: result: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13485 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13486 # Check whether --enable-ownerdrawn was given.
13487 if test "${enable_ownerdrawn+set}" = set; then
13488 enableval=$enable_ownerdrawn;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13492 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13497 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13502 eval "$wx_cv_use_ownerdrawn"
13504 if test x"$enablestring" = xdisable; then
13505 if test $wxUSE_OWNER_DRAWN = yes; then
13511 result=$wxUSE_OWNER_DRAWN
13514 { echo "$as_me:$LINENO: result: $result" >&5
13515 echo "${ECHO_T}$result" >&6; }
13519 defaultval=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x"$enablestring" = xdisable; then
13528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13529 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13530 # Check whether --enable-uxtheme was given.
13531 if test "${enable_uxtheme+set}" = set; then
13532 enableval=$enable_uxtheme;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13536 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13541 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13546 eval "$wx_cv_use_uxtheme"
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_UXTHEME = yes; then
13555 result=$wxUSE_UXTHEME
13558 { echo "$as_me:$LINENO: result: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13574 # Check whether --enable-wxdib was given.
13575 if test "${enable_wxdib+set}" = set; then
13576 enableval=$enable_wxdib;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_wxdib='wxUSE_DIB=yes'
13580 wx_cv_use_wxdib='wxUSE_DIB=no'
13585 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13590 eval "$wx_cv_use_wxdib"
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_DIB = yes; then
13602 { echo "$as_me:$LINENO: result: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13609 { echo "$as_me:$LINENO: checking for toolkit" >&5
13610 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13612 # In Wine, we need to default to MSW, not GTK or MOTIF
13613 if test "$wxUSE_WINE" = "yes"; then
13614 DEFAULT_DEFAULT_wxUSE_GTK=0
13615 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13616 DEFAULT_DEFAULT_wxUSE_MSW=1
13619 CXX=${CXX:-wineg++}
13623 if test "$wxUSE_GUI" = "yes"; then
13625 if test "$USE_BEOS" = 1; then
13626 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13627 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13628 { (exit 1); exit 1; }; }
13631 if test "$TOOLKIT_GIVEN" = 1; then
13632 for toolkit in $ALL_TOOLKITS; do
13634 eval "value=\$${var}"
13635 if test "x$value" = "xno"; then
13637 elif test "x$value" != "x"; then
13641 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13642 eval "wx${toolkit}_VERSION=$value"
13646 for toolkit in $ALL_TOOLKITS; do
13647 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13648 eval "wxUSE_$toolkit=\$${var}"
13652 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13653 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13654 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13657 *-pc-os2_emx | *-pc-os2-emx )
13658 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13661 case "$NUM_TOOLKITS" in
13665 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13666 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13667 { (exit 1); exit 1; }; }
13670 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13671 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13672 { (exit 1); exit 1; }; }
13675 # to be removed when --disable-gtk2 isn't needed
13676 if test "x$wxUSE_GTK2" = "xyes"; then
13678 elif test "x$wxUSE_GTK2" = "xno"; then
13682 for toolkit in $ALL_TOOLKITS; do
13684 eval "value=\$${var}"
13685 if test "$value" = 1; then
13686 toolkit_echo=`echo $toolkit | tr A-Z a-z`
13687 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13688 echo "${ECHO_T}$toolkit_echo" >&6; }
13692 if test "x$host_alias" != "x"; then
13693 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13694 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13696 { echo "$as_me:$LINENO: result: base only" >&5
13697 echo "${ECHO_T}base only" >&6; }
13702 cat >confcache <<\_ACEOF
13703 # This file is a shell script that caches the results of configure
13704 # tests run on this system so they can be shared between configure
13705 # scripts and configure runs, see configure's option --config-cache.
13706 # It is not useful on other systems. If it contains results you don't
13707 # want to keep, you may remove or edit it.
13709 # config.status only pays attention to the cache file if you give it
13710 # the --recheck option to rerun configure.
13712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13714 # following values.
13718 # The following way of writing the cache mishandles newlines in values,
13719 # but we know of no workaround that is simple, portable, and efficient.
13720 # So, we kill variables containing newlines.
13721 # Ultrix sh set writes to stderr and can't be redirected directly,
13722 # and sets the high bit in the cache file unless we assign to the vars.
13724 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13725 eval ac_val=\$$ac_var
13729 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13730 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13733 _ | IFS | as_nl) ;; #(
13734 *) $as_unset $ac_var ;;
13740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13741 *${as_nl}ac_space=\ *)
13742 # `set' does not quote correctly, so add quotes (double-quote
13743 # substitution turns \\\\ into \\, and sed turns \\ into \).
13746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13749 # `set' quotes correctly as required by POSIX, so do not add quotes.
13750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13763 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13764 if test -w "$cache_file"; then
13765 test "x$cache_file" != "x/dev/null" &&
13766 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13767 echo "$as_me: updating cache $cache_file" >&6;}
13768 cat confcache >$cache_file
13770 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13771 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13781 ac_cpp='$CPP $CPPFLAGS'
13782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13785 if test -n "$ac_tool_prefix"; then
13786 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13787 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13790 if test "${ac_cv_prog_CC+set}" = set; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 if test -n "$CC"; then
13794 ac_cv_prog_CC="$CC" # Let the user override the test.
13796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13797 for as_dir in $PATH
13800 test -z "$as_dir" && as_dir=.
13801 for ac_exec_ext in '' $ac_executable_extensions; do
13802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13803 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13814 if test -n "$CC"; then
13815 { echo "$as_me:$LINENO: result: $CC" >&5
13816 echo "${ECHO_T}$CC" >&6; }
13818 { echo "$as_me:$LINENO: result: no" >&5
13819 echo "${ECHO_T}no" >&6; }
13824 if test -z "$ac_cv_prog_CC"; then
13826 # Extract the first word of "gcc", so it can be a program name with args.
13827 set dummy gcc; ac_word=$2
13828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 if test -n "$ac_ct_CC"; then
13834 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13837 for as_dir in $PATH
13840 test -z "$as_dir" && as_dir=.
13841 for ac_exec_ext in '' $ac_executable_extensions; do
13842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13843 ac_cv_prog_ac_ct_CC="gcc"
13844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13854 if test -n "$ac_ct_CC"; then
13855 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13856 echo "${ECHO_T}$ac_ct_CC" >&6; }
13858 { echo "$as_me:$LINENO: result: no" >&5
13859 echo "${ECHO_T}no" >&6; }
13862 if test "x$ac_ct_CC" = x; then
13865 case $cross_compiling:$ac_tool_warned in
13867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13868 whose name does not start with the host triplet. If you think this
13869 configuration is useful to you, please write to autoconf@gnu.org." >&5
13870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13871 whose name does not start with the host triplet. If you think this
13872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13873 ac_tool_warned=yes ;;
13878 CC="$ac_cv_prog_CC"
13881 if test -z "$CC"; then
13882 if test -n "$ac_tool_prefix"; then
13883 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13884 set dummy ${ac_tool_prefix}cc; ac_word=$2
13885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13887 if test "${ac_cv_prog_CC+set}" = set; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13890 if test -n "$CC"; then
13891 ac_cv_prog_CC="$CC" # Let the user override the test.
13893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13894 for as_dir in $PATH
13897 test -z "$as_dir" && as_dir=.
13898 for ac_exec_ext in '' $ac_executable_extensions; do
13899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13900 ac_cv_prog_CC="${ac_tool_prefix}cc"
13901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13911 if test -n "$CC"; then
13912 { echo "$as_me:$LINENO: result: $CC" >&5
13913 echo "${ECHO_T}$CC" >&6; }
13915 { echo "$as_me:$LINENO: result: no" >&5
13916 echo "${ECHO_T}no" >&6; }
13922 if test -z "$CC"; then
13923 # Extract the first word of "cc", so it can be a program name with args.
13924 set dummy cc; ac_word=$2
13925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13927 if test "${ac_cv_prog_CC+set}" = set; then
13928 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 if test -n "$CC"; then
13931 ac_cv_prog_CC="$CC" # Let the user override the test.
13933 ac_prog_rejected=no
13934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13935 for as_dir in $PATH
13938 test -z "$as_dir" && as_dir=.
13939 for ac_exec_ext in '' $ac_executable_extensions; do
13940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13941 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13942 ac_prog_rejected=yes
13946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13953 if test $ac_prog_rejected = yes; then
13954 # We found a bogon in the path, so make sure we never use it.
13955 set dummy $ac_cv_prog_CC
13957 if test $# != 0; then
13958 # We chose a different compiler from the bogus one.
13959 # However, it has the same basename, so the bogon will be chosen
13960 # first if we set CC to just the basename; use the full file name.
13962 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13968 if test -n "$CC"; then
13969 { echo "$as_me:$LINENO: result: $CC" >&5
13970 echo "${ECHO_T}$CC" >&6; }
13972 { echo "$as_me:$LINENO: result: no" >&5
13973 echo "${ECHO_T}no" >&6; }
13978 if test -z "$CC"; then
13979 if test -n "$ac_tool_prefix"; then
13980 for ac_prog in cl.exe
13982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13986 if test "${ac_cv_prog_CC+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 if test -n "$CC"; then
13990 ac_cv_prog_CC="$CC" # Let the user override the test.
13992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13993 for as_dir in $PATH
13996 test -z "$as_dir" && as_dir=.
13997 for ac_exec_ext in '' $ac_executable_extensions; do
13998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13999 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14010 if test -n "$CC"; then
14011 { echo "$as_me:$LINENO: result: $CC" >&5
14012 echo "${ECHO_T}$CC" >&6; }
14014 { echo "$as_me:$LINENO: result: no" >&5
14015 echo "${ECHO_T}no" >&6; }
14019 test -n "$CC" && break
14022 if test -z "$CC"; then
14024 for ac_prog in cl.exe
14026 # Extract the first word of "$ac_prog", so it can be a program name with args.
14027 set dummy $ac_prog; ac_word=$2
14028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 if test -n "$ac_ct_CC"; then
14034 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14040 test -z "$as_dir" && as_dir=.
14041 for ac_exec_ext in '' $ac_executable_extensions; do
14042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14043 ac_cv_prog_ac_ct_CC="$ac_prog"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14054 if test -n "$ac_ct_CC"; then
14055 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14056 echo "${ECHO_T}$ac_ct_CC" >&6; }
14058 { echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6; }
14063 test -n "$ac_ct_CC" && break
14066 if test "x$ac_ct_CC" = x; then
14069 case $cross_compiling:$ac_tool_warned in
14071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14072 whose name does not start with the host triplet. If you think this
14073 configuration is useful to you, please write to autoconf@gnu.org." >&5
14074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14075 whose name does not start with the host triplet. If you think this
14076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14077 ac_tool_warned=yes ;;
14086 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14087 See \`config.log' for more details." >&5
14088 echo "$as_me: error: no acceptable C compiler found in \$PATH
14089 See \`config.log' for more details." >&2;}
14090 { (exit 1); exit 1; }; }
14092 # Provide some information about the compiler.
14093 echo "$as_me:$LINENO: checking for C compiler version" >&5
14094 ac_compiler=`set X $ac_compile; echo $2`
14095 { (ac_try="$ac_compiler --version >&5"
14096 case "(($ac_try" in
14097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14098 *) ac_try_echo=$ac_try;;
14100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14101 (eval "$ac_compiler --version >&5") 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }
14105 { (ac_try="$ac_compiler -v >&5"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compiler -v >&5") 2>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }
14115 { (ac_try="$ac_compiler -V >&5"
14116 case "(($ac_try" in
14117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14118 *) ac_try_echo=$ac_try;;
14120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14121 (eval "$ac_compiler -V >&5") 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }
14126 cat >conftest.$ac_ext <<_ACEOF
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14141 ac_clean_files_save=$ac_clean_files
14142 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14143 # Try to create an executable without -o first, disregard a.out.
14144 # It will help us diagnose broken compilers, and finding out an intuition
14146 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14147 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14148 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14150 # List of possible output files, starting from the most likely.
14151 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14152 # only as a last resort. b.out is created by i960 compilers.
14153 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14155 # The IRIX 6 linker writes into existing files which may not be
14156 # executable, retaining their permissions. Remove them first so a
14157 # subsequent execution test works.
14159 for ac_file in $ac_files
14162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14163 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14168 if { (ac_try="$ac_link_default"
14169 case "(($ac_try" in
14170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14171 *) ac_try_echo=$ac_try;;
14173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14174 (eval "$ac_link_default") 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; then
14178 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14179 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14180 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14181 # so that the user can short-circuit this test for compilers unknown to
14183 for ac_file in $ac_files ''
14185 test -f "$ac_file" || continue
14187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14190 # We found the default executable, but exeext='' is most
14194 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14196 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14198 # We set ac_cv_exeext here because the later test for it is not
14199 # safe: cross compilers may not add the suffix if given an `-o'
14200 # argument, so we may need to know it at that point already.
14201 # Even if this section looks crufty: it has the advantage of
14202 # actually working.
14208 test "$ac_cv_exeext" = no && ac_cv_exeext=
14214 { echo "$as_me:$LINENO: result: $ac_file" >&5
14215 echo "${ECHO_T}$ac_file" >&6; }
14216 if test -z "$ac_file"; then
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.$ac_ext >&5
14220 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14221 See \`config.log' for more details." >&5
14222 echo "$as_me: error: C compiler cannot create executables
14223 See \`config.log' for more details." >&2;}
14224 { (exit 77); exit 77; }; }
14227 ac_exeext=$ac_cv_exeext
14229 # Check that the compiler produces executables we can run. If not, either
14230 # the compiler is broken, or we cross compile.
14231 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14232 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14233 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14234 # If not cross compiling, check that we can run a simple program.
14235 if test "$cross_compiling" != yes; then
14236 if { ac_try='./$ac_file'
14237 { (case "(($ac_try" in
14238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14239 *) ac_try_echo=$ac_try;;
14241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14242 (eval "$ac_try") 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; }; then
14248 if test "$cross_compiling" = maybe; then
14249 cross_compiling=yes
14251 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14252 If you meant to cross compile, use \`--host'.
14253 See \`config.log' for more details." >&5
14254 echo "$as_me: error: cannot run C compiled programs.
14255 If you meant to cross compile, use \`--host'.
14256 See \`config.log' for more details." >&2;}
14257 { (exit 1); exit 1; }; }
14261 { echo "$as_me:$LINENO: result: yes" >&5
14262 echo "${ECHO_T}yes" >&6; }
14264 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14265 ac_clean_files=$ac_clean_files_save
14266 # Check that the compiler produces executables we can run. If not, either
14267 # the compiler is broken, or we cross compile.
14268 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14269 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14270 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14271 echo "${ECHO_T}$cross_compiling" >&6; }
14273 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14274 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14275 if { (ac_try="$ac_link"
14276 case "(($ac_try" in
14277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14278 *) ac_try_echo=$ac_try;;
14280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14281 (eval "$ac_link") 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; then
14285 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14286 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14287 # work properly (i.e., refer to `conftest.exe'), while it won't with
14289 for ac_file in conftest.exe conftest conftest.*; do
14290 test -f "$ac_file" || continue
14292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14293 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14299 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14300 See \`config.log' for more details." >&5
14301 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14302 See \`config.log' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14306 rm -f conftest$ac_cv_exeext
14307 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14308 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14310 rm -f conftest.$ac_ext
14311 EXEEXT=$ac_cv_exeext
14313 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14314 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14315 if test "${ac_cv_objext+set}" = set; then
14316 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 cat >conftest.$ac_ext <<_ACEOF
14321 cat confdefs.h >>conftest.$ac_ext
14322 cat >>conftest.$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14333 rm -f conftest.o conftest.obj
14334 if { (ac_try="$ac_compile"
14335 case "(($ac_try" in
14336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14337 *) ac_try_echo=$ac_try;;
14339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14340 (eval "$ac_compile") 2>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; then
14344 for ac_file in conftest.o conftest.obj conftest.*; do
14345 test -f "$ac_file" || continue;
14347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14353 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.$ac_ext >&5
14356 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14357 See \`config.log' for more details." >&5
14358 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14359 See \`config.log' for more details." >&2;}
14360 { (exit 1); exit 1; }; }
14363 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14365 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14366 echo "${ECHO_T}$ac_cv_objext" >&6; }
14367 OBJEXT=$ac_cv_objext
14369 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14370 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14371 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 cat >conftest.$ac_ext <<_ACEOF
14377 cat confdefs.h >>conftest.$ac_ext
14378 cat >>conftest.$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14392 rm -f conftest.$ac_objext
14393 if { (ac_try="$ac_compile"
14394 case "(($ac_try" in
14395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14396 *) ac_try_echo=$ac_try;;
14398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14399 (eval "$ac_compile") 2>conftest.er1
14401 grep -v '^ *+' conftest.er1 >conftest.err
14403 cat conftest.err >&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } && {
14406 test -z "$ac_c_werror_flag" ||
14407 test ! -s conftest.err
14408 } && test -s conftest.$ac_objext; then
14409 ac_compiler_gnu=yes
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14418 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14421 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14422 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14423 GCC=`test $ac_compiler_gnu = yes && echo yes`
14424 ac_test_CFLAGS=${CFLAGS+set}
14425 ac_save_CFLAGS=$CFLAGS
14426 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14427 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14428 if test "${ac_cv_prog_cc_g+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 ac_save_c_werror_flag=$ac_c_werror_flag
14432 ac_c_werror_flag=yes
14435 cat >conftest.$ac_ext <<_ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14450 rm -f conftest.$ac_objext
14451 if { (ac_try="$ac_compile"
14452 case "(($ac_try" in
14453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14454 *) ac_try_echo=$ac_try;;
14456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14457 (eval "$ac_compile") 2>conftest.er1
14459 grep -v '^ *+' conftest.er1 >conftest.err
14461 cat conftest.err >&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } && {
14464 test -z "$ac_c_werror_flag" ||
14465 test ! -s conftest.err
14466 } && test -s conftest.$ac_objext; then
14467 ac_cv_prog_cc_g=yes
14469 echo "$as_me: failed program was:" >&5
14470 sed 's/^/| /' conftest.$ac_ext >&5
14473 cat >conftest.$ac_ext <<_ACEOF
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14497 grep -v '^ *+' conftest.er1 >conftest.err
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.$ac_objext; then
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14510 ac_c_werror_flag=$ac_save_c_werror_flag
14512 cat >conftest.$ac_ext <<_ACEOF
14515 cat confdefs.h >>conftest.$ac_ext
14516 cat >>conftest.$ac_ext <<_ACEOF
14517 /* end confdefs.h. */
14527 rm -f conftest.$ac_objext
14528 if { (ac_try="$ac_compile"
14529 case "(($ac_try" in
14530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_compile") 2>conftest.er1
14536 grep -v '^ *+' conftest.er1 >conftest.err
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } && {
14541 test -z "$ac_c_werror_flag" ||
14542 test ! -s conftest.err
14543 } && test -s conftest.$ac_objext; then
14544 ac_cv_prog_cc_g=yes
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.$ac_ext >&5
14552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14559 ac_c_werror_flag=$ac_save_c_werror_flag
14561 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14562 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14563 if test "$ac_test_CFLAGS" = set; then
14564 CFLAGS=$ac_save_CFLAGS
14565 elif test $ac_cv_prog_cc_g = yes; then
14566 if test "$GCC" = yes; then
14572 if test "$GCC" = yes; then
14578 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14579 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14580 if test "${ac_cv_prog_cc_c89+set}" = set; then
14581 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 ac_cv_prog_cc_c89=no
14585 cat >conftest.$ac_ext <<_ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14591 #include <stdarg.h>
14593 #include <sys/types.h>
14594 #include <sys/stat.h>
14595 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14596 struct buf { int x; };
14597 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14598 static char *e (p, i)
14604 static char *f (char * (*g) (char **, int), char **p, ...)
14609 s = g (p, va_arg (v,int));
14614 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14615 function prototypes and stuff, but not '\xHH' hex character constants.
14616 These don't provoke an error unfortunately, instead are silently treated
14617 as 'x'. The following induces an error, until -std is added to get
14618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14619 array size at least. It's necessary to write '\x00'==0 to get something
14620 that's true only with -std. */
14621 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14623 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14624 inside strings and character constants. */
14626 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14628 int test (int i, double x);
14629 struct s1 {int (*f) (int a);};
14630 struct s2 {int (*f) (double a);};
14631 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14637 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14645 CC="$ac_save_CC $ac_arg"
14646 rm -f conftest.$ac_objext
14647 if { (ac_try="$ac_compile"
14648 case "(($ac_try" in
14649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14650 *) ac_try_echo=$ac_try;;
14652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14653 (eval "$ac_compile") 2>conftest.er1
14655 grep -v '^ *+' conftest.er1 >conftest.err
14657 cat conftest.err >&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } && {
14660 test -z "$ac_c_werror_flag" ||
14661 test ! -s conftest.err
14662 } && test -s conftest.$ac_objext; then
14663 ac_cv_prog_cc_c89=$ac_arg
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14671 rm -f core conftest.err conftest.$ac_objext
14672 test "x$ac_cv_prog_cc_c89" != "xno" && break
14674 rm -f conftest.$ac_ext
14679 case "x$ac_cv_prog_cc_c89" in
14681 { echo "$as_me:$LINENO: result: none needed" >&5
14682 echo "${ECHO_T}none needed" >&6; } ;;
14684 { echo "$as_me:$LINENO: result: unsupported" >&5
14685 echo "${ECHO_T}unsupported" >&6; } ;;
14687 CC="$CC $ac_cv_prog_cc_c89"
14688 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14689 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14694 ac_cpp='$CPP $CPPFLAGS'
14695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14703 ac_cpp='$CPP $CPPFLAGS'
14704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14708 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14709 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14710 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 cat >conftest.$ac_ext <<_ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14724 #ifndef __INTEL_COMPILER
14732 rm -f conftest.$ac_objext
14733 if { (ac_try="$ac_compile"
14734 case "(($ac_try" in
14735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_compile") 2>conftest.er1
14741 grep -v '^ *+' conftest.er1 >conftest.err
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest.$ac_objext; then
14749 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 bakefile_cv_c_compiler___INTEL_COMPILER=no
14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14762 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14763 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14764 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14770 ac_cpp='$CPP $CPPFLAGS'
14771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14778 if test "x$GCC" != "xyes"; then
14779 if test "xCC" = "xC"; then
14780 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14781 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14782 if test "${bakefile_cv_c_exto+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 cat >conftest.$ac_ext <<_ACEOF
14788 cat confdefs.h >>conftest.$ac_ext
14789 cat >>conftest.$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14800 rm -f conftest.$ac_objext conftest.$ac_ext.o
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; then
14806 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14808 conftest.$ac_ext.o)
14809 bakefile_cv_c_exto="-ext o"
14816 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14817 See \`config.log' for more details." >&5
14818 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14819 See \`config.log' for more details." >&2;}
14820 { (exit 1); exit 1; }; }
14824 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14827 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14828 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14829 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14830 if test "c" = "c"; then
14831 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14833 if test "c" = "cxx"; then
14834 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14838 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14839 unset ac_cv_prog_cc_g
14840 ac_test_CFLAGS=${CFLAGS+set}
14841 ac_save_CFLAGS=$CFLAGS
14842 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14843 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14844 if test "${ac_cv_prog_cc_g+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 ac_save_c_werror_flag=$ac_c_werror_flag
14848 ac_c_werror_flag=yes
14851 cat >conftest.$ac_ext <<_ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14866 rm -f conftest.$ac_objext
14867 if { (ac_try="$ac_compile"
14868 case "(($ac_try" in
14869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;;
14872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_compile") 2>conftest.er1
14875 grep -v '^ *+' conftest.er1 >conftest.err
14877 cat conftest.err >&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_c_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest.$ac_objext; then
14883 ac_cv_prog_cc_g=yes
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.$ac_ext >&5
14889 cat >conftest.$ac_ext <<_ACEOF
14892 cat confdefs.h >>conftest.$ac_ext
14893 cat >>conftest.$ac_ext <<_ACEOF
14894 /* end confdefs.h. */
14904 rm -f conftest.$ac_objext
14905 if { (ac_try="$ac_compile"
14906 case "(($ac_try" in
14907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14908 *) ac_try_echo=$ac_try;;
14910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14911 (eval "$ac_compile") 2>conftest.er1
14913 grep -v '^ *+' conftest.er1 >conftest.err
14915 cat conftest.err >&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } && {
14918 test -z "$ac_c_werror_flag" ||
14919 test ! -s conftest.err
14920 } && test -s conftest.$ac_objext; then
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14926 ac_c_werror_flag=$ac_save_c_werror_flag
14928 cat >conftest.$ac_ext <<_ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14943 rm -f conftest.$ac_objext
14944 if { (ac_try="$ac_compile"
14945 case "(($ac_try" in
14946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14947 *) ac_try_echo=$ac_try;;
14949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14950 (eval "$ac_compile") 2>conftest.er1
14952 grep -v '^ *+' conftest.er1 >conftest.err
14954 cat conftest.err >&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && {
14957 test -z "$ac_c_werror_flag" ||
14958 test ! -s conftest.err
14959 } && test -s conftest.$ac_objext; then
14960 ac_cv_prog_cc_g=yes
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14975 ac_c_werror_flag=$ac_save_c_werror_flag
14977 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14978 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14979 if test "$ac_test_CFLAGS" = set; then
14980 CFLAGS=$ac_save_CFLAGS
14981 elif test $ac_cv_prog_cc_g = yes; then
14982 if test "$GCC" = yes; then
14988 if test "$GCC" = yes; then
15002 ac_cpp='$CPP $CPPFLAGS'
15003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15007 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15008 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15009 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 cat >conftest.$ac_ext <<_ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15031 rm -f conftest.$ac_objext
15032 if { (ac_try="$ac_compile"
15033 case "(($ac_try" in
15034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15035 *) ac_try_echo=$ac_try;;
15037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15038 (eval "$ac_compile") 2>conftest.er1
15040 grep -v '^ *+' conftest.er1 >conftest.err
15042 cat conftest.err >&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } && {
15045 test -z "$ac_c_werror_flag" ||
15046 test ! -s conftest.err
15047 } && test -s conftest.$ac_objext; then
15048 bakefile_cv_c_compiler___xlC__=yes
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15053 bakefile_cv_c_compiler___xlC__=no
15057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15061 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15062 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15063 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15087 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15088 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15089 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 cat >conftest.$ac_ext <<_ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15111 rm -f conftest.$ac_objext
15112 if { (ac_try="$ac_compile"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compile") 2>conftest.er1
15120 grep -v '^ *+' conftest.er1 >conftest.err
15122 cat conftest.err >&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } && {
15125 test -z "$ac_c_werror_flag" ||
15126 test ! -s conftest.err
15127 } && test -s conftest.$ac_objext; then
15128 bakefile_cv_c_compiler___MWERKS__=yes
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15133 bakefile_cv_c_compiler___MWERKS__=no
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15142 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15143 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15149 ac_cpp='$CPP $CPPFLAGS'
15150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15159 ac_cpp='$CPP $CPPFLAGS'
15160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15164 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15165 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15166 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15167 echo $ECHO_N "(cached) $ECHO_C" >&6
15169 cat >conftest.$ac_ext <<_ACEOF
15172 cat confdefs.h >>conftest.$ac_ext
15173 cat >>conftest.$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15188 rm -f conftest.$ac_objext
15189 if { (ac_try="$ac_compile"
15190 case "(($ac_try" in
15191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15192 *) ac_try_echo=$ac_try;;
15194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15195 (eval "$ac_compile") 2>conftest.er1
15197 grep -v '^ *+' conftest.er1 >conftest.err
15199 cat conftest.err >&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); } && {
15202 test -z "$ac_c_werror_flag" ||
15203 test ! -s conftest.err
15204 } && test -s conftest.$ac_objext; then
15205 bakefile_cv_c_compiler___xlC__=yes
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15210 bakefile_cv_c_compiler___xlC__=no
15214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15218 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15219 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15220 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15226 ac_cpp='$CPP $CPPFLAGS'
15227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15239 ac_cpp='$CPP $CPPFLAGS'
15240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15244 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15245 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15246 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 cat >conftest.$ac_ext <<_ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h. */
15260 #ifndef _SGI_COMPILER_VERSION
15268 rm -f conftest.$ac_objext
15269 if { (ac_try="$ac_compile"
15270 case "(($ac_try" in
15271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15272 *) ac_try_echo=$ac_try;;
15274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15275 (eval "$ac_compile") 2>conftest.er1
15277 grep -v '^ *+' conftest.er1 >conftest.err
15279 cat conftest.err >&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } && {
15282 test -z "$ac_c_werror_flag" ||
15283 test ! -s conftest.err
15284 } && test -s conftest.$ac_objext; then
15285 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.$ac_ext >&5
15290 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15298 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15299 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15300 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15306 ac_cpp='$CPP $CPPFLAGS'
15307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15319 ac_cpp='$CPP $CPPFLAGS'
15320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15324 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15325 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15326 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 cat >conftest.$ac_ext <<_ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15357 grep -v '^ *+' conftest.er1 >conftest.err
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 bakefile_cv_c_compiler___SUNPRO_C=yes
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15370 bakefile_cv_c_compiler___SUNPRO_C=no
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15378 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15379 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15380 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15399 ac_cpp='$CPP $CPPFLAGS'
15400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15404 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15405 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15406 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15407 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 cat >conftest.$ac_ext <<_ACEOF
15412 cat confdefs.h >>conftest.$ac_ext
15413 cat >>conftest.$ac_ext <<_ACEOF
15414 /* end confdefs.h. */
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15437 grep -v '^ *+' conftest.er1 >conftest.err
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_c_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 bakefile_cv_c_compiler___HP_cc=yes
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15450 bakefile_cv_c_compiler___HP_cc=no
15454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15458 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15459 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15460 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15485 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 cat >conftest.$ac_ext <<_ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15517 grep -v '^ *+' conftest.er1 >conftest.err
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 bakefile_cv_c_compiler___DECC=yes
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15530 bakefile_cv_c_compiler___DECC=no
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15538 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15539 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15540 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15564 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15565 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 cat >conftest.$ac_ext <<_ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15588 rm -f conftest.$ac_objext
15589 if { (ac_try="$ac_compile"
15590 case "(($ac_try" in
15591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15592 *) ac_try_echo=$ac_try;;
15594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15595 (eval "$ac_compile") 2>conftest.er1
15597 grep -v '^ *+' conftest.er1 >conftest.err
15599 cat conftest.err >&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } && {
15602 test -z "$ac_c_werror_flag" ||
15603 test ! -s conftest.err
15604 } && test -s conftest.$ac_objext; then
15605 bakefile_cv_c_compiler___SUNPRO_C=yes
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.$ac_ext >&5
15610 bakefile_cv_c_compiler___SUNPRO_C=no
15614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15618 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15619 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15620 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15626 ac_cpp='$CPP $CPPFLAGS'
15627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15640 ac_cpp='$CPP $CPPFLAGS'
15641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15644 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15645 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15646 # On Suns, sometimes $CPP names a directory.
15647 if test -n "$CPP" && test -d "$CPP"; then
15650 if test -z "$CPP"; then
15651 if test "${ac_cv_prog_CPP+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 # Double quotes because CPP needs to be expanded
15655 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15657 ac_preproc_ok=false
15658 for ac_c_preproc_warn_flag in '' yes
15660 # Use a header file that comes with gcc, so configuring glibc
15661 # with a fresh cross-compiler works.
15662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15663 # <limits.h> exists even on freestanding compilers.
15664 # On the NeXT, cc -E runs the code through the compiler's parser,
15665 # not just through cpp. "Syntax error" is here to catch this case.
15666 cat >conftest.$ac_ext <<_ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15673 # include <limits.h>
15675 # include <assert.h>
15679 if { (ac_try="$ac_cpp conftest.$ac_ext"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15682 *) ac_try_echo=$ac_try;;
15684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15687 grep -v '^ *+' conftest.er1 >conftest.err
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } >/dev/null && {
15692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15693 test ! -s conftest.err
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15700 # Broken: fails on valid input.
15704 rm -f conftest.err conftest.$ac_ext
15706 # OK, works on sane cases. Now check whether nonexistent headers
15707 # can be detected and how.
15708 cat >conftest.$ac_ext <<_ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15714 #include <ac_nonexistent.h>
15716 if { (ac_try="$ac_cpp conftest.$ac_ext"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15724 grep -v '^ *+' conftest.er1 >conftest.err
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } >/dev/null && {
15729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15730 test ! -s conftest.err
15732 # Broken: success on invalid input.
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15738 # Passes both tests.
15743 rm -f conftest.err conftest.$ac_ext
15746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15747 rm -f conftest.err conftest.$ac_ext
15748 if $ac_preproc_ok; then
15753 ac_cv_prog_CPP=$CPP
15756 CPP=$ac_cv_prog_CPP
15758 ac_cv_prog_CPP=$CPP
15760 { echo "$as_me:$LINENO: result: $CPP" >&5
15761 echo "${ECHO_T}$CPP" >&6; }
15762 ac_preproc_ok=false
15763 for ac_c_preproc_warn_flag in '' yes
15765 # Use a header file that comes with gcc, so configuring glibc
15766 # with a fresh cross-compiler works.
15767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15768 # <limits.h> exists even on freestanding compilers.
15769 # On the NeXT, cc -E runs the code through the compiler's parser,
15770 # not just through cpp. "Syntax error" is here to catch this case.
15771 cat >conftest.$ac_ext <<_ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15778 # include <limits.h>
15780 # include <assert.h>
15784 if { (ac_try="$ac_cpp conftest.$ac_ext"
15785 case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15792 grep -v '^ *+' conftest.er1 >conftest.err
15794 cat conftest.err >&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } >/dev/null && {
15797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15798 test ! -s conftest.err
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15805 # Broken: fails on valid input.
15809 rm -f conftest.err conftest.$ac_ext
15811 # OK, works on sane cases. Now check whether nonexistent headers
15812 # can be detected and how.
15813 cat >conftest.$ac_ext <<_ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 #include <ac_nonexistent.h>
15821 if { (ac_try="$ac_cpp conftest.$ac_ext"
15822 case "(($ac_try" in
15823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15824 *) ac_try_echo=$ac_try;;
15826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15829 grep -v '^ *+' conftest.er1 >conftest.err
15831 cat conftest.err >&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } >/dev/null && {
15834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15835 test ! -s conftest.err
15837 # Broken: success on invalid input.
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.$ac_ext >&5
15843 # Passes both tests.
15848 rm -f conftest.err conftest.$ac_ext
15851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15852 rm -f conftest.err conftest.$ac_ext
15853 if $ac_preproc_ok; then
15856 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15857 See \`config.log' for more details." >&5
15858 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15859 See \`config.log' for more details." >&2;}
15860 { (exit 1); exit 1; }; }
15864 ac_cpp='$CPP $CPPFLAGS'
15865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15870 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15871 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15872 if test "${ac_cv_path_GREP+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 # Extract the first word of "grep ggrep" to use in msg output
15876 if test -z "$GREP"; then
15877 set dummy grep ggrep; ac_prog_name=$2
15878 if test "${ac_cv_path_GREP+set}" = set; then
15879 echo $ECHO_N "(cached) $ECHO_C" >&6
15881 ac_path_GREP_found=false
15882 # Loop through the user's path and test for each of PROGNAME-LIST
15883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15884 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15887 test -z "$as_dir" && as_dir=.
15888 for ac_prog in grep ggrep; do
15889 for ac_exec_ext in '' $ac_executable_extensions; do
15890 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15891 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15892 # Check for GNU ac_path_GREP and select it if it is found.
15893 # Check for GNU $ac_path_GREP
15894 case `"$ac_path_GREP" --version 2>&1` in
15896 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15899 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15902 cat "conftest.in" "conftest.in" >"conftest.tmp"
15903 mv "conftest.tmp" "conftest.in"
15904 cp "conftest.in" "conftest.nl"
15905 echo 'GREP' >> "conftest.nl"
15906 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15907 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15908 ac_count=`expr $ac_count + 1`
15909 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15910 # Best one so far, save it but keep looking for a better one
15911 ac_cv_path_GREP="$ac_path_GREP"
15912 ac_path_GREP_max=$ac_count
15914 # 10*(2^10) chars as input seems more than enough
15915 test $ac_count -gt 10 && break
15917 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15921 $ac_path_GREP_found && break 3
15931 GREP="$ac_cv_path_GREP"
15932 if test -z "$GREP"; then
15933 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15934 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15935 { (exit 1); exit 1; }; }
15939 ac_cv_path_GREP=$GREP
15944 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15945 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15946 GREP="$ac_cv_path_GREP"
15949 { echo "$as_me:$LINENO: checking for egrep" >&5
15950 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15951 if test "${ac_cv_path_EGREP+set}" = set; then
15952 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15955 then ac_cv_path_EGREP="$GREP -E"
15957 # Extract the first word of "egrep" to use in msg output
15958 if test -z "$EGREP"; then
15959 set dummy egrep; ac_prog_name=$2
15960 if test "${ac_cv_path_EGREP+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 ac_path_EGREP_found=false
15964 # Loop through the user's path and test for each of PROGNAME-LIST
15965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15966 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15969 test -z "$as_dir" && as_dir=.
15970 for ac_prog in egrep; do
15971 for ac_exec_ext in '' $ac_executable_extensions; do
15972 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15973 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15974 # Check for GNU ac_path_EGREP and select it if it is found.
15975 # Check for GNU $ac_path_EGREP
15976 case `"$ac_path_EGREP" --version 2>&1` in
15978 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15981 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15984 cat "conftest.in" "conftest.in" >"conftest.tmp"
15985 mv "conftest.tmp" "conftest.in"
15986 cp "conftest.in" "conftest.nl"
15987 echo 'EGREP' >> "conftest.nl"
15988 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15989 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15990 ac_count=`expr $ac_count + 1`
15991 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15992 # Best one so far, save it but keep looking for a better one
15993 ac_cv_path_EGREP="$ac_path_EGREP"
15994 ac_path_EGREP_max=$ac_count
15996 # 10*(2^10) chars as input seems more than enough
15997 test $ac_count -gt 10 && break
15999 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16003 $ac_path_EGREP_found && break 3
16013 EGREP="$ac_cv_path_EGREP"
16014 if test -z "$EGREP"; then
16015 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16016 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16017 { (exit 1); exit 1; }; }
16021 ac_cv_path_EGREP=$EGREP
16027 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16028 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16029 EGREP="$ac_cv_path_EGREP"
16032 if test $ac_cv_c_compiler_gnu = yes; then
16033 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16034 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16035 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 ac_pattern="Autoconf.*'x'"
16039 cat >conftest.$ac_ext <<_ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16049 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16050 ac_cv_prog_gcc_traditional=yes
16052 ac_cv_prog_gcc_traditional=no
16057 if test $ac_cv_prog_gcc_traditional = no; then
16058 cat >conftest.$ac_ext <<_ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 #include <termio.h>
16067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16068 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16069 ac_cv_prog_gcc_traditional=yes
16075 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16076 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16077 if test $ac_cv_prog_gcc_traditional = yes; then
16078 CC="$CC -traditional"
16083 CXXFLAGS=${CXXFLAGS:=}
16088 ac_cpp='$CXXCPP $CPPFLAGS'
16089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16092 if test -z "$CXX"; then
16093 if test -n "$CCC"; then
16096 if test -n "$ac_tool_prefix"; then
16097 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16103 if test "${ac_cv_prog_CXX+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 if test -n "$CXX"; then
16107 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH
16113 test -z "$as_dir" && as_dir=.
16114 for ac_exec_ext in '' $ac_executable_extensions; do
16115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16116 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16126 CXX=$ac_cv_prog_CXX
16127 if test -n "$CXX"; then
16128 { echo "$as_me:$LINENO: result: $CXX" >&5
16129 echo "${ECHO_T}$CXX" >&6; }
16131 { echo "$as_me:$LINENO: result: no" >&5
16132 echo "${ECHO_T}no" >&6; }
16136 test -n "$CXX" && break
16139 if test -z "$CXX"; then
16141 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16143 # Extract the first word of "$ac_prog", so it can be a program name with args.
16144 set dummy $ac_prog; ac_word=$2
16145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16147 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16148 echo $ECHO_N "(cached) $ECHO_C" >&6
16150 if test -n "$ac_ct_CXX"; then
16151 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16154 for as_dir in $PATH
16157 test -z "$as_dir" && as_dir=.
16158 for ac_exec_ext in '' $ac_executable_extensions; do
16159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16160 ac_cv_prog_ac_ct_CXX="$ac_prog"
16161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16170 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16171 if test -n "$ac_ct_CXX"; then
16172 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16173 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16175 { echo "$as_me:$LINENO: result: no" >&5
16176 echo "${ECHO_T}no" >&6; }
16180 test -n "$ac_ct_CXX" && break
16183 if test "x$ac_ct_CXX" = x; then
16186 case $cross_compiling:$ac_tool_warned in
16188 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16189 whose name does not start with the host triplet. If you think this
16190 configuration is useful to you, please write to autoconf@gnu.org." >&5
16191 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16192 whose name does not start with the host triplet. If you think this
16193 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16194 ac_tool_warned=yes ;;
16202 # Provide some information about the compiler.
16203 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16204 ac_compiler=`set X $ac_compile; echo $2`
16205 { (ac_try="$ac_compiler --version >&5"
16206 case "(($ac_try" in
16207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16208 *) ac_try_echo=$ac_try;;
16210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16211 (eval "$ac_compiler --version >&5") 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }
16215 { (ac_try="$ac_compiler -v >&5"
16216 case "(($ac_try" in
16217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16218 *) ac_try_echo=$ac_try;;
16220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16221 (eval "$ac_compiler -v >&5") 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }
16225 { (ac_try="$ac_compiler -V >&5"
16226 case "(($ac_try" in
16227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16228 *) ac_try_echo=$ac_try;;
16230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16231 (eval "$ac_compiler -V >&5") 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }
16236 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 cat >conftest.$ac_ext <<_ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16259 rm -f conftest.$ac_objext
16260 if { (ac_try="$ac_compile"
16261 case "(($ac_try" in
16262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16263 *) ac_try_echo=$ac_try;;
16265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16266 (eval "$ac_compile") 2>conftest.er1
16268 grep -v '^ *+' conftest.er1 >conftest.err
16270 cat conftest.err >&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } && {
16273 test -z "$ac_cxx_werror_flag" ||
16274 test ! -s conftest.err
16275 } && test -s conftest.$ac_objext; then
16276 ac_compiler_gnu=yes
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16285 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16288 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16289 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16290 GXX=`test $ac_compiler_gnu = yes && echo yes`
16291 ac_test_CXXFLAGS=${CXXFLAGS+set}
16292 ac_save_CXXFLAGS=$CXXFLAGS
16293 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16294 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16295 if test "${ac_cv_prog_cxx_g+set}" = set; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16299 ac_cxx_werror_flag=yes
16300 ac_cv_prog_cxx_g=no
16302 cat >conftest.$ac_ext <<_ACEOF
16305 cat confdefs.h >>conftest.$ac_ext
16306 cat >>conftest.$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16317 rm -f conftest.$ac_objext
16318 if { (ac_try="$ac_compile"
16319 case "(($ac_try" in
16320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16321 *) ac_try_echo=$ac_try;;
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_compile") 2>conftest.er1
16326 grep -v '^ *+' conftest.er1 >conftest.err
16328 cat conftest.err >&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } && {
16331 test -z "$ac_cxx_werror_flag" ||
16332 test ! -s conftest.err
16333 } && test -s conftest.$ac_objext; then
16334 ac_cv_prog_cxx_g=yes
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16340 cat >conftest.$ac_ext <<_ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16355 rm -f conftest.$ac_objext
16356 if { (ac_try="$ac_compile"
16357 case "(($ac_try" in
16358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16359 *) ac_try_echo=$ac_try;;
16361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16362 (eval "$ac_compile") 2>conftest.er1
16364 grep -v '^ *+' conftest.er1 >conftest.err
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } && {
16369 test -z "$ac_cxx_werror_flag" ||
16370 test ! -s conftest.err
16371 } && test -s conftest.$ac_objext; then
16374 echo "$as_me: failed program was:" >&5
16375 sed 's/^/| /' conftest.$ac_ext >&5
16377 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16379 cat >conftest.$ac_ext <<_ACEOF
16382 cat confdefs.h >>conftest.$ac_ext
16383 cat >>conftest.$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16394 rm -f conftest.$ac_objext
16395 if { (ac_try="$ac_compile"
16396 case "(($ac_try" in
16397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16398 *) ac_try_echo=$ac_try;;
16400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 (eval "$ac_compile") 2>conftest.er1
16403 grep -v '^ *+' conftest.er1 >conftest.err
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } && {
16408 test -z "$ac_cxx_werror_flag" ||
16409 test ! -s conftest.err
16410 } && test -s conftest.$ac_objext; then
16411 ac_cv_prog_cxx_g=yes
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.$ac_ext >&5
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16426 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16428 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16429 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16430 if test "$ac_test_CXXFLAGS" = set; then
16431 CXXFLAGS=$ac_save_CXXFLAGS
16432 elif test $ac_cv_prog_cxx_g = yes; then
16433 if test "$GXX" = yes; then
16439 if test "$GXX" = yes; then
16446 ac_cpp='$CPP $CPPFLAGS'
16447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16455 ac_cpp='$CXXCPP $CPPFLAGS'
16456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16460 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16461 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16462 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 cat >conftest.$ac_ext <<_ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16476 #ifndef __INTEL_COMPILER
16484 rm -f conftest.$ac_objext
16485 if { (ac_try="$ac_compile"
16486 case "(($ac_try" in
16487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16488 *) ac_try_echo=$ac_try;;
16490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16491 (eval "$ac_compile") 2>conftest.er1
16493 grep -v '^ *+' conftest.er1 >conftest.err
16495 cat conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && {
16498 test -z "$ac_cxx_werror_flag" ||
16499 test ! -s conftest.err
16500 } && test -s conftest.$ac_objext; then
16501 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.$ac_ext >&5
16506 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16514 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16515 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16516 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16522 ac_cpp='$CPP $CPPFLAGS'
16523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16530 if test "x$GCXX" != "xyes"; then
16531 if test "xCXX" = "xC"; then
16532 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16533 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16534 if test "${bakefile_cv_c_exto+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 cat >conftest.$ac_ext <<_ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16552 rm -f conftest.$ac_objext conftest.$ac_ext.o
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; then
16558 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16560 conftest.$ac_ext.o)
16561 bakefile_cv_c_exto="-ext o"
16568 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16569 See \`config.log' for more details." >&5
16570 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16571 See \`config.log' for more details." >&2;}
16572 { (exit 1); exit 1; }; }
16576 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16579 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16580 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16581 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16582 if test "c" = "c"; then
16583 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16585 if test "c" = "cxx"; then
16586 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16590 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16591 unset ac_cv_prog_cc_g
16592 ac_test_CFLAGS=${CFLAGS+set}
16593 ac_save_CFLAGS=$CFLAGS
16594 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16595 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16596 if test "${ac_cv_prog_cc_g+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 ac_save_c_werror_flag=$ac_c_werror_flag
16600 ac_c_werror_flag=yes
16603 cat >conftest.$ac_ext <<_ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16618 rm -f conftest.$ac_objext
16619 if { (ac_try="$ac_compile"
16620 case "(($ac_try" in
16621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_compile") 2>conftest.er1
16627 grep -v '^ *+' conftest.er1 >conftest.err
16629 cat conftest.err >&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } && {
16632 test -z "$ac_c_werror_flag" ||
16633 test ! -s conftest.err
16634 } && test -s conftest.$ac_objext; then
16635 ac_cv_prog_cc_g=yes
16637 echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.$ac_ext >&5
16641 cat >conftest.$ac_ext <<_ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16656 rm -f conftest.$ac_objext
16657 if { (ac_try="$ac_compile"
16658 case "(($ac_try" in
16659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16660 *) ac_try_echo=$ac_try;;
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_compile") 2>conftest.er1
16665 grep -v '^ *+' conftest.er1 >conftest.err
16667 cat conftest.err >&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } && {
16670 test -z "$ac_c_werror_flag" ||
16671 test ! -s conftest.err
16672 } && test -s conftest.$ac_objext; then
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16678 ac_c_werror_flag=$ac_save_c_werror_flag
16680 cat >conftest.$ac_ext <<_ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16695 rm -f conftest.$ac_objext
16696 if { (ac_try="$ac_compile"
16697 case "(($ac_try" in
16698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16699 *) ac_try_echo=$ac_try;;
16701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16702 (eval "$ac_compile") 2>conftest.er1
16704 grep -v '^ *+' conftest.er1 >conftest.err
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && {
16709 test -z "$ac_c_werror_flag" ||
16710 test ! -s conftest.err
16711 } && test -s conftest.$ac_objext; then
16712 ac_cv_prog_cc_g=yes
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16727 ac_c_werror_flag=$ac_save_c_werror_flag
16729 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16730 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16731 if test "$ac_test_CFLAGS" = set; then
16732 CFLAGS=$ac_save_CFLAGS
16733 elif test $ac_cv_prog_cc_g = yes; then
16734 if test "$GCC" = yes; then
16740 if test "$GCC" = yes; then
16754 ac_cpp='$CXXCPP $CPPFLAGS'
16755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16759 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16760 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16761 if test "${bakefile_cv_cxx_compiler___xlC__+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. */
16783 rm -f conftest.$ac_objext
16784 if { (ac_try="$ac_compile"
16785 case "(($ac_try" in
16786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787 *) ac_try_echo=$ac_try;;
16789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16790 (eval "$ac_compile") 2>conftest.er1
16792 grep -v '^ *+' conftest.er1 >conftest.err
16794 cat conftest.err >&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } && {
16797 test -z "$ac_cxx_werror_flag" ||
16798 test ! -s conftest.err
16799 } && test -s conftest.$ac_objext; then
16800 bakefile_cv_cxx_compiler___xlC__=yes
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16805 bakefile_cv_cxx_compiler___xlC__=no
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16814 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16815 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16821 ac_cpp='$CPP $CPPFLAGS'
16822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16834 ac_cpp='$CXXCPP $CPPFLAGS'
16835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16839 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16840 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16841 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16842 echo $ECHO_N "(cached) $ECHO_C" >&6
16844 cat >conftest.$ac_ext <<_ACEOF
16847 cat confdefs.h >>conftest.$ac_ext
16848 cat >>conftest.$ac_ext <<_ACEOF
16849 /* end confdefs.h. */
16863 rm -f conftest.$ac_objext
16864 if { (ac_try="$ac_compile"
16865 case "(($ac_try" in
16866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16867 *) ac_try_echo=$ac_try;;
16869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16870 (eval "$ac_compile") 2>conftest.er1
16872 grep -v '^ *+' conftest.er1 >conftest.err
16874 cat conftest.err >&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); } && {
16877 test -z "$ac_cxx_werror_flag" ||
16878 test ! -s conftest.err
16879 } && test -s conftest.$ac_objext; then
16880 bakefile_cv_cxx_compiler___MWERKS__=yes
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.$ac_ext >&5
16885 bakefile_cv_cxx_compiler___MWERKS__=no
16889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16893 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16894 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16895 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16901 ac_cpp='$CPP $CPPFLAGS'
16902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16911 ac_cpp='$CXXCPP $CPPFLAGS'
16912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16916 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16917 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16918 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 cat >conftest.$ac_ext <<_ACEOF
16924 cat confdefs.h >>conftest.$ac_ext
16925 cat >>conftest.$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16940 rm -f conftest.$ac_objext
16941 if { (ac_try="$ac_compile"
16942 case "(($ac_try" in
16943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16947 (eval "$ac_compile") 2>conftest.er1
16949 grep -v '^ *+' conftest.er1 >conftest.err
16951 cat conftest.err >&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } && {
16954 test -z "$ac_cxx_werror_flag" ||
16955 test ! -s conftest.err
16956 } && test -s conftest.$ac_objext; then
16957 bakefile_cv_cxx_compiler___xlC__=yes
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16962 bakefile_cv_cxx_compiler___xlC__=no
16966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16970 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16972 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16978 ac_cpp='$CPP $CPPFLAGS'
16979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16991 ac_cpp='$CXXCPP $CPPFLAGS'
16992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16996 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16997 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16998 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 cat >conftest.$ac_ext <<_ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17012 #ifndef _SGI_COMPILER_VERSION
17020 rm -f conftest.$ac_objext
17021 if { (ac_try="$ac_compile"
17022 case "(($ac_try" in
17023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17024 *) ac_try_echo=$ac_try;;
17026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17027 (eval "$ac_compile") 2>conftest.er1
17029 grep -v '^ *+' conftest.er1 >conftest.err
17031 cat conftest.err >&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } && {
17034 test -z "$ac_cxx_werror_flag" ||
17035 test ! -s conftest.err
17036 } && test -s conftest.$ac_objext; then
17037 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17051 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17052 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17058 ac_cpp='$CPP $CPPFLAGS'
17059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17071 ac_cpp='$CXXCPP $CPPFLAGS'
17072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17076 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17077 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17078 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 cat >conftest.$ac_ext <<_ACEOF
17084 cat confdefs.h >>conftest.$ac_ext
17085 cat >>conftest.$ac_ext <<_ACEOF
17086 /* end confdefs.h. */
17092 #ifndef __SUNPRO_CC
17100 rm -f conftest.$ac_objext
17101 if { (ac_try="$ac_compile"
17102 case "(($ac_try" in
17103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_compile") 2>conftest.er1
17109 grep -v '^ *+' conftest.er1 >conftest.err
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_cxx_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest.$ac_objext; then
17117 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17122 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17131 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17132 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17138 ac_cpp='$CPP $CPPFLAGS'
17139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17151 ac_cpp='$CXXCPP $CPPFLAGS'
17152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17156 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17157 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17158 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 cat >conftest.$ac_ext <<_ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17180 rm -f conftest.$ac_objext
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1 >conftest.err
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_cxx_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 bakefile_cv_cxx_compiler___HP_aCC=yes
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17202 bakefile_cv_cxx_compiler___HP_aCC=no
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17211 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17212 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17231 ac_cpp='$CXXCPP $CPPFLAGS'
17232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17236 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17237 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17238 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 cat >conftest.$ac_ext <<_ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17260 rm -f conftest.$ac_objext
17261 if { (ac_try="$ac_compile"
17262 case "(($ac_try" in
17263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17264 *) ac_try_echo=$ac_try;;
17266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17267 (eval "$ac_compile") 2>conftest.er1
17269 grep -v '^ *+' conftest.er1 >conftest.err
17271 cat conftest.err >&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } && {
17274 test -z "$ac_cxx_werror_flag" ||
17275 test ! -s conftest.err
17276 } && test -s conftest.$ac_objext; then
17277 bakefile_cv_cxx_compiler___DECCXX=yes
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17282 bakefile_cv_cxx_compiler___DECCXX=no
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17291 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17292 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17311 ac_cpp='$CXXCPP $CPPFLAGS'
17312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17316 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17317 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17318 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 cat >conftest.$ac_ext <<_ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17332 #ifndef __SUNPRO_CC
17340 rm -f conftest.$ac_objext
17341 if { (ac_try="$ac_compile"
17342 case "(($ac_try" in
17343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17344 *) ac_try_echo=$ac_try;;
17346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17347 (eval "$ac_compile") 2>conftest.er1
17349 grep -v '^ *+' conftest.er1 >conftest.err
17351 cat conftest.err >&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } && {
17354 test -z "$ac_cxx_werror_flag" ||
17355 test ! -s conftest.err
17356 } && test -s conftest.$ac_objext; then
17357 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.$ac_ext >&5
17362 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17371 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17372 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17378 ac_cpp='$CPP $CPPFLAGS'
17379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17391 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17392 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17393 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17394 { (exit 1); exit 1; }; }
17397 if test "x$SUNCXX" != xyes; then
17398 if test -n "$ac_tool_prefix"; then
17399 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17400 set dummy ${ac_tool_prefix}ar; ac_word=$2
17401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17403 if test "${ac_cv_prog_AR+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 if test -n "$AR"; then
17407 ac_cv_prog_AR="$AR" # Let the user override the test.
17409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17410 for as_dir in $PATH
17413 test -z "$as_dir" && as_dir=.
17414 for ac_exec_ext in '' $ac_executable_extensions; do
17415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17416 ac_cv_prog_AR="${ac_tool_prefix}ar"
17417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17427 if test -n "$AR"; then
17428 { echo "$as_me:$LINENO: result: $AR" >&5
17429 echo "${ECHO_T}$AR" >&6; }
17431 { echo "$as_me:$LINENO: result: no" >&5
17432 echo "${ECHO_T}no" >&6; }
17437 if test -z "$ac_cv_prog_AR"; then
17439 # Extract the first word of "ar", so it can be a program name with args.
17440 set dummy ar; ac_word=$2
17441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17443 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 if test -n "$ac_ct_AR"; then
17447 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17450 for as_dir in $PATH
17453 test -z "$as_dir" && as_dir=.
17454 for ac_exec_ext in '' $ac_executable_extensions; do
17455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17456 ac_cv_prog_ac_ct_AR="ar"
17457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17466 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17467 if test -n "$ac_ct_AR"; then
17468 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17469 echo "${ECHO_T}$ac_ct_AR" >&6; }
17471 { echo "$as_me:$LINENO: result: no" >&5
17472 echo "${ECHO_T}no" >&6; }
17475 if test "x$ac_ct_AR" = x; then
17478 case $cross_compiling:$ac_tool_warned in
17480 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17481 whose name does not start with the host triplet. If you think this
17482 configuration is useful to you, please write to autoconf@gnu.org." >&5
17483 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17484 whose name does not start with the host triplet. If you think this
17485 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17486 ac_tool_warned=yes ;;
17491 AR="$ac_cv_prog_AR"
17494 if test "x$AR" = "x" ; then
17495 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17496 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17497 { (exit 1); exit 1; }; }
17501 retest_macosx_linking=no
17503 #if test "$wxUSE_MAC" = 1; then
17504 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17505 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17506 # Implicitly turn on the new --with-macosx-sdk using the default
17507 # SDK which provides the behavior this option has always had.
17508 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17509 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17510 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17511 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17512 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17513 wxUSE_MACOSX_SDK=yes
17516 # Complain to user if he specified an argument to --enable-universal_binary
17517 # and also 1) specified --with-macosx-sdk using the default (yes) or
17518 # 2) specified --with-macosx-sdk using a path or 3) specified
17519 # --without-macosx-sdk (no).
17520 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17521 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17522 See \`config.log' for more details." >&5
17523 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17524 See \`config.log' for more details." >&2;}
17525 { (exit 1); exit 1; }; }
17527 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17528 # special-case the empty string because the below test simply
17529 # converts "no" to the empty string anyway.
17530 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17531 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17532 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17535 OSX_UNIV_OPTS="-arch ppc -arch i386"
17536 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17537 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17538 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17539 retest_macosx_linking=yes
17541 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17542 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17547 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17549 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17550 # TODO: Search for most recent SDK and use it.
17551 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17555 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17556 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17557 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17558 if ! test -d "$wxUSE_MACOSX_SDK"; then
17559 { { echo "$as_me:$LINENO: error: not found
17560 See \`config.log' for more details." >&5
17561 echo "$as_me: error: not found
17562 See \`config.log' for more details." >&2;}
17563 { (exit 1); exit 1; }; }
17565 { echo "$as_me:$LINENO: result: exists" >&5
17566 echo "${ECHO_T}exists" >&6; }
17568 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17569 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17570 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17571 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17572 retest_macosx_linking=yes
17575 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17576 wxUSE_MACOSX_VERSION_MIN=
17577 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17578 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17579 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17580 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17582 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/'`
17584 # If that failed, try again with the new key
17585 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17587 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/'`
17591 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17592 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17593 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17594 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17596 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17597 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17598 wxUSE_MACOSX_VERSION_MIN=
17601 wxUSE_MACOSX_VERSION_MIN=
17605 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17606 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17607 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17608 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17609 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17610 retest_macosx_linking=yes
17613 if test "x$retest_macosx_linking" = "xyes"; then
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17620 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17621 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17622 cat >conftest.$ac_ext <<_ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17637 rm -f conftest.$ac_objext conftest$ac_exeext
17638 if { (ac_try="$ac_link"
17639 case "(($ac_try" in
17640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17641 *) ac_try_echo=$ac_try;;
17643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_link") 2>conftest.er1
17646 grep -v '^ *+' conftest.er1 >conftest.err
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } && {
17651 test -z "$ac_c_werror_flag" ||
17652 test ! -s conftest.err
17653 } && test -s conftest$ac_exeext &&
17654 $as_test_x conftest$ac_exeext; then
17655 { echo "$as_me:$LINENO: result: yes" >&5
17656 echo "${ECHO_T}yes" >&6; }
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.$ac_ext >&5
17661 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17662 See \`config.log' for more details." >&5
17663 echo "$as_me: error: no. Try a different SDK
17664 See \`config.log' for more details." >&2;}
17665 { (exit 1); exit 1; }; }; exit 1
17668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17669 conftest$ac_exeext conftest.$ac_ext
17671 ac_cpp='$CPP $CPPFLAGS'
17672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17678 ac_cpp='$CXXCPP $CPPFLAGS'
17679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17683 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17684 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17685 cat >conftest.$ac_ext <<_ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17700 rm -f conftest.$ac_objext conftest$ac_exeext
17701 if { (ac_try="$ac_link"
17702 case "(($ac_try" in
17703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704 *) ac_try_echo=$ac_try;;
17706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707 (eval "$ac_link") 2>conftest.er1
17709 grep -v '^ *+' conftest.er1 >conftest.err
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_cxx_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest$ac_exeext &&
17717 $as_test_x conftest$ac_exeext; then
17718 { echo "$as_me:$LINENO: result: yes" >&5
17719 echo "${ECHO_T}yes" >&6; }
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17724 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17725 See \`config.log' for more details." >&5
17726 echo "$as_me: error: no. Try a different SDK
17727 See \`config.log' for more details." >&2;}
17728 { (exit 1); exit 1; }; }; exit 1
17731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17732 conftest$ac_exeext conftest.$ac_ext
17734 ac_cpp='$CPP $CPPFLAGS'
17735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17745 INSTALL_PROGRAM="cp -fp"
17746 INSTALL_DATA="cp -fp"
17753 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17754 CXXFLAGS="-qunique $CXXFLAGS"
17758 powerpc-*-darwin* )
17759 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17760 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17761 cat >conftest.$ac_ext <<_ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17771 #ifndef __POWERPC__
17772 choke me for lack of PowerPC
17779 rm -f conftest.$ac_objext
17780 if { (ac_try="$ac_compile"
17781 case "(($ac_try" in
17782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17783 *) ac_try_echo=$ac_try;;
17785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786 (eval "$ac_compile") 2>conftest.er1
17788 grep -v '^ *+' conftest.er1 >conftest.err
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } && {
17793 test -z "$ac_c_werror_flag" ||
17794 test ! -s conftest.err
17795 } && test -s conftest.$ac_objext; then
17796 { echo "$as_me:$LINENO: result: yes" >&5
17797 echo "${ECHO_T}yes" >&6; }
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5
17802 { echo "$as_me:$LINENO: result: no" >&5
17803 echo "${ECHO_T}no" >&6; }
17804 cat >>confdefs.h <<\_ACEOF
17805 #define __POWERPC__ 1
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17818 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 #include <CoreFoundation/CFBase.h>
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17844 grep -v '^ *+' conftest.er1 >conftest.err
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.$ac_objext; then
17852 { echo "$as_me:$LINENO: result: yes" >&5
17853 echo "${ECHO_T}yes" >&6; }
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17858 { echo "$as_me:$LINENO: result: no" >&5
17859 echo "${ECHO_T}no" >&6; }
17860 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17861 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17862 cat >conftest.$ac_ext <<_ACEOF
17865 cat confdefs.h >>conftest.$ac_ext
17866 cat >>conftest.$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 #define __CF_USE_FRAMEWORK_INCLUDES__
17869 #include <CoreFoundation/CFBase.h>
17879 rm -f conftest.$ac_objext
17880 if { (ac_try="$ac_compile"
17881 case "(($ac_try" in
17882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17883 *) ac_try_echo=$ac_try;;
17885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17886 (eval "$ac_compile") 2>conftest.er1
17888 grep -v '^ *+' conftest.er1 >conftest.err
17890 cat conftest.err >&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } && {
17893 test -z "$ac_c_werror_flag" ||
17894 test ! -s conftest.err
17895 } && test -s conftest.$ac_objext; then
17896 { echo "$as_me:$LINENO: result: yes" >&5
17897 echo "${ECHO_T}yes" >&6; }
17898 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17903 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17904 See \`config.log' for more details." >&5
17905 echo "$as_me: error: no. CoreFoundation not available.
17906 See \`config.log' for more details." >&2;}
17907 { (exit 1); exit 1; }; }
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921 doesnt_want_win32=0
17924 if test "$wxUSE_MSW" = 1 ; then
17927 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17928 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17929 if test "${wx_cv_nocygwin+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 cat >conftest.$ac_ext <<_ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17961 grep -v '^ *+' conftest.er1 >conftest.err
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17983 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17985 if test "$wx_cv_nocygwin" = "yes"; then
17988 doesnt_want_win32=1
17991 if test "$wants_win32" = 1 ; then
17992 BAKEFILE_FORCE_PLATFORM=win32
18000 if test "$wxUSE_WINE" = "yes"; then
18002 LDFLAGS_GUI="-mwindows"
18005 if test "$wants_win32" = 1 ; then
18008 cat >>confdefs.h <<\_ACEOF
18009 #define __WIN32__ 1
18012 cat >>confdefs.h <<\_ACEOF
18013 #define __WIN95__ 1
18016 cat >>confdefs.h <<\_ACEOF
18017 #define __WINDOWS__ 1
18020 cat >>confdefs.h <<\_ACEOF
18021 #define __GNUWIN32__ 1
18024 cat >>confdefs.h <<\_ACEOF
18029 if test "$doesnt_want_win32" = 1 ; then
18034 if test "$USE_UNIX" = 1 ; then
18036 cat >>confdefs.h <<\_ACEOF
18043 *-pc-os2_emx | *-pc-os2-emx )
18044 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18045 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18046 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18047 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18048 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 ac_check_lib_save_LIBS=$LIBS
18051 LIBS="-lcExt $LIBS"
18052 cat >conftest.$ac_ext <<_ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18059 /* Override any GCC internal prototype to avoid an error.
18060 Use char because int might match the return type of a GCC
18061 builtin and then its argument prototype would still apply. */
18074 rm -f conftest.$ac_objext conftest$ac_exeext
18075 if { (ac_try="$ac_link"
18076 case "(($ac_try" in
18077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18078 *) ac_try_echo=$ac_try;;
18080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18081 (eval "$ac_link") 2>conftest.er1
18083 grep -v '^ *+' conftest.er1 >conftest.err
18085 cat conftest.err >&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } && {
18088 test -z "$ac_c_werror_flag" ||
18089 test ! -s conftest.err
18090 } && test -s conftest$ac_exeext &&
18091 $as_test_x conftest$ac_exeext; then
18092 ac_cv_lib_cExt_drand48=yes
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 ac_cv_lib_cExt_drand48=no
18100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18101 conftest$ac_exeext conftest.$ac_ext
18102 LIBS=$ac_check_lib_save_LIBS
18104 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18105 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18106 if test $ac_cv_lib_cExt_drand48 = yes; then
18107 LIBS="$LIBS -lcExt"
18111 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18113 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18114 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18115 if test "${wx_cv_gccversion+set}" = set; then
18116 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 if test "$cross_compiling" = yes; then
18120 wx_cv_gccversion="EMX2"
18123 cat >conftest.$ac_ext <<_ACEOF
18126 cat confdefs.h >>conftest.$ac_ext
18127 cat >>conftest.$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18134 FILE *f=fopen("conftestval", "w");
18139 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18141 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18151 rm -f conftest$ac_exeext
18152 if { (ac_try="$ac_link"
18153 case "(($ac_try" in
18154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18155 *) ac_try_echo=$ac_try;;
18157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18158 (eval "$ac_link") 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18162 { (case "(($ac_try" in
18163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18164 *) ac_try_echo=$ac_try;;
18166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18167 (eval "$ac_try") 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 wx_cv_gccversion=`cat conftestval`
18173 echo "$as_me: program exited with status $ac_status" >&5
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 ( exit $ac_status )
18178 wx_cv_gccversion="EMX2"
18180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18186 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18187 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18188 if test "$wx_cv_gccversion" = "EMX2"; then
18189 LIBS="$LIBS -lstdcpp"
18190 LDFLAGS="$LDFLAGS -Zsysv-signals"
18192 if test "$wx_cv_gccversion" = "EMX3"; then
18193 LIBS="$LIBS -lstdcxx -lgcc"
18194 LDFLAGS="$LDFLAGS -Zsysv-signals"
18196 LIBS="$LIBS -lstdc++"
18199 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18200 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18201 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18208 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18209 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18210 if test "${ac_cv_string_strcasecmp+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 cat >conftest.$ac_ext <<_ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18221 #include <string.h>
18227 strcasecmp("foo", "bar");
18233 rm -f conftest.$ac_objext conftest$ac_exeext
18234 if { (ac_try="$ac_link"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_link") 2>conftest.er1
18242 grep -v '^ *+' conftest.er1 >conftest.err
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest$ac_exeext &&
18250 $as_test_x conftest$ac_exeext; then
18251 ac_cv_string_strcasecmp=yes
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_string_strcasecmp=no
18260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18261 conftest$ac_exeext conftest.$ac_ext
18264 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18265 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18267 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18268 cat >>confdefs.h <<\_ACEOF
18269 #define HAVE_STRCASECMP_IN_STRING_H 1
18273 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18274 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18275 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18276 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 cat >conftest.$ac_ext <<_ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18286 #include <strings.h>
18292 strcasecmp("foo", "bar");
18298 rm -f conftest.$ac_objext conftest$ac_exeext
18299 if { (ac_try="$ac_link"
18300 case "(($ac_try" in
18301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_link") 2>conftest.er1
18307 grep -v '^ *+' conftest.er1 >conftest.err
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } && {
18312 test -z "$ac_c_werror_flag" ||
18313 test ! -s conftest.err
18314 } && test -s conftest$ac_exeext &&
18315 $as_test_x conftest$ac_exeext; then
18316 ac_cv_strings_strcasecmp=yes
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18321 ac_cv_strings_strcasecmp=no
18325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18326 conftest$ac_exeext conftest.$ac_ext
18329 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18330 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18332 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18333 cat >>confdefs.h <<\_ACEOF
18334 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18338 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18339 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18340 { (exit 1); exit 1; }; }
18348 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18349 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18350 if test "${ac_cv_header_stdc+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 cat >conftest.$ac_ext <<_ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #include <stdlib.h>
18360 #include <stdarg.h>
18361 #include <string.h>
18372 rm -f conftest.$ac_objext
18373 if { (ac_try="$ac_compile"
18374 case "(($ac_try" in
18375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18376 *) ac_try_echo=$ac_try;;
18378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18379 (eval "$ac_compile") 2>conftest.er1
18381 grep -v '^ *+' conftest.er1 >conftest.err
18383 cat conftest.err >&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } && {
18386 test -z "$ac_c_werror_flag" ||
18387 test ! -s conftest.err
18388 } && test -s conftest.$ac_objext; then
18389 ac_cv_header_stdc=yes
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18394 ac_cv_header_stdc=no
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 if test $ac_cv_header_stdc = yes; then
18400 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18401 cat >conftest.$ac_ext <<_ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 #include <string.h>
18410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18411 $EGREP "memchr" >/dev/null 2>&1; then
18414 ac_cv_header_stdc=no
18420 if test $ac_cv_header_stdc = yes; then
18421 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18422 cat >conftest.$ac_ext <<_ACEOF
18425 cat confdefs.h >>conftest.$ac_ext
18426 cat >>conftest.$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18428 #include <stdlib.h>
18431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18432 $EGREP "free" >/dev/null 2>&1; then
18435 ac_cv_header_stdc=no
18441 if test $ac_cv_header_stdc = yes; then
18442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18443 if test "$cross_compiling" = yes; then
18446 cat >conftest.$ac_ext <<_ACEOF
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18453 #include <stdlib.h>
18454 #if ((' ' & 0x0FF) == 0x020)
18455 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18456 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18458 # define ISLOWER(c) \
18459 (('a' <= (c) && (c) <= 'i') \
18460 || ('j' <= (c) && (c) <= 'r') \
18461 || ('s' <= (c) && (c) <= 'z'))
18462 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18470 for (i = 0; i < 256; i++)
18471 if (XOR (islower (i), ISLOWER (i))
18472 || toupper (i) != TOUPPER (i))
18477 rm -f conftest$ac_exeext
18478 if { (ac_try="$ac_link"
18479 case "(($ac_try" in
18480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_link") 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18488 { (case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_try") 2>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; }; then
18499 echo "$as_me: program exited with status $ac_status" >&5
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18503 ( exit $ac_status )
18504 ac_cv_header_stdc=no
18506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18512 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18513 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18514 if test $ac_cv_header_stdc = yes; then
18516 cat >>confdefs.h <<\_ACEOF
18517 #define STDC_HEADERS 1
18522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18532 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18533 inttypes.h stdint.h unistd.h
18535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 cat >conftest.$ac_ext <<_ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 $ac_includes_default
18549 #include <$ac_header>
18551 rm -f conftest.$ac_objext
18552 if { (ac_try="$ac_compile"
18553 case "(($ac_try" in
18554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18555 *) ac_try_echo=$ac_try;;
18557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18558 (eval "$ac_compile") 2>conftest.er1
18560 grep -v '^ *+' conftest.er1 >conftest.err
18562 cat conftest.err >&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } && {
18565 test -z "$ac_c_werror_flag" ||
18566 test ! -s conftest.err
18567 } && test -s conftest.$ac_objext; then
18568 eval "$as_ac_Header=yes"
18570 echo "$as_me: failed program was:" >&5
18571 sed 's/^/| /' conftest.$ac_ext >&5
18573 eval "$as_ac_Header=no"
18576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 ac_res=`eval echo '${'$as_ac_Header'}'`
18579 { echo "$as_me:$LINENO: result: $ac_res" >&5
18580 echo "${ECHO_T}$ac_res" >&6; }
18581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18582 cat >>confdefs.h <<_ACEOF
18583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18593 for ac_header in langinfo.h wchar.h
18595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18596 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18601 cat >conftest.$ac_ext <<_ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18609 #include <$ac_header>
18611 rm -f conftest.$ac_objext
18612 if { (ac_try="$ac_compile"
18613 case "(($ac_try" in
18614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18615 *) ac_try_echo=$ac_try;;
18617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18618 (eval "$ac_compile") 2>conftest.er1
18620 grep -v '^ *+' conftest.er1 >conftest.err
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } && {
18625 test -z "$ac_c_werror_flag" ||
18626 test ! -s conftest.err
18627 } && test -s conftest.$ac_objext; then
18628 eval "$as_ac_Header=yes"
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 eval "$as_ac_Header=no"
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 ac_res=`eval echo '${'$as_ac_Header'}'`
18639 { echo "$as_me:$LINENO: result: $ac_res" >&5
18640 echo "${ECHO_T}$ac_res" >&6; }
18641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18642 cat >>confdefs.h <<_ACEOF
18643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18651 if test "$ac_cv_header_wchar_h" != "yes"; then
18653 for ac_header in wcstr.h
18655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18656 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 cat >conftest.$ac_ext <<_ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18669 #include <$ac_header>
18671 rm -f conftest.$ac_objext
18672 if { (ac_try="$ac_compile"
18673 case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_compile") 2>conftest.er1
18680 grep -v '^ *+' conftest.er1 >conftest.err
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && {
18685 test -z "$ac_c_werror_flag" ||
18686 test ! -s conftest.err
18687 } && test -s conftest.$ac_objext; then
18688 eval "$as_ac_Header=yes"
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 eval "$as_ac_Header=no"
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 ac_res=`eval echo '${'$as_ac_Header'}'`
18699 { echo "$as_me:$LINENO: result: $ac_res" >&5
18700 echo "${ECHO_T}$ac_res" >&6; }
18701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18702 cat >>confdefs.h <<_ACEOF
18703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18713 *-pc-os2_emx | *-pc-os2-emx )
18714 if test $ac_cv_header_langinfo_h = "yes" \
18715 -a \( "$wx_cv_gccversion" = "EMX2" \
18716 -o "$wx_cv_gccversion" = "EMX3" \
18717 -o "$wx_cv_gccversion" = "Innotek5" \); then
18718 LIBS="$LIBS -lintl"
18723 if test "$USE_UNIX" = 1 ; then
18725 for ac_header in sys/select.h
18727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 cat >conftest.$ac_ext <<_ACEOF
18736 cat confdefs.h >>conftest.$ac_ext
18737 cat >>conftest.$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18739 $ac_includes_default
18741 #include <$ac_header>
18743 rm -f conftest.$ac_objext
18744 if { (ac_try="$ac_compile"
18745 case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18747 *) ac_try_echo=$ac_try;;
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_compile") 2>conftest.er1
18752 grep -v '^ *+' conftest.er1 >conftest.err
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } && {
18757 test -z "$ac_c_werror_flag" ||
18758 test ! -s conftest.err
18759 } && test -s conftest.$ac_objext; then
18760 eval "$as_ac_Header=yes"
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.$ac_ext >&5
18765 eval "$as_ac_Header=no"
18768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18770 ac_res=`eval echo '${'$as_ac_Header'}'`
18771 { echo "$as_me:$LINENO: result: $ac_res" >&5
18772 echo "${ECHO_T}$ac_res" >&6; }
18773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18774 cat >>confdefs.h <<_ACEOF
18775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18785 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18786 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18787 if test "${ac_cv_c_const+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 cat >conftest.$ac_ext <<_ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18800 /* FIXME: Include the comments suggested by Paul. */
18801 #ifndef __cplusplus
18802 /* Ultrix mips cc rejects this. */
18803 typedef int charset[2];
18805 /* SunOS 4.1.1 cc rejects this. */
18806 char const *const *pcpcc;
18808 /* NEC SVR4.0.2 mips cc rejects this. */
18809 struct point {int x, y;};
18810 static struct point const zero = {0,0};
18811 /* AIX XL C 1.02.0.0 rejects this.
18812 It does not let you subtract one const X* pointer from another in
18813 an arm of an if-expression whose if-part is not a constant
18815 const char *g = "string";
18816 pcpcc = &g + (g ? g-g : 0);
18817 /* HPUX 7.0 cc rejects these. */
18819 ppc = (char**) pcpcc;
18820 pcpcc = (char const *const *) ppc;
18821 { /* SCO 3.2v4 cc rejects this. */
18823 char const *s = 0 ? (char *) 0 : (char const *) 0;
18828 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18829 int x[] = {25, 17};
18830 const int *foo = &x[0];
18833 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18834 typedef const int *iptr;
18838 { /* AIX XL C 1.02.0.0 rejects this saying
18839 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18840 struct s { int j; const int *ap[3]; };
18841 struct s *b; b->j = 5;
18843 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18844 const int foo = 10;
18845 if (!foo) return 0;
18847 return !cs[0] && !zero.x;
18854 rm -f conftest.$ac_objext
18855 if { (ac_try="$ac_compile"
18856 case "(($ac_try" in
18857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18858 *) ac_try_echo=$ac_try;;
18860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18861 (eval "$ac_compile") 2>conftest.er1
18863 grep -v '^ *+' conftest.er1 >conftest.err
18865 cat conftest.err >&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } && {
18868 test -z "$ac_c_werror_flag" ||
18869 test ! -s conftest.err
18870 } && test -s conftest.$ac_objext; then
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.$ac_ext >&5
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18881 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18882 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18883 if test $ac_cv_c_const = no; then
18885 cat >>confdefs.h <<\_ACEOF
18891 { echo "$as_me:$LINENO: checking for inline" >&5
18892 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18893 if test "${ac_cv_c_inline+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 for ac_kw in inline __inline__ __inline; do
18898 cat >conftest.$ac_ext <<_ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18904 #ifndef __cplusplus
18906 static $ac_kw foo_t static_foo () {return 0; }
18907 $ac_kw foo_t foo () {return 0; }
18911 rm -f conftest.$ac_objext
18912 if { (ac_try="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18920 grep -v '^ *+' conftest.er1 >conftest.err
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 ac_cv_c_inline=$ac_kw
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18937 test "$ac_cv_c_inline" != no && break
18941 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18942 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18945 case $ac_cv_c_inline in
18948 case $ac_cv_c_inline in
18950 *) ac_val=$ac_cv_c_inline;;
18952 cat >>confdefs.h <<_ACEOF
18953 #ifndef __cplusplus
18954 #define inline $ac_val
18961 { echo "$as_me:$LINENO: checking for short" >&5
18962 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18963 if test "${ac_cv_type_short+set}" = set; then
18964 echo $ECHO_N "(cached) $ECHO_C" >&6
18966 cat >conftest.$ac_ext <<_ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18973 typedef short ac__type_new_;
18977 if ((ac__type_new_ *) 0)
18979 if (sizeof (ac__type_new_))
18985 rm -f conftest.$ac_objext
18986 if { (ac_try="$ac_compile"
18987 case "(($ac_try" in
18988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18989 *) ac_try_echo=$ac_try;;
18991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18992 (eval "$ac_compile") 2>conftest.er1
18994 grep -v '^ *+' conftest.er1 >conftest.err
18996 cat conftest.err >&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); } && {
18999 test -z "$ac_c_werror_flag" ||
19000 test ! -s conftest.err
19001 } && test -s conftest.$ac_objext; then
19002 ac_cv_type_short=yes
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19007 ac_cv_type_short=no
19010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19012 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19013 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19015 # The cast to long int works around a bug in the HP C Compiler
19016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19018 # This bug is HP SR number 8606223364.
19019 { echo "$as_me:$LINENO: checking size of short" >&5
19020 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19021 if test "${ac_cv_sizeof_short+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 if test "$cross_compiling" = yes; then
19025 # Depending upon the size, compute the lo and hi bounds.
19026 cat >conftest.$ac_ext <<_ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19033 typedef short ac__type_sizeof_;
19037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19044 rm -f conftest.$ac_objext
19045 if { (ac_try="$ac_compile"
19046 case "(($ac_try" in
19047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19048 *) ac_try_echo=$ac_try;;
19050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19051 (eval "$ac_compile") 2>conftest.er1
19053 grep -v '^ *+' conftest.er1 >conftest.err
19055 cat conftest.err >&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } && {
19058 test -z "$ac_c_werror_flag" ||
19059 test ! -s conftest.err
19060 } && test -s conftest.$ac_objext; then
19063 cat >conftest.$ac_ext <<_ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19069 $ac_includes_default
19070 typedef short ac__type_sizeof_;
19074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19081 rm -f conftest.$ac_objext
19082 if { (ac_try="$ac_compile"
19083 case "(($ac_try" in
19084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19085 *) ac_try_echo=$ac_try;;
19087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19088 (eval "$ac_compile") 2>conftest.er1
19090 grep -v '^ *+' conftest.er1 >conftest.err
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } && {
19095 test -z "$ac_c_werror_flag" ||
19096 test ! -s conftest.err
19097 } && test -s conftest.$ac_objext; then
19098 ac_hi=$ac_mid; break
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 ac_lo=`expr $ac_mid + 1`
19104 if test $ac_lo -le $ac_mid; then
19108 ac_mid=`expr 2 '*' $ac_mid + 1`
19111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.$ac_ext >&5
19117 cat >conftest.$ac_ext <<_ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 typedef short ac__type_sizeof_;
19128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19144 grep -v '^ *+' conftest.er1 >conftest.err
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.$ac_objext; then
19154 cat >conftest.$ac_ext <<_ACEOF
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19160 $ac_includes_default
19161 typedef short ac__type_sizeof_;
19165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19172 rm -f conftest.$ac_objext
19173 if { (ac_try="$ac_compile"
19174 case "(($ac_try" in
19175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19176 *) ac_try_echo=$ac_try;;
19178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19179 (eval "$ac_compile") 2>conftest.er1
19181 grep -v '^ *+' conftest.er1 >conftest.err
19183 cat conftest.err >&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } && {
19186 test -z "$ac_c_werror_flag" ||
19187 test ! -s conftest.err
19188 } && test -s conftest.$ac_objext; then
19189 ac_lo=$ac_mid; break
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19194 ac_hi=`expr '(' $ac_mid ')' - 1`
19195 if test $ac_mid -le $ac_hi; then
19199 ac_mid=`expr 2 '*' $ac_mid`
19202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 # Binary search between lo and hi bounds.
19216 while test "x$ac_lo" != "x$ac_hi"; do
19217 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19218 cat >conftest.$ac_ext <<_ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19225 typedef short ac__type_sizeof_;
19229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19236 rm -f conftest.$ac_objext
19237 if { (ac_try="$ac_compile"
19238 case "(($ac_try" in
19239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19240 *) ac_try_echo=$ac_try;;
19242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_compile") 2>conftest.er1
19245 grep -v '^ *+' conftest.er1 >conftest.err
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && {
19250 test -z "$ac_c_werror_flag" ||
19251 test ! -s conftest.err
19252 } && test -s conftest.$ac_objext; then
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 ac_lo=`expr '(' $ac_mid ')' + 1`
19261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264 ?*) ac_cv_sizeof_short=$ac_lo;;
19265 '') if test "$ac_cv_type_short" = yes; then
19266 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19267 See \`config.log' for more details." >&5
19268 echo "$as_me: error: cannot compute sizeof (short)
19269 See \`config.log' for more details." >&2;}
19270 { (exit 77); exit 77; }; }
19272 ac_cv_sizeof_short=0
19276 cat >conftest.$ac_ext <<_ACEOF
19279 cat confdefs.h >>conftest.$ac_ext
19280 cat >>conftest.$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19282 $ac_includes_default
19283 typedef short ac__type_sizeof_;
19284 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19285 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19287 #include <stdlib.h>
19292 FILE *f = fopen ("conftest.val", "w");
19295 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19297 long int i = longval ();
19298 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19300 fprintf (f, "%ld\n", i);
19304 unsigned long int i = ulongval ();
19305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19307 fprintf (f, "%lu\n", i);
19309 return ferror (f) || fclose (f) != 0;
19315 rm -f conftest$ac_exeext
19316 if { (ac_try="$ac_link"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_link") 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19326 { (case "(($ac_try" in
19327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19328 *) ac_try_echo=$ac_try;;
19330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19331 (eval "$ac_try") 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_cv_sizeof_short=`cat conftest.val`
19337 echo "$as_me: program exited with status $ac_status" >&5
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19341 ( exit $ac_status )
19342 if test "$ac_cv_type_short" = yes; then
19343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19344 See \`config.log' for more details." >&5
19345 echo "$as_me: error: cannot compute sizeof (short)
19346 See \`config.log' for more details." >&2;}
19347 { (exit 77); exit 77; }; }
19349 ac_cv_sizeof_short=0
19352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19356 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19357 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19361 cat >>confdefs.h <<_ACEOF
19362 #define SIZEOF_SHORT $ac_cv_sizeof_short
19366 { echo "$as_me:$LINENO: checking for void *" >&5
19367 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19368 if test "${ac_cv_type_void_p+set}" = set; then
19369 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 cat >conftest.$ac_ext <<_ACEOF
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 $ac_includes_default
19378 typedef void * ac__type_new_;
19382 if ((ac__type_new_ *) 0)
19384 if (sizeof (ac__type_new_))
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19399 grep -v '^ *+' conftest.er1 >conftest.err
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_cv_type_void_p=yes
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_cv_type_void_p=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19417 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19418 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19420 # The cast to long int works around a bug in the HP C Compiler
19421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19423 # This bug is HP SR number 8606223364.
19424 { echo "$as_me:$LINENO: checking size of void *" >&5
19425 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19426 if test "${ac_cv_sizeof_void_p+set}" = set; then
19427 echo $ECHO_N "(cached) $ECHO_C" >&6
19429 if test "$cross_compiling" = yes; then
19430 # Depending upon the size, compute the lo and hi bounds.
19431 cat >conftest.$ac_ext <<_ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 $ac_includes_default
19438 typedef void * ac__type_sizeof_;
19442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19449 rm -f conftest.$ac_objext
19450 if { (ac_try="$ac_compile"
19451 case "(($ac_try" in
19452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19453 *) ac_try_echo=$ac_try;;
19455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19456 (eval "$ac_compile") 2>conftest.er1
19458 grep -v '^ *+' conftest.er1 >conftest.err
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } && {
19463 test -z "$ac_c_werror_flag" ||
19464 test ! -s conftest.err
19465 } && test -s conftest.$ac_objext; then
19468 cat >conftest.$ac_ext <<_ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 $ac_includes_default
19475 typedef void * ac__type_sizeof_;
19479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19486 rm -f conftest.$ac_objext
19487 if { (ac_try="$ac_compile"
19488 case "(($ac_try" in
19489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19490 *) ac_try_echo=$ac_try;;
19492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19493 (eval "$ac_compile") 2>conftest.er1
19495 grep -v '^ *+' conftest.er1 >conftest.err
19497 cat conftest.err >&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); } && {
19500 test -z "$ac_c_werror_flag" ||
19501 test ! -s conftest.err
19502 } && test -s conftest.$ac_objext; then
19503 ac_hi=$ac_mid; break
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19508 ac_lo=`expr $ac_mid + 1`
19509 if test $ac_lo -le $ac_mid; then
19513 ac_mid=`expr 2 '*' $ac_mid + 1`
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19522 cat >conftest.$ac_ext <<_ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 $ac_includes_default
19529 typedef void * ac__type_sizeof_;
19533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19540 rm -f conftest.$ac_objext
19541 if { (ac_try="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_compile") 2>conftest.er1
19549 grep -v '^ *+' conftest.er1 >conftest.err
19551 cat conftest.err >&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && {
19554 test -z "$ac_c_werror_flag" ||
19555 test ! -s conftest.err
19556 } && test -s conftest.$ac_objext; then
19559 cat >conftest.$ac_ext <<_ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19566 typedef void * ac__type_sizeof_;
19570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19577 rm -f conftest.$ac_objext
19578 if { (ac_try="$ac_compile"
19579 case "(($ac_try" in
19580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19581 *) ac_try_echo=$ac_try;;
19583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19584 (eval "$ac_compile") 2>conftest.er1
19586 grep -v '^ *+' conftest.er1 >conftest.err
19588 cat conftest.err >&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); } && {
19591 test -z "$ac_c_werror_flag" ||
19592 test ! -s conftest.err
19593 } && test -s conftest.$ac_objext; then
19594 ac_lo=$ac_mid; break
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19599 ac_hi=`expr '(' $ac_mid ')' - 1`
19600 if test $ac_mid -le $ac_hi; then
19604 ac_mid=`expr 2 '*' $ac_mid`
19607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 # Binary search between lo and hi bounds.
19621 while test "x$ac_lo" != "x$ac_hi"; do
19622 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19623 cat >conftest.$ac_ext <<_ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 typedef void * ac__type_sizeof_;
19634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645 *) ac_try_echo=$ac_try;;
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19650 grep -v '^ *+' conftest.er1 >conftest.err
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_c_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.$ac_objext; then
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19663 ac_lo=`expr '(' $ac_mid ')' + 1`
19666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19669 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19670 '') if test "$ac_cv_type_void_p" = yes; then
19671 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19672 See \`config.log' for more details." >&5
19673 echo "$as_me: error: cannot compute sizeof (void *)
19674 See \`config.log' for more details." >&2;}
19675 { (exit 77); exit 77; }; }
19677 ac_cv_sizeof_void_p=0
19681 cat >conftest.$ac_ext <<_ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 $ac_includes_default
19688 typedef void * ac__type_sizeof_;
19689 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19690 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19692 #include <stdlib.h>
19697 FILE *f = fopen ("conftest.val", "w");
19700 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19702 long int i = longval ();
19703 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19705 fprintf (f, "%ld\n", i);
19709 unsigned long int i = ulongval ();
19710 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19712 fprintf (f, "%lu\n", i);
19714 return ferror (f) || fclose (f) != 0;
19720 rm -f conftest$ac_exeext
19721 if { (ac_try="$ac_link"
19722 case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_link") 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19731 { (case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_try") 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; }; then
19740 ac_cv_sizeof_void_p=`cat conftest.val`
19742 echo "$as_me: program exited with status $ac_status" >&5
19743 echo "$as_me: failed program was:" >&5
19744 sed 's/^/| /' conftest.$ac_ext >&5
19746 ( exit $ac_status )
19747 if test "$ac_cv_type_void_p" = yes; then
19748 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19749 See \`config.log' for more details." >&5
19750 echo "$as_me: error: cannot compute sizeof (void *)
19751 See \`config.log' for more details." >&2;}
19752 { (exit 77); exit 77; }; }
19754 ac_cv_sizeof_void_p=0
19757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19761 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19762 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19766 cat >>confdefs.h <<_ACEOF
19767 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19771 { echo "$as_me:$LINENO: checking for int" >&5
19772 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19773 if test "${ac_cv_type_int+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 cat >conftest.$ac_ext <<_ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 $ac_includes_default
19783 typedef int ac__type_new_;
19787 if ((ac__type_new_ *) 0)
19789 if (sizeof (ac__type_new_))
19795 rm -f conftest.$ac_objext
19796 if { (ac_try="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19804 grep -v '^ *+' conftest.er1 >conftest.err
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19823 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19825 # The cast to long int works around a bug in the HP C Compiler
19826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19828 # This bug is HP SR number 8606223364.
19829 { echo "$as_me:$LINENO: checking size of int" >&5
19830 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19831 if test "${ac_cv_sizeof_int+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 if test "$cross_compiling" = yes; then
19835 # Depending upon the size, compute the lo and hi bounds.
19836 cat >conftest.$ac_ext <<_ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 $ac_includes_default
19843 typedef int ac__type_sizeof_;
19847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19854 rm -f conftest.$ac_objext
19855 if { (ac_try="$ac_compile"
19856 case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_compile") 2>conftest.er1
19863 grep -v '^ *+' conftest.er1 >conftest.err
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest.$ac_objext; then
19873 cat >conftest.$ac_ext <<_ACEOF
19876 cat confdefs.h >>conftest.$ac_ext
19877 cat >>conftest.$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19879 $ac_includes_default
19880 typedef int ac__type_sizeof_;
19884 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19891 rm -f conftest.$ac_objext
19892 if { (ac_try="$ac_compile"
19893 case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19900 grep -v '^ *+' conftest.er1 >conftest.err
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } && {
19905 test -z "$ac_c_werror_flag" ||
19906 test ! -s conftest.err
19907 } && test -s conftest.$ac_objext; then
19908 ac_hi=$ac_mid; break
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 ac_lo=`expr $ac_mid + 1`
19914 if test $ac_lo -le $ac_mid; then
19918 ac_mid=`expr 2 '*' $ac_mid + 1`
19921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 cat >conftest.$ac_ext <<_ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 $ac_includes_default
19934 typedef int ac__type_sizeof_;
19938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19945 rm -f conftest.$ac_objext
19946 if { (ac_try="$ac_compile"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_compile") 2>conftest.er1
19954 grep -v '^ *+' conftest.er1 >conftest.err
19956 cat conftest.err >&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } && {
19959 test -z "$ac_c_werror_flag" ||
19960 test ! -s conftest.err
19961 } && test -s conftest.$ac_objext; then
19964 cat >conftest.$ac_ext <<_ACEOF
19967 cat confdefs.h >>conftest.$ac_ext
19968 cat >>conftest.$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19970 $ac_includes_default
19971 typedef int ac__type_sizeof_;
19975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19982 rm -f conftest.$ac_objext
19983 if { (ac_try="$ac_compile"
19984 case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;;
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_compile") 2>conftest.er1
19991 grep -v '^ *+' conftest.er1 >conftest.err
19993 cat conftest.err >&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } && {
19996 test -z "$ac_c_werror_flag" ||
19997 test ! -s conftest.err
19998 } && test -s conftest.$ac_objext; then
19999 ac_lo=$ac_mid; break
20001 echo "$as_me: failed program was:" >&5
20002 sed 's/^/| /' conftest.$ac_ext >&5
20004 ac_hi=`expr '(' $ac_mid ')' - 1`
20005 if test $ac_mid -le $ac_hi; then
20009 ac_mid=`expr 2 '*' $ac_mid`
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.$ac_ext >&5
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 # Binary search between lo and hi bounds.
20026 while test "x$ac_lo" != "x$ac_hi"; do
20027 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20028 cat >conftest.$ac_ext <<_ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034 $ac_includes_default
20035 typedef int ac__type_sizeof_;
20039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20046 rm -f conftest.$ac_objext
20047 if { (ac_try="$ac_compile"
20048 case "(($ac_try" in
20049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20050 *) ac_try_echo=$ac_try;;
20052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_compile") 2>conftest.er1
20055 grep -v '^ *+' conftest.er1 >conftest.err
20057 cat conftest.err >&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } && {
20060 test -z "$ac_c_werror_flag" ||
20061 test ! -s conftest.err
20062 } && test -s conftest.$ac_objext; then
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20068 ac_lo=`expr '(' $ac_mid ')' + 1`
20071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 ?*) ac_cv_sizeof_int=$ac_lo;;
20075 '') if test "$ac_cv_type_int" = yes; then
20076 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20077 See \`config.log' for more details." >&5
20078 echo "$as_me: error: cannot compute sizeof (int)
20079 See \`config.log' for more details." >&2;}
20080 { (exit 77); exit 77; }; }
20086 cat >conftest.$ac_ext <<_ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 typedef int ac__type_sizeof_;
20094 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20095 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20097 #include <stdlib.h>
20102 FILE *f = fopen ("conftest.val", "w");
20105 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20107 long int i = longval ();
20108 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20110 fprintf (f, "%ld\n", i);
20114 unsigned long int i = ulongval ();
20115 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20117 fprintf (f, "%lu\n", i);
20119 return ferror (f) || fclose (f) != 0;
20125 rm -f conftest$ac_exeext
20126 if { (ac_try="$ac_link"
20127 case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20132 (eval "$ac_link") 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20136 { (case "(($ac_try" in
20137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138 *) ac_try_echo=$ac_try;;
20140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20141 (eval "$ac_try") 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 ac_cv_sizeof_int=`cat conftest.val`
20147 echo "$as_me: program exited with status $ac_status" >&5
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20151 ( exit $ac_status )
20152 if test "$ac_cv_type_int" = yes; then
20153 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20154 See \`config.log' for more details." >&5
20155 echo "$as_me: error: cannot compute sizeof (int)
20156 See \`config.log' for more details." >&2;}
20157 { (exit 77); exit 77; }; }
20162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20166 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20167 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20171 cat >>confdefs.h <<_ACEOF
20172 #define SIZEOF_INT $ac_cv_sizeof_int
20176 { echo "$as_me:$LINENO: checking for long" >&5
20177 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20178 if test "${ac_cv_type_long+set}" = set; then
20179 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 cat >conftest.$ac_ext <<_ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 $ac_includes_default
20188 typedef long ac__type_new_;
20192 if ((ac__type_new_ *) 0)
20194 if (sizeof (ac__type_new_))
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20209 grep -v '^ *+' conftest.er1 >conftest.err
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20217 ac_cv_type_long=yes
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20228 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20230 # The cast to long int works around a bug in the HP C Compiler
20231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20233 # This bug is HP SR number 8606223364.
20234 { echo "$as_me:$LINENO: checking size of long" >&5
20235 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20236 if test "${ac_cv_sizeof_long+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 if test "$cross_compiling" = yes; then
20240 # Depending upon the size, compute the lo and hi bounds.
20241 cat >conftest.$ac_ext <<_ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 $ac_includes_default
20248 typedef long ac__type_sizeof_;
20252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20259 rm -f conftest.$ac_objext
20260 if { (ac_try="$ac_compile"
20261 case "(($ac_try" in
20262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20263 *) ac_try_echo=$ac_try;;
20265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20266 (eval "$ac_compile") 2>conftest.er1
20268 grep -v '^ *+' conftest.er1 >conftest.err
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } && {
20273 test -z "$ac_c_werror_flag" ||
20274 test ! -s conftest.err
20275 } && test -s conftest.$ac_objext; then
20278 cat >conftest.$ac_ext <<_ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20285 typedef long ac__type_sizeof_;
20289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20296 rm -f conftest.$ac_objext
20297 if { (ac_try="$ac_compile"
20298 case "(($ac_try" in
20299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20300 *) ac_try_echo=$ac_try;;
20302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20303 (eval "$ac_compile") 2>conftest.er1
20305 grep -v '^ *+' conftest.er1 >conftest.err
20307 cat conftest.err >&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } && {
20310 test -z "$ac_c_werror_flag" ||
20311 test ! -s conftest.err
20312 } && test -s conftest.$ac_objext; then
20313 ac_hi=$ac_mid; break
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20318 ac_lo=`expr $ac_mid + 1`
20319 if test $ac_lo -le $ac_mid; then
20323 ac_mid=`expr 2 '*' $ac_mid + 1`
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20332 cat >conftest.$ac_ext <<_ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef long ac__type_sizeof_;
20343 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20350 rm -f conftest.$ac_objext
20351 if { (ac_try="$ac_compile"
20352 case "(($ac_try" in
20353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20354 *) ac_try_echo=$ac_try;;
20356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20357 (eval "$ac_compile") 2>conftest.er1
20359 grep -v '^ *+' conftest.er1 >conftest.err
20361 cat conftest.err >&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } && {
20364 test -z "$ac_c_werror_flag" ||
20365 test ! -s conftest.err
20366 } && test -s conftest.$ac_objext; then
20369 cat >conftest.$ac_ext <<_ACEOF
20372 cat confdefs.h >>conftest.$ac_ext
20373 cat >>conftest.$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 $ac_includes_default
20376 typedef long ac__type_sizeof_;
20380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20387 rm -f conftest.$ac_objext
20388 if { (ac_try="$ac_compile"
20389 case "(($ac_try" in
20390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20391 *) ac_try_echo=$ac_try;;
20393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20394 (eval "$ac_compile") 2>conftest.er1
20396 grep -v '^ *+' conftest.er1 >conftest.err
20398 cat conftest.err >&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } && {
20401 test -z "$ac_c_werror_flag" ||
20402 test ! -s conftest.err
20403 } && test -s conftest.$ac_objext; then
20404 ac_lo=$ac_mid; break
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20409 ac_hi=`expr '(' $ac_mid ')' - 1`
20410 if test $ac_mid -le $ac_hi; then
20414 ac_mid=`expr 2 '*' $ac_mid`
20417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20430 # Binary search between lo and hi bounds.
20431 while test "x$ac_lo" != "x$ac_hi"; do
20432 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20433 cat >conftest.$ac_ext <<_ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20440 typedef long ac__type_sizeof_;
20444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20451 rm -f conftest.$ac_objext
20452 if { (ac_try="$ac_compile"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_compile") 2>conftest.er1
20460 grep -v '^ *+' conftest.er1 >conftest.err
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest.$ac_objext; then
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20473 ac_lo=`expr '(' $ac_mid ')' + 1`
20476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 ?*) ac_cv_sizeof_long=$ac_lo;;
20480 '') if test "$ac_cv_type_long" = yes; then
20481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20482 See \`config.log' for more details." >&5
20483 echo "$as_me: error: cannot compute sizeof (long)
20484 See \`config.log' for more details." >&2;}
20485 { (exit 77); exit 77; }; }
20487 ac_cv_sizeof_long=0
20491 cat >conftest.$ac_ext <<_ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 $ac_includes_default
20498 typedef long ac__type_sizeof_;
20499 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20500 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20502 #include <stdlib.h>
20507 FILE *f = fopen ("conftest.val", "w");
20510 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20512 long int i = longval ();
20513 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20515 fprintf (f, "%ld\n", i);
20519 unsigned long int i = ulongval ();
20520 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20522 fprintf (f, "%lu\n", i);
20524 return ferror (f) || fclose (f) != 0;
20530 rm -f conftest$ac_exeext
20531 if { (ac_try="$ac_link"
20532 case "(($ac_try" in
20533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20534 *) ac_try_echo=$ac_try;;
20536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20537 (eval "$ac_link") 2>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20541 { (case "(($ac_try" in
20542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20543 *) ac_try_echo=$ac_try;;
20545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20546 (eval "$ac_try") 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_sizeof_long=`cat conftest.val`
20552 echo "$as_me: program exited with status $ac_status" >&5
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.$ac_ext >&5
20556 ( exit $ac_status )
20557 if test "$ac_cv_type_long" = yes; then
20558 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20559 See \`config.log' for more details." >&5
20560 echo "$as_me: error: cannot compute sizeof (long)
20561 See \`config.log' for more details." >&2;}
20562 { (exit 77); exit 77; }; }
20564 ac_cv_sizeof_long=0
20567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20571 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20572 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20576 cat >>confdefs.h <<_ACEOF
20577 #define SIZEOF_LONG $ac_cv_sizeof_long
20581 { echo "$as_me:$LINENO: checking for size_t" >&5
20582 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20583 if test "${ac_cv_type_size_t+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20586 cat >conftest.$ac_ext <<_ACEOF
20589 cat confdefs.h >>conftest.$ac_ext
20590 cat >>conftest.$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20592 $ac_includes_default
20593 typedef size_t ac__type_new_;
20597 if ((ac__type_new_ *) 0)
20599 if (sizeof (ac__type_new_))
20605 rm -f conftest.$ac_objext
20606 if { (ac_try="$ac_compile"
20607 case "(($ac_try" in
20608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_compile") 2>conftest.er1
20614 grep -v '^ *+' conftest.er1 >conftest.err
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_c_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest.$ac_objext; then
20622 ac_cv_type_size_t=yes
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20627 ac_cv_type_size_t=no
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20632 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20633 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20635 # The cast to long int works around a bug in the HP C Compiler
20636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20638 # This bug is HP SR number 8606223364.
20639 { echo "$as_me:$LINENO: checking size of size_t" >&5
20640 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20641 if test "${ac_cv_sizeof_size_t+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 if test "$cross_compiling" = yes; then
20645 # Depending upon the size, compute the lo and hi bounds.
20646 cat >conftest.$ac_ext <<_ACEOF
20649 cat confdefs.h >>conftest.$ac_ext
20650 cat >>conftest.$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 $ac_includes_default
20653 typedef size_t ac__type_sizeof_;
20657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20664 rm -f conftest.$ac_objext
20665 if { (ac_try="$ac_compile"
20666 case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_compile") 2>conftest.er1
20673 grep -v '^ *+' conftest.er1 >conftest.err
20675 cat conftest.err >&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } && {
20678 test -z "$ac_c_werror_flag" ||
20679 test ! -s conftest.err
20680 } && test -s conftest.$ac_objext; then
20683 cat >conftest.$ac_ext <<_ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689 $ac_includes_default
20690 typedef size_t ac__type_sizeof_;
20694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20701 rm -f conftest.$ac_objext
20702 if { (ac_try="$ac_compile"
20703 case "(($ac_try" in
20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_compile") 2>conftest.er1
20710 grep -v '^ *+' conftest.er1 >conftest.err
20712 cat conftest.err >&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && {
20715 test -z "$ac_c_werror_flag" ||
20716 test ! -s conftest.err
20717 } && test -s conftest.$ac_objext; then
20718 ac_hi=$ac_mid; break
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20723 ac_lo=`expr $ac_mid + 1`
20724 if test $ac_lo -le $ac_mid; then
20728 ac_mid=`expr 2 '*' $ac_mid + 1`
20731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20737 cat >conftest.$ac_ext <<_ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20744 typedef size_t ac__type_sizeof_;
20748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20755 rm -f conftest.$ac_objext
20756 if { (ac_try="$ac_compile"
20757 case "(($ac_try" in
20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_compile") 2>conftest.er1
20764 grep -v '^ *+' conftest.er1 >conftest.err
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } && {
20769 test -z "$ac_c_werror_flag" ||
20770 test ! -s conftest.err
20771 } && test -s conftest.$ac_objext; then
20774 cat >conftest.$ac_ext <<_ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h. */
20780 $ac_includes_default
20781 typedef size_t ac__type_sizeof_;
20785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20792 rm -f conftest.$ac_objext
20793 if { (ac_try="$ac_compile"
20794 case "(($ac_try" in
20795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20799 (eval "$ac_compile") 2>conftest.er1
20801 grep -v '^ *+' conftest.er1 >conftest.err
20803 cat conftest.err >&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } && {
20806 test -z "$ac_c_werror_flag" ||
20807 test ! -s conftest.err
20808 } && test -s conftest.$ac_objext; then
20809 ac_lo=$ac_mid; break
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20814 ac_hi=`expr '(' $ac_mid ')' - 1`
20815 if test $ac_mid -le $ac_hi; then
20819 ac_mid=`expr 2 '*' $ac_mid`
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.$ac_ext >&5
20831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835 # Binary search between lo and hi bounds.
20836 while test "x$ac_lo" != "x$ac_hi"; do
20837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20838 cat >conftest.$ac_ext <<_ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef size_t ac__type_sizeof_;
20849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20856 rm -f conftest.$ac_objext
20857 if { (ac_try="$ac_compile"
20858 case "(($ac_try" in
20859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20860 *) ac_try_echo=$ac_try;;
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_compile") 2>conftest.er1
20865 grep -v '^ *+' conftest.er1 >conftest.err
20867 cat conftest.err >&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } && {
20870 test -z "$ac_c_werror_flag" ||
20871 test ! -s conftest.err
20872 } && test -s conftest.$ac_objext; then
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.$ac_ext >&5
20878 ac_lo=`expr '(' $ac_mid ')' + 1`
20881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20885 '') if test "$ac_cv_type_size_t" = yes; then
20886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20887 See \`config.log' for more details." >&5
20888 echo "$as_me: error: cannot compute sizeof (size_t)
20889 See \`config.log' for more details." >&2;}
20890 { (exit 77); exit 77; }; }
20892 ac_cv_sizeof_size_t=0
20896 cat >conftest.$ac_ext <<_ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 typedef size_t ac__type_sizeof_;
20904 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20905 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20907 #include <stdlib.h>
20912 FILE *f = fopen ("conftest.val", "w");
20915 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20917 long int i = longval ();
20918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20920 fprintf (f, "%ld\n", i);
20924 unsigned long int i = ulongval ();
20925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20927 fprintf (f, "%lu\n", i);
20929 return ferror (f) || fclose (f) != 0;
20935 rm -f conftest$ac_exeext
20936 if { (ac_try="$ac_link"
20937 case "(($ac_try" in
20938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20939 *) ac_try_echo=$ac_try;;
20941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20942 (eval "$ac_link") 2>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20946 { (case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_try") 2>&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); }; }; then
20955 ac_cv_sizeof_size_t=`cat conftest.val`
20957 echo "$as_me: program exited with status $ac_status" >&5
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.$ac_ext >&5
20961 ( exit $ac_status )
20962 if test "$ac_cv_type_size_t" = yes; then
20963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20964 See \`config.log' for more details." >&5
20965 echo "$as_me: error: cannot compute sizeof (size_t)
20966 See \`config.log' for more details." >&2;}
20967 { (exit 77); exit 77; }; }
20969 ac_cv_sizeof_size_t=0
20972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20976 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20977 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20981 cat >>confdefs.h <<_ACEOF
20982 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20989 { echo "$as_me:$LINENO: checking for long long" >&5
20990 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20991 if test "${ac_cv_type_long_long+set}" = set; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 cat >conftest.$ac_ext <<_ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000 $ac_includes_default
21001 typedef long long ac__type_new_;
21005 if ((ac__type_new_ *) 0)
21007 if (sizeof (ac__type_new_))
21013 rm -f conftest.$ac_objext
21014 if { (ac_try="$ac_compile"
21015 case "(($ac_try" in
21016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21017 *) ac_try_echo=$ac_try;;
21019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21020 (eval "$ac_compile") 2>conftest.er1
21022 grep -v '^ *+' conftest.er1 >conftest.err
21024 cat conftest.err >&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } && {
21027 test -z "$ac_c_werror_flag" ||
21028 test ! -s conftest.err
21029 } && test -s conftest.$ac_objext; then
21030 ac_cv_type_long_long=yes
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21035 ac_cv_type_long_long=no
21038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21041 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21043 # The cast to long int works around a bug in the HP C Compiler
21044 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21045 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21046 # This bug is HP SR number 8606223364.
21047 { echo "$as_me:$LINENO: checking size of long long" >&5
21048 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21049 if test "${ac_cv_sizeof_long_long+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 if test "$cross_compiling" = yes; then
21053 # Depending upon the size, compute the lo and hi bounds.
21054 cat >conftest.$ac_ext <<_ACEOF
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 $ac_includes_default
21061 typedef long long ac__type_sizeof_;
21065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21072 rm -f conftest.$ac_objext
21073 if { (ac_try="$ac_compile"
21074 case "(($ac_try" in
21075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21076 *) ac_try_echo=$ac_try;;
21078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21079 (eval "$ac_compile") 2>conftest.er1
21081 grep -v '^ *+' conftest.er1 >conftest.err
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } && {
21086 test -z "$ac_c_werror_flag" ||
21087 test ! -s conftest.err
21088 } && test -s conftest.$ac_objext; then
21091 cat >conftest.$ac_ext <<_ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21098 typedef long long ac__type_sizeof_;
21102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21109 rm -f conftest.$ac_objext
21110 if { (ac_try="$ac_compile"
21111 case "(($ac_try" in
21112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21113 *) ac_try_echo=$ac_try;;
21115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21116 (eval "$ac_compile") 2>conftest.er1
21118 grep -v '^ *+' conftest.er1 >conftest.err
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } && {
21123 test -z "$ac_c_werror_flag" ||
21124 test ! -s conftest.err
21125 } && test -s conftest.$ac_objext; then
21126 ac_hi=$ac_mid; break
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 ac_lo=`expr $ac_mid + 1`
21132 if test $ac_lo -le $ac_mid; then
21136 ac_mid=`expr 2 '*' $ac_mid + 1`
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.$ac_ext >&5
21145 cat >conftest.$ac_ext <<_ACEOF
21148 cat confdefs.h >>conftest.$ac_ext
21149 cat >>conftest.$ac_ext <<_ACEOF
21150 /* end confdefs.h. */
21151 $ac_includes_default
21152 typedef long long ac__type_sizeof_;
21156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21163 rm -f conftest.$ac_objext
21164 if { (ac_try="$ac_compile"
21165 case "(($ac_try" in
21166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21167 *) ac_try_echo=$ac_try;;
21169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21170 (eval "$ac_compile") 2>conftest.er1
21172 grep -v '^ *+' conftest.er1 >conftest.err
21174 cat conftest.err >&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } && {
21177 test -z "$ac_c_werror_flag" ||
21178 test ! -s conftest.err
21179 } && test -s conftest.$ac_objext; then
21182 cat >conftest.$ac_ext <<_ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 $ac_includes_default
21189 typedef long long ac__type_sizeof_;
21193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21200 rm -f conftest.$ac_objext
21201 if { (ac_try="$ac_compile"
21202 case "(($ac_try" in
21203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21204 *) ac_try_echo=$ac_try;;
21206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21207 (eval "$ac_compile") 2>conftest.er1
21209 grep -v '^ *+' conftest.er1 >conftest.err
21211 cat conftest.err >&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); } && {
21214 test -z "$ac_c_werror_flag" ||
21215 test ! -s conftest.err
21216 } && test -s conftest.$ac_objext; then
21217 ac_lo=$ac_mid; break
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.$ac_ext >&5
21222 ac_hi=`expr '(' $ac_mid ')' - 1`
21223 if test $ac_mid -le $ac_hi; then
21227 ac_mid=`expr 2 '*' $ac_mid`
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 # Binary search between lo and hi bounds.
21244 while test "x$ac_lo" != "x$ac_hi"; do
21245 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21246 cat >conftest.$ac_ext <<_ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21273 grep -v '^ *+' conftest.er1 >conftest.err
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.$ac_objext; then
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21286 ac_lo=`expr '(' $ac_mid ')' + 1`
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21292 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21293 '') if test "$ac_cv_type_long_long" = yes; then
21294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21295 See \`config.log' for more details." >&5
21296 echo "$as_me: error: cannot compute sizeof (long long)
21297 See \`config.log' for more details." >&2;}
21298 { (exit 77); exit 77; }; }
21300 ac_cv_sizeof_long_long=0
21304 cat >conftest.$ac_ext <<_ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 $ac_includes_default
21311 typedef long long ac__type_sizeof_;
21312 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21313 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21315 #include <stdlib.h>
21320 FILE *f = fopen ("conftest.val", "w");
21323 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21325 long int i = longval ();
21326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21328 fprintf (f, "%ld\n", i);
21332 unsigned long int i = ulongval ();
21333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21335 fprintf (f, "%lu\n", i);
21337 return ferror (f) || fclose (f) != 0;
21343 rm -f conftest$ac_exeext
21344 if { (ac_try="$ac_link"
21345 case "(($ac_try" in
21346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21347 *) ac_try_echo=$ac_try;;
21349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21350 (eval "$ac_link") 2>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21354 { (case "(($ac_try" in
21355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21356 *) ac_try_echo=$ac_try;;
21358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359 (eval "$ac_try") 2>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; }; then
21363 ac_cv_sizeof_long_long=`cat conftest.val`
21365 echo "$as_me: program exited with status $ac_status" >&5
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21369 ( exit $ac_status )
21370 if test "$ac_cv_type_long_long" = yes; then
21371 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21372 See \`config.log' for more details." >&5
21373 echo "$as_me: error: cannot compute sizeof (long long)
21374 See \`config.log' for more details." >&2;}
21375 { (exit 77); exit 77; }; }
21377 ac_cv_sizeof_long_long=0
21380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21384 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21385 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21389 cat >>confdefs.h <<_ACEOF
21390 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21396 { echo "$as_me:$LINENO: checking for long long" >&5
21397 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21398 if test "${ac_cv_type_long_long+set}" = set; then
21399 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 cat >conftest.$ac_ext <<_ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_new_;
21412 if ((ac__type_new_ *) 0)
21414 if (sizeof (ac__type_new_))
21420 rm -f conftest.$ac_objext
21421 if { (ac_try="$ac_compile"
21422 case "(($ac_try" in
21423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21424 *) ac_try_echo=$ac_try;;
21426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21427 (eval "$ac_compile") 2>conftest.er1
21429 grep -v '^ *+' conftest.er1 >conftest.err
21431 cat conftest.err >&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } && {
21434 test -z "$ac_c_werror_flag" ||
21435 test ! -s conftest.err
21436 } && test -s conftest.$ac_objext; then
21437 ac_cv_type_long_long=yes
21439 echo "$as_me: failed program was:" >&5
21440 sed 's/^/| /' conftest.$ac_ext >&5
21442 ac_cv_type_long_long=no
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21448 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21450 # The cast to long int works around a bug in the HP C Compiler
21451 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21452 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21453 # This bug is HP SR number 8606223364.
21454 { echo "$as_me:$LINENO: checking size of long long" >&5
21455 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21456 if test "${ac_cv_sizeof_long_long+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 if test "$cross_compiling" = yes; then
21460 # Depending upon the size, compute the lo and hi bounds.
21461 cat >conftest.$ac_ext <<_ACEOF
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 $ac_includes_default
21468 typedef long long ac__type_sizeof_;
21472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21479 rm -f conftest.$ac_objext
21480 if { (ac_try="$ac_compile"
21481 case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21483 *) ac_try_echo=$ac_try;;
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_compile") 2>conftest.er1
21488 grep -v '^ *+' conftest.er1 >conftest.err
21490 cat conftest.err >&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } && {
21493 test -z "$ac_c_werror_flag" ||
21494 test ! -s conftest.err
21495 } && test -s conftest.$ac_objext; then
21498 cat >conftest.$ac_ext <<_ACEOF
21501 cat confdefs.h >>conftest.$ac_ext
21502 cat >>conftest.$ac_ext <<_ACEOF
21503 /* end confdefs.h. */
21504 $ac_includes_default
21505 typedef long long ac__type_sizeof_;
21509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21516 rm -f conftest.$ac_objext
21517 if { (ac_try="$ac_compile"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_compile") 2>conftest.er1
21525 grep -v '^ *+' conftest.er1 >conftest.err
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } && {
21530 test -z "$ac_c_werror_flag" ||
21531 test ! -s conftest.err
21532 } && test -s conftest.$ac_objext; then
21533 ac_hi=$ac_mid; break
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21538 ac_lo=`expr $ac_mid + 1`
21539 if test $ac_lo -le $ac_mid; then
21543 ac_mid=`expr 2 '*' $ac_mid + 1`
21546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21552 cat >conftest.$ac_ext <<_ACEOF
21555 cat confdefs.h >>conftest.$ac_ext
21556 cat >>conftest.$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 $ac_includes_default
21559 typedef long long ac__type_sizeof_;
21563 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21570 rm -f conftest.$ac_objext
21571 if { (ac_try="$ac_compile"
21572 case "(($ac_try" in
21573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21574 *) ac_try_echo=$ac_try;;
21576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577 (eval "$ac_compile") 2>conftest.er1
21579 grep -v '^ *+' conftest.er1 >conftest.err
21581 cat conftest.err >&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } && {
21584 test -z "$ac_c_werror_flag" ||
21585 test ! -s conftest.err
21586 } && test -s conftest.$ac_objext; then
21589 cat >conftest.$ac_ext <<_ACEOF
21592 cat confdefs.h >>conftest.$ac_ext
21593 cat >>conftest.$ac_ext <<_ACEOF
21594 /* end confdefs.h. */
21595 $ac_includes_default
21596 typedef long long ac__type_sizeof_;
21600 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21607 rm -f conftest.$ac_objext
21608 if { (ac_try="$ac_compile"
21609 case "(($ac_try" in
21610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21611 *) ac_try_echo=$ac_try;;
21613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614 (eval "$ac_compile") 2>conftest.er1
21616 grep -v '^ *+' conftest.er1 >conftest.err
21618 cat conftest.err >&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } && {
21621 test -z "$ac_c_werror_flag" ||
21622 test ! -s conftest.err
21623 } && test -s conftest.$ac_objext; then
21624 ac_lo=$ac_mid; break
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21629 ac_hi=`expr '(' $ac_mid ')' - 1`
21630 if test $ac_mid -le $ac_hi; then
21634 ac_mid=`expr 2 '*' $ac_mid`
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.$ac_ext >&5
21646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650 # Binary search between lo and hi bounds.
21651 while test "x$ac_lo" != "x$ac_hi"; do
21652 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21653 cat >conftest.$ac_ext <<_ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 $ac_includes_default
21660 typedef long long ac__type_sizeof_;
21664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21671 rm -f conftest.$ac_objext
21672 if { (ac_try="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21680 grep -v '^ *+' conftest.er1 >conftest.err
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && {
21685 test -z "$ac_c_werror_flag" ||
21686 test ! -s conftest.err
21687 } && test -s conftest.$ac_objext; then
21690 echo "$as_me: failed program was:" >&5
21691 sed 's/^/| /' conftest.$ac_ext >&5
21693 ac_lo=`expr '(' $ac_mid ')' + 1`
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21699 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21700 '') if test "$ac_cv_type_long_long" = yes; then
21701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21702 See \`config.log' for more details." >&5
21703 echo "$as_me: error: cannot compute sizeof (long long)
21704 See \`config.log' for more details." >&2;}
21705 { (exit 77); exit 77; }; }
21707 ac_cv_sizeof_long_long=0
21711 cat >conftest.$ac_ext <<_ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21717 $ac_includes_default
21718 typedef long long ac__type_sizeof_;
21719 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21720 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21722 #include <stdlib.h>
21727 FILE *f = fopen ("conftest.val", "w");
21730 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21732 long int i = longval ();
21733 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21735 fprintf (f, "%ld\n", i);
21739 unsigned long int i = ulongval ();
21740 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21742 fprintf (f, "%lu\n", i);
21744 return ferror (f) || fclose (f) != 0;
21750 rm -f conftest$ac_exeext
21751 if { (ac_try="$ac_link"
21752 case "(($ac_try" in
21753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21754 *) ac_try_echo=$ac_try;;
21756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21757 (eval "$ac_link") 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21761 { (case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_try") 2>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 ac_cv_sizeof_long_long=`cat conftest.val`
21772 echo "$as_me: program exited with status $ac_status" >&5
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21776 ( exit $ac_status )
21777 if test "$ac_cv_type_long_long" = yes; then
21778 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21779 See \`config.log' for more details." >&5
21780 echo "$as_me: error: cannot compute sizeof (long long)
21781 See \`config.log' for more details." >&2;}
21782 { (exit 77); exit 77; }; }
21784 ac_cv_sizeof_long_long=0
21787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21791 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21792 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21796 cat >>confdefs.h <<_ACEOF
21797 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21801 if test "$ac_cv_sizeof_long_long" != 0; then
21802 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21806 { echo "$as_me:$LINENO: checking for long long" >&5
21807 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21808 if test "${ac_cv_type_long_long+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 cat >conftest.$ac_ext <<_ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817 $ac_includes_default
21818 typedef long long ac__type_new_;
21822 if ((ac__type_new_ *) 0)
21824 if (sizeof (ac__type_new_))
21830 rm -f conftest.$ac_objext
21831 if { (ac_try="$ac_compile"
21832 case "(($ac_try" in
21833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_compile") 2>conftest.er1
21839 grep -v '^ *+' conftest.er1 >conftest.err
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } && {
21844 test -z "$ac_c_werror_flag" ||
21845 test ! -s conftest.err
21846 } && test -s conftest.$ac_objext; then
21847 ac_cv_type_long_long=yes
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21852 ac_cv_type_long_long=no
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21858 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21860 # The cast to long int works around a bug in the HP C Compiler
21861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21863 # This bug is HP SR number 8606223364.
21864 { echo "$as_me:$LINENO: checking size of long long" >&5
21865 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21866 if test "${ac_cv_sizeof_long_long+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 if test "$cross_compiling" = yes; then
21870 # Depending upon the size, compute the lo and hi bounds.
21871 cat >conftest.$ac_ext <<_ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef long long ac__type_sizeof_;
21882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21889 rm -f conftest.$ac_objext
21890 if { (ac_try="$ac_compile"
21891 case "(($ac_try" in
21892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21893 *) ac_try_echo=$ac_try;;
21895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21896 (eval "$ac_compile") 2>conftest.er1
21898 grep -v '^ *+' conftest.er1 >conftest.err
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } && {
21903 test -z "$ac_c_werror_flag" ||
21904 test ! -s conftest.err
21905 } && test -s conftest.$ac_objext; then
21908 cat >conftest.$ac_ext <<_ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 $ac_includes_default
21915 typedef long long ac__type_sizeof_;
21919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21926 rm -f conftest.$ac_objext
21927 if { (ac_try="$ac_compile"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_compile") 2>conftest.er1
21935 grep -v '^ *+' conftest.er1 >conftest.err
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } && {
21940 test -z "$ac_c_werror_flag" ||
21941 test ! -s conftest.err
21942 } && test -s conftest.$ac_objext; then
21943 ac_hi=$ac_mid; break
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.$ac_ext >&5
21948 ac_lo=`expr $ac_mid + 1`
21949 if test $ac_lo -le $ac_mid; then
21953 ac_mid=`expr 2 '*' $ac_mid + 1`
21956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21962 cat >conftest.$ac_ext <<_ACEOF
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21968 $ac_includes_default
21969 typedef long long ac__type_sizeof_;
21973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21980 rm -f conftest.$ac_objext
21981 if { (ac_try="$ac_compile"
21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_compile") 2>conftest.er1
21989 grep -v '^ *+' conftest.er1 >conftest.err
21991 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } && {
21994 test -z "$ac_c_werror_flag" ||
21995 test ! -s conftest.err
21996 } && test -s conftest.$ac_objext; then
21999 cat >conftest.$ac_ext <<_ACEOF
22002 cat confdefs.h >>conftest.$ac_ext
22003 cat >>conftest.$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 $ac_includes_default
22006 typedef long long ac__type_sizeof_;
22010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22017 rm -f conftest.$ac_objext
22018 if { (ac_try="$ac_compile"
22019 case "(($ac_try" in
22020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021 *) ac_try_echo=$ac_try;;
22023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22024 (eval "$ac_compile") 2>conftest.er1
22026 grep -v '^ *+' conftest.er1 >conftest.err
22028 cat conftest.err >&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } && {
22031 test -z "$ac_c_werror_flag" ||
22032 test ! -s conftest.err
22033 } && test -s conftest.$ac_objext; then
22034 ac_lo=$ac_mid; break
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22039 ac_hi=`expr '(' $ac_mid ')' - 1`
22040 if test $ac_mid -le $ac_hi; then
22044 ac_mid=`expr 2 '*' $ac_mid`
22047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 # Binary search between lo and hi bounds.
22061 while test "x$ac_lo" != "x$ac_hi"; do
22062 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22063 cat >conftest.$ac_ext <<_ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 typedef long long ac__type_sizeof_;
22074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22085 *) ac_try_echo=$ac_try;;
22087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22090 grep -v '^ *+' conftest.er1 >conftest.err
22092 cat conftest.err >&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } && {
22095 test -z "$ac_c_werror_flag" ||
22096 test ! -s conftest.err
22097 } && test -s conftest.$ac_objext; then
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22103 ac_lo=`expr '(' $ac_mid ')' + 1`
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22109 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22110 '') if test "$ac_cv_type_long_long" = yes; then
22111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22112 See \`config.log' for more details." >&5
22113 echo "$as_me: error: cannot compute sizeof (long long)
22114 See \`config.log' for more details." >&2;}
22115 { (exit 77); exit 77; }; }
22117 ac_cv_sizeof_long_long=0
22121 cat >conftest.$ac_ext <<_ACEOF
22124 cat confdefs.h >>conftest.$ac_ext
22125 cat >>conftest.$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127 $ac_includes_default
22128 typedef long long ac__type_sizeof_;
22129 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22130 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22132 #include <stdlib.h>
22137 FILE *f = fopen ("conftest.val", "w");
22140 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22142 long int i = longval ();
22143 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22145 fprintf (f, "%ld\n", i);
22149 unsigned long int i = ulongval ();
22150 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22152 fprintf (f, "%lu\n", i);
22154 return ferror (f) || fclose (f) != 0;
22160 rm -f conftest$ac_exeext
22161 if { (ac_try="$ac_link"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_link") 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22171 { (case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_try") 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_cv_sizeof_long_long=`cat conftest.val`
22182 echo "$as_me: program exited with status $ac_status" >&5
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22186 ( exit $ac_status )
22187 if test "$ac_cv_type_long_long" = yes; then
22188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22189 See \`config.log' for more details." >&5
22190 echo "$as_me: error: cannot compute sizeof (long long)
22191 See \`config.log' for more details." >&2;}
22192 { (exit 77); exit 77; }; }
22194 ac_cv_sizeof_long_long=0
22197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22201 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22202 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22206 cat >>confdefs.h <<_ACEOF
22207 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22213 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22214 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22215 if test "${ac_cv_type_wchar_t+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 cat >conftest.$ac_ext <<_ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22225 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22226 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22227 # error "fake wchar_t"
22229 #ifdef HAVE_WCHAR_H
22231 # include <stddef.h>
22233 # include <wchar.h>
22235 #ifdef HAVE_STDLIB_H
22236 # include <stdlib.h>
22242 typedef wchar_t ac__type_new_;
22246 if ((ac__type_new_ *) 0)
22248 if (sizeof (ac__type_new_))
22254 rm -f conftest.$ac_objext
22255 if { (ac_try="$ac_compile"
22256 case "(($ac_try" in
22257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22258 *) ac_try_echo=$ac_try;;
22260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22261 (eval "$ac_compile") 2>conftest.er1
22263 grep -v '^ *+' conftest.er1 >conftest.err
22265 cat conftest.err >&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } && {
22268 test -z "$ac_c_werror_flag" ||
22269 test ! -s conftest.err
22270 } && test -s conftest.$ac_objext; then
22271 ac_cv_type_wchar_t=yes
22273 echo "$as_me: failed program was:" >&5
22274 sed 's/^/| /' conftest.$ac_ext >&5
22276 ac_cv_type_wchar_t=no
22279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22282 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22284 # The cast to long int works around a bug in the HP C Compiler
22285 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22286 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22287 # This bug is HP SR number 8606223364.
22288 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22289 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22290 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 if test "$cross_compiling" = yes; then
22294 # Depending upon the size, compute the lo and hi bounds.
22295 cat >conftest.$ac_ext <<_ACEOF
22298 cat confdefs.h >>conftest.$ac_ext
22299 cat >>conftest.$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22302 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22303 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22304 # error "fake wchar_t"
22306 #ifdef HAVE_WCHAR_H
22308 # include <stddef.h>
22310 # include <wchar.h>
22312 #ifdef HAVE_STDLIB_H
22313 # include <stdlib.h>
22319 typedef wchar_t ac__type_sizeof_;
22323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22330 rm -f conftest.$ac_objext
22331 if { (ac_try="$ac_compile"
22332 case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;;
22336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22337 (eval "$ac_compile") 2>conftest.er1
22339 grep -v '^ *+' conftest.er1 >conftest.err
22341 cat conftest.err >&5
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); } && {
22344 test -z "$ac_c_werror_flag" ||
22345 test ! -s conftest.err
22346 } && test -s conftest.$ac_objext; then
22349 cat >conftest.$ac_ext <<_ACEOF
22352 cat confdefs.h >>conftest.$ac_ext
22353 cat >>conftest.$ac_ext <<_ACEOF
22354 /* end confdefs.h. */
22356 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22357 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22358 # error "fake wchar_t"
22360 #ifdef HAVE_WCHAR_H
22362 # include <stddef.h>
22364 # include <wchar.h>
22366 #ifdef HAVE_STDLIB_H
22367 # include <stdlib.h>
22373 typedef wchar_t ac__type_sizeof_;
22377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22384 rm -f conftest.$ac_objext
22385 if { (ac_try="$ac_compile"
22386 case "(($ac_try" in
22387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22388 *) ac_try_echo=$ac_try;;
22390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22391 (eval "$ac_compile") 2>conftest.er1
22393 grep -v '^ *+' conftest.er1 >conftest.err
22395 cat conftest.err >&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } && {
22398 test -z "$ac_c_werror_flag" ||
22399 test ! -s conftest.err
22400 } && test -s conftest.$ac_objext; then
22401 ac_hi=$ac_mid; break
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.$ac_ext >&5
22406 ac_lo=`expr $ac_mid + 1`
22407 if test $ac_lo -le $ac_mid; then
22411 ac_mid=`expr 2 '*' $ac_mid + 1`
22414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22420 cat >conftest.$ac_ext <<_ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22427 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22428 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22429 # error "fake wchar_t"
22431 #ifdef HAVE_WCHAR_H
22433 # include <stddef.h>
22435 # include <wchar.h>
22437 #ifdef HAVE_STDLIB_H
22438 # include <stdlib.h>
22444 typedef wchar_t ac__type_sizeof_;
22448 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22455 rm -f conftest.$ac_objext
22456 if { (ac_try="$ac_compile"
22457 case "(($ac_try" in
22458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22459 *) ac_try_echo=$ac_try;;
22461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22462 (eval "$ac_compile") 2>conftest.er1
22464 grep -v '^ *+' conftest.er1 >conftest.err
22466 cat conftest.err >&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } && {
22469 test -z "$ac_c_werror_flag" ||
22470 test ! -s conftest.err
22471 } && test -s conftest.$ac_objext; then
22474 cat >conftest.$ac_ext <<_ACEOF
22477 cat confdefs.h >>conftest.$ac_ext
22478 cat >>conftest.$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22481 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22482 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22483 # error "fake wchar_t"
22485 #ifdef HAVE_WCHAR_H
22487 # include <stddef.h>
22489 # include <wchar.h>
22491 #ifdef HAVE_STDLIB_H
22492 # include <stdlib.h>
22498 typedef wchar_t ac__type_sizeof_;
22502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22509 rm -f conftest.$ac_objext
22510 if { (ac_try="$ac_compile"
22511 case "(($ac_try" in
22512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22513 *) ac_try_echo=$ac_try;;
22515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22516 (eval "$ac_compile") 2>conftest.er1
22518 grep -v '^ *+' conftest.er1 >conftest.err
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } && {
22523 test -z "$ac_c_werror_flag" ||
22524 test ! -s conftest.err
22525 } && test -s conftest.$ac_objext; then
22526 ac_lo=$ac_mid; break
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.$ac_ext >&5
22531 ac_hi=`expr '(' $ac_mid ')' - 1`
22532 if test $ac_mid -le $ac_hi; then
22536 ac_mid=`expr 2 '*' $ac_mid`
22539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22542 echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.$ac_ext >&5
22548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 # Binary search between lo and hi bounds.
22553 while test "x$ac_lo" != "x$ac_hi"; do
22554 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22555 cat >conftest.$ac_ext <<_ACEOF
22558 cat confdefs.h >>conftest.$ac_ext
22559 cat >>conftest.$ac_ext <<_ACEOF
22560 /* end confdefs.h. */
22562 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22563 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22564 # error "fake wchar_t"
22566 #ifdef HAVE_WCHAR_H
22568 # include <stddef.h>
22570 # include <wchar.h>
22572 #ifdef HAVE_STDLIB_H
22573 # include <stdlib.h>
22579 typedef wchar_t ac__type_sizeof_;
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22599 grep -v '^ *+' conftest.er1 >conftest.err
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.$ac_objext; then
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5
22612 ac_lo=`expr '(' $ac_mid ')' + 1`
22615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22619 '') if test "$ac_cv_type_wchar_t" = yes; then
22620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22621 See \`config.log' for more details." >&5
22622 echo "$as_me: error: cannot compute sizeof (wchar_t)
22623 See \`config.log' for more details." >&2;}
22624 { (exit 77); exit 77; }; }
22626 ac_cv_sizeof_wchar_t=0
22630 cat >conftest.$ac_ext <<_ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22637 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22638 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22639 # error "fake wchar_t"
22641 #ifdef HAVE_WCHAR_H
22643 # include <stddef.h>
22645 # include <wchar.h>
22647 #ifdef HAVE_STDLIB_H
22648 # include <stdlib.h>
22654 typedef wchar_t ac__type_sizeof_;
22655 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22656 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22658 #include <stdlib.h>
22663 FILE *f = fopen ("conftest.val", "w");
22666 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22668 long int i = longval ();
22669 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22671 fprintf (f, "%ld\n", i);
22675 unsigned long int i = ulongval ();
22676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22678 fprintf (f, "%lu\n", i);
22680 return ferror (f) || fclose (f) != 0;
22686 rm -f conftest$ac_exeext
22687 if { (ac_try="$ac_link"
22688 case "(($ac_try" in
22689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22690 *) ac_try_echo=$ac_try;;
22692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22693 (eval "$ac_link") 2>&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22697 { (case "(($ac_try" in
22698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22699 *) ac_try_echo=$ac_try;;
22701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22702 (eval "$ac_try") 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 ac_cv_sizeof_wchar_t=`cat conftest.val`
22708 echo "$as_me: program exited with status $ac_status" >&5
22709 echo "$as_me: failed program was:" >&5
22710 sed 's/^/| /' conftest.$ac_ext >&5
22712 ( exit $ac_status )
22713 if test "$ac_cv_type_wchar_t" = yes; then
22714 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22715 See \`config.log' for more details." >&5
22716 echo "$as_me: error: cannot compute sizeof (wchar_t)
22717 See \`config.log' for more details." >&2;}
22718 { (exit 77); exit 77; }; }
22720 ac_cv_sizeof_wchar_t=0
22723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22727 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22728 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22732 cat >>confdefs.h <<_ACEOF
22733 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22737 if test "$ac_cv_sizeof_wchar_t" != 0; then
22743 { echo "$as_me:$LINENO: checking for va_copy" >&5
22744 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22745 if test "${wx_cv_func_va_copy+set}" = set; then
22746 echo $ECHO_N "(cached) $ECHO_C" >&6
22750 ac_cpp='$CXXCPP $CPPFLAGS'
22751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22755 cat >conftest.$ac_ext <<_ACEOF
22757 #include <stdarg.h>
22758 void foo(char *f, ...)
22772 rm -f conftest.$ac_objext conftest$ac_exeext
22773 if { (ac_try="$ac_link"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_link") 2>conftest.er1
22781 grep -v '^ *+' conftest.er1 >conftest.err
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_cxx_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest$ac_exeext &&
22789 $as_test_x conftest$ac_exeext; then
22790 wx_cv_func_va_copy=yes
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22795 wx_cv_func_va_copy=no
22799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22800 conftest$ac_exeext conftest.$ac_ext
22802 ac_cpp='$CPP $CPPFLAGS'
22803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22810 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22811 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22813 if test $wx_cv_func_va_copy = "yes"; then
22814 cat >>confdefs.h <<\_ACEOF
22815 #define HAVE_VA_COPY 1
22819 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22820 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22821 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22822 echo $ECHO_N "(cached) $ECHO_C" >&6
22825 if test "$cross_compiling" = yes; then
22826 wx_cv_type_va_list_lvalue=yes
22829 cat >conftest.$ac_ext <<_ACEOF
22831 #include <stdarg.h>
22832 int foo(char *f, ...)
22837 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22845 return foo("hi", 17);
22848 rm -f conftest$ac_exeext
22849 if { (ac_try="$ac_link"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852 *) ac_try_echo=$ac_try;;
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_link") 2>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22859 { (case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_try") 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; }; then
22868 wx_cv_type_va_list_lvalue=yes
22870 echo "$as_me: program exited with status $ac_status" >&5
22871 echo "$as_me: failed program was:" >&5
22872 sed 's/^/| /' conftest.$ac_ext >&5
22874 ( exit $ac_status )
22875 wx_cv_type_va_list_lvalue=no
22877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22884 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22885 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22887 if test $wx_cv_type_va_list_lvalue != "yes"; then
22888 cat >>confdefs.h <<\_ACEOF
22889 #define VA_LIST_IS_ARRAY 1
22895 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22897 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22898 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22899 if test "${wx_cv_have_variadic_macros+set}" = set; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909 cat >conftest.$ac_ext <<_ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22917 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22923 test("%s %d %p", "test", 1, 0);
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22939 grep -v '^ *+' conftest.er1 >conftest.err
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_cxx_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 wx_cv_have_variadic_macros=yes
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22952 wx_cv_have_variadic_macros=no
22956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22958 ac_cpp='$CPP $CPPFLAGS'
22959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22966 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22967 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22969 if test $wx_cv_have_variadic_macros = "yes"; then
22970 cat >>confdefs.h <<\_ACEOF
22971 #define HAVE_VARIADIC_MACROS 1
22977 # Check whether --enable-largefile was given.
22978 if test "${enable_largefile+set}" = set; then
22979 enableval=$enable_largefile;
22982 if test "$enable_largefile" != no; then
22985 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22986 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22987 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22991 cat >conftest.$ac_ext <<_ACEOF
22994 cat confdefs.h >>conftest.$ac_ext
22995 cat >>conftest.$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
22997 #define _FILE_OFFSET_BITS 64
22998 #include <sys/types.h>
23003 unsigned int field: sizeof(off_t) == 8;
23010 rm -f conftest.$ac_objext
23011 if { (ac_try="$ac_compile"
23012 case "(($ac_try" in
23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23019 grep -v '^ *+' conftest.er1 >conftest.err
23021 cat conftest.err >&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } && {
23024 test -z "$ac_c_werror_flag" ||
23025 test ! -s conftest.err
23026 } && test -s conftest.$ac_objext; then
23027 ac_cv_sys_file_offset_bits=64
23029 echo "$as_me: failed program was:" >&5
23030 sed 's/^/| /' conftest.$ac_ext >&5
23032 ac_cv_sys_file_offset_bits=no
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23039 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23040 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23042 if test "$ac_cv_sys_file_offset_bits" != no; then
23044 cat >>confdefs.h <<_ACEOF
23045 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23050 if test "x$wx_largefile" != "xyes"; then
23052 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23053 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23054 if test "${ac_cv_sys_large_files+set}" = set; then
23055 echo $ECHO_N "(cached) $ECHO_C" >&6
23058 cat >conftest.$ac_ext <<_ACEOF
23061 cat confdefs.h >>conftest.$ac_ext
23062 cat >>conftest.$ac_ext <<_ACEOF
23063 /* end confdefs.h. */
23064 #define _LARGE_FILES 1
23065 #include <sys/types.h>
23070 unsigned int field: sizeof(off_t) == 8;
23077 rm -f conftest.$ac_objext
23078 if { (ac_try="$ac_compile"
23079 case "(($ac_try" in
23080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23081 *) ac_try_echo=$ac_try;;
23083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23084 (eval "$ac_compile") 2>conftest.er1
23086 grep -v '^ *+' conftest.er1 >conftest.err
23088 cat conftest.err >&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } && {
23091 test -z "$ac_c_werror_flag" ||
23092 test ! -s conftest.err
23093 } && test -s conftest.$ac_objext; then
23094 ac_cv_sys_large_files=1
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23099 ac_cv_sys_large_files=no
23102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23107 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23109 if test "$ac_cv_sys_large_files" != no; then
23111 cat >>confdefs.h <<_ACEOF
23112 #define _LARGE_FILES $ac_cv_sys_large_files
23119 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23120 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23121 if test "x$wx_largefile" = "xyes"; then
23122 cat >>confdefs.h <<\_ACEOF
23123 #define HAVE_LARGEFILE_SUPPORT 1
23127 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23128 echo "${ECHO_T}$wx_largefile" >&6; }
23132 if test "x$wx_largefile" = "xyes"; then
23133 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23134 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23136 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23137 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23138 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23139 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23144 ac_cpp='$CXXCPP $CPPFLAGS'
23145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23149 cat >conftest.$ac_ext <<_ACEOF
23152 cat confdefs.h >>conftest.$ac_ext
23153 cat >>conftest.$ac_ext <<_ACEOF
23154 /* end confdefs.h. */
23160 #ifndef __STDC_EXT__
23168 rm -f conftest.$ac_objext
23169 if { (ac_try="$ac_compile"
23170 case "(($ac_try" in
23171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23172 *) ac_try_echo=$ac_try;;
23174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23175 (eval "$ac_compile") 2>conftest.er1
23177 grep -v '^ *+' conftest.er1 >conftest.err
23179 cat conftest.err >&5
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); } && {
23182 test -z "$ac_cxx_werror_flag" ||
23183 test ! -s conftest.err
23184 } && test -s conftest.$ac_objext; then
23185 wx_cv_STDC_EXT_required=no
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.$ac_ext >&5
23190 wx_cv_STDC_EXT_required=yes
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 ac_cpp='$CPP $CPPFLAGS'
23197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23204 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23205 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23206 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23207 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23211 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23213 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23214 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23215 if test "${ac_cv_sys_largefile_source+set}" = set; then
23216 echo $ECHO_N "(cached) $ECHO_C" >&6
23219 cat >conftest.$ac_ext <<_ACEOF
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23225 #include <sys/types.h> /* for off_t */
23230 int (*fp) (FILE *, off_t, int) = fseeko;
23231 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23236 rm -f conftest.$ac_objext conftest$ac_exeext
23237 if { (ac_try="$ac_link"
23238 case "(($ac_try" in
23239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23240 *) ac_try_echo=$ac_try;;
23242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23243 (eval "$ac_link") 2>conftest.er1
23245 grep -v '^ *+' conftest.er1 >conftest.err
23247 cat conftest.err >&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); } && {
23250 test -z "$ac_c_werror_flag" ||
23251 test ! -s conftest.err
23252 } && test -s conftest$ac_exeext &&
23253 $as_test_x conftest$ac_exeext; then
23254 ac_cv_sys_largefile_source=no; break
23256 echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.$ac_ext >&5
23262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23263 conftest$ac_exeext conftest.$ac_ext
23264 cat >conftest.$ac_ext <<_ACEOF
23267 cat confdefs.h >>conftest.$ac_ext
23268 cat >>conftest.$ac_ext <<_ACEOF
23269 /* end confdefs.h. */
23270 #define _LARGEFILE_SOURCE 1
23271 #include <sys/types.h> /* for off_t */
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23291 grep -v '^ *+' conftest.er1 >conftest.err
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=1; break
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 ac_cv_sys_largefile_source=unknown
23314 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23315 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23316 case $ac_cv_sys_largefile_source in #(
23319 cat >>confdefs.h <<_ACEOF
23320 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23326 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23327 # in glibc 2.1.3, but that breaks too many other things.
23328 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23329 if test $ac_cv_sys_largefile_source != unknown; then
23331 cat >>confdefs.h <<\_ACEOF
23332 #define HAVE_FSEEKO 1
23337 if test "$ac_cv_sys_largefile_source" != no; then
23338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23342 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23343 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23344 if test "${ac_cv_c_bigendian+set}" = set; then
23345 echo $ECHO_N "(cached) $ECHO_C" >&6
23347 ac_cv_c_bigendian=unknown
23348 # See if sys/param.h defines the BYTE_ORDER macro.
23349 cat >conftest.$ac_ext <<_ACEOF
23352 cat confdefs.h >>conftest.$ac_ext
23353 cat >>conftest.$ac_ext <<_ACEOF
23354 /* end confdefs.h. */
23355 #include <sys/types.h>
23356 #include <sys/param.h>
23361 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23362 bogus endian macros
23368 rm -f conftest.$ac_objext
23369 if { (ac_try="$ac_compile"
23370 case "(($ac_try" in
23371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23372 *) ac_try_echo=$ac_try;;
23374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23375 (eval "$ac_compile") 2>conftest.er1
23377 grep -v '^ *+' conftest.er1 >conftest.err
23379 cat conftest.err >&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); } && {
23382 test -z "$ac_c_werror_flag" ||
23383 test ! -s conftest.err
23384 } && test -s conftest.$ac_objext; then
23385 # It does; now see whether it defined to BIG_ENDIAN or not.
23386 cat >conftest.$ac_ext <<_ACEOF
23389 cat confdefs.h >>conftest.$ac_ext
23390 cat >>conftest.$ac_ext <<_ACEOF
23391 /* end confdefs.h. */
23392 #include <sys/types.h>
23393 #include <sys/param.h>
23398 #if BYTE_ORDER != BIG_ENDIAN
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23414 grep -v '^ *+' conftest.er1 >conftest.err
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23422 ac_cv_c_bigendian=yes
23424 echo "$as_me: failed program was:" >&5
23425 sed 's/^/| /' conftest.$ac_ext >&5
23427 ac_cv_c_bigendian=no
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23439 if test $ac_cv_c_bigendian = unknown; then
23440 if test "$cross_compiling" = yes; then
23441 ac_cv_c_bigendian=unknown
23443 cat >conftest.$ac_ext <<_ACEOF
23446 cat confdefs.h >>conftest.$ac_ext
23447 cat >>conftest.$ac_ext <<_ACEOF
23448 /* end confdefs.h. */
23450 /* Are we little or big endian? From Harbison&Steele. */
23454 char c[sizeof (long)];
23457 exit (u.c[sizeof (long) - 1] == 1);
23460 rm -f conftest$ac_exeext
23461 if { (ac_try="$ac_link"
23462 case "(($ac_try" in
23463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23464 *) ac_try_echo=$ac_try;;
23466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23467 (eval "$ac_link") 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23471 { (case "(($ac_try" in
23472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23473 *) ac_try_echo=$ac_try;;
23475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23476 (eval "$ac_try") 2>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23480 ac_cv_c_bigendian=no
23482 echo "$as_me: program exited with status $ac_status" >&5
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.$ac_ext >&5
23486 ( exit $ac_status )
23487 ac_cv_c_bigendian=yes
23489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23495 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23496 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23497 if test $ac_cv_c_bigendian = unknown; then
23498 { 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
23499 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;}
23501 if test $ac_cv_c_bigendian = yes; then
23502 cat >>confdefs.h <<\_ACEOF
23503 #define WORDS_BIGENDIAN 1
23512 ac_cpp='$CXXCPP $CPPFLAGS'
23513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23519 for ac_header in iostream
23521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23527 cat >conftest.$ac_ext <<_ACEOF
23530 cat confdefs.h >>conftest.$ac_ext
23531 cat >>conftest.$ac_ext <<_ACEOF
23532 /* end confdefs.h. */
23535 #include <$ac_header>
23537 rm -f conftest.$ac_objext
23538 if { (ac_try="$ac_compile"
23539 case "(($ac_try" in
23540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23541 *) ac_try_echo=$ac_try;;
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_compile") 2>conftest.er1
23546 grep -v '^ *+' conftest.er1 >conftest.err
23548 cat conftest.err >&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); } && {
23551 test -z "$ac_cxx_werror_flag" ||
23552 test ! -s conftest.err
23553 } && test -s conftest.$ac_objext; then
23554 eval "$as_ac_Header=yes"
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.$ac_ext >&5
23559 eval "$as_ac_Header=no"
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564 ac_res=`eval echo '${'$as_ac_Header'}'`
23565 { echo "$as_me:$LINENO: result: $ac_res" >&5
23566 echo "${ECHO_T}$ac_res" >&6; }
23567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23568 cat >>confdefs.h <<_ACEOF
23569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23577 if test "$ac_cv_header_iostream" = "yes" ; then
23580 cat >>confdefs.h <<\_ACEOF
23581 #define wxUSE_IOSTREAMH 1
23587 ac_cpp='$CPP $CPPFLAGS'
23588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23595 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23596 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23597 if test "${wx_cv_cpp_bool+set}" = set; then
23598 echo $ECHO_N "(cached) $ECHO_C" >&6
23603 ac_cpp='$CXXCPP $CPPFLAGS'
23604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23609 cat >conftest.$ac_ext <<_ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23629 rm -f conftest.$ac_objext
23630 if { (ac_try="$ac_compile"
23631 case "(($ac_try" in
23632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23633 *) ac_try_echo=$ac_try;;
23635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23636 (eval "$ac_compile") 2>conftest.er1
23638 grep -v '^ *+' conftest.er1 >conftest.err
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } && {
23643 test -z "$ac_cxx_werror_flag" ||
23644 test ! -s conftest.err
23645 } && test -s conftest.$ac_objext; then
23650 echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23662 ac_cpp='$CPP $CPPFLAGS'
23663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23669 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23670 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23672 if test "$wx_cv_cpp_bool" = "yes"; then
23673 cat >>confdefs.h <<\_ACEOF
23674 #define HAVE_BOOL 1
23681 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23682 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23683 if test "${wx_cv_explicit+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 ac_cpp='$CXXCPP $CPPFLAGS'
23690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23695 cat >conftest.$ac_ext <<_ACEOF
23698 cat confdefs.h >>conftest.$ac_ext
23699 cat >>conftest.$ac_ext <<_ACEOF
23700 /* end confdefs.h. */
23702 class Foo { public: explicit Foo(int) {} };
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_cxx_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23732 cat >conftest.$ac_ext <<_ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23739 class Foo { public: explicit Foo(int) {} };
23740 static void TakeFoo(const Foo& foo) { }
23753 rm -f conftest.$ac_objext
23754 if { (ac_try="$ac_compile"
23755 case "(($ac_try" in
23756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23757 *) ac_try_echo=$ac_try;;
23759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23760 (eval "$ac_compile") 2>conftest.er1
23762 grep -v '^ *+' conftest.er1 >conftest.err
23764 cat conftest.err >&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } && {
23767 test -z "$ac_cxx_werror_flag" ||
23768 test ! -s conftest.err
23769 } && test -s conftest.$ac_objext; then
23772 echo "$as_me: failed program was:" >&5
23773 sed 's/^/| /' conftest.$ac_ext >&5
23779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23799 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23800 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23802 if test "$wx_cv_explicit" = "yes"; then
23803 cat >>confdefs.h <<\_ACEOF
23804 #define HAVE_EXPLICIT 1
23810 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23811 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23812 if test "${ac_cv_cxx_const_cast+set}" = set; then
23813 echo $ECHO_N "(cached) $ECHO_C" >&6
23817 ac_cpp='$CXXCPP $CPPFLAGS'
23818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23822 cat >conftest.$ac_ext <<_ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23832 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23837 rm -f conftest.$ac_objext
23838 if { (ac_try="$ac_compile"
23839 case "(($ac_try" in
23840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23841 *) ac_try_echo=$ac_try;;
23843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23844 (eval "$ac_compile") 2>conftest.er1
23846 grep -v '^ *+' conftest.er1 >conftest.err
23848 cat conftest.err >&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } && {
23851 test -z "$ac_cxx_werror_flag" ||
23852 test ! -s conftest.err
23853 } && test -s conftest.$ac_objext; then
23854 ac_cv_cxx_const_cast=yes
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23859 ac_cv_cxx_const_cast=no
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23871 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23872 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23873 if test "$ac_cv_cxx_const_cast" = yes; then
23875 cat >>confdefs.h <<\_ACEOF
23876 #define HAVE_CONST_CAST
23881 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23882 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23883 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23884 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 ac_cpp='$CXXCPP $CPPFLAGS'
23889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23893 cat >conftest.$ac_ext <<_ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #include <typeinfo>
23900 class Base { public : Base () {} virtual void f () = 0;};
23901 class Derived : public Base { public : Derived () {} virtual void f () {} };
23902 class Unrelated { public : Unrelated () {} };
23903 int g (Unrelated&) { return 0; }
23908 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23913 rm -f conftest.$ac_objext
23914 if { (ac_try="$ac_compile"
23915 case "(($ac_try" in
23916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;;
23919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23920 (eval "$ac_compile") 2>conftest.er1
23922 grep -v '^ *+' conftest.er1 >conftest.err
23924 cat conftest.err >&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); } && {
23927 test -z "$ac_cxx_werror_flag" ||
23928 test ! -s conftest.err
23929 } && test -s conftest.$ac_objext; then
23930 ac_cv_cxx_reinterpret_cast=yes
23932 echo "$as_me: failed program was:" >&5
23933 sed 's/^/| /' conftest.$ac_ext >&5
23935 ac_cv_cxx_reinterpret_cast=no
23938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23940 ac_cpp='$CPP $CPPFLAGS'
23941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23947 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23948 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23949 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23951 cat >>confdefs.h <<\_ACEOF
23952 #define HAVE_REINTERPRET_CAST
23957 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23958 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23959 if test "${ac_cv_cxx_static_cast+set}" = set; then
23960 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 ac_cpp='$CXXCPP $CPPFLAGS'
23965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23969 cat >conftest.$ac_ext <<_ACEOF
23972 cat confdefs.h >>conftest.$ac_ext
23973 cat >>conftest.$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23975 #include <typeinfo>
23976 class Base { public : Base () {} virtual void f () = 0; };
23977 class Derived : public Base { public : Derived () {} virtual void f () {} };
23978 int g (Derived&) { return 0; }
23983 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23988 rm -f conftest.$ac_objext
23989 if { (ac_try="$ac_compile"
23990 case "(($ac_try" in
23991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23992 *) ac_try_echo=$ac_try;;
23994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23995 (eval "$ac_compile") 2>conftest.er1
23997 grep -v '^ *+' conftest.er1 >conftest.err
23999 cat conftest.err >&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } && {
24002 test -z "$ac_cxx_werror_flag" ||
24003 test ! -s conftest.err
24004 } && test -s conftest.$ac_objext; then
24005 ac_cv_cxx_static_cast=yes
24007 echo "$as_me: failed program was:" >&5
24008 sed 's/^/| /' conftest.$ac_ext >&5
24010 ac_cv_cxx_static_cast=no
24013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_cpp='$CPP $CPPFLAGS'
24016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24022 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24023 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24024 if test "$ac_cv_cxx_static_cast" = yes; then
24026 cat >>confdefs.h <<\_ACEOF
24027 #define HAVE_STATIC_CAST
24033 if test "x$SUNCXX" = xyes; then
24034 CXXFLAGS="-features=tmplife $CXXFLAGS"
24037 if test "x$SUNCC" = xyes; then
24038 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24041 if test "x$SGICC" = "xyes"; then
24042 CFLAGS="-woff 3970 $CFLAGS"
24044 if test "x$SGICXX" = "xyes"; then
24045 CXXFLAGS="-woff 3970 $CXXFLAGS"
24048 if test "x$HPCC" = "xyes"; then
24049 CFLAGS="+W 2011,2450 $CFLAGS"
24051 if test "x$HPCXX" = "xyes"; then
24052 CXXFLAGS="+W 2340 $CXXFLAGS"
24055 if test "x$COMPAQCXX" = "xyes"; then
24056 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24060 ac_cpp='$CXXCPP $CPPFLAGS'
24061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24066 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24067 if test "$wxUSE_UNICODE" = "yes"; then
24068 std_string="std::wstring"
24069 char_type="wchar_t"
24071 std_string="std::string"
24075 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24076 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24077 if test "${wx_cv_class_stdstring+set}" = set; then
24078 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 cat >conftest.$ac_ext <<_ACEOF
24084 cat confdefs.h >>conftest.$ac_ext
24085 cat >>conftest.$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24096 rm -f conftest.$ac_objext
24097 if { (ac_try="$ac_compile"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_compile") 2>conftest.er1
24105 grep -v '^ *+' conftest.er1 >conftest.err
24107 cat conftest.err >&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && {
24110 test -z "$ac_cxx_werror_flag" ||
24111 test ! -s conftest.err
24112 } && test -s conftest.$ac_objext; then
24113 wx_cv_class_stdstring=yes
24115 echo "$as_me: failed program was:" >&5
24116 sed 's/^/| /' conftest.$ac_ext >&5
24118 wx_cv_class_stdstring=no
24122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24126 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24127 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24129 if test "$wx_cv_class_stdstring" = yes; then
24130 if test "$wxUSE_UNICODE" = "yes"; then
24131 cat >>confdefs.h <<\_ACEOF
24132 #define HAVE_STD_WSTRING 1
24137 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24138 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24139 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24143 cat >conftest.$ac_ext <<_ACEOF
24146 cat confdefs.h >>conftest.$ac_ext
24147 cat >>conftest.$ac_ext <<_ACEOF
24148 /* end confdefs.h. */
24150 #ifdef HAVE_WCHAR_H
24152 # include <stddef.h>
24154 # include <wchar.h>
24156 #ifdef HAVE_STDLIB_H
24157 # include <stdlib.h>
24165 std::basic_string<$char_type> foo;
24166 const $char_type* dummy = foo.c_str();
24171 rm -f conftest.$ac_objext
24172 if { (ac_try="$ac_compile"
24173 case "(($ac_try" in
24174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24175 *) ac_try_echo=$ac_try;;
24177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24178 (eval "$ac_compile") 2>conftest.er1
24180 grep -v '^ *+' conftest.er1 >conftest.err
24182 cat conftest.err >&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } && {
24185 test -z "$ac_cxx_werror_flag" ||
24186 test ! -s conftest.err
24187 } && test -s conftest.$ac_objext; then
24188 wx_cv_class_stdbasicstring=yes
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24193 wx_cv_class_stdbasicstring=no
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24201 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24202 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24204 if test "$wx_cv_class_stdbasicstring" != yes; then
24205 if test "$wxUSE_STL" = "yes"; then
24206 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24207 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24208 { (exit 1); exit 1; }; }
24209 elif test "$wxUSE_STD_STRING" = "yes"; then
24210 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24211 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24212 { (exit 1); exit 1; }; }
24214 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24215 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24216 wxUSE_STD_STRING=no
24222 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24223 { echo "$as_me:$LINENO: checking for std::istream" >&5
24224 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24225 if test "${ac_cv_type_std__istream+set}" = set; then
24226 echo $ECHO_N "(cached) $ECHO_C" >&6
24228 cat >conftest.$ac_ext <<_ACEOF
24231 cat confdefs.h >>conftest.$ac_ext
24232 cat >>conftest.$ac_ext <<_ACEOF
24233 /* end confdefs.h. */
24234 #include <iostream>
24236 typedef std::istream ac__type_new_;
24240 if ((ac__type_new_ *) 0)
24242 if (sizeof (ac__type_new_))
24248 rm -f conftest.$ac_objext
24249 if { (ac_try="$ac_compile"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_compile") 2>conftest.er1
24257 grep -v '^ *+' conftest.er1 >conftest.err
24259 cat conftest.err >&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } && {
24262 test -z "$ac_cxx_werror_flag" ||
24263 test ! -s conftest.err
24264 } && test -s conftest.$ac_objext; then
24265 ac_cv_type_std__istream=yes
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.$ac_ext >&5
24270 ac_cv_type_std__istream=no
24273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24275 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24276 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24277 if test $ac_cv_type_std__istream = yes; then
24279 cat >>confdefs.h <<_ACEOF
24280 #define HAVE_STD__ISTREAM 1
24285 wxUSE_STD_IOSTREAM=no
24287 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24288 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24289 if test "${ac_cv_type_std__ostream+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24292 cat >conftest.$ac_ext <<_ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 #include <iostream>
24300 typedef std::ostream ac__type_new_;
24304 if ((ac__type_new_ *) 0)
24306 if (sizeof (ac__type_new_))
24312 rm -f conftest.$ac_objext
24313 if { (ac_try="$ac_compile"
24314 case "(($ac_try" in
24315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24316 *) ac_try_echo=$ac_try;;
24318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24319 (eval "$ac_compile") 2>conftest.er1
24321 grep -v '^ *+' conftest.er1 >conftest.err
24323 cat conftest.err >&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && {
24326 test -z "$ac_cxx_werror_flag" ||
24327 test ! -s conftest.err
24328 } && test -s conftest.$ac_objext; then
24329 ac_cv_type_std__ostream=yes
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24334 ac_cv_type_std__ostream=no
24337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24339 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24340 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24341 if test $ac_cv_type_std__ostream = yes; then
24343 cat >>confdefs.h <<_ACEOF
24344 #define HAVE_STD__OSTREAM 1
24349 wxUSE_STD_IOSTREAM=no
24353 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24354 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24355 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24356 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24357 { (exit 1); exit 1; }; }
24359 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24360 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24365 if test "$wxUSE_STL" = "yes"; then
24366 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24367 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24368 if test "${wx_cv_lib_stl+set}" = set; then
24369 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 cat >conftest.$ac_ext <<_ACEOF
24374 cat confdefs.h >>conftest.$ac_ext
24375 cat >>conftest.$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24378 #include <functional>
24379 #include <algorithm>
24385 std::vector<int> moo;
24386 std::list<int> foo;
24387 std::vector<int>::iterator it =
24388 std::find_if(moo.begin(), moo.end(),
24389 std::bind2nd(std::less<int>(), 3));
24394 rm -f conftest.$ac_objext
24395 if { (ac_try="$ac_compile"
24396 case "(($ac_try" in
24397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24398 *) ac_try_echo=$ac_try;;
24400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24401 (eval "$ac_compile") 2>conftest.er1
24403 grep -v '^ *+' conftest.er1 >conftest.err
24405 cat conftest.err >&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); } && {
24408 test -z "$ac_cxx_werror_flag" ||
24409 test ! -s conftest.err
24410 } && test -s conftest.$ac_objext; then
24413 echo "$as_me: failed program was:" >&5
24414 sed 's/^/| /' conftest.$ac_ext >&5
24420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24423 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24424 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24426 if test "$wx_cv_lib_stl" != yes; then
24427 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24428 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24429 { (exit 1); exit 1; }; }
24432 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24433 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24434 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 cat >conftest.$ac_ext <<_ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24447 std::string foo, bar;
24449 foo.compare(1, 1, bar);
24450 foo.compare(1, 1, bar, 1, 1);
24452 foo.compare(1, 1, "");
24453 foo.compare(1, 1, "", 2);
24458 rm -f conftest.$ac_objext
24459 if { (ac_try="$ac_compile"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_compile") 2>conftest.er1
24467 grep -v '^ *+' conftest.er1 >conftest.err
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } && {
24472 test -z "$ac_cxx_werror_flag" ||
24473 test ! -s conftest.err
24474 } && test -s conftest.$ac_objext; then
24475 wx_cv_func_stdstring_compare=yes
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.$ac_ext >&5
24480 wx_cv_func_stdstring_compare=no
24484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24487 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24488 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24490 if test "$wx_cv_func_stdstring_compare" = yes; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define HAVE_STD_STRING_COMPARE 1
24497 { echo "$as_me:$LINENO: checking for hash_map" >&5
24498 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24499 if test "${ac_cv_header_hash_map+set}" = set; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24502 cat >conftest.$ac_ext <<_ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24511 #include <hash_map>
24513 rm -f conftest.$ac_objext
24514 if { (ac_try="$ac_compile"
24515 case "(($ac_try" in
24516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24517 *) ac_try_echo=$ac_try;;
24519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24520 (eval "$ac_compile") 2>conftest.er1
24522 grep -v '^ *+' conftest.er1 >conftest.err
24524 cat conftest.err >&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); } && {
24527 test -z "$ac_cxx_werror_flag" ||
24528 test ! -s conftest.err
24529 } && test -s conftest.$ac_objext; then
24530 ac_cv_header_hash_map=yes
24532 echo "$as_me: failed program was:" >&5
24533 sed 's/^/| /' conftest.$ac_ext >&5
24535 ac_cv_header_hash_map=no
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24540 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24541 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24542 if test $ac_cv_header_hash_map = yes; then
24543 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24544 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24545 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 cat >conftest.$ac_ext <<_ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554 #include <hash_map>
24555 #include <hash_set>
24559 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24560 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24565 rm -f conftest.$ac_objext
24566 if { (ac_try="$ac_compile"
24567 case "(($ac_try" in
24568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24569 *) ac_try_echo=$ac_try;;
24571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24572 (eval "$ac_compile") 2>conftest.er1
24574 grep -v '^ *+' conftest.er1 >conftest.err
24576 cat conftest.err >&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } && {
24579 test -z "$ac_cxx_werror_flag" ||
24580 test ! -s conftest.err
24581 } && test -s conftest.$ac_objext; then
24582 wx_cv_class_stdhashmapset=yes
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.$ac_ext >&5
24587 wx_cv_class_stdhashmapset=no
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24594 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24595 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24600 if test "$wx_cv_class_stdhashmapset" = yes; then
24601 cat >>confdefs.h <<\_ACEOF
24602 #define HAVE_HASH_MAP 1
24605 cat >>confdefs.h <<\_ACEOF
24606 #define HAVE_STD_HASH_MAP 1
24611 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24612 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24613 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24616 cat >conftest.$ac_ext <<_ACEOF
24619 cat confdefs.h >>conftest.$ac_ext
24620 cat >>conftest.$ac_ext <<_ACEOF
24621 /* end confdefs.h. */
24625 #include <ext/hash_map>
24627 rm -f conftest.$ac_objext
24628 if { (ac_try="$ac_compile"
24629 case "(($ac_try" in
24630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24631 *) ac_try_echo=$ac_try;;
24633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24634 (eval "$ac_compile") 2>conftest.er1
24636 grep -v '^ *+' conftest.er1 >conftest.err
24638 cat conftest.err >&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); } && {
24641 test -z "$ac_cxx_werror_flag" ||
24642 test ! -s conftest.err
24643 } && test -s conftest.$ac_objext; then
24644 ac_cv_header_ext_hash_map=yes
24646 echo "$as_me: failed program was:" >&5
24647 sed 's/^/| /' conftest.$ac_ext >&5
24649 ac_cv_header_ext_hash_map=no
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24655 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24656 if test $ac_cv_header_ext_hash_map = yes; then
24657 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24658 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24659 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 cat >conftest.$ac_ext <<_ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24668 #include <ext/hash_map>
24669 #include <ext/hash_set>
24673 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24674 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24679 rm -f conftest.$ac_objext
24680 if { (ac_try="$ac_compile"
24681 case "(($ac_try" in
24682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24683 *) ac_try_echo=$ac_try;;
24685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24686 (eval "$ac_compile") 2>conftest.er1
24688 grep -v '^ *+' conftest.er1 >conftest.err
24690 cat conftest.err >&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_cxx_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest.$ac_objext; then
24696 wx_cv_class_gnuhashmapset=yes
24698 echo "$as_me: failed program was:" >&5
24699 sed 's/^/| /' conftest.$ac_ext >&5
24701 wx_cv_class_gnuhashmapset=no
24704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24708 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24709 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24714 if test "$wx_cv_class_gnuhashmapset" = yes; then
24715 cat >>confdefs.h <<\_ACEOF
24716 #define HAVE_EXT_HASH_MAP 1
24719 cat >>confdefs.h <<\_ACEOF
24720 #define HAVE_GNU_CXX_HASH_MAP 1
24728 if test -n "$GCC"; then
24729 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24730 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24731 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 cat >conftest.$ac_ext <<_ACEOF
24738 cat confdefs.h >>conftest.$ac_ext
24739 cat >>conftest.$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24747 __sync_fetch_and_add(&value, 1);
24748 __sync_sub_and_fetch(&value, 1);
24754 rm -f conftest.$ac_objext
24755 if { (ac_try="$ac_compile"
24756 case "(($ac_try" in
24757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24758 *) ac_try_echo=$ac_try;;
24760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24761 (eval "$ac_compile") 2>conftest.er1
24763 grep -v '^ *+' conftest.er1 >conftest.err
24765 cat conftest.err >&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } && {
24768 test -z "$ac_cxx_werror_flag" ||
24769 test ! -s conftest.err
24770 } && test -s conftest.$ac_objext; then
24771 wx_cv_cc_gcc_atomic_builtins=yes
24773 echo "$as_me: failed program was:" >&5
24774 sed 's/^/| /' conftest.$ac_ext >&5
24776 wx_cv_cc_gcc_atomic_builtins=no
24779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24784 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24785 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24786 cat >>confdefs.h <<\_ACEOF
24787 #define HAVE_GCC_ATOMIC_BUILTINS 1
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24803 /usr/local/include \
24805 /usr/Motif-2.1/include \
24806 /usr/Motif-1.2/include \
24807 /usr/include/Motif1.2 \
24810 /usr/openwin/include \
24814 /usr/X11R6/include \
24815 /usr/X11R6.4/include \
24816 /usr/X11R5/include \
24817 /usr/X11R4/include \
24819 /usr/include/X11R6 \
24820 /usr/include/X11R5 \
24821 /usr/include/X11R4 \
24823 /usr/local/X11R6/include \
24824 /usr/local/X11R5/include \
24825 /usr/local/X11R4/include \
24827 /usr/local/include/X11R6 \
24828 /usr/local/include/X11R5 \
24829 /usr/local/include/X11R4 \
24833 /usr/local/X11/include \
24834 /usr/local/include/X11 \
24836 /usr/XFree86/include/X11 \
24839 /usr/openwin/share/include"
24841 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24842 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24846 if test "${wx_cv_std_libpath+set}" = set; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24850 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24851 for e in a so sl dylib dll.a; do
24853 if test -f $libc; then
24856 cat >conftest.$ac_ext <<_ACEOF
24857 int main() { return 0; }
24859 rm -f conftest.$ac_objext conftest$ac_exeext
24860 if { (ac_try="$ac_link"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_link") 2>conftest.er1
24868 grep -v '^ *+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_c_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest$ac_exeext &&
24876 $as_test_x conftest$ac_exeext; then
24877 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24879 echo "$as_me: failed program was:" >&5
24880 sed 's/^/| /' conftest.$ac_ext >&5
24885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24886 conftest$ac_exeext conftest.$ac_ext
24888 if test "x$wx_cv_std_libpath" != "x"; then
24894 if test "x$wx_cv_std_libpath" = "x"; then
24895 wx_cv_std_libpath="lib"
24904 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24905 wx_cv_std_libpath="lib/64"
24907 wx_cv_std_libpath="lib"
24912 if test "$ac_cv_sizeof_void_p" = 8 -a \
24913 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24914 wx_cv_std_libpath="lib64"
24916 wx_cv_std_libpath="lib"
24921 wx_cv_std_libpath="lib";
24925 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24926 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24928 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24930 if test "$build" != "$host" -a "$GCC" = yes; then
24931 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24932 cross_root=`dirname $cross_root`
24933 cross_root=`dirname $cross_root`
24935 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24936 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24937 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24939 if test -z "$PKG_CONFIG_PATH"; then
24940 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24941 export PKG_CONFIG_PATH
24944 if test -z "$x_includes" -o "$x_includes" = NONE; then
24947 for ac_dir in $SEARCH_INCLUDE /usr/include;
24949 if test -f "$ac_dir/X11/Intrinsic.h"; then
24950 ac_find_includes=$ac_dir
24955 x_includes=$ac_find_includes
24957 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24960 for ac_dir in $SEARCH_LIB;
24962 for ac_extension in a so sl dylib dll.a; do
24963 if test -f "$ac_dir/libXt.$ac_extension"; then
24964 ac_find_libraries=$ac_dir
24970 x_libraries=$ac_find_libraries
24976 cat >confcache <<\_ACEOF
24977 # This file is a shell script that caches the results of configure
24978 # tests run on this system so they can be shared between configure
24979 # scripts and configure runs, see configure's option --config-cache.
24980 # It is not useful on other systems. If it contains results you don't
24981 # want to keep, you may remove or edit it.
24983 # config.status only pays attention to the cache file if you give it
24984 # the --recheck option to rerun configure.
24986 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24987 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24988 # following values.
24992 # The following way of writing the cache mishandles newlines in values,
24993 # but we know of no workaround that is simple, portable, and efficient.
24994 # So, we kill variables containing newlines.
24995 # Ultrix sh set writes to stderr and can't be redirected directly,
24996 # and sets the high bit in the cache file unless we assign to the vars.
24998 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24999 eval ac_val=\$$ac_var
25003 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25004 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25007 _ | IFS | as_nl) ;; #(
25008 *) $as_unset $ac_var ;;
25014 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25015 *${as_nl}ac_space=\ *)
25016 # `set' does not quote correctly, so add quotes (double-quote
25017 # substitution turns \\\\ into \\, and sed turns \\ into \).
25020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25023 # `set' quotes correctly as required by POSIX, so do not add quotes.
25024 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25035 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25037 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25038 if test -w "$cache_file"; then
25039 test "x$cache_file" != "x/dev/null" &&
25040 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25041 echo "$as_me: updating cache $cache_file" >&6;}
25042 cat confcache >$cache_file
25044 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25045 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25050 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25051 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25052 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25053 if test "${wx_cv_lib_glibc21+set}" = set; then
25054 echo $ECHO_N "(cached) $ECHO_C" >&6
25057 cat >conftest.$ac_ext <<_ACEOF
25060 cat confdefs.h >>conftest.$ac_ext
25061 cat >>conftest.$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25063 #include <features.h>
25068 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25076 rm -f conftest.$ac_objext
25077 if { (ac_try="$ac_compile"
25078 case "(($ac_try" in
25079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25080 *) ac_try_echo=$ac_try;;
25082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25083 (eval "$ac_compile") 2>conftest.er1
25085 grep -v '^ *+' conftest.er1 >conftest.err
25087 cat conftest.err >&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); } && {
25090 test -z "$ac_c_werror_flag" ||
25091 test ! -s conftest.err
25092 } && test -s conftest.$ac_objext; then
25094 wx_cv_lib_glibc21=yes
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.$ac_ext >&5
25101 wx_cv_lib_glibc21=no
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25110 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25111 if test "$wx_cv_lib_glibc21" = "yes"; then
25112 cat >>confdefs.h <<\_ACEOF
25113 #define wxHAVE_GLIBC2 1
25119 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25120 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25121 cat >>confdefs.h <<\_ACEOF
25122 #define _GNU_SOURCE 1
25133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25134 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25136 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 cat >conftest.$ac_ext <<_ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25147 #define $ac_func innocuous_$ac_func
25149 /* System header to define __stub macros and hopefully few prototypes,
25150 which can conflict with char $ac_func (); below.
25151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25152 <limits.h> exists even on freestanding compilers. */
25155 # include <limits.h>
25157 # include <assert.h>
25162 /* Override any GCC internal prototype to avoid an error.
25163 Use char because int might match the return type of a GCC
25164 builtin and then its argument prototype would still apply. */
25169 /* The GNU C library defines this for functions which it implements
25170 to always fail with ENOSYS. Some functions are actually named
25171 something starting with __ and the normal name is an alias. */
25172 #if defined __stub_$ac_func || defined __stub___$ac_func
25179 return $ac_func ();
25184 rm -f conftest.$ac_objext conftest$ac_exeext
25185 if { (ac_try="$ac_link"
25186 case "(($ac_try" in
25187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25188 *) ac_try_echo=$ac_try;;
25190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25191 (eval "$ac_link") 2>conftest.er1
25193 grep -v '^ *+' conftest.er1 >conftest.err
25195 cat conftest.err >&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); } && {
25198 test -z "$ac_c_werror_flag" ||
25199 test ! -s conftest.err
25200 } && test -s conftest$ac_exeext &&
25201 $as_test_x conftest$ac_exeext; then
25202 eval "$as_ac_var=yes"
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.$ac_ext >&5
25207 eval "$as_ac_var=no"
25210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25211 conftest$ac_exeext conftest.$ac_ext
25213 ac_res=`eval echo '${'$as_ac_var'}'`
25214 { echo "$as_me:$LINENO: result: $ac_res" >&5
25215 echo "${ECHO_T}$ac_res" >&6; }
25216 if test `eval echo '${'$as_ac_var'}'` = yes; then
25217 cat >>confdefs.h <<_ACEOF
25218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25225 for ac_func in floor
25227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 cat >conftest.$ac_ext <<_ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25241 #define $ac_func innocuous_$ac_func
25243 /* System header to define __stub macros and hopefully few prototypes,
25244 which can conflict with char $ac_func (); below.
25245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25246 <limits.h> exists even on freestanding compilers. */
25249 # include <limits.h>
25251 # include <assert.h>
25256 /* Override any GCC internal prototype to avoid an error.
25257 Use char because int might match the return type of a GCC
25258 builtin and then its argument prototype would still apply. */
25263 /* The GNU C library defines this for functions which it implements
25264 to always fail with ENOSYS. Some functions are actually named
25265 something starting with __ and the normal name is an alias. */
25266 #if defined __stub_$ac_func || defined __stub___$ac_func
25273 return $ac_func ();
25278 rm -f conftest.$ac_objext conftest$ac_exeext
25279 if { (ac_try="$ac_link"
25280 case "(($ac_try" in
25281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282 *) ac_try_echo=$ac_try;;
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_link") 2>conftest.er1
25287 grep -v '^ *+' conftest.er1 >conftest.err
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } && {
25292 test -z "$ac_c_werror_flag" ||
25293 test ! -s conftest.err
25294 } && test -s conftest$ac_exeext &&
25295 $as_test_x conftest$ac_exeext; then
25296 eval "$as_ac_var=yes"
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25301 eval "$as_ac_var=no"
25304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25305 conftest$ac_exeext conftest.$ac_ext
25307 ac_res=`eval echo '${'$as_ac_var'}'`
25308 { echo "$as_me:$LINENO: result: $ac_res" >&5
25309 echo "${ECHO_T}$ac_res" >&6; }
25310 if test `eval echo '${'$as_ac_var'}'` = yes; then
25311 cat >>confdefs.h <<_ACEOF
25312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25318 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25319 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25320 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25321 { echo "$as_me:$LINENO: result: yes" >&5
25322 echo "${ECHO_T}yes" >&6; }
25324 { echo "$as_me:$LINENO: result: no" >&5
25325 echo "${ECHO_T}no" >&6; }
25327 # use different functions to avoid configure caching
25333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25337 echo $ECHO_N "(cached) $ECHO_C" >&6
25339 cat >conftest.$ac_ext <<_ACEOF
25342 cat confdefs.h >>conftest.$ac_ext
25343 cat >>conftest.$ac_ext <<_ACEOF
25344 /* end confdefs.h. */
25345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25347 #define $ac_func innocuous_$ac_func
25349 /* System header to define __stub macros and hopefully few prototypes,
25350 which can conflict with char $ac_func (); below.
25351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25352 <limits.h> exists even on freestanding compilers. */
25355 # include <limits.h>
25357 # include <assert.h>
25362 /* Override any GCC internal prototype to avoid an error.
25363 Use char because int might match the return type of a GCC
25364 builtin and then its argument prototype would still apply. */
25369 /* The GNU C library defines this for functions which it implements
25370 to always fail with ENOSYS. Some functions are actually named
25371 something starting with __ and the normal name is an alias. */
25372 #if defined __stub_$ac_func || defined __stub___$ac_func
25379 return $ac_func ();
25384 rm -f conftest.$ac_objext conftest$ac_exeext
25385 if { (ac_try="$ac_link"
25386 case "(($ac_try" in
25387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25388 *) ac_try_echo=$ac_try;;
25390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25391 (eval "$ac_link") 2>conftest.er1
25393 grep -v '^ *+' conftest.er1 >conftest.err
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && {
25398 test -z "$ac_c_werror_flag" ||
25399 test ! -s conftest.err
25400 } && test -s conftest$ac_exeext &&
25401 $as_test_x conftest$ac_exeext; then
25402 eval "$as_ac_var=yes"
25404 echo "$as_me: failed program was:" >&5
25405 sed 's/^/| /' conftest.$ac_ext >&5
25407 eval "$as_ac_var=no"
25410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25411 conftest$ac_exeext conftest.$ac_ext
25413 ac_res=`eval echo '${'$as_ac_var'}'`
25414 { echo "$as_me:$LINENO: result: $ac_res" >&5
25415 echo "${ECHO_T}$ac_res" >&6; }
25416 if test `eval echo '${'$as_ac_var'}'` = yes; then
25417 cat >>confdefs.h <<_ACEOF
25418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25425 for ac_func in ceil
25427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25433 cat >conftest.$ac_ext <<_ACEOF
25436 cat confdefs.h >>conftest.$ac_ext
25437 cat >>conftest.$ac_ext <<_ACEOF
25438 /* end confdefs.h. */
25439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25441 #define $ac_func innocuous_$ac_func
25443 /* System header to define __stub macros and hopefully few prototypes,
25444 which can conflict with char $ac_func (); below.
25445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25446 <limits.h> exists even on freestanding compilers. */
25449 # include <limits.h>
25451 # include <assert.h>
25456 /* Override any GCC internal prototype to avoid an error.
25457 Use char because int might match the return type of a GCC
25458 builtin and then its argument prototype would still apply. */
25463 /* The GNU C library defines this for functions which it implements
25464 to always fail with ENOSYS. Some functions are actually named
25465 something starting with __ and the normal name is an alias. */
25466 #if defined __stub_$ac_func || defined __stub___$ac_func
25473 return $ac_func ();
25478 rm -f conftest.$ac_objext conftest$ac_exeext
25479 if { (ac_try="$ac_link"
25480 case "(($ac_try" in
25481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25482 *) ac_try_echo=$ac_try;;
25484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25485 (eval "$ac_link") 2>conftest.er1
25487 grep -v '^ *+' conftest.er1 >conftest.err
25489 cat conftest.err >&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); } && {
25492 test -z "$ac_c_werror_flag" ||
25493 test ! -s conftest.err
25494 } && test -s conftest$ac_exeext &&
25495 $as_test_x conftest$ac_exeext; then
25496 eval "$as_ac_var=yes"
25498 echo "$as_me: failed program was:" >&5
25499 sed 's/^/| /' conftest.$ac_ext >&5
25501 eval "$as_ac_var=no"
25504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25505 conftest$ac_exeext conftest.$ac_ext
25507 ac_res=`eval echo '${'$as_ac_var'}'`
25508 { echo "$as_me:$LINENO: result: $ac_res" >&5
25509 echo "${ECHO_T}$ac_res" >&6; }
25510 if test `eval echo '${'$as_ac_var'}'` = yes; then
25511 cat >>confdefs.h <<_ACEOF
25512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25518 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25519 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25520 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25521 { echo "$as_me:$LINENO: result: yes" >&5
25522 echo "${ECHO_T}yes" >&6; }
25524 { echo "$as_me:$LINENO: result: no" >&5
25525 echo "${ECHO_T}no" >&6; }
25526 # not sure we should warn the user, crash, etc.
25531 ac_cpp='$CXXCPP $CPPFLAGS'
25532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25536 if test "wxUSE_UNICODE" = "yes"; then
25538 for wx_func in wcstoull
25540 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25541 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25542 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25543 echo $ECHO_N "(cached) $ECHO_C" >&6
25546 cat >conftest.$ac_ext <<_ACEOF
25550 cat confdefs.h >>conftest.$ac_ext
25551 cat >>conftest.$ac_ext <<_ACEOF
25552 /* end confdefs.h. */
25555 $ac_includes_default
25571 rm -f conftest.$ac_objext conftest$ac_exeext
25572 if { (ac_try="$ac_link"
25573 case "(($ac_try" in
25574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25575 *) ac_try_echo=$ac_try;;
25577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25578 (eval "$ac_link") 2>conftest.er1
25580 grep -v '^ *+' conftest.er1 >conftest.err
25582 cat conftest.err >&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); } && {
25585 test -z "$ac_cxx_werror_flag" ||
25586 test ! -s conftest.err
25587 } && test -s conftest$ac_exeext &&
25588 $as_test_x conftest$ac_exeext; then
25589 eval wx_cv_func_$wx_func=yes
25591 echo "$as_me: failed program was:" >&5
25592 sed 's/^/| /' conftest.$ac_ext >&5
25594 eval wx_cv_func_$wx_func=no
25597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25598 conftest$ac_exeext conftest.$ac_ext
25601 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25602 { echo "$as_me:$LINENO: result: $ac_res" >&5
25603 echo "${ECHO_T}$ac_res" >&6; }
25605 if eval test \$wx_cv_func_$wx_func = yes
25607 cat >>confdefs.h <<_ACEOF
25608 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25620 for wx_func in strtoull
25622 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25623 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25624 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25628 cat >conftest.$ac_ext <<_ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25637 $ac_includes_default
25653 rm -f conftest.$ac_objext conftest$ac_exeext
25654 if { (ac_try="$ac_link"
25655 case "(($ac_try" in
25656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25657 *) ac_try_echo=$ac_try;;
25659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25660 (eval "$ac_link") 2>conftest.er1
25662 grep -v '^ *+' conftest.er1 >conftest.err
25664 cat conftest.err >&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } && {
25667 test -z "$ac_cxx_werror_flag" ||
25668 test ! -s conftest.err
25669 } && test -s conftest$ac_exeext &&
25670 $as_test_x conftest$ac_exeext; then
25671 eval wx_cv_func_$wx_func=yes
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.$ac_ext >&5
25676 eval wx_cv_func_$wx_func=no
25679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25680 conftest$ac_exeext conftest.$ac_ext
25683 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25684 { echo "$as_me:$LINENO: result: $ac_res" >&5
25685 echo "${ECHO_T}$ac_res" >&6; }
25687 if eval test \$wx_cv_func_$wx_func = yes
25689 cat >>confdefs.h <<_ACEOF
25690 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25702 ac_cpp='$CPP $CPPFLAGS'
25703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25710 if test "$wxUSE_REGEX" != "no"; then
25711 cat >>confdefs.h <<\_ACEOF
25712 #define wxUSE_REGEX 1
25716 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25717 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25718 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25719 wxUSE_REGEX=builtin
25722 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25723 { echo "$as_me:$LINENO: checking for regex.h" >&5
25724 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25725 if test "${ac_cv_header_regex_h+set}" = set; then
25726 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 cat >conftest.$ac_ext <<_ACEOF
25731 cat confdefs.h >>conftest.$ac_ext
25732 cat >>conftest.$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25738 rm -f conftest.$ac_objext
25739 if { (ac_try="$ac_compile"
25740 case "(($ac_try" in
25741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25742 *) ac_try_echo=$ac_try;;
25744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25745 (eval "$ac_compile") 2>conftest.er1
25747 grep -v '^ *+' conftest.er1 >conftest.err
25749 cat conftest.err >&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } && {
25752 test -z "$ac_c_werror_flag" ||
25753 test ! -s conftest.err
25754 } && test -s conftest.$ac_objext; then
25755 ac_cv_header_regex_h=yes
25757 echo "$as_me: failed program was:" >&5
25758 sed 's/^/| /' conftest.$ac_ext >&5
25760 ac_cv_header_regex_h=no
25763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25765 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25766 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25767 if test $ac_cv_header_regex_h = yes; then
25770 for ac_func in regcomp re_search
25772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 cat >conftest.$ac_ext <<_ACEOF
25781 cat confdefs.h >>conftest.$ac_ext
25782 cat >>conftest.$ac_ext <<_ACEOF
25783 /* end confdefs.h. */
25784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25786 #define $ac_func innocuous_$ac_func
25788 /* System header to define __stub macros and hopefully few prototypes,
25789 which can conflict with char $ac_func (); below.
25790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25791 <limits.h> exists even on freestanding compilers. */
25794 # include <limits.h>
25796 # include <assert.h>
25801 /* Override any GCC internal prototype to avoid an error.
25802 Use char because int might match the return type of a GCC
25803 builtin and then its argument prototype would still apply. */
25808 /* The GNU C library defines this for functions which it implements
25809 to always fail with ENOSYS. Some functions are actually named
25810 something starting with __ and the normal name is an alias. */
25811 #if defined __stub_$ac_func || defined __stub___$ac_func
25818 return $ac_func ();
25823 rm -f conftest.$ac_objext conftest$ac_exeext
25824 if { (ac_try="$ac_link"
25825 case "(($ac_try" in
25826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25827 *) ac_try_echo=$ac_try;;
25829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25830 (eval "$ac_link") 2>conftest.er1
25832 grep -v '^ *+' conftest.er1 >conftest.err
25834 cat conftest.err >&5
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); } && {
25837 test -z "$ac_c_werror_flag" ||
25838 test ! -s conftest.err
25839 } && test -s conftest$ac_exeext &&
25840 $as_test_x conftest$ac_exeext; then
25841 eval "$as_ac_var=yes"
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25846 eval "$as_ac_var=no"
25849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25850 conftest$ac_exeext conftest.$ac_ext
25852 ac_res=`eval echo '${'$as_ac_var'}'`
25853 { echo "$as_me:$LINENO: result: $ac_res" >&5
25854 echo "${ECHO_T}$ac_res" >&6; }
25855 if test `eval echo '${'$as_ac_var'}'` = yes; then
25856 cat >>confdefs.h <<_ACEOF
25857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25867 if test "x$ac_cv_func_regcomp" != "xyes"; then
25868 if test "$wxUSE_REGEX" = "sys" ; then
25869 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25870 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25871 { (exit 1); exit 1; }; }
25873 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25874 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25875 wxUSE_REGEX=builtin
25879 cat >>confdefs.h <<\_ACEOF
25880 #define WX_NO_REGEX_ADVANCED 1
25889 if test "$wxUSE_ZLIB" != "no" ; then
25890 cat >>confdefs.h <<\_ACEOF
25891 #define wxUSE_ZLIB 1
25895 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25896 if test "$USE_DARWIN" = 1; then
25897 system_zlib_h_ok="yes"
25899 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25900 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25901 if test "${ac_cv_header_zlib_h+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 if test "$cross_compiling" = yes; then
25905 unset ac_cv_header_zlib_h
25908 cat >conftest.$ac_ext <<_ACEOF
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25920 FILE *f=fopen("conftestval", "w");
25923 ZLIB_VERSION[0] == '1' &&
25924 (ZLIB_VERSION[2] > '1' ||
25925 (ZLIB_VERSION[2] == '1' &&
25926 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25931 rm -f conftest$ac_exeext
25932 if { (ac_try="$ac_link"
25933 case "(($ac_try" in
25934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;;
25937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25938 (eval "$ac_link") 2>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25942 { (case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_try") 2>&5
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; }; then
25951 ac_cv_header_zlib_h=`cat conftestval`
25953 echo "$as_me: program exited with status $ac_status" >&5
25954 echo "$as_me: failed program was:" >&5
25955 sed 's/^/| /' conftest.$ac_ext >&5
25957 ( exit $ac_status )
25958 ac_cv_header_zlib_h=no
25960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25966 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25967 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25968 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25969 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25970 if test "${ac_cv_header_zlib_h+set}" = set; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 cat >conftest.$ac_ext <<_ACEOF
25976 cat confdefs.h >>conftest.$ac_ext
25977 cat >>conftest.$ac_ext <<_ACEOF
25978 /* end confdefs.h. */
25983 rm -f conftest.$ac_objext
25984 if { (ac_try="$ac_compile"
25985 case "(($ac_try" in
25986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_compile") 2>conftest.er1
25992 grep -v '^ *+' conftest.er1 >conftest.err
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } && {
25997 test -z "$ac_c_werror_flag" ||
25998 test ! -s conftest.err
25999 } && test -s conftest.$ac_objext; then
26000 ac_cv_header_zlib_h=yes
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26005 ac_cv_header_zlib_h=no
26008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26010 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26011 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26015 system_zlib_h_ok=$ac_cv_header_zlib_h
26018 if test "$system_zlib_h_ok" = "yes"; then
26019 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26020 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26021 if test "${ac_cv_lib_z_deflate+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26024 ac_check_lib_save_LIBS=$LIBS
26026 cat >conftest.$ac_ext <<_ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h. */
26033 /* Override any GCC internal prototype to avoid an error.
26034 Use char because int might match the return type of a GCC
26035 builtin and then its argument prototype would still apply. */
26048 rm -f conftest.$ac_objext conftest$ac_exeext
26049 if { (ac_try="$ac_link"
26050 case "(($ac_try" in
26051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26052 *) ac_try_echo=$ac_try;;
26054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26055 (eval "$ac_link") 2>conftest.er1
26057 grep -v '^ *+' conftest.er1 >conftest.err
26059 cat conftest.err >&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); } && {
26062 test -z "$ac_c_werror_flag" ||
26063 test ! -s conftest.err
26064 } && test -s conftest$ac_exeext &&
26065 $as_test_x conftest$ac_exeext; then
26066 ac_cv_lib_z_deflate=yes
26068 echo "$as_me: failed program was:" >&5
26069 sed 's/^/| /' conftest.$ac_ext >&5
26071 ac_cv_lib_z_deflate=no
26074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26075 conftest$ac_exeext conftest.$ac_ext
26076 LIBS=$ac_check_lib_save_LIBS
26078 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26079 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26080 if test $ac_cv_lib_z_deflate = yes; then
26086 if test "x$ZLIB_LINK" = "x" ; then
26087 if test "$wxUSE_ZLIB" = "sys" ; then
26088 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26089 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26090 { (exit 1); exit 1; }; }
26092 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26093 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26104 if test "$wxUSE_LIBPNG" != "no" ; then
26105 cat >>confdefs.h <<\_ACEOF
26106 #define wxUSE_LIBPNG 1
26110 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26111 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26112 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26116 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26117 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26118 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26119 wxUSE_LIBPNG=builtin
26122 if test "$wxUSE_MGL" != 1 ; then
26123 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26124 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26125 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26126 if test "${ac_cv_header_png_h+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 if test "$cross_compiling" = yes; then
26130 unset ac_cv_header_png_h
26133 cat >conftest.$ac_ext <<_ACEOF
26136 cat confdefs.h >>conftest.$ac_ext
26137 cat >>conftest.$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26145 FILE *f=fopen("conftestval", "w");
26148 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26153 rm -f conftest$ac_exeext
26154 if { (ac_try="$ac_link"
26155 case "(($ac_try" in
26156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26157 *) ac_try_echo=$ac_try;;
26159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26160 (eval "$ac_link") 2>&5
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26164 { (case "(($ac_try" in
26165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26166 *) ac_try_echo=$ac_try;;
26168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169 (eval "$ac_try") 2>&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; }; then
26173 ac_cv_header_png_h=`cat conftestval`
26175 echo "$as_me: program exited with status $ac_status" >&5
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26179 ( exit $ac_status )
26180 ac_cv_header_png_h=no
26182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26188 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26189 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26190 { echo "$as_me:$LINENO: checking for png.h" >&5
26191 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26192 if test "${ac_cv_header_png_h+set}" = set; then
26193 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 cat >conftest.$ac_ext <<_ACEOF
26198 cat confdefs.h >>conftest.$ac_ext
26199 cat >>conftest.$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26205 rm -f conftest.$ac_objext
26206 if { (ac_try="$ac_compile"
26207 case "(($ac_try" in
26208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26209 *) ac_try_echo=$ac_try;;
26211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26212 (eval "$ac_compile") 2>conftest.er1
26214 grep -v '^ *+' conftest.er1 >conftest.err
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } && {
26219 test -z "$ac_c_werror_flag" ||
26220 test ! -s conftest.err
26221 } && test -s conftest.$ac_objext; then
26222 ac_cv_header_png_h=yes
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26227 ac_cv_header_png_h=no
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26233 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26237 if test "$ac_cv_header_png_h" = "yes"; then
26238 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26239 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26240 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 ac_check_lib_save_LIBS=$LIBS
26244 LIBS="-lpng -lz -lm $LIBS"
26245 cat >conftest.$ac_ext <<_ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26252 /* Override any GCC internal prototype to avoid an error.
26253 Use char because int might match the return type of a GCC
26254 builtin and then its argument prototype would still apply. */
26258 char png_check_sig ();
26262 return png_check_sig ();
26267 rm -f conftest.$ac_objext conftest$ac_exeext
26268 if { (ac_try="$ac_link"
26269 case "(($ac_try" in
26270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26271 *) ac_try_echo=$ac_try;;
26273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26274 (eval "$ac_link") 2>conftest.er1
26276 grep -v '^ *+' conftest.er1 >conftest.err
26278 cat conftest.err >&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); } && {
26281 test -z "$ac_c_werror_flag" ||
26282 test ! -s conftest.err
26283 } && test -s conftest$ac_exeext &&
26284 $as_test_x conftest$ac_exeext; then
26285 ac_cv_lib_png_png_check_sig=yes
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26290 ac_cv_lib_png_png_check_sig=no
26293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26294 conftest$ac_exeext conftest.$ac_ext
26295 LIBS=$ac_check_lib_save_LIBS
26297 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26298 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26299 if test $ac_cv_lib_png_png_check_sig = yes; then
26300 PNG_LINK=" -lpng -lz"
26305 if test "x$PNG_LINK" = "x" ; then
26306 if test "$wxUSE_LIBPNG" = "sys" ; then
26307 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26308 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26309 { (exit 1); exit 1; }; }
26311 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26312 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26313 wxUSE_LIBPNG=builtin
26324 if test "$wxUSE_LIBJPEG" != "no" ; then
26325 cat >>confdefs.h <<\_ACEOF
26326 #define wxUSE_LIBJPEG 1
26330 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26331 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26332 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26336 if test "$wxUSE_MGL" != 1 ; then
26337 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26338 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26339 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26340 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26341 echo $ECHO_N "(cached) $ECHO_C" >&6
26343 cat >conftest.$ac_ext <<_ACEOF
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26350 #undef HAVE_STDLIB_H
26352 #include <jpeglib.h>
26363 rm -f conftest.$ac_objext
26364 if { (ac_try="$ac_compile"
26365 case "(($ac_try" in
26366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26367 *) ac_try_echo=$ac_try;;
26369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26370 (eval "$ac_compile") 2>conftest.er1
26372 grep -v '^ *+' conftest.er1 >conftest.err
26374 cat conftest.err >&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } && {
26377 test -z "$ac_c_werror_flag" ||
26378 test ! -s conftest.err
26379 } && test -s conftest.$ac_objext; then
26380 ac_cv_header_jpeglib_h=yes
26382 echo "$as_me: failed program was:" >&5
26383 sed 's/^/| /' conftest.$ac_ext >&5
26385 ac_cv_header_jpeglib_h=no
26389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26393 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26394 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26396 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26397 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26398 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26399 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26400 echo $ECHO_N "(cached) $ECHO_C" >&6
26402 ac_check_lib_save_LIBS=$LIBS
26403 LIBS="-ljpeg $LIBS"
26404 cat >conftest.$ac_ext <<_ACEOF
26407 cat confdefs.h >>conftest.$ac_ext
26408 cat >>conftest.$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26411 /* Override any GCC internal prototype to avoid an error.
26412 Use char because int might match the return type of a GCC
26413 builtin and then its argument prototype would still apply. */
26417 char jpeg_read_header ();
26421 return jpeg_read_header ();
26426 rm -f conftest.$ac_objext conftest$ac_exeext
26427 if { (ac_try="$ac_link"
26428 case "(($ac_try" in
26429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26430 *) ac_try_echo=$ac_try;;
26432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26433 (eval "$ac_link") 2>conftest.er1
26435 grep -v '^ *+' conftest.er1 >conftest.err
26437 cat conftest.err >&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } && {
26440 test -z "$ac_c_werror_flag" ||
26441 test ! -s conftest.err
26442 } && test -s conftest$ac_exeext &&
26443 $as_test_x conftest$ac_exeext; then
26444 ac_cv_lib_jpeg_jpeg_read_header=yes
26446 echo "$as_me: failed program was:" >&5
26447 sed 's/^/| /' conftest.$ac_ext >&5
26449 ac_cv_lib_jpeg_jpeg_read_header=no
26452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26453 conftest$ac_exeext conftest.$ac_ext
26454 LIBS=$ac_check_lib_save_LIBS
26456 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26457 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26458 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26459 JPEG_LINK=" -ljpeg"
26464 if test "x$JPEG_LINK" = "x" ; then
26465 if test "$wxUSE_LIBJPEG" = "sys" ; then
26466 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26467 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26468 { (exit 1); exit 1; }; }
26470 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26471 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26472 wxUSE_LIBJPEG=builtin
26477 if test "$wxUSE_MSW" = 1; then
26478 { echo "$as_me:$LINENO: checking for boolean" >&5
26479 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26480 if test "${ac_cv_type_boolean+set}" = set; then
26481 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 cat >conftest.$ac_ext <<_ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489 #include <windows.h>
26491 typedef boolean ac__type_new_;
26495 if ((ac__type_new_ *) 0)
26497 if (sizeof (ac__type_new_))
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26512 grep -v '^ *+' conftest.er1 >conftest.err
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_c_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.$ac_objext; then
26520 ac_cv_type_boolean=yes
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.$ac_ext >&5
26525 ac_cv_type_boolean=no
26528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26530 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26531 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26532 if test $ac_cv_type_boolean = yes; then
26534 cat >>confdefs.h <<_ACEOF
26535 #define HAVE_BOOLEAN 1
26539 { echo "$as_me:$LINENO: checking for boolean" >&5
26540 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26541 if test "${ac_cv_type_boolean+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 cat >conftest.$ac_ext <<_ACEOF
26547 cat confdefs.h >>conftest.$ac_ext
26548 cat >>conftest.$ac_ext <<_ACEOF
26549 /* end confdefs.h. */
26551 #undef HAVE_BOOLEAN
26553 #include <jpeglib.h>
26556 typedef boolean ac__type_new_;
26560 if ((ac__type_new_ *) 0)
26562 if (sizeof (ac__type_new_))
26568 rm -f conftest.$ac_objext
26569 if { (ac_try="$ac_compile"
26570 case "(($ac_try" in
26571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26572 *) ac_try_echo=$ac_try;;
26574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575 (eval "$ac_compile") 2>conftest.er1
26577 grep -v '^ *+' conftest.er1 >conftest.err
26579 cat conftest.err >&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } && {
26582 test -z "$ac_c_werror_flag" ||
26583 test ! -s conftest.err
26584 } && test -s conftest.$ac_objext; then
26585 ac_cv_type_boolean=yes
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.$ac_ext >&5
26590 ac_cv_type_boolean=no
26593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26595 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26596 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26598 # The cast to long int works around a bug in the HP C Compiler
26599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26601 # This bug is HP SR number 8606223364.
26602 { echo "$as_me:$LINENO: checking size of boolean" >&5
26603 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26604 if test "${ac_cv_sizeof_boolean+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 if test "$cross_compiling" = yes; then
26608 # Depending upon the size, compute the lo and hi bounds.
26609 cat >conftest.$ac_ext <<_ACEOF
26612 cat confdefs.h >>conftest.$ac_ext
26613 cat >>conftest.$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26616 #undef HAVE_BOOLEAN
26618 #include <jpeglib.h>
26621 typedef boolean ac__type_sizeof_;
26625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26632 rm -f conftest.$ac_objext
26633 if { (ac_try="$ac_compile"
26634 case "(($ac_try" in
26635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26636 *) ac_try_echo=$ac_try;;
26638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26639 (eval "$ac_compile") 2>conftest.er1
26641 grep -v '^ *+' conftest.er1 >conftest.err
26643 cat conftest.err >&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } && {
26646 test -z "$ac_c_werror_flag" ||
26647 test ! -s conftest.err
26648 } && test -s conftest.$ac_objext; then
26651 cat >conftest.$ac_ext <<_ACEOF
26654 cat confdefs.h >>conftest.$ac_ext
26655 cat >>conftest.$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26658 #undef HAVE_BOOLEAN
26660 #include <jpeglib.h>
26663 typedef boolean ac__type_sizeof_;
26667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26674 rm -f conftest.$ac_objext
26675 if { (ac_try="$ac_compile"
26676 case "(($ac_try" in
26677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26678 *) ac_try_echo=$ac_try;;
26680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26681 (eval "$ac_compile") 2>conftest.er1
26683 grep -v '^ *+' conftest.er1 >conftest.err
26685 cat conftest.err >&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } && {
26688 test -z "$ac_c_werror_flag" ||
26689 test ! -s conftest.err
26690 } && test -s conftest.$ac_objext; then
26691 ac_hi=$ac_mid; break
26693 echo "$as_me: failed program was:" >&5
26694 sed 's/^/| /' conftest.$ac_ext >&5
26696 ac_lo=`expr $ac_mid + 1`
26697 if test $ac_lo -le $ac_mid; then
26701 ac_mid=`expr 2 '*' $ac_mid + 1`
26704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707 echo "$as_me: failed program was:" >&5
26708 sed 's/^/| /' conftest.$ac_ext >&5
26710 cat >conftest.$ac_ext <<_ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26717 #undef HAVE_BOOLEAN
26719 #include <jpeglib.h>
26722 typedef boolean ac__type_sizeof_;
26726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26733 rm -f conftest.$ac_objext
26734 if { (ac_try="$ac_compile"
26735 case "(($ac_try" in
26736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26737 *) ac_try_echo=$ac_try;;
26739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26740 (eval "$ac_compile") 2>conftest.er1
26742 grep -v '^ *+' conftest.er1 >conftest.err
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } && {
26747 test -z "$ac_c_werror_flag" ||
26748 test ! -s conftest.err
26749 } && test -s conftest.$ac_objext; then
26752 cat >conftest.$ac_ext <<_ACEOF
26755 cat confdefs.h >>conftest.$ac_ext
26756 cat >>conftest.$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26759 #undef HAVE_BOOLEAN
26761 #include <jpeglib.h>
26764 typedef boolean ac__type_sizeof_;
26768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26775 rm -f conftest.$ac_objext
26776 if { (ac_try="$ac_compile"
26777 case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26779 *) ac_try_echo=$ac_try;;
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_compile") 2>conftest.er1
26784 grep -v '^ *+' conftest.er1 >conftest.err
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } && {
26789 test -z "$ac_c_werror_flag" ||
26790 test ! -s conftest.err
26791 } && test -s conftest.$ac_objext; then
26792 ac_lo=$ac_mid; break
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26797 ac_hi=`expr '(' $ac_mid ')' - 1`
26798 if test $ac_mid -le $ac_hi; then
26802 ac_mid=`expr 2 '*' $ac_mid`
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26818 # Binary search between lo and hi bounds.
26819 while test "x$ac_lo" != "x$ac_hi"; do
26820 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26821 cat >conftest.$ac_ext <<_ACEOF
26824 cat confdefs.h >>conftest.$ac_ext
26825 cat >>conftest.$ac_ext <<_ACEOF
26826 /* end confdefs.h. */
26828 #undef HAVE_BOOLEAN
26830 #include <jpeglib.h>
26833 typedef boolean ac__type_sizeof_;
26837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26844 rm -f conftest.$ac_objext
26845 if { (ac_try="$ac_compile"
26846 case "(($ac_try" in
26847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26848 *) ac_try_echo=$ac_try;;
26850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26851 (eval "$ac_compile") 2>conftest.er1
26853 grep -v '^ *+' conftest.er1 >conftest.err
26855 cat conftest.err >&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); } && {
26858 test -z "$ac_c_werror_flag" ||
26859 test ! -s conftest.err
26860 } && test -s conftest.$ac_objext; then
26863 echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.$ac_ext >&5
26866 ac_lo=`expr '(' $ac_mid ')' + 1`
26869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26872 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26873 '') if test "$ac_cv_type_boolean" = yes; then
26874 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26875 See \`config.log' for more details." >&5
26876 echo "$as_me: error: cannot compute sizeof (boolean)
26877 See \`config.log' for more details." >&2;}
26878 { (exit 77); exit 77; }; }
26880 ac_cv_sizeof_boolean=0
26884 cat >conftest.$ac_ext <<_ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26891 #undef HAVE_BOOLEAN
26893 #include <jpeglib.h>
26896 typedef boolean ac__type_sizeof_;
26897 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26898 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26900 #include <stdlib.h>
26905 FILE *f = fopen ("conftest.val", "w");
26908 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26910 long int i = longval ();
26911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26913 fprintf (f, "%ld\n", i);
26917 unsigned long int i = ulongval ();
26918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26920 fprintf (f, "%lu\n", i);
26922 return ferror (f) || fclose (f) != 0;
26928 rm -f conftest$ac_exeext
26929 if { (ac_try="$ac_link"
26930 case "(($ac_try" in
26931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26932 *) ac_try_echo=$ac_try;;
26934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26935 (eval "$ac_link") 2>&5
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26939 { (case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26941 *) ac_try_echo=$ac_try;;
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_try") 2>&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); }; }; then
26948 ac_cv_sizeof_boolean=`cat conftest.val`
26950 echo "$as_me: program exited with status $ac_status" >&5
26951 echo "$as_me: failed program was:" >&5
26952 sed 's/^/| /' conftest.$ac_ext >&5
26954 ( exit $ac_status )
26955 if test "$ac_cv_type_boolean" = yes; then
26956 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26957 See \`config.log' for more details." >&5
26958 echo "$as_me: error: cannot compute sizeof (boolean)
26959 See \`config.log' for more details." >&2;}
26960 { (exit 77); exit 77; }; }
26962 ac_cv_sizeof_boolean=0
26965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26969 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26970 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26974 cat >>confdefs.h <<_ACEOF
26975 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26979 cat >>confdefs.h <<_ACEOF
26980 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26994 TIFF_PREREQ_LINKS=-lm
26995 if test "$wxUSE_LIBTIFF" != "no" ; then
26996 cat >>confdefs.h <<\_ACEOF
26997 #define wxUSE_LIBTIFF 1
27001 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27002 if test "$wxUSE_LIBJPEG" = "sys"; then
27003 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27005 if test "$wxUSE_ZLIB" = "sys"; then
27006 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27008 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27009 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27010 if test "${ac_cv_header_tiffio_h+set}" = set; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 cat >conftest.$ac_ext <<_ACEOF
27016 cat confdefs.h >>conftest.$ac_ext
27017 cat >>conftest.$ac_ext <<_ACEOF
27018 /* end confdefs.h. */
27022 #include <tiffio.h>
27024 rm -f conftest.$ac_objext
27025 if { (ac_try="$ac_compile"
27026 case "(($ac_try" in
27027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27028 *) ac_try_echo=$ac_try;;
27030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27031 (eval "$ac_compile") 2>conftest.er1
27033 grep -v '^ *+' conftest.er1 >conftest.err
27035 cat conftest.err >&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } && {
27038 test -z "$ac_c_werror_flag" ||
27039 test ! -s conftest.err
27040 } && test -s conftest.$ac_objext; then
27041 ac_cv_header_tiffio_h=yes
27043 echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.$ac_ext >&5
27046 ac_cv_header_tiffio_h=no
27049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27051 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27052 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27053 if test $ac_cv_header_tiffio_h = yes; then
27055 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27056 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27057 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27058 echo $ECHO_N "(cached) $ECHO_C" >&6
27060 ac_check_lib_save_LIBS=$LIBS
27061 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27062 cat >conftest.$ac_ext <<_ACEOF
27065 cat confdefs.h >>conftest.$ac_ext
27066 cat >>conftest.$ac_ext <<_ACEOF
27067 /* end confdefs.h. */
27069 /* Override any GCC internal prototype to avoid an error.
27070 Use char because int might match the return type of a GCC
27071 builtin and then its argument prototype would still apply. */
27079 return TIFFError ();
27084 rm -f conftest.$ac_objext conftest$ac_exeext
27085 if { (ac_try="$ac_link"
27086 case "(($ac_try" in
27087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27088 *) ac_try_echo=$ac_try;;
27090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27091 (eval "$ac_link") 2>conftest.er1
27093 grep -v '^ *+' conftest.er1 >conftest.err
27095 cat conftest.err >&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && {
27098 test -z "$ac_c_werror_flag" ||
27099 test ! -s conftest.err
27100 } && test -s conftest$ac_exeext &&
27101 $as_test_x conftest$ac_exeext; then
27102 ac_cv_lib_tiff_TIFFError=yes
27104 echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.$ac_ext >&5
27107 ac_cv_lib_tiff_TIFFError=no
27110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27111 conftest$ac_exeext conftest.$ac_ext
27112 LIBS=$ac_check_lib_save_LIBS
27114 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27115 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27116 if test $ac_cv_lib_tiff_TIFFError = yes; then
27117 TIFF_LINK=" -ltiff"
27125 if test "x$TIFF_LINK" = "x" ; then
27126 if test "$wxUSE_LIBTIFF" = "sys" ; then
27127 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27128 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27129 { (exit 1); exit 1; }; }
27131 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27132 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27133 wxUSE_LIBTIFF=builtin
27139 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27140 if test "$wxUSE_LIBJPEG" = "no"; then
27141 ac_configure_args="$ac_configure_args --disable-jpeg"
27143 subdirs="$subdirs src/tiff"
27149 if test "$wxUSE_WCHAR_T" != "yes"; then
27150 if test "$wxUSE_EXPAT" != "no"; then
27151 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27152 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27155 if test "$wxUSE_XML" != "no"; then
27156 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27157 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27162 if test "$wxUSE_EXPAT" != "no"; then
27164 cat >>confdefs.h <<\_ACEOF
27165 #define wxUSE_EXPAT 1
27168 cat >>confdefs.h <<\_ACEOF
27169 #define wxUSE_XML 1
27173 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27174 { echo "$as_me:$LINENO: checking for expat.h" >&5
27175 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27176 if test "${ac_cv_header_expat_h+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 cat >conftest.$ac_ext <<_ACEOF
27182 cat confdefs.h >>conftest.$ac_ext
27183 cat >>conftest.$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27189 rm -f conftest.$ac_objext
27190 if { (ac_try="$ac_compile"
27191 case "(($ac_try" in
27192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27193 *) ac_try_echo=$ac_try;;
27195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27196 (eval "$ac_compile") 2>conftest.er1
27198 grep -v '^ *+' conftest.er1 >conftest.err
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } && {
27203 test -z "$ac_c_werror_flag" ||
27204 test ! -s conftest.err
27205 } && test -s conftest.$ac_objext; then
27206 ac_cv_header_expat_h=yes
27208 echo "$as_me: failed program was:" >&5
27209 sed 's/^/| /' conftest.$ac_ext >&5
27211 ac_cv_header_expat_h=no
27214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27216 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27217 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27218 if test $ac_cv_header_expat_h = yes; then
27223 if test "x$found_expat_h" = "x1"; then
27224 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27225 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27226 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27231 ac_cpp='$CXXCPP $CPPFLAGS'
27232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27236 cat >conftest.$ac_ext <<_ACEOF
27239 cat confdefs.h >>conftest.$ac_ext
27240 cat >>conftest.$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27251 rm -f conftest.$ac_objext
27252 if { (ac_try="$ac_compile"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_compile") 2>conftest.er1
27260 grep -v '^ *+' conftest.er1 >conftest.err
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_cxx_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest.$ac_objext; then
27268 wx_cv_expat_is_not_broken=yes
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27273 wx_cv_expat_is_not_broken=no
27277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27279 ac_cpp='$CPP $CPPFLAGS'
27280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27287 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27288 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27289 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27290 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27291 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27292 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 ac_check_lib_save_LIBS=$LIBS
27296 LIBS="-lexpat $LIBS"
27297 cat >conftest.$ac_ext <<_ACEOF
27300 cat confdefs.h >>conftest.$ac_ext
27301 cat >>conftest.$ac_ext <<_ACEOF
27302 /* end confdefs.h. */
27304 /* Override any GCC internal prototype to avoid an error.
27305 Use char because int might match the return type of a GCC
27306 builtin and then its argument prototype would still apply. */
27310 char XML_ParserCreate ();
27314 return XML_ParserCreate ();
27319 rm -f conftest.$ac_objext conftest$ac_exeext
27320 if { (ac_try="$ac_link"
27321 case "(($ac_try" in
27322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27323 *) ac_try_echo=$ac_try;;
27325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27326 (eval "$ac_link") 2>conftest.er1
27328 grep -v '^ *+' conftest.er1 >conftest.err
27330 cat conftest.err >&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } && {
27333 test -z "$ac_c_werror_flag" ||
27334 test ! -s conftest.err
27335 } && test -s conftest$ac_exeext &&
27336 $as_test_x conftest$ac_exeext; then
27337 ac_cv_lib_expat_XML_ParserCreate=yes
27339 echo "$as_me: failed program was:" >&5
27340 sed 's/^/| /' conftest.$ac_ext >&5
27342 ac_cv_lib_expat_XML_ParserCreate=no
27345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27346 conftest$ac_exeext conftest.$ac_ext
27347 LIBS=$ac_check_lib_save_LIBS
27349 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27350 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27351 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27352 EXPAT_LINK=" -lexpat"
27357 if test "x$EXPAT_LINK" = "x" ; then
27358 if test "$wxUSE_EXPAT" = "sys" ; then
27359 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27360 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27361 { (exit 1); exit 1; }; }
27363 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27364 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27365 wxUSE_EXPAT=builtin
27371 if test "$wxUSE_EXPAT" = "builtin" ; then
27372 subdirs="$subdirs src/expat"
27379 if test "$wxUSE_LIBMSPACK" != "no"; then
27380 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27381 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27382 if test "${ac_cv_header_mspack_h+set}" = set; then
27383 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 cat >conftest.$ac_ext <<_ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27393 #include <mspack.h>
27395 rm -f conftest.$ac_objext
27396 if { (ac_try="$ac_compile"
27397 case "(($ac_try" in
27398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27399 *) ac_try_echo=$ac_try;;
27401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27402 (eval "$ac_compile") 2>conftest.er1
27404 grep -v '^ *+' conftest.er1 >conftest.err
27406 cat conftest.err >&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } && {
27409 test -z "$ac_c_werror_flag" ||
27410 test ! -s conftest.err
27411 } && test -s conftest.$ac_objext; then
27412 ac_cv_header_mspack_h=yes
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.$ac_ext >&5
27417 ac_cv_header_mspack_h=no
27420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27422 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27423 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27424 if test $ac_cv_header_mspack_h = yes; then
27429 if test "x$found_mspack_h" = "x1"; then
27430 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27431 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27432 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 ac_check_lib_save_LIBS=$LIBS
27436 LIBS="-lmspack $LIBS"
27437 cat >conftest.$ac_ext <<_ACEOF
27440 cat confdefs.h >>conftest.$ac_ext
27441 cat >>conftest.$ac_ext <<_ACEOF
27442 /* end confdefs.h. */
27444 /* Override any GCC internal prototype to avoid an error.
27445 Use char because int might match the return type of a GCC
27446 builtin and then its argument prototype would still apply. */
27450 char mspack_create_chm_decompressor ();
27454 return mspack_create_chm_decompressor ();
27459 rm -f conftest.$ac_objext conftest$ac_exeext
27460 if { (ac_try="$ac_link"
27461 case "(($ac_try" in
27462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_link") 2>conftest.er1
27468 grep -v '^ *+' conftest.er1 >conftest.err
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } && {
27473 test -z "$ac_c_werror_flag" ||
27474 test ! -s conftest.err
27475 } && test -s conftest$ac_exeext &&
27476 $as_test_x conftest$ac_exeext; then
27477 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27482 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27486 conftest$ac_exeext conftest.$ac_ext
27487 LIBS=$ac_check_lib_save_LIBS
27489 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27490 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27491 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27492 MSPACK_LINK=" -lmspack"
27496 if test "x$MSPACK_LINK" = "x" ; then
27501 if test "$wxUSE_LIBMSPACK" != "no"; then
27502 cat >>confdefs.h <<\_ACEOF
27503 #define wxUSE_LIBMSPACK 1
27517 if test "$USE_WIN32" = 1 ; then
27519 for ac_header in w32api.h
27521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27525 echo $ECHO_N "(cached) $ECHO_C" >&6
27527 cat >conftest.$ac_ext <<_ACEOF
27530 cat confdefs.h >>conftest.$ac_ext
27531 cat >>conftest.$ac_ext <<_ACEOF
27532 /* end confdefs.h. */
27535 #include <$ac_header>
27537 rm -f conftest.$ac_objext
27538 if { (ac_try="$ac_compile"
27539 case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_compile") 2>conftest.er1
27546 grep -v '^ *+' conftest.er1 >conftest.err
27548 cat conftest.err >&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } && {
27551 test -z "$ac_c_werror_flag" ||
27552 test ! -s conftest.err
27553 } && test -s conftest.$ac_objext; then
27554 eval "$as_ac_Header=yes"
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27559 eval "$as_ac_Header=no"
27562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27564 ac_res=`eval echo '${'$as_ac_Header'}'`
27565 { echo "$as_me:$LINENO: result: $ac_res" >&5
27566 echo "${ECHO_T}$ac_res" >&6; }
27567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27568 cat >>confdefs.h <<_ACEOF
27569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27576 { echo "$as_me:$LINENO: checking for windows.h" >&5
27577 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27578 if test "${ac_cv_header_windows_h+set}" = set; then
27579 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 cat >conftest.$ac_ext <<_ACEOF
27584 cat confdefs.h >>conftest.$ac_ext
27585 cat >>conftest.$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27589 #include <windows.h>
27591 rm -f conftest.$ac_objext
27592 if { (ac_try="$ac_compile"
27593 case "(($ac_try" in
27594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27595 *) ac_try_echo=$ac_try;;
27597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27598 (eval "$ac_compile") 2>conftest.er1
27600 grep -v '^ *+' conftest.er1 >conftest.err
27602 cat conftest.err >&5
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); } && {
27605 test -z "$ac_c_werror_flag" ||
27606 test ! -s conftest.err
27607 } && test -s conftest.$ac_objext; then
27608 ac_cv_header_windows_h=yes
27610 echo "$as_me: failed program was:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27613 ac_cv_header_windows_h=no
27616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27618 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27619 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27620 if test $ac_cv_header_windows_h = yes; then
27624 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27625 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27626 { (exit 1); exit 1; }; }
27632 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27634 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27635 LIBS="$LIBS -loleacc"
27640 LIBS="$LIBS -lkernel32 -luser32"
27643 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27644 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27646 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27648 WIN32INSTALL=win32install
27650 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27651 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27652 if test "${ac_cv_header_pbt_h+set}" = set; then
27653 echo $ECHO_N "(cached) $ECHO_C" >&6
27655 cat >conftest.$ac_ext <<_ACEOF
27658 cat confdefs.h >>conftest.$ac_ext
27659 cat >>conftest.$ac_ext <<_ACEOF
27660 /* end confdefs.h. */
27665 rm -f conftest.$ac_objext
27666 if { (ac_try="$ac_compile"
27667 case "(($ac_try" in
27668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27669 *) ac_try_echo=$ac_try;;
27671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27672 (eval "$ac_compile") 2>conftest.er1
27674 grep -v '^ *+' conftest.er1 >conftest.err
27676 cat conftest.err >&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } && {
27679 test -z "$ac_c_werror_flag" ||
27680 test ! -s conftest.err
27681 } && test -s conftest.$ac_objext; then
27682 ac_cv_header_pbt_h=yes
27684 echo "$as_me: failed program was:" >&5
27685 sed 's/^/| /' conftest.$ac_ext >&5
27687 ac_cv_header_pbt_h=no
27690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27692 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27693 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27694 if test $ac_cv_header_pbt_h = yes; then
27697 cat >>confdefs.h <<\_ACEOF
27698 #define NEED_PBT_H 1
27706 if test "$wxUSE_GUI" = "yes"; then
27716 if test "$wxUSE_COCOA" = 1 ; then
27717 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27718 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27719 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27720 wxUSE_PRINTING_ARCHITECTURE=no
27722 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27723 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27724 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27725 wxUSE_DRAG_AND_DROP=no
27727 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27728 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27729 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27734 if test "$wxUSE_MSW" = 1 ; then
27740 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27744 if test "$wxUSE_GTK" = 1; then
27745 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27746 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27748 gtk_version_cached=1
27749 if test "${wx_cv_lib_gtk+set}" = set; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 gtk_version_cached=0
27754 { echo "$as_me:$LINENO: result: " >&5
27755 echo "${ECHO_T}" >&6; }
27758 if test "$wxUSE_THREADS" = "yes"; then
27759 GTK_MODULES=gthread
27763 if test "x$wxGTK_VERSION" != "x1"
27767 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27772 # Check whether --enable-gtktest was given.
27773 if test "${enable_gtktest+set}" = set; then
27774 enableval=$enable_gtktest;
27780 pkg_config_args=gtk+-2.0
27781 for module in . $GTK_MODULES
27785 pkg_config_args="$pkg_config_args gthread-2.0"
27792 # Extract the first word of "pkg-config", so it can be a program name with args.
27793 set dummy pkg-config; ac_word=$2
27794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27796 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 case $PKG_CONFIG in
27801 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27805 for as_dir in $PATH
27808 test -z "$as_dir" && as_dir=.
27809 for ac_exec_ext in '' $ac_executable_extensions; do
27810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27811 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27819 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27823 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27824 if test -n "$PKG_CONFIG"; then
27825 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27826 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27828 { echo "$as_me:$LINENO: result: no" >&5
27829 echo "${ECHO_T}no" >&6; }
27834 if test x$PKG_CONFIG != xno ; then
27835 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27838 echo "*** pkg-config too old; version 0.7 or better required."
27846 min_gtk_version=2.4.0
27847 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27848 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27850 if test x$PKG_CONFIG != xno ; then
27851 ## don't try to run the test against uninstalled libtool libs
27852 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27853 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27857 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27864 if test x"$no_gtk" = x ; then
27865 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27866 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27867 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27868 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27869 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27871 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27873 if test "x$enable_gtktest" = "xyes" ; then
27874 ac_save_CFLAGS="$CFLAGS"
27875 ac_save_LIBS="$LIBS"
27876 CFLAGS="$CFLAGS $GTK_CFLAGS"
27877 LIBS="$GTK_LIBS $LIBS"
27879 if test "$cross_compiling" = yes; then
27880 echo $ac_n "cross compiling; assumed OK... $ac_c"
27882 cat >conftest.$ac_ext <<_ACEOF
27885 cat confdefs.h >>conftest.$ac_ext
27886 cat >>conftest.$ac_ext <<_ACEOF
27887 /* end confdefs.h. */
27889 #include <gtk/gtk.h>
27891 #include <stdlib.h>
27896 int major, minor, micro;
27899 system ("touch conf.gtktest");
27901 /* HP/UX 9 (%@#!) writes to sscanf strings */
27902 tmp_version = g_strdup("$min_gtk_version");
27903 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27904 printf("%s, bad version string\n", "$min_gtk_version");
27908 if ((gtk_major_version != $gtk_config_major_version) ||
27909 (gtk_minor_version != $gtk_config_minor_version) ||
27910 (gtk_micro_version != $gtk_config_micro_version))
27912 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27913 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27914 gtk_major_version, gtk_minor_version, gtk_micro_version);
27915 printf ("*** was found! If pkg-config was correct, then it is best\n");
27916 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27917 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27918 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27919 printf("*** required on your system.\n");
27920 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27921 printf("*** to point to the correct configuration files\n");
27923 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27924 (gtk_minor_version != GTK_MINOR_VERSION) ||
27925 (gtk_micro_version != GTK_MICRO_VERSION))
27927 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27928 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27929 printf("*** library (version %d.%d.%d)\n",
27930 gtk_major_version, gtk_minor_version, gtk_micro_version);
27934 if ((gtk_major_version > major) ||
27935 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27936 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27942 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27943 gtk_major_version, gtk_minor_version, gtk_micro_version);
27944 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27945 major, minor, micro);
27946 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27948 printf("*** If you have already installed a sufficiently new version, this error\n");
27949 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27950 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27951 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27952 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27953 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27954 printf("*** so that the correct libraries are found at run-time))\n");
27961 rm -f conftest$ac_exeext
27962 if { (ac_try="$ac_link"
27963 case "(($ac_try" in
27964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27965 *) ac_try_echo=$ac_try;;
27967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27968 (eval "$ac_link") 2>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27972 { (case "(($ac_try" in
27973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27974 *) ac_try_echo=$ac_try;;
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_try") 2>&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27983 echo "$as_me: program exited with status $ac_status" >&5
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27987 ( exit $ac_status )
27990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27994 CFLAGS="$ac_save_CFLAGS"
27995 LIBS="$ac_save_LIBS"
27998 if test "x$no_gtk" = x ; then
27999 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28000 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28003 { echo "$as_me:$LINENO: result: no" >&5
28004 echo "${ECHO_T}no" >&6; }
28005 if test "$PKG_CONFIG" = "no" ; then
28006 echo "*** A new enough version of pkg-config was not found."
28007 echo "*** See http://pkgconfig.sourceforge.net"
28009 if test -f conf.gtktest ; then
28012 echo "*** Could not run GTK+ test program, checking why..."
28013 ac_save_CFLAGS="$CFLAGS"
28014 ac_save_LIBS="$LIBS"
28015 CFLAGS="$CFLAGS $GTK_CFLAGS"
28016 LIBS="$LIBS $GTK_LIBS"
28017 cat >conftest.$ac_ext <<_ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28024 #include <gtk/gtk.h>
28030 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28035 rm -f conftest.$ac_objext conftest$ac_exeext
28036 if { (ac_try="$ac_link"
28037 case "(($ac_try" in
28038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28039 *) ac_try_echo=$ac_try;;
28041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28042 (eval "$ac_link") 2>conftest.er1
28044 grep -v '^ *+' conftest.er1 >conftest.err
28046 cat conftest.err >&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); } && {
28049 test -z "$ac_c_werror_flag" ||
28050 test ! -s conftest.err
28051 } && test -s conftest$ac_exeext &&
28052 $as_test_x conftest$ac_exeext; then
28053 echo "*** The test program compiled, but did not run. This usually means"
28054 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28055 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28056 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28057 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28058 echo "*** is required on your system"
28060 echo "*** If you have an old version installed, it is best to remove it, although"
28061 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28063 echo "$as_me: failed program was:" >&5
28064 sed 's/^/| /' conftest.$ac_ext >&5
28066 echo "*** The test program failed to compile or link. See the file config.log for the"
28067 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28071 conftest$ac_exeext conftest.$ac_ext
28072 CFLAGS="$ac_save_CFLAGS"
28073 LIBS="$ac_save_LIBS"
28087 if test "$wxUSE_SHARED" != "yes"; then
28088 GTK_LIBS="$GTK_LIBS -lX11"
28093 if test -z "$wx_cv_lib_gtk"; then
28094 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28096 # Check whether --with-gtk-prefix was given.
28097 if test "${with_gtk_prefix+set}" = set; then
28098 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28100 gtk_config_prefix=""
28104 # Check whether --with-gtk-exec-prefix was given.
28105 if test "${with_gtk_exec_prefix+set}" = set; then
28106 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28108 gtk_config_exec_prefix=""
28111 # Check whether --enable-gtktest was given.
28112 if test "${enable_gtktest+set}" = set; then
28113 enableval=$enable_gtktest;
28119 for module in . $GTK_MODULES
28123 gtk_config_args="$gtk_config_args gthread"
28128 if test x$gtk_config_exec_prefix != x ; then
28129 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28130 if test x${GTK_CONFIG+set} != xset ; then
28131 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28134 if test x$gtk_config_prefix != x ; then
28135 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28136 if test x${GTK_CONFIG+set} != xset ; then
28137 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28141 # Extract the first word of "gtk-config", so it can be a program name with args.
28142 set dummy gtk-config; ac_word=$2
28143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28145 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 case $GTK_CONFIG in
28150 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28154 for as_dir in $PATH
28157 test -z "$as_dir" && as_dir=.
28158 for ac_exec_ext in '' $ac_executable_extensions; do
28159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28160 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28168 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28172 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28173 if test -n "$GTK_CONFIG"; then
28174 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28175 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28177 { echo "$as_me:$LINENO: result: no" >&5
28178 echo "${ECHO_T}no" >&6; }
28182 min_gtk_version=1.2.7
28183 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28184 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28186 if test "$GTK_CONFIG" = "no" ; then
28189 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28190 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28191 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28193 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28195 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28197 if test "x$enable_gtktest" = "xyes" ; then
28198 ac_save_CFLAGS="$CFLAGS"
28199 ac_save_LIBS="$LIBS"
28200 CFLAGS="$CFLAGS $GTK_CFLAGS"
28201 LIBS="$GTK_LIBS $LIBS"
28203 if test "$cross_compiling" = yes; then
28204 echo $ac_n "cross compiling; assumed OK... $ac_c"
28206 cat >conftest.$ac_ext <<_ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28213 #include <gtk/gtk.h>
28215 #include <stdlib.h>
28220 int major, minor, micro;
28223 system ("touch conf.gtktest");
28225 /* HP/UX 9 (%@#!) writes to sscanf strings */
28226 tmp_version = g_strdup("$min_gtk_version");
28227 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28228 printf("%s, bad version string\n", "$min_gtk_version");
28232 if ((gtk_major_version != $gtk_config_major_version) ||
28233 (gtk_minor_version != $gtk_config_minor_version) ||
28234 (gtk_micro_version != $gtk_config_micro_version))
28236 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28237 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28238 gtk_major_version, gtk_minor_version, gtk_micro_version);
28239 printf ("*** was found! If gtk-config was correct, then it is best\n");
28240 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28241 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28242 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28243 printf("*** required on your system.\n");
28244 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28245 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28246 printf("*** before re-running configure\n");
28248 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28249 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28250 (gtk_minor_version != GTK_MINOR_VERSION) ||
28251 (gtk_micro_version != GTK_MICRO_VERSION))
28253 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28254 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28255 printf("*** library (version %d.%d.%d)\n",
28256 gtk_major_version, gtk_minor_version, gtk_micro_version);
28258 #endif /* defined (GTK_MAJOR_VERSION) ... */
28261 if ((gtk_major_version > major) ||
28262 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28263 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28269 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28270 gtk_major_version, gtk_minor_version, gtk_micro_version);
28271 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28272 major, minor, micro);
28273 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28275 printf("*** If you have already installed a sufficiently new version, this error\n");
28276 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28277 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28278 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28279 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28280 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28281 printf("*** so that the correct libraries are found at run-time))\n");
28288 rm -f conftest$ac_exeext
28289 if { (ac_try="$ac_link"
28290 case "(($ac_try" in
28291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_link") 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28299 { (case "(($ac_try" in
28300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28301 *) ac_try_echo=$ac_try;;
28303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28304 (eval "$ac_try") 2>&5
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; }; then
28310 echo "$as_me: program exited with status $ac_status" >&5
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28314 ( exit $ac_status )
28317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28321 CFLAGS="$ac_save_CFLAGS"
28322 LIBS="$ac_save_LIBS"
28325 if test "x$no_gtk" = x ; then
28326 { echo "$as_me:$LINENO: result: yes" >&5
28327 echo "${ECHO_T}yes" >&6; }
28328 wx_cv_lib_gtk=1.2.7
28330 { echo "$as_me:$LINENO: result: no" >&5
28331 echo "${ECHO_T}no" >&6; }
28332 if test "$GTK_CONFIG" = "no" ; then
28333 echo "*** The gtk-config script installed by GTK could not be found"
28334 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28335 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28336 echo "*** full path to gtk-config."
28338 if test -f conf.gtktest ; then
28341 echo "*** Could not run GTK test program, checking why..."
28342 CFLAGS="$CFLAGS $GTK_CFLAGS"
28343 LIBS="$LIBS $GTK_LIBS"
28344 cat >conftest.$ac_ext <<_ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28351 #include <gtk/gtk.h>
28357 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28362 rm -f conftest.$ac_objext conftest$ac_exeext
28363 if { (ac_try="$ac_link"
28364 case "(($ac_try" in
28365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28366 *) ac_try_echo=$ac_try;;
28368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28369 (eval "$ac_link") 2>conftest.er1
28371 grep -v '^ *+' conftest.er1 >conftest.err
28373 cat conftest.err >&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); } && {
28376 test -z "$ac_c_werror_flag" ||
28377 test ! -s conftest.err
28378 } && test -s conftest$ac_exeext &&
28379 $as_test_x conftest$ac_exeext; then
28380 echo "*** The test program compiled, but did not run. This usually means"
28381 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28382 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28383 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28384 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28385 echo "*** is required on your system"
28387 echo "*** If you have an old version installed, it is best to remove it, although"
28388 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28390 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28391 echo "*** came with the system with the command"
28393 echo "*** rpm --erase --nodeps gtk gtk-devel"
28395 echo "$as_me: failed program was:" >&5
28396 sed 's/^/| /' conftest.$ac_ext >&5
28398 echo "*** The test program failed to compile or link. See the file config.log for the"
28399 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28400 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28401 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28405 conftest$ac_exeext conftest.$ac_ext
28406 CFLAGS="$ac_save_CFLAGS"
28407 LIBS="$ac_save_LIBS"
28419 if test -z "$wx_cv_lib_gtk"; then
28421 # Check whether --with-gtk-prefix was given.
28422 if test "${with_gtk_prefix+set}" = set; then
28423 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28425 gtk_config_prefix=""
28429 # Check whether --with-gtk-exec-prefix was given.
28430 if test "${with_gtk_exec_prefix+set}" = set; then
28431 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28433 gtk_config_exec_prefix=""
28436 # Check whether --enable-gtktest was given.
28437 if test "${enable_gtktest+set}" = set; then
28438 enableval=$enable_gtktest;
28444 for module in . $GTK_MODULES
28448 gtk_config_args="$gtk_config_args gthread"
28453 if test x$gtk_config_exec_prefix != x ; then
28454 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28455 if test x${GTK_CONFIG+set} != xset ; then
28456 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28459 if test x$gtk_config_prefix != x ; then
28460 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28461 if test x${GTK_CONFIG+set} != xset ; then
28462 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28466 # Extract the first word of "gtk-config", so it can be a program name with args.
28467 set dummy gtk-config; ac_word=$2
28468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28470 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28471 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 case $GTK_CONFIG in
28475 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28479 for as_dir in $PATH
28482 test -z "$as_dir" && as_dir=.
28483 for ac_exec_ext in '' $ac_executable_extensions; do
28484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28485 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28493 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28497 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28498 if test -n "$GTK_CONFIG"; then
28499 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28500 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28502 { echo "$as_me:$LINENO: result: no" >&5
28503 echo "${ECHO_T}no" >&6; }
28507 min_gtk_version=1.2.3
28508 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28509 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28511 if test "$GTK_CONFIG" = "no" ; then
28514 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28515 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28516 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28518 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28520 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28522 if test "x$enable_gtktest" = "xyes" ; then
28523 ac_save_CFLAGS="$CFLAGS"
28524 ac_save_LIBS="$LIBS"
28525 CFLAGS="$CFLAGS $GTK_CFLAGS"
28526 LIBS="$GTK_LIBS $LIBS"
28528 if test "$cross_compiling" = yes; then
28529 echo $ac_n "cross compiling; assumed OK... $ac_c"
28531 cat >conftest.$ac_ext <<_ACEOF
28534 cat confdefs.h >>conftest.$ac_ext
28535 cat >>conftest.$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28538 #include <gtk/gtk.h>
28540 #include <stdlib.h>
28545 int major, minor, micro;
28548 system ("touch conf.gtktest");
28550 /* HP/UX 9 (%@#!) writes to sscanf strings */
28551 tmp_version = g_strdup("$min_gtk_version");
28552 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28553 printf("%s, bad version string\n", "$min_gtk_version");
28557 if ((gtk_major_version != $gtk_config_major_version) ||
28558 (gtk_minor_version != $gtk_config_minor_version) ||
28559 (gtk_micro_version != $gtk_config_micro_version))
28561 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28562 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28563 gtk_major_version, gtk_minor_version, gtk_micro_version);
28564 printf ("*** was found! If gtk-config was correct, then it is best\n");
28565 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28566 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28567 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28568 printf("*** required on your system.\n");
28569 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28570 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28571 printf("*** before re-running configure\n");
28573 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28574 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28575 (gtk_minor_version != GTK_MINOR_VERSION) ||
28576 (gtk_micro_version != GTK_MICRO_VERSION))
28578 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28579 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28580 printf("*** library (version %d.%d.%d)\n",
28581 gtk_major_version, gtk_minor_version, gtk_micro_version);
28583 #endif /* defined (GTK_MAJOR_VERSION) ... */
28586 if ((gtk_major_version > major) ||
28587 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28588 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28594 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28595 gtk_major_version, gtk_minor_version, gtk_micro_version);
28596 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28597 major, minor, micro);
28598 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28600 printf("*** If you have already installed a sufficiently new version, this error\n");
28601 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28602 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28603 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28604 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28605 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28606 printf("*** so that the correct libraries are found at run-time))\n");
28613 rm -f conftest$ac_exeext
28614 if { (ac_try="$ac_link"
28615 case "(($ac_try" in
28616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28617 *) ac_try_echo=$ac_try;;
28619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28620 (eval "$ac_link") 2>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28624 { (case "(($ac_try" in
28625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28626 *) ac_try_echo=$ac_try;;
28628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28629 (eval "$ac_try") 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; }; then
28635 echo "$as_me: program exited with status $ac_status" >&5
28636 echo "$as_me: failed program was:" >&5
28637 sed 's/^/| /' conftest.$ac_ext >&5
28639 ( exit $ac_status )
28642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28646 CFLAGS="$ac_save_CFLAGS"
28647 LIBS="$ac_save_LIBS"
28650 if test "x$no_gtk" = x ; then
28651 { echo "$as_me:$LINENO: result: yes" >&5
28652 echo "${ECHO_T}yes" >&6; }
28653 wx_cv_lib_gtk=1.2.3
28655 { echo "$as_me:$LINENO: result: no" >&5
28656 echo "${ECHO_T}no" >&6; }
28657 if test "$GTK_CONFIG" = "no" ; then
28658 echo "*** The gtk-config script installed by GTK could not be found"
28659 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28660 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28661 echo "*** full path to gtk-config."
28663 if test -f conf.gtktest ; then
28666 echo "*** Could not run GTK test program, checking why..."
28667 CFLAGS="$CFLAGS $GTK_CFLAGS"
28668 LIBS="$LIBS $GTK_LIBS"
28669 cat >conftest.$ac_ext <<_ACEOF
28672 cat confdefs.h >>conftest.$ac_ext
28673 cat >>conftest.$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28676 #include <gtk/gtk.h>
28682 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28687 rm -f conftest.$ac_objext conftest$ac_exeext
28688 if { (ac_try="$ac_link"
28689 case "(($ac_try" in
28690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28691 *) ac_try_echo=$ac_try;;
28693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28694 (eval "$ac_link") 2>conftest.er1
28696 grep -v '^ *+' conftest.er1 >conftest.err
28698 cat conftest.err >&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); } && {
28701 test -z "$ac_c_werror_flag" ||
28702 test ! -s conftest.err
28703 } && test -s conftest$ac_exeext &&
28704 $as_test_x conftest$ac_exeext; then
28705 echo "*** The test program compiled, but did not run. This usually means"
28706 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28707 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28708 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28709 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28710 echo "*** is required on your system"
28712 echo "*** If you have an old version installed, it is best to remove it, although"
28713 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28715 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28716 echo "*** came with the system with the command"
28718 echo "*** rpm --erase --nodeps gtk gtk-devel"
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.$ac_ext >&5
28723 echo "*** The test program failed to compile or link. See the file config.log for the"
28724 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28725 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28726 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28730 conftest$ac_exeext conftest.$ac_ext
28731 CFLAGS="$ac_save_CFLAGS"
28732 LIBS="$ac_save_LIBS"
28747 if test -z "$wx_cv_lib_gtk"; then
28750 wx_cv_cflags_gtk=$GTK_CFLAGS
28751 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28758 if test "$gtk_version_cached" = 1; then
28759 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28760 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28763 case "$wx_cv_lib_gtk" in
28772 *) { { echo "$as_me:$LINENO: error:
28773 The development files for GTK+ were not found. For GTK+ 2, please
28774 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28775 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28776 and that the version is 1.2.3 or above. Also check that the
28777 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28778 --libs' are in the LD_LIBRARY_PATH or equivalent.
28780 echo "$as_me: error:
28781 The development files for GTK+ were not found. For GTK+ 2, please
28782 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28783 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28784 and that the version is 1.2.3 or above. Also check that the
28785 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28786 --libs' are in the LD_LIBRARY_PATH or equivalent.
28788 { (exit 1); exit 1; }; }
28792 if test "$WXGTK2" = 1; then
28793 save_CFLAGS="$CFLAGS"
28795 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28796 LIBS="$LIBS $wx_cv_libs_gtk"
28798 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28799 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28800 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28801 echo $ECHO_N "(cached) $ECHO_C" >&6
28803 cat >conftest.$ac_ext <<_ACEOF
28806 cat confdefs.h >>conftest.$ac_ext
28807 cat >>conftest.$ac_ext <<_ACEOF
28808 /* end confdefs.h. */
28809 #include <gtk/gtk.h>
28814 #ifndef gtk_icon_size_lookup
28815 (void) gtk_icon_size_lookup;
28822 rm -f conftest.$ac_objext
28823 if { (ac_try="$ac_compile"
28824 case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_compile") 2>conftest.er1
28831 grep -v '^ *+' conftest.er1 >conftest.err
28833 cat conftest.err >&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } && {
28836 test -z "$ac_c_werror_flag" ||
28837 test ! -s conftest.err
28838 } && test -s conftest.$ac_objext; then
28839 ac_cv_have_decl_gtk_icon_size_lookup=yes
28841 echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.$ac_ext >&5
28844 ac_cv_have_decl_gtk_icon_size_lookup=no
28847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28849 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28850 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28851 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28853 cat >>confdefs.h <<_ACEOF
28854 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28859 cat >>confdefs.h <<_ACEOF
28860 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28863 cat >>confdefs.h <<\_ACEOF
28864 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28872 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28873 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28874 cat >conftest.$ac_ext <<_ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28881 #include <gtk/gtk.h>
28887 #if !GTK_CHECK_VERSION(2,10,0)
28895 rm -f conftest.$ac_objext
28896 if { (ac_try="$ac_compile"
28897 case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_compile") 2>conftest.er1
28904 grep -v '^ *+' conftest.er1 >conftest.err
28906 cat conftest.err >&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } && {
28909 test -z "$ac_c_werror_flag" ||
28910 test ! -s conftest.err
28911 } && test -s conftest.$ac_objext; then
28913 cat >>confdefs.h <<\_ACEOF
28914 #define __WXGTK210__ 1
28917 cat >>confdefs.h <<\_ACEOF
28918 #define __WXGTK26__ 1
28921 { echo "$as_me:$LINENO: result: yes" >&5
28922 echo "${ECHO_T}yes" >&6; }
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28930 { echo "$as_me:$LINENO: result: no" >&5
28931 echo "${ECHO_T}no" >&6; }
28936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28938 if test "$ac_wxgtk210" = 0; then
28939 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28940 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28941 cat >conftest.$ac_ext <<_ACEOF
28944 cat confdefs.h >>conftest.$ac_ext
28945 cat >>conftest.$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28948 #include <gtk/gtk.h>
28954 #if !GTK_CHECK_VERSION(2,6,0)
28962 rm -f conftest.$ac_objext
28963 if { (ac_try="$ac_compile"
28964 case "(($ac_try" in
28965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28966 *) ac_try_echo=$ac_try;;
28968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28969 (eval "$ac_compile") 2>conftest.er1
28971 grep -v '^ *+' conftest.er1 >conftest.err
28973 cat conftest.err >&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); } && {
28976 test -z "$ac_c_werror_flag" ||
28977 test ! -s conftest.err
28978 } && test -s conftest.$ac_objext; then
28980 cat >>confdefs.h <<\_ACEOF
28981 #define __WXGTK26__ 1
28984 { echo "$as_me:$LINENO: result: yes" >&5
28985 echo "${ECHO_T}yes" >&6; }
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28993 { echo "$as_me:$LINENO: result: no" >&5
28994 echo "${ECHO_T}no" >&6; }
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29002 CFLAGS="$save_CFLAGS"
29005 if test "$wxUSE_UNICODE" = "yes"; then
29006 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29007 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29011 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29012 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29013 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29014 echo $ECHO_N "(cached) $ECHO_C" >&6
29016 ac_check_lib_save_LIBS=$LIBS
29018 cat >conftest.$ac_ext <<_ACEOF
29021 cat confdefs.h >>conftest.$ac_ext
29022 cat >>conftest.$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29025 /* Override any GCC internal prototype to avoid an error.
29026 Use char because int might match the return type of a GCC
29027 builtin and then its argument prototype would still apply. */
29031 char gdk_im_open ();
29035 return gdk_im_open ();
29040 rm -f conftest.$ac_objext conftest$ac_exeext
29041 if { (ac_try="$ac_link"
29042 case "(($ac_try" in
29043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29044 *) ac_try_echo=$ac_try;;
29046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29047 (eval "$ac_link") 2>conftest.er1
29049 grep -v '^ *+' conftest.er1 >conftest.err
29051 cat conftest.err >&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } && {
29054 test -z "$ac_c_werror_flag" ||
29055 test ! -s conftest.err
29056 } && test -s conftest$ac_exeext &&
29057 $as_test_x conftest$ac_exeext; then
29058 ac_cv_lib_gdk_gdk_im_open=yes
29060 echo "$as_me: failed program was:" >&5
29061 sed 's/^/| /' conftest.$ac_ext >&5
29063 ac_cv_lib_gdk_gdk_im_open=no
29066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29067 conftest$ac_exeext conftest.$ac_ext
29068 LIBS=$ac_check_lib_save_LIBS
29070 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29071 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29072 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29073 cat >>confdefs.h <<\_ACEOF
29080 if test "$USE_DARWIN" != 1; then
29082 for ac_func in poll
29084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 cat >conftest.$ac_ext <<_ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29098 #define $ac_func innocuous_$ac_func
29100 /* System header to define __stub macros and hopefully few prototypes,
29101 which can conflict with char $ac_func (); below.
29102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29103 <limits.h> exists even on freestanding compilers. */
29106 # include <limits.h>
29108 # include <assert.h>
29113 /* Override any GCC internal prototype to avoid an error.
29114 Use char because int might match the return type of a GCC
29115 builtin and then its argument prototype would still apply. */
29120 /* The GNU C library defines this for functions which it implements
29121 to always fail with ENOSYS. Some functions are actually named
29122 something starting with __ and the normal name is an alias. */
29123 #if defined __stub_$ac_func || defined __stub___$ac_func
29130 return $ac_func ();
29135 rm -f conftest.$ac_objext conftest$ac_exeext
29136 if { (ac_try="$ac_link"
29137 case "(($ac_try" in
29138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29139 *) ac_try_echo=$ac_try;;
29141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29142 (eval "$ac_link") 2>conftest.er1
29144 grep -v '^ *+' conftest.er1 >conftest.err
29146 cat conftest.err >&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } && {
29149 test -z "$ac_c_werror_flag" ||
29150 test ! -s conftest.err
29151 } && test -s conftest$ac_exeext &&
29152 $as_test_x conftest$ac_exeext; then
29153 eval "$as_ac_var=yes"
29155 echo "$as_me: failed program was:" >&5
29156 sed 's/^/| /' conftest.$ac_ext >&5
29158 eval "$as_ac_var=no"
29161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29162 conftest$ac_exeext conftest.$ac_ext
29164 ac_res=`eval echo '${'$as_ac_var'}'`
29165 { echo "$as_me:$LINENO: result: $ac_res" >&5
29166 echo "${ECHO_T}$ac_res" >&6; }
29167 if test `eval echo '${'$as_ac_var'}'` = yes; then
29168 cat >>confdefs.h <<_ACEOF
29169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29178 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29179 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29181 AFMINSTALL=afminstall
29185 if test "$wxUSE_GPE" = "yes"; then
29186 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29187 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29190 for ac_dir in $SEARCH_LIB;
29192 for ac_extension in a so sl dylib dll.a; do
29193 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29194 ac_find_libraries=$ac_dir
29200 if test "$ac_find_libraries" != "" ; then
29202 if test "$ac_find_libraries" = "default location"; then
29205 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29207 if test $result = 0; then
29210 ac_path_to_link=" -L$ac_find_libraries"
29214 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29216 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29217 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29219 { echo "$as_me:$LINENO: result: not found" >&5
29220 echo "${ECHO_T}not found" >&6; }
29226 if test "$wxUSE_MGL" = 1; then
29227 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29228 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29229 if test "x$MGL_ROOT" = x ; then
29230 { echo "$as_me:$LINENO: result: not found" >&5
29231 echo "${ECHO_T}not found" >&6; }
29232 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29233 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29234 { (exit 1); exit 1; }; }
29236 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29237 echo "${ECHO_T}$MGL_ROOT" >&6; }
29240 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29241 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29244 if test "x$wxUSE_SHARED" = xyes ; then
29245 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29247 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29251 mgl_os_candidates="dos32/dj2"
29254 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29255 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29256 { (exit 1); exit 1; }; }
29262 for mgl_os_i in $mgl_os_candidates ; do
29263 if test "x$mgl_os" = x ; then
29264 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29265 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29266 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29271 if test "x$mgl_lib_type" = x ; then
29272 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29273 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29274 mgl_lib_type=release
29281 if test "x$mgl_os" = x ; then
29282 { echo "$as_me:$LINENO: result: not found" >&5
29283 echo "${ECHO_T}not found" >&6; }
29284 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29285 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29286 { (exit 1); exit 1; }; }
29288 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29289 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29291 wxUSE_UNIVERSAL="yes"
29293 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29294 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29296 AFMINSTALL=afminstall
29301 if test "$wxUSE_DFB" = 1; then
29304 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29305 if test -n "$ac_tool_prefix"; then
29306 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29307 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29311 echo $ECHO_N "(cached) $ECHO_C" >&6
29313 case $PKG_CONFIG in
29315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29319 for as_dir in $PATH
29322 test -z "$as_dir" && as_dir=.
29323 for ac_exec_ext in '' $ac_executable_extensions; do
29324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29336 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29337 if test -n "$PKG_CONFIG"; then
29338 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29339 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29341 { echo "$as_me:$LINENO: result: no" >&5
29342 echo "${ECHO_T}no" >&6; }
29347 if test -z "$ac_cv_path_PKG_CONFIG"; then
29348 ac_pt_PKG_CONFIG=$PKG_CONFIG
29349 # Extract the first word of "pkg-config", so it can be a program name with args.
29350 set dummy pkg-config; ac_word=$2
29351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29353 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 case $ac_pt_PKG_CONFIG in
29358 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29362 for as_dir in $PATH
29365 test -z "$as_dir" && as_dir=.
29366 for ac_exec_ext in '' $ac_executable_extensions; do
29367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29368 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29379 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29380 if test -n "$ac_pt_PKG_CONFIG"; then
29381 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29382 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29384 { echo "$as_me:$LINENO: result: no" >&5
29385 echo "${ECHO_T}no" >&6; }
29388 if test "x$ac_pt_PKG_CONFIG" = x; then
29391 case $cross_compiling:$ac_tool_warned in
29393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29394 whose name does not start with the host triplet. If you think this
29395 configuration is useful to you, please write to autoconf@gnu.org." >&5
29396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29397 whose name does not start with the host triplet. If you think this
29398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29399 ac_tool_warned=yes ;;
29401 PKG_CONFIG=$ac_pt_PKG_CONFIG
29404 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29408 if test -n "$PKG_CONFIG"; then
29409 _pkg_min_version=0.9.0
29410 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29411 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29412 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29413 { echo "$as_me:$LINENO: result: yes" >&5
29414 echo "${ECHO_T}yes" >&6; }
29416 { echo "$as_me:$LINENO: result: no" >&5
29417 echo "${ECHO_T}no" >&6; }
29425 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29426 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29428 if test -n "$PKG_CONFIG"; then
29429 if test -n "$DIRECTFB_CFLAGS"; then
29430 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29432 if test -n "$PKG_CONFIG" && \
29433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29434 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); }; then
29438 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29446 if test -n "$PKG_CONFIG"; then
29447 if test -n "$DIRECTFB_LIBS"; then
29448 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29450 if test -n "$PKG_CONFIG" && \
29451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29452 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); }; then
29456 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29467 if test $pkg_failed = yes; then
29469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29470 _pkg_short_errors_supported=yes
29472 _pkg_short_errors_supported=no
29474 if test $_pkg_short_errors_supported = yes; then
29475 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29477 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29479 # Put the nasty error message in config.log where it belongs
29480 echo "$DIRECTFB_PKG_ERRORS" >&5
29483 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29484 echo "$as_me: error: DirectFB not found." >&2;}
29485 { (exit 1); exit 1; }; }
29488 elif test $pkg_failed = untried; then
29490 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29491 echo "$as_me: error: DirectFB not found." >&2;}
29492 { (exit 1); exit 1; }; }
29496 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29497 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29498 { echo "$as_me:$LINENO: result: yes" >&5
29499 echo "${ECHO_T}yes" >&6; }
29501 wxUSE_UNIVERSAL="yes"
29502 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29503 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29510 if test "$wxUSE_MICROWIN" = 1; then
29511 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29512 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29513 if test "x$MICROWINDOWS" = x ; then
29514 { echo "$as_me:$LINENO: result: not found" >&5
29515 echo "${ECHO_T}not found" >&6; }
29516 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29517 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29518 { (exit 1); exit 1; }; }
29520 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29521 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29524 if test -f $MICROWINDOWS/lib/libmwin.a; then
29525 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29526 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29528 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29529 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29530 { (exit 1); exit 1; }; }
29533 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29534 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29536 wxUSE_UNIVERSAL="yes"
29538 AFMINSTALL=afminstall
29540 GUIDIST=MICROWIN_DIST
29542 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29545 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29546 { echo "$as_me:$LINENO: checking for X" >&5
29547 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29550 # Check whether --with-x was given.
29551 if test "${with_x+set}" = set; then
29555 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29556 if test "x$with_x" = xno; then
29557 # The user explicitly disabled X.
29560 case $x_includes,$x_libraries in #(
29561 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29562 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29563 { (exit 1); exit 1; }; };; #(
29564 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29567 # One or both of the vars are not set, and there is no cached value.
29568 ac_x_includes=no ac_x_libraries=no
29569 rm -f -r conftest.dir
29570 if mkdir conftest.dir; then
29572 cat >Imakefile <<'_ACEOF'
29574 @echo incroot='${INCROOT}'
29576 @echo usrlibdir='${USRLIBDIR}'
29578 @echo libdir='${LIBDIR}'
29580 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29582 for ac_var in incroot usrlibdir libdir; do
29583 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29586 for ac_extension in a so sl; do
29587 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29588 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29589 ac_im_usrlibdir=$ac_im_libdir; break
29592 # Screen out bogus values from the imake configuration. They are
29593 # bogus both because they are the default anyway, and because
29594 # using them would break gcc on systems where it needs fixed includes.
29595 case $ac_im_incroot in
29596 /usr/include) ac_x_includes= ;;
29597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29599 case $ac_im_usrlibdir in
29600 /usr/lib | /lib) ;;
29601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29605 rm -f -r conftest.dir
29608 # Standard set of common directories for X headers.
29609 # Check X11 before X11Rn because it is often a symlink to the current release.
29621 /usr/local/X11/include
29622 /usr/local/X11R6/include
29623 /usr/local/X11R5/include
29624 /usr/local/X11R4/include
29626 /usr/local/include/X11
29627 /usr/local/include/X11R6
29628 /usr/local/include/X11R5
29629 /usr/local/include/X11R4
29633 /usr/XFree86/include/X11
29637 /usr/unsupported/include
29638 /usr/athena/include
29639 /usr/local/x11r5/include
29640 /usr/lpp/Xamples/include
29642 /usr/openwin/include
29643 /usr/openwin/share/include'
29645 if test "$ac_x_includes" = no; then
29646 # Guess where to find include files, by looking for Xlib.h.
29647 # First, try using that file with no special directory specified.
29648 cat >conftest.$ac_ext <<_ACEOF
29651 cat confdefs.h >>conftest.$ac_ext
29652 cat >>conftest.$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654 #include <X11/Xlib.h>
29656 if { (ac_try="$ac_cpp conftest.$ac_ext"
29657 case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29664 grep -v '^ *+' conftest.er1 >conftest.err
29666 cat conftest.err >&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); } >/dev/null && {
29669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29670 test ! -s conftest.err
29672 # We can compile using X headers with no special include directory.
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29678 for ac_dir in $ac_x_header_dirs; do
29679 if test -r "$ac_dir/X11/Xlib.h"; then
29680 ac_x_includes=$ac_dir
29686 rm -f conftest.err conftest.$ac_ext
29687 fi # $ac_x_includes = no
29689 if test "$ac_x_libraries" = no; then
29690 # Check for the libraries.
29691 # See if we find them without any special options.
29692 # Don't add to $LIBS permanently.
29695 cat >conftest.$ac_ext <<_ACEOF
29698 cat confdefs.h >>conftest.$ac_ext
29699 cat >>conftest.$ac_ext <<_ACEOF
29700 /* end confdefs.h. */
29701 #include <X11/Xlib.h>
29710 rm -f conftest.$ac_objext conftest$ac_exeext
29711 if { (ac_try="$ac_link"
29712 case "(($ac_try" in
29713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29714 *) ac_try_echo=$ac_try;;
29716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29717 (eval "$ac_link") 2>conftest.er1
29719 grep -v '^ *+' conftest.er1 >conftest.err
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } && {
29724 test -z "$ac_c_werror_flag" ||
29725 test ! -s conftest.err
29726 } && test -s conftest$ac_exeext &&
29727 $as_test_x conftest$ac_exeext; then
29729 # We can link X programs with no special library path.
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.$ac_ext >&5
29736 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29738 # Don't even attempt the hair of trying to link an X program!
29739 for ac_extension in a so sl; do
29740 if test -r "$ac_dir/libX11.$ac_extension"; then
29741 ac_x_libraries=$ac_dir
29748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29749 conftest$ac_exeext conftest.$ac_ext
29750 fi # $ac_x_libraries = no
29752 case $ac_x_includes,$ac_x_libraries in #(
29753 no,* | *,no | *\'*)
29754 # Didn't find X, or a directory has "'" in its name.
29755 ac_cv_have_x="have_x=no";; #(
29757 # Record where we found X for the cache.
29758 ac_cv_have_x="have_x=yes\
29759 ac_x_includes='$ac_x_includes'\
29760 ac_x_libraries='$ac_x_libraries'"
29766 eval "$ac_cv_have_x"
29769 if test "$have_x" != yes; then
29770 { echo "$as_me:$LINENO: result: $have_x" >&5
29771 echo "${ECHO_T}$have_x" >&6; }
29774 # If each of the values was on the command line, it overrides each guess.
29775 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29776 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29777 # Update the cache value to reflect the command line values.
29778 ac_cv_have_x="have_x=yes\
29779 ac_x_includes='$x_includes'\
29780 ac_x_libraries='$x_libraries'"
29781 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29782 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29785 if test "$no_x" = yes; then
29786 # Not all programs may use this symbol, but it does not hurt to define it.
29788 cat >>confdefs.h <<\_ACEOF
29789 #define X_DISPLAY_MISSING 1
29792 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29794 if test -n "$x_includes"; then
29795 X_CFLAGS="$X_CFLAGS -I$x_includes"
29798 # It would also be nice to do this for all -L options, not just this one.
29799 if test -n "$x_libraries"; then
29800 X_LIBS="$X_LIBS -L$x_libraries"
29801 # For Solaris; some versions of Sun CC require a space after -R and
29802 # others require no space. Words are not sufficient . . . .
29803 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29804 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29805 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29806 ac_xsave_c_werror_flag=$ac_c_werror_flag
29807 ac_c_werror_flag=yes
29808 cat >conftest.$ac_ext <<_ACEOF
29811 cat confdefs.h >>conftest.$ac_ext
29812 cat >>conftest.$ac_ext <<_ACEOF
29813 /* end confdefs.h. */
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29832 grep -v '^ *+' conftest.er1 >conftest.err
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 { echo "$as_me:$LINENO: result: no" >&5
29842 echo "${ECHO_T}no" >&6; }
29843 X_LIBS="$X_LIBS -R$x_libraries"
29845 echo "$as_me: failed program was:" >&5
29846 sed 's/^/| /' conftest.$ac_ext >&5
29848 LIBS="$ac_xsave_LIBS -R $x_libraries"
29849 cat >conftest.$ac_ext <<_ACEOF
29852 cat confdefs.h >>conftest.$ac_ext
29853 cat >>conftest.$ac_ext <<_ACEOF
29854 /* end confdefs.h. */
29864 rm -f conftest.$ac_objext conftest$ac_exeext
29865 if { (ac_try="$ac_link"
29866 case "(($ac_try" in
29867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29868 *) ac_try_echo=$ac_try;;
29870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29871 (eval "$ac_link") 2>conftest.er1
29873 grep -v '^ *+' conftest.er1 >conftest.err
29875 cat conftest.err >&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } && {
29878 test -z "$ac_c_werror_flag" ||
29879 test ! -s conftest.err
29880 } && test -s conftest$ac_exeext &&
29881 $as_test_x conftest$ac_exeext; then
29882 { echo "$as_me:$LINENO: result: yes" >&5
29883 echo "${ECHO_T}yes" >&6; }
29884 X_LIBS="$X_LIBS -R $x_libraries"
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.$ac_ext >&5
29889 { echo "$as_me:$LINENO: result: neither works" >&5
29890 echo "${ECHO_T}neither works" >&6; }
29893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29894 conftest$ac_exeext conftest.$ac_ext
29897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29898 conftest$ac_exeext conftest.$ac_ext
29899 ac_c_werror_flag=$ac_xsave_c_werror_flag
29900 LIBS=$ac_xsave_LIBS
29903 # Check for system-dependent libraries X programs must link with.
29904 # Do this before checking for the system-independent R6 libraries
29905 # (-lICE), since we may need -lsocket or whatever for X linking.
29907 if test "$ISC" = yes; then
29908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29910 # Martyn Johnson says this is needed for Ultrix, if the X
29911 # libraries were built with DECnet support. And Karl Berry says
29912 # the Alpha needs dnet_stub (dnet does not exist).
29913 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29914 cat >conftest.$ac_ext <<_ACEOF
29917 cat confdefs.h >>conftest.$ac_ext
29918 cat >>conftest.$ac_ext <<_ACEOF
29919 /* end confdefs.h. */
29921 /* Override any GCC internal prototype to avoid an error.
29922 Use char because int might match the return type of a GCC
29923 builtin and then its argument prototype would still apply. */
29927 char XOpenDisplay ();
29931 return XOpenDisplay ();
29936 rm -f conftest.$ac_objext conftest$ac_exeext
29937 if { (ac_try="$ac_link"
29938 case "(($ac_try" in
29939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29940 *) ac_try_echo=$ac_try;;
29942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29943 (eval "$ac_link") 2>conftest.er1
29945 grep -v '^ *+' conftest.er1 >conftest.err
29947 cat conftest.err >&5
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); } && {
29950 test -z "$ac_c_werror_flag" ||
29951 test ! -s conftest.err
29952 } && test -s conftest$ac_exeext &&
29953 $as_test_x conftest$ac_exeext; then
29956 echo "$as_me: failed program was:" >&5
29957 sed 's/^/| /' conftest.$ac_ext >&5
29959 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29960 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29961 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29962 echo $ECHO_N "(cached) $ECHO_C" >&6
29964 ac_check_lib_save_LIBS=$LIBS
29965 LIBS="-ldnet $LIBS"
29966 cat >conftest.$ac_ext <<_ACEOF
29969 cat confdefs.h >>conftest.$ac_ext
29970 cat >>conftest.$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29973 /* Override any GCC internal prototype to avoid an error.
29974 Use char because int might match the return type of a GCC
29975 builtin and then its argument prototype would still apply. */
29983 return dnet_ntoa ();
29988 rm -f conftest.$ac_objext conftest$ac_exeext
29989 if { (ac_try="$ac_link"
29990 case "(($ac_try" in
29991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29992 *) ac_try_echo=$ac_try;;
29994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29995 (eval "$ac_link") 2>conftest.er1
29997 grep -v '^ *+' conftest.er1 >conftest.err
29999 cat conftest.err >&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } && {
30002 test -z "$ac_c_werror_flag" ||
30003 test ! -s conftest.err
30004 } && test -s conftest$ac_exeext &&
30005 $as_test_x conftest$ac_exeext; then
30006 ac_cv_lib_dnet_dnet_ntoa=yes
30008 echo "$as_me: failed program was:" >&5
30009 sed 's/^/| /' conftest.$ac_ext >&5
30011 ac_cv_lib_dnet_dnet_ntoa=no
30014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30015 conftest$ac_exeext conftest.$ac_ext
30016 LIBS=$ac_check_lib_save_LIBS
30018 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30019 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30020 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30021 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30024 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30025 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30026 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30027 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30028 echo $ECHO_N "(cached) $ECHO_C" >&6
30030 ac_check_lib_save_LIBS=$LIBS
30031 LIBS="-ldnet_stub $LIBS"
30032 cat >conftest.$ac_ext <<_ACEOF
30035 cat confdefs.h >>conftest.$ac_ext
30036 cat >>conftest.$ac_ext <<_ACEOF
30037 /* end confdefs.h. */
30039 /* Override any GCC internal prototype to avoid an error.
30040 Use char because int might match the return type of a GCC
30041 builtin and then its argument prototype would still apply. */
30049 return dnet_ntoa ();
30054 rm -f conftest.$ac_objext conftest$ac_exeext
30055 if { (ac_try="$ac_link"
30056 case "(($ac_try" in
30057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30058 *) ac_try_echo=$ac_try;;
30060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30061 (eval "$ac_link") 2>conftest.er1
30063 grep -v '^ *+' conftest.er1 >conftest.err
30065 cat conftest.err >&5
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); } && {
30068 test -z "$ac_c_werror_flag" ||
30069 test ! -s conftest.err
30070 } && test -s conftest$ac_exeext &&
30071 $as_test_x conftest$ac_exeext; then
30072 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30074 echo "$as_me: failed program was:" >&5
30075 sed 's/^/| /' conftest.$ac_ext >&5
30077 ac_cv_lib_dnet_stub_dnet_ntoa=no
30080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30081 conftest$ac_exeext conftest.$ac_ext
30082 LIBS=$ac_check_lib_save_LIBS
30084 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30085 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30086 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30087 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30094 conftest$ac_exeext conftest.$ac_ext
30095 LIBS="$ac_xsave_LIBS"
30097 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30098 # to get the SysV transport functions.
30099 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30101 # The nsl library prevents programs from opening the X display
30102 # on Irix 5.2, according to T.E. Dickey.
30103 # The functions gethostbyname, getservbyname, and inet_addr are
30104 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30105 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30106 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30107 if test "${ac_cv_func_gethostbyname+set}" = set; then
30108 echo $ECHO_N "(cached) $ECHO_C" >&6
30110 cat >conftest.$ac_ext <<_ACEOF
30113 cat confdefs.h >>conftest.$ac_ext
30114 cat >>conftest.$ac_ext <<_ACEOF
30115 /* end confdefs.h. */
30116 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30118 #define gethostbyname innocuous_gethostbyname
30120 /* System header to define __stub macros and hopefully few prototypes,
30121 which can conflict with char gethostbyname (); below.
30122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30123 <limits.h> exists even on freestanding compilers. */
30126 # include <limits.h>
30128 # include <assert.h>
30131 #undef gethostbyname
30133 /* Override any GCC internal prototype to avoid an error.
30134 Use char because int might match the return type of a GCC
30135 builtin and then its argument prototype would still apply. */
30139 char gethostbyname ();
30140 /* The GNU C library defines this for functions which it implements
30141 to always fail with ENOSYS. Some functions are actually named
30142 something starting with __ and the normal name is an alias. */
30143 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30150 return gethostbyname ();
30155 rm -f conftest.$ac_objext conftest$ac_exeext
30156 if { (ac_try="$ac_link"
30157 case "(($ac_try" in
30158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30159 *) ac_try_echo=$ac_try;;
30161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30162 (eval "$ac_link") 2>conftest.er1
30164 grep -v '^ *+' conftest.er1 >conftest.err
30166 cat conftest.err >&5
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); } && {
30169 test -z "$ac_c_werror_flag" ||
30170 test ! -s conftest.err
30171 } && test -s conftest$ac_exeext &&
30172 $as_test_x conftest$ac_exeext; then
30173 ac_cv_func_gethostbyname=yes
30175 echo "$as_me: failed program was:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30178 ac_cv_func_gethostbyname=no
30181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30182 conftest$ac_exeext conftest.$ac_ext
30184 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30185 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30187 if test $ac_cv_func_gethostbyname = no; then
30188 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30189 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30190 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30191 echo $ECHO_N "(cached) $ECHO_C" >&6
30193 ac_check_lib_save_LIBS=$LIBS
30195 cat >conftest.$ac_ext <<_ACEOF
30198 cat confdefs.h >>conftest.$ac_ext
30199 cat >>conftest.$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30202 /* Override any GCC internal prototype to avoid an error.
30203 Use char because int might match the return type of a GCC
30204 builtin and then its argument prototype would still apply. */
30208 char gethostbyname ();
30212 return gethostbyname ();
30217 rm -f conftest.$ac_objext conftest$ac_exeext
30218 if { (ac_try="$ac_link"
30219 case "(($ac_try" in
30220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30221 *) ac_try_echo=$ac_try;;
30223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30224 (eval "$ac_link") 2>conftest.er1
30226 grep -v '^ *+' conftest.er1 >conftest.err
30228 cat conftest.err >&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); } && {
30231 test -z "$ac_c_werror_flag" ||
30232 test ! -s conftest.err
30233 } && test -s conftest$ac_exeext &&
30234 $as_test_x conftest$ac_exeext; then
30235 ac_cv_lib_nsl_gethostbyname=yes
30237 echo "$as_me: failed program was:" >&5
30238 sed 's/^/| /' conftest.$ac_ext >&5
30240 ac_cv_lib_nsl_gethostbyname=no
30243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30244 conftest$ac_exeext conftest.$ac_ext
30245 LIBS=$ac_check_lib_save_LIBS
30247 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30248 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30249 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30253 if test $ac_cv_lib_nsl_gethostbyname = no; then
30254 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30255 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30256 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30257 echo $ECHO_N "(cached) $ECHO_C" >&6
30259 ac_check_lib_save_LIBS=$LIBS
30261 cat >conftest.$ac_ext <<_ACEOF
30264 cat confdefs.h >>conftest.$ac_ext
30265 cat >>conftest.$ac_ext <<_ACEOF
30266 /* end confdefs.h. */
30268 /* Override any GCC internal prototype to avoid an error.
30269 Use char because int might match the return type of a GCC
30270 builtin and then its argument prototype would still apply. */
30274 char gethostbyname ();
30278 return gethostbyname ();
30283 rm -f conftest.$ac_objext conftest$ac_exeext
30284 if { (ac_try="$ac_link"
30285 case "(($ac_try" in
30286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30287 *) ac_try_echo=$ac_try;;
30289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30290 (eval "$ac_link") 2>conftest.er1
30292 grep -v '^ *+' conftest.er1 >conftest.err
30294 cat conftest.err >&5
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } && {
30297 test -z "$ac_c_werror_flag" ||
30298 test ! -s conftest.err
30299 } && test -s conftest$ac_exeext &&
30300 $as_test_x conftest$ac_exeext; then
30301 ac_cv_lib_bsd_gethostbyname=yes
30303 echo "$as_me: failed program was:" >&5
30304 sed 's/^/| /' conftest.$ac_ext >&5
30306 ac_cv_lib_bsd_gethostbyname=no
30309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30310 conftest$ac_exeext conftest.$ac_ext
30311 LIBS=$ac_check_lib_save_LIBS
30313 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30314 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30315 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30322 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30323 # socket/setsockopt and other routines are undefined under SCO ODT
30324 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30325 # on later versions), says Simon Leinen: it contains gethostby*
30326 # variants that don't use the name server (or something). -lsocket
30327 # must be given before -lnsl if both are needed. We assume that
30328 # if connect needs -lnsl, so does gethostbyname.
30329 { echo "$as_me:$LINENO: checking for connect" >&5
30330 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30331 if test "${ac_cv_func_connect+set}" = set; then
30332 echo $ECHO_N "(cached) $ECHO_C" >&6
30334 cat >conftest.$ac_ext <<_ACEOF
30337 cat confdefs.h >>conftest.$ac_ext
30338 cat >>conftest.$ac_ext <<_ACEOF
30339 /* end confdefs.h. */
30340 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30342 #define connect innocuous_connect
30344 /* System header to define __stub macros and hopefully few prototypes,
30345 which can conflict with char connect (); below.
30346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30347 <limits.h> exists even on freestanding compilers. */
30350 # include <limits.h>
30352 # include <assert.h>
30357 /* Override any GCC internal prototype to avoid an error.
30358 Use char because int might match the return type of a GCC
30359 builtin and then its argument prototype would still apply. */
30364 /* The GNU C library defines this for functions which it implements
30365 to always fail with ENOSYS. Some functions are actually named
30366 something starting with __ and the normal name is an alias. */
30367 #if defined __stub_connect || defined __stub___connect
30379 rm -f conftest.$ac_objext conftest$ac_exeext
30380 if { (ac_try="$ac_link"
30381 case "(($ac_try" in
30382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30383 *) ac_try_echo=$ac_try;;
30385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30386 (eval "$ac_link") 2>conftest.er1
30388 grep -v '^ *+' conftest.er1 >conftest.err
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); } && {
30393 test -z "$ac_c_werror_flag" ||
30394 test ! -s conftest.err
30395 } && test -s conftest$ac_exeext &&
30396 $as_test_x conftest$ac_exeext; then
30397 ac_cv_func_connect=yes
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30402 ac_cv_func_connect=no
30405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30406 conftest$ac_exeext conftest.$ac_ext
30408 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30409 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30411 if test $ac_cv_func_connect = no; then
30412 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30413 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30414 if test "${ac_cv_lib_socket_connect+set}" = set; then
30415 echo $ECHO_N "(cached) $ECHO_C" >&6
30417 ac_check_lib_save_LIBS=$LIBS
30418 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30419 cat >conftest.$ac_ext <<_ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30426 /* Override any GCC internal prototype to avoid an error.
30427 Use char because int might match the return type of a GCC
30428 builtin and then its argument prototype would still apply. */
30441 rm -f conftest.$ac_objext conftest$ac_exeext
30442 if { (ac_try="$ac_link"
30443 case "(($ac_try" in
30444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30445 *) ac_try_echo=$ac_try;;
30447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30448 (eval "$ac_link") 2>conftest.er1
30450 grep -v '^ *+' conftest.er1 >conftest.err
30452 cat conftest.err >&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); } && {
30455 test -z "$ac_c_werror_flag" ||
30456 test ! -s conftest.err
30457 } && test -s conftest$ac_exeext &&
30458 $as_test_x conftest$ac_exeext; then
30459 ac_cv_lib_socket_connect=yes
30461 echo "$as_me: failed program was:" >&5
30462 sed 's/^/| /' conftest.$ac_ext >&5
30464 ac_cv_lib_socket_connect=no
30467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30468 conftest$ac_exeext conftest.$ac_ext
30469 LIBS=$ac_check_lib_save_LIBS
30471 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30472 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30473 if test $ac_cv_lib_socket_connect = yes; then
30474 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30479 # Guillermo Gomez says -lposix is necessary on A/UX.
30480 { echo "$as_me:$LINENO: checking for remove" >&5
30481 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30482 if test "${ac_cv_func_remove+set}" = set; then
30483 echo $ECHO_N "(cached) $ECHO_C" >&6
30485 cat >conftest.$ac_ext <<_ACEOF
30488 cat confdefs.h >>conftest.$ac_ext
30489 cat >>conftest.$ac_ext <<_ACEOF
30490 /* end confdefs.h. */
30491 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30493 #define remove innocuous_remove
30495 /* System header to define __stub macros and hopefully few prototypes,
30496 which can conflict with char remove (); below.
30497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30498 <limits.h> exists even on freestanding compilers. */
30501 # include <limits.h>
30503 # include <assert.h>
30508 /* Override any GCC internal prototype to avoid an error.
30509 Use char because int might match the return type of a GCC
30510 builtin and then its argument prototype would still apply. */
30515 /* The GNU C library defines this for functions which it implements
30516 to always fail with ENOSYS. Some functions are actually named
30517 something starting with __ and the normal name is an alias. */
30518 #if defined __stub_remove || defined __stub___remove
30530 rm -f conftest.$ac_objext conftest$ac_exeext
30531 if { (ac_try="$ac_link"
30532 case "(($ac_try" in
30533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30534 *) ac_try_echo=$ac_try;;
30536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30537 (eval "$ac_link") 2>conftest.er1
30539 grep -v '^ *+' conftest.er1 >conftest.err
30541 cat conftest.err >&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); } && {
30544 test -z "$ac_c_werror_flag" ||
30545 test ! -s conftest.err
30546 } && test -s conftest$ac_exeext &&
30547 $as_test_x conftest$ac_exeext; then
30548 ac_cv_func_remove=yes
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30553 ac_cv_func_remove=no
30556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30557 conftest$ac_exeext conftest.$ac_ext
30559 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30560 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30562 if test $ac_cv_func_remove = no; then
30563 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30564 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30565 if test "${ac_cv_lib_posix_remove+set}" = set; then
30566 echo $ECHO_N "(cached) $ECHO_C" >&6
30568 ac_check_lib_save_LIBS=$LIBS
30569 LIBS="-lposix $LIBS"
30570 cat >conftest.$ac_ext <<_ACEOF
30573 cat confdefs.h >>conftest.$ac_ext
30574 cat >>conftest.$ac_ext <<_ACEOF
30575 /* end confdefs.h. */
30577 /* Override any GCC internal prototype to avoid an error.
30578 Use char because int might match the return type of a GCC
30579 builtin and then its argument prototype would still apply. */
30592 rm -f conftest.$ac_objext conftest$ac_exeext
30593 if { (ac_try="$ac_link"
30594 case "(($ac_try" in
30595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30596 *) ac_try_echo=$ac_try;;
30598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30599 (eval "$ac_link") 2>conftest.er1
30601 grep -v '^ *+' conftest.er1 >conftest.err
30603 cat conftest.err >&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } && {
30606 test -z "$ac_c_werror_flag" ||
30607 test ! -s conftest.err
30608 } && test -s conftest$ac_exeext &&
30609 $as_test_x conftest$ac_exeext; then
30610 ac_cv_lib_posix_remove=yes
30612 echo "$as_me: failed program was:" >&5
30613 sed 's/^/| /' conftest.$ac_ext >&5
30615 ac_cv_lib_posix_remove=no
30618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30619 conftest$ac_exeext conftest.$ac_ext
30620 LIBS=$ac_check_lib_save_LIBS
30622 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30623 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30624 if test $ac_cv_lib_posix_remove = yes; then
30625 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30630 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30631 { echo "$as_me:$LINENO: checking for shmat" >&5
30632 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30633 if test "${ac_cv_func_shmat+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 cat >conftest.$ac_ext <<_ACEOF
30639 cat confdefs.h >>conftest.$ac_ext
30640 cat >>conftest.$ac_ext <<_ACEOF
30641 /* end confdefs.h. */
30642 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30644 #define shmat innocuous_shmat
30646 /* System header to define __stub macros and hopefully few prototypes,
30647 which can conflict with char shmat (); below.
30648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30649 <limits.h> exists even on freestanding compilers. */
30652 # include <limits.h>
30654 # include <assert.h>
30659 /* Override any GCC internal prototype to avoid an error.
30660 Use char because int might match the return type of a GCC
30661 builtin and then its argument prototype would still apply. */
30666 /* The GNU C library defines this for functions which it implements
30667 to always fail with ENOSYS. Some functions are actually named
30668 something starting with __ and the normal name is an alias. */
30669 #if defined __stub_shmat || defined __stub___shmat
30681 rm -f conftest.$ac_objext conftest$ac_exeext
30682 if { (ac_try="$ac_link"
30683 case "(($ac_try" in
30684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30685 *) ac_try_echo=$ac_try;;
30687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30688 (eval "$ac_link") 2>conftest.er1
30690 grep -v '^ *+' conftest.er1 >conftest.err
30692 cat conftest.err >&5
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); } && {
30695 test -z "$ac_c_werror_flag" ||
30696 test ! -s conftest.err
30697 } && test -s conftest$ac_exeext &&
30698 $as_test_x conftest$ac_exeext; then
30699 ac_cv_func_shmat=yes
30701 echo "$as_me: failed program was:" >&5
30702 sed 's/^/| /' conftest.$ac_ext >&5
30704 ac_cv_func_shmat=no
30707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30708 conftest$ac_exeext conftest.$ac_ext
30710 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30711 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30713 if test $ac_cv_func_shmat = no; then
30714 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30715 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30716 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30717 echo $ECHO_N "(cached) $ECHO_C" >&6
30719 ac_check_lib_save_LIBS=$LIBS
30721 cat >conftest.$ac_ext <<_ACEOF
30724 cat confdefs.h >>conftest.$ac_ext
30725 cat >>conftest.$ac_ext <<_ACEOF
30726 /* end confdefs.h. */
30728 /* Override any GCC internal prototype to avoid an error.
30729 Use char because int might match the return type of a GCC
30730 builtin and then its argument prototype would still apply. */
30743 rm -f conftest.$ac_objext conftest$ac_exeext
30744 if { (ac_try="$ac_link"
30745 case "(($ac_try" in
30746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30747 *) ac_try_echo=$ac_try;;
30749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30750 (eval "$ac_link") 2>conftest.er1
30752 grep -v '^ *+' conftest.er1 >conftest.err
30754 cat conftest.err >&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); } && {
30757 test -z "$ac_c_werror_flag" ||
30758 test ! -s conftest.err
30759 } && test -s conftest$ac_exeext &&
30760 $as_test_x conftest$ac_exeext; then
30761 ac_cv_lib_ipc_shmat=yes
30763 echo "$as_me: failed program was:" >&5
30764 sed 's/^/| /' conftest.$ac_ext >&5
30766 ac_cv_lib_ipc_shmat=no
30769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30770 conftest$ac_exeext conftest.$ac_ext
30771 LIBS=$ac_check_lib_save_LIBS
30773 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30774 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30775 if test $ac_cv_lib_ipc_shmat = yes; then
30776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30782 # Check for libraries that X11R6 Xt/Xaw programs need.
30783 ac_save_LDFLAGS=$LDFLAGS
30784 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30785 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30786 # check for ICE first), but we must link in the order -lSM -lICE or
30787 # we get undefined symbols. So assume we have SM if we have ICE.
30788 # These have to be linked with before -lX11, unlike the other
30789 # libraries we check for below, so use a different variable.
30790 # John Interrante, Karl Berry
30791 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30792 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30793 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 ac_check_lib_save_LIBS=$LIBS
30797 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30798 cat >conftest.$ac_ext <<_ACEOF
30801 cat confdefs.h >>conftest.$ac_ext
30802 cat >>conftest.$ac_ext <<_ACEOF
30803 /* end confdefs.h. */
30805 /* Override any GCC internal prototype to avoid an error.
30806 Use char because int might match the return type of a GCC
30807 builtin and then its argument prototype would still apply. */
30811 char IceConnectionNumber ();
30815 return IceConnectionNumber ();
30820 rm -f conftest.$ac_objext conftest$ac_exeext
30821 if { (ac_try="$ac_link"
30822 case "(($ac_try" in
30823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30824 *) ac_try_echo=$ac_try;;
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_link") 2>conftest.er1
30829 grep -v '^ *+' conftest.er1 >conftest.err
30831 cat conftest.err >&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } && {
30834 test -z "$ac_c_werror_flag" ||
30835 test ! -s conftest.err
30836 } && test -s conftest$ac_exeext &&
30837 $as_test_x conftest$ac_exeext; then
30838 ac_cv_lib_ICE_IceConnectionNumber=yes
30840 echo "$as_me: failed program was:" >&5
30841 sed 's/^/| /' conftest.$ac_ext >&5
30843 ac_cv_lib_ICE_IceConnectionNumber=no
30846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30847 conftest$ac_exeext conftest.$ac_ext
30848 LIBS=$ac_check_lib_save_LIBS
30850 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30851 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30852 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30853 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30856 LDFLAGS=$ac_save_LDFLAGS
30861 if test "$no_x" = "yes"; then
30862 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30863 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30864 { (exit 1); exit 1; }; }
30867 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30868 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30869 AFMINSTALL=afminstall
30870 COMPILED_X_PROGRAM=0
30874 if test "$wxUSE_X11" = 1; then
30875 if test "$wxUSE_NANOX" = "yes"; then
30876 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30877 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30878 if test "x$MICROWIN" = x ; then
30879 { echo "$as_me:$LINENO: result: not found" >&5
30880 echo "${ECHO_T}not found" >&6; }
30881 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30882 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30883 { (exit 1); exit 1; }; }
30885 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30886 echo "${ECHO_T}$MICROWIN" >&6; }
30887 cat >>confdefs.h <<\_ACEOF
30888 #define wxUSE_NANOX 1
30894 if test "$wxUSE_UNICODE" = "yes"; then
30897 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30898 if test -n "$ac_tool_prefix"; then
30899 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30900 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30903 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30904 echo $ECHO_N "(cached) $ECHO_C" >&6
30906 case $PKG_CONFIG in
30908 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30912 for as_dir in $PATH
30915 test -z "$as_dir" && as_dir=.
30916 for ac_exec_ext in '' $ac_executable_extensions; do
30917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30918 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30929 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30930 if test -n "$PKG_CONFIG"; then
30931 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30932 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30934 { echo "$as_me:$LINENO: result: no" >&5
30935 echo "${ECHO_T}no" >&6; }
30940 if test -z "$ac_cv_path_PKG_CONFIG"; then
30941 ac_pt_PKG_CONFIG=$PKG_CONFIG
30942 # Extract the first word of "pkg-config", so it can be a program name with args.
30943 set dummy pkg-config; ac_word=$2
30944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30946 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30947 echo $ECHO_N "(cached) $ECHO_C" >&6
30949 case $ac_pt_PKG_CONFIG in
30951 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30955 for as_dir in $PATH
30958 test -z "$as_dir" && as_dir=.
30959 for ac_exec_ext in '' $ac_executable_extensions; do
30960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30961 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30972 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30973 if test -n "$ac_pt_PKG_CONFIG"; then
30974 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30975 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30977 { echo "$as_me:$LINENO: result: no" >&5
30978 echo "${ECHO_T}no" >&6; }
30981 if test "x$ac_pt_PKG_CONFIG" = x; then
30984 case $cross_compiling:$ac_tool_warned in
30986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30987 whose name does not start with the host triplet. If you think this
30988 configuration is useful to you, please write to autoconf@gnu.org." >&5
30989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30990 whose name does not start with the host triplet. If you think this
30991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30992 ac_tool_warned=yes ;;
30994 PKG_CONFIG=$ac_pt_PKG_CONFIG
30997 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31001 if test -n "$PKG_CONFIG"; then
31002 _pkg_min_version=0.9.0
31003 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31004 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31005 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31006 { echo "$as_me:$LINENO: result: yes" >&5
31007 echo "${ECHO_T}yes" >&6; }
31009 { echo "$as_me:$LINENO: result: no" >&5
31010 echo "${ECHO_T}no" >&6; }
31018 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31019 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31021 if test -n "$PKG_CONFIG"; then
31022 if test -n "$PANGOX_CFLAGS"; then
31023 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31025 if test -n "$PKG_CONFIG" && \
31026 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31027 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); }; then
31031 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31039 if test -n "$PKG_CONFIG"; then
31040 if test -n "$PANGOX_LIBS"; then
31041 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31043 if test -n "$PKG_CONFIG" && \
31044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31045 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; then
31049 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31060 if test $pkg_failed = yes; then
31062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31063 _pkg_short_errors_supported=yes
31065 _pkg_short_errors_supported=no
31067 if test $_pkg_short_errors_supported = yes; then
31068 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31070 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31072 # Put the nasty error message in config.log where it belongs
31073 echo "$PANGOX_PKG_ERRORS" >&5
31076 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31077 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31078 { (exit 1); exit 1; }; }
31081 elif test $pkg_failed = untried; then
31083 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31084 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31085 { (exit 1); exit 1; }; }
31089 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31090 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31091 { echo "$as_me:$LINENO: result: yes" >&5
31092 echo "${ECHO_T}yes" >&6; }
31094 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31095 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31096 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31101 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31102 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31104 if test -n "$PKG_CONFIG"; then
31105 if test -n "$PANGOFT2_CFLAGS"; then
31106 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31108 if test -n "$PKG_CONFIG" && \
31109 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31110 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; then
31114 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31122 if test -n "$PKG_CONFIG"; then
31123 if test -n "$PANGOFT2_LIBS"; then
31124 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31126 if test -n "$PKG_CONFIG" && \
31127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31128 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); }; then
31132 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31143 if test $pkg_failed = yes; then
31145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31146 _pkg_short_errors_supported=yes
31148 _pkg_short_errors_supported=no
31150 if test $_pkg_short_errors_supported = yes; then
31151 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31153 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31155 # Put the nasty error message in config.log where it belongs
31156 echo "$PANGOFT2_PKG_ERRORS" >&5
31159 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31160 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31161 wxUSE_PRINTING_ARCHITECTURE="no"
31164 elif test $pkg_failed = untried; then
31166 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31167 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31168 wxUSE_PRINTING_ARCHITECTURE="no"
31172 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31173 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31174 { echo "$as_me:$LINENO: result: yes" >&5
31175 echo "${ECHO_T}yes" >&6; }
31177 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31178 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31184 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31185 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31187 if test -n "$PKG_CONFIG"; then
31188 if test -n "$PANGOXFT_CFLAGS"; then
31189 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31191 if test -n "$PKG_CONFIG" && \
31192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31193 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; then
31197 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31205 if test -n "$PKG_CONFIG"; then
31206 if test -n "$PANGOXFT_LIBS"; then
31207 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31209 if test -n "$PKG_CONFIG" && \
31210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31211 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; then
31215 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31226 if test $pkg_failed = yes; then
31228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31229 _pkg_short_errors_supported=yes
31231 _pkg_short_errors_supported=no
31233 if test $_pkg_short_errors_supported = yes; then
31234 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31236 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31238 # Put the nasty error message in config.log where it belongs
31239 echo "$PANGOXFT_PKG_ERRORS" >&5
31242 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31243 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31246 elif test $pkg_failed = untried; then
31248 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31249 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31253 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31254 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31255 { echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6; }
31258 cat >>confdefs.h <<\_ACEOF
31259 #define HAVE_PANGO_XFT 1
31262 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31263 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31264 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31268 LIBS="$LIBS $PANGOX_LIBS"
31270 for ac_func in pango_font_family_is_monospace
31272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31276 echo $ECHO_N "(cached) $ECHO_C" >&6
31278 cat >conftest.$ac_ext <<_ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31286 #define $ac_func innocuous_$ac_func
31288 /* System header to define __stub macros and hopefully few prototypes,
31289 which can conflict with char $ac_func (); below.
31290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31291 <limits.h> exists even on freestanding compilers. */
31294 # include <limits.h>
31296 # include <assert.h>
31301 /* Override any GCC internal prototype to avoid an error.
31302 Use char because int might match the return type of a GCC
31303 builtin and then its argument prototype would still apply. */
31308 /* The GNU C library defines this for functions which it implements
31309 to always fail with ENOSYS. Some functions are actually named
31310 something starting with __ and the normal name is an alias. */
31311 #if defined __stub_$ac_func || defined __stub___$ac_func
31318 return $ac_func ();
31323 rm -f conftest.$ac_objext conftest$ac_exeext
31324 if { (ac_try="$ac_link"
31325 case "(($ac_try" in
31326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_link") 2>conftest.er1
31332 grep -v '^ *+' conftest.er1 >conftest.err
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } && {
31337 test -z "$ac_c_werror_flag" ||
31338 test ! -s conftest.err
31339 } && test -s conftest$ac_exeext &&
31340 $as_test_x conftest$ac_exeext; then
31341 eval "$as_ac_var=yes"
31343 echo "$as_me: failed program was:" >&5
31344 sed 's/^/| /' conftest.$ac_ext >&5
31346 eval "$as_ac_var=no"
31349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31350 conftest$ac_exeext conftest.$ac_ext
31352 ac_res=`eval echo '${'$as_ac_var'}'`
31353 { echo "$as_me:$LINENO: result: $ac_res" >&5
31354 echo "${ECHO_T}$ac_res" >&6; }
31355 if test `eval echo '${'$as_ac_var'}'` = yes; then
31356 cat >>confdefs.h <<_ACEOF
31357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31366 wxUSE_UNIVERSAL="yes"
31368 if test "$wxUSE_NANOX" = "yes"; then
31369 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31370 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"
31371 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31380 if test "$wxUSE_MOTIF" = 1; then
31381 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31382 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31385 for ac_dir in $SEARCH_INCLUDE /usr/include;
31387 if test -f "$ac_dir/Xm/Xm.h"; then
31388 ac_find_includes=$ac_dir
31393 if test "$ac_find_includes" != "" ; then
31394 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31395 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31397 if test "x$ac_find_includes" = "x/usr/include"; then
31398 ac_path_to_include=""
31400 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31402 if test $result = 0; then
31403 ac_path_to_include=""
31405 ac_path_to_include=" -I$ac_find_includes"
31409 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31411 save_CFLAGS=$CFLAGS
31412 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31414 cat >conftest.$ac_ext <<_ACEOF
31417 cat confdefs.h >>conftest.$ac_ext
31418 cat >>conftest.$ac_ext <<_ACEOF
31419 /* end confdefs.h. */
31428 version = xmUseVersion;
31434 rm -f conftest.$ac_objext
31435 if { (ac_try="$ac_compile"
31436 case "(($ac_try" in
31437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31438 *) ac_try_echo=$ac_try;;
31440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31441 (eval "$ac_compile") 2>conftest.er1
31443 grep -v '^ *+' conftest.er1 >conftest.err
31445 cat conftest.err >&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); } && {
31448 test -z "$ac_c_werror_flag" ||
31449 test ! -s conftest.err
31450 } && test -s conftest.$ac_objext; then
31452 { echo "$as_me:$LINENO: result: found in default search path" >&5
31453 echo "${ECHO_T}found in default search path" >&6; }
31454 COMPILED_X_PROGRAM=1
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31463 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31464 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31465 { (exit 1); exit 1; }; }
31470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31472 CFLAGS=$save_CFLAGS
31476 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31477 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31480 for ac_dir in $SEARCH_LIB;
31482 for ac_extension in a so sl dylib dll.a; do
31483 if test -f "$ac_dir/libXm.$ac_extension"; then
31484 ac_find_libraries=$ac_dir
31491 if test "x$ac_find_libraries" != "x" ; then
31492 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31493 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31496 if test "$ac_find_libraries" = "default location"; then
31499 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31501 if test $result = 0; then
31504 ac_path_to_link=" -L$ac_find_libraries"
31508 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31510 save_CFLAGS=$CFLAGS
31511 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31513 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31515 cat >conftest.$ac_ext <<_ACEOF
31518 cat confdefs.h >>conftest.$ac_ext
31519 cat >>conftest.$ac_ext <<_ACEOF
31520 /* end confdefs.h. */
31529 version = xmUseVersion;
31535 rm -f conftest.$ac_objext conftest$ac_exeext
31536 if { (ac_try="$ac_link"
31537 case "(($ac_try" in
31538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31539 *) ac_try_echo=$ac_try;;
31541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31542 (eval "$ac_link") 2>conftest.er1
31544 grep -v '^ *+' conftest.er1 >conftest.err
31546 cat conftest.err >&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } && {
31549 test -z "$ac_c_werror_flag" ||
31550 test ! -s conftest.err
31551 } && test -s conftest$ac_exeext &&
31552 $as_test_x conftest$ac_exeext; then
31554 { echo "$as_me:$LINENO: result: found in default search path" >&5
31555 echo "${ECHO_T}found in default search path" >&6; }
31556 COMPILED_X_PROGRAM=1
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.$ac_ext >&5
31563 { echo "$as_me:$LINENO: result: no" >&5
31564 echo "${ECHO_T}no" >&6; }
31565 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31566 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31567 { (exit 1); exit 1; }; }
31572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31573 conftest$ac_exeext conftest.$ac_ext
31575 CFLAGS=$save_CFLAGS
31579 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31580 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31584 for libp in "" " -lXp"; do
31585 if test "$libs_found" = 0; then
31586 for libsm_ice in "" " -lSM -lICE"; do
31587 if test "$libs_found" = 0; then
31589 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31590 save_CFLAGS=$CFLAGS
31591 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31593 cat >conftest.$ac_ext <<_ACEOF
31596 cat confdefs.h >>conftest.$ac_ext
31597 cat >>conftest.$ac_ext <<_ACEOF
31598 /* end confdefs.h. */
31601 #include <Xm/List.h>
31607 XmString string = NULL;
31610 XmListAddItem(w, string, position);
31616 rm -f conftest.$ac_objext conftest$ac_exeext
31617 if { (ac_try="$ac_link"
31618 case "(($ac_try" in
31619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31620 *) ac_try_echo=$ac_try;;
31622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31623 (eval "$ac_link") 2>conftest.er1
31625 grep -v '^ *+' conftest.er1 >conftest.err
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } && {
31630 test -z "$ac_c_werror_flag" ||
31631 test ! -s conftest.err
31632 } && test -s conftest$ac_exeext &&
31633 $as_test_x conftest$ac_exeext; then
31636 libsm_ice_link="$libsm_ice"
31637 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31638 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31642 echo "$as_me: failed program was:" >&5
31643 sed 's/^/| /' conftest.$ac_ext >&5
31649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31650 conftest$ac_exeext conftest.$ac_ext
31653 CFLAGS=$save_CFLAGS
31659 if test "$libs_found" = 0; then
31660 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31661 echo "${ECHO_T}can't find the right libraries" >&6; }
31662 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31663 echo "$as_me: error: can't link a simple motif program" >&2;}
31664 { (exit 1); exit 1; }; }
31667 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31668 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31669 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31672 ac_check_lib_save_LIBS=$LIBS
31674 cat >conftest.$ac_ext <<_ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31681 /* Override any GCC internal prototype to avoid an error.
31682 Use char because int might match the return type of a GCC
31683 builtin and then its argument prototype would still apply. */
31687 char SgCreateList ();
31691 return SgCreateList ();
31696 rm -f conftest.$ac_objext conftest$ac_exeext
31697 if { (ac_try="$ac_link"
31698 case "(($ac_try" in
31699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_link") 2>conftest.er1
31705 grep -v '^ *+' conftest.er1 >conftest.err
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } && {
31710 test -z "$ac_c_werror_flag" ||
31711 test ! -s conftest.err
31712 } && test -s conftest$ac_exeext &&
31713 $as_test_x conftest$ac_exeext; then
31714 ac_cv_lib_Sgm_SgCreateList=yes
31716 echo "$as_me: failed program was:" >&5
31717 sed 's/^/| /' conftest.$ac_ext >&5
31719 ac_cv_lib_Sgm_SgCreateList=no
31722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31723 conftest$ac_exeext conftest.$ac_ext
31724 LIBS=$ac_check_lib_save_LIBS
31726 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31727 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31728 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31729 libsgm_link=" -lSgm"
31733 save_CFLAGS=$CFLAGS
31734 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31736 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31738 if test "${wx_cv_lib_motif2+set}" = set; then
31739 echo $ECHO_N "(cached) $ECHO_C" >&6
31741 cat >conftest.$ac_ext <<_ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31754 #if XmVersion < 2000
31762 rm -f conftest.$ac_objext
31763 if { (ac_try="$ac_compile"
31764 case "(($ac_try" in
31765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31766 *) ac_try_echo=$ac_try;;
31768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31769 (eval "$ac_compile") 2>conftest.er1
31771 grep -v '^ *+' conftest.er1 >conftest.err
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } && {
31776 test -z "$ac_c_werror_flag" ||
31777 test ! -s conftest.err
31778 } && test -s conftest.$ac_objext; then
31779 wx_cv_lib_motif2="yes"
31781 echo "$as_me: failed program was:" >&5
31782 sed 's/^/| /' conftest.$ac_ext >&5
31784 wx_cv_lib_motif2="no"
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31789 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31790 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31791 if test "$wx_cv_lib_motif2" = "yes"; then
31792 cat >>confdefs.h <<\_ACEOF
31793 #define __WXMOTIF20__ 1
31797 cat >>confdefs.h <<\_ACEOF
31798 #define __WXMOTIF20__ 0
31803 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31804 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31805 if test "${wx_cv_lib_lesstif+set}" = set; then
31806 echo $ECHO_N "(cached) $ECHO_C" >&6
31808 cat >conftest.$ac_ext <<_ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31821 #if !defined(LesstifVersion) || LesstifVersion <= 0
31829 rm -f conftest.$ac_objext
31830 if { (ac_try="$ac_compile"
31831 case "(($ac_try" in
31832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31833 *) ac_try_echo=$ac_try;;
31835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31836 (eval "$ac_compile") 2>conftest.er1
31838 grep -v '^ *+' conftest.er1 >conftest.err
31840 cat conftest.err >&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); } && {
31843 test -z "$ac_c_werror_flag" ||
31844 test ! -s conftest.err
31845 } && test -s conftest.$ac_objext; then
31846 wx_cv_lib_lesstif="yes"
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.$ac_ext >&5
31851 wx_cv_lib_lesstif="no"
31854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31857 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31858 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31859 if test "$wx_cv_lib_lesstif" = "yes"; then
31860 cat >>confdefs.h <<\_ACEOF
31861 #define __WXLESSTIF__ 1
31865 cat >>confdefs.h <<\_ACEOF
31866 #define __WXLESSTIF__ 0
31871 CFLAGS=$save_CFLAGS
31873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31878 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31879 if test "$wxUSE_LIBXPM" = "sys"; then
31880 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31881 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31884 for ac_dir in $SEARCH_LIB;
31886 for ac_extension in a so sl dylib dll.a; do
31887 if test -f "$ac_dir/libXpm.$ac_extension"; then
31888 ac_find_libraries=$ac_dir
31894 if test "$ac_find_libraries" != "" ; then
31896 if test "$ac_find_libraries" = "default location"; then
31899 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31901 if test $result = 0; then
31904 ac_path_to_link=" -L$ac_find_libraries"
31908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31909 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31910 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31912 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31913 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31914 if test "${wx_cv_x11_xpm_h+set}" = set; then
31915 echo $ECHO_N "(cached) $ECHO_C" >&6
31918 save_CFLAGS=$CFLAGS
31919 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31921 cat >conftest.$ac_ext <<_ACEOF
31924 cat confdefs.h >>conftest.$ac_ext
31925 cat >>conftest.$ac_ext <<_ACEOF
31926 /* end confdefs.h. */
31928 #include <X11/xpm.h>
31935 version = XpmLibraryVersion();
31941 rm -f conftest.$ac_objext
31942 if { (ac_try="$ac_compile"
31943 case "(($ac_try" in
31944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31945 *) ac_try_echo=$ac_try;;
31947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31948 (eval "$ac_compile") 2>conftest.er1
31950 grep -v '^ *+' conftest.er1 >conftest.err
31952 cat conftest.err >&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); } && {
31955 test -z "$ac_c_werror_flag" ||
31956 test ! -s conftest.err
31957 } && test -s conftest.$ac_objext; then
31958 wx_cv_x11_xpm_h=yes
31960 echo "$as_me: failed program was:" >&5
31961 sed 's/^/| /' conftest.$ac_ext >&5
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31969 CFLAGS=$save_CFLAGS
31973 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31974 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31976 if test $wx_cv_x11_xpm_h = "yes"; then
31977 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31978 cat >>confdefs.h <<\_ACEOF
31979 #define wxHAVE_LIB_XPM 1
31983 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31984 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31990 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31991 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31992 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 ac_check_lib_save_LIBS=$LIBS
31996 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31997 cat >conftest.$ac_ext <<_ACEOF
32000 cat confdefs.h >>conftest.$ac_ext
32001 cat >>conftest.$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32004 /* Override any GCC internal prototype to avoid an error.
32005 Use char because int might match the return type of a GCC
32006 builtin and then its argument prototype would still apply. */
32010 char XShapeQueryExtension ();
32014 return XShapeQueryExtension ();
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (ac_try="$ac_link"
32021 case "(($ac_try" in
32022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32023 *) ac_try_echo=$ac_try;;
32025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32026 (eval "$ac_link") 2>conftest.er1
32028 grep -v '^ *+' conftest.er1 >conftest.err
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } && {
32033 test -z "$ac_c_werror_flag" ||
32034 test ! -s conftest.err
32035 } && test -s conftest$ac_exeext &&
32036 $as_test_x conftest$ac_exeext; then
32037 ac_cv_lib_Xext_XShapeQueryExtension=yes
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.$ac_ext >&5
32042 ac_cv_lib_Xext_XShapeQueryExtension=no
32045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32046 conftest$ac_exeext conftest.$ac_ext
32047 LIBS=$ac_check_lib_save_LIBS
32049 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32050 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32051 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32059 if test "$wxHAVE_XEXT_LIB" = 1; then
32060 save_CFLAGS="$CFLAGS"
32061 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32063 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32064 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32065 cat >conftest.$ac_ext <<_ACEOF
32068 cat confdefs.h >>conftest.$ac_ext
32069 cat >>conftest.$ac_ext <<_ACEOF
32070 /* end confdefs.h. */
32072 #include <X11/Xlib.h>
32073 #include <X11/extensions/shape.h>
32079 int dummy1, dummy2;
32080 XShapeQueryExtension((Display*)NULL,
32081 (int*)NULL, (int*)NULL);
32087 rm -f conftest.$ac_objext
32088 if { (ac_try="$ac_compile"
32089 case "(($ac_try" in
32090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32091 *) ac_try_echo=$ac_try;;
32093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32094 (eval "$ac_compile") 2>conftest.er1
32096 grep -v '^ *+' conftest.er1 >conftest.err
32098 cat conftest.err >&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); } && {
32101 test -z "$ac_c_werror_flag" ||
32102 test ! -s conftest.err
32103 } && test -s conftest.$ac_objext; then
32105 cat >>confdefs.h <<\_ACEOF
32106 #define HAVE_XSHAPE 1
32109 { echo "$as_me:$LINENO: result: found" >&5
32110 echo "${ECHO_T}found" >&6; }
32113 echo "$as_me: failed program was:" >&5
32114 sed 's/^/| /' conftest.$ac_ext >&5
32117 { echo "$as_me:$LINENO: result: not found" >&5
32118 echo "${ECHO_T}not found" >&6; }
32122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32123 CFLAGS="$save_CFLAGS"
32128 if test "$wxUSE_MAC" = 1; then
32129 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32130 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32131 if test "$GCC" = yes; then
32132 { echo "$as_me:$LINENO: result: gcc" >&5
32133 echo "${ECHO_T}gcc" >&6; }
32134 CPPFLAGS_PASCAL="-fpascal-strings"
32135 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32136 { echo "$as_me:$LINENO: result: xlc" >&5
32137 echo "${ECHO_T}xlc" >&6; }
32138 CPPFLAGS_PASCAL="-qmacpstr"
32140 { echo "$as_me:$LINENO: result: none" >&5
32141 echo "${ECHO_T}none" >&6; }
32144 if test "x$wxUSE_UNIX" = "xyes"; then
32145 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32147 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32152 WXBASEPORT="_carbon"
32155 if test "$wxUSE_COCOA" = 1; then
32160 if test "$wxUSE_PM" = 1; then
32163 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32164 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32165 if test "${wx_cv_spbcdata+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 cat >conftest.$ac_ext <<_ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32189 rm -f conftest.$ac_objext
32190 if { (ac_try="$ac_compile"
32191 case "(($ac_try" in
32192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32193 *) ac_try_echo=$ac_try;;
32195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32196 (eval "$ac_compile") 2>conftest.er1
32198 grep -v '^ *+' conftest.er1 >conftest.err
32200 cat conftest.err >&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } && {
32203 test -z "$ac_c_werror_flag" ||
32204 test ! -s conftest.err
32205 } && test -s conftest.$ac_objext; then
32208 echo "$as_me: failed program was:" >&5
32209 sed 's/^/| /' conftest.$ac_ext >&5
32215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32219 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32220 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32222 if test $wx_cv_spbcdata = "yes"; then
32223 cat >>confdefs.h <<\_ACEOF
32224 #define HAVE_SPBCDATA 1
32230 if test "$TOOLKIT" = "PM" ; then
32233 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
32236 if test "$wxUSE_UNIVERSAL" = "yes"; then
32237 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32241 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32242 DISTDIR="wx\$(TOOLKIT)"
32248 if test "$USE_WIN32" = 1 ; then
32252 GUIDIST="BASE_DIST"
32258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32259 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32260 wxUSE_UNICODE_UTF8=yes
32261 elif test "$USE_OS2" = 1 ; then
32262 wxUSE_UNICODE_UTF8=yes
32264 wxUSE_UNICODE_UTF8=no
32269 if test "$wxUSE_GUI" = "yes"; then
32270 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32272 for ac_header in X11/Xlib.h
32274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32278 echo $ECHO_N "(cached) $ECHO_C" >&6
32280 cat >conftest.$ac_ext <<_ACEOF
32283 cat confdefs.h >>conftest.$ac_ext
32284 cat >>conftest.$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32288 #include <$ac_header>
32290 rm -f conftest.$ac_objext
32291 if { (ac_try="$ac_compile"
32292 case "(($ac_try" in
32293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32294 *) ac_try_echo=$ac_try;;
32296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32297 (eval "$ac_compile") 2>conftest.er1
32299 grep -v '^ *+' conftest.er1 >conftest.err
32301 cat conftest.err >&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); } && {
32304 test -z "$ac_c_werror_flag" ||
32305 test ! -s conftest.err
32306 } && test -s conftest.$ac_objext; then
32307 eval "$as_ac_Header=yes"
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32312 eval "$as_ac_Header=no"
32315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32317 ac_res=`eval echo '${'$as_ac_Header'}'`
32318 { echo "$as_me:$LINENO: result: $ac_res" >&5
32319 echo "${ECHO_T}$ac_res" >&6; }
32320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32321 cat >>confdefs.h <<_ACEOF
32322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32330 for ac_header in X11/XKBlib.h
32332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32336 echo $ECHO_N "(cached) $ECHO_C" >&6
32338 cat >conftest.$ac_ext <<_ACEOF
32341 cat confdefs.h >>conftest.$ac_ext
32342 cat >>conftest.$ac_ext <<_ACEOF
32343 /* end confdefs.h. */
32345 #if HAVE_X11_XLIB_H
32346 #include <X11/Xlib.h>
32350 #include <$ac_header>
32352 rm -f conftest.$ac_objext
32353 if { (ac_try="$ac_compile"
32354 case "(($ac_try" in
32355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32356 *) ac_try_echo=$ac_try;;
32358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32359 (eval "$ac_compile") 2>conftest.er1
32361 grep -v '^ *+' conftest.er1 >conftest.err
32363 cat conftest.err >&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); } && {
32366 test -z "$ac_c_werror_flag" ||
32367 test ! -s conftest.err
32368 } && test -s conftest.$ac_objext; then
32369 eval "$as_ac_Header=yes"
32371 echo "$as_me: failed program was:" >&5
32372 sed 's/^/| /' conftest.$ac_ext >&5
32374 eval "$as_ac_Header=no"
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32379 ac_res=`eval echo '${'$as_ac_Header'}'`
32380 { echo "$as_me:$LINENO: result: $ac_res" >&5
32381 echo "${ECHO_T}$ac_res" >&6; }
32382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32383 cat >>confdefs.h <<_ACEOF
32384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32396 if test "$wxUSE_DISPLAY" = "yes"; then
32397 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32398 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32399 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32402 for ac_dir in $SEARCH_LIB;
32404 for ac_extension in a so sl dylib dll.a; do
32405 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32406 ac_find_libraries=$ac_dir
32412 if test "$ac_find_libraries" != "" ; then
32414 if test "$ac_find_libraries" = "default location"; then
32417 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32419 if test $result = 0; then
32422 ac_path_to_link=" -L$ac_find_libraries"
32426 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32427 LDFLAGS="$LDFLAGS $ac_path_to_link"
32429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32430 { echo "$as_me:$LINENO: result: yes" >&5
32431 echo "${ECHO_T}yes" >&6; }
32433 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32434 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32437 for ac_dir in $SEARCH_LIB;
32439 for ac_extension in a so sl dylib dll.a; do
32440 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32441 ac_find_libraries=$ac_dir
32447 if test "$ac_find_libraries" != "" ; then
32448 { echo "$as_me:$LINENO: result: yes" >&5
32449 echo "${ECHO_T}yes" >&6; }
32451 for ac_header in X11/extensions/xf86vmode.h
32453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 cat >conftest.$ac_ext <<_ACEOF
32462 cat confdefs.h >>conftest.$ac_ext
32463 cat >>conftest.$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32466 #if HAVE_X11_XLIB_H
32467 #include <X11/Xlib.h>
32471 #include <$ac_header>
32473 rm -f conftest.$ac_objext
32474 if { (ac_try="$ac_compile"
32475 case "(($ac_try" in
32476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32477 *) ac_try_echo=$ac_try;;
32479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32480 (eval "$ac_compile") 2>conftest.er1
32482 grep -v '^ *+' conftest.er1 >conftest.err
32484 cat conftest.err >&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } && {
32487 test -z "$ac_c_werror_flag" ||
32488 test ! -s conftest.err
32489 } && test -s conftest.$ac_objext; then
32490 eval "$as_ac_Header=yes"
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32495 eval "$as_ac_Header=no"
32498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32500 ac_res=`eval echo '${'$as_ac_Header'}'`
32501 { echo "$as_me:$LINENO: result: $ac_res" >&5
32502 echo "${ECHO_T}$ac_res" >&6; }
32503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32504 cat >>confdefs.h <<_ACEOF
32505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32508 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32515 { echo "$as_me:$LINENO: result: no" >&5
32516 echo "${ECHO_T}no" >&6; }
32520 { echo "$as_me:$LINENO: result: no" >&5
32521 echo "${ECHO_T}no" >&6; }
32522 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32523 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32526 elif test "$wxUSE_MSW" = 1; then
32527 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32528 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32529 if test "${ac_cv_header_ddraw_h+set}" = set; then
32530 echo $ECHO_N "(cached) $ECHO_C" >&6
32532 cat >conftest.$ac_ext <<_ACEOF
32535 cat confdefs.h >>conftest.$ac_ext
32536 cat >>conftest.$ac_ext <<_ACEOF
32537 /* end confdefs.h. */
32538 #include <windows.h>
32542 rm -f conftest.$ac_objext
32543 if { (ac_try="$ac_compile"
32544 case "(($ac_try" in
32545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32546 *) ac_try_echo=$ac_try;;
32548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32549 (eval "$ac_compile") 2>conftest.er1
32551 grep -v '^ *+' conftest.er1 >conftest.err
32553 cat conftest.err >&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); } && {
32556 test -z "$ac_c_werror_flag" ||
32557 test ! -s conftest.err
32558 } && test -s conftest.$ac_objext; then
32559 ac_cv_header_ddraw_h=yes
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.$ac_ext >&5
32564 ac_cv_header_ddraw_h=no
32567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32569 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32570 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32576 if test "$wxUSE_DETECT_SM" = "yes"; then
32577 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32578 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32579 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32582 for ac_dir in $SEARCH_LIB;
32584 for ac_extension in a so sl dylib dll.a; do
32585 if test -f "$ac_dir/libSM.$ac_extension"; then
32586 ac_find_libraries=$ac_dir
32592 if test "$ac_find_libraries" != "" ; then
32594 if test "$ac_find_libraries" = "default location"; then
32597 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32599 if test $result = 0; then
32602 ac_path_to_link=" -L$ac_find_libraries"
32606 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32607 LDFLAGS="$LDFLAGS $ac_path_to_link"
32609 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32610 { echo "$as_me:$LINENO: result: yes" >&5
32611 echo "${ECHO_T}yes" >&6; }
32613 { echo "$as_me:$LINENO: result: no" >&5
32614 echo "${ECHO_T}no" >&6; }
32615 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32616 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32617 wxUSE_DETECT_SM="no"
32620 wxUSE_DETECT_SM="no"
32627 if test "$wxUSE_OPENGL" = "yes"; then
32628 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32629 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32630 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32632 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32633 OPENGL_LIBS="-framework OpenGL -framework AGL"
32634 elif test "$wxUSE_MSW" = 1; then
32635 OPENGL_LIBS="-lopengl32 -lglu32"
32637 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32638 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32641 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32643 if test -f "$ac_dir/GL/gl.h"; then
32644 ac_find_includes=$ac_dir
32649 if test "$ac_find_includes" != "" ; then
32650 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32651 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32653 if test "x$ac_find_includes" = "x/usr/include"; then
32654 ac_path_to_include=""
32656 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32658 if test $result = 0; then
32659 ac_path_to_include=""
32661 ac_path_to_include=" -I$ac_find_includes"
32665 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32667 { echo "$as_me:$LINENO: result: not found" >&5
32668 echo "${ECHO_T}not found" >&6; }
32671 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32672 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32673 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 cat >conftest.$ac_ext <<_ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32686 rm -f conftest.$ac_objext
32687 if { (ac_try="$ac_compile"
32688 case "(($ac_try" in
32689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32690 *) ac_try_echo=$ac_try;;
32692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32693 (eval "$ac_compile") 2>conftest.er1
32695 grep -v '^ *+' conftest.er1 >conftest.err
32697 cat conftest.err >&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); } && {
32700 test -z "$ac_c_werror_flag" ||
32701 test ! -s conftest.err
32702 } && test -s conftest.$ac_objext; then
32703 ac_cv_header_GL_gl_h=yes
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.$ac_ext >&5
32708 ac_cv_header_GL_gl_h=no
32711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32713 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32714 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32715 if test $ac_cv_header_GL_gl_h = yes; then
32717 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32718 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32719 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 cat >conftest.$ac_ext <<_ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32730 #include <GL/glu.h>
32732 rm -f conftest.$ac_objext
32733 if { (ac_try="$ac_compile"
32734 case "(($ac_try" in
32735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32736 *) ac_try_echo=$ac_try;;
32738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32739 (eval "$ac_compile") 2>conftest.er1
32741 grep -v '^ *+' conftest.er1 >conftest.err
32743 cat conftest.err >&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); } && {
32746 test -z "$ac_c_werror_flag" ||
32747 test ! -s conftest.err
32748 } && test -s conftest.$ac_objext; then
32749 ac_cv_header_GL_glu_h=yes
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32754 ac_cv_header_GL_glu_h=no
32757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32759 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32760 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32761 if test $ac_cv_header_GL_glu_h = yes; then
32765 { echo "$as_me:$LINENO: checking for -lGL" >&5
32766 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32769 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32771 for ac_extension in a so sl dylib dll.a; do
32772 if test -f "$ac_dir/libGL.$ac_extension"; then
32773 ac_find_libraries=$ac_dir
32779 if test "$ac_find_libraries" != "" ; then
32780 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32781 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32784 if test "$ac_find_libraries" = "default location"; then
32787 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32789 if test $result = 0; then
32792 ac_path_to_link=" -L$ac_find_libraries"
32796 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32797 LDFLAGS_GL="$ac_path_to_link"
32800 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32801 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32804 for ac_dir in $SEARCH_LIB;
32806 for ac_extension in a so sl dylib dll.a; do
32807 if test -f "$ac_dir/libGLU.$ac_extension"; then
32808 ac_find_libraries=$ac_dir
32814 if test "$ac_find_libraries" != "" ; then
32816 if test "$ac_find_libraries" = "default location"; then
32819 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32821 if test $result = 0; then
32824 ac_path_to_link=" -L$ac_find_libraries"
32828 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32829 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32830 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32834 OPENGL_LIBS="-lGL -lGLU"
32835 { echo "$as_me:$LINENO: result: yes" >&5
32836 echo "${ECHO_T}yes" >&6; }
32838 { echo "$as_me:$LINENO: result: no" >&5
32839 echo "${ECHO_T}no" >&6; }
32842 { echo "$as_me:$LINENO: result: no" >&5
32843 echo "${ECHO_T}no" >&6; }
32846 if test "$found_gl" != 1; then
32847 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32848 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32851 for ac_dir in $SEARCH_LIB;
32853 for ac_extension in a so sl dylib dll.a; do
32854 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32855 ac_find_libraries=$ac_dir
32861 if test "$ac_find_libraries" != "" ; then
32863 if test "$ac_find_libraries" = "default location"; then
32866 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32868 if test $result = 0; then
32871 ac_path_to_link=" -L$ac_find_libraries"
32875 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32876 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32877 { echo "$as_me:$LINENO: result: yes" >&5
32878 echo "${ECHO_T}yes" >&6; }
32880 { echo "$as_me:$LINENO: result: no" >&5
32881 echo "${ECHO_T}no" >&6; }
32893 if test "x$OPENGL_LIBS" = "x"; then
32894 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32895 echo "$as_me: error: OpenGL libraries not available" >&2;}
32896 { (exit 1); exit 1; }; }
32900 if test "$wxUSE_OPENGL" = "yes"; then
32902 cat >>confdefs.h <<\_ACEOF
32903 #define wxUSE_OPENGL 1
32906 cat >>confdefs.h <<\_ACEOF
32907 #define wxUSE_GLCANVAS 1
32910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32915 if test -n "$TOOLKIT" ; then
32916 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32921 if test "$wxUSE_SHARED" = "yes"; then
32925 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32926 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32931 if test "$wxUSE_SHARED" = "yes"; then
32935 *-*-cygwin* | *-*-mingw* )
32936 wx_cv_version_script=no
32940 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32941 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32942 if test "${wx_cv_version_script+set}" = set; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32946 echo "VER_1 { *; };" >conftest.sym
32947 echo "int main() { return 0; }" >conftest.cpp
32950 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32951 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } ; then
32957 if test -s conftest.stderr ; then
32958 wx_cv_version_script=no
32960 wx_cv_version_script=yes
32963 wx_cv_version_script=no
32966 if test $wx_cv_version_script = yes
32968 echo "struct B { virtual ~B() { } }; \
32969 struct D : public B { }; \
32970 void F() { D d; }" > conftest.cpp
32973 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32974 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; } &&
32981 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32982 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; }
32990 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32991 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }
32998 wx_cv_version_script=yes
33000 wx_cv_version_script=no
33005 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33006 rm -f conftest1.output conftest2.output conftest3.output
33009 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33010 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33012 if test $wx_cv_version_script = yes ; then
33013 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33019 if test "$wxUSE_VISIBILITY" != "no"; then
33022 if test -n "$GCC"; then
33023 CFLAGS_VISIBILITY="-fvisibility=hidden"
33024 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33025 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33026 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33027 if test "${wx_cv_cc_visibility+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 wx_save_CXXFLAGS="$CXXFLAGS"
33032 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33034 ac_cpp='$CXXCPP $CPPFLAGS'
33035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33039 cat >conftest.$ac_ext <<_ACEOF
33042 cat confdefs.h >>conftest.$ac_ext
33043 cat >>conftest.$ac_ext <<_ACEOF
33044 /* end confdefs.h. */
33046 /* we need gcc >= 4.0, older versions with visibility support
33047 didn't have class visibility: */
33048 #if defined(__GNUC__) && __GNUC__ < 4
33049 error this gcc is too old;
33052 /* visibility only makes sense for ELF shared libs: */
33053 #if !defined(__ELF__) && !defined(__APPLE__)
33054 error this platform has no visibility;
33057 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33058 extern __attribute__((__visibility__("default"))) int exportedvar;
33059 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33060 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33061 class __attribute__((__visibility__("default"))) Foo {
33073 rm -f conftest.$ac_objext
33074 if { (ac_try="$ac_compile"
33075 case "(($ac_try" in
33076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33077 *) ac_try_echo=$ac_try;;
33079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33080 (eval "$ac_compile") 2>conftest.er1
33082 grep -v '^ *+' conftest.er1 >conftest.err
33084 cat conftest.err >&5
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); } && {
33087 test -z "$ac_cxx_werror_flag" ||
33088 test ! -s conftest.err
33089 } && test -s conftest.$ac_objext; then
33090 wx_cv_cc_visibility=yes
33092 echo "$as_me: failed program was:" >&5
33093 sed 's/^/| /' conftest.$ac_ext >&5
33095 wx_cv_cc_visibility=no
33098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33105 CXXFLAGS="$wx_save_CXXFLAGS"
33108 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33109 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33110 if test $wx_cv_cc_visibility = yes; then
33111 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33112 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33113 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 wx_save_CXXFLAGS="$CXXFLAGS"
33118 wx_save_LDFLAGS="$LDFLAGS"
33119 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33120 LDFLAGS="$LDFLAGS -shared -fPIC"
33122 ac_cpp='$CXXCPP $CPPFLAGS'
33123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33127 cat >conftest.$ac_ext <<_ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33140 std::string s("hello");
33147 rm -f conftest.$ac_objext conftest$ac_exeext
33148 if { (ac_try="$ac_link"
33149 case "(($ac_try" in
33150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33151 *) ac_try_echo=$ac_try;;
33153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33154 (eval "$ac_link") 2>conftest.er1
33156 grep -v '^ *+' conftest.er1 >conftest.err
33158 cat conftest.err >&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); } && {
33161 test -z "$ac_cxx_werror_flag" ||
33162 test ! -s conftest.err
33163 } && test -s conftest$ac_exeext &&
33164 $as_test_x conftest$ac_exeext; then
33165 wx_cv_cc_broken_libstdcxx_visibility=no
33167 echo "$as_me: failed program was:" >&5
33168 sed 's/^/| /' conftest.$ac_ext >&5
33170 wx_cv_cc_broken_libstdcxx_visibility=yes
33173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33174 conftest$ac_exeext conftest.$ac_ext
33176 ac_cpp='$CPP $CPPFLAGS'
33177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33181 CXXFLAGS="$wx_save_CXXFLAGS"
33182 LDFLAGS="$wx_save_LDFLAGS"
33185 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33186 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33188 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33189 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33190 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33191 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 ac_cpp='$CXXCPP $CPPFLAGS'
33197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33201 cat >conftest.$ac_ext <<_ACEOF
33204 cat confdefs.h >>conftest.$ac_ext
33205 cat >>conftest.$ac_ext <<_ACEOF
33206 /* end confdefs.h. */
33208 #pragma GCC visibility push(default)
33210 #pragma GCC visibility pop
33216 std::string s("hello");
33223 rm -f conftest.$ac_objext conftest$ac_exeext
33224 if { (ac_try="$ac_link"
33225 case "(($ac_try" in
33226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33227 *) ac_try_echo=$ac_try;;
33229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33230 (eval "$ac_link") 2>conftest.er1
33232 grep -v '^ *+' conftest.er1 >conftest.err
33234 cat conftest.err >&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } && {
33237 test -z "$ac_cxx_werror_flag" ||
33238 test ! -s conftest.err
33239 } && test -s conftest$ac_exeext &&
33240 $as_test_x conftest$ac_exeext; then
33241 wx_cv_cc_visibility_workaround=no
33243 echo "$as_me: failed program was:" >&5
33244 sed 's/^/| /' conftest.$ac_ext >&5
33246 wx_cv_cc_visibility_workaround=yes
33249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33250 conftest$ac_exeext conftest.$ac_ext
33252 ac_cpp='$CPP $CPPFLAGS'
33253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33260 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33261 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33263 if test $wx_cv_cc_visibility_workaround = no; then
33264 wx_cv_cc_visibility=no
33269 if test $wx_cv_cc_visibility = yes; then
33270 cat >>confdefs.h <<\_ACEOF
33271 #define HAVE_VISIBILITY 1
33274 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33275 cat >>confdefs.h <<\_ACEOF
33276 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33281 CFLAGS_VISIBILITY=""
33282 CXXFLAGS_VISIBILITY=""
33290 if test "x$SUNCXX" = xyes; then
33291 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33292 WXCONFIG_RPATH="-R\$libdir"
33295 *-*-linux* | *-*-gnu* )
33296 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33297 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33302 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33304 saveLdflags="$LDFLAGS"
33305 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33306 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33307 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33308 cat >conftest.$ac_ext <<_ACEOF
33311 cat confdefs.h >>conftest.$ac_ext
33312 cat >>conftest.$ac_ext <<_ACEOF
33313 /* end confdefs.h. */
33323 rm -f conftest.$ac_objext conftest$ac_exeext
33324 if { (ac_try="$ac_link"
33325 case "(($ac_try" in
33326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33327 *) ac_try_echo=$ac_try;;
33329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33330 (eval "$ac_link") 2>conftest.er1
33332 grep -v '^ *+' conftest.er1 >conftest.err
33334 cat conftest.err >&5
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); } && {
33337 test -z "$ac_c_werror_flag" ||
33338 test ! -s conftest.err
33339 } && test -s conftest$ac_exeext &&
33340 $as_test_x conftest$ac_exeext; then
33342 { echo "$as_me:$LINENO: result: yes" >&5
33343 echo "${ECHO_T}yes" >&6; }
33344 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33345 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33348 echo "$as_me: failed program was:" >&5
33349 sed 's/^/| /' conftest.$ac_ext >&5
33352 { echo "$as_me:$LINENO: result: no" >&5
33353 echo "${ECHO_T}no" >&6; }
33354 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33355 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33356 LDFLAGS="$saveLdflags -Wl,-R,/"
33357 cat >conftest.$ac_ext <<_ACEOF
33360 cat confdefs.h >>conftest.$ac_ext
33361 cat >>conftest.$ac_ext <<_ACEOF
33362 /* end confdefs.h. */
33372 rm -f conftest.$ac_objext conftest$ac_exeext
33373 if { (ac_try="$ac_link"
33374 case "(($ac_try" in
33375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33376 *) ac_try_echo=$ac_try;;
33378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33379 (eval "$ac_link") 2>conftest.er1
33381 grep -v '^ *+' conftest.er1 >conftest.err
33383 cat conftest.err >&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); } && {
33386 test -z "$ac_c_werror_flag" ||
33387 test ! -s conftest.err
33388 } && test -s conftest$ac_exeext &&
33389 $as_test_x conftest$ac_exeext; then
33391 { echo "$as_me:$LINENO: result: yes" >&5
33392 echo "${ECHO_T}yes" >&6; }
33393 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33394 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.$ac_ext >&5
33401 { echo "$as_me:$LINENO: result: no" >&5
33402 echo "${ECHO_T}no" >&6; }
33406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33407 conftest$ac_exeext conftest.$ac_ext
33411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33412 conftest$ac_exeext conftest.$ac_ext
33413 LDFLAGS="$saveLdflags"
33417 install_name_tool=`which install_name_tool`
33418 if test "$install_name_tool" -a -x "$install_name_tool"; then
33419 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33420 cat <<EOF >change-install-names
33422 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33423 inst_cmd="install_name_tool "
33424 for i in \${libnames} ; do
33425 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33429 chmod +x change-install-names
33433 *-*-cygwin* | *-*-mingw32* )
33437 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33438 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33444 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33446 if test $wxUSE_RPATH = "no"; then
33447 SAMPLES_RPATH_FLAG=''
33448 SAMPLES_RPATH_POSTLINK=''
33456 config_linkage_component="-static"
33463 lib_unicode_suffix=
33465 if test "$wxUSE_UNICODE" = "yes"; then
33466 lib_unicode_suffix=u
33467 WX_CHARTYPE="unicode"
33472 WX_DEBUGTYPE="release"
33474 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33476 WX_DEBUGTYPE="debug"
33480 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33481 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33484 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33488 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
33490 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33492 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33494 if test "$cross_compiling" = "yes"; then
33495 HOST_SUFFIX="-$host_alias"
33496 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33497 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33500 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33501 if test "${TOOLKIT_DIR}" = "os2"; then
33502 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33504 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33509 if test "$wxUSE_COCOA" = 1; then
33512 ac_cpp='$CPP $CPPFLAGS'
33513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33519 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33520 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33521 cat >conftest.$ac_ext <<_ACEOF
33524 cat confdefs.h >>conftest.$ac_ext
33525 cat >>conftest.$ac_ext <<_ACEOF
33526 /* end confdefs.h. */
33527 #include <AppKit/NSEvent.h>
33528 #include <CoreFoundation/CoreFoundation.h>
33538 rm -f conftest.$ac_objext
33539 if { (ac_try="$ac_compile"
33540 case "(($ac_try" in
33541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33542 *) ac_try_echo=$ac_try;;
33544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33545 (eval "$ac_compile") 2>conftest.er1
33547 grep -v '^ *+' conftest.er1 >conftest.err
33549 cat conftest.err >&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); } && {
33552 test -z "$ac_c_werror_flag" ||
33553 test ! -s conftest.err
33554 } && test -s conftest.$ac_objext; then
33555 { echo "$as_me:$LINENO: result: no" >&5
33556 echo "${ECHO_T}no" >&6; }
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33561 { echo "$as_me:$LINENO: result: yes" >&5
33562 echo "${ECHO_T}yes" >&6; }
33563 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33564 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33565 cat >conftest.$ac_ext <<_ACEOF
33568 cat confdefs.h >>conftest.$ac_ext
33569 cat >>conftest.$ac_ext <<_ACEOF
33570 /* end confdefs.h. */
33571 #define __Point__ 1
33572 #include <AppKit/NSEvent.h>
33573 #include <CoreFoundation/CoreFoundation.h>
33583 rm -f conftest.$ac_objext
33584 if { (ac_try="$ac_compile"
33585 case "(($ac_try" in
33586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33587 *) ac_try_echo=$ac_try;;
33589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33590 (eval "$ac_compile") 2>conftest.er1
33592 grep -v '^ *+' conftest.er1 >conftest.err
33594 cat conftest.err >&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } && {
33597 test -z "$ac_c_werror_flag" ||
33598 test ! -s conftest.err
33599 } && test -s conftest.$ac_objext; then
33600 { echo "$as_me:$LINENO: result: yes" >&5
33601 echo "${ECHO_T}yes" >&6; }
33602 cat >>confdefs.h <<\_ACEOF
33603 #define __Point__ 1
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33611 { { echo "$as_me:$LINENO: error: no
33612 See \`config.log' for more details." >&5
33613 echo "$as_me: error: no
33614 See \`config.log' for more details." >&2;}
33615 { (exit 1); exit 1; }; }
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625 ac_cpp='$CPP $CPPFLAGS'
33626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33633 { echo "$as_me:$LINENO: checking for mode_t" >&5
33634 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33635 if test "${ac_cv_type_mode_t+set}" = set; then
33636 echo $ECHO_N "(cached) $ECHO_C" >&6
33638 cat >conftest.$ac_ext <<_ACEOF
33641 cat confdefs.h >>conftest.$ac_ext
33642 cat >>conftest.$ac_ext <<_ACEOF
33643 /* end confdefs.h. */
33644 $ac_includes_default
33645 typedef mode_t ac__type_new_;
33649 if ((ac__type_new_ *) 0)
33651 if (sizeof (ac__type_new_))
33657 rm -f conftest.$ac_objext
33658 if { (ac_try="$ac_compile"
33659 case "(($ac_try" in
33660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33661 *) ac_try_echo=$ac_try;;
33663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33664 (eval "$ac_compile") 2>conftest.er1
33666 grep -v '^ *+' conftest.er1 >conftest.err
33668 cat conftest.err >&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } && {
33671 test -z "$ac_c_werror_flag" ||
33672 test ! -s conftest.err
33673 } && test -s conftest.$ac_objext; then
33674 ac_cv_type_mode_t=yes
33676 echo "$as_me: failed program was:" >&5
33677 sed 's/^/| /' conftest.$ac_ext >&5
33679 ac_cv_type_mode_t=no
33682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33684 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33685 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33686 if test $ac_cv_type_mode_t = yes; then
33690 cat >>confdefs.h <<_ACEOF
33696 { echo "$as_me:$LINENO: checking for off_t" >&5
33697 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33698 if test "${ac_cv_type_off_t+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33701 cat >conftest.$ac_ext <<_ACEOF
33704 cat confdefs.h >>conftest.$ac_ext
33705 cat >>conftest.$ac_ext <<_ACEOF
33706 /* end confdefs.h. */
33707 $ac_includes_default
33708 typedef off_t ac__type_new_;
33712 if ((ac__type_new_ *) 0)
33714 if (sizeof (ac__type_new_))
33720 rm -f conftest.$ac_objext
33721 if { (ac_try="$ac_compile"
33722 case "(($ac_try" in
33723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33724 *) ac_try_echo=$ac_try;;
33726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33727 (eval "$ac_compile") 2>conftest.er1
33729 grep -v '^ *+' conftest.er1 >conftest.err
33731 cat conftest.err >&5
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); } && {
33734 test -z "$ac_c_werror_flag" ||
33735 test ! -s conftest.err
33736 } && test -s conftest.$ac_objext; then
33737 ac_cv_type_off_t=yes
33739 echo "$as_me: failed program was:" >&5
33740 sed 's/^/| /' conftest.$ac_ext >&5
33742 ac_cv_type_off_t=no
33745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33747 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33748 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33749 if test $ac_cv_type_off_t = yes; then
33753 cat >>confdefs.h <<_ACEOF
33754 #define off_t long int
33759 { echo "$as_me:$LINENO: checking for pid_t" >&5
33760 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33761 if test "${ac_cv_type_pid_t+set}" = set; then
33762 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 cat >conftest.$ac_ext <<_ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 $ac_includes_default
33771 typedef pid_t ac__type_new_;
33775 if ((ac__type_new_ *) 0)
33777 if (sizeof (ac__type_new_))
33783 rm -f conftest.$ac_objext
33784 if { (ac_try="$ac_compile"
33785 case "(($ac_try" in
33786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33787 *) ac_try_echo=$ac_try;;
33789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33790 (eval "$ac_compile") 2>conftest.er1
33792 grep -v '^ *+' conftest.er1 >conftest.err
33794 cat conftest.err >&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } && {
33797 test -z "$ac_c_werror_flag" ||
33798 test ! -s conftest.err
33799 } && test -s conftest.$ac_objext; then
33800 ac_cv_type_pid_t=yes
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.$ac_ext >&5
33805 ac_cv_type_pid_t=no
33808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33810 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33811 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33812 if test $ac_cv_type_pid_t = yes; then
33816 cat >>confdefs.h <<_ACEOF
33822 { echo "$as_me:$LINENO: checking for size_t" >&5
33823 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33824 if test "${ac_cv_type_size_t+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 cat >conftest.$ac_ext <<_ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833 $ac_includes_default
33834 typedef size_t ac__type_new_;
33838 if ((ac__type_new_ *) 0)
33840 if (sizeof (ac__type_new_))
33846 rm -f conftest.$ac_objext
33847 if { (ac_try="$ac_compile"
33848 case "(($ac_try" in
33849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33850 *) ac_try_echo=$ac_try;;
33852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33853 (eval "$ac_compile") 2>conftest.er1
33855 grep -v '^ *+' conftest.er1 >conftest.err
33857 cat conftest.err >&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } && {
33860 test -z "$ac_c_werror_flag" ||
33861 test ! -s conftest.err
33862 } && test -s conftest.$ac_objext; then
33863 ac_cv_type_size_t=yes
33865 echo "$as_me: failed program was:" >&5
33866 sed 's/^/| /' conftest.$ac_ext >&5
33868 ac_cv_type_size_t=no
33871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33873 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33874 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33875 if test $ac_cv_type_size_t = yes; then
33879 cat >>confdefs.h <<_ACEOF
33880 #define size_t unsigned int
33885 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33886 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33887 if test "${ac_cv_type_uid_t+set}" = set; then
33888 echo $ECHO_N "(cached) $ECHO_C" >&6
33890 cat >conftest.$ac_ext <<_ACEOF
33893 cat confdefs.h >>conftest.$ac_ext
33894 cat >>conftest.$ac_ext <<_ACEOF
33895 /* end confdefs.h. */
33896 #include <sys/types.h>
33899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33900 $EGREP "uid_t" >/dev/null 2>&1; then
33901 ac_cv_type_uid_t=yes
33903 ac_cv_type_uid_t=no
33908 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33909 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33910 if test $ac_cv_type_uid_t = no; then
33912 cat >>confdefs.h <<\_ACEOF
33917 cat >>confdefs.h <<\_ACEOF
33924 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33925 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33926 if test "${ac_cv_type_ssize_t+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 cat >conftest.$ac_ext <<_ACEOF
33932 cat confdefs.h >>conftest.$ac_ext
33933 cat >>conftest.$ac_ext <<_ACEOF
33934 /* end confdefs.h. */
33935 $ac_includes_default
33936 typedef ssize_t ac__type_new_;
33940 if ((ac__type_new_ *) 0)
33942 if (sizeof (ac__type_new_))
33948 rm -f conftest.$ac_objext
33949 if { (ac_try="$ac_compile"
33950 case "(($ac_try" in
33951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33952 *) ac_try_echo=$ac_try;;
33954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33955 (eval "$ac_compile") 2>conftest.er1
33957 grep -v '^ *+' conftest.er1 >conftest.err
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } && {
33962 test -z "$ac_c_werror_flag" ||
33963 test ! -s conftest.err
33964 } && test -s conftest.$ac_objext; then
33965 ac_cv_type_ssize_t=yes
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.$ac_ext >&5
33970 ac_cv_type_ssize_t=no
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33976 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33977 if test $ac_cv_type_ssize_t = yes; then
33979 cat >>confdefs.h <<_ACEOF
33980 #define HAVE_SSIZE_T 1
33988 ac_cpp='$CXXCPP $CPPFLAGS'
33989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33992 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33993 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33994 if test "${wx_cv_size_t_is_uint+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 cat >conftest.$ac_ext <<_ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 #include <stddef.h>
34011 struct Foo { void foo(size_t); void foo(unsigned int); };
34019 rm -f conftest.$ac_objext
34020 if { (ac_try="$ac_compile"
34021 case "(($ac_try" in
34022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34023 *) ac_try_echo=$ac_try;;
34025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34026 (eval "$ac_compile") 2>conftest.er1
34028 grep -v '^ *+' conftest.er1 >conftest.err
34030 cat conftest.err >&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); } && {
34033 test -z "$ac_cxx_werror_flag" ||
34034 test ! -s conftest.err
34035 } && test -s conftest.$ac_objext; then
34036 wx_cv_size_t_is_uint=no
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34041 wx_cv_size_t_is_uint=yes
34045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34049 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34050 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34052 if test "$wx_cv_size_t_is_uint" = "yes"; then
34053 cat >>confdefs.h <<\_ACEOF
34054 #define wxSIZE_T_IS_UINT 1
34058 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34059 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34060 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 cat >conftest.$ac_ext <<_ACEOF
34066 cat confdefs.h >>conftest.$ac_ext
34067 cat >>conftest.$ac_ext <<_ACEOF
34068 /* end confdefs.h. */
34069 #include <stddef.h>
34076 struct Foo { void foo(size_t); void foo(unsigned long); };
34084 rm -f conftest.$ac_objext
34085 if { (ac_try="$ac_compile"
34086 case "(($ac_try" in
34087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34088 *) ac_try_echo=$ac_try;;
34090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34091 (eval "$ac_compile") 2>conftest.er1
34093 grep -v '^ *+' conftest.er1 >conftest.err
34095 cat conftest.err >&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); } && {
34098 test -z "$ac_cxx_werror_flag" ||
34099 test ! -s conftest.err
34100 } && test -s conftest.$ac_objext; then
34101 wx_cv_size_t_is_ulong=no
34103 echo "$as_me: failed program was:" >&5
34104 sed 's/^/| /' conftest.$ac_ext >&5
34106 wx_cv_size_t_is_ulong=yes
34110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34113 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34114 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34116 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34117 cat >>confdefs.h <<\_ACEOF
34118 #define wxSIZE_T_IS_ULONG 1
34124 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34125 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34126 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34127 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 cat >conftest.$ac_ext <<_ACEOF
34132 cat confdefs.h >>conftest.$ac_ext
34133 cat >>conftest.$ac_ext <<_ACEOF
34134 /* end confdefs.h. */
34142 struct Foo { void foo(wchar_t);
34143 void foo(unsigned short);
34144 void foo(unsigned int);
34145 void foo(unsigned long); };
34153 rm -f conftest.$ac_objext
34154 if { (ac_try="$ac_compile"
34155 case "(($ac_try" in
34156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34157 *) ac_try_echo=$ac_try;;
34159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34160 (eval "$ac_compile") 2>conftest.er1
34162 grep -v '^ *+' conftest.er1 >conftest.err
34164 cat conftest.err >&5
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); } && {
34167 test -z "$ac_cxx_werror_flag" ||
34168 test ! -s conftest.err
34169 } && test -s conftest.$ac_objext; then
34170 wx_cv_wchar_t_is_separate_type=yes
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.$ac_ext >&5
34175 wx_cv_wchar_t_is_separate_type=no
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34182 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34183 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34185 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34186 cat >>confdefs.h <<\_ACEOF
34187 #define wxWCHAR_T_IS_REAL_TYPE 1
34191 cat >>confdefs.h <<\_ACEOF
34192 #define wxWCHAR_T_IS_REAL_TYPE 0
34198 ac_cpp='$CPP $CPPFLAGS'
34199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34204 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34205 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34206 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34207 echo $ECHO_N "(cached) $ECHO_C" >&6
34210 cat >conftest.$ac_ext <<_ACEOF
34213 cat confdefs.h >>conftest.$ac_ext
34214 cat >>conftest.$ac_ext <<_ACEOF
34215 /* end confdefs.h. */
34229 rm -f conftest.$ac_objext
34230 if { (ac_try="$ac_compile"
34231 case "(($ac_try" in
34232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34233 *) ac_try_echo=$ac_try;;
34235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34236 (eval "$ac_compile") 2>conftest.er1
34238 grep -v '^ *+' conftest.er1 >conftest.err
34240 cat conftest.err >&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); } && {
34243 test -z "$ac_c_werror_flag" ||
34244 test ! -s conftest.err
34245 } && test -s conftest.$ac_objext; then
34247 wx_cv_struct_pw_gecos=yes
34250 echo "$as_me: failed program was:" >&5
34251 sed 's/^/| /' conftest.$ac_ext >&5
34254 wx_cv_struct_pw_gecos=no
34259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34263 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34264 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34266 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34267 cat >>confdefs.h <<\_ACEOF
34268 #define HAVE_PW_GECOS 1
34274 if test "$wxUSE_WCHAR_T" = "yes"; then
34275 cat >>confdefs.h <<\_ACEOF
34276 #define wxUSE_WCHAR_T 1
34283 for ac_func in wcslen
34285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34289 echo $ECHO_N "(cached) $ECHO_C" >&6
34291 cat >conftest.$ac_ext <<_ACEOF
34294 cat confdefs.h >>conftest.$ac_ext
34295 cat >>conftest.$ac_ext <<_ACEOF
34296 /* end confdefs.h. */
34297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34299 #define $ac_func innocuous_$ac_func
34301 /* System header to define __stub macros and hopefully few prototypes,
34302 which can conflict with char $ac_func (); below.
34303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34304 <limits.h> exists even on freestanding compilers. */
34307 # include <limits.h>
34309 # include <assert.h>
34314 /* Override any GCC internal prototype to avoid an error.
34315 Use char because int might match the return type of a GCC
34316 builtin and then its argument prototype would still apply. */
34321 /* The GNU C library defines this for functions which it implements
34322 to always fail with ENOSYS. Some functions are actually named
34323 something starting with __ and the normal name is an alias. */
34324 #if defined __stub_$ac_func || defined __stub___$ac_func
34331 return $ac_func ();
34336 rm -f conftest.$ac_objext conftest$ac_exeext
34337 if { (ac_try="$ac_link"
34338 case "(($ac_try" in
34339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34340 *) ac_try_echo=$ac_try;;
34342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34343 (eval "$ac_link") 2>conftest.er1
34345 grep -v '^ *+' conftest.er1 >conftest.err
34347 cat conftest.err >&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); } && {
34350 test -z "$ac_c_werror_flag" ||
34351 test ! -s conftest.err
34352 } && test -s conftest$ac_exeext &&
34353 $as_test_x conftest$ac_exeext; then
34354 eval "$as_ac_var=yes"
34356 echo "$as_me: failed program was:" >&5
34357 sed 's/^/| /' conftest.$ac_ext >&5
34359 eval "$as_ac_var=no"
34362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34363 conftest$ac_exeext conftest.$ac_ext
34365 ac_res=`eval echo '${'$as_ac_var'}'`
34366 { echo "$as_me:$LINENO: result: $ac_res" >&5
34367 echo "${ECHO_T}$ac_res" >&6; }
34368 if test `eval echo '${'$as_ac_var'}'` = yes; then
34369 cat >>confdefs.h <<_ACEOF
34370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34377 if test "$WCSLEN_FOUND" = 0; then
34378 if test "$TOOLKIT" = "MSW"; then
34379 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34380 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34381 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 ac_check_lib_save_LIBS=$LIBS
34385 LIBS="-lmsvcrt $LIBS"
34386 cat >conftest.$ac_ext <<_ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34393 /* Override any GCC internal prototype to avoid an error.
34394 Use char because int might match the return type of a GCC
34395 builtin and then its argument prototype would still apply. */
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (ac_try="$ac_link"
34410 case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_link") 2>conftest.er1
34417 grep -v '^ *+' conftest.er1 >conftest.err
34419 cat conftest.err >&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } && {
34422 test -z "$ac_c_werror_flag" ||
34423 test ! -s conftest.err
34424 } && test -s conftest$ac_exeext &&
34425 $as_test_x conftest$ac_exeext; then
34426 ac_cv_lib_msvcrt_wcslen=yes
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.$ac_ext >&5
34431 ac_cv_lib_msvcrt_wcslen=no
34434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34435 conftest$ac_exeext conftest.$ac_ext
34436 LIBS=$ac_check_lib_save_LIBS
34438 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34439 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34440 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34445 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34446 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34447 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34448 echo $ECHO_N "(cached) $ECHO_C" >&6
34450 ac_check_lib_save_LIBS=$LIBS
34452 cat >conftest.$ac_ext <<_ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34459 /* Override any GCC internal prototype to avoid an error.
34460 Use char because int might match the return type of a GCC
34461 builtin and then its argument prototype would still apply. */
34474 rm -f conftest.$ac_objext conftest$ac_exeext
34475 if { (ac_try="$ac_link"
34476 case "(($ac_try" in
34477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34478 *) ac_try_echo=$ac_try;;
34480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34481 (eval "$ac_link") 2>conftest.er1
34483 grep -v '^ *+' conftest.er1 >conftest.err
34485 cat conftest.err >&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } && {
34488 test -z "$ac_c_werror_flag" ||
34489 test ! -s conftest.err
34490 } && test -s conftest$ac_exeext &&
34491 $as_test_x conftest$ac_exeext; then
34492 ac_cv_lib_w_wcslen=yes
34494 echo "$as_me: failed program was:" >&5
34495 sed 's/^/| /' conftest.$ac_ext >&5
34497 ac_cv_lib_w_wcslen=no
34500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34501 conftest$ac_exeext conftest.$ac_ext
34502 LIBS=$ac_check_lib_save_LIBS
34504 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34505 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34506 if test $ac_cv_lib_w_wcslen = yes; then
34516 if test "$WCSLEN_FOUND" = 1; then
34517 cat >>confdefs.h <<\_ACEOF
34518 #define HAVE_WCSLEN 1
34524 for ac_func in wcsdup
34526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34527 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34530 echo $ECHO_N "(cached) $ECHO_C" >&6
34532 cat >conftest.$ac_ext <<_ACEOF
34535 cat confdefs.h >>conftest.$ac_ext
34536 cat >>conftest.$ac_ext <<_ACEOF
34537 /* end confdefs.h. */
34538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34540 #define $ac_func innocuous_$ac_func
34542 /* System header to define __stub macros and hopefully few prototypes,
34543 which can conflict with char $ac_func (); below.
34544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34545 <limits.h> exists even on freestanding compilers. */
34548 # include <limits.h>
34550 # include <assert.h>
34555 /* Override any GCC internal prototype to avoid an error.
34556 Use char because int might match the return type of a GCC
34557 builtin and then its argument prototype would still apply. */
34562 /* The GNU C library defines this for functions which it implements
34563 to always fail with ENOSYS. Some functions are actually named
34564 something starting with __ and the normal name is an alias. */
34565 #if defined __stub_$ac_func || defined __stub___$ac_func
34572 return $ac_func ();
34577 rm -f conftest.$ac_objext conftest$ac_exeext
34578 if { (ac_try="$ac_link"
34579 case "(($ac_try" in
34580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34581 *) ac_try_echo=$ac_try;;
34583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34584 (eval "$ac_link") 2>conftest.er1
34586 grep -v '^ *+' conftest.er1 >conftest.err
34588 cat conftest.err >&5
34589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34590 (exit $ac_status); } && {
34591 test -z "$ac_c_werror_flag" ||
34592 test ! -s conftest.err
34593 } && test -s conftest$ac_exeext &&
34594 $as_test_x conftest$ac_exeext; then
34595 eval "$as_ac_var=yes"
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34600 eval "$as_ac_var=no"
34603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34604 conftest$ac_exeext conftest.$ac_ext
34606 ac_res=`eval echo '${'$as_ac_var'}'`
34607 { echo "$as_me:$LINENO: result: $ac_res" >&5
34608 echo "${ECHO_T}$ac_res" >&6; }
34609 if test `eval echo '${'$as_ac_var'}'` = yes; then
34610 cat >>confdefs.h <<_ACEOF
34611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34618 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34619 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34622 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34623 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34624 if test "${ac_cv_type_mbstate_t+set}" = set; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 cat >conftest.$ac_ext <<_ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34635 typedef mbstate_t ac__type_new_;
34639 if ((ac__type_new_ *) 0)
34641 if (sizeof (ac__type_new_))
34647 rm -f conftest.$ac_objext
34648 if { (ac_try="$ac_compile"
34649 case "(($ac_try" in
34650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34651 *) ac_try_echo=$ac_try;;
34653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34654 (eval "$ac_compile") 2>conftest.er1
34656 grep -v '^ *+' conftest.er1 >conftest.err
34658 cat conftest.err >&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); } && {
34661 test -z "$ac_c_werror_flag" ||
34662 test ! -s conftest.err
34663 } && test -s conftest.$ac_objext; then
34664 ac_cv_type_mbstate_t=yes
34666 echo "$as_me: failed program was:" >&5
34667 sed 's/^/| /' conftest.$ac_ext >&5
34669 ac_cv_type_mbstate_t=no
34672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34674 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34675 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34676 if test $ac_cv_type_mbstate_t = yes; then
34678 cat >>confdefs.h <<_ACEOF
34679 #define HAVE_MBSTATE_T 1
34683 for ac_func in wcsrtombs
34685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34689 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 cat >conftest.$ac_ext <<_ACEOF
34694 cat confdefs.h >>conftest.$ac_ext
34695 cat >>conftest.$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34699 #define $ac_func innocuous_$ac_func
34701 /* System header to define __stub macros and hopefully few prototypes,
34702 which can conflict with char $ac_func (); below.
34703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34704 <limits.h> exists even on freestanding compilers. */
34707 # include <limits.h>
34709 # include <assert.h>
34714 /* Override any GCC internal prototype to avoid an error.
34715 Use char because int might match the return type of a GCC
34716 builtin and then its argument prototype would still apply. */
34721 /* The GNU C library defines this for functions which it implements
34722 to always fail with ENOSYS. Some functions are actually named
34723 something starting with __ and the normal name is an alias. */
34724 #if defined __stub_$ac_func || defined __stub___$ac_func
34731 return $ac_func ();
34736 rm -f conftest.$ac_objext conftest$ac_exeext
34737 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
34751 test ! -s conftest.err
34752 } && test -s conftest$ac_exeext &&
34753 $as_test_x conftest$ac_exeext; then
34754 eval "$as_ac_var=yes"
34756 echo "$as_me: failed program was:" >&5
34757 sed 's/^/| /' conftest.$ac_ext >&5
34759 eval "$as_ac_var=no"
34762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34763 conftest$ac_exeext conftest.$ac_ext
34765 ac_res=`eval echo '${'$as_ac_var'}'`
34766 { echo "$as_me:$LINENO: result: $ac_res" >&5
34767 echo "${ECHO_T}$ac_res" >&6; }
34768 if test `eval echo '${'$as_ac_var'}'` = yes; then
34769 cat >>confdefs.h <<_ACEOF
34770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34779 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34780 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34785 for ac_func in snprintf vsnprintf
34787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34791 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. */
34799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34801 #define $ac_func innocuous_$ac_func
34803 /* System header to define __stub macros and hopefully few prototypes,
34804 which can conflict with char $ac_func (); below.
34805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34806 <limits.h> exists even on freestanding compilers. */
34809 # include <limits.h>
34811 # include <assert.h>
34816 /* Override any GCC internal prototype to avoid an error.
34817 Use char because int might match the return type of a GCC
34818 builtin and then its argument prototype would still apply. */
34823 /* The GNU C library defines this for functions which it implements
34824 to always fail with ENOSYS. Some functions are actually named
34825 something starting with __ and the normal name is an alias. */
34826 #if defined __stub_$ac_func || defined __stub___$ac_func
34833 return $ac_func ();
34838 rm -f conftest.$ac_objext conftest$ac_exeext
34839 if { (ac_try="$ac_link"
34840 case "(($ac_try" in
34841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34842 *) ac_try_echo=$ac_try;;
34844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34845 (eval "$ac_link") 2>conftest.er1
34847 grep -v '^ *+' conftest.er1 >conftest.err
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } && {
34852 test -z "$ac_c_werror_flag" ||
34853 test ! -s conftest.err
34854 } && test -s conftest$ac_exeext &&
34855 $as_test_x conftest$ac_exeext; then
34856 eval "$as_ac_var=yes"
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.$ac_ext >&5
34861 eval "$as_ac_var=no"
34864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34865 conftest$ac_exeext conftest.$ac_ext
34867 ac_res=`eval echo '${'$as_ac_var'}'`
34868 { echo "$as_me:$LINENO: result: $ac_res" >&5
34869 echo "${ECHO_T}$ac_res" >&6; }
34870 if test `eval echo '${'$as_ac_var'}'` = yes; then
34871 cat >>confdefs.h <<_ACEOF
34872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34879 if test "$ac_cv_func_vsnprintf" = "yes"; then
34880 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34881 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34882 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34886 cat >conftest.$ac_ext <<_ACEOF
34889 cat confdefs.h >>conftest.$ac_ext
34890 cat >>conftest.$ac_ext <<_ACEOF
34891 /* end confdefs.h. */
34894 #include <stdarg.h>
34896 #if __MSL__ >= 0x6000
34898 using namespace std;
34908 vsnprintf(buf, 10u, "%s", ap);
34914 rm -f conftest.$ac_objext
34915 if { (ac_try="$ac_compile"
34916 case "(($ac_try" in
34917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34918 *) ac_try_echo=$ac_try;;
34920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34921 (eval "$ac_compile") 2>conftest.er1
34923 grep -v '^ *+' conftest.er1 >conftest.err
34925 cat conftest.err >&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } && {
34928 test -z "$ac_c_werror_flag" ||
34929 test ! -s conftest.err
34930 } && test -s conftest.$ac_objext; then
34931 wx_cv_func_vsnprintf_decl=yes
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.$ac_ext >&5
34936 wx_cv_func_vsnprintf_decl=no
34940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34944 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34945 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34947 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34948 cat >>confdefs.h <<\_ACEOF
34949 #define HAVE_VSNPRINTF_DECL 1
34953 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34954 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34955 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34956 echo $ECHO_N "(cached) $ECHO_C" >&6
34959 cat >conftest.$ac_ext <<_ACEOF
34962 cat confdefs.h >>conftest.$ac_ext
34963 cat >>conftest.$ac_ext <<_ACEOF
34964 /* end confdefs.h. */
34967 #include <stdarg.h>
34969 #if __MSL__ >= 0x6000
34971 using namespace std;
34981 const char *fmt = "%s";
34982 vsnprintf(buf, 10u, fmt, ap);
34988 rm -f conftest.$ac_objext
34989 if { (ac_try="$ac_compile"
34990 case "(($ac_try" in
34991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34992 *) ac_try_echo=$ac_try;;
34994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34995 (eval "$ac_compile") 2>conftest.er1
34997 grep -v '^ *+' conftest.er1 >conftest.err
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } && {
35002 test -z "$ac_c_werror_flag" ||
35003 test ! -s conftest.err
35004 } && test -s conftest.$ac_objext; then
35005 wx_cv_func_broken_vsnprintf_decl=no
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35010 wx_cv_func_broken_vsnprintf_decl=yes
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35018 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35019 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35021 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35022 cat >>confdefs.h <<\_ACEOF
35023 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35030 if test "$ac_cv_func_snprintf" = "yes"; then
35031 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35032 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35033 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35037 cat >conftest.$ac_ext <<_ACEOF
35040 cat confdefs.h >>conftest.$ac_ext
35041 cat >>conftest.$ac_ext <<_ACEOF
35042 /* end confdefs.h. */
35045 #include <stdarg.h>
35047 #if __MSL__ >= 0x6000
35049 using namespace std;
35058 snprintf(buf, 10u, "%s", "wx");
35064 rm -f conftest.$ac_objext
35065 if { (ac_try="$ac_compile"
35066 case "(($ac_try" in
35067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35068 *) ac_try_echo=$ac_try;;
35070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35071 (eval "$ac_compile") 2>conftest.er1
35073 grep -v '^ *+' conftest.er1 >conftest.err
35075 cat conftest.err >&5
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); } && {
35078 test -z "$ac_c_werror_flag" ||
35079 test ! -s conftest.err
35080 } && test -s conftest.$ac_objext; then
35081 wx_cv_func_snprintf_decl=yes
35083 echo "$as_me: failed program was:" >&5
35084 sed 's/^/| /' conftest.$ac_ext >&5
35086 wx_cv_func_snprintf_decl=no
35090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35094 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35095 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35097 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35098 cat >>confdefs.h <<\_ACEOF
35099 #define HAVE_SNPRINTF_DECL 1
35104 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35106 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35107 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35108 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35109 echo $ECHO_N "(cached) $ECHO_C" >&6
35112 if test "$cross_compiling" = yes; then
35114 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35115 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35116 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35117 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35118 wx_cv_func_snprintf_pos_params=no
35122 cat >conftest.$ac_ext <<_ACEOF
35125 cat confdefs.h >>conftest.$ac_ext
35126 cat >>conftest.$ac_ext <<_ACEOF
35127 /* end confdefs.h. */
35134 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35135 if (strcmp ("2 3 1", buffer) == 0)
35141 rm -f conftest$ac_exeext
35142 if { (ac_try="$ac_link"
35143 case "(($ac_try" in
35144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35145 *) ac_try_echo=$ac_try;;
35147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35148 (eval "$ac_link") 2>&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35152 { (case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35154 *) ac_try_echo=$ac_try;;
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_try") 2>&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); }; }; then
35161 wx_cv_func_snprintf_pos_params=no
35163 echo "$as_me: program exited with status $ac_status" >&5
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.$ac_ext >&5
35167 ( exit $ac_status )
35168 wx_cv_func_snprintf_pos_params=yes
35170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35177 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35178 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35180 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35181 cat >>confdefs.h <<\_ACEOF
35182 #define HAVE_UNIX98_PRINTF 1
35189 if test "$wxUSE_UNICODE" = yes; then
35191 wchar_headers="#include <stdio.h>
35192 #include <wchar.h>"
35196 for ac_header in widec.h
35198 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 cat >conftest.$ac_ext <<_ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 $ac_includes_default
35212 #include <$ac_header>
35214 rm -f conftest.$ac_objext
35215 if { (ac_try="$ac_compile"
35216 case "(($ac_try" in
35217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35218 *) ac_try_echo=$ac_try;;
35220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35221 (eval "$ac_compile") 2>conftest.er1
35223 grep -v '^ *+' conftest.er1 >conftest.err
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } && {
35228 test -z "$ac_c_werror_flag" ||
35229 test ! -s conftest.err
35230 } && test -s conftest.$ac_objext; then
35231 eval "$as_ac_Header=yes"
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.$ac_ext >&5
35236 eval "$as_ac_Header=no"
35239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 ac_res=`eval echo '${'$as_ac_Header'}'`
35242 { echo "$as_me:$LINENO: result: $ac_res" >&5
35243 echo "${ECHO_T}$ac_res" >&6; }
35244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35245 cat >>confdefs.h <<_ACEOF
35246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35253 if test "$ac_cv_header_widec_h" = "yes"; then
35254 wchar_headers="$wchar_headers
35255 #include <widec.h>"
35260 for wx_func in putws fputws wprintf vswprintf
35262 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35263 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35264 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35265 echo $ECHO_N "(cached) $ECHO_C" >&6
35268 cat >conftest.$ac_ext <<_ACEOF
35272 cat confdefs.h >>conftest.$ac_ext
35273 cat >>conftest.$ac_ext <<_ACEOF
35274 /* end confdefs.h. */
35277 $ac_includes_default
35293 rm -f conftest.$ac_objext conftest$ac_exeext
35294 if { (ac_try="$ac_link"
35295 case "(($ac_try" in
35296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_link") 2>conftest.er1
35302 grep -v '^ *+' conftest.er1 >conftest.err
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } && {
35307 test -z "$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 } && test -s conftest$ac_exeext &&
35310 $as_test_x conftest$ac_exeext; then
35311 eval wx_cv_func_$wx_func=yes
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35316 eval wx_cv_func_$wx_func=no
35319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35320 conftest$ac_exeext conftest.$ac_ext
35323 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35324 { echo "$as_me:$LINENO: result: $ac_res" >&5
35325 echo "${ECHO_T}$ac_res" >&6; }
35327 if eval test \$wx_cv_func_$wx_func = yes
35329 cat >>confdefs.h <<_ACEOF
35330 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35341 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35342 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35343 cat >conftest.$ac_ext <<_ACEOF
35346 cat confdefs.h >>conftest.$ac_ext
35347 cat >>conftest.$ac_ext <<_ACEOF
35348 /* end confdefs.h. */
35358 rm -f conftest.$ac_objext
35359 if { (ac_try="$ac_compile"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35362 *) ac_try_echo=$ac_try;;
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_compile") 2>conftest.er1
35367 grep -v '^ *+' conftest.er1 >conftest.err
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } && {
35372 test -z "$ac_c_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.$ac_objext; then
35375 { echo "$as_me:$LINENO: result: yes" >&5
35376 echo "${ECHO_T}yes" >&6; }
35377 cat >>confdefs.h <<\_ACEOF
35378 #define HAVE__VSNWPRINTF 1
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.$ac_ext >&5
35385 { echo "$as_me:$LINENO: result: no" >&5
35386 echo "${ECHO_T}no" >&6; }
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35392 if test "$wxUSE_FILE" = "yes"; then
35394 for wx_func in fsync
35396 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35397 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35398 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35399 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 cat >conftest.$ac_ext <<_ACEOF
35406 cat confdefs.h >>conftest.$ac_ext
35407 cat >>conftest.$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35411 $ac_includes_default
35427 rm -f conftest.$ac_objext conftest$ac_exeext
35428 if { (ac_try="$ac_link"
35429 case "(($ac_try" in
35430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35431 *) ac_try_echo=$ac_try;;
35433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35434 (eval "$ac_link") 2>conftest.er1
35436 grep -v '^ *+' conftest.er1 >conftest.err
35438 cat conftest.err >&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); } && {
35441 test -z "$ac_c_werror_flag" ||
35442 test ! -s conftest.err
35443 } && test -s conftest$ac_exeext &&
35444 $as_test_x conftest$ac_exeext; then
35445 eval wx_cv_func_$wx_func=yes
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35450 eval wx_cv_func_$wx_func=no
35453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35454 conftest$ac_exeext conftest.$ac_ext
35457 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35458 { echo "$as_me:$LINENO: result: $ac_res" >&5
35459 echo "${ECHO_T}$ac_res" >&6; }
35461 if eval test \$wx_cv_func_$wx_func = yes
35463 cat >>confdefs.h <<_ACEOF
35464 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35483 for wx_func in round
35485 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35486 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35487 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35488 echo $ECHO_N "(cached) $ECHO_C" >&6
35491 cat >conftest.$ac_ext <<_ACEOF
35495 cat confdefs.h >>conftest.$ac_ext
35496 cat >>conftest.$ac_ext <<_ACEOF
35497 /* end confdefs.h. */
35500 $ac_includes_default
35516 rm -f conftest.$ac_objext conftest$ac_exeext
35517 if { (ac_try="$ac_link"
35518 case "(($ac_try" in
35519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35520 *) ac_try_echo=$ac_try;;
35522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35523 (eval "$ac_link") 2>conftest.er1
35525 grep -v '^ *+' conftest.er1 >conftest.err
35527 cat conftest.err >&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } && {
35530 test -z "$ac_cxx_werror_flag" ||
35531 test ! -s conftest.err
35532 } && test -s conftest$ac_exeext &&
35533 $as_test_x conftest$ac_exeext; then
35534 eval wx_cv_func_$wx_func=yes
35536 echo "$as_me: failed program was:" >&5
35537 sed 's/^/| /' conftest.$ac_ext >&5
35539 eval wx_cv_func_$wx_func=no
35542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35543 conftest$ac_exeext conftest.$ac_ext
35546 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35547 { echo "$as_me:$LINENO: result: $ac_res" >&5
35548 echo "${ECHO_T}$ac_res" >&6; }
35550 if eval test \$wx_cv_func_$wx_func = yes
35552 cat >>confdefs.h <<_ACEOF
35553 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35564 ac_cpp='$CPP $CPPFLAGS'
35565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35570 if test "$TOOLKIT" != "MSW"; then
35576 # Check whether --with-libiconv-prefix was given.
35577 if test "${with_libiconv_prefix+set}" = set; then
35578 withval=$with_libiconv_prefix;
35579 for dir in `echo "$withval" | tr : ' '`; do
35580 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35581 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35587 { echo "$as_me:$LINENO: checking for iconv" >&5
35588 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35589 if test "${am_cv_func_iconv+set}" = set; then
35590 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 am_cv_func_iconv="no, consider installing GNU libiconv"
35595 cat >conftest.$ac_ext <<_ACEOF
35598 cat confdefs.h >>conftest.$ac_ext
35599 cat >>conftest.$ac_ext <<_ACEOF
35600 /* end confdefs.h. */
35601 #include <stdlib.h>
35606 iconv_t cd = iconv_open("","");
35607 iconv(cd,NULL,NULL,NULL,NULL);
35613 rm -f conftest.$ac_objext conftest$ac_exeext
35614 if { (ac_try="$ac_link"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_link") 2>conftest.er1
35622 grep -v '^ *+' conftest.er1 >conftest.err
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest$ac_exeext &&
35630 $as_test_x conftest$ac_exeext; then
35631 am_cv_func_iconv=yes
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35640 conftest$ac_exeext conftest.$ac_ext
35641 if test "$am_cv_func_iconv" != yes; then
35642 am_save_LIBS="$LIBS"
35643 LIBS="$LIBS -liconv"
35644 cat >conftest.$ac_ext <<_ACEOF
35647 cat confdefs.h >>conftest.$ac_ext
35648 cat >>conftest.$ac_ext <<_ACEOF
35649 /* end confdefs.h. */
35650 #include <stdlib.h>
35655 iconv_t cd = iconv_open("","");
35656 iconv(cd,NULL,NULL,NULL,NULL);
35662 rm -f conftest.$ac_objext conftest$ac_exeext
35663 if { (ac_try="$ac_link"
35664 case "(($ac_try" in
35665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35666 *) ac_try_echo=$ac_try;;
35668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35669 (eval "$ac_link") 2>conftest.er1
35671 grep -v '^ *+' conftest.er1 >conftest.err
35673 cat conftest.err >&5
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); } && {
35676 test -z "$ac_c_werror_flag" ||
35677 test ! -s conftest.err
35678 } && test -s conftest$ac_exeext &&
35679 $as_test_x conftest$ac_exeext; then
35680 am_cv_lib_iconv=yes
35681 am_cv_func_iconv=yes
35683 echo "$as_me: failed program was:" >&5
35684 sed 's/^/| /' conftest.$ac_ext >&5
35689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35690 conftest$ac_exeext conftest.$ac_ext
35691 LIBS="$am_save_LIBS"
35695 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35696 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35697 if test "$am_cv_func_iconv" = yes; then
35699 cat >>confdefs.h <<\_ACEOF
35700 #define HAVE_ICONV 1
35703 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35704 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35705 if test "${wx_cv_func_iconv_const+set}" = set; then
35706 echo $ECHO_N "(cached) $ECHO_C" >&6
35708 cat >conftest.$ac_ext <<_ACEOF
35711 cat confdefs.h >>conftest.$ac_ext
35712 cat >>conftest.$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35715 #include <stdlib.h>
35721 #if defined(__STDC__) || defined(__cplusplus)
35722 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35735 rm -f conftest.$ac_objext
35736 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
35744 grep -v '^ *+' conftest.er1 >conftest.err
35746 cat conftest.err >&5
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); } && {
35749 test -z "$ac_c_werror_flag" ||
35750 test ! -s conftest.err
35751 } && test -s conftest.$ac_objext; then
35752 wx_cv_func_iconv_const="no"
35754 echo "$as_me: failed program was:" >&5
35755 sed 's/^/| /' conftest.$ac_ext >&5
35757 wx_cv_func_iconv_const="yes"
35761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35764 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35765 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35768 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35769 iconv_const="const"
35773 cat >>confdefs.h <<_ACEOF
35774 #define ICONV_CONST $iconv_const
35779 if test "$am_cv_lib_iconv" = yes; then
35784 LIBS="$LIBICONV $LIBS"
35786 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35788 for ac_func in sigaction
35790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35794 echo $ECHO_N "(cached) $ECHO_C" >&6
35796 cat >conftest.$ac_ext <<_ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35804 #define $ac_func innocuous_$ac_func
35806 /* System header to define __stub macros and hopefully few prototypes,
35807 which can conflict with char $ac_func (); below.
35808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35809 <limits.h> exists even on freestanding compilers. */
35812 # include <limits.h>
35814 # include <assert.h>
35819 /* Override any GCC internal prototype to avoid an error.
35820 Use char because int might match the return type of a GCC
35821 builtin and then its argument prototype would still apply. */
35826 /* The GNU C library defines this for functions which it implements
35827 to always fail with ENOSYS. Some functions are actually named
35828 something starting with __ and the normal name is an alias. */
35829 #if defined __stub_$ac_func || defined __stub___$ac_func
35836 return $ac_func ();
35841 rm -f conftest.$ac_objext conftest$ac_exeext
35842 if { (ac_try="$ac_link"
35843 case "(($ac_try" in
35844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35845 *) ac_try_echo=$ac_try;;
35847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35848 (eval "$ac_link") 2>conftest.er1
35850 grep -v '^ *+' conftest.er1 >conftest.err
35852 cat conftest.err >&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); } && {
35855 test -z "$ac_c_werror_flag" ||
35856 test ! -s conftest.err
35857 } && test -s conftest$ac_exeext &&
35858 $as_test_x conftest$ac_exeext; then
35859 eval "$as_ac_var=yes"
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35864 eval "$as_ac_var=no"
35867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35868 conftest$ac_exeext conftest.$ac_ext
35870 ac_res=`eval echo '${'$as_ac_var'}'`
35871 { echo "$as_me:$LINENO: result: $ac_res" >&5
35872 echo "${ECHO_T}$ac_res" >&6; }
35873 if test `eval echo '${'$as_ac_var'}'` = yes; then
35874 cat >>confdefs.h <<_ACEOF
35875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35882 if test "$ac_cv_func_sigaction" = "no"; then
35883 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35884 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35885 wxUSE_ON_FATAL_EXCEPTION=no
35888 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35889 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35890 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35891 if test "${wx_cv_type_sa_handler+set}" = set; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 ac_cpp='$CXXCPP $CPPFLAGS'
35897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35901 cat >conftest.$ac_ext <<_ACEOF
35904 cat confdefs.h >>conftest.$ac_ext
35905 cat >>conftest.$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35907 #include <signal.h>
35912 extern void testSigHandler(int);
35914 struct sigaction sa;
35915 sa.sa_handler = testSigHandler;
35921 rm -f conftest.$ac_objext
35922 if { (ac_try="$ac_compile"
35923 case "(($ac_try" in
35924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35925 *) ac_try_echo=$ac_try;;
35927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35928 (eval "$ac_compile") 2>conftest.er1
35930 grep -v '^ *+' conftest.er1 >conftest.err
35932 cat conftest.err >&5
35933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35934 (exit $ac_status); } && {
35935 test -z "$ac_cxx_werror_flag" ||
35936 test ! -s conftest.err
35937 } && test -s conftest.$ac_objext; then
35939 wx_cv_type_sa_handler=int
35942 echo "$as_me: failed program was:" >&5
35943 sed 's/^/| /' conftest.$ac_ext >&5
35946 wx_cv_type_sa_handler=void
35950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35959 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35960 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35962 cat >>confdefs.h <<_ACEOF
35963 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35969 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35970 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35971 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35972 if test "${wx_cv_func_backtrace+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35977 ac_cpp='$CXXCPP $CPPFLAGS'
35978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35982 cat >conftest.$ac_ext <<_ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h. */
35988 #include <execinfo.h>
35996 backtrace(trace, 1);
35997 messages = backtrace_symbols(trace, 1);
36003 rm -f conftest.$ac_objext
36004 if { (ac_try="$ac_compile"
36005 case "(($ac_try" in
36006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36007 *) ac_try_echo=$ac_try;;
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_compile") 2>conftest.er1
36012 grep -v '^ *+' conftest.er1 >conftest.err
36014 cat conftest.err >&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_cxx_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest.$ac_objext; then
36020 wx_cv_func_backtrace=yes
36022 echo "$as_me: failed program was:" >&5
36023 sed 's/^/| /' conftest.$ac_ext >&5
36025 wx_cv_func_backtrace=no
36029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 ac_cpp='$CPP $CPPFLAGS'
36032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36039 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36040 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36043 if test "$wx_cv_func_backtrace" = "no"; then
36044 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36045 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36046 wxUSE_STACKWALKER=no
36048 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36049 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36050 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36051 echo $ECHO_N "(cached) $ECHO_C" >&6
36055 ac_cpp='$CXXCPP $CPPFLAGS'
36056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36060 cat >conftest.$ac_ext <<_ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 #include <cxxabi.h>
36072 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36078 rm -f conftest.$ac_objext conftest$ac_exeext
36079 if { (ac_try="$ac_link"
36080 case "(($ac_try" in
36081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36082 *) ac_try_echo=$ac_try;;
36084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36085 (eval "$ac_link") 2>conftest.er1
36087 grep -v '^ *+' conftest.er1 >conftest.err
36089 cat conftest.err >&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } && {
36092 test -z "$ac_cxx_werror_flag" ||
36093 test ! -s conftest.err
36094 } && test -s conftest$ac_exeext &&
36095 $as_test_x conftest$ac_exeext; then
36096 wx_cv_func_cxa_demangle=yes
36098 echo "$as_me: failed program was:" >&5
36099 sed 's/^/| /' conftest.$ac_ext >&5
36101 wx_cv_func_cxa_demangle=no
36105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36106 conftest$ac_exeext conftest.$ac_ext
36108 ac_cpp='$CPP $CPPFLAGS'
36109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36117 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36119 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36120 cat >>confdefs.h <<\_ACEOF
36121 #define HAVE_CXA_DEMANGLE 1
36128 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36129 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36130 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36131 wxUSE_STACKWALKER=no
36137 for ac_func in mkstemp mktemp
36139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 cat >conftest.$ac_ext <<_ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h. */
36151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36153 #define $ac_func innocuous_$ac_func
36155 /* System header to define __stub macros and hopefully few prototypes,
36156 which can conflict with char $ac_func (); below.
36157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36158 <limits.h> exists even on freestanding compilers. */
36161 # include <limits.h>
36163 # include <assert.h>
36168 /* Override any GCC internal prototype to avoid an error.
36169 Use char because int might match the return type of a GCC
36170 builtin and then its argument prototype would still apply. */
36175 /* The GNU C library defines this for functions which it implements
36176 to always fail with ENOSYS. Some functions are actually named
36177 something starting with __ and the normal name is an alias. */
36178 #if defined __stub_$ac_func || defined __stub___$ac_func
36185 return $ac_func ();
36190 rm -f conftest.$ac_objext conftest$ac_exeext
36191 if { (ac_try="$ac_link"
36192 case "(($ac_try" in
36193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36194 *) ac_try_echo=$ac_try;;
36196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36197 (eval "$ac_link") 2>conftest.er1
36199 grep -v '^ *+' conftest.er1 >conftest.err
36201 cat conftest.err >&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); } && {
36204 test -z "$ac_c_werror_flag" ||
36205 test ! -s conftest.err
36206 } && test -s conftest$ac_exeext &&
36207 $as_test_x conftest$ac_exeext; then
36208 eval "$as_ac_var=yes"
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36213 eval "$as_ac_var=no"
36216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36217 conftest$ac_exeext conftest.$ac_ext
36219 ac_res=`eval echo '${'$as_ac_var'}'`
36220 { echo "$as_me:$LINENO: result: $ac_res" >&5
36221 echo "${ECHO_T}$ac_res" >&6; }
36222 if test `eval echo '${'$as_ac_var'}'` = yes; then
36223 cat >>confdefs.h <<_ACEOF
36224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36231 { echo "$as_me:$LINENO: checking for statfs" >&5
36232 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36233 if test "${wx_cv_func_statfs+set}" = set; then
36234 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 cat >conftest.$ac_ext <<_ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36243 #if defined(__BSD__)
36244 #include <sys/param.h>
36245 #include <sys/mount.h>
36247 #include <sys/vfs.h>
36265 rm -f conftest.$ac_objext
36266 if { (ac_try="$ac_compile"
36267 case "(($ac_try" in
36268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36269 *) ac_try_echo=$ac_try;;
36271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36272 (eval "$ac_compile") 2>conftest.er1
36274 grep -v '^ *+' conftest.er1 >conftest.err
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } && {
36279 test -z "$ac_c_werror_flag" ||
36280 test ! -s conftest.err
36281 } && test -s conftest.$ac_objext; then
36282 wx_cv_func_statfs=yes
36284 echo "$as_me: failed program was:" >&5
36285 sed 's/^/| /' conftest.$ac_ext >&5
36287 wx_cv_func_statfs=no
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36294 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36295 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36297 if test "$wx_cv_func_statfs" = "yes"; then
36298 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36299 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36300 if test "${wx_cv_func_statfs_decl+set}" = set; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36304 ac_cpp='$CXXCPP $CPPFLAGS'
36305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36309 cat >conftest.$ac_ext <<_ACEOF
36312 cat confdefs.h >>conftest.$ac_ext
36313 cat >>conftest.$ac_ext <<_ACEOF
36314 /* end confdefs.h. */
36316 #if defined(__BSD__)
36317 #include <sys/param.h>
36318 #include <sys/mount.h>
36320 #include <sys/vfs.h>
36334 rm -f conftest.$ac_objext
36335 if { (ac_try="$ac_compile"
36336 case "(($ac_try" in
36337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36338 *) ac_try_echo=$ac_try;;
36340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36341 (eval "$ac_compile") 2>conftest.er1
36343 grep -v '^ *+' conftest.er1 >conftest.err
36345 cat conftest.err >&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } && {
36348 test -z "$ac_cxx_werror_flag" ||
36349 test ! -s conftest.err
36350 } && test -s conftest.$ac_objext; then
36351 wx_cv_func_statfs_decl=yes
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.$ac_ext >&5
36356 wx_cv_func_statfs_decl=no
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36369 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36370 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36372 if test "$wx_cv_func_statfs_decl" = "yes"; then
36373 cat >>confdefs.h <<\_ACEOF
36374 #define HAVE_STATFS_DECL 1
36379 wx_cv_type_statvfs_t="struct statfs"
36380 cat >>confdefs.h <<\_ACEOF
36381 #define HAVE_STATFS 1
36385 { echo "$as_me:$LINENO: checking for statvfs" >&5
36386 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36387 if test "${wx_cv_func_statvfs+set}" = set; then
36388 echo $ECHO_N "(cached) $ECHO_C" >&6
36390 cat >conftest.$ac_ext <<_ACEOF
36393 cat confdefs.h >>conftest.$ac_ext
36394 cat >>conftest.$ac_ext <<_ACEOF
36395 /* end confdefs.h. */
36397 #include <stddef.h>
36398 #include <sys/statvfs.h>
36404 statvfs("/", NULL);
36410 rm -f conftest.$ac_objext
36411 if { (ac_try="$ac_compile"
36412 case "(($ac_try" in
36413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36414 *) ac_try_echo=$ac_try;;
36416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36417 (eval "$ac_compile") 2>conftest.er1
36419 grep -v '^ *+' conftest.er1 >conftest.err
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } && {
36424 test -z "$ac_c_werror_flag" ||
36425 test ! -s conftest.err
36426 } && test -s conftest.$ac_objext; then
36427 wx_cv_func_statvfs=yes
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36432 wx_cv_func_statvfs=no
36436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36439 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36440 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36442 if test "$wx_cv_func_statvfs" = "yes"; then
36443 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36444 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36445 if test "${wx_cv_type_statvfs_t+set}" = set; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36449 ac_cpp='$CXXCPP $CPPFLAGS'
36450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454 cat >conftest.$ac_ext <<_ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36461 #include <sys/statvfs.h>
36478 rm -f conftest.$ac_objext
36479 if { (ac_try="$ac_compile"
36480 case "(($ac_try" in
36481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36482 *) ac_try_echo=$ac_try;;
36484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36485 (eval "$ac_compile") 2>conftest.er1
36487 grep -v '^ *+' conftest.er1 >conftest.err
36489 cat conftest.err >&5
36490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36491 (exit $ac_status); } && {
36492 test -z "$ac_cxx_werror_flag" ||
36493 test ! -s conftest.err
36494 } && test -s conftest.$ac_objext; then
36495 wx_cv_type_statvfs_t=statvfs_t
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36501 cat >conftest.$ac_ext <<_ACEOF
36504 cat confdefs.h >>conftest.$ac_ext
36505 cat >>conftest.$ac_ext <<_ACEOF
36506 /* end confdefs.h. */
36508 #include <sys/statvfs.h>
36525 rm -f conftest.$ac_objext
36526 if { (ac_try="$ac_compile"
36527 case "(($ac_try" in
36528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36529 *) ac_try_echo=$ac_try;;
36531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36532 (eval "$ac_compile") 2>conftest.er1
36534 grep -v '^ *+' conftest.er1 >conftest.err
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } && {
36539 test -z "$ac_cxx_werror_flag" ||
36540 test ! -s conftest.err
36541 } && test -s conftest.$ac_objext; then
36542 wx_cv_type_statvfs_t="struct statvfs"
36544 echo "$as_me: failed program was:" >&5
36545 sed 's/^/| /' conftest.$ac_ext >&5
36547 wx_cv_type_statvfs_t="unknown"
36551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36558 ac_cpp='$CPP $CPPFLAGS'
36559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36565 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36566 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36568 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36569 cat >>confdefs.h <<\_ACEOF
36570 #define HAVE_STATVFS 1
36575 wx_cv_type_statvfs_t="unknown"
36579 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36580 cat >>confdefs.h <<_ACEOF
36581 #define WX_STATFS_T $wx_cv_type_statvfs_t
36585 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36586 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36589 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36592 for ac_func in fcntl flock
36594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36597 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36598 echo $ECHO_N "(cached) $ECHO_C" >&6
36600 cat >conftest.$ac_ext <<_ACEOF
36603 cat confdefs.h >>conftest.$ac_ext
36604 cat >>conftest.$ac_ext <<_ACEOF
36605 /* end confdefs.h. */
36606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36608 #define $ac_func innocuous_$ac_func
36610 /* System header to define __stub macros and hopefully few prototypes,
36611 which can conflict with char $ac_func (); below.
36612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36613 <limits.h> exists even on freestanding compilers. */
36616 # include <limits.h>
36618 # include <assert.h>
36623 /* Override any GCC internal prototype to avoid an error.
36624 Use char because int might match the return type of a GCC
36625 builtin and then its argument prototype would still apply. */
36630 /* The GNU C library defines this for functions which it implements
36631 to always fail with ENOSYS. Some functions are actually named
36632 something starting with __ and the normal name is an alias. */
36633 #if defined __stub_$ac_func || defined __stub___$ac_func
36640 return $ac_func ();
36645 rm -f conftest.$ac_objext conftest$ac_exeext
36646 if { (ac_try="$ac_link"
36647 case "(($ac_try" in
36648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36649 *) ac_try_echo=$ac_try;;
36651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36652 (eval "$ac_link") 2>conftest.er1
36654 grep -v '^ *+' conftest.er1 >conftest.err
36656 cat conftest.err >&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } && {
36659 test -z "$ac_c_werror_flag" ||
36660 test ! -s conftest.err
36661 } && test -s conftest$ac_exeext &&
36662 $as_test_x conftest$ac_exeext; then
36663 eval "$as_ac_var=yes"
36665 echo "$as_me: failed program was:" >&5
36666 sed 's/^/| /' conftest.$ac_ext >&5
36668 eval "$as_ac_var=no"
36671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36672 conftest$ac_exeext conftest.$ac_ext
36674 ac_res=`eval echo '${'$as_ac_var'}'`
36675 { echo "$as_me:$LINENO: result: $ac_res" >&5
36676 echo "${ECHO_T}$ac_res" >&6; }
36677 if test `eval echo '${'$as_ac_var'}'` = yes; then
36678 cat >>confdefs.h <<_ACEOF
36679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36686 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36687 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36688 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36689 wxUSE_SNGLINST_CHECKER=no
36695 for ac_func in setenv putenv
36697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36703 cat >conftest.$ac_ext <<_ACEOF
36706 cat confdefs.h >>conftest.$ac_ext
36707 cat >>conftest.$ac_ext <<_ACEOF
36708 /* end confdefs.h. */
36709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36711 #define $ac_func innocuous_$ac_func
36713 /* System header to define __stub macros and hopefully few prototypes,
36714 which can conflict with char $ac_func (); below.
36715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36716 <limits.h> exists even on freestanding compilers. */
36719 # include <limits.h>
36721 # include <assert.h>
36726 /* Override any GCC internal prototype to avoid an error.
36727 Use char because int might match the return type of a GCC
36728 builtin and then its argument prototype would still apply. */
36733 /* The GNU C library defines this for functions which it implements
36734 to always fail with ENOSYS. Some functions are actually named
36735 something starting with __ and the normal name is an alias. */
36736 #if defined __stub_$ac_func || defined __stub___$ac_func
36743 return $ac_func ();
36748 rm -f conftest.$ac_objext conftest$ac_exeext
36749 if { (ac_try="$ac_link"
36750 case "(($ac_try" in
36751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36752 *) ac_try_echo=$ac_try;;
36754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36755 (eval "$ac_link") 2>conftest.er1
36757 grep -v '^ *+' conftest.er1 >conftest.err
36759 cat conftest.err >&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); } && {
36762 test -z "$ac_c_werror_flag" ||
36763 test ! -s conftest.err
36764 } && test -s conftest$ac_exeext &&
36765 $as_test_x conftest$ac_exeext; then
36766 eval "$as_ac_var=yes"
36768 echo "$as_me: failed program was:" >&5
36769 sed 's/^/| /' conftest.$ac_ext >&5
36771 eval "$as_ac_var=no"
36774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36775 conftest$ac_exeext conftest.$ac_ext
36777 ac_res=`eval echo '${'$as_ac_var'}'`
36778 { echo "$as_me:$LINENO: result: $ac_res" >&5
36779 echo "${ECHO_T}$ac_res" >&6; }
36780 if test `eval echo '${'$as_ac_var'}'` = yes; then
36781 cat >>confdefs.h <<_ACEOF
36782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36788 if test "$ac_cv_func_setenv" = "yes"; then
36790 for ac_func in unsetenv
36792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 cat >conftest.$ac_ext <<_ACEOF
36801 cat confdefs.h >>conftest.$ac_ext
36802 cat >>conftest.$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36806 #define $ac_func innocuous_$ac_func
36808 /* System header to define __stub macros and hopefully few prototypes,
36809 which can conflict with char $ac_func (); below.
36810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36811 <limits.h> exists even on freestanding compilers. */
36814 # include <limits.h>
36816 # include <assert.h>
36821 /* Override any GCC internal prototype to avoid an error.
36822 Use char because int might match the return type of a GCC
36823 builtin and then its argument prototype would still apply. */
36828 /* The GNU C library defines this for functions which it implements
36829 to always fail with ENOSYS. Some functions are actually named
36830 something starting with __ and the normal name is an alias. */
36831 #if defined __stub_$ac_func || defined __stub___$ac_func
36838 return $ac_func ();
36843 rm -f conftest.$ac_objext conftest$ac_exeext
36844 if { (ac_try="$ac_link"
36845 case "(($ac_try" in
36846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36847 *) ac_try_echo=$ac_try;;
36849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36850 (eval "$ac_link") 2>conftest.er1
36852 grep -v '^ *+' conftest.er1 >conftest.err
36854 cat conftest.err >&5
36855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36856 (exit $ac_status); } && {
36857 test -z "$ac_c_werror_flag" ||
36858 test ! -s conftest.err
36859 } && test -s conftest$ac_exeext &&
36860 $as_test_x conftest$ac_exeext; then
36861 eval "$as_ac_var=yes"
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36866 eval "$as_ac_var=no"
36869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36870 conftest$ac_exeext conftest.$ac_ext
36872 ac_res=`eval echo '${'$as_ac_var'}'`
36873 { echo "$as_me:$LINENO: result: $ac_res" >&5
36874 echo "${ECHO_T}$ac_res" >&6; }
36875 if test `eval echo '${'$as_ac_var'}'` = yes; then
36876 cat >>confdefs.h <<_ACEOF
36877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36885 HAVE_SOME_SLEEP_FUNC=0
36886 if test "$USE_BEOS" = 1; then
36887 cat >>confdefs.h <<\_ACEOF
36888 #define HAVE_SLEEP 1
36891 HAVE_SOME_SLEEP_FUNC=1
36894 if test "$USE_DARWIN" = 1; then
36895 cat >>confdefs.h <<\_ACEOF
36896 #define HAVE_USLEEP 1
36899 HAVE_SOME_SLEEP_FUNC=1
36902 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36905 for ac_func in nanosleep
36907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36908 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36910 if { as_var=$as_ac_var; eval "test \"\${$as_var+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. */
36919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36921 #define $ac_func innocuous_$ac_func
36923 /* System header to define __stub macros and hopefully few prototypes,
36924 which can conflict with char $ac_func (); below.
36925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36926 <limits.h> exists even on freestanding compilers. */
36929 # include <limits.h>
36931 # include <assert.h>
36936 /* Override any GCC internal prototype to avoid an error.
36937 Use char because int might match the return type of a GCC
36938 builtin and then its argument prototype would still apply. */
36943 /* The GNU C library defines this for functions which it implements
36944 to always fail with ENOSYS. Some functions are actually named
36945 something starting with __ and the normal name is an alias. */
36946 #if defined __stub_$ac_func || defined __stub___$ac_func
36953 return $ac_func ();
36958 rm -f conftest.$ac_objext conftest$ac_exeext
36959 if { (ac_try="$ac_link"
36960 case "(($ac_try" in
36961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36962 *) ac_try_echo=$ac_try;;
36964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36965 (eval "$ac_link") 2>conftest.er1
36967 grep -v '^ *+' conftest.er1 >conftest.err
36969 cat conftest.err >&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); } && {
36972 test -z "$ac_c_werror_flag" ||
36973 test ! -s conftest.err
36974 } && test -s conftest$ac_exeext &&
36975 $as_test_x conftest$ac_exeext; then
36976 eval "$as_ac_var=yes"
36978 echo "$as_me: failed program was:" >&5
36979 sed 's/^/| /' conftest.$ac_ext >&5
36981 eval "$as_ac_var=no"
36984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36985 conftest$ac_exeext conftest.$ac_ext
36987 ac_res=`eval echo '${'$as_ac_var'}'`
36988 { echo "$as_me:$LINENO: result: $ac_res" >&5
36989 echo "${ECHO_T}$ac_res" >&6; }
36990 if test `eval echo '${'$as_ac_var'}'` = yes; then
36991 cat >>confdefs.h <<_ACEOF
36992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36994 cat >>confdefs.h <<\_ACEOF
36995 #define HAVE_NANOSLEEP 1
37000 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37001 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37002 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37003 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 ac_check_lib_save_LIBS=$LIBS
37006 LIBS="-lposix4 $LIBS"
37007 cat >conftest.$ac_ext <<_ACEOF
37010 cat confdefs.h >>conftest.$ac_ext
37011 cat >>conftest.$ac_ext <<_ACEOF
37012 /* end confdefs.h. */
37014 /* Override any GCC internal prototype to avoid an error.
37015 Use char because int might match the return type of a GCC
37016 builtin and then its argument prototype would still apply. */
37024 return nanosleep ();
37029 rm -f conftest.$ac_objext conftest$ac_exeext
37030 if { (ac_try="$ac_link"
37031 case "(($ac_try" in
37032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37033 *) ac_try_echo=$ac_try;;
37035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37036 (eval "$ac_link") 2>conftest.er1
37038 grep -v '^ *+' conftest.er1 >conftest.err
37040 cat conftest.err >&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); } && {
37043 test -z "$ac_c_werror_flag" ||
37044 test ! -s conftest.err
37045 } && test -s conftest$ac_exeext &&
37046 $as_test_x conftest$ac_exeext; then
37047 ac_cv_lib_posix4_nanosleep=yes
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37052 ac_cv_lib_posix4_nanosleep=no
37055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37056 conftest$ac_exeext conftest.$ac_ext
37057 LIBS=$ac_check_lib_save_LIBS
37059 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37060 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37061 if test $ac_cv_lib_posix4_nanosleep = yes; then
37063 cat >>confdefs.h <<\_ACEOF
37064 #define HAVE_NANOSLEEP 1
37067 POSIX4_LINK=" -lposix4"
37072 for wx_func in usleep
37074 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37075 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37076 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37077 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 cat >conftest.$ac_ext <<_ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37089 $ac_includes_default
37105 rm -f conftest.$ac_objext conftest$ac_exeext
37106 if { (ac_try="$ac_link"
37107 case "(($ac_try" in
37108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37109 *) ac_try_echo=$ac_try;;
37111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37112 (eval "$ac_link") 2>conftest.er1
37114 grep -v '^ *+' conftest.er1 >conftest.err
37116 cat conftest.err >&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); } && {
37119 test -z "$ac_c_werror_flag" ||
37120 test ! -s conftest.err
37121 } && test -s conftest$ac_exeext &&
37122 $as_test_x conftest$ac_exeext; then
37123 eval wx_cv_func_$wx_func=yes
37125 echo "$as_me: failed program was:" >&5
37126 sed 's/^/| /' conftest.$ac_ext >&5
37128 eval wx_cv_func_$wx_func=no
37131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37132 conftest$ac_exeext conftest.$ac_ext
37135 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37136 { echo "$as_me:$LINENO: result: $ac_res" >&5
37137 echo "${ECHO_T}$ac_res" >&6; }
37139 if eval test \$wx_cv_func_$wx_func = yes
37141 cat >>confdefs.h <<_ACEOF
37142 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37148 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37149 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37166 for wx_func in uname
37168 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37169 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37170 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37174 cat >conftest.$ac_ext <<_ACEOF
37178 cat confdefs.h >>conftest.$ac_ext
37179 cat >>conftest.$ac_ext <<_ACEOF
37180 /* end confdefs.h. */
37182 #include <sys/utsname.h>
37183 $ac_includes_default
37199 rm -f conftest.$ac_objext conftest$ac_exeext
37200 if { (ac_try="$ac_link"
37201 case "(($ac_try" in
37202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37203 *) ac_try_echo=$ac_try;;
37205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37206 (eval "$ac_link") 2>conftest.er1
37208 grep -v '^ *+' conftest.er1 >conftest.err
37210 cat conftest.err >&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); } && {
37213 test -z "$ac_c_werror_flag" ||
37214 test ! -s conftest.err
37215 } && test -s conftest$ac_exeext &&
37216 $as_test_x conftest$ac_exeext; then
37217 eval wx_cv_func_$wx_func=yes
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37222 eval wx_cv_func_$wx_func=no
37225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37226 conftest$ac_exeext conftest.$ac_ext
37229 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37230 { echo "$as_me:$LINENO: result: $ac_res" >&5
37231 echo "${ECHO_T}$ac_res" >&6; }
37233 if eval test \$wx_cv_func_$wx_func = yes
37235 cat >>confdefs.h <<_ACEOF
37236 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37246 if test "$wx_cv_func_uname" != yes; then
37248 for wx_func in gethostname
37250 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37251 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37252 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37256 cat >conftest.$ac_ext <<_ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37265 $ac_includes_default
37281 rm -f conftest.$ac_objext conftest$ac_exeext
37282 if { (ac_try="$ac_link"
37283 case "(($ac_try" in
37284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37285 *) ac_try_echo=$ac_try;;
37287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37288 (eval "$ac_link") 2>conftest.er1
37290 grep -v '^ *+' conftest.er1 >conftest.err
37292 cat conftest.err >&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } && {
37295 test -z "$ac_c_werror_flag" ||
37296 test ! -s conftest.err
37297 } && test -s conftest$ac_exeext &&
37298 $as_test_x conftest$ac_exeext; then
37299 eval wx_cv_func_$wx_func=yes
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.$ac_ext >&5
37304 eval wx_cv_func_$wx_func=no
37307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37308 conftest$ac_exeext conftest.$ac_ext
37311 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37312 { echo "$as_me:$LINENO: result: $ac_res" >&5
37313 echo "${ECHO_T}$ac_res" >&6; }
37315 if eval test \$wx_cv_func_$wx_func = yes
37317 cat >>confdefs.h <<_ACEOF
37318 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37331 for wx_func in strtok_r
37333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37335 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 cat >conftest.$ac_ext <<_ACEOF
37343 cat confdefs.h >>conftest.$ac_ext
37344 cat >>conftest.$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37348 $ac_includes_default
37364 rm -f conftest.$ac_objext conftest$ac_exeext
37365 if { (ac_try="$ac_link"
37366 case "(($ac_try" in
37367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37368 *) ac_try_echo=$ac_try;;
37370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37371 (eval "$ac_link") 2>conftest.er1
37373 grep -v '^ *+' conftest.er1 >conftest.err
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } && {
37378 test -z "$ac_c_werror_flag" ||
37379 test ! -s conftest.err
37380 } && test -s conftest$ac_exeext &&
37381 $as_test_x conftest$ac_exeext; then
37382 eval wx_cv_func_$wx_func=yes
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37387 eval wx_cv_func_$wx_func=no
37390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37391 conftest$ac_exeext conftest.$ac_ext
37394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37395 { echo "$as_me:$LINENO: result: $ac_res" >&5
37396 echo "${ECHO_T}$ac_res" >&6; }
37398 if eval test \$wx_cv_func_$wx_func = yes
37400 cat >>confdefs.h <<_ACEOF
37401 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37414 for ac_func in inet_addr
37416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 cat >conftest.$ac_ext <<_ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37430 #define $ac_func innocuous_$ac_func
37432 /* System header to define __stub macros and hopefully few prototypes,
37433 which can conflict with char $ac_func (); below.
37434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37435 <limits.h> exists even on freestanding compilers. */
37438 # include <limits.h>
37440 # include <assert.h>
37445 /* Override any GCC internal prototype to avoid an error.
37446 Use char because int might match the return type of a GCC
37447 builtin and then its argument prototype would still apply. */
37452 /* The GNU C library defines this for functions which it implements
37453 to always fail with ENOSYS. Some functions are actually named
37454 something starting with __ and the normal name is an alias. */
37455 #if defined __stub_$ac_func || defined __stub___$ac_func
37462 return $ac_func ();
37467 rm -f conftest.$ac_objext conftest$ac_exeext
37468 if { (ac_try="$ac_link"
37469 case "(($ac_try" in
37470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37471 *) ac_try_echo=$ac_try;;
37473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37474 (eval "$ac_link") 2>conftest.er1
37476 grep -v '^ *+' conftest.er1 >conftest.err
37478 cat conftest.err >&5
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); } && {
37481 test -z "$ac_c_werror_flag" ||
37482 test ! -s conftest.err
37483 } && test -s conftest$ac_exeext &&
37484 $as_test_x conftest$ac_exeext; then
37485 eval "$as_ac_var=yes"
37487 echo "$as_me: failed program was:" >&5
37488 sed 's/^/| /' conftest.$ac_ext >&5
37490 eval "$as_ac_var=no"
37493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37494 conftest$ac_exeext conftest.$ac_ext
37496 ac_res=`eval echo '${'$as_ac_var'}'`
37497 { echo "$as_me:$LINENO: result: $ac_res" >&5
37498 echo "${ECHO_T}$ac_res" >&6; }
37499 if test `eval echo '${'$as_ac_var'}'` = yes; then
37500 cat >>confdefs.h <<_ACEOF
37501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37503 cat >>confdefs.h <<\_ACEOF
37504 #define HAVE_INET_ADDR 1
37509 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37510 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37511 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37512 echo $ECHO_N "(cached) $ECHO_C" >&6
37514 ac_check_lib_save_LIBS=$LIBS
37516 cat >conftest.$ac_ext <<_ACEOF
37519 cat confdefs.h >>conftest.$ac_ext
37520 cat >>conftest.$ac_ext <<_ACEOF
37521 /* end confdefs.h. */
37523 /* Override any GCC internal prototype to avoid an error.
37524 Use char because int might match the return type of a GCC
37525 builtin and then its argument prototype would still apply. */
37533 return inet_addr ();
37538 rm -f conftest.$ac_objext conftest$ac_exeext
37539 if { (ac_try="$ac_link"
37540 case "(($ac_try" in
37541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37542 *) ac_try_echo=$ac_try;;
37544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37545 (eval "$ac_link") 2>conftest.er1
37547 grep -v '^ *+' conftest.er1 >conftest.err
37549 cat conftest.err >&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); } && {
37552 test -z "$ac_c_werror_flag" ||
37553 test ! -s conftest.err
37554 } && test -s conftest$ac_exeext &&
37555 $as_test_x conftest$ac_exeext; then
37556 ac_cv_lib_nsl_inet_addr=yes
37558 echo "$as_me: failed program was:" >&5
37559 sed 's/^/| /' conftest.$ac_ext >&5
37561 ac_cv_lib_nsl_inet_addr=no
37564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37565 conftest$ac_exeext conftest.$ac_ext
37566 LIBS=$ac_check_lib_save_LIBS
37568 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37569 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37570 if test $ac_cv_lib_nsl_inet_addr = yes; then
37574 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37575 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37576 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37577 echo $ECHO_N "(cached) $ECHO_C" >&6
37579 ac_check_lib_save_LIBS=$LIBS
37580 LIBS="-lresolv $LIBS"
37581 cat >conftest.$ac_ext <<_ACEOF
37584 cat confdefs.h >>conftest.$ac_ext
37585 cat >>conftest.$ac_ext <<_ACEOF
37586 /* end confdefs.h. */
37588 /* Override any GCC internal prototype to avoid an error.
37589 Use char because int might match the return type of a GCC
37590 builtin and then its argument prototype would still apply. */
37598 return inet_addr ();
37603 rm -f conftest.$ac_objext conftest$ac_exeext
37604 if { (ac_try="$ac_link"
37605 case "(($ac_try" in
37606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37607 *) ac_try_echo=$ac_try;;
37609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37610 (eval "$ac_link") 2>conftest.er1
37612 grep -v '^ *+' conftest.er1 >conftest.err
37614 cat conftest.err >&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); } && {
37617 test -z "$ac_c_werror_flag" ||
37618 test ! -s conftest.err
37619 } && test -s conftest$ac_exeext &&
37620 $as_test_x conftest$ac_exeext; then
37621 ac_cv_lib_resolv_inet_addr=yes
37623 echo "$as_me: failed program was:" >&5
37624 sed 's/^/| /' conftest.$ac_ext >&5
37626 ac_cv_lib_resolv_inet_addr=no
37629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37630 conftest$ac_exeext conftest.$ac_ext
37631 LIBS=$ac_check_lib_save_LIBS
37633 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37634 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37635 if test $ac_cv_lib_resolv_inet_addr = yes; then
37639 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37640 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37641 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37642 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 ac_check_lib_save_LIBS=$LIBS
37645 LIBS="-lsocket $LIBS"
37646 cat >conftest.$ac_ext <<_ACEOF
37649 cat confdefs.h >>conftest.$ac_ext
37650 cat >>conftest.$ac_ext <<_ACEOF
37651 /* end confdefs.h. */
37653 /* Override any GCC internal prototype to avoid an error.
37654 Use char because int might match the return type of a GCC
37655 builtin and then its argument prototype would still apply. */
37663 return inet_addr ();
37668 rm -f conftest.$ac_objext conftest$ac_exeext
37669 if { (ac_try="$ac_link"
37670 case "(($ac_try" in
37671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37672 *) ac_try_echo=$ac_try;;
37674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37675 (eval "$ac_link") 2>conftest.er1
37677 grep -v '^ *+' conftest.er1 >conftest.err
37679 cat conftest.err >&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); } && {
37682 test -z "$ac_c_werror_flag" ||
37683 test ! -s conftest.err
37684 } && test -s conftest$ac_exeext &&
37685 $as_test_x conftest$ac_exeext; then
37686 ac_cv_lib_socket_inet_addr=yes
37688 echo "$as_me: failed program was:" >&5
37689 sed 's/^/| /' conftest.$ac_ext >&5
37691 ac_cv_lib_socket_inet_addr=no
37694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37695 conftest$ac_exeext conftest.$ac_ext
37696 LIBS=$ac_check_lib_save_LIBS
37698 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37699 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37700 if test $ac_cv_lib_socket_inet_addr = yes; then
37720 for ac_func in inet_aton
37722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37728 cat >conftest.$ac_ext <<_ACEOF
37731 cat confdefs.h >>conftest.$ac_ext
37732 cat >>conftest.$ac_ext <<_ACEOF
37733 /* end confdefs.h. */
37734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37736 #define $ac_func innocuous_$ac_func
37738 /* System header to define __stub macros and hopefully few prototypes,
37739 which can conflict with char $ac_func (); below.
37740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37741 <limits.h> exists even on freestanding compilers. */
37744 # include <limits.h>
37746 # include <assert.h>
37751 /* Override any GCC internal prototype to avoid an error.
37752 Use char because int might match the return type of a GCC
37753 builtin and then its argument prototype would still apply. */
37758 /* The GNU C library defines this for functions which it implements
37759 to always fail with ENOSYS. Some functions are actually named
37760 something starting with __ and the normal name is an alias. */
37761 #if defined __stub_$ac_func || defined __stub___$ac_func
37768 return $ac_func ();
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (ac_try="$ac_link"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37777 *) ac_try_echo=$ac_try;;
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_link") 2>conftest.er1
37782 grep -v '^ *+' conftest.er1 >conftest.err
37784 cat conftest.err >&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_c_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest$ac_exeext &&
37790 $as_test_x conftest$ac_exeext; then
37791 eval "$as_ac_var=yes"
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.$ac_ext >&5
37796 eval "$as_ac_var=no"
37799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37800 conftest$ac_exeext conftest.$ac_ext
37802 ac_res=`eval echo '${'$as_ac_var'}'`
37803 { echo "$as_me:$LINENO: result: $ac_res" >&5
37804 echo "${ECHO_T}$ac_res" >&6; }
37805 if test `eval echo '${'$as_ac_var'}'` = yes; then
37806 cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37809 cat >>confdefs.h <<\_ACEOF
37810 #define HAVE_INET_ATON 1
37815 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37816 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37817 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37818 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37819 echo $ECHO_N "(cached) $ECHO_C" >&6
37821 ac_check_lib_save_LIBS=$LIBS
37822 LIBS="-l$INET_LINK $LIBS"
37823 cat >conftest.$ac_ext <<_ACEOF
37826 cat confdefs.h >>conftest.$ac_ext
37827 cat >>conftest.$ac_ext <<_ACEOF
37828 /* end confdefs.h. */
37830 /* Override any GCC internal prototype to avoid an error.
37831 Use char because int might match the return type of a GCC
37832 builtin and then its argument prototype would still apply. */
37840 return inet_aton ();
37845 rm -f conftest.$ac_objext conftest$ac_exeext
37846 if { (ac_try="$ac_link"
37847 case "(($ac_try" in
37848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37849 *) ac_try_echo=$ac_try;;
37851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37852 (eval "$ac_link") 2>conftest.er1
37854 grep -v '^ *+' conftest.er1 >conftest.err
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && {
37859 test -z "$ac_c_werror_flag" ||
37860 test ! -s conftest.err
37861 } && test -s conftest$ac_exeext &&
37862 $as_test_x conftest$ac_exeext; then
37863 eval "$as_ac_Lib=yes"
37865 echo "$as_me: failed program was:" >&5
37866 sed 's/^/| /' conftest.$ac_ext >&5
37868 eval "$as_ac_Lib=no"
37871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37872 conftest$ac_exeext conftest.$ac_ext
37873 LIBS=$ac_check_lib_save_LIBS
37875 ac_res=`eval echo '${'$as_ac_Lib'}'`
37876 { echo "$as_me:$LINENO: result: $ac_res" >&5
37877 echo "${ECHO_T}$ac_res" >&6; }
37878 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37879 cat >>confdefs.h <<\_ACEOF
37880 #define HAVE_INET_ATON 1
37890 if test "x$INET_LINK" != "x"; then
37891 cat >>confdefs.h <<\_ACEOF
37892 #define HAVE_INET_ADDR 1
37895 INET_LINK=" -l$INET_LINK"
37899 for wx_func in fdopen
37901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37903 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37904 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 cat >conftest.$ac_ext <<_ACEOF
37911 cat confdefs.h >>conftest.$ac_ext
37912 cat >>conftest.$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37916 $ac_includes_default
37932 rm -f conftest.$ac_objext conftest$ac_exeext
37933 if { (ac_try="$ac_link"
37934 case "(($ac_try" in
37935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37936 *) ac_try_echo=$ac_try;;
37938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37939 (eval "$ac_link") 2>conftest.er1
37941 grep -v '^ *+' conftest.er1 >conftest.err
37943 cat conftest.err >&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); } && {
37946 test -z "$ac_c_werror_flag" ||
37947 test ! -s conftest.err
37948 } && test -s conftest$ac_exeext &&
37949 $as_test_x conftest$ac_exeext; then
37950 eval wx_cv_func_$wx_func=yes
37952 echo "$as_me: failed program was:" >&5
37953 sed 's/^/| /' conftest.$ac_ext >&5
37955 eval wx_cv_func_$wx_func=no
37958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37959 conftest$ac_exeext conftest.$ac_ext
37962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37963 { echo "$as_me:$LINENO: result: $ac_res" >&5
37964 echo "${ECHO_T}$ac_res" >&6; }
37966 if eval test \$wx_cv_func_$wx_func = yes
37968 cat >>confdefs.h <<_ACEOF
37969 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37980 if test "$wxUSE_TARSTREAM" = "yes"; then
37982 for wx_func in sysconf
37984 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37985 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37986 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37990 cat >conftest.$ac_ext <<_ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37999 $ac_includes_default
38015 rm -f conftest.$ac_objext conftest$ac_exeext
38016 if { (ac_try="$ac_link"
38017 case "(($ac_try" in
38018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38019 *) ac_try_echo=$ac_try;;
38021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38022 (eval "$ac_link") 2>conftest.er1
38024 grep -v '^ *+' conftest.er1 >conftest.err
38026 cat conftest.err >&5
38027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38028 (exit $ac_status); } && {
38029 test -z "$ac_c_werror_flag" ||
38030 test ! -s conftest.err
38031 } && test -s conftest$ac_exeext &&
38032 $as_test_x conftest$ac_exeext; then
38033 eval wx_cv_func_$wx_func=yes
38035 echo "$as_me: failed program was:" >&5
38036 sed 's/^/| /' conftest.$ac_ext >&5
38038 eval wx_cv_func_$wx_func=no
38041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38042 conftest$ac_exeext conftest.$ac_ext
38045 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38046 { echo "$as_me:$LINENO: result: $ac_res" >&5
38047 echo "${ECHO_T}$ac_res" >&6; }
38049 if eval test \$wx_cv_func_$wx_func = yes
38051 cat >>confdefs.h <<_ACEOF
38052 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38064 for wx_func in getpwuid_r
38066 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38067 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38068 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38069 echo $ECHO_N "(cached) $ECHO_C" >&6
38072 cat >conftest.$ac_ext <<_ACEOF
38076 cat confdefs.h >>conftest.$ac_ext
38077 cat >>conftest.$ac_ext <<_ACEOF
38078 /* end confdefs.h. */
38084 $ac_includes_default
38094 struct passwd pw, *ppw;
38096 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38104 rm -f conftest.$ac_objext conftest$ac_exeext
38105 if { (ac_try="$ac_link"
38106 case "(($ac_try" in
38107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38108 *) ac_try_echo=$ac_try;;
38110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38111 (eval "$ac_link") 2>conftest.er1
38113 grep -v '^ *+' conftest.er1 >conftest.err
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } && {
38118 test -z "$ac_c_werror_flag" ||
38119 test ! -s conftest.err
38120 } && test -s conftest$ac_exeext &&
38121 $as_test_x conftest$ac_exeext; then
38122 eval wx_cv_func_$wx_func=yes
38124 echo "$as_me: failed program was:" >&5
38125 sed 's/^/| /' conftest.$ac_ext >&5
38127 eval wx_cv_func_$wx_func=no
38130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38131 conftest$ac_exeext conftest.$ac_ext
38134 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38135 { echo "$as_me:$LINENO: result: $ac_res" >&5
38136 echo "${ECHO_T}$ac_res" >&6; }
38138 if eval test \$wx_cv_func_$wx_func = yes
38140 cat >>confdefs.h <<_ACEOF
38141 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38153 for wx_func in getgrgid_r
38155 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38156 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38157 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38158 echo $ECHO_N "(cached) $ECHO_C" >&6
38161 cat >conftest.$ac_ext <<_ACEOF
38165 cat confdefs.h >>conftest.$ac_ext
38166 cat >>conftest.$ac_ext <<_ACEOF
38167 /* end confdefs.h. */
38173 $ac_includes_default
38183 struct group grp, *pgrp;
38185 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38193 rm -f conftest.$ac_objext conftest$ac_exeext
38194 if { (ac_try="$ac_link"
38195 case "(($ac_try" in
38196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38197 *) ac_try_echo=$ac_try;;
38199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38200 (eval "$ac_link") 2>conftest.er1
38202 grep -v '^ *+' conftest.er1 >conftest.err
38204 cat conftest.err >&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); } && {
38207 test -z "$ac_c_werror_flag" ||
38208 test ! -s conftest.err
38209 } && test -s conftest$ac_exeext &&
38210 $as_test_x conftest$ac_exeext; then
38211 eval wx_cv_func_$wx_func=yes
38213 echo "$as_me: failed program was:" >&5
38214 sed 's/^/| /' conftest.$ac_ext >&5
38216 eval wx_cv_func_$wx_func=no
38219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38220 conftest$ac_exeext conftest.$ac_ext
38223 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38224 { echo "$as_me:$LINENO: result: $ac_res" >&5
38225 echo "${ECHO_T}$ac_res" >&6; }
38227 if eval test \$wx_cv_func_$wx_func = yes
38229 cat >>confdefs.h <<_ACEOF
38230 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38246 cat >confcache <<\_ACEOF
38247 # This file is a shell script that caches the results of configure
38248 # tests run on this system so they can be shared between configure
38249 # scripts and configure runs, see configure's option --config-cache.
38250 # It is not useful on other systems. If it contains results you don't
38251 # want to keep, you may remove or edit it.
38253 # config.status only pays attention to the cache file if you give it
38254 # the --recheck option to rerun configure.
38256 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38257 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38258 # following values.
38262 # The following way of writing the cache mishandles newlines in values,
38263 # but we know of no workaround that is simple, portable, and efficient.
38264 # So, we kill variables containing newlines.
38265 # Ultrix sh set writes to stderr and can't be redirected directly,
38266 # and sets the high bit in the cache file unless we assign to the vars.
38268 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38269 eval ac_val=\$$ac_var
38273 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38274 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38277 _ | IFS | as_nl) ;; #(
38278 *) $as_unset $ac_var ;;
38284 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38285 *${as_nl}ac_space=\ *)
38286 # `set' does not quote correctly, so add quotes (double-quote
38287 # substitution turns \\\\ into \\, and sed turns \\ into \).
38290 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38293 # `set' quotes correctly as required by POSIX, so do not add quotes.
38294 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38303 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38305 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38307 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38308 if test -w "$cache_file"; then
38309 test "x$cache_file" != "x/dev/null" &&
38310 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38311 echo "$as_me: updating cache $cache_file" >&6;}
38312 cat confcache >$cache_file
38314 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38315 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38321 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38327 if test "$wxUSE_THREADS" = "yes" ; then
38328 if test "$USE_BEOS" = 1; then
38329 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38330 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38335 if test "$wxUSE_THREADS" = "yes" ; then
38338 THREAD_OPTS="-pthread"
38339 if test "x$SUNCXX" = xyes; then
38340 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38344 *-*-solaris2* | *-*-sunos4* )
38345 if test "x$GCC" = "xyes"; then
38346 THREAD_OPTS="-pthreads $THREAD_OPTS"
38350 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38352 *-*-darwin* | *-*-cygwin* )
38356 THREAD_OPTS="pthreads"
38359 if test "x$GCC" = "xyes"; then
38360 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38368 if test "x$GCC" = "xyes"; then
38374 if test "x$GCC" != "xyes"; then
38375 THREAD_OPTS="-Ethread"
38380 THREAD_OPTS="$THREAD_OPTS pthread none"
38383 for flag in $THREAD_OPTS; do
38386 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38387 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38391 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38392 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38393 THREADS_CFLAGS="$flag"
38397 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38398 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38399 THREADS_LINK="-l$flag"
38404 save_CFLAGS="$CFLAGS"
38405 LIBS="$THREADS_LINK $LIBS"
38406 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38408 cat >conftest.$ac_ext <<_ACEOF
38411 cat confdefs.h >>conftest.$ac_ext
38412 cat >>conftest.$ac_ext <<_ACEOF
38413 /* end confdefs.h. */
38414 #include <pthread.h>
38418 pthread_create(0,0,0,0);
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (ac_try="$ac_link"
38425 case "(($ac_try" in
38426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38427 *) ac_try_echo=$ac_try;;
38429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38430 (eval "$ac_link") 2>conftest.er1
38432 grep -v '^ *+' conftest.er1 >conftest.err
38434 cat conftest.err >&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } && {
38437 test -z "$ac_c_werror_flag" ||
38438 test ! -s conftest.err
38439 } && test -s conftest$ac_exeext &&
38440 $as_test_x conftest$ac_exeext; then
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38450 conftest$ac_exeext conftest.$ac_ext
38453 CFLAGS="$save_CFLAGS"
38455 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38456 echo "${ECHO_T}$THREADS_OK" >&6; }
38457 if test "x$THREADS_OK" = "xyes"; then
38465 if test "x$THREADS_OK" != "xyes"; then
38467 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38468 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38470 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38471 LIBS="$THREADS_LINK $LIBS"
38473 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38474 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38478 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38479 flag="-D_THREAD_SAFE"
38482 flag="-D_THREAD_SAFE"
38485 flag="-D_REENTRANT"
38486 if test "x$GCC" != "xyes"; then
38487 flag="$flag -D_RWSTD_MULTI_THREAD"
38490 *solaris* | alpha*-osf*)
38491 flag="-D_REENTRANT"
38494 { echo "$as_me:$LINENO: result: ${flag}" >&5
38495 echo "${ECHO_T}${flag}" >&6; }
38496 if test "x$flag" != xno; then
38497 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38500 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38504 if test "$wxUSE_THREADS" = "yes" ; then
38506 for ac_func in thr_setconcurrency
38508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 cat >conftest.$ac_ext <<_ACEOF
38517 cat confdefs.h >>conftest.$ac_ext
38518 cat >>conftest.$ac_ext <<_ACEOF
38519 /* end confdefs.h. */
38520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38522 #define $ac_func innocuous_$ac_func
38524 /* System header to define __stub macros and hopefully few prototypes,
38525 which can conflict with char $ac_func (); below.
38526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38527 <limits.h> exists even on freestanding compilers. */
38530 # include <limits.h>
38532 # include <assert.h>
38537 /* Override any GCC internal prototype to avoid an error.
38538 Use char because int might match the return type of a GCC
38539 builtin and then its argument prototype would still apply. */
38544 /* The GNU C library defines this for functions which it implements
38545 to always fail with ENOSYS. Some functions are actually named
38546 something starting with __ and the normal name is an alias. */
38547 #if defined __stub_$ac_func || defined __stub___$ac_func
38554 return $ac_func ();
38559 rm -f conftest.$ac_objext conftest$ac_exeext
38560 if { (ac_try="$ac_link"
38561 case "(($ac_try" in
38562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38563 *) ac_try_echo=$ac_try;;
38565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38566 (eval "$ac_link") 2>conftest.er1
38568 grep -v '^ *+' conftest.er1 >conftest.err
38570 cat conftest.err >&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); } && {
38573 test -z "$ac_c_werror_flag" ||
38574 test ! -s conftest.err
38575 } && test -s conftest$ac_exeext &&
38576 $as_test_x conftest$ac_exeext; then
38577 eval "$as_ac_var=yes"
38579 echo "$as_me: failed program was:" >&5
38580 sed 's/^/| /' conftest.$ac_ext >&5
38582 eval "$as_ac_var=no"
38585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38586 conftest$ac_exeext conftest.$ac_ext
38588 ac_res=`eval echo '${'$as_ac_var'}'`
38589 { echo "$as_me:$LINENO: result: $ac_res" >&5
38590 echo "${ECHO_T}$ac_res" >&6; }
38591 if test `eval echo '${'$as_ac_var'}'` = yes; then
38592 cat >>confdefs.h <<_ACEOF
38593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38600 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38601 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38602 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38603 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 ac_cpp='$CXXCPP $CPPFLAGS'
38608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38612 cat >conftest.$ac_ext <<_ACEOF
38615 cat confdefs.h >>conftest.$ac_ext
38616 cat >>conftest.$ac_ext <<_ACEOF
38617 /* end confdefs.h. */
38618 #include <pthread.h>
38619 void ThreadCleanupFunc(void *p);
38626 pthread_cleanup_push(ThreadCleanupFunc, p);
38627 pthread_cleanup_pop(0);
38633 rm -f conftest.$ac_objext
38634 if { (ac_try="$ac_compile"
38635 case "(($ac_try" in
38636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38637 *) ac_try_echo=$ac_try;;
38639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38640 (eval "$ac_compile") 2>conftest.er1
38642 grep -v '^ *+' conftest.er1 >conftest.err
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } && {
38647 test -z "$ac_cxx_werror_flag" ||
38648 test ! -s conftest.err
38649 } && test -s conftest.$ac_objext; then
38651 wx_cv_func_pthread_cleanup=yes
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.$ac_ext >&5
38658 wx_cv_func_pthread_cleanup=no
38663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38665 ac_cpp='$CPP $CPPFLAGS'
38666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38672 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38673 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38674 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38675 cat >>confdefs.h <<\_ACEOF
38676 #define wxHAVE_PTHREAD_CLEANUP 1
38682 for ac_header in sched.h
38684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 cat >conftest.$ac_ext <<_ACEOF
38693 cat confdefs.h >>conftest.$ac_ext
38694 cat >>conftest.$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38696 $ac_includes_default
38698 #include <$ac_header>
38700 rm -f conftest.$ac_objext
38701 if { (ac_try="$ac_compile"
38702 case "(($ac_try" in
38703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38704 *) ac_try_echo=$ac_try;;
38706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38707 (eval "$ac_compile") 2>conftest.er1
38709 grep -v '^ *+' conftest.er1 >conftest.err
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } && {
38714 test -z "$ac_c_werror_flag" ||
38715 test ! -s conftest.err
38716 } && test -s conftest.$ac_objext; then
38717 eval "$as_ac_Header=yes"
38719 echo "$as_me: failed program was:" >&5
38720 sed 's/^/| /' conftest.$ac_ext >&5
38722 eval "$as_ac_Header=no"
38725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38727 ac_res=`eval echo '${'$as_ac_Header'}'`
38728 { echo "$as_me:$LINENO: result: $ac_res" >&5
38729 echo "${ECHO_T}$ac_res" >&6; }
38730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38731 cat >>confdefs.h <<_ACEOF
38732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38739 if test "$ac_cv_header_sched_h" = "yes"; then
38740 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38741 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38742 if test "${ac_cv_func_sched_yield+set}" = set; then
38743 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 cat >conftest.$ac_ext <<_ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38751 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38753 #define sched_yield innocuous_sched_yield
38755 /* System header to define __stub macros and hopefully few prototypes,
38756 which can conflict with char sched_yield (); below.
38757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38758 <limits.h> exists even on freestanding compilers. */
38761 # include <limits.h>
38763 # include <assert.h>
38768 /* Override any GCC internal prototype to avoid an error.
38769 Use char because int might match the return type of a GCC
38770 builtin and then its argument prototype would still apply. */
38774 char sched_yield ();
38775 /* The GNU C library defines this for functions which it implements
38776 to always fail with ENOSYS. Some functions are actually named
38777 something starting with __ and the normal name is an alias. */
38778 #if defined __stub_sched_yield || defined __stub___sched_yield
38785 return sched_yield ();
38790 rm -f conftest.$ac_objext conftest$ac_exeext
38791 if { (ac_try="$ac_link"
38792 case "(($ac_try" in
38793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38794 *) ac_try_echo=$ac_try;;
38796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38797 (eval "$ac_link") 2>conftest.er1
38799 grep -v '^ *+' conftest.er1 >conftest.err
38801 cat conftest.err >&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); } && {
38804 test -z "$ac_c_werror_flag" ||
38805 test ! -s conftest.err
38806 } && test -s conftest$ac_exeext &&
38807 $as_test_x conftest$ac_exeext; then
38808 ac_cv_func_sched_yield=yes
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.$ac_ext >&5
38813 ac_cv_func_sched_yield=no
38816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38817 conftest$ac_exeext conftest.$ac_ext
38819 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38820 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38821 if test $ac_cv_func_sched_yield = yes; then
38822 cat >>confdefs.h <<\_ACEOF
38823 #define HAVE_SCHED_YIELD 1
38828 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38829 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38830 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38831 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 ac_check_lib_save_LIBS=$LIBS
38834 LIBS="-lposix4 $LIBS"
38835 cat >conftest.$ac_ext <<_ACEOF
38838 cat confdefs.h >>conftest.$ac_ext
38839 cat >>conftest.$ac_ext <<_ACEOF
38840 /* end confdefs.h. */
38842 /* Override any GCC internal prototype to avoid an error.
38843 Use char because int might match the return type of a GCC
38844 builtin and then its argument prototype would still apply. */
38848 char sched_yield ();
38852 return sched_yield ();
38857 rm -f conftest.$ac_objext conftest$ac_exeext
38858 if { (ac_try="$ac_link"
38859 case "(($ac_try" in
38860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38861 *) ac_try_echo=$ac_try;;
38863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38864 (eval "$ac_link") 2>conftest.er1
38866 grep -v '^ *+' conftest.er1 >conftest.err
38868 cat conftest.err >&5
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); } && {
38871 test -z "$ac_c_werror_flag" ||
38872 test ! -s conftest.err
38873 } && test -s conftest$ac_exeext &&
38874 $as_test_x conftest$ac_exeext; then
38875 ac_cv_lib_posix4_sched_yield=yes
38877 echo "$as_me: failed program was:" >&5
38878 sed 's/^/| /' conftest.$ac_ext >&5
38880 ac_cv_lib_posix4_sched_yield=no
38883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38884 conftest$ac_exeext conftest.$ac_ext
38885 LIBS=$ac_check_lib_save_LIBS
38887 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38888 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38889 if test $ac_cv_lib_posix4_sched_yield = yes; then
38890 cat >>confdefs.h <<\_ACEOF
38891 #define HAVE_SCHED_YIELD 1
38893 POSIX4_LINK=" -lposix4"
38895 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38896 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38907 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38908 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38909 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38910 echo $ECHO_N "(cached) $ECHO_C" >&6
38912 cat >conftest.$ac_ext <<_ACEOF
38915 cat confdefs.h >>conftest.$ac_ext
38916 cat >>conftest.$ac_ext <<_ACEOF
38917 /* end confdefs.h. */
38918 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38920 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38922 /* System header to define __stub macros and hopefully few prototypes,
38923 which can conflict with char pthread_attr_getschedpolicy (); below.
38924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38925 <limits.h> exists even on freestanding compilers. */
38928 # include <limits.h>
38930 # include <assert.h>
38933 #undef pthread_attr_getschedpolicy
38935 /* Override any GCC internal prototype to avoid an error.
38936 Use char because int might match the return type of a GCC
38937 builtin and then its argument prototype would still apply. */
38941 char pthread_attr_getschedpolicy ();
38942 /* The GNU C library defines this for functions which it implements
38943 to always fail with ENOSYS. Some functions are actually named
38944 something starting with __ and the normal name is an alias. */
38945 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38952 return pthread_attr_getschedpolicy ();
38957 rm -f conftest.$ac_objext conftest$ac_exeext
38958 if { (ac_try="$ac_link"
38959 case "(($ac_try" in
38960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38961 *) ac_try_echo=$ac_try;;
38963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38964 (eval "$ac_link") 2>conftest.er1
38966 grep -v '^ *+' conftest.er1 >conftest.err
38968 cat conftest.err >&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); } && {
38971 test -z "$ac_c_werror_flag" ||
38972 test ! -s conftest.err
38973 } && test -s conftest$ac_exeext &&
38974 $as_test_x conftest$ac_exeext; then
38975 ac_cv_func_pthread_attr_getschedpolicy=yes
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.$ac_ext >&5
38980 ac_cv_func_pthread_attr_getschedpolicy=no
38983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38984 conftest$ac_exeext conftest.$ac_ext
38986 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38987 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38988 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38989 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38990 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38991 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38992 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 cat >conftest.$ac_ext <<_ACEOF
38997 cat confdefs.h >>conftest.$ac_ext
38998 cat >>conftest.$ac_ext <<_ACEOF
38999 /* end confdefs.h. */
39000 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39002 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39004 /* System header to define __stub macros and hopefully few prototypes,
39005 which can conflict with char pthread_attr_setschedparam (); below.
39006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39007 <limits.h> exists even on freestanding compilers. */
39010 # include <limits.h>
39012 # include <assert.h>
39015 #undef pthread_attr_setschedparam
39017 /* Override any GCC internal prototype to avoid an error.
39018 Use char because int might match the return type of a GCC
39019 builtin and then its argument prototype would still apply. */
39023 char pthread_attr_setschedparam ();
39024 /* The GNU C library defines this for functions which it implements
39025 to always fail with ENOSYS. Some functions are actually named
39026 something starting with __ and the normal name is an alias. */
39027 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39034 return pthread_attr_setschedparam ();
39039 rm -f conftest.$ac_objext conftest$ac_exeext
39040 if { (ac_try="$ac_link"
39041 case "(($ac_try" in
39042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39043 *) ac_try_echo=$ac_try;;
39045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39046 (eval "$ac_link") 2>conftest.er1
39048 grep -v '^ *+' conftest.er1 >conftest.err
39050 cat conftest.err >&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); } && {
39053 test -z "$ac_c_werror_flag" ||
39054 test ! -s conftest.err
39055 } && test -s conftest$ac_exeext &&
39056 $as_test_x conftest$ac_exeext; then
39057 ac_cv_func_pthread_attr_setschedparam=yes
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39062 ac_cv_func_pthread_attr_setschedparam=no
39065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39066 conftest$ac_exeext conftest.$ac_ext
39068 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39069 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39070 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39071 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39072 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39073 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39074 echo $ECHO_N "(cached) $ECHO_C" >&6
39076 cat >conftest.$ac_ext <<_ACEOF
39079 cat confdefs.h >>conftest.$ac_ext
39080 cat >>conftest.$ac_ext <<_ACEOF
39081 /* end confdefs.h. */
39082 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39084 #define sched_get_priority_max innocuous_sched_get_priority_max
39086 /* System header to define __stub macros and hopefully few prototypes,
39087 which can conflict with char sched_get_priority_max (); below.
39088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39089 <limits.h> exists even on freestanding compilers. */
39092 # include <limits.h>
39094 # include <assert.h>
39097 #undef sched_get_priority_max
39099 /* Override any GCC internal prototype to avoid an error.
39100 Use char because int might match the return type of a GCC
39101 builtin and then its argument prototype would still apply. */
39105 char sched_get_priority_max ();
39106 /* The GNU C library defines this for functions which it implements
39107 to always fail with ENOSYS. Some functions are actually named
39108 something starting with __ and the normal name is an alias. */
39109 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39116 return sched_get_priority_max ();
39121 rm -f conftest.$ac_objext conftest$ac_exeext
39122 if { (ac_try="$ac_link"
39123 case "(($ac_try" in
39124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39125 *) ac_try_echo=$ac_try;;
39127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39128 (eval "$ac_link") 2>conftest.er1
39130 grep -v '^ *+' conftest.er1 >conftest.err
39132 cat conftest.err >&5
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); } && {
39135 test -z "$ac_c_werror_flag" ||
39136 test ! -s conftest.err
39137 } && test -s conftest$ac_exeext &&
39138 $as_test_x conftest$ac_exeext; then
39139 ac_cv_func_sched_get_priority_max=yes
39141 echo "$as_me: failed program was:" >&5
39142 sed 's/^/| /' conftest.$ac_ext >&5
39144 ac_cv_func_sched_get_priority_max=no
39147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39148 conftest$ac_exeext conftest.$ac_ext
39150 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39151 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39152 if test $ac_cv_func_sched_get_priority_max = yes; then
39155 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39156 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39157 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39158 echo $ECHO_N "(cached) $ECHO_C" >&6
39160 ac_check_lib_save_LIBS=$LIBS
39161 LIBS="-lposix4 $LIBS"
39162 cat >conftest.$ac_ext <<_ACEOF
39165 cat confdefs.h >>conftest.$ac_ext
39166 cat >>conftest.$ac_ext <<_ACEOF
39167 /* end confdefs.h. */
39169 /* Override any GCC internal prototype to avoid an error.
39170 Use char because int might match the return type of a GCC
39171 builtin and then its argument prototype would still apply. */
39175 char sched_get_priority_max ();
39179 return sched_get_priority_max ();
39184 rm -f conftest.$ac_objext conftest$ac_exeext
39185 if { (ac_try="$ac_link"
39186 case "(($ac_try" in
39187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39188 *) ac_try_echo=$ac_try;;
39190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39191 (eval "$ac_link") 2>conftest.er1
39193 grep -v '^ *+' conftest.er1 >conftest.err
39195 cat conftest.err >&5
39196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197 (exit $ac_status); } && {
39198 test -z "$ac_c_werror_flag" ||
39199 test ! -s conftest.err
39200 } && test -s conftest$ac_exeext &&
39201 $as_test_x conftest$ac_exeext; then
39202 ac_cv_lib_posix4_sched_get_priority_max=yes
39204 echo "$as_me: failed program was:" >&5
39205 sed 's/^/| /' conftest.$ac_ext >&5
39207 ac_cv_lib_posix4_sched_get_priority_max=no
39210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39211 conftest$ac_exeext conftest.$ac_ext
39212 LIBS=$ac_check_lib_save_LIBS
39214 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39215 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39216 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39219 POSIX4_LINK=" -lposix4"
39233 if test "$HAVE_PRIOR_FUNCS" = 1; then
39234 cat >>confdefs.h <<\_ACEOF
39235 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39239 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39240 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39243 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39244 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39245 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39246 echo $ECHO_N "(cached) $ECHO_C" >&6
39248 cat >conftest.$ac_ext <<_ACEOF
39251 cat confdefs.h >>conftest.$ac_ext
39252 cat >>conftest.$ac_ext <<_ACEOF
39253 /* end confdefs.h. */
39254 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39256 #define pthread_cancel innocuous_pthread_cancel
39258 /* System header to define __stub macros and hopefully few prototypes,
39259 which can conflict with char pthread_cancel (); below.
39260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39261 <limits.h> exists even on freestanding compilers. */
39264 # include <limits.h>
39266 # include <assert.h>
39269 #undef pthread_cancel
39271 /* Override any GCC internal prototype to avoid an error.
39272 Use char because int might match the return type of a GCC
39273 builtin and then its argument prototype would still apply. */
39277 char pthread_cancel ();
39278 /* The GNU C library defines this for functions which it implements
39279 to always fail with ENOSYS. Some functions are actually named
39280 something starting with __ and the normal name is an alias. */
39281 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39288 return pthread_cancel ();
39293 rm -f conftest.$ac_objext conftest$ac_exeext
39294 if { (ac_try="$ac_link"
39295 case "(($ac_try" in
39296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39297 *) ac_try_echo=$ac_try;;
39299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39300 (eval "$ac_link") 2>conftest.er1
39302 grep -v '^ *+' conftest.er1 >conftest.err
39304 cat conftest.err >&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } && {
39307 test -z "$ac_c_werror_flag" ||
39308 test ! -s conftest.err
39309 } && test -s conftest$ac_exeext &&
39310 $as_test_x conftest$ac_exeext; then
39311 ac_cv_func_pthread_cancel=yes
39313 echo "$as_me: failed program was:" >&5
39314 sed 's/^/| /' conftest.$ac_ext >&5
39316 ac_cv_func_pthread_cancel=no
39319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39320 conftest$ac_exeext conftest.$ac_ext
39322 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39323 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39324 if test $ac_cv_func_pthread_cancel = yes; then
39325 cat >>confdefs.h <<\_ACEOF
39326 #define HAVE_PTHREAD_CANCEL 1
39330 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39331 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39335 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39336 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39337 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39338 echo $ECHO_N "(cached) $ECHO_C" >&6
39340 cat >conftest.$ac_ext <<_ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39346 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39348 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39350 /* System header to define __stub macros and hopefully few prototypes,
39351 which can conflict with char pthread_mutex_timedlock (); below.
39352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39353 <limits.h> exists even on freestanding compilers. */
39356 # include <limits.h>
39358 # include <assert.h>
39361 #undef pthread_mutex_timedlock
39363 /* Override any GCC internal prototype to avoid an error.
39364 Use char because int might match the return type of a GCC
39365 builtin and then its argument prototype would still apply. */
39369 char pthread_mutex_timedlock ();
39370 /* The GNU C library defines this for functions which it implements
39371 to always fail with ENOSYS. Some functions are actually named
39372 something starting with __ and the normal name is an alias. */
39373 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39380 return pthread_mutex_timedlock ();
39385 rm -f conftest.$ac_objext conftest$ac_exeext
39386 if { (ac_try="$ac_link"
39387 case "(($ac_try" in
39388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39389 *) ac_try_echo=$ac_try;;
39391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39392 (eval "$ac_link") 2>conftest.er1
39394 grep -v '^ *+' conftest.er1 >conftest.err
39396 cat conftest.err >&5
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); } && {
39399 test -z "$ac_c_werror_flag" ||
39400 test ! -s conftest.err
39401 } && test -s conftest$ac_exeext &&
39402 $as_test_x conftest$ac_exeext; then
39403 ac_cv_func_pthread_mutex_timedlock=yes
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39408 ac_cv_func_pthread_mutex_timedlock=no
39411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39412 conftest$ac_exeext conftest.$ac_ext
39414 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39415 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39416 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39417 cat >>confdefs.h <<\_ACEOF
39418 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39422 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39423 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39427 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39428 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39429 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39430 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 cat >conftest.$ac_ext <<_ACEOF
39435 cat confdefs.h >>conftest.$ac_ext
39436 cat >>conftest.$ac_ext <<_ACEOF
39437 /* end confdefs.h. */
39438 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39440 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39442 /* System header to define __stub macros and hopefully few prototypes,
39443 which can conflict with char pthread_attr_setstacksize (); below.
39444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39445 <limits.h> exists even on freestanding compilers. */
39448 # include <limits.h>
39450 # include <assert.h>
39453 #undef pthread_attr_setstacksize
39455 /* Override any GCC internal prototype to avoid an error.
39456 Use char because int might match the return type of a GCC
39457 builtin and then its argument prototype would still apply. */
39461 char pthread_attr_setstacksize ();
39462 /* The GNU C library defines this for functions which it implements
39463 to always fail with ENOSYS. Some functions are actually named
39464 something starting with __ and the normal name is an alias. */
39465 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39472 return pthread_attr_setstacksize ();
39477 rm -f conftest.$ac_objext conftest$ac_exeext
39478 if { (ac_try="$ac_link"
39479 case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_link") 2>conftest.er1
39486 grep -v '^ *+' conftest.er1 >conftest.err
39488 cat conftest.err >&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); } && {
39491 test -z "$ac_c_werror_flag" ||
39492 test ! -s conftest.err
39493 } && test -s conftest$ac_exeext &&
39494 $as_test_x conftest$ac_exeext; then
39495 ac_cv_func_pthread_attr_setstacksize=yes
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.$ac_ext >&5
39500 ac_cv_func_pthread_attr_setstacksize=no
39503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39504 conftest$ac_exeext conftest.$ac_ext
39506 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39507 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39508 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39509 cat >>confdefs.h <<\_ACEOF
39510 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39517 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39518 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39519 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39520 echo $ECHO_N "(cached) $ECHO_C" >&6
39523 cat >conftest.$ac_ext <<_ACEOF
39526 cat confdefs.h >>conftest.$ac_ext
39527 cat >>conftest.$ac_ext <<_ACEOF
39528 /* end confdefs.h. */
39529 #include <pthread.h>
39534 pthread_mutexattr_t attr;
39535 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39541 rm -f conftest.$ac_objext
39542 if { (ac_try="$ac_compile"
39543 case "(($ac_try" in
39544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39545 *) ac_try_echo=$ac_try;;
39547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39548 (eval "$ac_compile") 2>conftest.er1
39550 grep -v '^ *+' conftest.er1 >conftest.err
39552 cat conftest.err >&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); } && {
39555 test -z "$ac_c_werror_flag" ||
39556 test ! -s conftest.err
39557 } && test -s conftest.$ac_objext; then
39558 wx_cv_type_pthread_mutexattr_t=yes
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39563 wx_cv_type_pthread_mutexattr_t=no
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39570 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39571 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39573 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define HAVE_PTHREAD_MUTEXATTR_T 1
39579 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39580 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39581 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39582 echo $ECHO_N "(cached) $ECHO_C" >&6
39585 cat >conftest.$ac_ext <<_ACEOF
39588 cat confdefs.h >>conftest.$ac_ext
39589 cat >>conftest.$ac_ext <<_ACEOF
39590 /* end confdefs.h. */
39591 #include <pthread.h>
39596 pthread_mutexattr_t attr;
39597 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39603 rm -f conftest.$ac_objext
39604 if { (ac_try="$ac_compile"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_compile") 2>conftest.er1
39612 grep -v '^ *+' conftest.er1 >conftest.err
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } && {
39617 test -z "$ac_c_werror_flag" ||
39618 test ! -s conftest.err
39619 } && test -s conftest.$ac_objext; then
39620 wx_cv_func_pthread_mutexattr_settype_decl=yes
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39625 wx_cv_func_pthread_mutexattr_settype_decl=no
39629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39632 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39633 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39634 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39635 cat >>confdefs.h <<\_ACEOF
39636 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39641 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39642 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39643 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39644 echo $ECHO_N "(cached) $ECHO_C" >&6
39647 cat >conftest.$ac_ext <<_ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653 #include <pthread.h>
39658 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39664 rm -f conftest.$ac_objext
39665 if { (ac_try="$ac_compile"
39666 case "(($ac_try" in
39667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39668 *) ac_try_echo=$ac_try;;
39670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39671 (eval "$ac_compile") 2>conftest.er1
39673 grep -v '^ *+' conftest.er1 >conftest.err
39675 cat conftest.err >&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } && {
39678 test -z "$ac_c_werror_flag" ||
39679 test ! -s conftest.err
39680 } && test -s conftest.$ac_objext; then
39682 wx_cv_type_pthread_rec_mutex_init=yes
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.$ac_ext >&5
39689 wx_cv_type_pthread_rec_mutex_init=no
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39697 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39698 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39699 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39700 cat >>confdefs.h <<\_ACEOF
39701 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39705 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39706 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39712 if test "$wxUSE_THREADS" = "yes" ; then
39715 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39716 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39717 if test "${wx_cv_cflags_mthread+set}" = set; then
39718 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 CFLAGS_OLD="$CFLAGS"
39722 CFLAGS="-mthreads $CFLAGS"
39723 cat >conftest.$ac_ext <<_ACEOF
39726 cat confdefs.h >>conftest.$ac_ext
39727 cat >>conftest.$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39738 rm -f conftest.$ac_objext
39739 if { (ac_try="$ac_compile"
39740 case "(($ac_try" in
39741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39742 *) ac_try_echo=$ac_try;;
39744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39745 (eval "$ac_compile") 2>conftest.er1
39747 grep -v '^ *+' conftest.er1 >conftest.err
39749 cat conftest.err >&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); } && {
39752 test -z "$ac_c_werror_flag" ||
39753 test ! -s conftest.err
39754 } && test -s conftest.$ac_objext; then
39755 wx_cv_cflags_mthread=yes
39757 echo "$as_me: failed program was:" >&5
39758 sed 's/^/| /' conftest.$ac_ext >&5
39760 wx_cv_cflags_mthread=no
39764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39768 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39769 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39771 if test "$wx_cv_cflags_mthread" = "yes"; then
39772 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39773 LDFLAGS="$LDFLAGS -mthreads"
39775 CFLAGS="$CFLAGS_OLD"
39779 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39780 LDFLAGS="$LDFLAGS -Zmt"
39786 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39787 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39788 if test "${ac_cv_func_localtime_r+set}" = set; then
39789 echo $ECHO_N "(cached) $ECHO_C" >&6
39791 cat >conftest.$ac_ext <<_ACEOF
39794 cat confdefs.h >>conftest.$ac_ext
39795 cat >>conftest.$ac_ext <<_ACEOF
39796 /* end confdefs.h. */
39797 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39799 #define localtime_r innocuous_localtime_r
39801 /* System header to define __stub macros and hopefully few prototypes,
39802 which can conflict with char localtime_r (); below.
39803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39804 <limits.h> exists even on freestanding compilers. */
39807 # include <limits.h>
39809 # include <assert.h>
39814 /* Override any GCC internal prototype to avoid an error.
39815 Use char because int might match the return type of a GCC
39816 builtin and then its argument prototype would still apply. */
39820 char localtime_r ();
39821 /* The GNU C library defines this for functions which it implements
39822 to always fail with ENOSYS. Some functions are actually named
39823 something starting with __ and the normal name is an alias. */
39824 #if defined __stub_localtime_r || defined __stub___localtime_r
39831 return localtime_r ();
39836 rm -f conftest.$ac_objext conftest$ac_exeext
39837 if { (ac_try="$ac_link"
39838 case "(($ac_try" in
39839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39840 *) ac_try_echo=$ac_try;;
39842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39843 (eval "$ac_link") 2>conftest.er1
39845 grep -v '^ *+' conftest.er1 >conftest.err
39847 cat conftest.err >&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); } && {
39850 test -z "$ac_c_werror_flag" ||
39851 test ! -s conftest.err
39852 } && test -s conftest$ac_exeext &&
39853 $as_test_x conftest$ac_exeext; then
39854 ac_cv_func_localtime_r=yes
39856 echo "$as_me: failed program was:" >&5
39857 sed 's/^/| /' conftest.$ac_ext >&5
39859 ac_cv_func_localtime_r=no
39862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39863 conftest$ac_exeext conftest.$ac_ext
39865 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39866 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39867 if test $ac_cv_func_localtime_r = yes; then
39868 cat >>confdefs.h <<\_ACEOF
39869 #define HAVE_LOCALTIME_R 1
39874 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39875 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39876 if test "${ac_cv_func_gmtime_r+set}" = set; then
39877 echo $ECHO_N "(cached) $ECHO_C" >&6
39879 cat >conftest.$ac_ext <<_ACEOF
39882 cat confdefs.h >>conftest.$ac_ext
39883 cat >>conftest.$ac_ext <<_ACEOF
39884 /* end confdefs.h. */
39885 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39887 #define gmtime_r innocuous_gmtime_r
39889 /* System header to define __stub macros and hopefully few prototypes,
39890 which can conflict with char gmtime_r (); below.
39891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39892 <limits.h> exists even on freestanding compilers. */
39895 # include <limits.h>
39897 # include <assert.h>
39902 /* Override any GCC internal prototype to avoid an error.
39903 Use char because int might match the return type of a GCC
39904 builtin and then its argument prototype would still apply. */
39909 /* The GNU C library defines this for functions which it implements
39910 to always fail with ENOSYS. Some functions are actually named
39911 something starting with __ and the normal name is an alias. */
39912 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39919 return gmtime_r ();
39924 rm -f conftest.$ac_objext conftest$ac_exeext
39925 if { (ac_try="$ac_link"
39926 case "(($ac_try" in
39927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39928 *) ac_try_echo=$ac_try;;
39930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39931 (eval "$ac_link") 2>conftest.er1
39933 grep -v '^ *+' conftest.er1 >conftest.err
39935 cat conftest.err >&5
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); } && {
39938 test -z "$ac_c_werror_flag" ||
39939 test ! -s conftest.err
39940 } && test -s conftest$ac_exeext &&
39941 $as_test_x conftest$ac_exeext; then
39942 ac_cv_func_gmtime_r=yes
39944 echo "$as_me: failed program was:" >&5
39945 sed 's/^/| /' conftest.$ac_ext >&5
39947 ac_cv_func_gmtime_r=no
39950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39951 conftest$ac_exeext conftest.$ac_ext
39953 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39954 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39955 if test $ac_cv_func_gmtime_r = yes; then
39956 cat >>confdefs.h <<\_ACEOF
39957 #define HAVE_GMTIME_R 1
39966 ac_cpp='$CPP $CPPFLAGS'
39967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39971 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39972 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39974 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39975 echo $ECHO_N "(cached) $ECHO_C" >&6
39979 ################################################################
39981 ac_cv_func_which_gethostbyname_r=unknown
39984 # ONE ARGUMENT (sanity check)
39987 # This should fail, as there is no variant of gethostbyname_r() that takes
39988 # a single argument. If it actually compiles, then we can assume that
39989 # netdb.h is not declaring the function, and the compiler is thereby
39990 # assuming an implicit prototype. In which case, we're out of luck.
39992 cat >conftest.$ac_ext <<_ACEOF
39995 cat confdefs.h >>conftest.$ac_ext
39996 cat >>conftest.$ac_ext <<_ACEOF
39997 /* end confdefs.h. */
40003 char *name = "www.gnu.org";
40004 (void)gethostbyname_r(name) /* ; */
40010 rm -f conftest.$ac_objext
40011 if { (ac_try="$ac_compile"
40012 case "(($ac_try" in
40013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_compile") 2>conftest.er1
40019 grep -v '^ *+' conftest.er1 >conftest.err
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest.$ac_objext; then
40027 ac_cv_func_which_gethostbyname_r=no
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40042 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40044 cat >conftest.$ac_ext <<_ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40055 char *name = "www.gnu.org";
40056 struct hostent ret, *retp;
40060 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40066 rm -f conftest.$ac_objext
40067 if { (ac_try="$ac_compile"
40068 case "(($ac_try" in
40069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40070 *) ac_try_echo=$ac_try;;
40072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40073 (eval "$ac_compile") 2>conftest.er1
40075 grep -v '^ *+' conftest.er1 >conftest.err
40077 cat conftest.err >&5
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); } && {
40080 test -z "$ac_c_werror_flag" ||
40081 test ! -s conftest.err
40082 } && test -s conftest.$ac_objext; then
40083 ac_cv_func_which_gethostbyname_r=six
40085 echo "$as_me: failed program was:" >&5
40086 sed 's/^/| /' conftest.$ac_ext >&5
40091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40100 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40102 cat >conftest.$ac_ext <<_ACEOF
40105 cat confdefs.h >>conftest.$ac_ext
40106 cat >>conftest.$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40113 char *name = "www.gnu.org";
40114 struct hostent ret;
40118 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40124 rm -f conftest.$ac_objext
40125 if { (ac_try="$ac_compile"
40126 case "(($ac_try" in
40127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40128 *) ac_try_echo=$ac_try;;
40130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40131 (eval "$ac_compile") 2>conftest.er1
40133 grep -v '^ *+' conftest.er1 >conftest.err
40135 cat conftest.err >&5
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); } && {
40138 test -z "$ac_c_werror_flag" ||
40139 test ! -s conftest.err
40140 } && test -s conftest.$ac_objext; then
40141 ac_cv_func_which_gethostbyname_r=five
40143 echo "$as_me: failed program was:" >&5
40144 sed 's/^/| /' conftest.$ac_ext >&5
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 # (e.g. AIX, HP-UX, Tru64)
40158 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40160 cat >conftest.$ac_ext <<_ACEOF
40163 cat confdefs.h >>conftest.$ac_ext
40164 cat >>conftest.$ac_ext <<_ACEOF
40165 /* end confdefs.h. */
40171 char *name = "www.gnu.org";
40172 struct hostent ret;
40173 struct hostent_data data;
40174 (void)gethostbyname_r(name, &ret, &data) /* ; */
40180 rm -f conftest.$ac_objext
40181 if { (ac_try="$ac_compile"
40182 case "(($ac_try" in
40183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40184 *) ac_try_echo=$ac_try;;
40186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40187 (eval "$ac_compile") 2>conftest.er1
40189 grep -v '^ *+' conftest.er1 >conftest.err
40191 cat conftest.err >&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } && {
40194 test -z "$ac_c_werror_flag" ||
40195 test ! -s conftest.err
40196 } && test -s conftest.$ac_objext; then
40197 ac_cv_func_which_gethostbyname_r=three
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.$ac_ext >&5
40205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40209 ################################################################
40214 case "$ac_cv_func_which_gethostbyname_r" in
40216 { echo "$as_me:$LINENO: result: three" >&5
40217 echo "${ECHO_T}three" >&6; }
40218 cat >>confdefs.h <<\_ACEOF
40219 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40225 { echo "$as_me:$LINENO: result: five" >&5
40226 echo "${ECHO_T}five" >&6; }
40227 cat >>confdefs.h <<\_ACEOF
40228 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40234 { echo "$as_me:$LINENO: result: six" >&5
40235 echo "${ECHO_T}six" >&6; }
40236 cat >>confdefs.h <<\_ACEOF
40237 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40243 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40244 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40248 { echo "$as_me:$LINENO: result: can't tell" >&5
40249 echo "${ECHO_T}can't tell" >&6; }
40253 { { echo "$as_me:$LINENO: error: internal error" >&5
40254 echo "$as_me: error: internal error" >&2;}
40255 { (exit 1); exit 1; }; }
40260 ac_cpp='$CPP $CPPFLAGS'
40261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40267 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40268 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40269 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40270 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40271 if test "${ac_cv_func_gethostbyname+set}" = set; then
40272 echo $ECHO_N "(cached) $ECHO_C" >&6
40274 cat >conftest.$ac_ext <<_ACEOF
40277 cat confdefs.h >>conftest.$ac_ext
40278 cat >>conftest.$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40280 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40282 #define gethostbyname innocuous_gethostbyname
40284 /* System header to define __stub macros and hopefully few prototypes,
40285 which can conflict with char gethostbyname (); below.
40286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40287 <limits.h> exists even on freestanding compilers. */
40290 # include <limits.h>
40292 # include <assert.h>
40295 #undef gethostbyname
40297 /* Override any GCC internal prototype to avoid an error.
40298 Use char because int might match the return type of a GCC
40299 builtin and then its argument prototype would still apply. */
40303 char gethostbyname ();
40304 /* The GNU C library defines this for functions which it implements
40305 to always fail with ENOSYS. Some functions are actually named
40306 something starting with __ and the normal name is an alias. */
40307 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40314 return gethostbyname ();
40319 rm -f conftest.$ac_objext conftest$ac_exeext
40320 if { (ac_try="$ac_link"
40321 case "(($ac_try" in
40322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40323 *) ac_try_echo=$ac_try;;
40325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40326 (eval "$ac_link") 2>conftest.er1
40328 grep -v '^ *+' conftest.er1 >conftest.err
40330 cat conftest.err >&5
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); } && {
40333 test -z "$ac_c_werror_flag" ||
40334 test ! -s conftest.err
40335 } && test -s conftest$ac_exeext &&
40336 $as_test_x conftest$ac_exeext; then
40337 ac_cv_func_gethostbyname=yes
40339 echo "$as_me: failed program was:" >&5
40340 sed 's/^/| /' conftest.$ac_ext >&5
40342 ac_cv_func_gethostbyname=no
40345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40346 conftest$ac_exeext conftest.$ac_ext
40348 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40349 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40350 if test $ac_cv_func_gethostbyname = yes; then
40351 cat >>confdefs.h <<\_ACEOF
40352 #define HAVE_GETHOSTBYNAME 1
40359 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40360 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40361 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40362 echo $ECHO_N "(cached) $ECHO_C" >&6
40366 ac_cpp='$CXXCPP $CPPFLAGS'
40367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40372 cat >conftest.$ac_ext <<_ACEOF
40375 cat confdefs.h >>conftest.$ac_ext
40376 cat >>conftest.$ac_ext <<_ACEOF
40377 /* end confdefs.h. */
40385 struct servent *se, *res;
40388 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40394 rm -f conftest.$ac_objext
40395 if { (ac_try="$ac_compile"
40396 case "(($ac_try" in
40397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40398 *) ac_try_echo=$ac_try;;
40400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40401 (eval "$ac_compile") 2>conftest.er1
40403 grep -v '^ *+' conftest.er1 >conftest.err
40405 cat conftest.err >&5
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); } && {
40408 test -z "$ac_cxx_werror_flag" ||
40409 test ! -s conftest.err
40410 } && test -s conftest.$ac_objext; then
40411 ac_cv_func_which_getservbyname_r=six
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40417 cat >conftest.$ac_ext <<_ACEOF
40420 cat confdefs.h >>conftest.$ac_ext
40421 cat >>conftest.$ac_ext <<_ACEOF
40422 /* end confdefs.h. */
40430 struct servent *se;
40433 (void) getservbyname_r(name, proto, se, buffer, buflen)
40439 rm -f conftest.$ac_objext
40440 if { (ac_try="$ac_compile"
40441 case "(($ac_try" in
40442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40443 *) ac_try_echo=$ac_try;;
40445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40446 (eval "$ac_compile") 2>conftest.er1
40448 grep -v '^ *+' conftest.er1 >conftest.err
40450 cat conftest.err >&5
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); } && {
40453 test -z "$ac_cxx_werror_flag" ||
40454 test ! -s conftest.err
40455 } && test -s conftest.$ac_objext; then
40456 ac_cv_func_which_getservbyname_r=five
40458 echo "$as_me: failed program was:" >&5
40459 sed 's/^/| /' conftest.$ac_ext >&5
40462 cat >conftest.$ac_ext <<_ACEOF
40465 cat confdefs.h >>conftest.$ac_ext
40466 cat >>conftest.$ac_ext <<_ACEOF
40467 /* end confdefs.h. */
40475 struct servent *se;
40476 struct servent_data data;
40477 (void) getservbyname_r(name, proto, se, &data);
40483 rm -f conftest.$ac_objext
40484 if { (ac_try="$ac_compile"
40485 case "(($ac_try" in
40486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40487 *) ac_try_echo=$ac_try;;
40489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40490 (eval "$ac_compile") 2>conftest.er1
40492 grep -v '^ *+' conftest.er1 >conftest.err
40494 cat conftest.err >&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); } && {
40497 test -z "$ac_cxx_werror_flag" ||
40498 test ! -s conftest.err
40499 } && test -s conftest.$ac_objext; then
40500 ac_cv_func_which_getservbyname_r=four
40502 echo "$as_me: failed program was:" >&5
40503 sed 's/^/| /' conftest.$ac_ext >&5
40505 ac_cv_func_which_getservbyname_r=no
40509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40529 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40530 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40532 if test $ac_cv_func_which_getservbyname_r = six; then
40533 cat >>confdefs.h <<\_ACEOF
40534 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40537 elif test $ac_cv_func_which_getservbyname_r = five; then
40538 cat >>confdefs.h <<\_ACEOF
40539 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40542 elif test $ac_cv_func_which_getservbyname_r = four; then
40543 cat >>confdefs.h <<\_ACEOF
40544 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40550 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40551 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40553 for ac_func in getservbyname
40555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40559 echo $ECHO_N "(cached) $ECHO_C" >&6
40561 cat >conftest.$ac_ext <<_ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40569 #define $ac_func innocuous_$ac_func
40571 /* System header to define __stub macros and hopefully few prototypes,
40572 which can conflict with char $ac_func (); below.
40573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40574 <limits.h> exists even on freestanding compilers. */
40577 # include <limits.h>
40579 # include <assert.h>
40584 /* Override any GCC internal prototype to avoid an error.
40585 Use char because int might match the return type of a GCC
40586 builtin and then its argument prototype would still apply. */
40591 /* The GNU C library defines this for functions which it implements
40592 to always fail with ENOSYS. Some functions are actually named
40593 something starting with __ and the normal name is an alias. */
40594 #if defined __stub_$ac_func || defined __stub___$ac_func
40601 return $ac_func ();
40606 rm -f conftest.$ac_objext conftest$ac_exeext
40607 if { (ac_try="$ac_link"
40608 case "(($ac_try" in
40609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40610 *) ac_try_echo=$ac_try;;
40612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40613 (eval "$ac_link") 2>conftest.er1
40615 grep -v '^ *+' conftest.er1 >conftest.err
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } && {
40620 test -z "$ac_c_werror_flag" ||
40621 test ! -s conftest.err
40622 } && test -s conftest$ac_exeext &&
40623 $as_test_x conftest$ac_exeext; then
40624 eval "$as_ac_var=yes"
40626 echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40629 eval "$as_ac_var=no"
40632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40633 conftest$ac_exeext conftest.$ac_ext
40635 ac_res=`eval echo '${'$as_ac_var'}'`
40636 { echo "$as_me:$LINENO: result: $ac_res" >&5
40637 echo "${ECHO_T}$ac_res" >&6; }
40638 if test `eval echo '${'$as_ac_var'}'` = yes; then
40639 cat >>confdefs.h <<_ACEOF
40640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40642 cat >>confdefs.h <<\_ACEOF
40643 #define HAVE_GETSERVBYNAME 1
40651 if test "$wxUSE_THREADS" = "yes"; then
40652 cat >>confdefs.h <<\_ACEOF
40653 #define wxUSE_THREADS 1
40657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40659 if test "$wx_cv_func_strtok_r" = "yes"; then
40660 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40661 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40662 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40663 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40664 { echo "$as_me:$LINENO: result: yes" >&5
40665 echo "${ECHO_T}yes" >&6; }
40667 { echo "$as_me:$LINENO: result: no" >&5
40668 echo "${ECHO_T}no" >&6; }
40673 if test "$WXGTK2" = 1 ; then
40674 cat >>confdefs.h <<_ACEOF
40675 #define __WXGTK20__ $WXGTK2
40681 if test "$WXGTK12" = 1 ; then
40682 cat >>confdefs.h <<_ACEOF
40683 #define __WXGTK12__ $WXGTK12
40688 if test "$WXGTK127" = 1 ; then
40689 cat >>confdefs.h <<_ACEOF
40690 #define __WXGTK127__ $WXGTK127
40695 if test "$WXGPE" = 1 ; then
40696 cat >>confdefs.h <<_ACEOF
40697 #define __WXGPE__ $WXGPE
40703 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40708 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40709 wxUSE_DEBUG_INFO=yes
40710 if test "$GCC" = yes; then
40711 DEBUG_CFLAGS="-ggdb"
40715 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40716 cat >>confdefs.h <<\_ACEOF
40720 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40722 if test "$wxUSE_GTK" = 1 ; then
40723 if test "x$wxGTK_VERSION" = "x1" ; then
40724 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40729 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40730 cat >>confdefs.h <<\_ACEOF
40731 #define wxUSE_MEMORY_TRACING 1
40734 cat >>confdefs.h <<\_ACEOF
40735 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40738 cat >>confdefs.h <<\_ACEOF
40739 #define wxUSE_DEBUG_NEW_ALWAYS 1
40742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40745 if test "$wxUSE_DMALLOC" = "yes" ; then
40746 DMALLOC_LIBS="-ldmallocthcxx"
40750 if test "$wxUSE_PROFILE" = "yes" ; then
40751 PROFILE_FLAGS=" -pg"
40754 if test "$GCC" = "yes" ; then
40755 if test "$wxUSE_NO_RTTI" = "yes" ; then
40756 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40758 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40759 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40761 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40762 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40767 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40770 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40776 if test "$wxUSE_OPTIMISE" = "no" ; then
40777 if test "$GCC" = yes ; then
40778 OPTIMISE_CFLAGS="-O0"
40781 if test "$GCC" = yes ; then
40783 *-pc-os2_emx | *-pc-os2-emx )
40784 OPTIMISE_CFLAGS="-O2"
40787 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40791 OPTIMISE_CFLAGS="-O"
40796 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40797 cat >>confdefs.h <<\_ACEOF
40798 #define WXWIN_COMPATIBILITY_2_6 1
40802 WXWIN_COMPATIBILITY_2_8="yes"
40805 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40806 cat >>confdefs.h <<\_ACEOF
40807 #define WXWIN_COMPATIBILITY_2_8 1
40813 if test "$wxUSE_GUI" = "yes"; then
40814 cat >>confdefs.h <<\_ACEOF
40815 #define wxUSE_GUI 1
40822 if test "$wxUSE_UNIX" = "yes"; then
40823 cat >>confdefs.h <<\_ACEOF
40824 #define wxUSE_UNIX 1
40830 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40834 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40835 if test "$USE_DARWIN" = 1; then
40837 elif test "$USE_DOS" = 1; then
40841 for ac_func in dlopen
40843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40849 cat >conftest.$ac_ext <<_ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define $ac_func innocuous_$ac_func
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char $ac_func (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40865 # include <limits.h>
40867 # include <assert.h>
40872 /* Override any GCC internal prototype to avoid an error.
40873 Use char because int might match the return type of a GCC
40874 builtin and then its argument prototype would still apply. */
40879 /* The GNU C library defines this for functions which it implements
40880 to always fail with ENOSYS. Some functions are actually named
40881 something starting with __ and the normal name is an alias. */
40882 #if defined __stub_$ac_func || defined __stub___$ac_func
40889 return $ac_func ();
40894 rm -f conftest.$ac_objext conftest$ac_exeext
40895 if { (ac_try="$ac_link"
40896 case "(($ac_try" in
40897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40898 *) ac_try_echo=$ac_try;;
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_link") 2>conftest.er1
40903 grep -v '^ *+' conftest.er1 >conftest.err
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest$ac_exeext &&
40911 $as_test_x conftest$ac_exeext; then
40912 eval "$as_ac_var=yes"
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.$ac_ext >&5
40917 eval "$as_ac_var=no"
40920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40921 conftest$ac_exeext conftest.$ac_ext
40923 ac_res=`eval echo '${'$as_ac_var'}'`
40924 { echo "$as_me:$LINENO: result: $ac_res" >&5
40925 echo "${ECHO_T}$ac_res" >&6; }
40926 if test `eval echo '${'$as_ac_var'}'` = yes; then
40927 cat >>confdefs.h <<_ACEOF
40928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40931 cat >>confdefs.h <<\_ACEOF
40932 #define HAVE_DLOPEN 1
40939 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40940 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40941 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 ac_check_lib_save_LIBS=$LIBS
40946 cat >conftest.$ac_ext <<_ACEOF
40949 cat confdefs.h >>conftest.$ac_ext
40950 cat >>conftest.$ac_ext <<_ACEOF
40951 /* end confdefs.h. */
40953 /* Override any GCC internal prototype to avoid an error.
40954 Use char because int might match the return type of a GCC
40955 builtin and then its argument prototype would still apply. */
40968 rm -f conftest.$ac_objext conftest$ac_exeext
40969 if { (ac_try="$ac_link"
40970 case "(($ac_try" in
40971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40972 *) ac_try_echo=$ac_try;;
40974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40975 (eval "$ac_link") 2>conftest.er1
40977 grep -v '^ *+' conftest.er1 >conftest.err
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } && {
40982 test -z "$ac_c_werror_flag" ||
40983 test ! -s conftest.err
40984 } && test -s conftest$ac_exeext &&
40985 $as_test_x conftest$ac_exeext; then
40986 ac_cv_lib_dl_dlopen=yes
40988 echo "$as_me: failed program was:" >&5
40989 sed 's/^/| /' conftest.$ac_ext >&5
40991 ac_cv_lib_dl_dlopen=no
40994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40995 conftest$ac_exeext conftest.$ac_ext
40996 LIBS=$ac_check_lib_save_LIBS
40998 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40999 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41000 if test $ac_cv_lib_dl_dlopen = yes; then
41002 cat >>confdefs.h <<\_ACEOF
41003 #define HAVE_DLOPEN 1
41007 DL_LINK=" -ldl$DL_LINK"
41012 for ac_func in shl_load
41014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41018 echo $ECHO_N "(cached) $ECHO_C" >&6
41020 cat >conftest.$ac_ext <<_ACEOF
41023 cat confdefs.h >>conftest.$ac_ext
41024 cat >>conftest.$ac_ext <<_ACEOF
41025 /* end confdefs.h. */
41026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41028 #define $ac_func innocuous_$ac_func
41030 /* System header to define __stub macros and hopefully few prototypes,
41031 which can conflict with char $ac_func (); below.
41032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41033 <limits.h> exists even on freestanding compilers. */
41036 # include <limits.h>
41038 # include <assert.h>
41043 /* Override any GCC internal prototype to avoid an error.
41044 Use char because int might match the return type of a GCC
41045 builtin and then its argument prototype would still apply. */
41050 /* The GNU C library defines this for functions which it implements
41051 to always fail with ENOSYS. Some functions are actually named
41052 something starting with __ and the normal name is an alias. */
41053 #if defined __stub_$ac_func || defined __stub___$ac_func
41060 return $ac_func ();
41065 rm -f conftest.$ac_objext conftest$ac_exeext
41066 if { (ac_try="$ac_link"
41067 case "(($ac_try" in
41068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41069 *) ac_try_echo=$ac_try;;
41071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41072 (eval "$ac_link") 2>conftest.er1
41074 grep -v '^ *+' conftest.er1 >conftest.err
41076 cat conftest.err >&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); } && {
41079 test -z "$ac_c_werror_flag" ||
41080 test ! -s conftest.err
41081 } && test -s conftest$ac_exeext &&
41082 $as_test_x conftest$ac_exeext; then
41083 eval "$as_ac_var=yes"
41085 echo "$as_me: failed program was:" >&5
41086 sed 's/^/| /' conftest.$ac_ext >&5
41088 eval "$as_ac_var=no"
41091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41092 conftest$ac_exeext conftest.$ac_ext
41094 ac_res=`eval echo '${'$as_ac_var'}'`
41095 { echo "$as_me:$LINENO: result: $ac_res" >&5
41096 echo "${ECHO_T}$ac_res" >&6; }
41097 if test `eval echo '${'$as_ac_var'}'` = yes; then
41098 cat >>confdefs.h <<_ACEOF
41099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_SHL_LOAD 1
41110 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41111 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41112 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41115 ac_check_lib_save_LIBS=$LIBS
41116 LIBS="-lshl_load $LIBS"
41117 cat >conftest.$ac_ext <<_ACEOF
41120 cat confdefs.h >>conftest.$ac_ext
41121 cat >>conftest.$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41124 /* Override any GCC internal prototype to avoid an error.
41125 Use char because int might match the return type of a GCC
41126 builtin and then its argument prototype would still apply. */
41139 rm -f conftest.$ac_objext conftest$ac_exeext
41140 if { (ac_try="$ac_link"
41141 case "(($ac_try" in
41142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41143 *) ac_try_echo=$ac_try;;
41145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41146 (eval "$ac_link") 2>conftest.er1
41148 grep -v '^ *+' conftest.er1 >conftest.err
41150 cat conftest.err >&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } && {
41153 test -z "$ac_c_werror_flag" ||
41154 test ! -s conftest.err
41155 } && test -s conftest$ac_exeext &&
41156 $as_test_x conftest$ac_exeext; then
41157 ac_cv_lib_shl_load_dld=yes
41159 echo "$as_me: failed program was:" >&5
41160 sed 's/^/| /' conftest.$ac_ext >&5
41162 ac_cv_lib_shl_load_dld=no
41165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41166 conftest$ac_exeext conftest.$ac_ext
41167 LIBS=$ac_check_lib_save_LIBS
41169 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41170 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41171 if test $ac_cv_lib_shl_load_dld = yes; then
41174 DL_LINK=" -ldld$DL_LINK"
41190 if test "$HAVE_DL_FUNCS" = 1; then
41192 for ac_func in dlerror
41194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41195 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41197 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41198 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 cat >conftest.$ac_ext <<_ACEOF
41203 cat confdefs.h >>conftest.$ac_ext
41204 cat >>conftest.$ac_ext <<_ACEOF
41205 /* end confdefs.h. */
41206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41208 #define $ac_func innocuous_$ac_func
41210 /* System header to define __stub macros and hopefully few prototypes,
41211 which can conflict with char $ac_func (); below.
41212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41213 <limits.h> exists even on freestanding compilers. */
41216 # include <limits.h>
41218 # include <assert.h>
41223 /* Override any GCC internal prototype to avoid an error.
41224 Use char because int might match the return type of a GCC
41225 builtin and then its argument prototype would still apply. */
41230 /* The GNU C library defines this for functions which it implements
41231 to always fail with ENOSYS. Some functions are actually named
41232 something starting with __ and the normal name is an alias. */
41233 #if defined __stub_$ac_func || defined __stub___$ac_func
41240 return $ac_func ();
41245 rm -f conftest.$ac_objext conftest$ac_exeext
41246 if { (ac_try="$ac_link"
41247 case "(($ac_try" in
41248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41249 *) ac_try_echo=$ac_try;;
41251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41252 (eval "$ac_link") 2>conftest.er1
41254 grep -v '^ *+' conftest.er1 >conftest.err
41256 cat conftest.err >&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); } && {
41259 test -z "$ac_c_werror_flag" ||
41260 test ! -s conftest.err
41261 } && test -s conftest$ac_exeext &&
41262 $as_test_x conftest$ac_exeext; then
41263 eval "$as_ac_var=yes"
41265 echo "$as_me: failed program was:" >&5
41266 sed 's/^/| /' conftest.$ac_ext >&5
41268 eval "$as_ac_var=no"
41271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41272 conftest$ac_exeext conftest.$ac_ext
41274 ac_res=`eval echo '${'$as_ac_var'}'`
41275 { echo "$as_me:$LINENO: result: $ac_res" >&5
41276 echo "${ECHO_T}$ac_res" >&6; }
41277 if test `eval echo '${'$as_ac_var'}'` = yes; then
41278 cat >>confdefs.h <<_ACEOF
41279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41281 cat >>confdefs.h <<\_ACEOF
41282 #define HAVE_DLERROR 1
41287 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41288 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41289 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41290 echo $ECHO_N "(cached) $ECHO_C" >&6
41292 ac_check_lib_save_LIBS=$LIBS
41294 cat >conftest.$ac_ext <<_ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41301 /* Override any GCC internal prototype to avoid an error.
41302 Use char because int might match the return type of a GCC
41303 builtin and then its argument prototype would still apply. */
41316 rm -f conftest.$ac_objext conftest$ac_exeext
41317 if { (ac_try="$ac_link"
41318 case "(($ac_try" in
41319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41320 *) ac_try_echo=$ac_try;;
41322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41323 (eval "$ac_link") 2>conftest.er1
41325 grep -v '^ *+' conftest.er1 >conftest.err
41327 cat conftest.err >&5
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); } && {
41330 test -z "$ac_c_werror_flag" ||
41331 test ! -s conftest.err
41332 } && test -s conftest$ac_exeext &&
41333 $as_test_x conftest$ac_exeext; then
41334 ac_cv_lib_dl_dlerror=yes
41336 echo "$as_me: failed program was:" >&5
41337 sed 's/^/| /' conftest.$ac_ext >&5
41339 ac_cv_lib_dl_dlerror=no
41342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41343 conftest$ac_exeext conftest.$ac_ext
41344 LIBS=$ac_check_lib_save_LIBS
41346 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41347 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41348 if test $ac_cv_lib_dl_dlerror = yes; then
41349 cat >>confdefs.h <<\_ACEOF
41350 #define HAVE_DLERROR 1
41363 if test "$HAVE_DL_FUNCS" = 0; then
41364 if test "$HAVE_SHL_FUNCS" = 0; then
41365 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41366 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41367 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41368 wxUSE_DYNAMIC_LOADER=no
41369 wxUSE_DYNLIB_CLASS=no
41371 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41372 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41379 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41380 cat >>confdefs.h <<\_ACEOF
41381 #define wxUSE_DYNAMIC_LOADER 1
41385 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41386 cat >>confdefs.h <<\_ACEOF
41387 #define wxUSE_DYNLIB_CLASS 1
41394 if test "$wxUSE_PLUGINS" = "yes" ; then
41395 if test "$wxUSE_SHARED" = "no" ; then
41396 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41397 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41400 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41401 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41402 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41405 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41406 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41407 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41410 if test "$wxUSE_PLUGINS" = "yes" ; then
41411 cat >>confdefs.h <<\_ACEOF
41412 #define wxUSE_PLUGINS 1
41419 if test "$wxUSE_STL" = "yes"; then
41420 cat >>confdefs.h <<\_ACEOF
41421 #define wxUSE_STL 1
41426 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41427 cat >>confdefs.h <<\_ACEOF
41428 #define wxUSE_EXTENDED_RTTI 1
41433 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41434 cat >>confdefs.h <<\_ACEOF
41435 #define wxUSE_APPLE_IEEE 1
41440 if test "$wxUSE_TIMER" = "yes"; then
41441 cat >>confdefs.h <<\_ACEOF
41442 #define wxUSE_TIMER 1
41447 if test "$USE_UNIX" = 1 ; then
41448 if test "$wxUSE_MGL" != 1; then
41449 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41450 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41451 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41452 echo $ECHO_N "(cached) $ECHO_C" >&6
41455 cat >conftest.$ac_ext <<_ACEOF
41458 cat confdefs.h >>conftest.$ac_ext
41459 cat >>conftest.$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41462 #include <sys/ioctl.h>
41463 #include <sys/soundcard.h>
41469 ioctl(0, SNDCTL_DSP_SPEED, 0);
41475 rm -f conftest.$ac_objext conftest$ac_exeext
41476 if { (ac_try="$ac_link"
41477 case "(($ac_try" in
41478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41479 *) ac_try_echo=$ac_try;;
41481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41482 (eval "$ac_link") 2>conftest.er1
41484 grep -v '^ *+' conftest.er1 >conftest.err
41486 cat conftest.err >&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); } && {
41489 test -z "$ac_c_werror_flag" ||
41490 test ! -s conftest.err
41491 } && test -s conftest$ac_exeext &&
41492 $as_test_x conftest$ac_exeext; then
41493 ac_cv_header_sys_soundcard=yes
41495 echo "$as_me: failed program was:" >&5
41496 sed 's/^/| /' conftest.$ac_ext >&5
41500 LIBS="$saveLibs -lossaudio"
41501 cat >conftest.$ac_ext <<_ACEOF
41504 cat confdefs.h >>conftest.$ac_ext
41505 cat >>conftest.$ac_ext <<_ACEOF
41506 /* end confdefs.h. */
41508 #include <sys/ioctl.h>
41509 #include <sys/soundcard.h>
41515 ioctl(0, SNDCTL_DSP_SPEED, 0);
41521 rm -f conftest.$ac_objext conftest$ac_exeext
41522 if { (ac_try="$ac_link"
41523 case "(($ac_try" in
41524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41525 *) ac_try_echo=$ac_try;;
41527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41528 (eval "$ac_link") 2>conftest.er1
41530 grep -v '^ *+' conftest.er1 >conftest.err
41532 cat conftest.err >&5
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); } && {
41535 test -z "$ac_c_werror_flag" ||
41536 test ! -s conftest.err
41537 } && test -s conftest$ac_exeext &&
41538 $as_test_x conftest$ac_exeext; then
41539 ac_cv_header_sys_soundcard=yes
41541 echo "$as_me: failed program was:" >&5
41542 sed 's/^/| /' conftest.$ac_ext >&5
41546 ac_cv_header_sys_soundcard=no
41551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41552 conftest$ac_exeext conftest.$ac_ext
41557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41558 conftest$ac_exeext conftest.$ac_ext
41561 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41562 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41565 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41566 cat >>confdefs.h <<\_ACEOF
41567 #define HAVE_SYS_SOUNDCARD_H 1
41574 if test "$wxUSE_SOUND" = "yes"; then
41575 if test "$USE_UNIX" = 1 ; then
41576 if test "$wxUSE_LIBSDL" != "no"; then
41578 # Check whether --with-sdl-prefix was given.
41579 if test "${with_sdl_prefix+set}" = set; then
41580 withval=$with_sdl_prefix; sdl_prefix="$withval"
41586 # Check whether --with-sdl-exec-prefix was given.
41587 if test "${with_sdl_exec_prefix+set}" = set; then
41588 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41593 # Check whether --enable-sdltest was given.
41594 if test "${enable_sdltest+set}" = set; then
41595 enableval=$enable_sdltest;
41601 if test x$sdl_exec_prefix != x ; then
41602 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41603 if test x${SDL_CONFIG+set} != xset ; then
41604 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41607 if test x$sdl_prefix != x ; then
41608 sdl_args="$sdl_args --prefix=$sdl_prefix"
41609 if test x${SDL_CONFIG+set} != xset ; then
41610 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41614 if test "x$prefix" != xNONE; then
41615 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41617 # Extract the first word of "sdl-config", so it can be a program name with args.
41618 set dummy sdl-config; ac_word=$2
41619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41621 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41622 echo $ECHO_N "(cached) $ECHO_C" >&6
41624 case $SDL_CONFIG in
41626 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41630 for as_dir in $PATH
41633 test -z "$as_dir" && as_dir=.
41634 for ac_exec_ext in '' $ac_executable_extensions; do
41635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41636 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41644 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41648 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41649 if test -n "$SDL_CONFIG"; then
41650 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41651 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41653 { echo "$as_me:$LINENO: result: no" >&5
41654 echo "${ECHO_T}no" >&6; }
41658 min_sdl_version=1.2.0
41659 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41660 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41662 if test "$SDL_CONFIG" = "no" ; then
41665 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41666 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41668 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41670 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41672 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41674 if test "x$enable_sdltest" = "xyes" ; then
41675 ac_save_CFLAGS="$CFLAGS"
41676 ac_save_CXXFLAGS="$CXXFLAGS"
41677 ac_save_LIBS="$LIBS"
41678 CFLAGS="$CFLAGS $SDL_CFLAGS"
41679 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41680 LIBS="$LIBS $SDL_LIBS"
41682 if test "$cross_compiling" = yes; then
41683 echo $ac_n "cross compiling; assumed OK... $ac_c"
41685 cat >conftest.$ac_ext <<_ACEOF
41688 cat confdefs.h >>conftest.$ac_ext
41689 cat >>conftest.$ac_ext <<_ACEOF
41690 /* end confdefs.h. */
41693 #include <stdlib.h>
41694 #include <string.h>
41698 my_strdup (char *str)
41704 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41705 strcpy (new_str, str);
41713 int main (int argc, char *argv[])
41715 int major, minor, micro;
41718 /* This hangs on some systems (?)
41719 system ("touch conf.sdltest");
41721 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41723 /* HP/UX 9 (%@#!) writes to sscanf strings */
41724 tmp_version = my_strdup("$min_sdl_version");
41725 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41726 printf("%s, bad version string\n", "$min_sdl_version");
41730 if (($sdl_major_version > major) ||
41731 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41732 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41738 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41739 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41740 printf("*** best to upgrade to the required version.\n");
41741 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41742 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41743 printf("*** config.cache before re-running configure\n");
41750 rm -f conftest$ac_exeext
41751 if { (ac_try="$ac_link"
41752 case "(($ac_try" in
41753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41754 *) ac_try_echo=$ac_try;;
41756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41757 (eval "$ac_link") 2>&5
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41761 { (case "(($ac_try" in
41762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41763 *) ac_try_echo=$ac_try;;
41765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41766 (eval "$ac_try") 2>&5
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); }; }; then
41772 echo "$as_me: program exited with status $ac_status" >&5
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41776 ( exit $ac_status )
41779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41783 CFLAGS="$ac_save_CFLAGS"
41784 CXXFLAGS="$ac_save_CXXFLAGS"
41785 LIBS="$ac_save_LIBS"
41788 if test "x$no_sdl" = x ; then
41789 { echo "$as_me:$LINENO: result: yes" >&5
41790 echo "${ECHO_T}yes" >&6; }
41792 EXTRALIBS_SDL="$SDL_LIBS"
41793 CFLAGS="$SDL_CFLAGS $CFLAGS"
41794 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41795 cat >>confdefs.h <<\_ACEOF
41796 #define wxUSE_LIBSDL 1
41801 { echo "$as_me:$LINENO: result: no" >&5
41802 echo "${ECHO_T}no" >&6; }
41803 if test "$SDL_CONFIG" = "no" ; then
41804 echo "*** The sdl-config script installed by SDL could not be found"
41805 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41806 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41807 echo "*** full path to sdl-config."
41809 if test -f conf.sdltest ; then
41812 echo "*** Could not run SDL test program, checking why..."
41813 CFLAGS="$CFLAGS $SDL_CFLAGS"
41814 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41815 LIBS="$LIBS $SDL_LIBS"
41816 cat >conftest.$ac_ext <<_ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41826 int main(int argc, char *argv[])
41829 #define main K_and_R_C_main
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 echo "*** The test program compiled, but did not run. This usually means"
41858 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41859 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41860 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41861 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41862 echo "*** is required on your system"
41864 echo "*** If you have an old version installed, it is best to remove it, although"
41865 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.$ac_ext >&5
41870 echo "*** The test program failed to compile or link. See the file config.log for the"
41871 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41872 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41873 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41877 conftest$ac_exeext conftest.$ac_ext
41878 CFLAGS="$ac_save_CFLAGS"
41879 CXXFLAGS="$ac_save_CXXFLAGS"
41880 LIBS="$ac_save_LIBS"
41891 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41896 if test "$wxUSE_MGL" = 1; then
41897 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41898 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41904 if test "$wxUSE_SOUND" = "yes"; then
41905 cat >>confdefs.h <<\_ACEOF
41906 #define wxUSE_SOUND 1
41909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41912 if test "$WXGTK2" = 1; then
41915 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41916 if test -n "$ac_tool_prefix"; then
41917 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41918 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41921 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41922 echo $ECHO_N "(cached) $ECHO_C" >&6
41924 case $PKG_CONFIG in
41926 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41930 for as_dir in $PATH
41933 test -z "$as_dir" && as_dir=.
41934 for ac_exec_ext in '' $ac_executable_extensions; do
41935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41936 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41947 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41948 if test -n "$PKG_CONFIG"; then
41949 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41950 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41952 { echo "$as_me:$LINENO: result: no" >&5
41953 echo "${ECHO_T}no" >&6; }
41958 if test -z "$ac_cv_path_PKG_CONFIG"; then
41959 ac_pt_PKG_CONFIG=$PKG_CONFIG
41960 # Extract the first word of "pkg-config", so it can be a program name with args.
41961 set dummy pkg-config; ac_word=$2
41962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41964 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41965 echo $ECHO_N "(cached) $ECHO_C" >&6
41967 case $ac_pt_PKG_CONFIG in
41969 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41973 for as_dir in $PATH
41976 test -z "$as_dir" && as_dir=.
41977 for ac_exec_ext in '' $ac_executable_extensions; do
41978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41979 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41990 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41991 if test -n "$ac_pt_PKG_CONFIG"; then
41992 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41993 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41995 { echo "$as_me:$LINENO: result: no" >&5
41996 echo "${ECHO_T}no" >&6; }
41999 if test "x$ac_pt_PKG_CONFIG" = x; then
42002 case $cross_compiling:$ac_tool_warned in
42004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42005 whose name does not start with the host triplet. If you think this
42006 configuration is useful to you, please write to autoconf@gnu.org." >&5
42007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42008 whose name does not start with the host triplet. If you think this
42009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42010 ac_tool_warned=yes ;;
42012 PKG_CONFIG=$ac_pt_PKG_CONFIG
42015 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42019 if test -n "$PKG_CONFIG"; then
42020 _pkg_min_version=0.9.0
42021 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42022 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42023 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42024 { echo "$as_me:$LINENO: result: yes" >&5
42025 echo "${ECHO_T}yes" >&6; }
42027 { echo "$as_me:$LINENO: result: no" >&5
42028 echo "${ECHO_T}no" >&6; }
42034 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42036 if test "$wxUSE_GTKPRINT" = "yes" ; then
42040 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42041 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42043 if test -n "$PKG_CONFIG"; then
42044 if test -n "$GTKPRINT_CFLAGS"; then
42045 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42047 if test -n "$PKG_CONFIG" && \
42048 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42049 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; then
42053 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42061 if test -n "$PKG_CONFIG"; then
42062 if test -n "$GTKPRINT_LIBS"; then
42063 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42065 if test -n "$PKG_CONFIG" && \
42066 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42067 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; then
42071 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42082 if test $pkg_failed = yes; then
42084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42085 _pkg_short_errors_supported=yes
42087 _pkg_short_errors_supported=no
42089 if test $_pkg_short_errors_supported = yes; then
42090 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42092 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42094 # Put the nasty error message in config.log where it belongs
42095 echo "$GTKPRINT_PKG_ERRORS" >&5
42098 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42099 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42100 wxUSE_GTKPRINT="no"
42103 elif test $pkg_failed = untried; then
42105 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42106 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42107 wxUSE_GTKPRINT="no"
42111 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42112 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42113 { echo "$as_me:$LINENO: result: yes" >&5
42114 echo "${ECHO_T}yes" >&6; }
42116 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42117 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42118 cat >>confdefs.h <<\_ACEOF
42119 #define wxUSE_GTKPRINT 1
42126 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42130 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42131 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42133 if test -n "$PKG_CONFIG"; then
42134 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42135 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42137 if test -n "$PKG_CONFIG" && \
42138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42139 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); }; then
42143 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42151 if test -n "$PKG_CONFIG"; then
42152 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42153 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42155 if test -n "$PKG_CONFIG" && \
42156 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42157 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; then
42161 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42172 if test $pkg_failed = yes; then
42174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42175 _pkg_short_errors_supported=yes
42177 _pkg_short_errors_supported=no
42179 if test $_pkg_short_errors_supported = yes; then
42180 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42182 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42184 # Put the nasty error message in config.log where it belongs
42185 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42188 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42189 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42190 wxUSE_LIBGNOMEPRINT="no"
42193 elif test $pkg_failed = untried; then
42195 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42196 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42197 wxUSE_LIBGNOMEPRINT="no"
42201 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42202 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42203 { echo "$as_me:$LINENO: result: yes" >&5
42204 echo "${ECHO_T}yes" >&6; }
42206 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42207 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42208 cat >>confdefs.h <<\_ACEOF
42209 #define wxUSE_LIBGNOMEPRINT 1
42217 if test "$wxUSE_MIMETYPE" = "yes" ; then
42218 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42222 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42223 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42225 if test -n "$PKG_CONFIG"; then
42226 if test -n "$GNOMEVFS_CFLAGS"; then
42227 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42229 if test -n "$PKG_CONFIG" && \
42230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42231 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); }; then
42235 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42243 if test -n "$PKG_CONFIG"; then
42244 if test -n "$GNOMEVFS_LIBS"; then
42245 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42247 if test -n "$PKG_CONFIG" && \
42248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42249 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); }; then
42253 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42264 if test $pkg_failed = yes; then
42266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42267 _pkg_short_errors_supported=yes
42269 _pkg_short_errors_supported=no
42271 if test $_pkg_short_errors_supported = yes; then
42272 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42274 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42276 # Put the nasty error message in config.log where it belongs
42277 echo "$GNOMEVFS_PKG_ERRORS" >&5
42280 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42281 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42282 wxUSE_LIBGNOMEVFS="no"
42285 elif test $pkg_failed = untried; then
42287 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42288 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42289 wxUSE_LIBGNOMEVFS="no"
42293 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42294 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42295 { echo "$as_me:$LINENO: result: yes" >&5
42296 echo "${ECHO_T}yes" >&6; }
42298 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42299 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42300 cat >>confdefs.h <<\_ACEOF
42301 #define wxUSE_LIBGNOMEVFS 1
42309 if test "$wxUSE_LIBHILDON" = "yes" ; then
42312 { echo "$as_me:$LINENO: checking for HILDON" >&5
42313 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42315 if test -n "$PKG_CONFIG"; then
42316 if test -n "$HILDON_CFLAGS"; then
42317 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42319 if test -n "$PKG_CONFIG" && \
42320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42321 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324 (exit $ac_status); }; then
42325 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42333 if test -n "$PKG_CONFIG"; then
42334 if test -n "$HILDON_LIBS"; then
42335 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42337 if test -n "$PKG_CONFIG" && \
42338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42339 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); }; then
42343 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42354 if test $pkg_failed = yes; then
42356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42357 _pkg_short_errors_supported=yes
42359 _pkg_short_errors_supported=no
42361 if test $_pkg_short_errors_supported = yes; then
42362 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42364 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42366 # Put the nasty error message in config.log where it belongs
42367 echo "$HILDON_PKG_ERRORS" >&5
42370 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42371 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42372 wxUSE_LIBHILDON="no"
42375 elif test $pkg_failed = untried; then
42377 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42378 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42379 wxUSE_LIBHILDON="no"
42383 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42384 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42385 { echo "$as_me:$LINENO: result: yes" >&5
42386 echo "${ECHO_T}yes" >&6; }
42388 EXTRALIBS_HILDON="$HILDON_LIBS"
42389 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42390 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42391 cat >>confdefs.h <<\_ACEOF
42392 #define wxUSE_LIBHILDON 1
42400 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define wxUSE_CMDLINE_PARSER 1
42407 if test "$wxUSE_STOPWATCH" = "yes"; then
42408 cat >>confdefs.h <<\_ACEOF
42409 #define wxUSE_STOPWATCH 1
42414 if test "$wxUSE_DATETIME" = "yes"; then
42415 cat >>confdefs.h <<\_ACEOF
42416 #define wxUSE_DATETIME 1
42421 if test "$wxUSE_FILE" = "yes"; then
42422 cat >>confdefs.h <<\_ACEOF
42423 #define wxUSE_FILE 1
42428 if test "$wxUSE_FFILE" = "yes"; then
42429 cat >>confdefs.h <<\_ACEOF
42430 #define wxUSE_FFILE 1
42435 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42436 if test "$wxUSE_STREAMS" != yes; then
42437 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42438 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42439 wxUSE_ARCHIVE_STREAMS=no
42441 cat >>confdefs.h <<\_ACEOF
42442 #define wxUSE_ARCHIVE_STREAMS 1
42448 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42449 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42450 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42451 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42452 elif test "$wxUSE_ZLIB" = "no"; then
42453 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42454 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_ZIPSTREAM 1
42463 if test "$wxUSE_TARSTREAM" = "yes"; then
42464 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42465 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42466 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42468 cat >>confdefs.h <<\_ACEOF
42469 #define wxUSE_TARSTREAM 1
42475 if test "$wxUSE_FILESYSTEM" = "yes"; then
42476 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42477 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42478 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42479 wxUSE_FILESYSTEM=no
42481 cat >>confdefs.h <<\_ACEOF
42482 #define wxUSE_FILESYSTEM 1
42488 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42489 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42490 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42491 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42493 cat >>confdefs.h <<\_ACEOF
42494 #define wxUSE_FS_ARCHIVE 1
42500 if test "$wxUSE_FS_ZIP" = "yes"; then
42501 if test "$wxUSE_FS_ARCHIVE" != yes; then
42502 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42503 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42505 cat >>confdefs.h <<\_ACEOF
42506 #define wxUSE_FS_ZIP 1
42512 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42513 if test "$USE_UNIX" != 1; then
42514 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42515 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42516 wxUSE_ON_FATAL_EXCEPTION=no
42518 cat >>confdefs.h <<\_ACEOF
42519 #define wxUSE_ON_FATAL_EXCEPTION 1
42525 if test "$wxUSE_STACKWALKER" = "yes"; then
42526 cat >>confdefs.h <<\_ACEOF
42527 #define wxUSE_STACKWALKER 1
42532 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42533 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42534 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42535 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42536 wxUSE_DEBUGREPORT=no
42538 cat >>confdefs.h <<\_ACEOF
42539 #define wxUSE_DEBUGREPORT 1
42542 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42548 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42549 cat >>confdefs.h <<\_ACEOF
42550 #define wxUSE_SNGLINST_CHECKER 1
42555 if test "$wxUSE_BUSYINFO" = "yes"; then
42556 cat >>confdefs.h <<\_ACEOF
42557 #define wxUSE_BUSYINFO 1
42562 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42563 cat >>confdefs.h <<\_ACEOF
42564 #define wxUSE_STD_IOSTREAM 1
42569 if test "$wxUSE_STD_STRING" = "yes"; then
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_STD_STRING 1
42576 if test "$wxUSE_STDPATHS" = "yes"; then
42577 cat >>confdefs.h <<\_ACEOF
42578 #define wxUSE_STDPATHS 1
42583 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42584 cat >>confdefs.h <<\_ACEOF
42585 #define wxUSE_TEXTBUFFER 1
42590 if test "$wxUSE_TEXTFILE" = "yes"; then
42591 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42592 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42593 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42595 cat >>confdefs.h <<\_ACEOF
42596 #define wxUSE_TEXTFILE 1
42602 if test "$wxUSE_CONFIG" = "yes" ; then
42603 if test "$wxUSE_TEXTFILE" != "yes"; then
42604 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42605 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_CONFIG 1
42611 cat >>confdefs.h <<\_ACEOF
42612 #define wxUSE_CONFIG_NATIVE 1
42615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42619 if test "$wxUSE_INTL" = "yes" ; then
42620 if test "$wxUSE_FILE" != "yes"; then
42621 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42622 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_INTL 1
42628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42629 GUIDIST="$GUIDIST INTL_DIST"
42633 if test "$wxUSE_LOG" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_LOG 1
42639 if test "$wxUSE_LOGGUI" = "yes"; then
42640 cat >>confdefs.h <<\_ACEOF
42641 #define wxUSE_LOGGUI 1
42646 if test "$wxUSE_LOGWINDOW" = "yes"; then
42647 cat >>confdefs.h <<\_ACEOF
42648 #define wxUSE_LOGWINDOW 1
42653 if test "$wxUSE_LOGDIALOG" = "yes"; then
42654 cat >>confdefs.h <<\_ACEOF
42655 #define wxUSE_LOG_DIALOG 1
42660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42663 if test "$wxUSE_LONGLONG" = "yes"; then
42664 cat >>confdefs.h <<\_ACEOF
42665 #define wxUSE_LONGLONG 1
42670 if test "$wxUSE_GEOMETRY" = "yes"; then
42671 cat >>confdefs.h <<\_ACEOF
42672 #define wxUSE_GEOMETRY 1
42677 if test "$wxUSE_BASE64" = "yes"; then
42678 cat >>confdefs.h <<\_ACEOF
42679 #define wxUSE_BASE64 1
42684 if test "$wxUSE_STREAMS" = "yes" ; then
42685 cat >>confdefs.h <<\_ACEOF
42686 #define wxUSE_STREAMS 1
42691 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42692 cat >>confdefs.h <<\_ACEOF
42693 #define wxUSE_PRINTF_POS_PARAMS 1
42698 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42699 cat >>confdefs.h <<\_ACEOF
42700 #define wxUSE_OBJC_UNIQUIFYING 1
42706 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42707 cat >>confdefs.h <<\_ACEOF
42708 #define wxUSE_CONSOLE_EVENTLOOP 1
42712 if test "$wxUSE_UNIX" = "yes"; then
42713 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42714 cat >>confdefs.h <<\_ACEOF
42715 #define wxUSE_SELECT_DISPATCHER 1
42720 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42722 for ac_header in sys/epoll.h
42724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42728 echo $ECHO_N "(cached) $ECHO_C" >&6
42730 cat >conftest.$ac_ext <<_ACEOF
42733 cat confdefs.h >>conftest.$ac_ext
42734 cat >>conftest.$ac_ext <<_ACEOF
42735 /* end confdefs.h. */
42736 $ac_includes_default
42738 #include <$ac_header>
42740 rm -f conftest.$ac_objext
42741 if { (ac_try="$ac_compile"
42742 case "(($ac_try" in
42743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42744 *) ac_try_echo=$ac_try;;
42746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42747 (eval "$ac_compile") 2>conftest.er1
42749 grep -v '^ *+' conftest.er1 >conftest.err
42751 cat conftest.err >&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } && {
42754 test -z "$ac_c_werror_flag" ||
42755 test ! -s conftest.err
42756 } && test -s conftest.$ac_objext; then
42757 eval "$as_ac_Header=yes"
42759 echo "$as_me: failed program was:" >&5
42760 sed 's/^/| /' conftest.$ac_ext >&5
42762 eval "$as_ac_Header=no"
42765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42767 ac_res=`eval echo '${'$as_ac_Header'}'`
42768 { echo "$as_me:$LINENO: result: $ac_res" >&5
42769 echo "${ECHO_T}$ac_res" >&6; }
42770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42771 cat >>confdefs.h <<_ACEOF
42772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42779 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42780 cat >>confdefs.h <<\_ACEOF
42781 #define wxUSE_EPOLL_DISPATCHER 1
42785 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42786 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42795 for ac_func in gettimeofday ftime
42797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42801 echo $ECHO_N "(cached) $ECHO_C" >&6
42803 cat >conftest.$ac_ext <<_ACEOF
42806 cat confdefs.h >>conftest.$ac_ext
42807 cat >>conftest.$ac_ext <<_ACEOF
42808 /* end confdefs.h. */
42809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42811 #define $ac_func innocuous_$ac_func
42813 /* System header to define __stub macros and hopefully few prototypes,
42814 which can conflict with char $ac_func (); below.
42815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42816 <limits.h> exists even on freestanding compilers. */
42819 # include <limits.h>
42821 # include <assert.h>
42826 /* Override any GCC internal prototype to avoid an error.
42827 Use char because int might match the return type of a GCC
42828 builtin and then its argument prototype would still apply. */
42833 /* The GNU C library defines this for functions which it implements
42834 to always fail with ENOSYS. Some functions are actually named
42835 something starting with __ and the normal name is an alias. */
42836 #if defined __stub_$ac_func || defined __stub___$ac_func
42843 return $ac_func ();
42848 rm -f conftest.$ac_objext conftest$ac_exeext
42849 if { (ac_try="$ac_link"
42850 case "(($ac_try" in
42851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42852 *) ac_try_echo=$ac_try;;
42854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42855 (eval "$ac_link") 2>conftest.er1
42857 grep -v '^ *+' conftest.er1 >conftest.err
42859 cat conftest.err >&5
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); } && {
42862 test -z "$ac_c_werror_flag" ||
42863 test ! -s conftest.err
42864 } && test -s conftest$ac_exeext &&
42865 $as_test_x conftest$ac_exeext; then
42866 eval "$as_ac_var=yes"
42868 echo "$as_me: failed program was:" >&5
42869 sed 's/^/| /' conftest.$ac_ext >&5
42871 eval "$as_ac_var=no"
42874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42875 conftest$ac_exeext conftest.$ac_ext
42877 ac_res=`eval echo '${'$as_ac_var'}'`
42878 { echo "$as_me:$LINENO: result: $ac_res" >&5
42879 echo "${ECHO_T}$ac_res" >&6; }
42880 if test `eval echo '${'$as_ac_var'}'` = yes; then
42881 cat >>confdefs.h <<_ACEOF
42882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42889 if test "$ac_cv_func_gettimeofday" = "yes"; then
42890 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42891 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42892 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42893 echo $ECHO_N "(cached) $ECHO_C" >&6
42896 cat >conftest.$ac_ext <<_ACEOF
42899 cat confdefs.h >>conftest.$ac_ext
42900 cat >>conftest.$ac_ext <<_ACEOF
42901 /* end confdefs.h. */
42903 #include <sys/time.h>
42904 #include <unistd.h>
42911 gettimeofday(&tv, NULL);
42917 rm -f conftest.$ac_objext
42918 if { (ac_try="$ac_compile"
42919 case "(($ac_try" in
42920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42921 *) ac_try_echo=$ac_try;;
42923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42924 (eval "$ac_compile") 2>conftest.er1
42926 grep -v '^ *+' conftest.er1 >conftest.err
42928 cat conftest.err >&5
42929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42930 (exit $ac_status); } && {
42931 test -z "$ac_c_werror_flag" ||
42932 test ! -s conftest.err
42933 } && test -s conftest.$ac_objext; then
42934 wx_cv_func_gettimeofday_has_2_args=yes
42936 echo "$as_me: failed program was:" >&5
42937 sed 's/^/| /' conftest.$ac_ext >&5
42939 cat >conftest.$ac_ext <<_ACEOF
42942 cat confdefs.h >>conftest.$ac_ext
42943 cat >>conftest.$ac_ext <<_ACEOF
42944 /* end confdefs.h. */
42946 #include <sys/time.h>
42947 #include <unistd.h>
42960 rm -f conftest.$ac_objext
42961 if { (ac_try="$ac_compile"
42962 case "(($ac_try" in
42963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42964 *) ac_try_echo=$ac_try;;
42966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42967 (eval "$ac_compile") 2>conftest.er1
42969 grep -v '^ *+' conftest.er1 >conftest.err
42971 cat conftest.err >&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); } && {
42974 test -z "$ac_c_werror_flag" ||
42975 test ! -s conftest.err
42976 } && test -s conftest.$ac_objext; then
42977 wx_cv_func_gettimeofday_has_2_args=no
42979 echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42983 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42984 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42985 wx_cv_func_gettimeofday_has_2_args=unknown
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42997 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42998 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43000 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43001 cat >>confdefs.h <<\_ACEOF
43002 #define WX_GETTIMEOFDAY_NO_TZ 1
43008 if test "$wxUSE_DATETIME" = "yes"; then
43009 { echo "$as_me:$LINENO: checking for strptime" >&5
43010 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43011 if test "${ac_cv_func_strptime+set}" = set; then
43012 echo $ECHO_N "(cached) $ECHO_C" >&6
43014 cat >conftest.$ac_ext <<_ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43020 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43022 #define strptime innocuous_strptime
43024 /* System header to define __stub macros and hopefully few prototypes,
43025 which can conflict with char strptime (); below.
43026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43027 <limits.h> exists even on freestanding compilers. */
43030 # include <limits.h>
43032 # include <assert.h>
43037 /* Override any GCC internal prototype to avoid an error.
43038 Use char because int might match the return type of a GCC
43039 builtin and then its argument prototype would still apply. */
43044 /* The GNU C library defines this for functions which it implements
43045 to always fail with ENOSYS. Some functions are actually named
43046 something starting with __ and the normal name is an alias. */
43047 #if defined __stub_strptime || defined __stub___strptime
43054 return strptime ();
43059 rm -f conftest.$ac_objext conftest$ac_exeext
43060 if { (ac_try="$ac_link"
43061 case "(($ac_try" in
43062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43063 *) ac_try_echo=$ac_try;;
43065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43066 (eval "$ac_link") 2>conftest.er1
43068 grep -v '^ *+' conftest.er1 >conftest.err
43070 cat conftest.err >&5
43071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43072 (exit $ac_status); } && {
43073 test -z "$ac_c_werror_flag" ||
43074 test ! -s conftest.err
43075 } && test -s conftest$ac_exeext &&
43076 $as_test_x conftest$ac_exeext; then
43077 ac_cv_func_strptime=yes
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43082 ac_cv_func_strptime=no
43085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43086 conftest$ac_exeext conftest.$ac_ext
43088 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43089 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43091 if test "$ac_cv_func_strptime" = "yes"; then
43092 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43093 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43094 if test "${wx_cv_func_strptime_decl+set}" = set; then
43095 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 ac_cpp='$CXXCPP $CPPFLAGS'
43100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43104 cat >conftest.$ac_ext <<_ACEOF
43107 cat confdefs.h >>conftest.$ac_ext
43108 cat >>conftest.$ac_ext <<_ACEOF
43109 /* end confdefs.h. */
43118 strptime("foo", "bar", &t);
43124 rm -f conftest.$ac_objext
43125 if { (ac_try="$ac_compile"
43126 case "(($ac_try" in
43127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43128 *) ac_try_echo=$ac_try;;
43130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43131 (eval "$ac_compile") 2>conftest.er1
43133 grep -v '^ *+' conftest.er1 >conftest.err
43135 cat conftest.err >&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } && {
43138 test -z "$ac_cxx_werror_flag" ||
43139 test ! -s conftest.err
43140 } && test -s conftest.$ac_objext; then
43141 wx_cv_func_strptime_decl=yes
43143 echo "$as_me: failed program was:" >&5
43144 sed 's/^/| /' conftest.$ac_ext >&5
43146 wx_cv_func_strptime_decl=no
43150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152 ac_cpp='$CPP $CPPFLAGS'
43153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43160 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43161 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43163 if test "$wx_cv_func_strptime_decl" = "yes"; then
43164 cat >>confdefs.h <<\_ACEOF
43165 #define HAVE_STRPTIME_DECL 1
43169 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43171 if test "$ac_cv_func_strptime" = "yes"; then
43172 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43173 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43174 if test "${wx_cv_func_strptime_ok+set}" = set; then
43175 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 if test "$cross_compiling" = yes; then
43178 wx_cv_func_strptime_ok=no
43181 cat >conftest.$ac_ext <<_ACEOF
43183 #include <stdlib.h>
43185 #include "confdefs.h"
43192 return !!strptime("", "%x", &t);
43196 rm -f conftest$ac_exeext
43197 if { (ac_try="$ac_link"
43198 case "(($ac_try" in
43199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43200 *) ac_try_echo=$ac_try;;
43202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43203 (eval "$ac_link") 2>&5
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43207 { (case "(($ac_try" in
43208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43209 *) ac_try_echo=$ac_try;;
43211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43212 (eval "$ac_try") 2>&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); }; }; then
43216 wx_cv_func_strptime_ok=yes
43218 echo "$as_me: program exited with status $ac_status" >&5
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.$ac_ext >&5
43222 ( exit $ac_status )
43223 wx_cv_func_strptime_ok=no
43225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43231 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43232 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43234 if test "$wx_cv_func_strptime_ok" = "yes"; then
43235 cat >>confdefs.h <<\_ACEOF
43236 #define HAVE_STRPTIME 1
43242 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43243 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43244 if test "${wx_cv_var_timezone+set}" = set; then
43245 echo $ECHO_N "(cached) $ECHO_C" >&6
43249 ac_cpp='$CXXCPP $CPPFLAGS'
43250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43254 cat >conftest.$ac_ext <<_ACEOF
43257 cat confdefs.h >>conftest.$ac_ext
43258 cat >>conftest.$ac_ext <<_ACEOF
43259 /* end confdefs.h. */
43274 rm -f conftest.$ac_objext
43275 if { (ac_try="$ac_compile"
43276 case "(($ac_try" in
43277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43278 *) ac_try_echo=$ac_try;;
43280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43281 (eval "$ac_compile") 2>conftest.er1
43283 grep -v '^ *+' conftest.er1 >conftest.err
43285 cat conftest.err >&5
43286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43287 (exit $ac_status); } && {
43288 test -z "$ac_cxx_werror_flag" ||
43289 test ! -s conftest.err
43290 } && test -s conftest.$ac_objext; then
43292 wx_cv_var_timezone=timezone
43295 echo "$as_me: failed program was:" >&5
43296 sed 's/^/| /' conftest.$ac_ext >&5
43299 cat >conftest.$ac_ext <<_ACEOF
43302 cat confdefs.h >>conftest.$ac_ext
43303 cat >>conftest.$ac_ext <<_ACEOF
43304 /* end confdefs.h. */
43319 rm -f conftest.$ac_objext
43320 if { (ac_try="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43323 *) ac_try_echo=$ac_try;;
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43328 grep -v '^ *+' conftest.er1 >conftest.err
43330 cat conftest.err >&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_cxx_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.$ac_objext; then
43337 wx_cv_var_timezone=_timezone
43340 echo "$as_me: failed program was:" >&5
43341 sed 's/^/| /' conftest.$ac_ext >&5
43344 cat >conftest.$ac_ext <<_ACEOF
43347 cat confdefs.h >>conftest.$ac_ext
43348 cat >>conftest.$ac_ext <<_ACEOF
43349 /* end confdefs.h. */
43364 rm -f conftest.$ac_objext
43365 if { (ac_try="$ac_compile"
43366 case "(($ac_try" in
43367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43368 *) ac_try_echo=$ac_try;;
43370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43371 (eval "$ac_compile") 2>conftest.er1
43373 grep -v '^ *+' conftest.er1 >conftest.err
43375 cat conftest.err >&5
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); } && {
43378 test -z "$ac_cxx_werror_flag" ||
43379 test ! -s conftest.err
43380 } && test -s conftest.$ac_objext; then
43382 wx_cv_var_timezone=__timezone
43385 echo "$as_me: failed program was:" >&5
43386 sed 's/^/| /' conftest.$ac_ext >&5
43389 if test "$USE_DOS" = 0 ; then
43390 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43391 echo "$as_me: WARNING: no timezone variable" >&2;}
43397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_cpp='$CPP $CPPFLAGS'
43410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43417 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43418 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43420 if test "x$wx_cv_var_timezone" != x ; then
43421 cat >>confdefs.h <<_ACEOF
43422 #define WX_TIMEZONE $wx_cv_var_timezone
43428 for ac_func in localtime
43430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43434 echo $ECHO_N "(cached) $ECHO_C" >&6
43436 cat >conftest.$ac_ext <<_ACEOF
43439 cat confdefs.h >>conftest.$ac_ext
43440 cat >>conftest.$ac_ext <<_ACEOF
43441 /* end confdefs.h. */
43442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43444 #define $ac_func innocuous_$ac_func
43446 /* System header to define __stub macros and hopefully few prototypes,
43447 which can conflict with char $ac_func (); below.
43448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43449 <limits.h> exists even on freestanding compilers. */
43452 # include <limits.h>
43454 # include <assert.h>
43459 /* Override any GCC internal prototype to avoid an error.
43460 Use char because int might match the return type of a GCC
43461 builtin and then its argument prototype would still apply. */
43466 /* The GNU C library defines this for functions which it implements
43467 to always fail with ENOSYS. Some functions are actually named
43468 something starting with __ and the normal name is an alias. */
43469 #if defined __stub_$ac_func || defined __stub___$ac_func
43476 return $ac_func ();
43481 rm -f conftest.$ac_objext conftest$ac_exeext
43482 if { (ac_try="$ac_link"
43483 case "(($ac_try" in
43484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43485 *) ac_try_echo=$ac_try;;
43487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43488 (eval "$ac_link") 2>conftest.er1
43490 grep -v '^ *+' conftest.er1 >conftest.err
43492 cat conftest.err >&5
43493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43494 (exit $ac_status); } && {
43495 test -z "$ac_c_werror_flag" ||
43496 test ! -s conftest.err
43497 } && test -s conftest$ac_exeext &&
43498 $as_test_x conftest$ac_exeext; then
43499 eval "$as_ac_var=yes"
43501 echo "$as_me: failed program was:" >&5
43502 sed 's/^/| /' conftest.$ac_ext >&5
43504 eval "$as_ac_var=no"
43507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43508 conftest$ac_exeext conftest.$ac_ext
43510 ac_res=`eval echo '${'$as_ac_var'}'`
43511 { echo "$as_me:$LINENO: result: $ac_res" >&5
43512 echo "${ECHO_T}$ac_res" >&6; }
43513 if test `eval echo '${'$as_ac_var'}'` = yes; then
43514 cat >>confdefs.h <<_ACEOF
43515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43522 if test "$ac_cv_func_localtime" = "yes"; then
43523 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43524 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43525 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43526 echo $ECHO_N "(cached) $ECHO_C" >&6
43529 cat >conftest.$ac_ext <<_ACEOF
43532 cat confdefs.h >>conftest.$ac_ext
43533 cat >>conftest.$ac_ext <<_ACEOF
43534 /* end confdefs.h. */
43549 rm -f conftest.$ac_objext
43550 if { (ac_try="$ac_compile"
43551 case "(($ac_try" in
43552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43553 *) ac_try_echo=$ac_try;;
43555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43556 (eval "$ac_compile") 2>conftest.er1
43558 grep -v '^ *+' conftest.er1 >conftest.err
43560 cat conftest.err >&5
43561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43562 (exit $ac_status); } && {
43563 test -z "$ac_c_werror_flag" ||
43564 test ! -s conftest.err
43565 } && test -s conftest.$ac_objext; then
43567 wx_cv_struct_tm_has_gmtoff=yes
43570 echo "$as_me: failed program was:" >&5
43571 sed 's/^/| /' conftest.$ac_ext >&5
43573 wx_cv_struct_tm_has_gmtoff=no
43577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43580 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43581 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43584 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43585 cat >>confdefs.h <<\_ACEOF
43586 #define WX_GMTOFF_IN_TM 1
43591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43595 if test "$wxUSE_SOCKETS" = "yes"; then
43596 if test "$wxUSE_MGL" = 1; then
43597 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43598 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43603 if test "$wxUSE_SOCKETS" = "yes"; then
43604 if test "$TOOLKIT" != "MSW"; then
43605 { echo "$as_me:$LINENO: checking for socket" >&5
43606 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43607 if test "${ac_cv_func_socket+set}" = set; then
43608 echo $ECHO_N "(cached) $ECHO_C" >&6
43610 cat >conftest.$ac_ext <<_ACEOF
43613 cat confdefs.h >>conftest.$ac_ext
43614 cat >>conftest.$ac_ext <<_ACEOF
43615 /* end confdefs.h. */
43616 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43618 #define socket innocuous_socket
43620 /* System header to define __stub macros and hopefully few prototypes,
43621 which can conflict with char socket (); below.
43622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43623 <limits.h> exists even on freestanding compilers. */
43626 # include <limits.h>
43628 # include <assert.h>
43633 /* Override any GCC internal prototype to avoid an error.
43634 Use char because int might match the return type of a GCC
43635 builtin and then its argument prototype would still apply. */
43640 /* The GNU C library defines this for functions which it implements
43641 to always fail with ENOSYS. Some functions are actually named
43642 something starting with __ and the normal name is an alias. */
43643 #if defined __stub_socket || defined __stub___socket
43655 rm -f conftest.$ac_objext conftest$ac_exeext
43656 if { (ac_try="$ac_link"
43657 case "(($ac_try" in
43658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43659 *) ac_try_echo=$ac_try;;
43661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43662 (eval "$ac_link") 2>conftest.er1
43664 grep -v '^ *+' conftest.er1 >conftest.err
43666 cat conftest.err >&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); } && {
43669 test -z "$ac_c_werror_flag" ||
43670 test ! -s conftest.err
43671 } && test -s conftest$ac_exeext &&
43672 $as_test_x conftest$ac_exeext; then
43673 ac_cv_func_socket=yes
43675 echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43678 ac_cv_func_socket=no
43681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43682 conftest$ac_exeext conftest.$ac_ext
43684 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43685 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43686 if test $ac_cv_func_socket = yes; then
43690 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43691 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43692 if test "${ac_cv_lib_socket_socket+set}" = set; then
43693 echo $ECHO_N "(cached) $ECHO_C" >&6
43695 ac_check_lib_save_LIBS=$LIBS
43696 LIBS="-lsocket $LIBS"
43697 cat >conftest.$ac_ext <<_ACEOF
43700 cat confdefs.h >>conftest.$ac_ext
43701 cat >>conftest.$ac_ext <<_ACEOF
43702 /* end confdefs.h. */
43704 /* Override any GCC internal prototype to avoid an error.
43705 Use char because int might match the return type of a GCC
43706 builtin and then its argument prototype would still apply. */
43719 rm -f conftest.$ac_objext conftest$ac_exeext
43720 if { (ac_try="$ac_link"
43721 case "(($ac_try" in
43722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43723 *) ac_try_echo=$ac_try;;
43725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43726 (eval "$ac_link") 2>conftest.er1
43728 grep -v '^ *+' conftest.er1 >conftest.err
43730 cat conftest.err >&5
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); } && {
43733 test -z "$ac_c_werror_flag" ||
43734 test ! -s conftest.err
43735 } && test -s conftest$ac_exeext &&
43736 $as_test_x conftest$ac_exeext; then
43737 ac_cv_lib_socket_socket=yes
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43742 ac_cv_lib_socket_socket=no
43745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43746 conftest$ac_exeext conftest.$ac_ext
43747 LIBS=$ac_check_lib_save_LIBS
43749 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43750 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43751 if test $ac_cv_lib_socket_socket = yes; then
43752 if test "$INET_LINK" != " -lsocket"; then
43753 INET_LINK="$INET_LINK -lsocket"
43757 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43758 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43771 if test "$wxUSE_SOCKETS" = "yes" ; then
43772 if test "$TOOLKIT" != "MSW"; then
43773 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43774 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43775 if test "${wx_cv_type_getsockname3+set}" = set; then
43776 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 ac_cpp='$CXXCPP $CPPFLAGS'
43781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43785 cat >conftest.$ac_ext <<_ACEOF
43788 cat confdefs.h >>conftest.$ac_ext
43789 cat >>conftest.$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43792 #include <sys/types.h>
43793 #include <sys/socket.h>
43800 getsockname(0, 0, &len);
43806 rm -f conftest.$ac_objext
43807 if { (ac_try="$ac_compile"
43808 case "(($ac_try" in
43809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43810 *) ac_try_echo=$ac_try;;
43812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43813 (eval "$ac_compile") 2>conftest.er1
43815 grep -v '^ *+' conftest.er1 >conftest.err
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } && {
43820 test -z "$ac_cxx_werror_flag" ||
43821 test ! -s conftest.err
43822 } && test -s conftest.$ac_objext; then
43823 wx_cv_type_getsockname3=socklen_t
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43829 CFLAGS_OLD="$CFLAGS"
43830 if test "$GCC" = yes ; then
43831 CFLAGS="-Werror $CFLAGS"
43834 cat >conftest.$ac_ext <<_ACEOF
43837 cat confdefs.h >>conftest.$ac_ext
43838 cat >>conftest.$ac_ext <<_ACEOF
43839 /* end confdefs.h. */
43841 #include <sys/types.h>
43842 #include <sys/socket.h>
43849 getsockname(0, 0, &len);
43855 rm -f conftest.$ac_objext
43856 if { (ac_try="$ac_compile"
43857 case "(($ac_try" in
43858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43859 *) ac_try_echo=$ac_try;;
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_compile") 2>conftest.er1
43864 grep -v '^ *+' conftest.er1 >conftest.err
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_cxx_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest.$ac_objext; then
43872 wx_cv_type_getsockname3=size_t
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43877 cat >conftest.$ac_ext <<_ACEOF
43880 cat confdefs.h >>conftest.$ac_ext
43881 cat >>conftest.$ac_ext <<_ACEOF
43882 /* end confdefs.h. */
43884 #include <sys/types.h>
43885 #include <sys/socket.h>
43892 getsockname(0, 0, &len);
43898 rm -f conftest.$ac_objext
43899 if { (ac_try="$ac_compile"
43900 case "(($ac_try" in
43901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43902 *) ac_try_echo=$ac_try;;
43904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43905 (eval "$ac_compile") 2>conftest.er1
43907 grep -v '^ *+' conftest.er1 >conftest.err
43909 cat conftest.err >&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); } && {
43912 test -z "$ac_cxx_werror_flag" ||
43913 test ! -s conftest.err
43914 } && test -s conftest.$ac_objext; then
43915 wx_cv_type_getsockname3=int
43917 echo "$as_me: failed program was:" >&5
43918 sed 's/^/| /' conftest.$ac_ext >&5
43920 wx_cv_type_getsockname3=unknown
43924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43930 CFLAGS="$CFLAGS_OLD"
43935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43937 ac_cpp='$CPP $CPPFLAGS'
43938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43944 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43945 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43947 if test "$wx_cv_type_getsockname3" = "unknown"; then
43949 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43950 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43952 cat >>confdefs.h <<_ACEOF
43953 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43957 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43958 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43959 if test "${wx_cv_type_getsockopt5+set}" = set; then
43960 echo $ECHO_N "(cached) $ECHO_C" >&6
43964 ac_cpp='$CXXCPP $CPPFLAGS'
43965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43969 cat >conftest.$ac_ext <<_ACEOF
43972 cat confdefs.h >>conftest.$ac_ext
43973 cat >>conftest.$ac_ext <<_ACEOF
43974 /* end confdefs.h. */
43976 #include <sys/types.h>
43977 #include <sys/socket.h>
43984 getsockopt(0, 0, 0, 0, &len);
43990 rm -f conftest.$ac_objext
43991 if { (ac_try="$ac_compile"
43992 case "(($ac_try" in
43993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43994 *) ac_try_echo=$ac_try;;
43996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43997 (eval "$ac_compile") 2>conftest.er1
43999 grep -v '^ *+' conftest.er1 >conftest.err
44001 cat conftest.err >&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); } && {
44004 test -z "$ac_cxx_werror_flag" ||
44005 test ! -s conftest.err
44006 } && test -s conftest.$ac_objext; then
44007 wx_cv_type_getsockopt5=socklen_t
44009 echo "$as_me: failed program was:" >&5
44010 sed 's/^/| /' conftest.$ac_ext >&5
44013 cat >conftest.$ac_ext <<_ACEOF
44016 cat confdefs.h >>conftest.$ac_ext
44017 cat >>conftest.$ac_ext <<_ACEOF
44018 /* end confdefs.h. */
44020 #include <sys/types.h>
44021 #include <sys/socket.h>
44028 getsockopt(0, 0, 0, 0, &len);
44034 rm -f conftest.$ac_objext
44035 if { (ac_try="$ac_compile"
44036 case "(($ac_try" in
44037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44038 *) ac_try_echo=$ac_try;;
44040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44041 (eval "$ac_compile") 2>conftest.er1
44043 grep -v '^ *+' conftest.er1 >conftest.err
44045 cat conftest.err >&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); } && {
44048 test -z "$ac_cxx_werror_flag" ||
44049 test ! -s conftest.err
44050 } && test -s conftest.$ac_objext; then
44051 wx_cv_type_getsockopt5=size_t
44053 echo "$as_me: failed program was:" >&5
44054 sed 's/^/| /' conftest.$ac_ext >&5
44056 cat >conftest.$ac_ext <<_ACEOF
44059 cat confdefs.h >>conftest.$ac_ext
44060 cat >>conftest.$ac_ext <<_ACEOF
44061 /* end confdefs.h. */
44063 #include <sys/types.h>
44064 #include <sys/socket.h>
44071 getsockopt(0, 0, 0, 0, &len);
44077 rm -f conftest.$ac_objext
44078 if { (ac_try="$ac_compile"
44079 case "(($ac_try" in
44080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44081 *) ac_try_echo=$ac_try;;
44083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44084 (eval "$ac_compile") 2>conftest.er1
44086 grep -v '^ *+' conftest.er1 >conftest.err
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } && {
44091 test -z "$ac_cxx_werror_flag" ||
44092 test ! -s conftest.err
44093 } && test -s conftest.$ac_objext; then
44094 wx_cv_type_getsockopt5=int
44096 echo "$as_me: failed program was:" >&5
44097 sed 's/^/| /' conftest.$ac_ext >&5
44099 wx_cv_type_getsockopt5=unknown
44103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44114 ac_cpp='$CPP $CPPFLAGS'
44115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44121 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44122 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44124 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44126 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44127 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44129 cat >>confdefs.h <<_ACEOF
44130 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44137 if test "$wxUSE_SOCKETS" = "yes" ; then
44138 if test "$wxUSE_IPV6" = "yes"; then
44139 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44140 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44141 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44142 echo $ECHO_N "(cached) $ECHO_C" >&6
44145 cat >conftest.$ac_ext <<_ACEOF
44148 cat confdefs.h >>conftest.$ac_ext
44149 cat >>conftest.$ac_ext <<_ACEOF
44150 /* end confdefs.h. */
44152 #include <sys/types.h>
44153 #include <sys/socket.h>
44154 #include <netinet/in.h>
44160 struct sockaddr_in6 sa6;
44166 rm -f conftest.$ac_objext
44167 if { (ac_try="$ac_compile"
44168 case "(($ac_try" in
44169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44170 *) ac_try_echo=$ac_try;;
44172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44173 (eval "$ac_compile") 2>conftest.er1
44175 grep -v '^ *+' conftest.er1 >conftest.err
44177 cat conftest.err >&5
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); } && {
44180 test -z "$ac_c_werror_flag" ||
44181 test ! -s conftest.err
44182 } && test -s conftest.$ac_objext; then
44183 wx_cv_type_sockaddr_in6=yes
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.$ac_ext >&5
44188 wx_cv_type_sockaddr_in6=no
44192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44196 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44197 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44199 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_IPV6 1
44205 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44206 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_SOCKETS 1
44214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44217 if test "$wxUSE_PROTOCOL" = "yes"; then
44218 if test "$wxUSE_SOCKETS" != "yes"; then
44219 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44220 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44225 if test "$wxUSE_PROTOCOL" = "yes"; then
44226 cat >>confdefs.h <<\_ACEOF
44227 #define wxUSE_PROTOCOL 1
44231 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44232 cat >>confdefs.h <<\_ACEOF
44233 #define wxUSE_PROTOCOL_HTTP 1
44237 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44238 cat >>confdefs.h <<\_ACEOF
44239 #define wxUSE_PROTOCOL_FTP 1
44243 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_PROTOCOL_FILE 1
44250 if test "$wxUSE_FS_INET" = "yes"; then
44251 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44252 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44257 if test "$wxUSE_URL" = "yes"; then
44258 if test "$wxUSE_PROTOCOL" != "yes"; then
44259 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44260 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44263 if test "$wxUSE_URL" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_URL 1
44271 if test "$wxUSE_VARIANT" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_VARIANT 1
44278 if test "$wxUSE_FS_INET" = "yes"; then
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_FS_INET 1
44286 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44289 if test "$TOOLKIT" = "MSW"; then
44292 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44293 if test "$USE_DARWIN" = 1; then
44294 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44295 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44297 ac_cpp='$CXXCPP $CPPFLAGS'
44298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44302 cat >conftest.$ac_ext <<_ACEOF
44305 cat confdefs.h >>conftest.$ac_ext
44306 cat >>conftest.$ac_ext <<_ACEOF
44307 /* end confdefs.h. */
44308 #include <IOKit/hid/IOHIDLib.h>
44312 IOHIDQueueInterface *qi = NULL;
44313 IOHIDCallbackFunction cb = NULL;
44314 qi->setEventCallout(NULL, cb, NULL, NULL);
44319 rm -f conftest.$ac_objext
44320 if { (ac_try="$ac_compile"
44321 case "(($ac_try" in
44322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44323 *) ac_try_echo=$ac_try;;
44325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44326 (eval "$ac_compile") 2>conftest.er1
44328 grep -v '^ *+' conftest.er1 >conftest.err
44330 cat conftest.err >&5
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); } && {
44333 test -z "$ac_cxx_werror_flag" ||
44334 test ! -s conftest.err
44335 } && test -s conftest.$ac_objext; then
44339 echo "$as_me: failed program was:" >&5
44340 sed 's/^/| /' conftest.$ac_ext >&5
44345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44347 ac_cpp='$CPP $CPPFLAGS'
44348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44352 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44353 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44357 if test "$wxUSE_MGL" != 1; then
44359 for ac_header in linux/joystick.h
44361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44365 echo $ECHO_N "(cached) $ECHO_C" >&6
44367 cat >conftest.$ac_ext <<_ACEOF
44370 cat confdefs.h >>conftest.$ac_ext
44371 cat >>conftest.$ac_ext <<_ACEOF
44372 /* end confdefs.h. */
44373 $ac_includes_default
44375 #include <$ac_header>
44377 rm -f conftest.$ac_objext
44378 if { (ac_try="$ac_compile"
44379 case "(($ac_try" in
44380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44381 *) ac_try_echo=$ac_try;;
44383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44384 (eval "$ac_compile") 2>conftest.er1
44386 grep -v '^ *+' conftest.er1 >conftest.err
44388 cat conftest.err >&5
44389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44390 (exit $ac_status); } && {
44391 test -z "$ac_c_werror_flag" ||
44392 test ! -s conftest.err
44393 } && test -s conftest.$ac_objext; then
44394 eval "$as_ac_Header=yes"
44396 echo "$as_me: failed program was:" >&5
44397 sed 's/^/| /' conftest.$ac_ext >&5
44399 eval "$as_ac_Header=no"
44402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44404 ac_res=`eval echo '${'$as_ac_Header'}'`
44405 { echo "$as_me:$LINENO: result: $ac_res" >&5
44406 echo "${ECHO_T}$ac_res" >&6; }
44407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44408 cat >>confdefs.h <<_ACEOF
44409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44419 if test "$wxUSE_JOYSTICK" = "yes"; then
44420 cat >>confdefs.h <<\_ACEOF
44421 #define wxUSE_JOYSTICK 1
44424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44426 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44427 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44433 if test "$wxUSE_FONTENUM" = "yes" ; then
44434 cat >>confdefs.h <<\_ACEOF
44435 #define wxUSE_FONTENUM 1
44440 if test "$wxUSE_FONTMAP" = "yes" ; then
44441 cat >>confdefs.h <<\_ACEOF
44442 #define wxUSE_FONTMAP 1
44447 if test "$wxUSE_UNICODE" = "yes" ; then
44448 cat >>confdefs.h <<\_ACEOF
44449 #define wxUSE_UNICODE 1
44453 if test "$USE_WIN32" != 1; then
44454 wxUSE_UNICODE_MSLU=no
44457 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44458 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44459 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44460 if test "${ac_cv_lib_unicows_main+set}" = set; then
44461 echo $ECHO_N "(cached) $ECHO_C" >&6
44463 ac_check_lib_save_LIBS=$LIBS
44464 LIBS="-lunicows $LIBS"
44465 cat >conftest.$ac_ext <<_ACEOF
44468 cat confdefs.h >>conftest.$ac_ext
44469 cat >>conftest.$ac_ext <<_ACEOF
44470 /* end confdefs.h. */
44481 rm -f conftest.$ac_objext conftest$ac_exeext
44482 if { (ac_try="$ac_link"
44483 case "(($ac_try" in
44484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44485 *) ac_try_echo=$ac_try;;
44487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44488 (eval "$ac_link") 2>conftest.er1
44490 grep -v '^ *+' conftest.er1 >conftest.err
44492 cat conftest.err >&5
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); } && {
44495 test -z "$ac_c_werror_flag" ||
44496 test ! -s conftest.err
44497 } && test -s conftest$ac_exeext &&
44498 $as_test_x conftest$ac_exeext; then
44499 ac_cv_lib_unicows_main=yes
44501 echo "$as_me: failed program was:" >&5
44502 sed 's/^/| /' conftest.$ac_ext >&5
44504 ac_cv_lib_unicows_main=no
44507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44508 conftest$ac_exeext conftest.$ac_ext
44509 LIBS=$ac_check_lib_save_LIBS
44511 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44512 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44513 if test $ac_cv_lib_unicows_main = yes; then
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_UNICODE_MSLU 1
44522 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44523 Applications will only run on Windows NT/2000/XP!" >&5
44524 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44525 Applications will only run on Windows NT/2000/XP!" >&2;}
44526 wxUSE_UNICODE_MSLU=no
44533 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_UNICODE_UTF8 1
44539 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44540 cat >>confdefs.h <<\_ACEOF
44541 #define wxUSE_UTF8_LOCALE_ONLY 1
44548 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44549 cat >>confdefs.h <<\_ACEOF
44550 #define wxUSE_CONSTRAINTS 1
44553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44556 if test "$wxUSE_MDI" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_MDI 1
44562 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_MDI_ARCHITECTURE 1
44567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44571 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44577 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44582 if test "$wxUSE_HELP" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_HELP 1
44587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44589 if test "$wxUSE_MSW" = 1; then
44590 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_MS_HTML_HELP 1
44598 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44599 if test "$wxUSE_HTML" = "yes"; then
44600 cat >>confdefs.h <<\_ACEOF
44601 #define wxUSE_WXHTML_HELP 1
44605 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44606 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44607 wxUSE_WXHTML_HELP=no
44612 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44613 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44614 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44615 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_PRINTING_ARCHITECTURE 1
44622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44625 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_POSTSCRIPT 1
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44637 if test "$wxUSE_SVG" = "yes"; then
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_SVG 1
44645 if test "$wxUSE_METAFILE" = "yes"; then
44646 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44647 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44648 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44654 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44655 -o "$wxUSE_CLIPBOARD" = "yes" \
44656 -o "$wxUSE_OLE" = "yes" \
44657 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44658 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44659 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44660 if test "${ac_cv_header_ole2_h+set}" = set; then
44661 echo $ECHO_N "(cached) $ECHO_C" >&6
44663 cat >conftest.$ac_ext <<_ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44673 rm -f conftest.$ac_objext
44674 if { (ac_try="$ac_compile"
44675 case "(($ac_try" in
44676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44677 *) ac_try_echo=$ac_try;;
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_compile") 2>conftest.er1
44682 grep -v '^ *+' conftest.er1 >conftest.err
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } && {
44687 test -z "$ac_c_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.$ac_objext; then
44690 ac_cv_header_ole2_h=yes
44692 echo "$as_me: failed program was:" >&5
44693 sed 's/^/| /' conftest.$ac_ext >&5
44695 ac_cv_header_ole2_h=no
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44701 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44705 if test "$ac_cv_header_ole2_h" = "yes" ; then
44706 if test "$GCC" = yes ; then
44707 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44708 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44709 cat >conftest.$ac_ext <<_ACEOF
44712 cat confdefs.h >>conftest.$ac_ext
44713 cat >>conftest.$ac_ext <<_ACEOF
44714 /* end confdefs.h. */
44715 #include <windows.h>
44725 rm -f conftest.$ac_objext
44726 if { (ac_try="$ac_compile"
44727 case "(($ac_try" in
44728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44729 *) ac_try_echo=$ac_try;;
44731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44732 (eval "$ac_compile") 2>conftest.er1
44734 grep -v '^ *+' conftest.er1 >conftest.err
44736 cat conftest.err >&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); } && {
44739 test -z "$ac_c_werror_flag" ||
44740 test ! -s conftest.err
44741 } && test -s conftest.$ac_objext; then
44742 { echo "$as_me:$LINENO: result: no" >&5
44743 echo "${ECHO_T}no" >&6; }
44745 echo "$as_me: failed program was:" >&5
44746 sed 's/^/| /' conftest.$ac_ext >&5
44748 { echo "$as_me:$LINENO: result: yes" >&5
44749 echo "${ECHO_T}yes" >&6; }
44750 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44754 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44755 if test "$wxUSE_OLE" = "yes" ; then
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_OLE 1
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_OLE_AUTOMATION 1
44764 cat >>confdefs.h <<\_ACEOF
44765 #define wxUSE_ACTIVEX 1
44768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44772 if test "$wxUSE_DATAOBJ" = "yes" ; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define wxUSE_DATAOBJ 1
44779 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44780 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44783 wxUSE_DRAG_AND_DROP=no
44788 if test "$wxUSE_METAFILE" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_METAFILE 1
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_ENH_METAFILE 1
44801 if test "$wxUSE_IPC" = "yes"; then
44802 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44803 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44804 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44808 if test "$wxUSE_IPC" = "yes"; then
44809 cat >>confdefs.h <<\_ACEOF
44810 #define wxUSE_IPC 1
44813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44817 if test "$wxUSE_DATAOBJ" = "yes"; then
44818 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44819 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44820 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_DATAOBJ 1
44829 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44830 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44832 wxUSE_DRAG_AND_DROP=no
44835 if test "$wxUSE_CLIPBOARD" = "yes"; then
44836 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44837 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44838 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44842 if test "$wxUSE_CLIPBOARD" = "yes"; then
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_CLIPBOARD 1
44850 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44851 if test "$wxUSE_GTK" = 1; then
44852 if test "$WXGTK12" != 1; then
44853 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44854 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44855 wxUSE_DRAG_AND_DROP=no
44859 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44860 "$wxUSE_DFB" = 1; then
44861 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44862 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44863 wxUSE_DRAG_AND_DROP=no
44866 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_DRAG_AND_DROP 1
44875 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44879 if test "$wxUSE_SPLINES" = "yes" ; then
44880 cat >>confdefs.h <<\_ACEOF
44881 #define wxUSE_SPLINES 1
44886 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_MOUSEWHEEL 1
44895 if test "$wxUSE_CONTROLS" = "yes"; then
44899 if test "$wxUSE_ACCEL" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_ACCEL 1
44907 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_ANIMATIONCTRL 1
44913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44916 if test "$wxUSE_BUTTON" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_BUTTON 1
44924 if test "$wxUSE_BMPBUTTON" = "yes"; then
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_BMPBUTTON 1
44932 if test "$wxUSE_CALCTRL" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_CALENDARCTRL 1
44938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44941 if test "$wxUSE_CARET" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_CARET 1
44947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44950 if test "$wxUSE_COLLPANE" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_COLLPANE 1
44956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44959 if test "$wxUSE_COMBOBOX" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_COMBOBOX 1
44967 if test "$wxUSE_COMBOCTRL" = "yes"; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_COMBOCTRL 1
44975 if test "$wxUSE_CHOICE" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_CHOICE 1
44983 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_CHOICEBOOK 1
44991 if test "$wxUSE_CHECKBOX" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_CHECKBOX 1
44999 if test "$wxUSE_CHECKLST" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_CHECKLISTBOX 1
45007 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_COLOURPICKERCTRL 1
45015 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_DATEPICKCTRL 1
45023 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_DIRPICKERCTRL 1
45031 if test "$wxUSE_FILECTRL" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_FILECTRL 1
45039 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_FILEPICKERCTRL 1
45047 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_FONTPICKERCTRL 1
45055 if test "$wxUSE_DISPLAY" = "yes"; then
45056 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45057 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45058 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_DISPLAY 1
45065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45069 if test "$wxUSE_DETECT_SM" = "yes"; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_DETECT_SM 1
45076 if test "$wxUSE_GAUGE" = "yes"; then
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_GAUGE 1
45084 if test "$wxUSE_GRID" = "yes"; then
45085 cat >>confdefs.h <<\_ACEOF
45086 #define wxUSE_GRID 1
45090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45093 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_HYPERLINKCTRL 1
45101 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_BITMAPCOMBOBOX 1
45109 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_DATAVIEWCTRL 1
45115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45118 if test "$wxUSE_IMAGLIST" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_IMAGLIST 1
45125 if test "$wxUSE_LISTBOOK" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_LISTBOOK 1
45133 if test "$wxUSE_LISTBOX" = "yes"; then
45134 cat >>confdefs.h <<\_ACEOF
45135 #define wxUSE_LISTBOX 1
45141 if test "$wxUSE_LISTCTRL" = "yes"; then
45142 if test "$wxUSE_IMAGLIST" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_LISTCTRL 1
45148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45150 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45151 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45155 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_EDITABLELISTBOX 1
45161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45164 if test "$wxUSE_NOTEBOOK" = "yes"; then
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_NOTEBOOK 1
45170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45173 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_ODCOMBOBOX 1
45179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45182 if test "$wxUSE_RADIOBOX" = "yes"; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_RADIOBOX 1
45190 if test "$wxUSE_RADIOBTN" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_RADIOBTN 1
45198 if test "$wxUSE_SASH" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_SASH 1
45203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45206 if test "$wxUSE_SCROLLBAR" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_SCROLLBAR 1
45212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45215 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_SEARCHCTRL 1
45223 if test "$wxUSE_SLIDER" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_SLIDER 1
45231 if test "$wxUSE_SPINBTN" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_SPINBTN 1
45239 if test "$wxUSE_SPINCTRL" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_SPINCTRL 1
45247 if test "$wxUSE_SPLITTER" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_SPLITTER 1
45252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45255 if test "$wxUSE_STATBMP" = "yes"; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_STATBMP 1
45263 if test "$wxUSE_STATBOX" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_STATBOX 1
45271 if test "$wxUSE_STATTEXT" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_STATTEXT 1
45279 if test "$wxUSE_STATLINE" = "yes"; then
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_STATLINE 1
45287 if test "$wxUSE_STATUSBAR" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_NATIVE_STATUSBAR 1
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_STATUSBAR 1
45298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45301 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_TAB_DIALOG 1
45308 if test "$wxUSE_TEXTCTRL" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_TEXTCTRL 1
45314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45317 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45318 if test "$wxUSE_COCOA" = 1 ; then
45319 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45320 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45324 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45325 cat >>confdefs.h <<\_ACEOF
45326 #define wxUSE_TOGGLEBTN 1
45333 if test "$wxUSE_TOOLBAR" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_TOOLBAR 1
45340 if test "$wxUSE_UNIVERSAL" = "yes"; then
45341 wxUSE_TOOLBAR_NATIVE="no"
45343 wxUSE_TOOLBAR_NATIVE="yes"
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_TOOLBAR_NATIVE 1
45350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45353 if test "$wxUSE_TOOLTIPS" = "yes"; then
45354 if test "$wxUSE_MOTIF" = 1; then
45355 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45356 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45358 if test "$wxUSE_UNIVERSAL" = "yes"; then
45359 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45360 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_TOOLTIPS 1
45370 if test "$wxUSE_TREEBOOK" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_TREEBOOK 1
45378 if test "$wxUSE_TOOLBOOK" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_TOOLBOOK 1
45386 if test "$wxUSE_TREECTRL" = "yes"; then
45387 if test "$wxUSE_IMAGLIST" = "yes"; then
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_TREECTRL 1
45393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45395 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45396 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45400 if test "$wxUSE_POPUPWIN" = "yes"; then
45401 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45402 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45403 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45405 if test "$wxUSE_PM" = 1; then
45406 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45407 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_POPUPWIN 1
45413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45420 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45421 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45422 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45423 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45425 cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_DIALUP_MANAGER 1
45429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45433 if test "$wxUSE_TIPWINDOW" = "yes"; then
45434 if test "$wxUSE_PM" = 1; then
45435 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45436 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_TIPWINDOW 1
45445 if test "$USES_CONTROLS" = 1; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_CONTROLS 1
45453 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_ACCESSIBILITY 1
45458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45461 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_DRAGIMAGE 1
45466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45469 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45470 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45471 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45472 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_EXCEPTIONS 1
45478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45483 if test "$wxUSE_HTML" = "yes"; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_HTML 1
45489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45490 if test "$wxUSE_MAC" = 1; then
45491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45494 if test "$wxUSE_WEBKIT" = "yes"; then
45495 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45496 old_CPPFLAGS="$CPPFLAGS"
45497 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45498 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45499 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45500 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45501 echo $ECHO_N "(cached) $ECHO_C" >&6
45503 cat >conftest.$ac_ext <<_ACEOF
45506 cat confdefs.h >>conftest.$ac_ext
45507 cat >>conftest.$ac_ext <<_ACEOF
45508 /* end confdefs.h. */
45510 #include <Carbon/Carbon.h>
45511 #include <WebKit/WebKit.h>
45514 #include <WebKit/HIWebView.h>
45516 rm -f conftest.$ac_objext
45517 if { (ac_try="$ac_compile"
45518 case "(($ac_try" in
45519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45520 *) ac_try_echo=$ac_try;;
45522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45523 (eval "$ac_compile") 2>conftest.er1
45525 grep -v '^ *+' conftest.er1 >conftest.err
45527 cat conftest.err >&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); } && {
45530 test -z "$ac_c_werror_flag" ||
45531 test ! -s conftest.err
45532 } && test -s conftest.$ac_objext; then
45533 ac_cv_header_WebKit_HIWebView_h=yes
45535 echo "$as_me: failed program was:" >&5
45536 sed 's/^/| /' conftest.$ac_ext >&5
45538 ac_cv_header_WebKit_HIWebView_h=no
45541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45543 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45544 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45545 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_WEBKIT 1
45551 WEBKIT_LINK="-framework WebKit"
45555 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45556 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45562 CPPFLAGS="$old_CPPFLAGS"
45563 elif test "$wxUSE_COCOA" = 1; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_WEBKIT 1
45574 if test "$wxUSE_XRC" = "yes"; then
45575 if test "$wxUSE_XML" != "yes"; then
45576 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45577 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_XRC 1
45585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45590 if test "$wxUSE_AUI" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_AUI 1
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45600 if test "$wxUSE_STC" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_STC 1
45606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45609 if test "$wxUSE_MENUS" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_MENUS 1
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45617 if test "$wxUSE_METAFILE" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_METAFILE 1
45624 if test "$wxUSE_MIMETYPE" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_MIMETYPE 1
45631 if test "$wxUSE_MINIFRAME" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_MINIFRAME 1
45638 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45639 cat >>confdefs.h <<\_ACEOF
45640 #define wxUSE_SYSTEM_OPTIONS 1
45645 if test "$wxUSE_TASKBARICON" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_TASKBARICON 1
45650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45654 if test "$wxUSE_VALIDATORS" = "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_VALIDATORS 1
45659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45662 if test "$wxUSE_PALETTE" = "yes" ; then
45663 if test "$wxUSE_DFB" = 1; then
45664 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45665 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_PALETTE 1
45675 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45676 LIBS=" -lunicows $LIBS"
45680 if test "$wxUSE_RICHTEXT" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_RICHTEXT 1
45686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45690 if test "$wxUSE_IMAGE" = "yes" ; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_IMAGE 1
45696 if test "$wxUSE_GIF" = "yes" ; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_GIF 1
45703 if test "$wxUSE_PCX" = "yes" ; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_PCX 1
45710 if test "$wxUSE_TGA" = "yes" ; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_TGA 1
45717 if test "$wxUSE_IFF" = "yes" ; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_IFF 1
45724 if test "$wxUSE_PNM" = "yes" ; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_PNM 1
45731 if test "$wxUSE_XPM" = "yes" ; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_XPM 1
45738 if test "$wxUSE_ICO_CUR" = "yes" ; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_ICO_CUR 1
45747 if test "$wxUSE_ABOUTDLG" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_ABOUTDLG 1
45754 if test "$wxUSE_CHOICEDLG" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_CHOICEDLG 1
45761 if test "$wxUSE_COLOURDLG" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_COLOURDLG 1
45768 if test "$wxUSE_FILEDLG" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_FILEDLG 1
45775 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_FINDREPLDLG 1
45782 if test "$wxUSE_FONTDLG" = "yes"; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_FONTDLG 1
45789 if test "$wxUSE_DIRDLG" = "yes"; then
45790 if test "$wxUSE_TREECTRL" != "yes"; then
45791 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45792 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_DIRDLG 1
45801 if test "$wxUSE_MSGDLG" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_MSGDLG 1
45808 if test "$wxUSE_NUMBERDLG" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_NUMBERDLG 1
45815 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45816 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45817 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45818 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_PROGRESSDLG 1
45827 if test "$wxUSE_SPLASH" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_SPLASH 1
45832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45835 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45836 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45837 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45838 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_STARTUP_TIPS 1
45847 if test "$wxUSE_TEXTDLG" = "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_TEXTDLG 1
45854 if test "$wxUSE_WIZARDDLG" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_WIZARDDLG 1
45859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45863 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45864 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_OWNER_DRAWN 1
45873 if test "$wxUSE_MSW" = 1 ; then
45875 if test "$wxUSE_DC_CACHEING" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_DC_CACHEING 1
45882 if test "$wxUSE_DIB" = "yes"; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_WXDIB 1
45889 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45896 if test "$wxUSE_UXTHEME" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_UXTHEME 1
45906 if test "$USE_WIN32" = 1 ; then
45907 if test "$wxUSE_INICONF" = "yes"; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_INICONF 1
45914 if test "$wxUSE_REGKEY" = "yes"; then
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_REGKEY 1
45923 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45924 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_GRAPHICS_CONTEXT 1
45929 elif test "$wxUSE_GTK" != 1; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_GRAPHICS_CONTEXT 1
45937 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45938 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45940 if test -n "$PKG_CONFIG"; then
45941 if test -n "$CAIRO_CFLAGS"; then
45942 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45944 if test -n "$PKG_CONFIG" && \
45945 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45946 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45949 (exit $ac_status); }; then
45950 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45958 if test -n "$PKG_CONFIG"; then
45959 if test -n "$CAIRO_LIBS"; then
45960 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45962 if test -n "$PKG_CONFIG" && \
45963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45964 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45967 (exit $ac_status); }; then
45968 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45979 if test $pkg_failed = yes; then
45981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45982 _pkg_short_errors_supported=yes
45984 _pkg_short_errors_supported=no
45986 if test $_pkg_short_errors_supported = yes; then
45987 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45989 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45991 # Put the nasty error message in config.log where it belongs
45992 echo "$CAIRO_PKG_ERRORS" >&5
45994 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45995 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45997 elif test $pkg_failed = untried; then
45998 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45999 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46002 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46003 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46004 { echo "$as_me:$LINENO: result: yes" >&5
46005 echo "${ECHO_T}yes" >&6; }
46006 cat >>confdefs.h <<\_ACEOF
46007 #define wxUSE_GRAPHICS_CONTEXT 1
46017 if test "$wxUSE_MEDIACTRL" = "yes"; then
46020 if test "$wxUSE_GTK" = 1; then
46021 wxUSE_GSTREAMER="no"
46023 GST_VERSION_MAJOR=0
46024 GST_VERSION_MINOR=10
46025 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46027 if test "$wxUSE_GSTREAMER8" = "no"; then
46030 { echo "$as_me:$LINENO: checking for GST" >&5
46031 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46033 if test -n "$PKG_CONFIG"; then
46034 if test -n "$GST_CFLAGS"; then
46035 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46037 if test -n "$PKG_CONFIG" && \
46038 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46039 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); }; then
46043 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46051 if test -n "$PKG_CONFIG"; then
46052 if test -n "$GST_LIBS"; then
46053 pkg_cv_GST_LIBS="$GST_LIBS"
46055 if test -n "$PKG_CONFIG" && \
46056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46057 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; then
46061 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46072 if test $pkg_failed = yes; then
46074 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46075 _pkg_short_errors_supported=yes
46077 _pkg_short_errors_supported=no
46079 if test $_pkg_short_errors_supported = yes; then
46080 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46082 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46084 # Put the nasty error message in config.log where it belongs
46085 echo "$GST_PKG_ERRORS" >&5
46088 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46089 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46090 GST_VERSION_MINOR=8
46093 elif test $pkg_failed = untried; then
46095 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46096 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46097 GST_VERSION_MINOR=8
46101 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46102 GST_LIBS=$pkg_cv_GST_LIBS
46103 { echo "$as_me:$LINENO: result: yes" >&5
46104 echo "${ECHO_T}yes" >&6; }
46106 wxUSE_GSTREAMER="yes"
46107 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46111 GST_VERSION_MINOR=8
46114 if test $GST_VERSION_MINOR = "8"; then
46115 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46118 { echo "$as_me:$LINENO: checking for GST" >&5
46119 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46121 if test -n "$PKG_CONFIG"; then
46122 if test -n "$GST_CFLAGS"; then
46123 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46125 if test -n "$PKG_CONFIG" && \
46126 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46127 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46130 (exit $ac_status); }; then
46131 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46139 if test -n "$PKG_CONFIG"; then
46140 if test -n "$GST_LIBS"; then
46141 pkg_cv_GST_LIBS="$GST_LIBS"
46143 if test -n "$PKG_CONFIG" && \
46144 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46145 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); }; then
46149 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46160 if test $pkg_failed = yes; then
46162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46163 _pkg_short_errors_supported=yes
46165 _pkg_short_errors_supported=no
46167 if test $_pkg_short_errors_supported = yes; then
46168 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46170 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46172 # Put the nasty error message in config.log where it belongs
46173 echo "$GST_PKG_ERRORS" >&5
46176 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46177 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46179 elif test $pkg_failed = untried; then
46181 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46182 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46185 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46186 GST_LIBS=$pkg_cv_GST_LIBS
46187 { echo "$as_me:$LINENO: result: yes" >&5
46188 echo "${ECHO_T}yes" >&6; }
46189 wxUSE_GSTREAMER="yes"
46194 if test "$wxUSE_GSTREAMER" = "yes"; then
46195 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46196 EXTRALIBS_MEDIA="$GST_LIBS"
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_GSTREAMER 1
46207 if test $USE_MEDIA = 1; then
46208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_MEDIACTRL 1
46217 if test "$cross_compiling" = "yes"; then
46220 OSINFO=`uname -s -r -m`
46221 OSINFO="\"$OSINFO\""
46224 cat >>confdefs.h <<_ACEOF
46225 #define WXWIN_OS_DESCRIPTION $OSINFO
46230 if test "x$prefix" != "xNONE"; then
46233 wxPREFIX=$ac_default_prefix
46236 cat >>confdefs.h <<_ACEOF
46237 #define wxINSTALL_PREFIX "$wxPREFIX"
46243 STD_BASE_LIBS="base"
46245 BUILT_WX_LIBS="base"
46246 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46248 if test "$wxUSE_SOCKETS" = "yes" ; then
46249 STD_BASE_LIBS="net $STD_BASE_LIBS"
46250 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46252 if test "$wxUSE_XML" = "yes" ; then
46253 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46254 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46257 if test "$wxUSE_GUI" = "yes"; then
46258 STD_GUI_LIBS="adv core"
46259 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46261 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46262 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46263 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46265 if test "$wxUSE_HTML" = "yes" ; then
46266 STD_GUI_LIBS="html $STD_GUI_LIBS"
46267 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46269 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46270 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46272 if test "$wxUSE_OPENGL" = "yes" ; then
46273 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46275 if test "$wxUSE_AUI" = "yes" ; then
46276 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46278 if test "$wxUSE_STC" = "yes" ; then
46279 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46281 if test "$wxUSE_XRC" = "yes" ; then
46282 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46283 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46294 if test "$wxUSE_MAC" = 1 ; then
46295 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46296 if test "$USE_DARWIN" = 1; then
46297 LDFLAGS="$LDFLAGS -framework QuickTime"
46299 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46302 if test "$USE_DARWIN" = 1; then
46303 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46305 LDFLAGS="$LDFLAGS -lCarbonLib"
46308 if test "$wxUSE_COCOA" = 1 ; then
46309 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46310 if test "$wxUSE_MEDIACTRL" = "yes"; then
46311 LDFLAGS="$LDFLAGS -framework QuickTime"
46314 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46315 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46318 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46320 if test "$wxUSE_GUI" = "yes"; then
46323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46324 erase event exec font image minimal mobile \
46325 mobile/wxedit mobile/styles render \
46326 shaped svg taborder vscroll widgets"
46328 if test "$wxUSE_MONOLITHIC" != "yes"; then
46329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46331 if test "$TOOLKIT" = "MSW"; then
46332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46333 if test "$wxUSE_UNIVERSAL" != "yes"; then
46334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46337 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46341 SAMPLES_SUBDIRS="console"
46345 if test "x$INTELCC" = "xyes" ; then
46346 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46347 elif test "$GCC" = yes ; then
46348 CWARNINGS="-Wall -Wundef"
46351 if test "x$INTELCXX" = "xyes" ; then
46352 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46353 elif test "$GXX" = yes ; then
46354 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46358 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46359 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46362 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46363 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46364 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46367 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46368 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46369 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46371 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46374 if test "x$MWCC" = "xyes"; then
46376 CC="$CC -cwd source -I-"
46377 CXX="$CXX -cwd source -I-"
46382 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46383 EXTRALIBS_XML="$EXPAT_LINK"
46384 EXTRALIBS_HTML="$MSPACK_LINK"
46385 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46386 if test "$wxUSE_GUI" = "yes"; then
46387 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT $EXTRALIBS_MEDIA`
46389 if test "$wxUSE_OPENGL" = "yes"; then
46390 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46393 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46395 WXCONFIG_LIBS="$LIBS"
46397 if test "$wxUSE_REGEX" = "builtin" ; then
46398 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46400 if test "$wxUSE_EXPAT" = "builtin" ; then
46401 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46403 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46404 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46406 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46407 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46409 if test "$wxUSE_LIBPNG" = "builtin" ; then
46410 wxconfig_3rdparty="png $wxconfig_3rdparty"
46412 if test "$wxUSE_ZLIB" = "builtin" ; then
46413 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46416 for i in $wxconfig_3rdparty ; do
46417 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46421 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46424 case "$wxUNIV_THEMES" in
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_ALL_THEMES 1
46433 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46434 cat >>confdefs.h <<_ACEOF
46435 #define wxUSE_THEME_$t 1
46451 if test $wxUSE_MONOLITHIC = "yes" ; then
46457 if test $wxUSE_PLUGINS = "yes" ; then
46463 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46469 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46500 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
46511 TOOLKIT_DESC="GTK+"
46512 if test "$WXGTK2" = 1; then
46513 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46514 if test "$wxUSE_GTKPRINT" = "yes" ; then
46515 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46517 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46518 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46520 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46521 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46523 if test "$wxUSE_LIBHILDON" = "yes"; then
46524 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46527 if test "$TOOLKIT_EXTRA" != ""; then
46528 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46534 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46538 TOOLKIT_DESC="base only"
46542 if test "$wxUSE_WINE" = "yes"; then
46543 BAKEFILE_FORCE_PLATFORM=win32
46546 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46548 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46549 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46550 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46551 echo $ECHO_N "(cached) $ECHO_C" >&6
46554 echo '#include <stdio.h>
46555 const wchar_t test_var[] = L"awidetest";' > conftest.h
46557 echo '#include "conftest.h"
46560 printf("%ls", test_var);
46564 wx_cv_gcc_pch_bug="pch not supported"
46566 if $CXX conftest.h >/dev/null 2>&1
46570 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46572 if tr -dc a-z < conftest$PROGRAM_EXT |
46573 grep awidetest >/dev/null
46575 wx_cv_gcc_pch_bug=no
46577 wx_cv_gcc_pch_bug=yes
46582 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46585 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46586 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46588 if test "$wx_cv_gcc_pch_bug" = yes; then
46596 if test "x$BAKEFILE_HOST" = "x"; then
46597 if test "x${host}" = "x" ; then
46598 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46599 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46600 { (exit 1); exit 1; }; }
46603 BAKEFILE_HOST="${host}"
46606 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46608 if test -n "$ac_tool_prefix"; then
46609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46610 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46613 if test "${ac_cv_prog_RANLIB+set}" = set; then
46614 echo $ECHO_N "(cached) $ECHO_C" >&6
46616 if test -n "$RANLIB"; then
46617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46620 for as_dir in $PATH
46623 test -z "$as_dir" && as_dir=.
46624 for ac_exec_ext in '' $ac_executable_extensions; do
46625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46636 RANLIB=$ac_cv_prog_RANLIB
46637 if test -n "$RANLIB"; then
46638 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46639 echo "${ECHO_T}$RANLIB" >&6; }
46641 { echo "$as_me:$LINENO: result: no" >&5
46642 echo "${ECHO_T}no" >&6; }
46647 if test -z "$ac_cv_prog_RANLIB"; then
46648 ac_ct_RANLIB=$RANLIB
46649 # Extract the first word of "ranlib", so it can be a program name with args.
46650 set dummy ranlib; ac_word=$2
46651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46653 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46654 echo $ECHO_N "(cached) $ECHO_C" >&6
46656 if test -n "$ac_ct_RANLIB"; then
46657 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46660 for as_dir in $PATH
46663 test -z "$as_dir" && as_dir=.
46664 for ac_exec_ext in '' $ac_executable_extensions; do
46665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46666 ac_cv_prog_ac_ct_RANLIB="ranlib"
46667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46676 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46677 if test -n "$ac_ct_RANLIB"; then
46678 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46679 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46681 { echo "$as_me:$LINENO: result: no" >&5
46682 echo "${ECHO_T}no" >&6; }
46685 if test "x$ac_ct_RANLIB" = x; then
46688 case $cross_compiling:$ac_tool_warned in
46690 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46691 whose name does not start with the host triplet. If you think this
46692 configuration is useful to you, please write to autoconf@gnu.org." >&5
46693 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46694 whose name does not start with the host triplet. If you think this
46695 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46696 ac_tool_warned=yes ;;
46698 RANLIB=$ac_ct_RANLIB
46701 RANLIB="$ac_cv_prog_RANLIB"
46704 # Find a good install program. We prefer a C program (faster),
46705 # so one script is as good as another. But avoid the broken or
46706 # incompatible versions:
46707 # SysV /etc/install, /usr/sbin/install
46708 # SunOS /usr/etc/install
46709 # IRIX /sbin/install
46711 # AmigaOS /C/install, which installs bootblocks on floppy discs
46712 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46713 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46714 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46715 # OS/2's system install, which has a completely different semantic
46716 # ./install, which can be erroneously created by make from ./install.sh.
46717 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46718 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46719 if test -z "$INSTALL"; then
46720 if test "${ac_cv_path_install+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46724 for as_dir in $PATH
46727 test -z "$as_dir" && as_dir=.
46728 # Account for people who put trailing slashes in PATH elements.
46730 ./ | .// | /cC/* | \
46731 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46732 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46735 # OSF1 and SCO ODT 3.0 have their own names for install.
46736 # Don't use installbsd from OSF since it installs stuff as root
46738 for ac_prog in ginstall scoinst install; do
46739 for ac_exec_ext in '' $ac_executable_extensions; do
46740 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46741 if test $ac_prog = install &&
46742 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46743 # AIX install. It has an incompatible calling convention.
46745 elif test $ac_prog = install &&
46746 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46747 # program-specific install script used by HP pwplus--don't use.
46750 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46763 if test "${ac_cv_path_install+set}" = set; then
46764 INSTALL=$ac_cv_path_install
46766 # As a last resort, use the slow shell script. Don't cache a
46767 # value for INSTALL within a source directory, because that will
46768 # break other packages using the cache if that directory is
46769 # removed, or if the value is a relative name.
46770 INSTALL=$ac_install_sh
46773 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46774 echo "${ECHO_T}$INSTALL" >&6; }
46776 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46777 # It thinks the first close brace ends the variable substitution.
46778 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46780 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46782 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46784 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46785 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46787 if test "$LN_S" = "ln -s"; then
46788 { echo "$as_me:$LINENO: result: yes" >&5
46789 echo "${ECHO_T}yes" >&6; }
46791 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46792 echo "${ECHO_T}no, using $LN_S" >&6; }
46796 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46798 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46799 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46800 echo $ECHO_N "(cached) $ECHO_C" >&6
46802 cat >conftest.make <<\_ACEOF
46805 @echo '@@@%%%=$(MAKE)=@@@%%%'
46807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46809 *@@@%%%=?*=@@@%%%*)
46810 eval ac_cv_prog_make_${ac_make}_set=yes;;
46812 eval ac_cv_prog_make_${ac_make}_set=no;;
46814 rm -f conftest.make
46816 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46817 { echo "$as_me:$LINENO: result: yes" >&5
46818 echo "${ECHO_T}yes" >&6; }
46821 { echo "$as_me:$LINENO: result: no" >&5
46822 echo "${ECHO_T}no" >&6; }
46823 SET_MAKE="MAKE=${MAKE-make}"
46828 if test "x$SUNCXX" = "xyes"; then
46830 AROPTIONS="-xar -o"
46832 elif test "x$SGICC" = "xyes"; then
46837 if test -n "$ac_tool_prefix"; then
46838 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46839 set dummy ${ac_tool_prefix}ar; ac_word=$2
46840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46842 if test "${ac_cv_prog_AR+set}" = set; then
46843 echo $ECHO_N "(cached) $ECHO_C" >&6
46845 if test -n "$AR"; then
46846 ac_cv_prog_AR="$AR" # Let the user override the test.
46848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46849 for as_dir in $PATH
46852 test -z "$as_dir" && as_dir=.
46853 for ac_exec_ext in '' $ac_executable_extensions; do
46854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46855 ac_cv_prog_AR="${ac_tool_prefix}ar"
46856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46866 if test -n "$AR"; then
46867 { echo "$as_me:$LINENO: result: $AR" >&5
46868 echo "${ECHO_T}$AR" >&6; }
46870 { echo "$as_me:$LINENO: result: no" >&5
46871 echo "${ECHO_T}no" >&6; }
46876 if test -z "$ac_cv_prog_AR"; then
46878 # Extract the first word of "ar", so it can be a program name with args.
46879 set dummy ar; ac_word=$2
46880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46882 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46883 echo $ECHO_N "(cached) $ECHO_C" >&6
46885 if test -n "$ac_ct_AR"; then
46886 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46889 for as_dir in $PATH
46892 test -z "$as_dir" && as_dir=.
46893 for ac_exec_ext in '' $ac_executable_extensions; do
46894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46895 ac_cv_prog_ac_ct_AR="ar"
46896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46905 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46906 if test -n "$ac_ct_AR"; then
46907 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46908 echo "${ECHO_T}$ac_ct_AR" >&6; }
46910 { echo "$as_me:$LINENO: result: no" >&5
46911 echo "${ECHO_T}no" >&6; }
46914 if test "x$ac_ct_AR" = x; then
46917 case $cross_compiling:$ac_tool_warned in
46919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46920 whose name does not start with the host triplet. If you think this
46921 configuration is useful to you, please write to autoconf@gnu.org." >&5
46922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46923 whose name does not start with the host triplet. If you think this
46924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46925 ac_tool_warned=yes ;;
46930 AR="$ac_cv_prog_AR"
46937 if test -n "$ac_tool_prefix"; then
46938 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46939 set dummy ${ac_tool_prefix}strip; ac_word=$2
46940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46942 if test "${ac_cv_prog_STRIP+set}" = set; then
46943 echo $ECHO_N "(cached) $ECHO_C" >&6
46945 if test -n "$STRIP"; then
46946 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46949 for as_dir in $PATH
46952 test -z "$as_dir" && as_dir=.
46953 for ac_exec_ext in '' $ac_executable_extensions; do
46954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46955 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46965 STRIP=$ac_cv_prog_STRIP
46966 if test -n "$STRIP"; then
46967 { echo "$as_me:$LINENO: result: $STRIP" >&5
46968 echo "${ECHO_T}$STRIP" >&6; }
46970 { echo "$as_me:$LINENO: result: no" >&5
46971 echo "${ECHO_T}no" >&6; }
46976 if test -z "$ac_cv_prog_STRIP"; then
46978 # Extract the first word of "strip", so it can be a program name with args.
46979 set dummy strip; ac_word=$2
46980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46983 echo $ECHO_N "(cached) $ECHO_C" >&6
46985 if test -n "$ac_ct_STRIP"; then
46986 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46989 for as_dir in $PATH
46992 test -z "$as_dir" && as_dir=.
46993 for ac_exec_ext in '' $ac_executable_extensions; do
46994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46995 ac_cv_prog_ac_ct_STRIP="strip"
46996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47006 if test -n "$ac_ct_STRIP"; then
47007 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47008 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47010 { echo "$as_me:$LINENO: result: no" >&5
47011 echo "${ECHO_T}no" >&6; }
47014 if test "x$ac_ct_STRIP" = x; then
47017 case $cross_compiling:$ac_tool_warned in
47019 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47020 whose name does not start with the host triplet. If you think this
47021 configuration is useful to you, please write to autoconf@gnu.org." >&5
47022 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47023 whose name does not start with the host triplet. If you think this
47024 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47025 ac_tool_warned=yes ;;
47030 STRIP="$ac_cv_prog_STRIP"
47033 if test -n "$ac_tool_prefix"; then
47034 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47035 set dummy ${ac_tool_prefix}nm; ac_word=$2
47036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47038 if test "${ac_cv_prog_NM+set}" = set; then
47039 echo $ECHO_N "(cached) $ECHO_C" >&6
47041 if test -n "$NM"; then
47042 ac_cv_prog_NM="$NM" # Let the user override the test.
47044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47045 for as_dir in $PATH
47048 test -z "$as_dir" && as_dir=.
47049 for ac_exec_ext in '' $ac_executable_extensions; do
47050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47051 ac_cv_prog_NM="${ac_tool_prefix}nm"
47052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47062 if test -n "$NM"; then
47063 { echo "$as_me:$LINENO: result: $NM" >&5
47064 echo "${ECHO_T}$NM" >&6; }
47066 { echo "$as_me:$LINENO: result: no" >&5
47067 echo "${ECHO_T}no" >&6; }
47072 if test -z "$ac_cv_prog_NM"; then
47074 # Extract the first word of "nm", so it can be a program name with args.
47075 set dummy nm; ac_word=$2
47076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47078 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47079 echo $ECHO_N "(cached) $ECHO_C" >&6
47081 if test -n "$ac_ct_NM"; then
47082 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47085 for as_dir in $PATH
47088 test -z "$as_dir" && as_dir=.
47089 for ac_exec_ext in '' $ac_executable_extensions; do
47090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47091 ac_cv_prog_ac_ct_NM="nm"
47092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47101 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47102 if test -n "$ac_ct_NM"; then
47103 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47104 echo "${ECHO_T}$ac_ct_NM" >&6; }
47106 { echo "$as_me:$LINENO: result: no" >&5
47107 echo "${ECHO_T}no" >&6; }
47110 if test "x$ac_ct_NM" = x; then
47113 case $cross_compiling:$ac_tool_warned in
47115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47116 whose name does not start with the host triplet. If you think this
47117 configuration is useful to you, please write to autoconf@gnu.org." >&5
47118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47119 whose name does not start with the host triplet. If you think this
47120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47121 ac_tool_warned=yes ;;
47126 NM="$ac_cv_prog_NM"
47130 case ${BAKEFILE_HOST} in
47132 INSTALL_DIR="mkdir -p"
47135 INSTALL_DIR='$(INSTALL) -d'
47141 case ${BAKEFILE_HOST} in
47142 *-*-cygwin* | *-*-mingw32* )
47143 LDFLAGS_GUI="-mwindows"
47149 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47150 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47151 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47152 echo $ECHO_N "(cached) $ECHO_C" >&6
47155 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47156 egrep -s GNU > /dev/null); then
47157 bakefile_cv_prog_makeisgnu="yes"
47159 bakefile_cv_prog_makeisgnu="no"
47163 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47164 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47166 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47183 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47184 case "${BAKEFILE_HOST}" in
47191 *-pc-os2_emx | *-pc-os2-emx )
47201 powerpc-apple-macos* )
47210 case "$BAKEFILE_FORCE_PLATFORM" in
47245 # Check whether --enable-omf was given.
47246 if test "${enable_omf+set}" = set; then
47247 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47251 case "${BAKEFILE_HOST}" in
47253 if test "x$GCC" = "xyes"; then
47254 CFLAGS="$CFLAGS -fno-common"
47255 CXXFLAGS="$CXXFLAGS -fno-common"
47257 if test "x$XLCC" = "xyes"; then
47258 CFLAGS="$CFLAGS -qnocommon"
47259 CXXFLAGS="$CXXFLAGS -qnocommon"
47263 *-pc-os2_emx | *-pc-os2-emx )
47264 if test "x$bk_os2_use_omf" = "xyes" ; then
47267 LDFLAGS="-Zomf $LDFLAGS"
47268 CFLAGS="-Zomf $CFLAGS"
47269 CXXFLAGS="-Zomf $CXXFLAGS"
47277 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47283 SO_SUFFIX_MODULE="so"
47288 DLLPREFIX_MODULE=""
47292 case "${BAKEFILE_HOST}" in
47295 SO_SUFFIX_MODULE="sl"
47299 SO_SUFFIX_MODULE="a"
47303 SO_SUFFIX_MODULE="dll"
47304 DLLIMP_SUFFIX="dll.a"
47311 SO_SUFFIX_MODULE="dll"
47312 DLLIMP_SUFFIX="dll.a"
47322 *-pc-os2_emx | *-pc-os2-emx )
47324 SO_SUFFIX_MODULE="dll"
47325 DLLIMP_SUFFIX=$OS2_LIBEXT
47329 LIBEXT=".$OS2_LIBEXT"
47334 SO_SUFFIX_MODULE="bundle"
47338 if test "x$DLLIMP_SUFFIX" = "x" ; then
47339 DLLIMP_SUFFIX="$SO_SUFFIX"
47354 if test "x$GCC" = "xyes"; then
47358 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47359 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47362 case "${BAKEFILE_HOST}" in
47364 if test "x$GCC" != "xyes"; then
47365 LDFLAGS="$LDFLAGS -L/usr/lib"
47367 SHARED_LD_CC="${CC} -b -o"
47368 SHARED_LD_CXX="${CXX} -b -o"
47374 if test "$INTELCC" = "yes"; then
47376 elif test "x$SUNCXX" = "xyes"; then
47377 SHARED_LD_CC="${CC} -G -o"
47378 SHARED_LD_CXX="${CXX} -G -o"
47384 if test "x$SUNCXX" = xyes ; then
47385 SHARED_LD_CC="${CC} -G -o"
47386 SHARED_LD_CXX="${CXX} -G -o"
47394 cat <<EOF >shared-ld-sh
47396 #-----------------------------------------------------------------------------
47397 #-- Name: distrib/mac/shared-ld-sh
47398 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47399 #-- Author: Gilles Depeyrot
47400 #-- Copyright: (c) 2002 Gilles Depeyrot
47401 #-- Licence: any use permitted
47402 #-----------------------------------------------------------------------------
47407 linking_flag="-dynamiclib"
47408 ldargs="-r -keep_private_externs -nostdlib"
47410 while test ${D}# -gt 0; do
47417 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47418 # collect these options and values
47419 args="${D}{args} ${D}1 ${D}2"
47424 # collect these load args
47425 ldargs="${D}{ldargs} ${D}1"
47428 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47429 # collect these options
47430 args="${D}{args} ${D}1"
47433 -dynamiclib|-bundle)
47434 linking_flag="${D}1"
47438 echo "shared-ld: unhandled option '${D}1'"
47442 *.o | *.a | *.dylib)
47443 # collect object files
47444 objects="${D}{objects} ${D}1"
47448 echo "shared-ld: unhandled argument '${D}1'"
47459 # Link one module containing all the others
47461 if test ${D}{verbose} = 1; then
47462 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47464 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47468 # Link the shared library from the single module created, but only if the
47469 # previous command didn't fail:
47471 if test ${D}{status} = 0; then
47472 if test ${D}{verbose} = 1; then
47473 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47475 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47480 # Remove intermediate module
47482 rm -f master.${D}${D}.o
47487 chmod +x shared-ld-sh
47489 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47490 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47493 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47494 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47495 if test "${bakefile_cv_gcc31+set}" = set; then
47496 echo $ECHO_N "(cached) $ECHO_C" >&6
47499 cat >conftest.$ac_ext <<_ACEOF
47502 cat confdefs.h >>conftest.$ac_ext
47503 cat >>conftest.$ac_ext <<_ACEOF
47504 /* end confdefs.h. */
47510 #if (__GNUC__ < 3) || \
47511 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47519 rm -f conftest.$ac_objext
47520 if { (ac_try="$ac_compile"
47521 case "(($ac_try" in
47522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47523 *) ac_try_echo=$ac_try;;
47525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47526 (eval "$ac_compile") 2>conftest.er1
47528 grep -v '^ *+' conftest.er1 >conftest.err
47530 cat conftest.err >&5
47531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47532 (exit $ac_status); } && {
47533 test -z "$ac_c_werror_flag" ||
47534 test ! -s conftest.err
47535 } && test -s conftest.$ac_objext; then
47537 bakefile_cv_gcc31=yes
47540 echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47544 bakefile_cv_gcc31=no
47549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47552 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47553 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47554 if test "$bakefile_cv_gcc31" = "no"; then
47555 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47556 SHARED_LD_CXX="$SHARED_LD_CC"
47558 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47559 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47562 if test "x$GCC" == "xyes"; then
47563 PIC_FLAG="-dynamic -fPIC"
47565 if test "x$XLCC" = "xyes"; then
47566 PIC_FLAG="-dynamic -DPIC"
47571 if test "x$GCC" = "xyes"; then
47574 case "${BAKEFILE_HOST}" in
47576 LD_EXPFULL="-Wl,-bexpfull"
47580 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47581 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47583 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47584 set dummy makeC++SharedLib; ac_word=$2
47585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47587 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47588 echo $ECHO_N "(cached) $ECHO_C" >&6
47590 if test -n "$AIX_CXX_LD"; then
47591 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47594 for as_dir in $PATH
47597 test -z "$as_dir" && as_dir=.
47598 for ac_exec_ext in '' $ac_executable_extensions; do
47599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47600 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47608 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47611 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47612 if test -n "$AIX_CXX_LD"; then
47613 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47614 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47616 { echo "$as_me:$LINENO: result: no" >&5
47617 echo "${ECHO_T}no" >&6; }
47621 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47622 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47627 SHARED_LD_CC="${LD} -nostart -o"
47628 SHARED_LD_CXX="${LD} -nostart -o"
47632 if test "x$GCC" != "xyes"; then
47637 *-*-cygwin* | *-*-mingw32* )
47639 SHARED_LD_CC="\$(CC) -shared -o"
47640 SHARED_LD_CXX="\$(CXX) -shared -o"
47644 *-pc-os2_emx | *-pc-os2-emx )
47645 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47646 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47650 cat <<EOF >dllar.sh
47653 # dllar - a tool to build both a .dll and an .a file
47654 # from a set of object (.o) files for EMX/OS2.
47656 # Written by Andrew Zabolotny, bit@freya.etu.ru
47657 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47659 # This script will accept a set of files on the command line.
47660 # All the public symbols from the .o files will be exported into
47661 # a .DEF file, then linker will be run (through gcc) against them to
47662 # build a shared library consisting of all given .o files. All libraries
47663 # (.a) will be first decompressed into component .o files then act as
47664 # described above. You can optionally give a description (-d "description")
47665 # which will be put into .DLL. To see the list of accepted options (as well
47666 # as command-line format) simply run this program without options. The .DLL
47667 # is built to be imported by name (there is no guarantee that new versions
47668 # of the library you build will have same ordinals for same symbols).
47670 # dllar is free software; you can redistribute it and/or modify
47671 # it under the terms of the GNU General Public License as published by
47672 # the Free Software Foundation; either version 2, or (at your option)
47673 # any later version.
47675 # dllar is distributed in the hope that it will be useful,
47676 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47677 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47678 # GNU General Public License for more details.
47680 # You should have received a copy of the GNU General Public License
47681 # along with dllar; see the file COPYING. If not, write to the Free
47682 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47685 # To successfuly run this program you will need:
47686 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47687 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47689 # (used to build the .dll)
47691 # (used to create .def file from .o files)
47693 # (used to create .a file from .def file)
47694 # - GNU text utilites (cat, sort, uniq)
47695 # used to process emxexp output
47696 # - GNU file utilities (mv, rm)
47698 # - lxlite (optional, see flag below)
47699 # (used for general .dll cleanup)
47706 # basnam, variant of basename, which does _not_ remove the path, _iff_
47707 # second argument (suffix to remove) is given
47711 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47714 echo ${D}1 | sed 's/'${D}2'${D}//'
47717 echo "error in basnam ${D}*"
47723 # Cleanup temporary files and output
47726 for i in ${D}inputFiles ; do
47729 rm -rf \`basnam ${D}i !\`
47736 # Kill result in case of failure as there is just to many stupid make/nmake
47737 # things out there which doesn't do this.
47738 if [ ${D}# -eq 0 ]; then
47739 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47743 # Print usage and exit script with rc=1.
47745 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47746 echo ' [-name-mangler-script script.sh]'
47747 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47748 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47749 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47750 echo ' [*.o] [*.a]'
47751 echo '*> "output_file" should have no extension.'
47752 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47753 echo ' The import library name is derived from this and is set to "name".a,'
47754 echo ' unless overridden by -import'
47755 echo '*> "importlib_name" should have no extension.'
47756 echo ' If it has the .o, or .a extension, it is automatically removed.'
47757 echo ' This name is used as the import library name and may be longer and'
47758 echo ' more descriptive than the DLL name which has to follow the old '
47759 echo ' 8.3 convention of FAT.'
47760 echo '*> "script.sh may be given to override the output_file name by a'
47761 echo ' different name. It is mainly useful if the regular make process'
47762 echo ' of some package does not take into account OS/2 restriction of'
47763 echo ' DLL name lengths. It takes the importlib name as input and is'
47764 echo ' supposed to procude a shorter name as output. The script should'
47765 echo ' expect to get importlib_name without extension and should produce'
47766 echo ' a (max.) 8 letter name without extension.'
47767 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47768 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47769 echo ' These flags will be put at the start of GCC command line.'
47770 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47771 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47772 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47773 echo ' If the last character of a symbol is "*", all symbols beginning'
47774 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47775 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47776 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47777 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47778 echo ' C runtime DLLs.'
47779 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47780 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47781 echo ' unchanged to GCC at the end of command line.'
47782 echo '*> If you create a DLL from a library and you do not specify -o,'
47783 echo ' the basename for DLL and import library will be set to library name,'
47784 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47785 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47786 echo ' library will be renamed into gcc_s.a.'
47789 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47790 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47795 # Execute a command.
47796 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47797 # @Uses Whatever CleanUp() uses.
47803 if [ ${D}rcCmd -ne 0 ]; then
47804 echo "command failed, exit code="${D}rcCmd
47819 CFLAGS="-s -Zcrtdll"
47821 EXPORT_BY_ORDINALS=0
47826 case ${D}curDirS in
47830 curDirS=${D}{curDirS}"/"
47833 # Parse commandline
47836 while [ ${D}1 ]; do
47839 EXPORT_BY_ORDINALS=1;
47849 -name-mangler-script)
47870 exclude_symbols=${D}{exclude_symbols}${D}1" "
47874 library_flags=${D}{library_flags}${D}1" "
47893 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47896 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47897 if [ ${D}omfLinking -eq 1 ]; then
47898 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47900 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47905 if [ ${D}libsToLink -ne 0 ]; then
47906 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47908 for file in ${D}1 ; do
47909 if [ -f ${D}file ]; then
47910 inputFiles="${D}{inputFiles} ${D}file"
47914 if [ ${D}found -eq 0 ]; then
47915 echo "ERROR: No file(s) found: "${D}1
47922 done # iterate cmdline words
47925 if [ -z "${D}inputFiles" ]; then
47926 echo "dllar: no input files"
47930 # Now extract all .o files from .a files
47932 for file in ${D}inputFiles ; do
47943 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47948 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47950 if [ ${D}? -ne 0 ]; then
47951 echo "Failed to create subdirectory ./${D}dirname"
47955 # Append '!' to indicate archive
47956 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47957 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47960 for subfile in ${D}dirname/*.o* ; do
47961 if [ -f ${D}subfile ]; then
47963 if [ -s ${D}subfile ]; then
47964 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47965 newInputFiles="${D}newInputFiles ${D}subfile"
47969 if [ ${D}found -eq 0 ]; then
47970 echo "WARNING: there are no files in archive \\'${D}file\\'"
47974 newInputFiles="${D}{newInputFiles} ${D}file"
47978 inputFiles="${D}newInputFiles"
47980 # Output filename(s).
47982 if [ -z ${D}outFile ]; then
47984 set outFile ${D}inputFiles; outFile=${D}2
47987 # If it is an archive, remove the '!' and the '_%' suffixes
47988 case ${D}outFile in
47990 outFile=\`basnam ${D}outFile _%!\`
47995 case ${D}outFile in
47997 outFile=\`basnam ${D}outFile .dll\`
48000 outFile=\`basnam ${D}outFile .DLL\`
48003 outFile=\`basnam ${D}outFile .o\`
48006 outFile=\`basnam ${D}outFile .obj\`
48009 outFile=\`basnam ${D}outFile .a\`
48012 outFile=\`basnam ${D}outFile .lib\`
48017 case ${D}outimpFile in
48019 outimpFile=\`basnam ${D}outimpFile .a\`
48022 outimpFile=\`basnam ${D}outimpFile .lib\`
48027 if [ -z ${D}outimpFile ]; then
48028 outimpFile=${D}outFile
48030 defFile="${D}{outFile}.def"
48031 arcFile="${D}{outimpFile}.a"
48032 arcFile2="${D}{outimpFile}.lib"
48034 #create ${D}dllFile as something matching 8.3 restrictions,
48035 if [ -z ${D}renameScript ] ; then
48036 dllFile="${D}outFile"
48038 dllFile=\`${D}renameScript ${D}outimpFile\`
48041 if [ ${D}do_backup -ne 0 ] ; then
48042 if [ -f ${D}arcFile ] ; then
48043 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48045 if [ -f ${D}arcFile2 ] ; then
48046 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48050 # Extract public symbols from all the object files.
48051 tmpdefFile=${D}{defFile}_%
48052 rm -f ${D}tmpdefFile
48053 for file in ${D}inputFiles ; do
48058 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48063 # Create the def file.
48065 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48066 dllFile="${D}{dllFile}.dll"
48067 if [ ! -z ${D}description ]; then
48068 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48070 echo "EXPORTS" >> ${D}defFile
48072 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48073 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48075 # Checks if the export is ok or not.
48076 for word in ${D}exclude_symbols; do
48077 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48078 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48082 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48083 sed "=" < ${D}tmpdefFile | \\
48087 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48089 ' > ${D}{tmpdefFile}%
48090 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48092 rm -f ${D}{tmpdefFile}%
48094 cat ${D}tmpdefFile >> ${D}defFile
48095 rm -f ${D}tmpdefFile
48097 # Do linking, create implib, and apply lxlite.
48099 for file in ${D}inputFiles ; do
48104 gccCmdl="${D}gccCmdl ${D}file"
48108 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48109 touch "${D}{outFile}.dll"
48111 doCommand "emximp -o ${D}arcFile ${D}defFile"
48112 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48114 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48117 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48119 doCommand "emxomf -s -l ${D}arcFile"
48129 powerpc-apple-macos* | \
48130 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48140 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48141 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48142 { (exit 1); exit 1; }; }
48145 if test "x$PIC_FLAG" != "x" ; then
48146 PIC_FLAG="$PIC_FLAG -DPIC"
48149 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48150 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48152 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48153 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48172 case "${BAKEFILE_HOST}" in
48173 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48174 if test "x$SUNCXX" = "xyes"; then
48177 SONAME_FLAG="-Wl,-soname,"
48212 # Check whether --enable-dependency-tracking was given.
48213 if test "${enable_dependency_tracking+set}" = set; then
48214 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48218 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48219 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48222 if test "x$bk_use_trackdeps" = "xno" ; then
48224 { echo "$as_me:$LINENO: result: disabled" >&5
48225 echo "${ECHO_T}disabled" >&6; }
48229 if test "x$GCC" = "xyes"; then
48231 case "${BAKEFILE_HOST}" in
48233 DEPSFLAG="-no-cpp-precomp -MMD"
48239 { echo "$as_me:$LINENO: result: gcc" >&5
48240 echo "${ECHO_T}gcc" >&6; }
48241 elif test "x$MWCC" = "xyes"; then
48244 { echo "$as_me:$LINENO: result: mwcc" >&5
48245 echo "${ECHO_T}mwcc" >&6; }
48246 elif test "x$SUNCC" = "xyes"; then
48249 { echo "$as_me:$LINENO: result: Sun cc" >&5
48250 echo "${ECHO_T}Sun cc" >&6; }
48251 elif test "x$SGICC" = "xyes"; then
48254 { echo "$as_me:$LINENO: result: SGI cc" >&5
48255 echo "${ECHO_T}SGI cc" >&6; }
48256 elif test "x$HPCC" = "xyes"; then
48259 { echo "$as_me:$LINENO: result: HP cc" >&5
48260 echo "${ECHO_T}HP cc" >&6; }
48261 elif test "x$COMPAQCC" = "xyes"; then
48264 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48265 echo "${ECHO_T}Compaq cc" >&6; }
48268 { echo "$as_me:$LINENO: result: none" >&5
48269 echo "${ECHO_T}none" >&6; }
48272 if test $DEPS_TRACKING = 1 ; then
48278 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48279 # script. It is used to track C/C++ files dependencies in portable way.
48281 # Permission is given to use this file in any way.
48283 DEPSMODE=${DEPSMODE}
48285 DEPSFLAG="${DEPSFLAG}"
48287 mkdir -p ${D}DEPSDIR
48289 if test ${D}DEPSMODE = gcc ; then
48290 ${D}* ${D}{DEPSFLAG}
48292 if test ${D}{status} != 0 ; then
48295 # move created file to the location we want it in:
48296 while test ${D}# -gt 0; do
48310 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48311 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48312 if test -f ${D}depfile ; then
48313 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48316 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48317 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48318 if test ! -f ${D}depfile ; then
48319 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48320 depfile="${D}objfile.d"
48322 if test -f ${D}depfile ; then
48323 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48328 elif test ${D}DEPSMODE = mwcc ; then
48329 ${D}* || exit ${D}?
48330 # Run mwcc again with -MM and redirect into the dep file we want
48331 # NOTE: We can't use shift here because we need ${D}* to be valid
48333 for arg in ${D}* ; do
48334 if test "${D}prevarg" = "-o"; then
48347 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48349 elif test ${D}DEPSMODE = unixcc; then
48350 ${D}* || exit ${D}?
48351 # Run compiler again with deps flag and redirect into the dep file.
48352 # It doesn't work if the '-o FILE' option is used, but without it the
48353 # dependency file will contain the wrong name for the object. So it is
48354 # removed from the command line, and the dep file is fixed with sed.
48356 while test ${D}# -gt 0; do
48363 eval arg${D}#=\\${D}1
48364 cmd="${D}cmd \\${D}arg${D}#"
48369 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48378 BK_DEPS="`pwd`/bk-deps"
48386 case ${BAKEFILE_HOST} in
48387 *-*-cygwin* | *-*-mingw32* )
48388 if test -n "$ac_tool_prefix"; then
48389 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48390 set dummy ${ac_tool_prefix}windres; ac_word=$2
48391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48393 if test "${ac_cv_prog_WINDRES+set}" = set; then
48394 echo $ECHO_N "(cached) $ECHO_C" >&6
48396 if test -n "$WINDRES"; then
48397 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48400 for as_dir in $PATH
48403 test -z "$as_dir" && as_dir=.
48404 for ac_exec_ext in '' $ac_executable_extensions; do
48405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48406 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48416 WINDRES=$ac_cv_prog_WINDRES
48417 if test -n "$WINDRES"; then
48418 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48419 echo "${ECHO_T}$WINDRES" >&6; }
48421 { echo "$as_me:$LINENO: result: no" >&5
48422 echo "${ECHO_T}no" >&6; }
48427 if test -z "$ac_cv_prog_WINDRES"; then
48428 ac_ct_WINDRES=$WINDRES
48429 # Extract the first word of "windres", so it can be a program name with args.
48430 set dummy windres; ac_word=$2
48431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48433 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48436 if test -n "$ac_ct_WINDRES"; then
48437 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48440 for as_dir in $PATH
48443 test -z "$as_dir" && as_dir=.
48444 for ac_exec_ext in '' $ac_executable_extensions; do
48445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48446 ac_cv_prog_ac_ct_WINDRES="windres"
48447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48456 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48457 if test -n "$ac_ct_WINDRES"; then
48458 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48459 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48461 { echo "$as_me:$LINENO: result: no" >&5
48462 echo "${ECHO_T}no" >&6; }
48465 if test "x$ac_ct_WINDRES" = x; then
48468 case $cross_compiling:$ac_tool_warned in
48470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48471 whose name does not start with the host triplet. If you think this
48472 configuration is useful to you, please write to autoconf@gnu.org." >&5
48473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48474 whose name does not start with the host triplet. If you think this
48475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48476 ac_tool_warned=yes ;;
48478 WINDRES=$ac_ct_WINDRES
48481 WINDRES="$ac_cv_prog_WINDRES"
48486 *-*-darwin* | powerpc-apple-macos* )
48487 # Extract the first word of "Rez", so it can be a program name with args.
48488 set dummy Rez; ac_word=$2
48489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48491 if test "${ac_cv_prog_REZ+set}" = set; then
48492 echo $ECHO_N "(cached) $ECHO_C" >&6
48494 if test -n "$REZ"; then
48495 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48498 for as_dir in $PATH
48501 test -z "$as_dir" && as_dir=.
48502 for ac_exec_ext in '' $ac_executable_extensions; do
48503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48504 ac_cv_prog_REZ="Rez"
48505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48512 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48515 REZ=$ac_cv_prog_REZ
48516 if test -n "$REZ"; then
48517 { echo "$as_me:$LINENO: result: $REZ" >&5
48518 echo "${ECHO_T}$REZ" >&6; }
48520 { echo "$as_me:$LINENO: result: no" >&5
48521 echo "${ECHO_T}no" >&6; }
48525 # Extract the first word of "SetFile", so it can be a program name with args.
48526 set dummy SetFile; ac_word=$2
48527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48529 if test "${ac_cv_prog_SETFILE+set}" = set; then
48530 echo $ECHO_N "(cached) $ECHO_C" >&6
48532 if test -n "$SETFILE"; then
48533 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48536 for as_dir in $PATH
48539 test -z "$as_dir" && as_dir=.
48540 for ac_exec_ext in '' $ac_executable_extensions; do
48541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48542 ac_cv_prog_SETFILE="SetFile"
48543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48550 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48553 SETFILE=$ac_cv_prog_SETFILE
48554 if test -n "$SETFILE"; then
48555 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48556 echo "${ECHO_T}$SETFILE" >&6; }
48558 { echo "$as_me:$LINENO: result: no" >&5
48559 echo "${ECHO_T}no" >&6; }
48571 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48574 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48578 # Check whether --enable-precomp-headers was given.
48579 if test "${enable_precomp_headers+set}" = set; then
48580 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48589 case ${BAKEFILE_HOST} in
48595 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48596 if test "x$GCC" = "xyes"; then
48597 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48598 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48599 cat >conftest.$ac_ext <<_ACEOF
48602 cat confdefs.h >>conftest.$ac_ext
48603 cat >>conftest.$ac_ext <<_ACEOF
48604 /* end confdefs.h. */
48610 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48611 There is no PCH support
48614 There is no PCH support
48616 #if (__GNUC__ == 3) && \
48617 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48618 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48619 ( defined(__INTEL_COMPILER) )
48620 There is no PCH support
48627 rm -f conftest.$ac_objext
48628 if { (ac_try="$ac_compile"
48629 case "(($ac_try" in
48630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48631 *) ac_try_echo=$ac_try;;
48633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48634 (eval "$ac_compile") 2>conftest.er1
48636 grep -v '^ *+' conftest.er1 >conftest.err
48638 cat conftest.err >&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } && {
48641 test -z "$ac_c_werror_flag" ||
48642 test ! -s conftest.err
48643 } && test -s conftest.$ac_objext; then
48645 { echo "$as_me:$LINENO: result: yes" >&5
48646 echo "${ECHO_T}yes" >&6; }
48650 echo "$as_me: failed program was:" >&5
48651 sed 's/^/| /' conftest.$ac_ext >&5
48654 cat >conftest.$ac_ext <<_ACEOF
48657 cat confdefs.h >>conftest.$ac_ext
48658 cat >>conftest.$ac_ext <<_ACEOF
48659 /* end confdefs.h. */
48665 #if !defined(__INTEL_COMPILER) || \
48666 (__INTEL_COMPILER < 800)
48667 There is no PCH support
48674 rm -f conftest.$ac_objext
48675 if { (ac_try="$ac_compile"
48676 case "(($ac_try" in
48677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48678 *) ac_try_echo=$ac_try;;
48680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48681 (eval "$ac_compile") 2>conftest.er1
48683 grep -v '^ *+' conftest.er1 >conftest.err
48685 cat conftest.err >&5
48686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48687 (exit $ac_status); } && {
48688 test -z "$ac_c_werror_flag" ||
48689 test ! -s conftest.err
48690 } && test -s conftest.$ac_objext; then
48692 { echo "$as_me:$LINENO: result: yes" >&5
48693 echo "${ECHO_T}yes" >&6; }
48697 echo "$as_me: failed program was:" >&5
48698 sed 's/^/| /' conftest.$ac_ext >&5
48701 { echo "$as_me:$LINENO: result: no" >&5
48702 echo "${ECHO_T}no" >&6; }
48706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48711 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48715 cat <<EOF >bk-make-pch
48718 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48719 # script. It is used to generated precompiled headers.
48721 # Permission is given to use this file in any way.
48731 while test ${D}{#} -gt 0; do
48735 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48736 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48737 headerfile="${D}{incdir}/${D}{header}"
48740 -use-pch|-use_pch )
48745 if test ${D}add_to_cmdline = 1 ; then
48746 compiler="${D}{compiler} ${D}{1}"
48751 if test "x${D}{headerfile}" = "x" ; then
48752 echo "error: can't find header ${D}{header} in include paths" >&2
48754 if test -f ${D}{outfile} ; then
48755 rm -f ${D}{outfile}
48757 mkdir -p \`dirname ${D}{outfile}\`
48759 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48761 if test "x${GCC_PCH}" = "x1" ; then
48762 # can do this because gcc is >= 3.4:
48763 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48764 elif test "x${ICC_PCH}" = "x1" ; then
48765 filename=pch_gen-${D}${D}
48766 file=${D}{filename}.c
48767 dfile=${D}{filename}.d
48768 cat > ${D}file <<EOT
48769 #include "${D}header"
48771 # using -MF icc complains about differing command lines in creation/use
48772 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48773 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48774 rm -f ${D}file ${D}dfile ${D}{filename}.o
48780 chmod +x bk-make-pch
48781 BK_MAKE_PCH="`pwd`/bk-make-pch"
48790 COND_BUILD_DEBUG="#"
48791 if test "x$BUILD" = "xdebug" ; then
48792 COND_BUILD_DEBUG=""
48795 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48796 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48797 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48800 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48801 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48802 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48805 COND_BUILD_DEBUG_UNICODE_0="#"
48806 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48807 COND_BUILD_DEBUG_UNICODE_0=""
48810 COND_BUILD_DEBUG_UNICODE_1="#"
48811 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48812 COND_BUILD_DEBUG_UNICODE_1=""
48815 COND_BUILD_RELEASE="#"
48816 if test "x$BUILD" = "xrelease" ; then
48817 COND_BUILD_RELEASE=""
48820 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48821 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48825 COND_BUILD_RELEASE_UNICODE_0="#"
48826 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48827 COND_BUILD_RELEASE_UNICODE_0=""
48830 COND_BUILD_RELEASE_UNICODE_1="#"
48831 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48832 COND_BUILD_RELEASE_UNICODE_1=""
48835 COND_DEBUG_FLAG_1="#"
48836 if test "x$DEBUG_FLAG" = "x1" ; then
48837 COND_DEBUG_FLAG_1=""
48840 COND_DEBUG_INFO_0="#"
48841 if test "x$DEBUG_INFO" = "x0" ; then
48842 COND_DEBUG_INFO_0=""
48845 COND_DEBUG_INFO_1="#"
48846 if test "x$DEBUG_INFO" = "x1" ; then
48847 COND_DEBUG_INFO_1=""
48850 COND_DEPS_TRACKING_0="#"
48851 if test "x$DEPS_TRACKING" = "x0" ; then
48852 COND_DEPS_TRACKING_0=""
48855 COND_DEPS_TRACKING_1="#"
48856 if test "x$DEPS_TRACKING" = "x1" ; then
48857 COND_DEPS_TRACKING_1=""
48861 if test "x$GCC_PCH" = "x1" ; then
48866 if test "x$ICC_PCH" = "x1" ; then
48870 COND_MONOLITHIC_0="#"
48871 if test "x$MONOLITHIC" = "x0" ; then
48872 COND_MONOLITHIC_0=""
48875 COND_MONOLITHIC_0_SHARED_0="#"
48876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48877 COND_MONOLITHIC_0_SHARED_0=""
48880 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48882 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48905 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48907 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48910 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48912 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48915 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48917 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48920 COND_MONOLITHIC_0_SHARED_1="#"
48921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48922 COND_MONOLITHIC_0_SHARED_1=""
48925 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48927 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48930 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48932 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48935 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48950 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48952 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48955 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48957 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48960 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48962 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48965 COND_MONOLITHIC_0_USE_AUI_1="#"
48966 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48967 COND_MONOLITHIC_0_USE_AUI_1=""
48970 COND_MONOLITHIC_0_USE_GUI_1="#"
48971 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48972 COND_MONOLITHIC_0_USE_GUI_1=""
48975 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48976 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48977 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48980 COND_MONOLITHIC_0_USE_HTML_1="#"
48981 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48982 COND_MONOLITHIC_0_USE_HTML_1=""
48985 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48986 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48987 COND_MONOLITHIC_0_USE_MEDIA_1=""
48990 COND_MONOLITHIC_0_USE_QA_1="#"
48991 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48992 COND_MONOLITHIC_0_USE_QA_1=""
48995 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48996 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48997 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49000 COND_MONOLITHIC_0_USE_STC_1="#"
49001 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49002 COND_MONOLITHIC_0_USE_STC_1=""
49005 COND_MONOLITHIC_0_USE_XRC_1="#"
49006 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49007 COND_MONOLITHIC_0_USE_XRC_1=""
49010 COND_MONOLITHIC_1="#"
49011 if test "x$MONOLITHIC" = "x1" ; then
49012 COND_MONOLITHIC_1=""
49015 COND_MONOLITHIC_1_SHARED_0="#"
49016 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49017 COND_MONOLITHIC_1_SHARED_0=""
49020 COND_MONOLITHIC_1_SHARED_1="#"
49021 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49022 COND_MONOLITHIC_1_SHARED_1=""
49025 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49026 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49027 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49030 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49031 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49032 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49035 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49036 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49037 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49040 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49041 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49042 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49045 COND_PLATFORM_MACOSX_1="#"
49046 if test "x$PLATFORM_MACOSX" = "x1" ; then
49047 COND_PLATFORM_MACOSX_1=""
49050 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49052 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49055 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49057 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49060 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49061 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49062 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49065 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49066 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49067 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49070 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49071 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49072 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49075 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49076 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49077 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49080 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49081 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49082 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49085 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49086 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49087 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49090 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49091 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49092 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49095 COND_PLATFORM_MACOS_1="#"
49096 if test "x$PLATFORM_MACOS" = "x1" ; then
49097 COND_PLATFORM_MACOS_1=""
49100 COND_PLATFORM_MAC_1="#"
49101 if test "x$PLATFORM_MAC" = "x1" ; then
49102 COND_PLATFORM_MAC_1=""
49105 COND_PLATFORM_MSDOS_1="#"
49106 if test "x$PLATFORM_MSDOS" = "x1" ; then
49107 COND_PLATFORM_MSDOS_1=""
49110 COND_PLATFORM_OS2_1="#"
49111 if test "x$PLATFORM_OS2" = "x1" ; then
49112 COND_PLATFORM_OS2_1=""
49115 COND_PLATFORM_UNIX_0="#"
49116 if test "x$PLATFORM_UNIX" = "x0" ; then
49117 COND_PLATFORM_UNIX_0=""
49120 COND_PLATFORM_UNIX_1="#"
49121 if test "x$PLATFORM_UNIX" = "x1" ; then
49122 COND_PLATFORM_UNIX_1=""
49125 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49126 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49127 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49130 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49131 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49135 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49136 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49137 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49140 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49141 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49142 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49145 COND_PLATFORM_WIN32_0="#"
49146 if test "x$PLATFORM_WIN32" = "x0" ; then
49147 COND_PLATFORM_WIN32_0=""
49150 COND_PLATFORM_WIN32_1="#"
49151 if test "x$PLATFORM_WIN32" = "x1" ; then
49152 COND_PLATFORM_WIN32_1=""
49156 if test "x$SHARED" = "x0" ; then
49160 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49161 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49162 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49165 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49166 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49167 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49170 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49171 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49172 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49175 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49176 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49177 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49180 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49181 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49182 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49185 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49186 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49187 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49190 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49191 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49192 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49195 COND_SHARED_0_USE_STC_1="#"
49196 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49197 COND_SHARED_0_USE_STC_1=""
49200 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49201 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49202 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49205 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49206 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49207 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49210 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49211 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49212 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49216 if test "x$SHARED" = "x1" ; then
49220 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49221 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49222 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49226 if test "x$TOOLKIT" = "x" ; then
49230 COND_TOOLKIT_COCOA="#"
49231 if test "x$TOOLKIT" = "xCOCOA" ; then
49232 COND_TOOLKIT_COCOA=""
49235 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49236 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49237 COND_TOOLKIT_COCOA_USE_GUI_1=""
49240 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49241 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49242 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49245 COND_TOOLKIT_DFB="#"
49246 if test "x$TOOLKIT" = "xDFB" ; then
49247 COND_TOOLKIT_DFB=""
49250 COND_TOOLKIT_DFB_USE_GUI_1="#"
49251 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49252 COND_TOOLKIT_DFB_USE_GUI_1=""
49255 COND_TOOLKIT_GTK="#"
49256 if test "x$TOOLKIT" = "xGTK" ; then
49257 COND_TOOLKIT_GTK=""
49260 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49261 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49265 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49266 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49270 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49271 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49272 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49275 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49276 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49281 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49285 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49286 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49287 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49290 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49291 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49292 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49295 COND_TOOLKIT_GTK_USE_GUI_1="#"
49296 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49297 COND_TOOLKIT_GTK_USE_GUI_1=""
49300 COND_TOOLKIT_MAC="#"
49301 if test "x$TOOLKIT" = "xMAC" ; then
49302 COND_TOOLKIT_MAC=""
49305 COND_TOOLKIT_MAC_USE_GUI_1="#"
49306 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49307 COND_TOOLKIT_MAC_USE_GUI_1=""
49310 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49311 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49312 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49315 COND_TOOLKIT_MGL="#"
49316 if test "x$TOOLKIT" = "xMGL" ; then
49317 COND_TOOLKIT_MGL=""
49320 COND_TOOLKIT_MGL_USE_GUI_1="#"
49321 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49322 COND_TOOLKIT_MGL_USE_GUI_1=""
49325 COND_TOOLKIT_MOTIF="#"
49326 if test "x$TOOLKIT" = "xMOTIF" ; then
49327 COND_TOOLKIT_MOTIF=""
49330 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49331 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49332 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49335 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49336 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49337 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49340 COND_TOOLKIT_MSW="#"
49341 if test "x$TOOLKIT" = "xMSW" ; then
49342 COND_TOOLKIT_MSW=""
49345 COND_TOOLKIT_MSW_USE_GUI_1="#"
49346 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49347 COND_TOOLKIT_MSW_USE_GUI_1=""
49350 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49351 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49352 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49355 COND_TOOLKIT_MSW_WXUNIV_0="#"
49356 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49357 COND_TOOLKIT_MSW_WXUNIV_0=""
49360 COND_TOOLKIT_PM="#"
49361 if test "x$TOOLKIT" = "xPM" ; then
49365 COND_TOOLKIT_PM_USE_GUI_1="#"
49366 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49367 COND_TOOLKIT_PM_USE_GUI_1=""
49370 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49371 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49372 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49375 COND_TOOLKIT_WINCE="#"
49376 if test "x$TOOLKIT" = "xWINCE" ; then
49377 COND_TOOLKIT_WINCE=""
49380 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49381 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49382 COND_TOOLKIT_WINCE_USE_GUI_1=""
49385 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49386 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49387 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49390 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49391 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49392 COND_TOOLKIT_WINCE_WXUNIV_0=""
49395 COND_TOOLKIT_X11="#"
49396 if test "x$TOOLKIT" = "xX11" ; then
49397 COND_TOOLKIT_X11=""
49400 COND_TOOLKIT_X11_USE_GUI_1="#"
49401 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49402 COND_TOOLKIT_X11_USE_GUI_1=""
49406 if test "x$UNICODE" = "x1" ; then
49410 COND_USE_EXCEPTIONS_0="#"
49411 if test "x$USE_EXCEPTIONS" = "x0" ; then
49412 COND_USE_EXCEPTIONS_0=""
49415 COND_USE_EXCEPTIONS_1="#"
49416 if test "x$USE_EXCEPTIONS" = "x1" ; then
49417 COND_USE_EXCEPTIONS_1=""
49421 if test "x$USE_GUI" = "x0" ; then
49426 if test "x$USE_GUI" = "x1" ; then
49430 COND_USE_GUI_1_USE_OPENGL_1="#"
49431 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49432 COND_USE_GUI_1_USE_OPENGL_1=""
49435 COND_USE_GUI_1_WXUNIV_0="#"
49436 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49437 COND_USE_GUI_1_WXUNIV_0=""
49440 COND_USE_GUI_1_WXUNIV_1="#"
49441 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49442 COND_USE_GUI_1_WXUNIV_1=""
49445 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49446 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49447 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49450 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49451 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49452 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49455 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49456 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49457 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49461 if test "x$USE_PCH" = "x1" ; then
49465 COND_USE_PLUGINS_0="#"
49466 if test "x$USE_PLUGINS" = "x0" ; then
49467 COND_USE_PLUGINS_0=""
49470 COND_USE_RTTI_0="#"
49471 if test "x$USE_RTTI" = "x0" ; then
49475 COND_USE_RTTI_1="#"
49476 if test "x$USE_RTTI" = "x1" ; then
49480 COND_USE_SOSYMLINKS_1="#"
49481 if test "x$USE_SOSYMLINKS" = "x1" ; then
49482 COND_USE_SOSYMLINKS_1=""
49485 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49486 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49487 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49490 COND_USE_SOVERLINUX_1="#"
49491 if test "x$USE_SOVERLINUX" = "x1" ; then
49492 COND_USE_SOVERLINUX_1=""
49495 COND_USE_SOVERSION_0="#"
49496 if test "x$USE_SOVERSION" = "x0" ; then
49497 COND_USE_SOVERSION_0=""
49500 COND_USE_SOVERSOLARIS_1="#"
49501 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49502 COND_USE_SOVERSOLARIS_1=""
49506 if test "x$USE_STC" = "x1" ; then
49510 COND_USE_THREADS_0="#"
49511 if test "x$USE_THREADS" = "x0" ; then
49512 COND_USE_THREADS_0=""
49515 COND_USE_THREADS_1="#"
49516 if test "x$USE_THREADS" = "x1" ; then
49517 COND_USE_THREADS_1=""
49521 if test "x$USE_XRC" = "x1" ; then
49525 COND_WINDOWS_IMPLIB_1="#"
49526 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49527 COND_WINDOWS_IMPLIB_1=""
49530 COND_WITH_PLUGIN_SDL_1="#"
49531 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49532 COND_WITH_PLUGIN_SDL_1=""
49536 if test "x$WXUNIV" = "x0" ; then
49541 if test "x$WXUNIV" = "x1" ; then
49545 COND_WXUSE_EXPAT_BUILTIN="#"
49546 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49547 COND_WXUSE_EXPAT_BUILTIN=""
49550 COND_WXUSE_LIBJPEG_BUILTIN="#"
49551 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49552 COND_WXUSE_LIBJPEG_BUILTIN=""
49555 COND_WXUSE_LIBPNG_BUILTIN="#"
49556 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49557 COND_WXUSE_LIBPNG_BUILTIN=""
49560 COND_WXUSE_LIBTIFF_BUILTIN="#"
49561 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49562 COND_WXUSE_LIBTIFF_BUILTIN=""
49565 COND_WXUSE_REGEX_BUILTIN="#"
49566 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49567 COND_WXUSE_REGEX_BUILTIN=""
49570 COND_WXUSE_ZLIB_BUILTIN="#"
49571 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49572 COND_WXUSE_ZLIB_BUILTIN=""
49577 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49578 { { 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
49579 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;}
49580 { (exit 1); exit 1; }; }
49583 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49584 { { 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
49585 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;}
49586 { (exit 1); exit 1; }; }
49593 ?:* ) # Drive letter, considered as absolute.
49596 INSTALL=`pwd`/${INSTALL} ;;
49599 if test "$wxUSE_GUI" = "yes"; then
49601 if test "$wxUSE_MSW" = 1 ; then
49602 if test "x$WINDRES" = "x"; then
49603 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49604 echo "$as_me: error: Required windres program not found" >&2;}
49605 { (exit 1); exit 1; }; }
49611 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49612 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49613 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49615 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49617 # Extract the first word of "DeRez", so it can be a program name with args.
49618 set dummy DeRez; ac_word=$2
49619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49621 if test "${ac_cv_prog_DEREZ+set}" = set; then
49622 echo $ECHO_N "(cached) $ECHO_C" >&6
49624 if test -n "$DEREZ"; then
49625 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49628 for as_dir in $PATH
49631 test -z "$as_dir" && as_dir=.
49632 for ac_exec_ext in '' $ac_executable_extensions; do
49633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49634 ac_cv_prog_DEREZ="DeRez"
49635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49642 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49645 DEREZ=$ac_cv_prog_DEREZ
49646 if test -n "$DEREZ"; then
49647 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49648 echo "${ECHO_T}$DEREZ" >&6; }
49650 { echo "$as_me:$LINENO: result: no" >&5
49651 echo "${ECHO_T}no" >&6; }
49656 MACSETFILE="\$(SETFILE)"
49658 if test "$wxUSE_MAC" = 1; then
49659 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49661 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49663 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49664 RESCOMP="cat /dev/null \| $REZ"
49665 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49671 if test "$wxUSE_PM" = 1; then
49673 WXCONFIG_RESFLAGS="-ep"
49675 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49677 POSTLINK_COMMAND="@true"
49684 if test $GCC_PCH = 1
49686 if test "$wx_cv_gcc_pch_bug" = yes; then
49687 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49688 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49689 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49690 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49691 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49692 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49695 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49699 if test "$wxUSE_MAC" = 1 ; then
49700 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49701 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49707 if test "$wxUSE_SHARED" = "yes"; then
49709 *-pc-os2_emx | *-pc-os2-emx )
49710 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49711 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49712 cp -p ${srcdir}/src/os2/dllnames.sh .
49713 cp -p ${srcdir}/src/os2/dllar.sh .
49717 if test "$wxUSE_OMF" = "yes"; then
49719 *-pc-os2_emx | *-pc-os2-emx )
49720 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49721 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49722 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49727 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49732 if test "$GCC" = yes; then
49733 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49734 LIBS=`echo $LIBS | sed 's/-mt//'`
49735 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49740 if test "x$SUNCXX" = xyes; then
49741 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49742 LIBS=`echo $LIBS | sed 's/-pthread//'`
49743 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49748 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49749 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49751 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49812 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49813 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49814 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49815 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49816 echo $ECHO_N "(cached) $ECHO_C" >&6
49818 cat >conftest.make <<\_ACEOF
49821 @echo '@@@%%%=$(MAKE)=@@@%%%'
49823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49825 *@@@%%%=?*=@@@%%%*)
49826 eval ac_cv_prog_make_${ac_make}_set=yes;;
49828 eval ac_cv_prog_make_${ac_make}_set=no;;
49830 rm -f conftest.make
49832 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49833 { echo "$as_me:$LINENO: result: yes" >&5
49834 echo "${ECHO_T}yes" >&6; }
49837 { echo "$as_me:$LINENO: result: no" >&5
49838 echo "${ECHO_T}no" >&6; }
49839 SET_MAKE="MAKE=${MAKE-make}"
49844 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49847 if test "$USE_WIN32" = 1; then
49848 ac_config_commands="$ac_config_commands
49854 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49857 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49860 if test "$wx_cv_version_script" = "yes"; then
49861 ac_config_files="$ac_config_files version-script"
49864 ac_config_files="$ac_config_files Makefile"
49867 ac_config_commands="$ac_config_commands wx-config"
49871 if test "$wxWITH_SUBDIRS" != "no"; then
49872 if test "$wxUSE_GUI" = "yes"; then
49873 SUBDIRS="samples demos utils"
49875 SUBDIRS="samples utils"
49880 # Check whether --with-cppunit-prefix was given.
49881 if test "${with_cppunit_prefix+set}" = set; then
49882 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49884 cppunit_config_prefix=""
49888 # Check whether --with-cppunit-exec-prefix was given.
49889 if test "${with_cppunit_exec_prefix+set}" = set; then
49890 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49892 cppunit_config_exec_prefix=""
49896 if test x$cppunit_config_exec_prefix != x ; then
49897 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49898 if test x${CPPUNIT_CONFIG+set} != xset ; then
49899 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49902 if test x$cppunit_config_prefix != x ; then
49903 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49904 if test x${CPPUNIT_CONFIG+set} != xset ; then
49905 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49909 # Extract the first word of "cppunit-config", so it can be a program name with args.
49910 set dummy cppunit-config; ac_word=$2
49911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49913 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49914 echo $ECHO_N "(cached) $ECHO_C" >&6
49916 case $CPPUNIT_CONFIG in
49918 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49922 for as_dir in $PATH
49925 test -z "$as_dir" && as_dir=.
49926 for ac_exec_ext in '' $ac_executable_extensions; do
49927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49928 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49936 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49940 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49941 if test -n "$CPPUNIT_CONFIG"; then
49942 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49943 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49945 { echo "$as_me:$LINENO: result: no" >&5
49946 echo "${ECHO_T}no" >&6; }
49950 cppunit_version_min=1.8.0
49952 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49953 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49955 if test "$CPPUNIT_CONFIG" = "no" ; then
49956 { echo "$as_me:$LINENO: result: no" >&5
49957 echo "${ECHO_T}no" >&6; }
49960 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49961 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49962 cppunit_version=`$CPPUNIT_CONFIG --version`
49964 cppunit_major_version=`echo $cppunit_version | \
49965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49966 cppunit_minor_version=`echo $cppunit_version | \
49967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49968 cppunit_micro_version=`echo $cppunit_version | \
49969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49971 cppunit_major_min=`echo $cppunit_version_min | \
49972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49973 cppunit_minor_min=`echo $cppunit_version_min | \
49974 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49975 cppunit_micro_min=`echo $cppunit_version_min | \
49976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49978 cppunit_version_proper=`expr \
49979 $cppunit_major_version \> $cppunit_major_min \| \
49980 $cppunit_major_version \= $cppunit_major_min \& \
49981 $cppunit_minor_version \> $cppunit_minor_min \| \
49982 $cppunit_major_version \= $cppunit_major_min \& \
49983 $cppunit_minor_version \= $cppunit_minor_min \& \
49984 $cppunit_micro_version \>= $cppunit_micro_min `
49986 if test "$cppunit_version_proper" = "1" ; then
49987 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49988 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49990 { echo "$as_me:$LINENO: result: no" >&5
49991 echo "${ECHO_T}no" >&6; }
49996 if test "x$no_cppunit" = x ; then
49997 SUBDIRS="$SUBDIRS tests"
50008 for subdir in $SUBDIRS; do
50009 if test -d ${srcdir}/${subdir} ; then
50010 if test "$wxUSE_GUI" = "yes"; then
50011 if test ${subdir} = "samples"; then
50012 makefiles="samples/Makefile.in $makefiles"
50013 for sample in $SAMPLES_SUBDIRS; do
50014 if test -d $srcdir/samples/$sample; then
50015 makefiles="samples/$sample/Makefile.in $makefiles"
50019 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
50020 eval "disabled=\$$disabled_var"
50021 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50022 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50025 if test ${subdir} = "samples"; then
50026 makefiles="samples/Makefile.in samples/console/Makefile.in"
50027 elif test ${subdir} = "utils"; then
50029 for util in HelpGen tex2rtf ; do
50030 if test -d $srcdir/utils/$util ; then
50031 makefiles="utils/$util/Makefile.in \
50032 utils/$util/src/Makefile.in \
50037 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50041 for mkin in $makefiles ; do
50042 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50043 ac_config_files="$ac_config_files $mk"
50049 cat >confcache <<\_ACEOF
50050 # This file is a shell script that caches the results of configure
50051 # tests run on this system so they can be shared between configure
50052 # scripts and configure runs, see configure's option --config-cache.
50053 # It is not useful on other systems. If it contains results you don't
50054 # want to keep, you may remove or edit it.
50056 # config.status only pays attention to the cache file if you give it
50057 # the --recheck option to rerun configure.
50059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50061 # following values.
50065 # The following way of writing the cache mishandles newlines in values,
50066 # but we know of no workaround that is simple, portable, and efficient.
50067 # So, we kill variables containing newlines.
50068 # Ultrix sh set writes to stderr and can't be redirected directly,
50069 # and sets the high bit in the cache file unless we assign to the vars.
50071 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50072 eval ac_val=\$$ac_var
50076 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50077 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50080 _ | IFS | as_nl) ;; #(
50081 *) $as_unset $ac_var ;;
50087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50088 *${as_nl}ac_space=\ *)
50089 # `set' does not quote correctly, so add quotes (double-quote
50090 # substitution turns \\\\ into \\, and sed turns \\ into \).
50093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50096 # `set' quotes correctly as required by POSIX, so do not add quotes.
50097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50111 if test -w "$cache_file"; then
50112 test "x$cache_file" != "x/dev/null" &&
50113 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50114 echo "$as_me: updating cache $cache_file" >&6;}
50115 cat confcache >$cache_file
50117 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50118 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50123 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50124 # Let make expand exec_prefix.
50125 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50127 DEFS=-DHAVE_CONFIG_H
50131 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50132 # 1. Remove the extension, and $U if already installed.
50133 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50134 ac_i=`echo "$ac_i" | sed "$ac_script"`
50135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50136 # will be set to the directory where LIBOBJS objects are built.
50137 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50138 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50140 LIBOBJS=$ac_libobjs
50142 LTLIBOBJS=$ac_ltlibobjs
50146 : ${CONFIG_STATUS=./config.status}
50147 ac_clean_files_save=$ac_clean_files
50148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50151 cat >$CONFIG_STATUS <<_ACEOF
50153 # Generated by $as_me.
50154 # Run this file to recreate the current configuration.
50155 # Compiler output produced by configure, useful for debugging
50156 # configure, is in config.log if it exists.
50159 ac_cs_recheck=false
50161 SHELL=\${CONFIG_SHELL-$SHELL}
50164 cat >>$CONFIG_STATUS <<\_ACEOF
50165 ## --------------------- ##
50166 ## M4sh Initialization. ##
50167 ## --------------------- ##
50169 # Be more Bourne compatible
50170 DUALCASE=1; export DUALCASE # for MKS sh
50171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50174 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50175 # is contrary to our usage. Disable this feature.
50176 alias -g '${1+"$@"}'='"$@"'
50177 setopt NO_GLOB_SUBST
50179 case `(set -o) 2>/dev/null` in
50180 *posix*) set -o posix ;;
50189 # Avoid depending upon Character Ranges.
50190 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50191 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50192 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50193 as_cr_digits='0123456789'
50194 as_cr_alnum=$as_cr_Letters$as_cr_digits
50196 # The user is always right.
50197 if test "${PATH_SEPARATOR+set}" != set; then
50198 echo "#! /bin/sh" >conf$$.sh
50199 echo "exit 0" >>conf$$.sh
50201 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50209 # Support unset when possible.
50210 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50218 # We need space, tab and new line, in precisely that order. Quoting is
50219 # there to prevent editors from complaining about space-tab.
50220 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50221 # splitting by setting IFS to empty value.)
50226 # Find who we are. Look in the path if we contain no directory separator.
50228 *[\\/]* ) as_myself=$0 ;;
50229 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50230 for as_dir in $PATH
50233 test -z "$as_dir" && as_dir=.
50234 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50240 # We did not find ourselves, most probably we were run as `sh COMMAND'
50241 # in which case we are not to be found in the path.
50242 if test "x$as_myself" = x; then
50245 if test ! -f "$as_myself"; then
50246 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50247 { (exit 1); exit 1; }
50250 # Work around bugs in pre-3.0 UWIN ksh.
50251 for as_var in ENV MAIL MAILPATH
50252 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50260 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50261 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50262 LC_TELEPHONE LC_TIME
50264 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50265 eval $as_var=C; export $as_var
50267 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50271 # Required to use basename.
50272 if expr a : '\(a\)' >/dev/null 2>&1 &&
50273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50279 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50280 as_basename=basename
50286 # Name of the executable.
50287 as_me=`$as_basename -- "$0" ||
50288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50289 X"$0" : 'X\(//\)$' \| \
50290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50292 sed '/^.*\/\([^/][^/]*\)\/*$/{
50311 as_lineno_1=$LINENO
50312 as_lineno_2=$LINENO
50313 test "x$as_lineno_1" != "x$as_lineno_2" &&
50314 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50316 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50317 # uniformly replaced by the line number. The first 'sed' inserts a
50318 # line-number line after each line using $LINENO; the second 'sed'
50319 # does the real work. The second script uses 'N' to pair each
50320 # line-number line with the line containing $LINENO, and appends
50321 # trailing '-' during substitution so that $LINENO is not a special
50322 # case at line end.
50323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50324 # scripts with optimization help from Paolo Bonzini. Blame Lee
50325 # E. McMahon (1931-1989) for sed's syntax. :-)
50337 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50340 ' >$as_me.lineno &&
50341 chmod +x "$as_me.lineno" ||
50342 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50343 { (exit 1); exit 1; }; }
50345 # Don't try to exec as it changes $[0], causing all sort of problems
50346 # (the dirname of $[0] is not the place where we might find the
50347 # original and so on. Autoconf is especially sensitive to this).
50348 . "./$as_me.lineno"
50349 # Exit status is that of the last command.
50354 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50360 ECHO_C= ECHO_N= ECHO_T=
50361 case `echo -n x` in
50363 case `echo 'x\c'` in
50364 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50371 if expr a : '\(a\)' >/dev/null 2>&1 &&
50372 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50378 rm -f conf$$ conf$$.exe conf$$.file
50379 if test -d conf$$.dir; then
50380 rm -f conf$$.dir/conf$$.file
50386 if ln -s conf$$.file conf$$ 2>/dev/null; then
50388 # ... but there are two gotchas:
50389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50391 # In both cases, we have to default to `cp -p'.
50392 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50394 elif ln conf$$.file conf$$ 2>/dev/null; then
50399 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50400 rmdir conf$$.dir 2>/dev/null
50402 if mkdir -p . 2>/dev/null; then
50405 test -d ./-p && rmdir ./-p
50409 if test -x / >/dev/null 2>&1; then
50410 as_test_x='test -x'
50412 if ls -dL / >/dev/null 2>&1; then
50419 if test -d "$1"; then
50425 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50426 ???[sx]*):;;*)false;;esac;fi
50430 as_executable_p=$as_test_x
50432 # Sed expression to map a string onto a valid CPP name.
50433 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50435 # Sed expression to map a string onto a valid variable name.
50436 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50441 # Save the log message, to keep $[0] and so on meaningful, and to
50442 # report actual input values of CONFIG_FILES etc. instead of their
50443 # values after options handling.
50445 This file was extended by wxWidgets $as_me 2.9.0, which was
50446 generated by GNU Autoconf 2.61. Invocation command line was
50448 CONFIG_FILES = $CONFIG_FILES
50449 CONFIG_HEADERS = $CONFIG_HEADERS
50450 CONFIG_LINKS = $CONFIG_LINKS
50451 CONFIG_COMMANDS = $CONFIG_COMMANDS
50454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50459 cat >>$CONFIG_STATUS <<_ACEOF
50460 # Files that config.status was made for.
50461 config_files="$ac_config_files"
50462 config_headers="$ac_config_headers"
50463 config_commands="$ac_config_commands"
50467 cat >>$CONFIG_STATUS <<\_ACEOF
50469 \`$as_me' instantiates files from templates according to the
50470 current configuration.
50472 Usage: $0 [OPTIONS] [FILE]...
50474 -h, --help print this help, then exit
50475 -V, --version print version number and configuration settings, then exit
50476 -q, --quiet do not print progress messages
50477 -d, --debug don't remove temporary files
50478 --recheck update $as_me by reconfiguring in the same conditions
50479 --file=FILE[:TEMPLATE]
50480 instantiate the configuration file FILE
50481 --header=FILE[:TEMPLATE]
50482 instantiate the configuration header FILE
50484 Configuration files:
50487 Configuration headers:
50490 Configuration commands:
50493 Report bugs to <bug-autoconf@gnu.org>."
50496 cat >>$CONFIG_STATUS <<_ACEOF
50498 wxWidgets config.status 2.9.0
50499 configured by $0, generated by GNU Autoconf 2.61,
50500 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50502 Copyright (C) 2006 Free Software Foundation, Inc.
50503 This config.status script is free software; the Free Software Foundation
50504 gives unlimited permission to copy, distribute and modify it."
50511 cat >>$CONFIG_STATUS <<\_ACEOF
50512 # If no file are specified by the user, then we need to provide default
50513 # value. By we need to know if files were specified by the user.
50519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50520 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50531 # Handling of the options.
50532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50534 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50535 echo "$ac_cs_version"; exit ;;
50536 --debug | --debu | --deb | --de | --d | -d )
50538 --file | --fil | --fi | --f )
50540 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50541 ac_need_defaults=false;;
50542 --header | --heade | --head | --hea )
50544 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50545 ac_need_defaults=false;;
50547 # Conflict between --help and --header
50548 { echo "$as_me: error: ambiguous option: $1
50549 Try \`$0 --help' for more information." >&2
50550 { (exit 1); exit 1; }; };;
50551 --help | --hel | -h )
50552 echo "$ac_cs_usage"; exit ;;
50553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50554 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50557 # This is an error.
50558 -*) { echo "$as_me: error: unrecognized option: $1
50559 Try \`$0 --help' for more information." >&2
50560 { (exit 1); exit 1; }; } ;;
50562 *) ac_config_targets="$ac_config_targets $1"
50563 ac_need_defaults=false ;;
50569 ac_configure_extra_args=
50571 if $ac_cs_silent; then
50573 ac_configure_extra_args="$ac_configure_extra_args --silent"
50577 cat >>$CONFIG_STATUS <<_ACEOF
50578 if \$ac_cs_recheck; then
50579 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50580 CONFIG_SHELL=$SHELL
50581 export CONFIG_SHELL
50582 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50586 cat >>$CONFIG_STATUS <<\_ACEOF
50590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50591 ## Running $as_me. ##
50597 cat >>$CONFIG_STATUS <<_ACEOF
50603 infile="$srcdir/include/wx/msw/genrcdefs.h"
50604 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50607 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50608 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50609 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50615 cat >>$CONFIG_STATUS <<\_ACEOF
50617 # Handling of arguments.
50618 for ac_config_target in $ac_config_targets
50620 case $ac_config_target in
50621 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50622 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50623 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50624 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50625 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50626 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50627 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50628 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50630 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50631 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50632 { (exit 1); exit 1; }; };;
50637 # If the user did not use the arguments to specify the items to instantiate,
50638 # then the envvar interface is used. Set only those that are not.
50639 # We use the long form for the default assignment because of an extremely
50640 # bizarre bug on SunOS 4.1.3.
50641 if $ac_need_defaults; then
50642 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50643 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50644 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50647 # Have a temporary directory for convenience. Make it in the build tree
50648 # simply because there is no reason against having it here, and in addition,
50649 # creating and moving files from /tmp can sometimes cause problems.
50650 # Hook for its removal unless debugging.
50651 # Note that there is a small window in which the directory will not be cleaned:
50652 # after its creation but before its name has been assigned to `$tmp'.
50656 trap 'exit_status=$?
50657 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50659 trap '{ (exit 1); exit 1; }' 1 2 13 15
50661 # Create a (secure) tmp directory for tmp files.
50664 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50665 test -n "$tmp" && test -d "$tmp"
50668 tmp=./conf$$-$RANDOM
50669 (umask 077 && mkdir "$tmp")
50672 echo "$me: cannot create a temporary directory in ." >&2
50673 { (exit 1); exit 1; }
50677 # Set up the sed scripts for CONFIG_FILES section.
50680 # No need to generate the scripts if there are no CONFIG_FILES.
50681 # This happens for instance when ./config.status config.h
50682 if test -n "$CONFIG_FILES"; then
50689 for ac_last_try in false false false false false :; do
50690 cat >conf$$subs.sed <<_ACEOF
50691 SHELL!$SHELL$ac_delim
50692 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50693 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50694 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50695 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50696 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50697 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50698 exec_prefix!$exec_prefix$ac_delim
50699 prefix!$prefix$ac_delim
50700 program_transform_name!$program_transform_name$ac_delim
50701 bindir!$bindir$ac_delim
50702 sbindir!$sbindir$ac_delim
50703 libexecdir!$libexecdir$ac_delim
50704 datarootdir!$datarootdir$ac_delim
50705 datadir!$datadir$ac_delim
50706 sysconfdir!$sysconfdir$ac_delim
50707 sharedstatedir!$sharedstatedir$ac_delim
50708 localstatedir!$localstatedir$ac_delim
50709 includedir!$includedir$ac_delim
50710 oldincludedir!$oldincludedir$ac_delim
50711 docdir!$docdir$ac_delim
50712 infodir!$infodir$ac_delim
50713 htmldir!$htmldir$ac_delim
50714 dvidir!$dvidir$ac_delim
50715 pdfdir!$pdfdir$ac_delim
50716 psdir!$psdir$ac_delim
50717 libdir!$libdir$ac_delim
50718 localedir!$localedir$ac_delim
50719 mandir!$mandir$ac_delim
50720 DEFS!$DEFS$ac_delim
50721 ECHO_C!$ECHO_C$ac_delim
50722 ECHO_N!$ECHO_N$ac_delim
50723 ECHO_T!$ECHO_T$ac_delim
50724 LIBS!$LIBS$ac_delim
50725 build_alias!$build_alias$ac_delim
50726 host_alias!$host_alias$ac_delim
50727 target_alias!$target_alias$ac_delim
50728 build!$build$ac_delim
50729 build_cpu!$build_cpu$ac_delim
50730 build_vendor!$build_vendor$ac_delim
50731 build_os!$build_os$ac_delim
50732 host!$host$ac_delim
50733 host_cpu!$host_cpu$ac_delim
50734 host_vendor!$host_vendor$ac_delim
50735 host_os!$host_os$ac_delim
50736 target!$target$ac_delim
50737 target_cpu!$target_cpu$ac_delim
50738 target_vendor!$target_vendor$ac_delim
50739 target_os!$target_os$ac_delim
50740 wx_top_builddir!$wx_top_builddir$ac_delim
50742 CFLAGS!$CFLAGS$ac_delim
50743 LDFLAGS!$LDFLAGS$ac_delim
50744 CPPFLAGS!$CPPFLAGS$ac_delim
50745 ac_ct_CC!$ac_ct_CC$ac_delim
50746 EXEEXT!$EXEEXT$ac_delim
50747 OBJEXT!$OBJEXT$ac_delim
50749 GREP!$GREP$ac_delim
50750 EGREP!$EGREP$ac_delim
50752 CXXFLAGS!$CXXFLAGS$ac_delim
50753 ac_ct_CXX!$ac_ct_CXX$ac_delim
50755 subdirs!$subdirs$ac_delim
50756 PKG_CONFIG!$PKG_CONFIG$ac_delim
50757 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50758 GTK_LIBS!$GTK_LIBS$ac_delim
50759 GTK_CONFIG!$GTK_CONFIG$ac_delim
50760 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50761 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50762 XMKMF!$XMKMF$ac_delim
50763 X_CFLAGS!$X_CFLAGS$ac_delim
50764 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50765 X_LIBS!$X_LIBS$ac_delim
50766 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50767 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50768 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50769 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50770 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50771 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50772 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50773 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50774 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50775 LIBICONV!$LIBICONV$ac_delim
50776 SDL_CONFIG!$SDL_CONFIG$ac_delim
50777 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50778 SDL_LIBS!$SDL_LIBS$ac_delim
50779 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50780 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50781 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50782 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50783 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50784 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50785 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50786 HILDON_LIBS!$HILDON_LIBS$ac_delim
50787 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50790 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50792 elif $ac_last_try; then
50793 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50794 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50795 { (exit 1); exit 1; }; }
50797 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50801 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50802 if test -n "$ac_eof"; then
50803 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50804 ac_eof=`expr $ac_eof + 1`
50807 cat >>$CONFIG_STATUS <<_ACEOF
50808 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50809 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50812 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50813 s/^/s,@/; s/!/@,|#_!!_#|/
50816 s/'"$ac_delim"'$/,g/; t
50818 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50819 ' >>$CONFIG_STATUS <conf$$subs.sed
50820 rm -f conf$$subs.sed
50821 cat >>$CONFIG_STATUS <<_ACEOF
50827 for ac_last_try in false false false false false :; do
50828 cat >conf$$subs.sed <<_ACEOF
50829 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50830 GST_CFLAGS!$GST_CFLAGS$ac_delim
50831 GST_LIBS!$GST_LIBS$ac_delim
50832 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50833 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50834 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50835 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50836 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50837 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50838 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50839 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50840 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50841 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50842 VENDOR!$VENDOR$ac_delim
50843 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50844 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50845 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50846 WXUNIV!$WXUNIV$ac_delim
50847 MONOLITHIC!$MONOLITHIC$ac_delim
50848 USE_PLUGINS!$USE_PLUGINS$ac_delim
50849 CXXWARNINGS!$CXXWARNINGS$ac_delim
50850 EXTRALIBS!$EXTRALIBS$ac_delim
50851 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50852 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50853 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50854 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50855 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50856 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50857 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50858 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50859 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50860 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50861 UNICODE!$UNICODE$ac_delim
50862 BUILD!$BUILD$ac_delim
50863 DEBUG_INFO!$DEBUG_INFO$ac_delim
50864 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50865 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50866 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50867 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50868 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50869 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50870 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50871 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50872 RANLIB!$RANLIB$ac_delim
50873 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50874 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50875 INSTALL_DATA!$INSTALL_DATA$ac_delim
50876 LN_S!$LN_S$ac_delim
50877 SET_MAKE!$SET_MAKE$ac_delim
50878 MAKE_SET!$MAKE_SET$ac_delim
50879 AROPTIONS!$AROPTIONS$ac_delim
50880 STRIP!$STRIP$ac_delim
50882 INSTALL_DIR!$INSTALL_DIR$ac_delim
50883 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50884 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50885 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50886 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50887 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50888 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50889 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50890 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50891 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50892 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50893 SO_SUFFIX!$SO_SUFFIX$ac_delim
50894 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50895 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50896 LIBPREFIX!$LIBPREFIX$ac_delim
50897 LIBEXT!$LIBEXT$ac_delim
50898 DLLPREFIX!$DLLPREFIX$ac_delim
50899 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50900 dlldir!$dlldir$ac_delim
50901 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50902 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50903 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50904 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50905 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50906 PIC_FLAG!$PIC_FLAG$ac_delim
50907 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50908 USE_SOVERSION!$USE_SOVERSION$ac_delim
50909 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50910 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50911 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50912 USE_MACVERSION!$USE_MACVERSION$ac_delim
50913 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50914 SONAME_FLAG!$SONAME_FLAG$ac_delim
50915 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50916 BK_DEPS!$BK_DEPS$ac_delim
50917 WINDRES!$WINDRES$ac_delim
50919 SETFILE!$SETFILE$ac_delim
50920 GCC_PCH!$GCC_PCH$ac_delim
50921 ICC_PCH!$ICC_PCH$ac_delim
50922 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50923 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50924 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50925 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50928 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50930 elif $ac_last_try; then
50931 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50932 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50933 { (exit 1); exit 1; }; }
50935 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50939 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50940 if test -n "$ac_eof"; then
50941 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50942 ac_eof=`expr $ac_eof + 1`
50945 cat >>$CONFIG_STATUS <<_ACEOF
50946 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50947 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50950 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50951 s/^/s,@/; s/!/@,|#_!!_#|/
50954 s/'"$ac_delim"'$/,g/; t
50956 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50957 ' >>$CONFIG_STATUS <conf$$subs.sed
50958 rm -f conf$$subs.sed
50959 cat >>$CONFIG_STATUS <<_ACEOF
50965 for ac_last_try in false false false false false :; do
50966 cat >conf$$subs.sed <<_ACEOF
50967 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50968 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50969 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50970 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50971 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50972 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50973 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50974 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50975 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50976 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50977 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50978 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50979 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50980 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50981 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50982 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50985 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50987 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50988 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50989 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50990 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50991 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50992 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50994 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50995 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50996 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50997 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50998 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50999 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51000 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51001 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51002 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51003 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51004 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51005 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51006 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51007 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51008 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51009 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51010 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51011 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51012 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51013 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51014 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51015 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51016 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51017 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51018 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51019 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51020 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51021 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51022 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51023 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51024 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51025 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51026 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51027 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51028 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51029 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51030 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51031 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51032 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51033 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51034 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51035 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51036 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51037 COND_SHARED_0!$COND_SHARED_0$ac_delim
51038 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51039 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51040 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51041 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51042 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51043 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51045 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51046 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51047 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51048 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51049 COND_SHARED_1!$COND_SHARED_1$ac_delim
51050 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51051 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51052 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51053 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51054 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51055 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51056 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51057 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51058 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51060 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51061 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51063 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51066 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51068 elif $ac_last_try; then
51069 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51070 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51071 { (exit 1); exit 1; }; }
51073 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51077 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51078 if test -n "$ac_eof"; then
51079 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51080 ac_eof=`expr $ac_eof + 1`
51083 cat >>$CONFIG_STATUS <<_ACEOF
51084 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51085 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51088 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51089 s/^/s,@/; s/!/@,|#_!!_#|/
51092 s/'"$ac_delim"'$/,g/; t
51094 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51095 ' >>$CONFIG_STATUS <conf$$subs.sed
51096 rm -f conf$$subs.sed
51097 cat >>$CONFIG_STATUS <<_ACEOF
51103 for ac_last_try in false false false false false :; do
51104 cat >conf$$subs.sed <<_ACEOF
51105 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51106 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51107 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51108 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51109 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51110 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51111 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51112 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51113 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51114 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51115 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51116 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51117 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51118 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51119 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51120 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51121 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51122 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51123 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51124 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51125 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51126 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51127 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51128 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51129 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51130 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51131 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51132 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51133 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51134 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51135 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51136 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51137 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51138 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51139 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51140 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51141 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51142 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51143 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51144 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51145 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51146 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51147 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51148 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51149 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51150 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51151 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51152 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51153 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51154 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51155 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51156 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51157 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51158 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51159 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51160 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51161 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51162 DEREZ!$DEREZ$ac_delim
51163 SHARED!$SHARED$ac_delim
51164 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51165 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51166 USE_GUI!$USE_GUI$ac_delim
51167 AFMINSTALL!$AFMINSTALL$ac_delim
51168 WIN32INSTALL!$WIN32INSTALL$ac_delim
51169 TOOLKIT!$TOOLKIT$ac_delim
51170 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51171 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51172 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51173 cross_compiling!$cross_compiling$ac_delim
51174 WIDGET_SET!$WIDGET_SET$ac_delim
51175 WX_RELEASE!$WX_RELEASE$ac_delim
51176 WX_VERSION!$WX_VERSION$ac_delim
51177 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51178 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51179 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51180 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51181 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51182 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51183 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51184 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51185 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51186 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51187 GUIDIST!$GUIDIST$ac_delim
51188 DISTDIR!$DISTDIR$ac_delim
51189 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51190 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51191 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51192 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51193 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51194 RESCOMP!$RESCOMP$ac_delim
51195 RESFLAGS!$RESFLAGS$ac_delim
51196 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51197 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51198 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51199 LIBWXMACRES!$LIBWXMACRES$ac_delim
51200 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51201 MACSETFILE!$MACSETFILE$ac_delim
51204 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51206 elif $ac_last_try; then
51207 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51208 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51209 { (exit 1); exit 1; }; }
51211 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51215 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51216 if test -n "$ac_eof"; then
51217 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51218 ac_eof=`expr $ac_eof + 1`
51221 cat >>$CONFIG_STATUS <<_ACEOF
51222 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51226 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51227 s/^/s,@/; s/!/@,|#_!!_#|/
51230 s/'"$ac_delim"'$/,g/; t
51232 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51233 ' >>$CONFIG_STATUS <conf$$subs.sed
51234 rm -f conf$$subs.sed
51235 cat >>$CONFIG_STATUS <<_ACEOF
51241 for ac_last_try in false false false false false :; do
51242 cat >conf$$subs.sed <<_ACEOF
51244 DLLTOOL!$DLLTOOL$ac_delim
51245 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51246 LIBOBJS!$LIBOBJS$ac_delim
51247 LTLIBOBJS!$LTLIBOBJS$ac_delim
51250 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
51252 elif $ac_last_try; then
51253 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51254 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51255 { (exit 1); exit 1; }; }
51257 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51261 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51262 if test -n "$ac_eof"; then
51263 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51264 ac_eof=`expr $ac_eof + 1`
51267 cat >>$CONFIG_STATUS <<_ACEOF
51268 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51269 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51272 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51273 s/^/s,@/; s/!/@,|#_!!_#|/
51276 s/'"$ac_delim"'$/,g/; t
51278 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51279 ' >>$CONFIG_STATUS <conf$$subs.sed
51280 rm -f conf$$subs.sed
51281 cat >>$CONFIG_STATUS <<_ACEOF
51288 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51289 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51290 # trailing colons and then remove the whole line if VPATH becomes empty
51291 # (actually we leave an empty line to preserve line numbers).
51292 if test "x$srcdir" = x.; then
51293 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51294 s/:*\$(srcdir):*/:/
51295 s/:*\${srcdir}:*/:/
51297 s/^\([^=]*=[ ]*\):*/\1/
51303 cat >>$CONFIG_STATUS <<\_ACEOF
51304 fi # test -n "$CONFIG_FILES"
51307 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51310 :[FHLC]) ac_mode=$ac_tag; continue;;
51312 case $ac_mode$ac_tag in
51314 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51315 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51316 { (exit 1); exit 1; }; };;
51317 :[FH]-) ac_tag=-:-;;
51318 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51335 -) ac_f="$tmp/stdin";;
51336 *) # Look for the file first in the build tree, then in the source tree
51337 # (if the path is not absolute). The absolute path cannot be DOS-style,
51338 # because $ac_f cannot contain `:'.
51342 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51344 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51345 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51346 { (exit 1); exit 1; }; };;
51348 ac_file_inputs="$ac_file_inputs $ac_f"
51351 # Let's still pretend it is `configure' which instantiates (i.e., don't
51352 # use $as_me), people would be surprised to read:
51353 # /* config.h. Generated by config.status. */
51354 configure_input="Generated from "`IFS=:
51355 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51356 if test x"$ac_file" != x-; then
51357 configure_input="$ac_file. $configure_input"
51358 { echo "$as_me:$LINENO: creating $ac_file" >&5
51359 echo "$as_me: creating $ac_file" >&6;}
51363 *:-:* | *:-) cat >"$tmp/stdin";;
51368 ac_dir=`$as_dirname -- "$ac_file" ||
51369 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51370 X"$ac_file" : 'X\(//\)[^/]' \| \
51371 X"$ac_file" : 'X\(//\)$' \| \
51372 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51378 /^X\(\/\/\)[^/].*/{
51393 -*) as_dir=./$as_dir;;
51395 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51399 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51400 *) as_qdir=$as_dir;;
51402 as_dirs="'$as_qdir' $as_dirs"
51403 as_dir=`$as_dirname -- "$as_dir" ||
51404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51405 X"$as_dir" : 'X\(//\)[^/]' \| \
51406 X"$as_dir" : 'X\(//\)$' \| \
51407 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51413 /^X\(\/\/\)[^/].*/{
51426 test -d "$as_dir" && break
51428 test -z "$as_dirs" || eval "mkdir $as_dirs"
51429 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51430 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51431 { (exit 1); exit 1; }; }; }
51435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51437 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51438 # A ".." for each directory in $ac_dir_suffix.
51439 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51440 case $ac_top_builddir_sub in
51441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51445 ac_abs_top_builddir=$ac_pwd
51446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51447 # for backward compatibility:
51448 ac_top_builddir=$ac_top_build_prefix
51451 .) # We are building in place.
51453 ac_top_srcdir=$ac_top_builddir_sub
51454 ac_abs_top_srcdir=$ac_pwd ;;
51455 [\\/]* | ?:[\\/]* ) # Absolute name.
51456 ac_srcdir=$srcdir$ac_dir_suffix;
51457 ac_top_srcdir=$srcdir
51458 ac_abs_top_srcdir=$srcdir ;;
51459 *) # Relative name.
51460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51461 ac_top_srcdir=$ac_top_build_prefix$srcdir
51462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51474 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51475 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51479 cat >>$CONFIG_STATUS <<\_ACEOF
51480 # If the template does not know about datarootdir, expand it.
51481 # FIXME: This hack should be removed a few years after 2.60.
51482 ac_datarootdir_hack=; ac_datarootdir_seen=
51484 case `sed -n '/datarootdir/ {
51493 ' $ac_file_inputs` in
51494 *datarootdir*) ac_datarootdir_seen=yes;;
51495 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51496 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51497 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51499 cat >>$CONFIG_STATUS <<_ACEOF
51500 ac_datarootdir_hack='
51501 s&@datadir@&$datadir&g
51502 s&@docdir@&$docdir&g
51503 s&@infodir@&$infodir&g
51504 s&@localedir@&$localedir&g
51505 s&@mandir@&$mandir&g
51506 s&\\\${datarootdir}&$datarootdir&g' ;;
51510 # Neutralize VPATH when `$srcdir' = `.'.
51511 # Shell code in configure.ac might set extrasub.
51512 # FIXME: do we really want to maintain this feature?
51513 cat >>$CONFIG_STATUS <<_ACEOF
51517 cat >>$CONFIG_STATUS <<\_ACEOF
51519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51520 s&@configure_input@&$configure_input&;t t
51521 s&@top_builddir@&$ac_top_builddir_sub&;t t
51522 s&@srcdir@&$ac_srcdir&;t t
51523 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51524 s&@top_srcdir@&$ac_top_srcdir&;t t
51525 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51526 s&@builddir@&$ac_builddir&;t t
51527 s&@abs_builddir@&$ac_abs_builddir&;t t
51528 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51529 s&@INSTALL@&$ac_INSTALL&;t t
51530 $ac_datarootdir_hack
51531 " $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
51533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51534 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51535 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51536 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51537 which seems to be undefined. Please make sure it is defined." >&5
51538 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51539 which seems to be undefined. Please make sure it is defined." >&2;}
51543 -) cat "$tmp/out"; rm -f "$tmp/out";;
51544 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51553 # Transform confdefs.h into a sed script `conftest.defines', that
51554 # substitutes the proper values into config.h.in to produce config.h.
51555 rm -f conftest.defines conftest.tail
51556 # First, append a space to every undef/define line, to ease matching.
51557 echo 's/$/ /' >conftest.defines
51558 # Then, protect against being on the right side of a sed subst, or in
51559 # an unquoted here document, in config.status. If some macros were
51560 # called several times there might be several #defines for the same
51561 # symbol, which is useless. But do not sort them, since the last
51562 # AC_DEFINE must be honored.
51563 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51564 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51565 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51566 # PARAMS is the parameter list in the macro definition--in most cases, it's
51567 # just an empty string.
51568 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51569 ac_dB='\\)[ (].*,\\1define\\2'
51577 s/^[ ]*#[ ]*define[ ][ ]*//
51582 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51583 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51584 ' >>conftest.defines
51586 # Remove the space that was appended to ease matching.
51587 # Then replace #undef with comments. This is necessary, for
51588 # example, in the case of _POSIX_SOURCE, which is predefined and required
51589 # on some systems where configure will not decide to define it.
51590 # (The regexp can be short, since the line contains either #define or #undef.)
51592 s,^[ #]*u.*,/* & */,' >>conftest.defines
51594 # Break up conftest.defines:
51595 ac_max_sed_lines=50
51597 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51598 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51599 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51601 ac_in='$ac_file_inputs'
51602 ac_out='"$tmp/out1"'
51603 ac_nxt='"$tmp/out2"'
51607 # Write a here document:
51608 cat >>$CONFIG_STATUS <<_ACEOF
51609 # First, check the format of the line:
51610 cat >"\$tmp/defines.sed" <<\\CEOF
51611 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51612 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51616 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51618 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51619 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51620 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51621 grep . conftest.tail >/dev/null || break
51622 rm -f conftest.defines
51623 mv conftest.tail conftest.defines
51625 rm -f conftest.defines conftest.tail
51627 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51628 cat >>$CONFIG_STATUS <<\_ACEOF
51629 if test x"$ac_file" != x-; then
51630 echo "/* $configure_input */" >"$tmp/config.h"
51631 cat "$ac_result" >>"$tmp/config.h"
51632 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51633 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51634 echo "$as_me: $ac_file is unchanged" >&6;}
51637 mv "$tmp/config.h" $ac_file
51640 echo "/* $configure_input */"
51646 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51647 echo "$as_me: executing $ac_file commands" >&6;}
51652 case $ac_file$ac_mode in
51654 mkdir -p $outdir &&
51655 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51657 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51658 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51659 "wx-config":C) rm -f wx-config
51660 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51667 { (exit 0); exit 0; }
51669 chmod +x $CONFIG_STATUS
51670 ac_clean_files=$ac_clean_files_save
51673 # configure is writing to config.log, and then calls config.status.
51674 # config.status does its own redirection, appending to config.log.
51675 # Unfortunately, on DOS this fails, as config.log is still kept open
51676 # by configure, so config.status won't be able to write to it; its
51677 # output is simply discarded. So we exec the FD to /dev/null,
51678 # effectively closing config.log, so it can be properly (re)opened and
51679 # appended to by config.status. When coming back to configure, we
51680 # need to make the FD available again.
51681 if test "$no_create" != yes; then
51683 ac_config_status_args=
51684 test "$silent" = yes &&
51685 ac_config_status_args="$ac_config_status_args --quiet"
51687 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51689 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51690 # would make configure fail if this is the last instruction.
51691 $ac_cs_success || { (exit 1); exit 1; }
51695 # CONFIG_SUBDIRS section.
51697 if test "$no_recursion" != yes; then
51699 # Remove --cache-file and --srcdir arguments so they do not pile up.
51700 ac_sub_configure_args=
51702 eval "set x $ac_configure_args"
51706 if test -n "$ac_prev"; then
51711 -cache-file | --cache-file | --cache-fil | --cache-fi \
51712 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51713 ac_prev=cache_file ;;
51714 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51715 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51718 --config-cache | -C)
51720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51724 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51726 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51730 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51732 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51736 # Always prepend --prefix to ensure using the same prefix
51737 # in subdir configurations.
51738 ac_arg="--prefix=$prefix"
51740 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51742 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51745 if test "$silent" = yes; then
51746 ac_sub_configure_args="--silent $ac_sub_configure_args"
51750 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51752 # Do not complain, so a configure script can configure whichever
51753 # parts of a large source tree are present.
51754 test -d "$srcdir/$ac_dir" || continue
51756 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51757 echo "$as_me:$LINENO: $ac_msg" >&5
51761 -*) as_dir=./$as_dir;;
51763 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51767 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51768 *) as_qdir=$as_dir;;
51770 as_dirs="'$as_qdir' $as_dirs"
51771 as_dir=`$as_dirname -- "$as_dir" ||
51772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51773 X"$as_dir" : 'X\(//\)[^/]' \| \
51774 X"$as_dir" : 'X\(//\)$' \| \
51775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51781 /^X\(\/\/\)[^/].*/{
51794 test -d "$as_dir" && break
51796 test -z "$as_dirs" || eval "mkdir $as_dirs"
51797 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51798 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51799 { (exit 1); exit 1; }; }; }
51803 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51806 # A ".." for each directory in $ac_dir_suffix.
51807 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51808 case $ac_top_builddir_sub in
51809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51813 ac_abs_top_builddir=$ac_pwd
51814 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51815 # for backward compatibility:
51816 ac_top_builddir=$ac_top_build_prefix
51819 .) # We are building in place.
51821 ac_top_srcdir=$ac_top_builddir_sub
51822 ac_abs_top_srcdir=$ac_pwd ;;
51823 [\\/]* | ?:[\\/]* ) # Absolute name.
51824 ac_srcdir=$srcdir$ac_dir_suffix;
51825 ac_top_srcdir=$srcdir
51826 ac_abs_top_srcdir=$srcdir ;;
51827 *) # Relative name.
51828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51829 ac_top_srcdir=$ac_top_build_prefix$srcdir
51830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51832 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51837 # Check for guested configure; otherwise get Cygnus style configure.
51838 if test -f "$ac_srcdir/configure.gnu"; then
51839 ac_sub_configure=$ac_srcdir/configure.gnu
51840 elif test -f "$ac_srcdir/configure"; then
51841 ac_sub_configure=$ac_srcdir/configure
51842 elif test -f "$ac_srcdir/configure.in"; then
51843 # This should be Cygnus configure.
51844 ac_sub_configure=$ac_aux_dir/configure
51846 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51847 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51851 # The recursion is here.
51852 if test -n "$ac_sub_configure"; then
51853 # Make the cache file name correct relative to the subdirectory.
51854 case $cache_file in
51855 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51856 *) # Relative name.
51857 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51860 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51861 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51862 # The eval makes quoting arguments work.
51863 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51864 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51865 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51866 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51867 { (exit 1); exit 1; }; }
51876 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51878 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51879 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51881 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51882 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51883 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51884 if test "$wxUSE_UNICODE" = "yes"; then
51885 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51886 echo " (using UTF-8)"
51888 echo " (using wchar_t)"
51894 echo " What level of wxWidgets compatibility should be enabled?"
51895 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51896 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51898 echo " Which libraries should wxWidgets use?"
51899 echo " STL ${wxUSE_STL}"
51900 echo " jpeg ${wxUSE_LIBJPEG-none}"
51901 echo " png ${wxUSE_LIBPNG-none}"
51902 echo " regex ${wxUSE_REGEX}"
51903 echo " tiff ${wxUSE_LIBTIFF-none}"
51904 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51905 echo " xpm ${wxUSE_LIBXPM-none}"
51907 echo " zlib ${wxUSE_ZLIB}"
51908 echo " expat ${wxUSE_EXPAT}"
51909 echo " libmspack ${wxUSE_LIBMSPACK}"
51910 echo " sdl ${wxUSE_LIBSDL}"