2 # From configure.in Id: configure.in 50116 2007-11-20 22:35:40Z VS .
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
756 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_DFB_USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11_USE_GUI_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
953 COND_USE_SOVERSOLARIS_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1014 ac_precious_vars
='build_alias
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1048 ac_subdirs_all
='src/tiff
1051 # Initialize some variables set by options.
1053 ac_init_version
=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file
=/dev
/null
1063 program_transform_name
=s
,x
,x
,
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir
='${exec_prefix}/bin'
1078 sbindir
='${exec_prefix}/sbin'
1079 libexecdir
='${exec_prefix}/libexec'
1080 datarootdir
='${prefix}/share'
1081 datadir
='${datarootdir}'
1082 sysconfdir
='${prefix}/etc'
1083 sharedstatedir
='${prefix}/com'
1084 localstatedir
='${prefix}/var'
1085 includedir
='${prefix}/include'
1086 oldincludedir
='/usr/include'
1087 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir
='${datarootdir}/info'
1093 libdir
='${exec_prefix}/lib'
1094 localedir
='${datarootdir}/locale'
1095 mandir
='${datarootdir}/man'
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\
$ac_option
1109 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1115 case $ac_dashdash$ac_option in
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir
=$ac_optarg ;;
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev
=build_alias
;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias
=$ac_optarg ;;
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev
=cache_file
;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file
=$ac_optarg ;;
1136 --config-cache | -C)
1137 cache_file
=config.cache
;;
1139 -datadir | --datadir | --datadi | --datad)
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir
=$ac_optarg ;;
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev
=datarootdir
;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir
=$ac_optarg ;;
1151 -disable-* | --disable-*)
1152 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_
$ac_feature=no
;;
1160 -docdir | --docdir | --docdi | --doc | --do)
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir
=$ac_optarg ;;
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir
=$ac_optarg ;;
1170 -enable-* | --enable-*)
1171 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_
$ac_feature=\
$ac_optarg ;;
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev
=exec_prefix
;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix
=$ac_optarg ;;
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help
=long
;;
1194 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1195 ac_init_help
=recursive
;;
1196 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1197 ac_init_help
=short
;;
1199 -host | --host | --hos | --ho)
1200 ac_prev
=host_alias
;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias
=$ac_optarg ;;
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1208 htmldir
=$ac_optarg ;;
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev
=includedir
;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir
=$ac_optarg ;;
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir
=$ac_optarg ;;
1222 -libdir | --libdir | --libdi | --libd)
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir
=$ac_optarg ;;
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev
=libexecdir
;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir
=$ac_optarg ;;
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev
=localedir
;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir
=$ac_optarg ;;
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev
=localstatedir
;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir
=$ac_optarg ;;
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir
=$ac_optarg ;;
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev
=oldincludedir
;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir
=$ac_optarg ;;
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix
=$ac_optarg ;;
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev
=program_prefix
;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix
=$ac_optarg ;;
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev
=program_suffix
;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix
=$ac_optarg ;;
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev
=program_transform_name
;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name
=$ac_optarg ;;
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir
=$ac_optarg ;;
1313 -psdir | --psdir | --psdi | --psd | --ps)
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1326 sbindir
=$ac_optarg ;;
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1332 ac_prev
=sharedstatedir
;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1337 sharedstatedir
=$ac_optarg ;;
1339 -site | --site | --sit)
1341 -site=* | --site=* | --sit=*)
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir
=$ac_optarg ;;
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev
=sysconfdir
;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir
=$ac_optarg ;;
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev
=target_alias
;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias
=$ac_optarg ;;
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version
=: ;;
1368 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_
$ac_package=\
$ac_optarg ;;
1376 -without-* | --without-*)
1377 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_
$ac_package=no
;;
1386 # Obsolete; use --with-x.
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev
=x_includes
;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes
=$ac_optarg ;;
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev
=x_libraries
;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries
=$ac_optarg ;;
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1409 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\
$ac_optarg
1415 export $ac_envvar ;;
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1428 if test -n "$ac_prev"; then
1429 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1434 # Be sure to have absolute directory names.
1435 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1440 eval ac_val
=\$
$ac_var
1442 [\\/$
]* | ?
:[\\/]* ) continue;;
1443 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1454 target
=$target_alias
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x
; then
1458 if test "x$build_alias" = x
; then
1459 cross_compiling
=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1468 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1470 test "$silent" = yes && exec 6>/dev
/null
1473 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di
=`ls -di .` &&
1475 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted
=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir
=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1515 ac_srcdir_defaulted
=no
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1522 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1535 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1537 for ac_var
in $ac_precious_vars; do
1538 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1539 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1540 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1541 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1545 # Report the --help message.
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1558 Defaults for the options are specified in brackets.
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1582 For better control, use the options below.
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1609 --x-includes=DIR X include files are
in DIR
1610 --x-libraries=DIR X library files are
in DIR
1613 --build=BUILD configure
for building on BUILD
[guessed
]
1614 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1615 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1626 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1627 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1628 --disable-gui don
't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets
2.6 compatibility
1663 --disable-compat28 disable wxWidgets
2.8 compatibility
1664 --disable-rpath disable use of rpath
for uninstalled builds
1665 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even
if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig
(and derived
) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP
(requires wxProtocol
1671 --enable-http use wxHTTP
(requires wxProtocol
1672 --enable-fileproto use wxFileProto class
(requires wxProtocol
1673 --enable-sockets use socket
/network classes
1674 --enable-ipv6 enable IPv6 support
in wxSocket
1675 --enable-ole use OLE classes
(Win32 only
)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication
(wxSocket etc.
)
1678 --enable-baseevtloop use event loop
in console programs too
1679 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding
/decoding functions
1684 --enable-backtrace use wxStackWalker class
for getting backtraces
1685 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class
for DLL loading
1691 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1692 --enable-exceptions build exception
-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual
file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP
/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support
in wxProtocol
1723 --enable-protocol-ftp FTP support
in wxProtocol
1724 --enable-protocol-file FILE support
in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig
(Win32 only
)
1727 --enable-regkey use wxRegKey class
(Win32 only
)
1728 --enable-docview use document view architecture
1729 --enable-help use
help subsystem
1730 --enable-mshtmlhelp use MS HTML Help
(win32
)
1731 --enable-html use wxHTML sub
-library
1732 --enable-htmlhelp use wxHTML
-based help
1733 --enable-xrc use XRC resources sub
-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout
-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl
(Mac
)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context
2D drawing API
1746 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag
'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-odcombobox use wxOwnerDrawnComboBox class
1785 --enable-radiobox use wxRadioBox class
1786 --enable-radiobtn use wxRadioButton class
1787 --enable-sash use wxSashWindow class
1788 --enable-scrollbar use wxScrollBar class and scrollable windows
1789 --enable-searchctrl use wxSearchCtrl class
1790 --enable-slider use wxSlider class
1791 --enable-spinbtn use wxSpinButton class
1792 --enable-spinctrl use wxSpinCtrl class
1793 --enable-splitter use wxSplitterWindow class
1794 --enable-statbmp use wxStaticBitmap class
1795 --enable-statbox use wxStaticBox class
1796 --enable-statline use wxStaticLine class
1797 --enable-stattext use wxStaticText class
1798 --enable-statusbar use wxStatusBar class
1799 --enable-tabdialog use wxTabControl class
1800 --enable-taskbaricon use wxTaskBarIcon class
1801 --enable-textctrl use wxTextCtrl class
1802 --enable-togglebtn use wxToggleButton class
1803 --enable-toolbar use wxToolBar class
1804 --enable-tbarnative use native wxToolBar class
1805 --enable-treebook use wxTreebook class
1806 --enable-toolbook use wxToolbook class
1807 --enable-treectrl use wxTreeCtrl class
1808 --enable-tipwindow use wxTipWindow class
1809 --enable-popupwin use wxPopUpWindow class
1810 --enable-commondlg use all common dialogs
1811 --enable-aboutdlg use wxAboutBox
1812 --enable-choicedlg use wxChoiceDialog
1813 --enable-coldlg use wxColourDialog
1814 --enable-filedlg use wxFileDialog
1815 --enable-finddlg use wxFindReplaceDialog
1816 --enable-fontdlg use wxFontDialog
1817 --enable-dirdlg use wxDirDialog
1818 --enable-msgdlg use wxMessageDialog
1819 --enable-numberdlg use wxNumberEntryDialog
1820 --enable-splash use wxSplashScreen
1821 --enable-textdlg use wxTextDialog
1822 --enable-tipdlg use startup tips
1823 --enable-progressdlg use wxProgressDialog
1824 --enable-wizarddlg use wxWizard
1825 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1826 --enable-miniframe use wxMiniFrame class
1827 --enable-tooltips use wxToolTip class
1828 --enable-splines use spline drawing code
1829 --enable-mousewheel use mousewheel
1830 --enable-validators use wxValidator and derived classes
1831 --enable-busyinfo use wxBusyInfo
1832 --enable-joystick use wxJoystick
1833 --enable-metafiles use wxMetaFile
(Win32 only
)
1834 --enable-dragimage use wxDragImage
1835 --enable-accessibility enable accessibility support
1836 --enable-palette use wxPalette class
1837 --enable-image use wxImage class
1838 --enable-gif use gif images
(GIF
file format
)
1839 --enable-pcx use pcx images
(PCX
file format
)
1840 --enable-tga use tga images
(TGA
file format
)
1841 --enable-iff use iff images
(IFF
file format
)
1842 --enable-pnm use pnm images
(PNM
file format
)
1843 --enable-xpm use xpm images
(XPM
file format
)
1844 --enable-icocur use Windows ICO and CUR formats
1845 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1846 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1847 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1848 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1849 --enable-wxdib use wxDIB class
(Win32 only
)
1850 --disable-largefile omit support
for large files
1851 --disable-gtktest do not try to compile and run a
test GTK
+ program
1852 --disable-gtktest Do not try to compile and run a
test GTK program
1853 --disable-sdltest Do not try to compile and run a
test SDL program
1854 --enable-omf use OMF object format
(OS
/2)
1855 --disable-dependency-tracking
1856 don
't use dependency tracking even if the compiler
1858 --disable-precomp-headers
1859 don't use precompiled headers even
if compiler can
1862 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1863 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1864 --without-subdirs don
't generate makefiles for samples/demos/...
1865 --with-flavour=NAME specify a name to identify this build
1866 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1867 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1868 --with-motif use Motif/Lesstif
1869 --with-mac use Mac OS X
1870 --with-cocoa use Cocoa
1871 --with-wine use Wine
1872 --with-msw use MS-Windows
1873 --with-pm use OS/2 Presentation Manager
1874 --with-mgl use SciTech MGL
1875 --with-directfb use DirectFB
1876 --with-microwin use MicroWindows
1878 --with-libpng use libpng (PNG image format)
1879 --with-libjpeg use libjpeg (JPEG file format)
1880 --with-libtiff use libtiff (TIFF file format)
1881 --with-libxpm use libxpm (XPM file format)
1882 --with-libmspack use libmspack (CHM help files loading)
1883 --without-gtkprint don't use GTK printing support
1884 --without-gnomeprint don
't use GNOME printing libraries
1885 --with-gnomevfs use GNOME VFS for associating MIME types
1886 --with-hildon use Hildon framework for Nokia 770
1887 --with-opengl use OpenGL (or Mesa)
1888 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1889 --with-sdl use SDL for audio on Unix
1890 --with-regex enable support for wxRegEx class
1891 --with-zlib use zlib for LZW compression
1892 --with-expat enable XML support using expat parser
1893 --with-macosx-sdk=PATH use an OS X SDK at PATH
1894 --with-macosx-version-min=VER build binaries which require at least this OS X version
1895 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1896 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1897 --with-x use the X Window System
1898 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1899 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1900 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1901 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1902 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1904 Some influential environment variables:
1905 CC C compiler command
1906 CFLAGS C compiler flags
1907 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1908 nonstandard directory <lib dir>
1909 LIBS libraries to pass to the linker, e.g. -l<library>
1910 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1911 you have headers in a nonstandard directory <include dir>
1913 CXX C++ compiler command
1914 CXXFLAGS C++ compiler flags
1915 PKG_CONFIG path to pkg-config utility
1917 C compiler flags for DIRECTFB, overriding pkg-config
1919 linker flags for DIRECTFB, overriding pkg-config
1920 XMKMF Path to xmkmf, Makefile generator for X Window System
1922 C compiler flags for PANGOX, overriding pkg-config
1923 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1925 C compiler flags for PANGOFT2, overriding pkg-config
1927 linker flags for PANGOFT2, overriding pkg-config
1929 C compiler flags for PANGOXFT, overriding pkg-config
1931 linker flags for PANGOXFT, overriding pkg-config
1933 C compiler flags for GTKPRINT, overriding pkg-config
1935 linker flags for GTKPRINT, overriding pkg-config
1936 LIBGNOMEPRINTUI_CFLAGS
1937 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1938 LIBGNOMEPRINTUI_LIBS
1939 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1941 C compiler flags for GNOMEVFS, overriding pkg-config
1943 linker flags for GNOMEVFS, overriding pkg-config
1945 C compiler flags for HILDON, overriding pkg-config
1946 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1948 C compiler flags for CAIRO, overriding pkg-config
1949 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1950 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1951 GST_LIBS linker flags for GST, overriding pkg-config
1953 Use these variables to override the choices made by `configure' or to
help
1954 it to
find libraries and programs with nonstandard names
/locations.
1956 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1961 if test "$ac_init_help" = "recursive"; then
1962 # If there are subdirs, report their specific --help.
1963 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1964 test -d "$ac_dir" || continue
1968 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1970 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1971 # A ".." for each directory in $ac_dir_suffix.
1972 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1973 case $ac_top_builddir_sub in
1974 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1975 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1978 ac_abs_top_builddir
=$ac_pwd
1979 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1980 # for backward compatibility:
1981 ac_top_builddir
=$ac_top_build_prefix
1984 .
) # We are building in place.
1986 ac_top_srcdir
=$ac_top_builddir_sub
1987 ac_abs_top_srcdir
=$ac_pwd ;;
1988 [\\/]* | ?
:[\\/]* ) # Absolute name.
1989 ac_srcdir
=$srcdir$ac_dir_suffix;
1990 ac_top_srcdir
=$srcdir
1991 ac_abs_top_srcdir
=$srcdir ;;
1993 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1994 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1995 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1997 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1999 cd "$ac_dir" || { ac_status
=$?
; continue; }
2000 # Check for guested configure.
2001 if test -f "$ac_srcdir/configure.gnu"; then
2003 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2004 elif test -f "$ac_srcdir/configure"; then
2006 $SHELL "$ac_srcdir/configure" --help=recursive
2008 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2010 cd "$ac_pwd" || { ac_status
=$?
; break; }
2014 test -n "$ac_init_help" && exit $ac_status
2015 if $ac_init_version; then
2017 wxWidgets configure
2.9.0
2018 generated by GNU Autoconf
2.61
2020 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2021 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2022 This configure
script is free software
; the Free Software Foundation
2023 gives unlimited permission to copy
, distribute and modify it.
2027 cat >config.log
<<_ACEOF
2028 This file contains any messages produced by compilers while
2029 running configure, to aid debugging if configure makes a mistake.
2031 It was created by wxWidgets $as_me 2.9.0, which was
2032 generated by GNU Autoconf 2.61. Invocation command line was
2044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2056 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir
=.
2068 echo "PATH: $as_dir"
2084 # Keep a trace of the command line.
2085 # Strip out --no-create and --no-recursion so they do not pile up.
2086 # Strip out --silent because we don't want to record it for future runs.
2087 # Also quote any args containing shell meta-characters.
2088 # Make two passes to allow for proper duplicate-argument suppression.
2092 ac_must_keep_next
=false
2098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2100 | -silent | --silent | --silen | --sile | --sil)
2103 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2106 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2108 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2109 if test $ac_must_keep_next = true
; then
2110 ac_must_keep_next
=false
# Got value, back to normal.
2113 *=* | --config-cache | -C | -disable-* | --disable-* \
2114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2116 | -with-* | --with-* | -without-* | --without-* | --x)
2117 case "$ac_configure_args0 " in
2118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2121 -* ) ac_must_keep_next
=true
;;
2124 ac_configure_args
="$ac_configure_args '$ac_arg'"
2129 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2130 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2132 # When interrupted or exit'd, cleanup temporary files, and complete
2133 # config.log. We remove comments because anyway the quotes in there
2134 # would cause problems or look ugly.
2135 # WARNING: Use '\'' to represent an apostrophe within the trap.
2136 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2137 trap 'exit_status=$?
2138 # Save into config.log some information that might help in debugging.
2143 ## ---------------- ##
2144 ## Cache variables. ##
2145 ## ---------------- ##
2148 # The following way of writing the cache mishandles newlines in values,
2150 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2151 eval ac_val=\$$ac_var
2155 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2156 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2159 _ | IFS | as_nl) ;; #(
2160 *) $as_unset $ac_var ;;
2165 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2166 *${as_nl}ac_space=\ *)
2168 "s/'\''/'\''\\\\'\'''\''/g;
2169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2180 ## ----------------- ##
2181 ## Output variables. ##
2182 ## ----------------- ##
2185 for ac_var in $ac_subst_vars
2187 eval ac_val=\$$ac_var
2189 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 echo "$ac_var='\''$ac_val'\''"
2195 if test -n "$ac_subst_files"; then
2197 ## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##
2202 for ac_var
in $ac_subst_files
2204 eval ac_val
=\$
$ac_var
2206 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208 echo "$ac_var='\''$ac_val'\''"
2213 if test -s confdefs.h; then
2223 test "$ac_signal" != 0 &&
2224 echo "$as_me: caught signal $ac_signal"
2225 echo "$as_me: exit $exit_status"
2227 rm -f core *.core core.conftest.* &&
2228 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2231 for ac_signal
in 1 2 13 15; do
2232 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2236 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2237 rm -f -r conftest
* confdefs.h
2239 # Predefined preprocessor variables.
2241 cat >>confdefs.h
<<_ACEOF
2242 #define PACKAGE_NAME "$PACKAGE_NAME"
2246 cat >>confdefs.h
<<_ACEOF
2247 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2251 cat >>confdefs.h
<<_ACEOF
2252 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2256 cat >>confdefs.h
<<_ACEOF
2257 #define PACKAGE_STRING "$PACKAGE_STRING"
2261 cat >>confdefs.h
<<_ACEOF
2262 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2266 # Let the site file select an alternate cache file if it wants to.
2267 # Prefer explicitly selected file to automatically selected ones.
2268 if test -n "$CONFIG_SITE"; then
2269 set x
"$CONFIG_SITE"
2270 elif test "x$prefix" != xNONE
; then
2271 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2273 set x
"$ac_default_prefix/share/config.site" \
2274 "$ac_default_prefix/etc/config.site"
2279 if test -r "$ac_site_file"; then
2280 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2281 echo "$as_me: loading site script $ac_site_file" >&6;}
2282 sed 's/^/| /' "$ac_site_file" >&5
2287 if test -r "$cache_file"; then
2288 # Some versions of bash will fail to source /dev/null (special
2289 # files actually), so we avoid doing that.
2290 if test -f "$cache_file"; then
2291 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2292 echo "$as_me: loading cache $cache_file" >&6;}
2294 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2295 *) .
"./$cache_file";;
2299 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2300 echo "$as_me: creating cache $cache_file" >&6;}
2304 # Check that the precious variables saved in the cache have kept the same
2306 ac_cache_corrupted
=false
2307 for ac_var
in $ac_precious_vars; do
2308 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2309 eval ac_new_set
=\
$ac_env_${ac_var}_set
2310 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2311 eval ac_new_val
=\
$ac_env_${ac_var}_value
2312 case $ac_old_set,$ac_new_set in
2314 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2315 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2316 ac_cache_corrupted
=: ;;
2318 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2319 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2320 ac_cache_corrupted
=: ;;
2323 if test "x$ac_old_val" != "x$ac_new_val"; then
2324 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2325 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2327 echo "$as_me: former value: $ac_old_val" >&2;}
2328 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2329 echo "$as_me: current value: $ac_new_val" >&2;}
2330 ac_cache_corrupted
=:
2333 # Pass precious variables to config.status.
2334 if test "$ac_new_set" = set; then
2336 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2337 *) ac_arg
=$ac_var=$ac_new_val ;;
2339 case " $ac_configure_args " in
2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2341 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2345 if $ac_cache_corrupted; then
2346 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2347 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2348 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2349 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2350 { (exit 1); exit 1; }; }
2378 ac_cpp
='$CPP $CPPFLAGS'
2379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2388 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2389 if test -f "$ac_dir/install-sh"; then
2391 ac_install_sh
="$ac_aux_dir/install-sh -c"
2393 elif test -f "$ac_dir/install.sh"; then
2395 ac_install_sh
="$ac_aux_dir/install.sh -c"
2397 elif test -f "$ac_dir/shtool"; then
2399 ac_install_sh
="$ac_aux_dir/shtool install -c"
2403 if test -z "$ac_aux_dir"; then
2404 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2405 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2406 { (exit 1); exit 1; }; }
2409 # These three variables are undocumented and unsupported,
2410 # and are intended to be withdrawn in a future Autoconf release.
2411 # They can cause serious problems if a builder's source tree is in a directory
2412 # whose full name contains unusual characters.
2413 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2414 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2415 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2418 # Make sure we can run config.sub.
2419 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2420 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2421 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2422 { (exit 1); exit 1; }; }
2424 { echo "$as_me:$LINENO: checking build system type" >&5
2425 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2426 if test "${ac_cv_build+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 ac_build_alias
=$build_alias
2430 test "x$ac_build_alias" = x
&&
2431 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2432 test "x$ac_build_alias" = x
&&
2433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2435 { (exit 1); exit 1; }; }
2436 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2437 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2438 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2439 { (exit 1); exit 1; }; }
2442 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2443 echo "${ECHO_T}$ac_cv_build" >&6; }
2444 case $ac_cv_build in
2446 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2447 echo "$as_me: error: invalid value of canonical build" >&2;}
2448 { (exit 1); exit 1; }; };;
2451 ac_save_IFS
=$IFS; IFS
='-'
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2461 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2464 { echo "$as_me:$LINENO: checking host system type" >&5
2465 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2466 if test "${ac_cv_host+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test "x$host_alias" = x
; then
2470 ac_cv_host
=$ac_cv_build
2472 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2479 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2480 echo "${ECHO_T}$ac_cv_host" >&6; }
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2484 echo "$as_me: error: invalid value of canonical host" >&2;}
2485 { (exit 1); exit 1; }; };;
2488 ac_save_IFS
=$IFS; IFS
='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2501 { echo "$as_me:$LINENO: checking target system type" >&5
2502 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2503 if test "${ac_cv_target+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 if test "x$target_alias" = x
; then
2507 ac_cv_target
=$ac_cv_host
2509 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2510 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2511 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2512 { (exit 1); exit 1; }; }
2516 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2517 echo "${ECHO_T}$ac_cv_target" >&6; }
2518 case $ac_cv_target in
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2521 echo "$as_me: error: invalid value of canonical target" >&2;}
2522 { (exit 1); exit 1; }; };;
2524 target
=$ac_cv_target
2525 ac_save_IFS
=$IFS; IFS
='-'
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2535 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2538 # The aliases save the names the user supplied, while $host etc.
2539 # will get canonicalized.
2540 test -n "$target_alias" &&
2541 test "$program_prefix$program_suffix$program_transform_name" = \
2543 program_prefix
=${target_alias}-
2547 wx_major_version_number
=2
2548 wx_minor_version_number
=9
2550 wx_subrelease_number
=0
2552 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2553 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2554 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2556 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559 wx_top_builddir
="`pwd`"
2572 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2578 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2586 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2588 DEFAULT_wxUSE_COCOA
=0
2592 DEFAULT_wxUSE_MICROWIN
=0
2593 DEFAULT_wxUSE_MOTIF
=0
2599 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2600 DEFAULT_DEFAULT_wxUSE_GTK
=0
2601 DEFAULT_DEFAULT_wxUSE_MAC
=0
2602 DEFAULT_DEFAULT_wxUSE_MGL
=0
2603 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2604 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2605 DEFAULT_DEFAULT_wxUSE_MSW
=0
2606 DEFAULT_DEFAULT_wxUSE_PM
=0
2607 DEFAULT_DEFAULT_wxUSE_X11
=0
2608 DEFAULT_DEFAULT_wxUSE_DFB
=0
2613 SAMPLES_RPATH_POSTLINK
=
2615 DEFAULT_STD_FLAG
=yes
2620 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2621 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2623 cat >>confdefs.h
<<\_ACEOF
2628 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2632 cat >>confdefs.h
<<\_ACEOF
2637 if test "x$TMP" = "xalpha"; then
2639 cat >>confdefs.h
<<\_ACEOF
2644 DEFAULT_DEFAULT_wxUSE_GTK
=1
2646 *-*-gnu* | *-*-k*bsd
*-gnu )
2649 if test "x$TMP" = "xalpha"; then
2651 cat >>confdefs.h
<<\_ACEOF
2656 DEFAULT_DEFAULT_wxUSE_GTK
=1
2658 *-*-irix5* | *-*-irix6* )
2661 cat >>confdefs.h
<<\_ACEOF
2665 cat >>confdefs.h
<<\_ACEOF
2669 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2675 cat >>confdefs.h
<<\_ACEOF
2679 cat >>confdefs.h
<<\_ACEOF
2680 #define __SOLARIS__ 1
2683 cat >>confdefs.h
<<\_ACEOF
2687 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2688 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2694 cat >>confdefs.h
<<\_ACEOF
2698 cat >>confdefs.h
<<\_ACEOF
2702 cat >>confdefs.h
<<\_ACEOF
2706 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2711 cat >>confdefs.h
<<\_ACEOF
2712 #define __FREEBSD__ 1
2715 cat >>confdefs.h
<<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_GTK
=1
2721 *-*-openbsd*|*-*-mirbsd*)
2724 cat >>confdefs.h
<<\_ACEOF
2725 #define __OPENBSD__ 1
2728 cat >>confdefs.h
<<\_ACEOF
2732 DEFAULT_DEFAULT_wxUSE_GTK
=1
2737 cat >>confdefs.h
<<\_ACEOF
2738 #define __NETBSD__ 1
2741 cat >>confdefs.h
<<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_GTK
=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2748 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2753 cat >>confdefs.h
<<\_ACEOF
2757 cat >>confdefs.h
<<\_ACEOF
2761 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2762 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2767 cat >>confdefs.h
<<\_ACEOF
2771 cat >>confdefs.h
<<\_ACEOF
2775 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2780 cat >>confdefs.h
<<\_ACEOF
2784 cat >>confdefs.h
<<\_ACEOF
2788 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2795 cat >>confdefs.h
<<\_ACEOF
2799 cat >>confdefs.h
<<\_ACEOF
2803 cat >>confdefs.h
<<\_ACEOF
2807 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2814 cat >>confdefs.h
<<\_ACEOF
2815 #define __UNIXWARE__ 1
2820 *-*-cygwin* | *-*-mingw32* )
2823 DEFAULT_DEFAULT_wxUSE_MSW
=1
2829 cat >>confdefs.h
<<\_ACEOF
2834 DEFAULT_DEFAULT_wxUSE_MGL
=1
2837 *-pc-os2_emx | *-pc-os2-emx )
2838 cat >>confdefs.h
<<\_ACEOF
2843 cat >>confdefs.h
<<\_ACEOF
2848 DEFAULT_DEFAULT_wxUSE_PM
=1
2850 LDFLAGS
="$LDFLAGS -Zcrtdll"
2851 ac_executable_extensions
=".exe"
2852 export ac_executable_extensions
2856 for ac_dir
in $PATH; do
2858 if test -z "$ac_TEMP_PATH"; then
2859 ac_TEMP_PATH
="$ac_dir"
2861 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2864 export PATH
="$ac_TEMP_PATH"
2873 cat >>confdefs.h
<<\_ACEOF
2877 cat >>confdefs.h
<<\_ACEOF
2878 #define __DARWIN__ 1
2881 cat >>confdefs.h
<<\_ACEOF
2882 #define TARGET_CARBON 1
2885 DEFAULT_DEFAULT_wxUSE_MAC
=1
2888 powerpc
-apple-macos* )
2890 ac_cv_c_bigendian
=yes
2892 DEFAULT_DEFAULT_wxUSE_MAC
=1
2898 cat >>confdefs.h
<<\_ACEOF
2905 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2906 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2907 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2908 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2910 DEFAULT_DEFAULT_wxUSE_X11
=1
2911 DEFAULT_wxUSE_SHARED
=no
2916 DEFAULT_wxUSE_ALL_FEATURES
=yes
2918 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2919 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2921 DEFAULT_wxUSE_DMALLOC
=no
2922 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2923 DEFAULT_wxUSE_LIBHILDON
=no
2924 DEFAULT_wxUSE_LIBMSPACK
=no
2925 DEFAULT_wxUSE_LIBSDL
=no
2926 DEFAULT_wxUSE_OPENGL
=no
2928 DEFAULT_wxUSE_ACCESSIBILITY
=no
2929 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2930 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2931 DEFAULT_wxUSE_IPV6
=no
2932 DEFAULT_wxUSE_MEDIACTRL
=no
2933 DEFAULT_wxUSE_TAB_DIALOG
=no
2934 DEFAULT_wxUSE_GSTREAMER8
=no
2936 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2937 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2939 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2941 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2943 DEFAULT_wxUSE_GTK2
=yes
2945 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2951 enablestring
=disable
2953 if test -z "$defaultval"; then
2954 if test x
"$enablestring" = xdisable
; then
2961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2962 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2963 # Check whether --enable-gui was given.
2964 if test "${enable_gui+set}" = set; then
2965 enableval
=$enable_gui;
2966 if test "$enableval" = yes; then
2967 wx_cv_use_gui
='wxUSE_GUI=yes'
2969 wx_cv_use_gui
='wxUSE_GUI=no'
2974 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2979 eval "$wx_cv_use_gui"
2981 if test x"$enablestring" = xdisable; then
2982 if test $wxUSE_GUI = yes; then
2991 { echo "$as_me:$LINENO: result: $result" >&5
2992 echo "${ECHO_T}$result" >&6; }
2997 if test -z "$defaultval"; then
2998 if test x"$enablestring" = xdisable; then
3005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3006 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3007 # Check whether --enable-monolithic was given.
3008 if test "${enable_monolithic+set}" = set; then
3009 enableval=$enable_monolithic;
3010 if test "$enableval" = yes; then
3011 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3013 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3018 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3023 eval "$wx_cv_use_monolithic"
3025 if test x"$enablestring" = xdisable; then
3026 if test $wxUSE_MONOLITHIC = yes; then
3032 result=$wxUSE_MONOLITHIC
3035 { echo "$as_me:$LINENO: result
: $result" >&5
3036 echo "${ECHO_T}$result" >&6; }
3041 if test -z "$defaultval"; then
3042 if test x"$enablestring" = xdisable; then
3049 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3050 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3051 # Check whether --enable-plugins was given.
3052 if test "${enable_plugins+set}" = set; then
3053 enableval=$enable_plugins;
3054 if test "$enableval" = yes; then
3055 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3057 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3062 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3067 eval "$wx_cv_use_plugins"
3069 if test x
"$enablestring" = xdisable
; then
3070 if test $wxUSE_PLUGINS = yes; then
3076 result
=$wxUSE_PLUGINS
3079 { echo "$as_me:$LINENO: result: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3084 defaultval
=$wxUSE_ALL_FEATURES
3085 if test -z "$defaultval"; then
3086 if test x
"$withstring" = xwithout
; then
3092 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3093 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3095 # Check whether --with-subdirs was given.
3096 if test "${with_subdirs+set}" = set; then
3097 withval
=$with_subdirs;
3098 if test "$withval" = yes; then
3099 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3101 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3106 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3111 eval "$wx_cv_use_subdirs"
3113 if test x"$withstring" = xwithout; then
3114 if test $wxWITH_SUBDIRS = yes; then
3120 result=$wxWITH_SUBDIRS
3123 { echo "$as_me:$LINENO: result: $result" >&5
3124 echo "${ECHO_T}$result" >&6; }
3127 # Check whether --with-flavour was given.
3128 if test "${with_flavour+set}" = set; then
3129 withval=$with_flavour; WX_FLAVOUR="$withval"
3135 if test -z "$defaultval"; then
3136 if test x"$enablestring" = xdisable; then
3143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3144 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3145 # Check whether --enable-official_build was given.
3146 if test "${enable_official_build+set}" = set; then
3147 enableval=$enable_official_build;
3148 if test "$enableval" = yes; then
3149 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3151 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3156 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3161 eval "$wx_cv_use_official_build"
3163 if test x"$enablestring" = xdisable; then
3164 if test $wxUSE_OFFICIAL_BUILD = yes; then
3170 result=$wxUSE_OFFICIAL_BUILD
3173 { echo "$as_me:$LINENO: result
: $result" >&5
3174 echo "${ECHO_T}$result" >&6; }
3176 # Check whether --enable-vendor was given.
3177 if test "${enable_vendor+set}" = set; then
3178 enableval=$enable_vendor; VENDOR="$enableval"
3181 if test "x
$VENDOR" = "x
"; then
3186 enablestring=disable
3188 if test -z "$defaultval"; then
3189 if test x"$enablestring" = xdisable; then
3196 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3197 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3198 # Check whether --enable-all-features was given.
3199 if test "${enable_all_features+set}" = set; then
3200 enableval=$enable_all_features;
3201 if test "$enableval" = yes; then
3202 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3204 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3209 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3214 eval "$wx_cv_use_all_features"
3216 if test x
"$enablestring" = xdisable
; then
3217 if test $wxUSE_ALL_FEATURES = yes; then
3223 result
=$wxUSE_ALL_FEATURES
3226 { echo "$as_me:$LINENO: result: $result" >&5
3227 echo "${ECHO_T}$result" >&6; }
3231 if test "$wxUSE_GUI" = "yes"; then
3236 if test -z "$defaultval"; then
3237 if test x
"$enablestring" = xdisable
; then
3244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3245 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3246 # Check whether --enable-universal was given.
3247 if test "${enable_universal+set}" = set; then
3248 enableval
=$enable_universal;
3249 if test "$enableval" = yes; then
3250 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3252 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3257 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3262 eval "$wx_cv_use_universal"
3264 if test x"$enablestring" = xdisable; then
3265 if test $wxUSE_UNIVERSAL = yes; then
3271 result=$wxUSE_UNIVERSAL
3274 { echo "$as_me:$LINENO: result: $result" >&5
3275 echo "${ECHO_T}$result" >&6; }
3277 if test "$wxUSE_UNIVERSAL" = "yes"; then
3279 # Check whether --with-themes was given.
3280 if test "${with_themes+set}" = set; then
3281 withval=$with_themes; wxUNIV_THEMES="$withval"
3287 # Check whether --with-gtk was given.
3288 if test "${with_gtk+set}" = set; then
3289 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3293 # Check whether --with-motif was given.
3294 if test "${with_motif+set}" = set; then
3295 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3299 # Check whether --with-mac was given.
3300 if test "${with_mac+set}" = set; then
3301 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3305 # Check whether --with-cocoa was given.
3306 if test "${with_cocoa+set}" = set; then
3307 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3311 # Check whether --with-wine was given.
3312 if test "${with_wine+set}" = set; then
3313 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3317 # Check whether --with-msw was given.
3318 if test "${with_msw+set}" = set; then
3319 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3323 # Check whether --with-pm was given.
3324 if test "${with_pm+set}" = set; then
3325 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3329 # Check whether --with-mgl was given.
3330 if test "${with_mgl+set}" = set; then
3331 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3335 # Check whether --with-directfb was given.
3336 if test "${with_directfb+set}" = set; then
3337 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3341 # Check whether --with-microwin was given.
3342 if test "${with_microwin+set}" = set; then
3343 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3347 # Check whether --with-x11 was given.
3348 if test "${with_x11+set}" = set; then
3349 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3355 if test -z "$defaultval"; then
3356 if test x"$enablestring" = xdisable; then
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3365 # Check whether --enable-nanox was given.
3366 if test "${enable_nanox+set}" = set; then
3367 enableval=$enable_nanox;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3371 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3376 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3381 eval "$wx_cv_use_nanox"
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_NANOX = yes; then
3393 { echo "$as_me:$LINENO: result
: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3397 # Check whether --enable-gtk2 was given.
3398 if test "${enable_gtk2+set}" = set; then
3399 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3405 if test -z "$defaultval"; then
3406 if test x"$enablestring" = xdisable; then
3413 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3414 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3415 # Check whether --enable-gpe was given.
3416 if test "${enable_gpe+set}" = set; then
3417 enableval=$enable_gpe;
3418 if test "$enableval" = yes; then
3419 wx_cv_use_gpe='wxUSE_GPE=yes'
3421 wx_cv_use_gpe='wxUSE_GPE=no'
3426 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3431 eval "$wx_cv_use_gpe"
3433 if test x
"$enablestring" = xdisable
; then
3434 if test $wxUSE_GPE = yes; then
3443 { echo "$as_me:$LINENO: result: $result" >&5
3444 echo "${ECHO_T}$result" >&6; }
3449 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3450 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3452 # Check whether --with-libpng was given.
3453 if test "${with_libpng+set}" = set; then
3454 withval
=$with_libpng;
3455 if test "$withval" = yes; then
3456 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3457 elif test "$withval" = no
; then
3458 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3459 elif test "$withval" = sys
; then
3460 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3461 elif test "$withval" = builtin; then
3462 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3464 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3465 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3466 { (exit 1); exit 1; }; }
3471 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3476 eval "$wx_cv_use_libpng"
3478 if test "$wxUSE_LIBPNG" = yes; then
3479 { echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6; }
3481 elif test "$wxUSE_LIBPNG" = no; then
3482 { echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6; }
3484 elif test "$wxUSE_LIBPNG" = sys; then
3485 { echo "$as_me:$LINENO: result: system version" >&5
3486 echo "${ECHO_T}system version" >&6; }
3487 elif test "$wxUSE_LIBPNG" = builtin; then
3488 { echo "$as_me:$LINENO: result: builtin version" >&5
3489 echo "${ECHO_T}builtin version" >&6; }
3491 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3492 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3493 { (exit 1); exit 1; }; }
3497 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3498 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3500 # Check whether --with-libjpeg was given.
3501 if test "${with_libjpeg+set}" = set; then
3502 withval=$with_libjpeg;
3503 if test "$withval" = yes; then
3504 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3505 elif test "$withval" = no; then
3506 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3507 elif test "$withval" = sys; then
3508 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3509 elif test "$withval" = builtin; then
3510 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3512 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3513 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3514 { (exit 1); exit 1; }; }
3519 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3524 eval "$wx_cv_use_libjpeg"
3526 if test "$wxUSE_LIBJPEG" = yes; then
3527 { echo "$as_me:$LINENO: result
: yes" >&5
3528 echo "${ECHO_T}yes" >&6; }
3529 elif test "$wxUSE_LIBJPEG" = no; then
3530 { echo "$as_me:$LINENO: result
: no
" >&5
3531 echo "${ECHO_T}no
" >&6; }
3532 elif test "$wxUSE_LIBJPEG" = sys; then
3533 { echo "$as_me:$LINENO: result
: system version
" >&5
3534 echo "${ECHO_T}system version
" >&6; }
3535 elif test "$wxUSE_LIBJPEG" = builtin; then
3536 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3537 echo "${ECHO_T}builtin version
" >&6; }
3539 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3540 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3541 { (exit 1); exit 1; }; }
3545 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3546 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3548 # Check whether --with-libtiff was given.
3549 if test "${with_libtiff+set}" = set; then
3550 withval=$with_libtiff;
3551 if test "$withval" = yes; then
3552 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3553 elif test "$withval" = no; then
3554 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3555 elif test "$withval" = sys; then
3556 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3557 elif test "$withval" = builtin; then
3558 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3560 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3561 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3567 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3572 eval "$wx_cv_use_libtiff"
3574 if test "$wxUSE_LIBTIFF" = yes; then
3575 { echo "$as_me:$LINENO: result: yes" >&5
3576 echo "${ECHO_T}yes" >&6; }
3577 elif test "$wxUSE_LIBTIFF" = no
; then
3578 { echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6; }
3580 elif test "$wxUSE_LIBTIFF" = sys
; then
3581 { echo "$as_me:$LINENO: result: system version" >&5
3582 echo "${ECHO_T}system version" >&6; }
3583 elif test "$wxUSE_LIBTIFF" = builtin; then
3584 { echo "$as_me:$LINENO: result: builtin version" >&5
3585 echo "${ECHO_T}builtin version" >&6; }
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3593 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3594 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3596 # Check whether --with-libxpm was given.
3597 if test "${with_libxpm+set}" = set; then
3598 withval
=$with_libxpm;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3601 elif test "$withval" = no
; then
3602 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3603 elif test "$withval" = sys
; then
3604 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3615 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3620 eval "$wx_cv_use_libxpm"
3622 if test "$wxUSE_LIBXPM" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBXPM" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBXPM" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBXPM" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3642 defaultval=$wxUSE_ALL_FEATURES
3643 if test -z "$defaultval"; then
3644 if test x"$withstring" = xwithout; then
3650 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3651 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3653 # Check whether --with-libmspack was given.
3654 if test "${with_libmspack+set}" = set; then
3655 withval=$with_libmspack;
3656 if test "$withval" = yes; then
3657 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3659 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3664 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3669 eval "$wx_cv_use_libmspack"
3671 if test x"$withstring" = xwithout; then
3672 if test $wxUSE_LIBMSPACK = yes; then
3678 result=$wxUSE_LIBMSPACK
3681 { echo "$as_me:$LINENO: result
: $result" >&5
3682 echo "${ECHO_T}$result" >&6; }
3686 defaultval=$wxUSE_ALL_FEATURES
3687 if test -z "$defaultval"; then
3688 if test x"$withstring" = xwithout; then
3694 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3695 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3697 # Check whether --with-gtkprint was given.
3698 if test "${with_gtkprint+set}" = set; then
3699 withval=$with_gtkprint;
3700 if test "$withval" = yes; then
3701 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3703 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3708 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3713 eval "$wx_cv_use_gtkprint"
3715 if test x
"$withstring" = xwithout
; then
3716 if test $wxUSE_GTKPRINT = yes; then
3722 result
=$wxUSE_GTKPRINT
3725 { echo "$as_me:$LINENO: result: $result" >&5
3726 echo "${ECHO_T}$result" >&6; }
3730 defaultval
=$wxUSE_ALL_FEATURES
3731 if test -z "$defaultval"; then
3732 if test x
"$withstring" = xwithout
; then
3738 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3739 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3741 # Check whether --with-gnomeprint was given.
3742 if test "${with_gnomeprint+set}" = set; then
3743 withval
=$with_gnomeprint;
3744 if test "$withval" = yes; then
3745 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3747 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3752 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3757 eval "$wx_cv_use_gnomeprint"
3759 if test x"$withstring" = xwithout; then
3760 if test $wxUSE_LIBGNOMEPRINT = yes; then
3766 result=$wxUSE_LIBGNOMEPRINT
3769 { echo "$as_me:$LINENO: result: $result" >&5
3770 echo "${ECHO_T}$result" >&6; }
3774 defaultval=$wxUSE_ALL_FEATURES
3775 if test -z "$defaultval"; then
3776 if test x"$withstring" = xwithout; then
3782 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3783 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3785 # Check whether --with-gnomevfs was given.
3786 if test "${with_gnomevfs+set}" = set; then
3787 withval=$with_gnomevfs;
3788 if test "$withval" = yes; then
3789 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3791 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3796 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3801 eval "$wx_cv_use_gnomevfs"
3803 if test x"$withstring" = xwithout; then
3804 if test $wxUSE_LIBGNOMEVFS = yes; then
3810 result=$wxUSE_LIBGNOMEVFS
3813 { echo "$as_me:$LINENO: result
: $result" >&5
3814 echo "${ECHO_T}$result" >&6; }
3818 defaultval=$wxUSE_ALL_FEATURES
3819 if test -z "$defaultval"; then
3820 if test x"$withstring" = xwithout; then
3826 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
3827 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
3829 # Check whether --with-hildon was given.
3830 if test "${with_hildon+set}" = set; then
3831 withval=$with_hildon;
3832 if test "$withval" = yes; then
3833 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3835 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3840 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3845 eval "$wx_cv_use_hildon"
3847 if test x
"$withstring" = xwithout
; then
3848 if test $wxUSE_LIBHILDON = yes; then
3854 result
=$wxUSE_LIBHILDON
3857 { echo "$as_me:$LINENO: result: $result" >&5
3858 echo "${ECHO_T}$result" >&6; }
3862 defaultval
=$wxUSE_ALL_FEATURES
3863 if test -z "$defaultval"; then
3864 if test x
"$withstring" = xwithout
; then
3870 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3871 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3873 # Check whether --with-opengl was given.
3874 if test "${with_opengl+set}" = set; then
3875 withval
=$with_opengl;
3876 if test "$withval" = yes; then
3877 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
3879 wx_cv_use_opengl
='wxUSE_OPENGL=no'
3884 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3889 eval "$wx_cv_use_opengl"
3891 if test x"$withstring" = xwithout; then
3892 if test $wxUSE_OPENGL = yes; then
3898 result=$wxUSE_OPENGL
3901 { echo "$as_me:$LINENO: result: $result" >&5
3902 echo "${ECHO_T}$result" >&6; }
3909 defaultval=$wxUSE_ALL_FEATURES
3910 if test -z "$defaultval"; then
3911 if test x"$withstring" = xwithout; then
3917 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3918 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3920 # Check whether --with-dmalloc was given.
3921 if test "${with_dmalloc+set}" = set; then
3922 withval=$with_dmalloc;
3923 if test "$withval" = yes; then
3924 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3926 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3931 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3936 eval "$wx_cv_use_dmalloc"
3938 if test x"$withstring" = xwithout; then
3939 if test $wxUSE_DMALLOC = yes; then
3945 result=$wxUSE_DMALLOC
3948 { echo "$as_me:$LINENO: result
: $result" >&5
3949 echo "${ECHO_T}$result" >&6; }
3953 defaultval=$wxUSE_ALL_FEATURES
3954 if test -z "$defaultval"; then
3955 if test x"$withstring" = xwithout; then
3961 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
3962 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
3964 # Check whether --with-sdl was given.
3965 if test "${with_sdl+set}" = set; then
3967 if test "$withval" = yes; then
3968 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3970 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3975 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3980 eval "$wx_cv_use_sdl"
3982 if test x
"$withstring" = xwithout
; then
3983 if test $wxUSE_LIBSDL = yes; then
3989 result
=$wxUSE_LIBSDL
3992 { echo "$as_me:$LINENO: result: $result" >&5
3993 echo "${ECHO_T}$result" >&6; }
3996 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3997 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
3999 # Check whether --with-regex was given.
4000 if test "${with_regex+set}" = set; then
4001 withval
=$with_regex;
4002 if test "$withval" = yes; then
4003 wx_cv_use_regex
='wxUSE_REGEX=yes'
4004 elif test "$withval" = no
; then
4005 wx_cv_use_regex
='wxUSE_REGEX=no'
4006 elif test "$withval" = sys
; then
4007 wx_cv_use_regex
='wxUSE_REGEX=sys'
4008 elif test "$withval" = builtin; then
4009 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4011 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4012 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4013 { (exit 1); exit 1; }; }
4018 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4023 eval "$wx_cv_use_regex"
4025 if test "$wxUSE_REGEX" = yes; then
4026 { echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6; }
4028 elif test "$wxUSE_REGEX" = no; then
4029 { echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6; }
4031 elif test "$wxUSE_REGEX" = sys; then
4032 { echo "$as_me:$LINENO: result: system version" >&5
4033 echo "${ECHO_T}system version" >&6; }
4034 elif test "$wxUSE_REGEX" = builtin; then
4035 { echo "$as_me:$LINENO: result: builtin version" >&5
4036 echo "${ECHO_T}builtin version" >&6; }
4038 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4039 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4040 { (exit 1); exit 1; }; }
4044 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4045 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4047 # Check whether --with-zlib was given.
4048 if test "${with_zlib+set}" = set; then
4050 if test "$withval" = yes; then
4051 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4052 elif test "$withval" = no; then
4053 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4054 elif test "$withval" = sys; then
4055 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4056 elif test "$withval" = builtin; then
4057 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4059 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4060 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4061 { (exit 1); exit 1; }; }
4066 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4071 eval "$wx_cv_use_zlib"
4073 if test "$wxUSE_ZLIB" = yes; then
4074 { echo "$as_me:$LINENO: result
: yes" >&5
4075 echo "${ECHO_T}yes" >&6; }
4076 elif test "$wxUSE_ZLIB" = no; then
4077 { echo "$as_me:$LINENO: result
: no
" >&5
4078 echo "${ECHO_T}no
" >&6; }
4079 elif test "$wxUSE_ZLIB" = sys; then
4080 { echo "$as_me:$LINENO: result
: system version
" >&5
4081 echo "${ECHO_T}system version
" >&6; }
4082 elif test "$wxUSE_ZLIB" = builtin; then
4083 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4084 echo "${ECHO_T}builtin version
" >&6; }
4086 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4087 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4088 { (exit 1); exit 1; }; }
4092 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4093 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4095 # Check whether --with-expat was given.
4096 if test "${with_expat+set}" = set; then
4097 withval=$with_expat;
4098 if test "$withval" = yes; then
4099 wx_cv_use_expat='wxUSE_EXPAT=yes'
4100 elif test "$withval" = no; then
4101 wx_cv_use_expat='wxUSE_EXPAT=no'
4102 elif test "$withval" = sys; then
4103 wx_cv_use_expat='wxUSE_EXPAT=sys'
4104 elif test "$withval" = builtin; then
4105 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4107 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4108 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4109 { (exit 1); exit 1; }; }
4114 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4119 eval "$wx_cv_use_expat"
4121 if test "$wxUSE_EXPAT" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 elif test "$wxUSE_EXPAT" = no
; then
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 elif test "$wxUSE_EXPAT" = sys
; then
4128 { echo "$as_me:$LINENO: result: system version" >&5
4129 echo "${ECHO_T}system version" >&6; }
4130 elif test "$wxUSE_EXPAT" = builtin; then
4131 { echo "$as_me:$LINENO: result: builtin version" >&5
4132 echo "${ECHO_T}builtin version" >&6; }
4134 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4135 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4136 { (exit 1); exit 1; }; }
4140 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4141 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4143 # Check whether --with-macosx-sdk was given.
4144 if test "${with_macosx_sdk+set}" = set; then
4145 withval
=$with_macosx_sdk;
4146 wxUSE_MACOSX_SDK
=$withval
4147 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4151 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4152 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4154 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4155 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4157 # Check whether --with-macosx-version-min was given.
4158 if test "${with_macosx_version_min+set}" = set; then
4159 withval
=$with_macosx_version_min;
4160 wxUSE_MACOSX_VERSION_MIN
=$withval
4161 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4165 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4166 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4170 enablestring
=disable
4172 if test -z "$defaultval"; then
4173 if test x
"$enablestring" = xdisable
; then
4180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4182 # Check whether --enable-shared was given.
4183 if test "${enable_shared+set}" = set; then
4184 enableval
=$enable_shared;
4185 if test "$enableval" = yes; then
4186 wx_cv_use_shared
='wxUSE_SHARED=yes'
4188 wx_cv_use_shared
='wxUSE_SHARED=no'
4193 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4198 eval "$wx_cv_use_shared"
4200 if test x"$enablestring" = xdisable; then
4201 if test $wxUSE_SHARED = yes; then
4207 result=$wxUSE_SHARED
4210 { echo "$as_me:$LINENO: result: $result" >&5
4211 echo "${ECHO_T}$result" >&6; }
4214 enablestring=disable
4216 if test -z "$defaultval"; then
4217 if test x"$enablestring" = xdisable; then
4224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4226 # Check whether --enable-optimise was given.
4227 if test "${enable_optimise+set}" = set; then
4228 enableval=$enable_optimise;
4229 if test "$enableval" = yes; then
4230 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4232 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4237 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4242 eval "$wx_cv_use_optimise"
4244 if test x"$enablestring" = xdisable; then
4245 if test $wxUSE_OPTIMISE = yes; then
4251 result=$wxUSE_OPTIMISE
4254 { echo "$as_me:$LINENO: result
: $result" >&5
4255 echo "${ECHO_T}$result" >&6; }
4260 if test -z "$defaultval"; then
4261 if test x"$enablestring" = xdisable; then
4268 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4269 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4270 # Check whether --enable-debug was given.
4271 if test "${enable_debug+set}" = set; then
4272 enableval=$enable_debug;
4273 if test "$enableval" = yes; then
4274 wx_cv_use_debug='wxUSE_DEBUG=yes'
4276 wx_cv_use_debug='wxUSE_DEBUG=no'
4281 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4286 eval "$wx_cv_use_debug"
4288 if test x
"$enablestring" = xdisable
; then
4289 if test $wxUSE_DEBUG = yes; then
4298 { echo "$as_me:$LINENO: result: $result" >&5
4299 echo "${ECHO_T}$result" >&6; }
4304 if test -z "$defaultval"; then
4305 if test x
"$enablestring" = xdisable
; then
4312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4314 # Check whether --enable-stl was given.
4315 if test "${enable_stl+set}" = set; then
4316 enableval
=$enable_stl;
4317 if test "$enableval" = yes; then
4318 wx_cv_use_stl
='wxUSE_STL=yes'
4320 wx_cv_use_stl
='wxUSE_STL=no'
4325 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4330 eval "$wx_cv_use_stl"
4332 if test x"$enablestring" = xdisable; then
4333 if test $wxUSE_STL = yes; then
4342 { echo "$as_me:$LINENO: result: $result" >&5
4343 echo "${ECHO_T}$result" >&6; }
4348 if test -z "$defaultval"; then
4349 if test x"$enablestring" = xdisable; then
4356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4357 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4358 # Check whether --enable-std_iostreams was given.
4359 if test "${enable_std_iostreams+set}" = set; then
4360 enableval=$enable_std_iostreams;
4361 if test "$enableval" = yes; then
4362 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4364 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4369 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4374 eval "$wx_cv_use_std_iostreams"
4376 if test x"$enablestring" = xdisable; then
4377 if test $wxUSE_STD_IOSTREAM = yes; then
4383 result=$wxUSE_STD_IOSTREAM
4386 { echo "$as_me:$LINENO: result
: $result" >&5
4387 echo "${ECHO_T}$result" >&6; }
4392 if test -z "$defaultval"; then
4393 if test x"$enablestring" = xdisable; then
4400 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4401 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4402 # Check whether --enable-std_string was given.
4403 if test "${enable_std_string+set}" = set; then
4404 enableval=$enable_std_string;
4405 if test "$enableval" = yes; then
4406 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4408 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4413 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4418 eval "$wx_cv_use_std_string"
4420 if test x
"$enablestring" = xdisable
; then
4421 if test $wxUSE_STD_STRING = yes; then
4427 result
=$wxUSE_STD_STRING
4430 { echo "$as_me:$LINENO: result: $result" >&5
4431 echo "${ECHO_T}$result" >&6; }
4434 enablestring
=disable
4436 if test -z "$defaultval"; then
4437 if test x
"$enablestring" = xdisable
; then
4444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4446 # Check whether --enable-unicode was given.
4447 if test "${enable_unicode+set}" = set; then
4448 enableval
=$enable_unicode;
4449 if test "$enableval" = yes; then
4450 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4452 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4457 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4462 eval "$wx_cv_use_unicode"
4464 if test x"$enablestring" = xdisable; then
4465 if test $wxUSE_UNICODE = yes; then
4471 result=$wxUSE_UNICODE
4474 { echo "$as_me:$LINENO: result: $result" >&5
4475 echo "${ECHO_T}$result" >&6; }
4480 if test -z "$defaultval"; then
4481 if test x"$enablestring" = xdisable; then
4488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4490 # Check whether --enable-mslu was given.
4491 if test "${enable_mslu+set}" = set; then
4492 enableval=$enable_mslu;
4493 if test "$enableval" = yes; then
4494 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4496 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4501 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4506 eval "$wx_cv_use_mslu"
4508 if test x"$enablestring" = xdisable; then
4509 if test $wxUSE_UNICODE_MSLU = yes; then
4515 result=$wxUSE_UNICODE_MSLU
4518 { echo "$as_me:$LINENO: result
: $result" >&5
4519 echo "${ECHO_T}$result" >&6; }
4523 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4524 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4525 # Check whether --enable-utf8 was given.
4526 if test "${enable_utf8+set}" = set; then
4527 enableval=$enable_utf8;
4528 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4532 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4537 eval "$wx_cv_use_utf8"
4539 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4540 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4545 if test -z "$defaultval"; then
4546 if test x"$enablestring" = xdisable; then
4553 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4554 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4555 # Check whether --enable-utf8only was given.
4556 if test "${enable_utf8only+set}" = set; then
4557 enableval=$enable_utf8only;
4558 if test "$enableval" = yes; then
4559 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4561 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4566 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4571 eval "$wx_cv_use_utf8only"
4573 if test x
"$enablestring" = xdisable
; then
4574 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4580 result
=$wxUSE_UNICODE_UTF8_LOCALE
4583 { echo "$as_me:$LINENO: result: $result" >&5
4584 echo "${ECHO_T}$result" >&6; }
4589 if test -z "$defaultval"; then
4590 if test x
"$enablestring" = xdisable
; then
4597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4599 # Check whether --enable-extended_rtti was given.
4600 if test "${enable_extended_rtti+set}" = set; then
4601 enableval
=$enable_extended_rtti;
4602 if test "$enableval" = yes; then
4603 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4605 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4610 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4615 eval "$wx_cv_use_extended_rtti"
4617 if test x"$enablestring" = xdisable; then
4618 if test $wxUSE_EXTENDED_RTTI = yes; then
4624 result=$wxUSE_EXTENDED_RTTI
4627 { echo "$as_me:$LINENO: result: $result" >&5
4628 echo "${ECHO_T}$result" >&6; }
4630 if test "$USE_OS2" = 1; then
4631 DEFAULT_wxUSE_OMF=no
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4645 # Check whether --enable-omf was given.
4646 if test "${enable_omf+set}" = set; then
4647 enableval=$enable_omf;
4648 if test "$enableval" = yes; then
4649 wx_cv_use_omf='wxUSE_OMF
=yes'
4651 wx_cv_use_omf='wxUSE_OMF
=no
'
4656 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4661 eval "$wx_cv_use_omf"
4663 if test x"$enablestring" = xdisable; then
4664 if test $wxUSE_OMF = yes; then
4673 { echo "$as_me:$LINENO: result
: $result" >&5
4674 echo "${ECHO_T}$result" >&6; }
4678 if test "$wxUSE_DEBUG" = "yes"; then
4679 DEFAULT_wxUSE_DEBUG_FLAG=yes
4680 DEFAULT_wxUSE_DEBUG_INFO=yes
4682 elif test "$wxUSE_DEBUG" = "no
"; then
4683 DEFAULT_wxUSE_DEBUG_FLAG=no
4684 DEFAULT_wxUSE_DEBUG_INFO=no
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4699 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4700 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4701 # Check whether --enable-debug_flag was given.
4702 if test "${enable_debug_flag+set}" = set; then
4703 enableval=$enable_debug_flag;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4707 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4712 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4717 eval "$wx_cv_use_debug_flag"
4719 if test x
"$enablestring" = xdisable
; then
4720 if test $wxUSE_DEBUG_FLAG = yes; then
4726 result
=$wxUSE_DEBUG_FLAG
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4735 if test -z "$defaultval"; then
4736 if test x
"$enablestring" = xdisable
; then
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4745 # Check whether --enable-debug_info was given.
4746 if test "${enable_debug_info+set}" = set; then
4747 enableval
=$enable_debug_info;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4751 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4756 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4761 eval "$wx_cv_use_debug_info"
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_DEBUG_INFO = yes; then
4770 result=$wxUSE_DEBUG_INFO
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4779 if test -z "$defaultval"; then
4780 if test x"$enablestring" = xdisable; then
4787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4789 # Check whether --enable-debug_gdb was given.
4790 if test "${enable_debug_gdb+set}" = set; then
4791 enableval=$enable_debug_gdb;
4792 if test "$enableval" = yes; then
4793 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4795 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4800 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4805 eval "$wx_cv_use_debug_gdb"
4807 if test x"$enablestring" = xdisable; then
4808 if test $wxUSE_DEBUG_GDB = yes; then
4814 result=$wxUSE_DEBUG_GDB
4817 { echo "$as_me:$LINENO: result
: $result" >&5
4818 echo "${ECHO_T}$result" >&6; }
4823 if test -z "$defaultval"; then
4824 if test x"$enablestring" = xdisable; then
4831 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
4832 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
4833 # Check whether --enable-debug_cntxt was given.
4834 if test "${enable_debug_cntxt+set}" = set; then
4835 enableval=$enable_debug_cntxt;
4836 if test "$enableval" = yes; then
4837 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4839 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4844 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4849 eval "$wx_cv_use_debug_cntxt"
4851 if test x
"$enablestring" = xdisable
; then
4852 if test $wxUSE_DEBUG_CONTEXT = yes; then
4858 result
=$wxUSE_DEBUG_CONTEXT
4861 { echo "$as_me:$LINENO: result: $result" >&5
4862 echo "${ECHO_T}$result" >&6; }
4867 if test -z "$defaultval"; then
4868 if test x
"$enablestring" = xdisable
; then
4875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4877 # Check whether --enable-mem_tracing was given.
4878 if test "${enable_mem_tracing+set}" = set; then
4879 enableval
=$enable_mem_tracing;
4880 if test "$enableval" = yes; then
4881 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4883 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4888 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4893 eval "$wx_cv_use_mem_tracing"
4895 if test x"$enablestring" = xdisable; then
4896 if test $wxUSE_MEM_TRACING = yes; then
4902 result=$wxUSE_MEM_TRACING
4905 { echo "$as_me:$LINENO: result: $result" >&5
4906 echo "${ECHO_T}$result" >&6; }
4911 if test -z "$defaultval"; then
4912 if test x"$enablestring" = xdisable; then
4919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4920 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4921 # Check whether --enable-profile was given.
4922 if test "${enable_profile+set}" = set; then
4923 enableval=$enable_profile;
4924 if test "$enableval" = yes; then
4925 wx_cv_use_profile='wxUSE_PROFILE
=yes'
4927 wx_cv_use_profile='wxUSE_PROFILE
=no
'
4932 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4937 eval "$wx_cv_use_profile"
4939 if test x"$enablestring" = xdisable; then
4940 if test $wxUSE_PROFILE = yes; then
4946 result=$wxUSE_PROFILE
4949 { echo "$as_me:$LINENO: result
: $result" >&5
4950 echo "${ECHO_T}$result" >&6; }
4955 if test -z "$defaultval"; then
4956 if test x"$enablestring" = xdisable; then
4963 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
4964 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
4965 # Check whether --enable-no_rtti was given.
4966 if test "${enable_no_rtti+set}" = set; then
4967 enableval=$enable_no_rtti;
4968 if test "$enableval" = yes; then
4969 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4971 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4976 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4981 eval "$wx_cv_use_no_rtti"
4983 if test x
"$enablestring" = xdisable
; then
4984 if test $wxUSE_NO_RTTI = yes; then
4990 result
=$wxUSE_NO_RTTI
4993 { echo "$as_me:$LINENO: result: $result" >&5
4994 echo "${ECHO_T}$result" >&6; }
4999 if test -z "$defaultval"; then
5000 if test x
"$enablestring" = xdisable
; then
5007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5009 # Check whether --enable-no_exceptions was given.
5010 if test "${enable_no_exceptions+set}" = set; then
5011 enableval
=$enable_no_exceptions;
5012 if test "$enableval" = yes; then
5013 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5015 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5020 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5025 eval "$wx_cv_use_no_exceptions"
5027 if test x"$enablestring" = xdisable; then
5028 if test $wxUSE_NO_EXCEPTIONS = yes; then
5034 result=$wxUSE_NO_EXCEPTIONS
5037 { echo "$as_me:$LINENO: result: $result" >&5
5038 echo "${ECHO_T}$result" >&6; }
5043 if test -z "$defaultval"; then
5044 if test x"$enablestring" = xdisable; then
5051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5053 # Check whether --enable-permissive was given.
5054 if test "${enable_permissive+set}" = set; then
5055 enableval=$enable_permissive;
5056 if test "$enableval" = yes; then
5057 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5059 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5064 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5069 eval "$wx_cv_use_permissive"
5071 if test x"$enablestring" = xdisable; then
5072 if test $wxUSE_PERMISSIVE = yes; then
5078 result=$wxUSE_PERMISSIVE
5081 { echo "$as_me:$LINENO: result
: $result" >&5
5082 echo "${ECHO_T}$result" >&6; }
5087 if test -z "$defaultval"; then
5088 if test x"$enablestring" = xdisable; then
5095 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5096 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5097 # Check whether --enable-no_deps was given.
5098 if test "${enable_no_deps+set}" = set; then
5099 enableval=$enable_no_deps;
5100 if test "$enableval" = yes; then
5101 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5103 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5108 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5113 eval "$wx_cv_use_no_deps"
5115 if test x
"$enablestring" = xdisable
; then
5116 if test $wxUSE_NO_DEPS = yes; then
5122 result
=$wxUSE_NO_DEPS
5125 { echo "$as_me:$LINENO: result: $result" >&5
5126 echo "${ECHO_T}$result" >&6; }
5129 enablestring
=disable
5131 if test -z "$defaultval"; then
5132 if test x
"$enablestring" = xdisable
; then
5139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5141 # Check whether --enable-vararg_macros was given.
5142 if test "${enable_vararg_macros+set}" = set; then
5143 enableval
=$enable_vararg_macros;
5144 if test "$enableval" = yes; then
5145 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5147 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5152 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5157 eval "$wx_cv_use_vararg_macros"
5159 if test x"$enablestring" = xdisable; then
5160 if test $wxUSE_VARARG_MACROS = yes; then
5166 result=$wxUSE_VARARG_MACROS
5169 { echo "$as_me:$LINENO: result: $result" >&5
5170 echo "${ECHO_T}$result" >&6; }
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5176 # Check whether --enable-universal_binary was given.
5177 if test "${enable_universal_binary+set}" = set; then
5178 enableval=$enable_universal_binary;
5179 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5183 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5188 eval "$wx_cv_use_universal_binary"
5190 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5191 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5197 if test -z "$defaultval"; then
5198 if test x"$enablestring" = xdisable; then
5205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5207 # Check whether --enable-compat26 was given.
5208 if test "${enable_compat26+set}" = set; then
5209 enableval=$enable_compat26;
5210 if test "$enableval" = yes; then
5211 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5213 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5218 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5223 eval "$wx_cv_use_compat26"
5225 if test x"$enablestring" = xdisable; then
5226 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5232 result=$WXWIN_COMPATIBILITY_2_6
5235 { echo "$as_me:$LINENO: result
: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5239 enablestring=disable
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5249 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5250 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5251 # Check whether --enable-compat28 was given.
5252 if test "${enable_compat28+set}" = set; then
5253 enableval=$enable_compat28;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5257 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5262 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5267 eval "$wx_cv_use_compat28"
5269 if test x
"$enablestring" = xdisable
; then
5270 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5276 result
=$WXWIN_COMPATIBILITY_2_8
5279 { echo "$as_me:$LINENO: result: $result" >&5
5280 echo "${ECHO_T}$result" >&6; }
5284 enablestring
=disable
5286 if test -z "$defaultval"; then
5287 if test x
"$enablestring" = xdisable
; then
5294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5296 # Check whether --enable-rpath was given.
5297 if test "${enable_rpath+set}" = set; then
5298 enableval
=$enable_rpath;
5299 if test "$enableval" = yes; then
5300 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5302 wx_cv_use_rpath
='wxUSE_RPATH=no'
5307 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5312 eval "$wx_cv_use_rpath"
5314 if test x"$enablestring" = xdisable; then
5315 if test $wxUSE_RPATH = yes; then
5324 { echo "$as_me:$LINENO: result: $result" >&5
5325 echo "${ECHO_T}$result" >&6; }
5331 if test -z "$defaultval"; then
5332 if test x"$enablestring" = xdisable; then
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5341 # Check whether --enable-objc_uniquifying was given.
5342 if test "${enable_objc_uniquifying+set}" = set; then
5343 enableval=$enable_objc_uniquifying;
5344 if test "$enableval" = yes; then
5345 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5347 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5352 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5357 eval "$wx_cv_use_objc_uniquifying"
5359 if test x"$enablestring" = xdisable; then
5360 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5366 result=$wxUSE_OBJC_UNIQUIFYING
5369 { echo "$as_me:$LINENO: result
: $result" >&5
5370 echo "${ECHO_T}$result" >&6; }
5374 enablestring=disable
5376 if test -z "$defaultval"; then
5377 if test x"$enablestring" = xdisable; then
5384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5385 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5386 # Check whether --enable-visibility was given.
5387 if test "${enable_visibility+set}" = set; then
5388 enableval=$enable_visibility;
5389 if test "$enableval" = yes; then
5390 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5392 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5397 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5402 eval "$wx_cv_use_visibility"
5404 if test x
"$enablestring" = xdisable
; then
5405 if test $wxUSE_VISIBILITY = yes; then
5411 result
=$wxUSE_VISIBILITY
5414 { echo "$as_me:$LINENO: result: $result" >&5
5415 echo "${ECHO_T}$result" >&6; }
5421 defaultval
=$wxUSE_ALL_FEATURES
5422 if test -z "$defaultval"; then
5423 if test x
"$enablestring" = xdisable
; then
5430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5432 # Check whether --enable-intl was given.
5433 if test "${enable_intl+set}" = set; then
5434 enableval
=$enable_intl;
5435 if test "$enableval" = yes; then
5436 wx_cv_use_intl
='wxUSE_INTL=yes'
5438 wx_cv_use_intl
='wxUSE_INTL=no'
5443 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5448 eval "$wx_cv_use_intl"
5450 if test x"$enablestring" = xdisable; then
5451 if test $wxUSE_INTL = yes; then
5460 { echo "$as_me:$LINENO: result: $result" >&5
5461 echo "${ECHO_T}$result" >&6; }
5465 defaultval=$wxUSE_ALL_FEATURES
5466 if test -z "$defaultval"; then
5467 if test x"$enablestring" = xdisable; then
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5476 # Check whether --enable-config was given.
5477 if test "${enable_config+set}" = set; then
5478 enableval=$enable_config;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_config='wxUSE_CONFIG
=yes'
5482 wx_cv_use_config='wxUSE_CONFIG
=no
'
5487 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5492 eval "$wx_cv_use_config"
5494 if test x"$enablestring" = xdisable; then
5495 if test $wxUSE_CONFIG = yes; then
5501 result=$wxUSE_CONFIG
5504 { echo "$as_me:$LINENO: result
: $result" >&5
5505 echo "${ECHO_T}$result" >&6; }
5510 defaultval=$wxUSE_ALL_FEATURES
5511 if test -z "$defaultval"; then
5512 if test x"$enablestring" = xdisable; then
5519 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5520 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5521 # Check whether --enable-protocols was given.
5522 if test "${enable_protocols+set}" = set; then
5523 enableval=$enable_protocols;
5524 if test "$enableval" = yes; then
5525 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5527 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5532 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5537 eval "$wx_cv_use_protocols"
5539 if test x
"$enablestring" = xdisable
; then
5540 if test $wxUSE_PROTOCOL = yes; then
5546 result
=$wxUSE_PROTOCOL
5549 { echo "$as_me:$LINENO: result: $result" >&5
5550 echo "${ECHO_T}$result" >&6; }
5554 defaultval
=$wxUSE_ALL_FEATURES
5555 if test -z "$defaultval"; then
5556 if test x
"$enablestring" = xdisable
; then
5563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5565 # Check whether --enable-ftp was given.
5566 if test "${enable_ftp+set}" = set; then
5567 enableval
=$enable_ftp;
5568 if test "$enableval" = yes; then
5569 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5571 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5576 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5581 eval "$wx_cv_use_ftp"
5583 if test x"$enablestring" = xdisable; then
5584 if test $wxUSE_PROTOCOL_FTP = yes; then
5590 result=$wxUSE_PROTOCOL_FTP
5593 { echo "$as_me:$LINENO: result: $result" >&5
5594 echo "${ECHO_T}$result" >&6; }
5598 defaultval=$wxUSE_ALL_FEATURES
5599 if test -z "$defaultval"; then
5600 if test x"$enablestring" = xdisable; then
5607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5609 # Check whether --enable-http was given.
5610 if test "${enable_http+set}" = set; then
5611 enableval=$enable_http;
5612 if test "$enableval" = yes; then
5613 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5615 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5620 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5625 eval "$wx_cv_use_http"
5627 if test x"$enablestring" = xdisable; then
5628 if test $wxUSE_PROTOCOL_HTTP = yes; then
5634 result=$wxUSE_PROTOCOL_HTTP
5637 { echo "$as_me:$LINENO: result
: $result" >&5
5638 echo "${ECHO_T}$result" >&6; }
5642 defaultval=$wxUSE_ALL_FEATURES
5643 if test -z "$defaultval"; then
5644 if test x"$enablestring" = xdisable; then
5651 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5652 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5653 # Check whether --enable-fileproto was given.
5654 if test "${enable_fileproto+set}" = set; then
5655 enableval=$enable_fileproto;
5656 if test "$enableval" = yes; then
5657 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5659 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5664 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5669 eval "$wx_cv_use_fileproto"
5671 if test x
"$enablestring" = xdisable
; then
5672 if test $wxUSE_PROTOCOL_FILE = yes; then
5678 result
=$wxUSE_PROTOCOL_FILE
5681 { echo "$as_me:$LINENO: result: $result" >&5
5682 echo "${ECHO_T}$result" >&6; }
5686 defaultval
=$wxUSE_ALL_FEATURES
5687 if test -z "$defaultval"; then
5688 if test x
"$enablestring" = xdisable
; then
5695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5697 # Check whether --enable-sockets was given.
5698 if test "${enable_sockets+set}" = set; then
5699 enableval
=$enable_sockets;
5700 if test "$enableval" = yes; then
5701 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5703 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5708 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5713 eval "$wx_cv_use_sockets"
5715 if test x"$enablestring" = xdisable; then
5716 if test $wxUSE_SOCKETS = yes; then
5722 result=$wxUSE_SOCKETS
5725 { echo "$as_me:$LINENO: result: $result" >&5
5726 echo "${ECHO_T}$result" >&6; }
5730 defaultval=$wxUSE_ALL_FEATURES
5731 if test -z "$defaultval"; then
5732 if test x"$enablestring" = xdisable; then
5739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5741 # Check whether --enable-ipv6 was given.
5742 if test "${enable_ipv6+set}" = set; then
5743 enableval=$enable_ipv6;
5744 if test "$enableval" = yes; then
5745 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5747 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
5752 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5757 eval "$wx_cv_use_ipv6"
5759 if test x"$enablestring" = xdisable; then
5760 if test $wxUSE_IPV6 = yes; then
5769 { echo "$as_me:$LINENO: result
: $result" >&5
5770 echo "${ECHO_T}$result" >&6; }
5774 defaultval=$wxUSE_ALL_FEATURES
5775 if test -z "$defaultval"; then
5776 if test x"$enablestring" = xdisable; then
5783 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
5784 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
5785 # Check whether --enable-ole was given.
5786 if test "${enable_ole+set}" = set; then
5787 enableval=$enable_ole;
5788 if test "$enableval" = yes; then
5789 wx_cv_use_ole='wxUSE_OLE=yes'
5791 wx_cv_use_ole='wxUSE_OLE=no'
5796 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5801 eval "$wx_cv_use_ole"
5803 if test x
"$enablestring" = xdisable
; then
5804 if test $wxUSE_OLE = yes; then
5813 { echo "$as_me:$LINENO: result: $result" >&5
5814 echo "${ECHO_T}$result" >&6; }
5818 defaultval
=$wxUSE_ALL_FEATURES
5819 if test -z "$defaultval"; then
5820 if test x
"$enablestring" = xdisable
; then
5827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5829 # Check whether --enable-dataobj was given.
5830 if test "${enable_dataobj+set}" = set; then
5831 enableval
=$enable_dataobj;
5832 if test "$enableval" = yes; then
5833 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
5835 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
5840 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5845 eval "$wx_cv_use_dataobj"
5847 if test x"$enablestring" = xdisable; then
5848 if test $wxUSE_DATAOBJ = yes; then
5854 result=$wxUSE_DATAOBJ
5857 { echo "$as_me:$LINENO: result: $result" >&5
5858 echo "${ECHO_T}$result" >&6; }
5863 defaultval=$wxUSE_ALL_FEATURES
5864 if test -z "$defaultval"; then
5865 if test x"$enablestring" = xdisable; then
5872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5873 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5874 # Check whether --enable-ipc was given.
5875 if test "${enable_ipc+set}" = set; then
5876 enableval=$enable_ipc;
5877 if test "$enableval" = yes; then
5878 wx_cv_use_ipc='wxUSE_IPC
=yes'
5880 wx_cv_use_ipc='wxUSE_IPC
=no
'
5885 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5890 eval "$wx_cv_use_ipc"
5892 if test x"$enablestring" = xdisable; then
5893 if test $wxUSE_IPC = yes; then
5902 { echo "$as_me:$LINENO: result
: $result" >&5
5903 echo "${ECHO_T}$result" >&6; }
5908 defaultval=$wxUSE_ALL_FEATURES
5909 if test -z "$defaultval"; then
5910 if test x"$enablestring" = xdisable; then
5917 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
5918 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
5919 # Check whether --enable-baseevtloop was given.
5920 if test "${enable_baseevtloop+set}" = set; then
5921 enableval=$enable_baseevtloop;
5922 if test "$enableval" = yes; then
5923 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5925 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5930 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5935 eval "$wx_cv_use_baseevtloop"
5937 if test x
"$enablestring" = xdisable
; then
5938 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5944 result
=$wxUSE_CONSOLE_EVENTLOOP
5947 { echo "$as_me:$LINENO: result: $result" >&5
5948 echo "${ECHO_T}$result" >&6; }
5952 defaultval
=$wxUSE_ALL_FEATURES
5953 if test -z "$defaultval"; then
5954 if test x
"$enablestring" = xdisable
; then
5961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5963 # Check whether --enable-epollloop was given.
5964 if test "${enable_epollloop+set}" = set; then
5965 enableval
=$enable_epollloop;
5966 if test "$enableval" = yes; then
5967 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
5969 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
5974 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5979 eval "$wx_cv_use_epollloop"
5981 if test x"$enablestring" = xdisable; then
5982 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5988 result=$wxUSE_EPOLL_DISPATCHER
5991 { echo "$as_me:$LINENO: result: $result" >&5
5992 echo "${ECHO_T}$result" >&6; }
5996 defaultval=$wxUSE_ALL_FEATURES
5997 if test -z "$defaultval"; then
5998 if test x"$enablestring" = xdisable; then
6005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6007 # Check whether --enable-selectloop was given.
6008 if test "${enable_selectloop+set}" = set; then
6009 enableval=$enable_selectloop;
6010 if test "$enableval" = yes; then
6011 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6013 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6018 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6023 eval "$wx_cv_use_selectloop"
6025 if test x"$enablestring" = xdisable; then
6026 if test $wxUSE_SELECT_DISPATCHER = yes; then
6032 result=$wxUSE_SELECT_DISPATCHER
6035 { echo "$as_me:$LINENO: result
: $result" >&5
6036 echo "${ECHO_T}$result" >&6; }
6041 defaultval=$wxUSE_ALL_FEATURES
6042 if test -z "$defaultval"; then
6043 if test x"$enablestring" = xdisable; then
6050 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6051 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6052 # Check whether --enable-apple_ieee was given.
6053 if test "${enable_apple_ieee+set}" = set; then
6054 enableval=$enable_apple_ieee;
6055 if test "$enableval" = yes; then
6056 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6058 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6063 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6068 eval "$wx_cv_use_apple_ieee"
6070 if test x
"$enablestring" = xdisable
; then
6071 if test $wxUSE_APPLE_IEEE = yes; then
6077 result
=$wxUSE_APPLE_IEEE
6080 { echo "$as_me:$LINENO: result: $result" >&5
6081 echo "${ECHO_T}$result" >&6; }
6085 defaultval
=$wxUSE_ALL_FEATURES
6086 if test -z "$defaultval"; then
6087 if test x
"$enablestring" = xdisable
; then
6094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6096 # Check whether --enable-arcstream was given.
6097 if test "${enable_arcstream+set}" = set; then
6098 enableval
=$enable_arcstream;
6099 if test "$enableval" = yes; then
6100 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6102 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6107 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6112 eval "$wx_cv_use_arcstream"
6114 if test x"$enablestring" = xdisable; then
6115 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6121 result=$wxUSE_ARCHIVE_STREAMS
6124 { echo "$as_me:$LINENO: result: $result" >&5
6125 echo "${ECHO_T}$result" >&6; }
6129 defaultval=$wxUSE_ALL_FEATURES
6130 if test -z "$defaultval"; then
6131 if test x"$enablestring" = xdisable; then
6138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6140 # Check whether --enable-base64 was given.
6141 if test "${enable_base64+set}" = set; then
6142 enableval=$enable_base64;
6143 if test "$enableval" = yes; then
6144 wx_cv_use_base64='wxUSE_BASE64
=yes'
6146 wx_cv_use_base64='wxUSE_BASE64
=no
'
6151 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6156 eval "$wx_cv_use_base64"
6158 if test x"$enablestring" = xdisable; then
6159 if test $wxUSE_BASE64 = yes; then
6165 result=$wxUSE_BASE64
6168 { echo "$as_me:$LINENO: result
: $result" >&5
6169 echo "${ECHO_T}$result" >&6; }
6173 defaultval=$wxUSE_ALL_FEATURES
6174 if test -z "$defaultval"; then
6175 if test x"$enablestring" = xdisable; then
6182 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6183 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6184 # Check whether --enable-backtrace was given.
6185 if test "${enable_backtrace+set}" = set; then
6186 enableval=$enable_backtrace;
6187 if test "$enableval" = yes; then
6188 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6190 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6195 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6200 eval "$wx_cv_use_backtrace"
6202 if test x
"$enablestring" = xdisable
; then
6203 if test $wxUSE_STACKWALKER = yes; then
6209 result
=$wxUSE_STACKWALKER
6212 { echo "$as_me:$LINENO: result: $result" >&5
6213 echo "${ECHO_T}$result" >&6; }
6217 defaultval
=$wxUSE_ALL_FEATURES
6218 if test -z "$defaultval"; then
6219 if test x
"$enablestring" = xdisable
; then
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6228 # Check whether --enable-catch_segvs was given.
6229 if test "${enable_catch_segvs+set}" = set; then
6230 enableval
=$enable_catch_segvs;
6231 if test "$enableval" = yes; then
6232 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6234 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6239 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6244 eval "$wx_cv_use_catch_segvs"
6246 if test x"$enablestring" = xdisable; then
6247 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6253 result=$wxUSE_ON_FATAL_EXCEPTION
6256 { echo "$as_me:$LINENO: result: $result" >&5
6257 echo "${ECHO_T}$result" >&6; }
6261 defaultval=$wxUSE_ALL_FEATURES
6262 if test -z "$defaultval"; then
6263 if test x"$enablestring" = xdisable; then
6270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6271 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6272 # Check whether --enable-cmdline was given.
6273 if test "${enable_cmdline+set}" = set; then
6274 enableval=$enable_cmdline;
6275 if test "$enableval" = yes; then
6276 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6278 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6283 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6288 eval "$wx_cv_use_cmdline"
6290 if test x"$enablestring" = xdisable; then
6291 if test $wxUSE_CMDLINE_PARSER = yes; then
6297 result=$wxUSE_CMDLINE_PARSER
6300 { echo "$as_me:$LINENO: result
: $result" >&5
6301 echo "${ECHO_T}$result" >&6; }
6305 defaultval=$wxUSE_ALL_FEATURES
6306 if test -z "$defaultval"; then
6307 if test x"$enablestring" = xdisable; then
6314 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6315 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6316 # Check whether --enable-datetime was given.
6317 if test "${enable_datetime+set}" = set; then
6318 enableval=$enable_datetime;
6319 if test "$enableval" = yes; then
6320 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6322 wx_cv_use_datetime='wxUSE_DATETIME=no'
6327 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6332 eval "$wx_cv_use_datetime"
6334 if test x
"$enablestring" = xdisable
; then
6335 if test $wxUSE_DATETIME = yes; then
6341 result
=$wxUSE_DATETIME
6344 { echo "$as_me:$LINENO: result: $result" >&5
6345 echo "${ECHO_T}$result" >&6; }
6349 defaultval
=$wxUSE_ALL_FEATURES
6350 if test -z "$defaultval"; then
6351 if test x
"$enablestring" = xdisable
; then
6358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6359 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6360 # Check whether --enable-debugreport was given.
6361 if test "${enable_debugreport+set}" = set; then
6362 enableval
=$enable_debugreport;
6363 if test "$enableval" = yes; then
6364 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6366 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6371 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6376 eval "$wx_cv_use_debugreport"
6378 if test x"$enablestring" = xdisable; then
6379 if test $wxUSE_DEBUGREPORT = yes; then
6385 result=$wxUSE_DEBUGREPORT
6388 { echo "$as_me:$LINENO: result: $result" >&5
6389 echo "${ECHO_T}$result" >&6; }
6393 defaultval=$wxUSE_ALL_FEATURES
6394 if test -z "$defaultval"; then
6395 if test x"$enablestring" = xdisable; then
6402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6404 # Check whether --enable-dialupman was given.
6405 if test "${enable_dialupman+set}" = set; then
6406 enableval=$enable_dialupman;
6407 if test "$enableval" = yes; then
6408 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6410 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6415 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6420 eval "$wx_cv_use_dialupman"
6422 if test x"$enablestring" = xdisable; then
6423 if test $wxUSE_DIALUP_MANAGER = yes; then
6429 result=$wxUSE_DIALUP_MANAGER
6432 { echo "$as_me:$LINENO: result
: $result" >&5
6433 echo "${ECHO_T}$result" >&6; }
6437 defaultval=$wxUSE_ALL_FEATURES
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6446 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6447 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6448 # Check whether --enable-dynlib was given.
6449 if test "${enable_dynlib+set}" = set; then
6450 enableval=$enable_dynlib;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6454 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6459 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6464 eval "$wx_cv_use_dynlib"
6466 if test x
"$enablestring" = xdisable
; then
6467 if test $wxUSE_DYNLIB_CLASS = yes; then
6473 result
=$wxUSE_DYNLIB_CLASS
6476 { echo "$as_me:$LINENO: result: $result" >&5
6477 echo "${ECHO_T}$result" >&6; }
6481 defaultval
=$wxUSE_ALL_FEATURES
6482 if test -z "$defaultval"; then
6483 if test x
"$enablestring" = xdisable
; then
6490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6492 # Check whether --enable-dynamicloader was given.
6493 if test "${enable_dynamicloader+set}" = set; then
6494 enableval
=$enable_dynamicloader;
6495 if test "$enableval" = yes; then
6496 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6498 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6503 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6508 eval "$wx_cv_use_dynamicloader"
6510 if test x"$enablestring" = xdisable; then
6511 if test $wxUSE_DYNAMIC_LOADER = yes; then
6517 result=$wxUSE_DYNAMIC_LOADER
6520 { echo "$as_me:$LINENO: result: $result" >&5
6521 echo "${ECHO_T}$result" >&6; }
6525 defaultval=$wxUSE_ALL_FEATURES
6526 if test -z "$defaultval"; then
6527 if test x"$enablestring" = xdisable; then
6534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6535 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6536 # Check whether --enable-exceptions was given.
6537 if test "${enable_exceptions+set}" = set; then
6538 enableval=$enable_exceptions;
6539 if test "$enableval" = yes; then
6540 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6542 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6547 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6552 eval "$wx_cv_use_exceptions"
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_EXCEPTIONS = yes; then
6561 result=$wxUSE_EXCEPTIONS
6564 { echo "$as_me:$LINENO: result
: $result" >&5
6565 echo "${ECHO_T}$result" >&6; }
6569 defaultval=$wxUSE_ALL_FEATURES
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6578 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6579 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6580 # Check whether --enable-ffile was given.
6581 if test "${enable_ffile+set}" = set; then
6582 enableval=$enable_ffile;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_ffile='wxUSE_FFILE=yes'
6586 wx_cv_use_ffile='wxUSE_FFILE=no'
6591 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6596 eval "$wx_cv_use_ffile"
6598 if test x
"$enablestring" = xdisable
; then
6599 if test $wxUSE_FFILE = yes; then
6608 { echo "$as_me:$LINENO: result: $result" >&5
6609 echo "${ECHO_T}$result" >&6; }
6613 defaultval
=$wxUSE_ALL_FEATURES
6614 if test -z "$defaultval"; then
6615 if test x
"$enablestring" = xdisable
; then
6622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6624 # Check whether --enable-file was given.
6625 if test "${enable_file+set}" = set; then
6626 enableval
=$enable_file;
6627 if test "$enableval" = yes; then
6628 wx_cv_use_file
='wxUSE_FILE=yes'
6630 wx_cv_use_file
='wxUSE_FILE=no'
6635 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6640 eval "$wx_cv_use_file"
6642 if test x"$enablestring" = xdisable; then
6643 if test $wxUSE_FILE = yes; then
6652 { echo "$as_me:$LINENO: result: $result" >&5
6653 echo "${ECHO_T}$result" >&6; }
6657 defaultval=$wxUSE_ALL_FEATURES
6658 if test -z "$defaultval"; then
6659 if test x"$enablestring" = xdisable; then
6666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6668 # Check whether --enable-filesystem was given.
6669 if test "${enable_filesystem+set}" = set; then
6670 enableval=$enable_filesystem;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6674 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6679 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6684 eval "$wx_cv_use_filesystem"
6686 if test x"$enablestring" = xdisable; then
6687 if test $wxUSE_FILESYSTEM = yes; then
6693 result=$wxUSE_FILESYSTEM
6696 { echo "$as_me:$LINENO: result
: $result" >&5
6697 echo "${ECHO_T}$result" >&6; }
6701 defaultval=$wxUSE_ALL_FEATURES
6702 if test -z "$defaultval"; then
6703 if test x"$enablestring" = xdisable; then
6710 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6711 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6712 # Check whether --enable-fontenum was given.
6713 if test "${enable_fontenum+set}" = set; then
6714 enableval=$enable_fontenum;
6715 if test "$enableval" = yes; then
6716 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6718 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6723 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6728 eval "$wx_cv_use_fontenum"
6730 if test x
"$enablestring" = xdisable
; then
6731 if test $wxUSE_FONTENUM = yes; then
6737 result
=$wxUSE_FONTENUM
6740 { echo "$as_me:$LINENO: result: $result" >&5
6741 echo "${ECHO_T}$result" >&6; }
6745 defaultval
=$wxUSE_ALL_FEATURES
6746 if test -z "$defaultval"; then
6747 if test x
"$enablestring" = xdisable
; then
6754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6756 # Check whether --enable-fontmap was given.
6757 if test "${enable_fontmap+set}" = set; then
6758 enableval
=$enable_fontmap;
6759 if test "$enableval" = yes; then
6760 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
6762 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
6767 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6772 eval "$wx_cv_use_fontmap"
6774 if test x"$enablestring" = xdisable; then
6775 if test $wxUSE_FONTMAP = yes; then
6781 result=$wxUSE_FONTMAP
6784 { echo "$as_me:$LINENO: result: $result" >&5
6785 echo "${ECHO_T}$result" >&6; }
6789 defaultval=$wxUSE_ALL_FEATURES
6790 if test -z "$defaultval"; then
6791 if test x"$enablestring" = xdisable; then
6798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6800 # Check whether --enable-fs_archive was given.
6801 if test "${enable_fs_archive+set}" = set; then
6802 enableval=$enable_fs_archive;
6803 if test "$enableval" = yes; then
6804 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
6806 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
6811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6816 eval "$wx_cv_use_fs_archive"
6818 if test x"$enablestring" = xdisable; then
6819 if test $wxUSE_FS_ARCHIVE = yes; then
6825 result=$wxUSE_FS_ARCHIVE
6828 { echo "$as_me:$LINENO: result
: $result" >&5
6829 echo "${ECHO_T}$result" >&6; }
6833 defaultval=$wxUSE_ALL_FEATURES
6834 if test -z "$defaultval"; then
6835 if test x"$enablestring" = xdisable; then
6842 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
6843 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
6844 # Check whether --enable-fs_inet was given.
6845 if test "${enable_fs_inet+set}" = set; then
6846 enableval=$enable_fs_inet;
6847 if test "$enableval" = yes; then
6848 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6850 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6855 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6860 eval "$wx_cv_use_fs_inet"
6862 if test x
"$enablestring" = xdisable
; then
6863 if test $wxUSE_FS_INET = yes; then
6869 result
=$wxUSE_FS_INET
6872 { echo "$as_me:$LINENO: result: $result" >&5
6873 echo "${ECHO_T}$result" >&6; }
6877 defaultval
=$wxUSE_ALL_FEATURES
6878 if test -z "$defaultval"; then
6879 if test x
"$enablestring" = xdisable
; then
6886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6888 # Check whether --enable-fs_zip was given.
6889 if test "${enable_fs_zip+set}" = set; then
6890 enableval
=$enable_fs_zip;
6891 if test "$enableval" = yes; then
6892 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
6894 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
6899 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6904 eval "$wx_cv_use_fs_zip"
6906 if test x"$enablestring" = xdisable; then
6907 if test $wxUSE_FS_ZIP = yes; then
6913 result=$wxUSE_FS_ZIP
6916 { echo "$as_me:$LINENO: result: $result" >&5
6917 echo "${ECHO_T}$result" >&6; }
6921 defaultval=$wxUSE_ALL_FEATURES
6922 if test -z "$defaultval"; then
6923 if test x"$enablestring" = xdisable; then
6930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6932 # Check whether --enable-geometry was given.
6933 if test "${enable_geometry+set}" = set; then
6934 enableval=$enable_geometry;
6935 if test "$enableval" = yes; then
6936 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
6938 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
6943 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6948 eval "$wx_cv_use_geometry"
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_GEOMETRY = yes; then
6957 result=$wxUSE_GEOMETRY
6960 { echo "$as_me:$LINENO: result
: $result" >&5
6961 echo "${ECHO_T}$result" >&6; }
6965 defaultval=$wxUSE_ALL_FEATURES
6966 if test -z "$defaultval"; then
6967 if test x"$enablestring" = xdisable; then
6974 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
6975 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
6976 # Check whether --enable-log was given.
6977 if test "${enable_log+set}" = set; then
6978 enableval=$enable_log;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_log='wxUSE_LOG=yes'
6982 wx_cv_use_log='wxUSE_LOG=no'
6987 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6992 eval "$wx_cv_use_log"
6994 if test x
"$enablestring" = xdisable
; then
6995 if test $wxUSE_LOG = yes; then
7004 { echo "$as_me:$LINENO: result: $result" >&5
7005 echo "${ECHO_T}$result" >&6; }
7009 defaultval
=$wxUSE_ALL_FEATURES
7010 if test -z "$defaultval"; then
7011 if test x
"$enablestring" = xdisable
; then
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7020 # Check whether --enable-longlong was given.
7021 if test "${enable_longlong+set}" = set; then
7022 enableval
=$enable_longlong;
7023 if test "$enableval" = yes; then
7024 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7026 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7031 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7036 eval "$wx_cv_use_longlong"
7038 if test x"$enablestring" = xdisable; then
7039 if test $wxUSE_LONGLONG = yes; then
7045 result=$wxUSE_LONGLONG
7048 { echo "$as_me:$LINENO: result: $result" >&5
7049 echo "${ECHO_T}$result" >&6; }
7053 defaultval=$wxUSE_ALL_FEATURES
7054 if test -z "$defaultval"; then
7055 if test x"$enablestring" = xdisable; then
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7064 # Check whether --enable-mimetype was given.
7065 if test "${enable_mimetype+set}" = set; then
7066 enableval=$enable_mimetype;
7067 if test "$enableval" = yes; then
7068 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7070 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7075 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7080 eval "$wx_cv_use_mimetype"
7082 if test x"$enablestring" = xdisable; then
7083 if test $wxUSE_MIMETYPE = yes; then
7089 result=$wxUSE_MIMETYPE
7092 { echo "$as_me:$LINENO: result
: $result" >&5
7093 echo "${ECHO_T}$result" >&6; }
7097 defaultval=$wxUSE_ALL_FEATURES
7098 if test -z "$defaultval"; then
7099 if test x"$enablestring" = xdisable; then
7106 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7107 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7108 # Check whether --enable-snglinst was given.
7109 if test "${enable_snglinst+set}" = set; then
7110 enableval=$enable_snglinst;
7111 if test "$enableval" = yes; then
7112 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7114 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7119 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7124 eval "$wx_cv_use_snglinst"
7126 if test x
"$enablestring" = xdisable
; then
7127 if test $wxUSE_SNGLINST_CHECKER = yes; then
7133 result
=$wxUSE_SNGLINST_CHECKER
7136 { echo "$as_me:$LINENO: result: $result" >&5
7137 echo "${ECHO_T}$result" >&6; }
7141 defaultval
=$wxUSE_ALL_FEATURES
7142 if test -z "$defaultval"; then
7143 if test x
"$enablestring" = xdisable
; then
7150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7152 # Check whether --enable-stdpaths was given.
7153 if test "${enable_stdpaths+set}" = set; then
7154 enableval
=$enable_stdpaths;
7155 if test "$enableval" = yes; then
7156 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7158 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7163 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7168 eval "$wx_cv_use_stdpaths"
7170 if test x"$enablestring" = xdisable; then
7171 if test $wxUSE_STDPATHS = yes; then
7177 result=$wxUSE_STDPATHS
7180 { echo "$as_me:$LINENO: result: $result" >&5
7181 echo "${ECHO_T}$result" >&6; }
7185 defaultval=$wxUSE_ALL_FEATURES
7186 if test -z "$defaultval"; then
7187 if test x"$enablestring" = xdisable; then
7194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7196 # Check whether --enable-stopwatch was given.
7197 if test "${enable_stopwatch+set}" = set; then
7198 enableval=$enable_stopwatch;
7199 if test "$enableval" = yes; then
7200 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7202 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7207 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7212 eval "$wx_cv_use_stopwatch"
7214 if test x"$enablestring" = xdisable; then
7215 if test $wxUSE_STOPWATCH = yes; then
7221 result=$wxUSE_STOPWATCH
7224 { echo "$as_me:$LINENO: result
: $result" >&5
7225 echo "${ECHO_T}$result" >&6; }
7229 defaultval=$wxUSE_ALL_FEATURES
7230 if test -z "$defaultval"; then
7231 if test x"$enablestring" = xdisable; then
7238 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7239 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7240 # Check whether --enable-streams was given.
7241 if test "${enable_streams+set}" = set; then
7242 enableval=$enable_streams;
7243 if test "$enableval" = yes; then
7244 wx_cv_use_streams='wxUSE_STREAMS=yes'
7246 wx_cv_use_streams='wxUSE_STREAMS=no'
7251 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7256 eval "$wx_cv_use_streams"
7258 if test x
"$enablestring" = xdisable
; then
7259 if test $wxUSE_STREAMS = yes; then
7265 result
=$wxUSE_STREAMS
7268 { echo "$as_me:$LINENO: result: $result" >&5
7269 echo "${ECHO_T}$result" >&6; }
7273 defaultval
=$wxUSE_ALL_FEATURES
7274 if test -z "$defaultval"; then
7275 if test x
"$enablestring" = xdisable
; then
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7284 # Check whether --enable-system_options was given.
7285 if test "${enable_system_options+set}" = set; then
7286 enableval
=$enable_system_options;
7287 if test "$enableval" = yes; then
7288 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
7290 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
7295 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7300 eval "$wx_cv_use_system_options"
7302 if test x"$enablestring" = xdisable; then
7303 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7309 result=$wxUSE_SYSTEM_OPTIONS
7312 { echo "$as_me:$LINENO: result: $result" >&5
7313 echo "${ECHO_T}$result" >&6; }
7317 defaultval=$wxUSE_ALL_FEATURES
7318 if test -z "$defaultval"; then
7319 if test x"$enablestring" = xdisable; then
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7328 # Check whether --enable-tarstream was given.
7329 if test "${enable_tarstream+set}" = set; then
7330 enableval=$enable_tarstream;
7331 if test "$enableval" = yes; then
7332 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7334 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7339 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7344 eval "$wx_cv_use_tarstream"
7346 if test x"$enablestring" = xdisable; then
7347 if test $wxUSE_TARSTREAM = yes; then
7353 result=$wxUSE_TARSTREAM
7356 { echo "$as_me:$LINENO: result
: $result" >&5
7357 echo "${ECHO_T}$result" >&6; }
7361 defaultval=$wxUSE_ALL_FEATURES
7362 if test -z "$defaultval"; then
7363 if test x"$enablestring" = xdisable; then
7370 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7371 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7372 # Check whether --enable-textbuf was given.
7373 if test "${enable_textbuf+set}" = set; then
7374 enableval=$enable_textbuf;
7375 if test "$enableval" = yes; then
7376 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7378 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7383 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7388 eval "$wx_cv_use_textbuf"
7390 if test x
"$enablestring" = xdisable
; then
7391 if test $wxUSE_TEXTBUFFER = yes; then
7397 result
=$wxUSE_TEXTBUFFER
7400 { echo "$as_me:$LINENO: result: $result" >&5
7401 echo "${ECHO_T}$result" >&6; }
7405 defaultval
=$wxUSE_ALL_FEATURES
7406 if test -z "$defaultval"; then
7407 if test x
"$enablestring" = xdisable
; then
7414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7416 # Check whether --enable-textfile was given.
7417 if test "${enable_textfile+set}" = set; then
7418 enableval
=$enable_textfile;
7419 if test "$enableval" = yes; then
7420 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7422 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7427 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7432 eval "$wx_cv_use_textfile"
7434 if test x"$enablestring" = xdisable; then
7435 if test $wxUSE_TEXTFILE = yes; then
7441 result=$wxUSE_TEXTFILE
7444 { echo "$as_me:$LINENO: result: $result" >&5
7445 echo "${ECHO_T}$result" >&6; }
7449 defaultval=$wxUSE_ALL_FEATURES
7450 if test -z "$defaultval"; then
7451 if test x"$enablestring" = xdisable; then
7458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7460 # Check whether --enable-timer was given.
7461 if test "${enable_timer+set}" = set; then
7462 enableval=$enable_timer;
7463 if test "$enableval" = yes; then
7464 wx_cv_use_timer='wxUSE_TIMER
=yes'
7466 wx_cv_use_timer='wxUSE_TIMER
=no
'
7471 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7476 eval "$wx_cv_use_timer"
7478 if test x"$enablestring" = xdisable; then
7479 if test $wxUSE_TIMER = yes; then
7488 { echo "$as_me:$LINENO: result
: $result" >&5
7489 echo "${ECHO_T}$result" >&6; }
7493 defaultval=$wxUSE_ALL_FEATURES
7494 if test -z "$defaultval"; then
7495 if test x"$enablestring" = xdisable; then
7502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7503 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7504 # Check whether --enable-sound was given.
7505 if test "${enable_sound+set}" = set; then
7506 enableval=$enable_sound;
7507 if test "$enableval" = yes; then
7508 wx_cv_use_sound='wxUSE_SOUND=yes'
7510 wx_cv_use_sound='wxUSE_SOUND=no'
7515 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7520 eval "$wx_cv_use_sound"
7522 if test x
"$enablestring" = xdisable
; then
7523 if test $wxUSE_SOUND = yes; then
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7537 defaultval
=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x
"$enablestring" = xdisable
; then
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7548 # Check whether --enable-mediactrl was given.
7549 if test "${enable_mediactrl+set}" = set; then
7550 enableval
=$enable_mediactrl;
7551 if test "$enableval" = yes; then
7552 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
7554 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
7559 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7564 eval "$wx_cv_use_mediactrl"
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_MEDIACTRL = yes; then
7573 result=$wxUSE_MEDIACTRL
7576 { echo "$as_me:$LINENO: result: $result" >&5
7577 echo "${ECHO_T}$result" >&6; }
7581 defaultval=$wxUSE_ALL_FEATURES
7582 if test -z "$defaultval"; then
7583 if test x"$enablestring" = xdisable; then
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7592 # Check whether --enable-gstreamer8 was given.
7593 if test "${enable_gstreamer8+set}" = set; then
7594 enableval=$enable_gstreamer8;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
7598 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
7603 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7608 eval "$wx_cv_use_gstreamer8"
7610 if test x"$enablestring" = xdisable; then
7611 if test $wxUSE_GSTREAMER8 = yes; then
7617 result=$wxUSE_GSTREAMER8
7620 { echo "$as_me:$LINENO: result
: $result" >&5
7621 echo "${ECHO_T}$result" >&6; }
7625 defaultval=$wxUSE_ALL_FEATURES
7626 if test -z "$defaultval"; then
7627 if test x"$enablestring" = xdisable; then
7634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7635 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7636 # Check whether --enable-printfposparam was given.
7637 if test "${enable_printfposparam+set}" = set; then
7638 enableval=$enable_printfposparam;
7639 if test "$enableval" = yes; then
7640 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7642 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7647 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7652 eval "$wx_cv_use_printfposparam"
7654 if test x
"$enablestring" = xdisable
; then
7655 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7661 result
=$wxUSE_PRINTF_POS_PARAMS
7664 { echo "$as_me:$LINENO: result: $result" >&5
7665 echo "${ECHO_T}$result" >&6; }
7669 defaultval
=$wxUSE_ALL_FEATURES
7670 if test -z "$defaultval"; then
7671 if test x
"$enablestring" = xdisable
; then
7678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7680 # Check whether --enable-zipstream was given.
7681 if test "${enable_zipstream+set}" = set; then
7682 enableval
=$enable_zipstream;
7683 if test "$enableval" = yes; then
7684 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7686 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7691 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7696 eval "$wx_cv_use_zipstream"
7698 if test x"$enablestring" = xdisable; then
7699 if test $wxUSE_ZIPSTREAM = yes; then
7705 result=$wxUSE_ZIPSTREAM
7708 { echo "$as_me:$LINENO: result: $result" >&5
7709 echo "${ECHO_T}$result" >&6; }
7714 defaultval=$wxUSE_ALL_FEATURES
7715 if test -z "$defaultval"; then
7716 if test x"$enablestring" = xdisable; then
7723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7725 # Check whether --enable-url was given.
7726 if test "${enable_url+set}" = set; then
7727 enableval=$enable_url;
7728 if test "$enableval" = yes; then
7729 wx_cv_use_url='wxUSE_URL
=yes'
7731 wx_cv_use_url='wxUSE_URL
=no
'
7736 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
7741 eval "$wx_cv_use_url"
7743 if test x"$enablestring" = xdisable; then
7744 if test $wxUSE_URL = yes; then
7753 { echo "$as_me:$LINENO: result
: $result" >&5
7754 echo "${ECHO_T}$result" >&6; }
7758 defaultval=$wxUSE_ALL_FEATURES
7759 if test -z "$defaultval"; then
7760 if test x"$enablestring" = xdisable; then
7767 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7768 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7769 # Check whether --enable-variant was given.
7770 if test "${enable_variant+set}" = set; then
7771 enableval=$enable_variant;
7772 if test "$enableval" = yes; then
7773 wx_cv_use_variant='wxUSE_VARIANT=yes'
7775 wx_cv_use_variant='wxUSE_VARIANT=no'
7780 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7785 eval "$wx_cv_use_variant"
7787 if test x
"$enablestring" = xdisable
; then
7788 if test $wxUSE_VARIANT = yes; then
7794 result
=$wxUSE_VARIANT
7797 { echo "$as_me:$LINENO: result: $result" >&5
7798 echo "${ECHO_T}$result" >&6; }
7802 defaultval
=$wxUSE_ALL_FEATURES
7803 if test -z "$defaultval"; then
7804 if test x
"$enablestring" = xdisable
; then
7811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7813 # Check whether --enable-protocol was given.
7814 if test "${enable_protocol+set}" = set; then
7815 enableval
=$enable_protocol;
7816 if test "$enableval" = yes; then
7817 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7819 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7824 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7829 eval "$wx_cv_use_protocol"
7831 if test x"$enablestring" = xdisable; then
7832 if test $wxUSE_PROTOCOL = yes; then
7838 result=$wxUSE_PROTOCOL
7841 { echo "$as_me:$LINENO: result: $result" >&5
7842 echo "${ECHO_T}$result" >&6; }
7846 defaultval=$wxUSE_ALL_FEATURES
7847 if test -z "$defaultval"; then
7848 if test x"$enablestring" = xdisable; then
7855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7856 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7857 # Check whether --enable-protocol_http was given.
7858 if test "${enable_protocol_http+set}" = set; then
7859 enableval=$enable_protocol_http;
7860 if test "$enableval" = yes; then
7861 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7863 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7868 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7873 eval "$wx_cv_use_protocol_http"
7875 if test x"$enablestring" = xdisable; then
7876 if test $wxUSE_PROTOCOL_HTTP = yes; then
7882 result=$wxUSE_PROTOCOL_HTTP
7885 { echo "$as_me:$LINENO: result
: $result" >&5
7886 echo "${ECHO_T}$result" >&6; }
7890 defaultval=$wxUSE_ALL_FEATURES
7891 if test -z "$defaultval"; then
7892 if test x"$enablestring" = xdisable; then
7899 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
7900 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
7901 # Check whether --enable-protocol_ftp was given.
7902 if test "${enable_protocol_ftp+set}" = set; then
7903 enableval=$enable_protocol_ftp;
7904 if test "$enableval" = yes; then
7905 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7907 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7912 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7917 eval "$wx_cv_use_protocol_ftp"
7919 if test x
"$enablestring" = xdisable
; then
7920 if test $wxUSE_PROTOCOL_FTP = yes; then
7926 result
=$wxUSE_PROTOCOL_FTP
7929 { echo "$as_me:$LINENO: result: $result" >&5
7930 echo "${ECHO_T}$result" >&6; }
7934 defaultval
=$wxUSE_ALL_FEATURES
7935 if test -z "$defaultval"; then
7936 if test x
"$enablestring" = xdisable
; then
7943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7944 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7945 # Check whether --enable-protocol_file was given.
7946 if test "${enable_protocol_file+set}" = set; then
7947 enableval
=$enable_protocol_file;
7948 if test "$enableval" = yes; then
7949 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
7951 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
7956 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7961 eval "$wx_cv_use_protocol_file"
7963 if test x"$enablestring" = xdisable; then
7964 if test $wxUSE_PROTOCOL_FILE = yes; then
7970 result=$wxUSE_PROTOCOL_FILE
7973 { echo "$as_me:$LINENO: result: $result" >&5
7974 echo "${ECHO_T}$result" >&6; }
7979 defaultval=$wxUSE_ALL_FEATURES
7980 if test -z "$defaultval"; then
7981 if test x"$enablestring" = xdisable; then
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7990 # Check whether --enable-threads was given.
7991 if test "${enable_threads+set}" = set; then
7992 enableval=$enable_threads;
7993 if test "$enableval" = yes; then
7994 wx_cv_use_threads='wxUSE_THREADS
=yes'
7996 wx_cv_use_threads='wxUSE_THREADS
=no
'
8001 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8006 eval "$wx_cv_use_threads"
8008 if test x"$enablestring" = xdisable; then
8009 if test $wxUSE_THREADS = yes; then
8015 result=$wxUSE_THREADS
8018 { echo "$as_me:$LINENO: result
: $result" >&5
8019 echo "${ECHO_T}$result" >&6; }
8025 if test -z "$defaultval"; then
8026 if test x"$enablestring" = xdisable; then
8033 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8034 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8035 # Check whether --enable-iniconf was given.
8036 if test "${enable_iniconf+set}" = set; then
8037 enableval=$enable_iniconf;
8038 if test "$enableval" = yes; then
8039 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8041 wx_cv_use_iniconf='wxUSE_INICONF=no'
8046 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8051 eval "$wx_cv_use_iniconf"
8053 if test x
"$enablestring" = xdisable
; then
8054 if test $wxUSE_INICONF = yes; then
8060 result
=$wxUSE_INICONF
8063 { echo "$as_me:$LINENO: result: $result" >&5
8064 echo "${ECHO_T}$result" >&6; }
8068 defaultval
=$wxUSE_ALL_FEATURES
8069 if test -z "$defaultval"; then
8070 if test x
"$enablestring" = xdisable
; then
8077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8079 # Check whether --enable-regkey was given.
8080 if test "${enable_regkey+set}" = set; then
8081 enableval
=$enable_regkey;
8082 if test "$enableval" = yes; then
8083 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8085 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8090 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8095 eval "$wx_cv_use_regkey"
8097 if test x"$enablestring" = xdisable; then
8098 if test $wxUSE_REGKEY = yes; then
8104 result=$wxUSE_REGKEY
8107 { echo "$as_me:$LINENO: result: $result" >&5
8108 echo "${ECHO_T}$result" >&6; }
8111 if test "$wxUSE_GUI" = "yes"; then
8116 defaultval=$wxUSE_ALL_FEATURES
8117 if test -z "$defaultval"; then
8118 if test x"$enablestring" = xdisable; then
8125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8126 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8127 # Check whether --enable-docview was given.
8128 if test "${enable_docview+set}" = set; then
8129 enableval=$enable_docview;
8130 if test "$enableval" = yes; then
8131 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8133 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8138 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8143 eval "$wx_cv_use_docview"
8145 if test x"$enablestring" = xdisable; then
8146 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8152 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8155 { echo "$as_me:$LINENO: result
: $result" >&5
8156 echo "${ECHO_T}$result" >&6; }
8160 defaultval=$wxUSE_ALL_FEATURES
8161 if test -z "$defaultval"; then
8162 if test x"$enablestring" = xdisable; then
8169 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8170 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8171 # Check whether --enable-help was given.
8172 if test "${enable_help+set}" = set; then
8173 enableval=$enable_help;
8174 if test "$enableval" = yes; then
8175 wx_cv_use_help='wxUSE_HELP=yes'
8177 wx_cv_use_help='wxUSE_HELP=no'
8182 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8187 eval "$wx_cv_use_help"
8189 if test x
"$enablestring" = xdisable
; then
8190 if test $wxUSE_HELP = yes; then
8199 { echo "$as_me:$LINENO: result: $result" >&5
8200 echo "${ECHO_T}$result" >&6; }
8204 defaultval
=$wxUSE_ALL_FEATURES
8205 if test -z "$defaultval"; then
8206 if test x
"$enablestring" = xdisable
; then
8213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8214 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8215 # Check whether --enable-mshtmlhelp was given.
8216 if test "${enable_mshtmlhelp+set}" = set; then
8217 enableval
=$enable_mshtmlhelp;
8218 if test "$enableval" = yes; then
8219 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8221 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8226 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8231 eval "$wx_cv_use_mshtmlhelp"
8233 if test x"$enablestring" = xdisable; then
8234 if test $wxUSE_MS_HTML_HELP = yes; then
8240 result=$wxUSE_MS_HTML_HELP
8243 { echo "$as_me:$LINENO: result: $result" >&5
8244 echo "${ECHO_T}$result" >&6; }
8248 defaultval=$wxUSE_ALL_FEATURES
8249 if test -z "$defaultval"; then
8250 if test x"$enablestring" = xdisable; then
8257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8259 # Check whether --enable-html was given.
8260 if test "${enable_html+set}" = set; then
8261 enableval=$enable_html;
8262 if test "$enableval" = yes; then
8263 wx_cv_use_html='wxUSE_HTML
=yes'
8265 wx_cv_use_html='wxUSE_HTML
=no
'
8270 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8275 eval "$wx_cv_use_html"
8277 if test x"$enablestring" = xdisable; then
8278 if test $wxUSE_HTML = yes; then
8287 { echo "$as_me:$LINENO: result
: $result" >&5
8288 echo "${ECHO_T}$result" >&6; }
8292 defaultval=$wxUSE_ALL_FEATURES
8293 if test -z "$defaultval"; then
8294 if test x"$enablestring" = xdisable; then
8301 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8302 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8303 # Check whether --enable-htmlhelp was given.
8304 if test "${enable_htmlhelp+set}" = set; then
8305 enableval=$enable_htmlhelp;
8306 if test "$enableval" = yes; then
8307 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8309 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8314 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8319 eval "$wx_cv_use_htmlhelp"
8321 if test x
"$enablestring" = xdisable
; then
8322 if test $wxUSE_WXHTML_HELP = yes; then
8328 result
=$wxUSE_WXHTML_HELP
8331 { echo "$as_me:$LINENO: result: $result" >&5
8332 echo "${ECHO_T}$result" >&6; }
8336 defaultval
=$wxUSE_ALL_FEATURES
8337 if test -z "$defaultval"; then
8338 if test x
"$enablestring" = xdisable
; then
8345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8347 # Check whether --enable-xrc was given.
8348 if test "${enable_xrc+set}" = set; then
8349 enableval
=$enable_xrc;
8350 if test "$enableval" = yes; then
8351 wx_cv_use_xrc
='wxUSE_XRC=yes'
8353 wx_cv_use_xrc
='wxUSE_XRC=no'
8358 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8363 eval "$wx_cv_use_xrc"
8365 if test x"$enablestring" = xdisable; then
8366 if test $wxUSE_XRC = yes; then
8375 { echo "$as_me:$LINENO: result: $result" >&5
8376 echo "${ECHO_T}$result" >&6; }
8380 defaultval=$wxUSE_ALL_FEATURES
8381 if test -z "$defaultval"; then
8382 if test x"$enablestring" = xdisable; then
8389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8391 # Check whether --enable-aui was given.
8392 if test "${enable_aui+set}" = set; then
8393 enableval=$enable_aui;
8394 if test "$enableval" = yes; then
8395 wx_cv_use_aui='wxUSE_AUI
=yes'
8397 wx_cv_use_aui='wxUSE_AUI
=no
'
8402 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8407 eval "$wx_cv_use_aui"
8409 if test x"$enablestring" = xdisable; then
8410 if test $wxUSE_AUI = yes; then
8419 { echo "$as_me:$LINENO: result
: $result" >&5
8420 echo "${ECHO_T}$result" >&6; }
8424 defaultval=$wxUSE_ALL_FEATURES
8425 if test -z "$defaultval"; then
8426 if test x"$enablestring" = xdisable; then
8433 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8434 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8435 # Check whether --enable-stc was given.
8436 if test "${enable_stc+set}" = set; then
8437 enableval=$enable_stc;
8438 if test "$enableval" = yes; then
8439 wx_cv_use_stc='wxUSE_STC=yes'
8441 wx_cv_use_stc='wxUSE_STC=no'
8446 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8451 eval "$wx_cv_use_stc"
8453 if test x
"$enablestring" = xdisable
; then
8454 if test $wxUSE_STC = yes; then
8463 { echo "$as_me:$LINENO: result: $result" >&5
8464 echo "${ECHO_T}$result" >&6; }
8468 defaultval
=$wxUSE_ALL_FEATURES
8469 if test -z "$defaultval"; then
8470 if test x
"$enablestring" = xdisable
; then
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8479 # Check whether --enable-constraints was given.
8480 if test "${enable_constraints+set}" = set; then
8481 enableval
=$enable_constraints;
8482 if test "$enableval" = yes; then
8483 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8485 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8490 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8495 eval "$wx_cv_use_constraints"
8497 if test x"$enablestring" = xdisable; then
8498 if test $wxUSE_CONSTRAINTS = yes; then
8504 result=$wxUSE_CONSTRAINTS
8507 { echo "$as_me:$LINENO: result: $result" >&5
8508 echo "${ECHO_T}$result" >&6; }
8512 defaultval=$wxUSE_ALL_FEATURES
8513 if test -z "$defaultval"; then
8514 if test x"$enablestring" = xdisable; then
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8523 # Check whether --enable-printarch was given.
8524 if test "${enable_printarch+set}" = set; then
8525 enableval=$enable_printarch;
8526 if test "$enableval" = yes; then
8527 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
8529 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
8534 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8539 eval "$wx_cv_use_printarch"
8541 if test x"$enablestring" = xdisable; then
8542 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8548 result=$wxUSE_PRINTING_ARCHITECTURE
8551 { echo "$as_me:$LINENO: result
: $result" >&5
8552 echo "${ECHO_T}$result" >&6; }
8556 defaultval=$wxUSE_ALL_FEATURES
8557 if test -z "$defaultval"; then
8558 if test x"$enablestring" = xdisable; then
8565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8566 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8567 # Check whether --enable-mdi was given.
8568 if test "${enable_mdi+set}" = set; then
8569 enableval=$enable_mdi;
8570 if test "$enableval" = yes; then
8571 wx_cv_use_mdi='wxUSE_MDI=yes'
8573 wx_cv_use_mdi='wxUSE_MDI=no'
8578 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8583 eval "$wx_cv_use_mdi"
8585 if test x
"$enablestring" = xdisable
; then
8586 if test $wxUSE_MDI = yes; then
8595 { echo "$as_me:$LINENO: result: $result" >&5
8596 echo "${ECHO_T}$result" >&6; }
8600 defaultval
=$wxUSE_ALL_FEATURES
8601 if test -z "$defaultval"; then
8602 if test x
"$enablestring" = xdisable
; then
8609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8611 # Check whether --enable-mdidoc was given.
8612 if test "${enable_mdidoc+set}" = set; then
8613 enableval
=$enable_mdidoc;
8614 if test "$enableval" = yes; then
8615 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8617 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8622 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8627 eval "$wx_cv_use_mdidoc"
8629 if test x"$enablestring" = xdisable; then
8630 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8636 result=$wxUSE_MDI_ARCHITECTURE
8639 { echo "$as_me:$LINENO: result: $result" >&5
8640 echo "${ECHO_T}$result" >&6; }
8644 defaultval=$wxUSE_ALL_FEATURES
8645 if test -z "$defaultval"; then
8646 if test x"$enablestring" = xdisable; then
8653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8655 # Check whether --enable-loggui was given.
8656 if test "${enable_loggui+set}" = set; then
8657 enableval=$enable_loggui;
8658 if test "$enableval" = yes; then
8659 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8661 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8666 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8671 eval "$wx_cv_use_loggui"
8673 if test x"$enablestring" = xdisable; then
8674 if test $wxUSE_LOGGUI = yes; then
8680 result=$wxUSE_LOGGUI
8683 { echo "$as_me:$LINENO: result
: $result" >&5
8684 echo "${ECHO_T}$result" >&6; }
8688 defaultval=$wxUSE_ALL_FEATURES
8689 if test -z "$defaultval"; then
8690 if test x"$enablestring" = xdisable; then
8697 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8698 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8699 # Check whether --enable-logwin was given.
8700 if test "${enable_logwin+set}" = set; then
8701 enableval=$enable_logwin;
8702 if test "$enableval" = yes; then
8703 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8705 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8710 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8715 eval "$wx_cv_use_logwin"
8717 if test x
"$enablestring" = xdisable
; then
8718 if test $wxUSE_LOGWINDOW = yes; then
8724 result
=$wxUSE_LOGWINDOW
8727 { echo "$as_me:$LINENO: result: $result" >&5
8728 echo "${ECHO_T}$result" >&6; }
8732 defaultval
=$wxUSE_ALL_FEATURES
8733 if test -z "$defaultval"; then
8734 if test x
"$enablestring" = xdisable
; then
8741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8742 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8743 # Check whether --enable-logdialog was given.
8744 if test "${enable_logdialog+set}" = set; then
8745 enableval
=$enable_logdialog;
8746 if test "$enableval" = yes; then
8747 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8749 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8754 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8759 eval "$wx_cv_use_logdialog"
8761 if test x"$enablestring" = xdisable; then
8762 if test $wxUSE_LOGDIALOG = yes; then
8768 result=$wxUSE_LOGDIALOG
8771 { echo "$as_me:$LINENO: result: $result" >&5
8772 echo "${ECHO_T}$result" >&6; }
8776 defaultval=$wxUSE_ALL_FEATURES
8777 if test -z "$defaultval"; then
8778 if test x"$enablestring" = xdisable; then
8785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8787 # Check whether --enable-webkit was given.
8788 if test "${enable_webkit+set}" = set; then
8789 enableval=$enable_webkit;
8790 if test "$enableval" = yes; then
8791 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
8793 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
8798 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8803 eval "$wx_cv_use_webkit"
8805 if test x"$enablestring" = xdisable; then
8806 if test $wxUSE_WEBKIT = yes; then
8812 result=$wxUSE_WEBKIT
8815 { echo "$as_me:$LINENO: result
: $result" >&5
8816 echo "${ECHO_T}$result" >&6; }
8820 defaultval=$wxUSE_ALL_FEATURES
8821 if test -z "$defaultval"; then
8822 if test x"$enablestring" = xdisable; then
8829 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
8830 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
8831 # Check whether --enable-richtext was given.
8832 if test "${enable_richtext+set}" = set; then
8833 enableval=$enable_richtext;
8834 if test "$enableval" = yes; then
8835 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8837 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8842 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8847 eval "$wx_cv_use_richtext"
8849 if test x
"$enablestring" = xdisable
; then
8850 if test $wxUSE_RICHTEXT = yes; then
8856 result
=$wxUSE_RICHTEXT
8859 { echo "$as_me:$LINENO: result: $result" >&5
8860 echo "${ECHO_T}$result" >&6; }
8864 defaultval
=$wxUSE_ALL_FEATURES
8865 if test -z "$defaultval"; then
8866 if test x
"$enablestring" = xdisable
; then
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8875 # Check whether --enable-graphics_ctx was given.
8876 if test "${enable_graphics_ctx+set}" = set; then
8877 enableval
=$enable_graphics_ctx;
8878 if test "$enableval" = yes; then
8879 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
8881 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
8886 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8891 eval "$wx_cv_use_graphics_ctx"
8893 if test x"$enablestring" = xdisable; then
8894 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8900 result=$wxUSE_GRAPHICS_CONTEXT
8903 { echo "$as_me:$LINENO: result: $result" >&5
8904 echo "${ECHO_T}$result" >&6; }
8908 defaultval=$wxUSE_ALL_FEATURES
8909 if test -z "$defaultval"; then
8910 if test x"$enablestring" = xdisable; then
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8919 # Check whether --enable-postscript was given.
8920 if test "${enable_postscript+set}" = set; then
8921 enableval=$enable_postscript;
8922 if test "$enableval" = yes; then
8923 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
8925 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
8930 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8935 eval "$wx_cv_use_postscript"
8937 if test x"$enablestring" = xdisable; then
8938 if test $wxUSE_POSTSCRIPT = yes; then
8944 result=$wxUSE_POSTSCRIPT
8947 { echo "$as_me:$LINENO: result
: $result" >&5
8948 echo "${ECHO_T}$result" >&6; }
8952 defaultval=$wxUSE_ALL_FEATURES
8953 if test -z "$defaultval"; then
8954 if test x"$enablestring" = xdisable; then
8961 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
8962 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
8963 # Check whether --enable-svg was given.
8964 if test "${enable_svg+set}" = set; then
8965 enableval=$enable_svg;
8966 if test "$enableval" = yes; then
8967 wx_cv_use_svg='wxUSE_SVG=yes'
8969 wx_cv_use_svg='wxUSE_SVG=no'
8974 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8979 eval "$wx_cv_use_svg"
8981 if test x
"$enablestring" = xdisable
; then
8982 if test $wxUSE_SVG = yes; then
8991 { echo "$as_me:$LINENO: result: $result" >&5
8992 echo "${ECHO_T}$result" >&6; }
8998 defaultval
=$wxUSE_ALL_FEATURES
8999 if test -z "$defaultval"; then
9000 if test x
"$enablestring" = xdisable
; then
9007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9008 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9009 # Check whether --enable-clipboard was given.
9010 if test "${enable_clipboard+set}" = set; then
9011 enableval
=$enable_clipboard;
9012 if test "$enableval" = yes; then
9013 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9015 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9020 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9025 eval "$wx_cv_use_clipboard"
9027 if test x"$enablestring" = xdisable; then
9028 if test $wxUSE_CLIPBOARD = yes; then
9034 result=$wxUSE_CLIPBOARD
9037 { echo "$as_me:$LINENO: result: $result" >&5
9038 echo "${ECHO_T}$result" >&6; }
9042 defaultval=$wxUSE_ALL_FEATURES
9043 if test -z "$defaultval"; then
9044 if test x"$enablestring" = xdisable; then
9051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9052 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9053 # Check whether --enable-dnd was given.
9054 if test "${enable_dnd+set}" = set; then
9055 enableval=$enable_dnd;
9056 if test "$enableval" = yes; then
9057 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9059 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9064 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9069 eval "$wx_cv_use_dnd"
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_DRAG_AND_DROP = yes; then
9078 result=$wxUSE_DRAG_AND_DROP
9081 { echo "$as_me:$LINENO: result
: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9086 defaultval=$wxUSE_ALL_FEATURES
9087 if test -z "$defaultval"; then
9088 if test x"$enablestring" = xdisable; then
9095 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9096 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9097 # Check whether --enable-metafile was given.
9098 if test "${enable_metafile+set}" = set; then
9099 enableval=$enable_metafile;
9100 if test "$enableval" = yes; then
9101 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9103 wx_cv_use_metafile='wxUSE_METAFILE=no'
9108 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9113 eval "$wx_cv_use_metafile"
9115 if test x
"$enablestring" = xdisable
; then
9116 if test $wxUSE_METAFILE = yes; then
9122 result
=$wxUSE_METAFILE
9125 { echo "$as_me:$LINENO: result: $result" >&5
9126 echo "${ECHO_T}$result" >&6; }
9130 DEFAULT_wxUSE_CONTROLS
=none
9132 enablestring
=disable
9134 if test -z "$defaultval"; then
9135 if test x
"$enablestring" = xdisable
; then
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9144 # Check whether --enable-controls was given.
9145 if test "${enable_controls+set}" = set; then
9146 enableval
=$enable_controls;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9150 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9155 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9160 eval "$wx_cv_use_controls"
9162 if test x"$enablestring" = xdisable; then
9163 if test $wxUSE_CONTROLS = yes; then
9169 result=$wxUSE_CONTROLS
9172 { echo "$as_me:$LINENO: result: $result" >&5
9173 echo "${ECHO_T}$result" >&6; }
9176 if test "$wxUSE_CONTROLS" = "yes"; then
9177 DEFAULT_wxUSE_ACCEL=yes
9178 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9179 DEFAULT_wxUSE_BMPBUTTON=yes
9180 DEFAULT_wxUSE_BUTTON=yes
9181 DEFAULT_wxUSE_CALCTRL=yes
9182 DEFAULT_wxUSE_CARET=yes
9183 DEFAULT_wxUSE_COMBOBOX=yes
9184 DEFAULT_wxUSE_CHECKBOX=yes
9185 DEFAULT_wxUSE_CHECKLISTBOX=yes
9186 DEFAULT_wxUSE_CHOICE=yes
9187 DEFAULT_wxUSE_CHOICEBOOK=yes
9188 DEFAULT_wxUSE_COLLPANE=yes
9189 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9190 DEFAULT_wxUSE_COMBOBOX=yes
9191 DEFAULT_wxUSE_DATEPICKCTRL=yes
9192 DEFAULT_wxUSE_DISPLAY=yes
9193 DEFAULT_wxUSE_DETECT_SM=yes
9194 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9195 DEFAULT_wxUSE_FILECTRL=yes
9196 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9197 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9198 DEFAULT_wxUSE_GAUGE=yes
9199 DEFAULT_wxUSE_GRID=yes
9200 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9201 DEFAULT_wxUSE_DATAVIEWCTRL=no
9202 DEFAULT_wxUSE_IMAGLIST=yes
9203 DEFAULT_wxUSE_LISTBOOK=yes
9204 DEFAULT_wxUSE_LISTBOX=yes
9205 DEFAULT_wxUSE_LISTCTRL=yes
9206 DEFAULT_wxUSE_NOTEBOOK=yes
9207 DEFAULT_wxUSE_RADIOBOX=yes
9208 DEFAULT_wxUSE_RADIOBTN=yes
9209 DEFAULT_wxUSE_SASH=yes
9210 DEFAULT_wxUSE_SCROLLBAR=yes
9211 DEFAULT_wxUSE_SEARCHCTRL=yes
9212 DEFAULT_wxUSE_SLIDER=yes
9213 DEFAULT_wxUSE_SPINBTN=yes
9214 DEFAULT_wxUSE_SPINCTRL=yes
9215 DEFAULT_wxUSE_SPLITTER=yes
9216 DEFAULT_wxUSE_STATBMP=yes
9217 DEFAULT_wxUSE_STATBOX=yes
9218 DEFAULT_wxUSE_STATLINE=yes
9219 DEFAULT_wxUSE_STATUSBAR=yes
9220 DEFAULT_wxUSE_TAB_DIALOG=yes
9221 DEFAULT_wxUSE_TOGGLEBTN=yes
9222 DEFAULT_wxUSE_TOOLBAR=yes
9223 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9224 DEFAULT_wxUSE_TOOLTIPS=yes
9225 DEFAULT_wxUSE_TREEBOOK=yes
9226 DEFAULT_wxUSE_TOOLBOOK=yes
9227 DEFAULT_wxUSE_TREECTRL=yes
9228 DEFAULT_wxUSE_POPUPWIN=yes
9229 DEFAULT_wxUSE_TIPWINDOW=yes
9230 elif test "$wxUSE_CONTROLS" = "no"; then
9231 DEFAULT_wxUSE_ACCEL=no
9232 DEFAULT_wxUSE_ANIMATIONCTRL=no
9233 DEFAULT_wxUSE_BMPBUTTON=no
9234 DEFAULT_wxUSE_BUTTON=no
9235 DEFAULT_wxUSE_CALCTRL=no
9236 DEFAULT_wxUSE_CARET=no
9237 DEFAULT_wxUSE_COLLPANE=no
9238 DEFAULT_wxUSE_COMBOBOX=no
9239 DEFAULT_wxUSE_CHECKBOX=no
9240 DEFAULT_wxUSE_CHECKLISTBOX=no
9241 DEFAULT_wxUSE_CHOICE=no
9242 DEFAULT_wxUSE_CHOICEBOOK=no
9243 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9244 DEFAULT_wxUSE_COMBOBOX=no
9245 DEFAULT_wxUSE_DATEPICKCTRL=no
9246 DEFAULT_wxUSE_DISPLAY=no
9247 DEFAULT_wxUSE_DETECT_SM=no
9248 DEFAULT_wxUSE_DIRPICKERCTRL=no
9249 DEFAULT_wxUSE_FILECTRL=no
9250 DEFAULT_wxUSE_FILEPICKERCTRL=no
9251 DEFAULT_wxUSE_FONTPICKERCTRL=no
9252 DEFAULT_wxUSE_GAUGE=no
9253 DEFAULT_wxUSE_GRID=no
9254 DEFAULT_wxUSE_HYPERLINKCTRL=no
9255 DEFAULT_wxUSE_DATAVIEWCTRL=no
9256 DEFAULT_wxUSE_IMAGLIST=no
9257 DEFAULT_wxUSE_LISTBOOK=no
9258 DEFAULT_wxUSE_LISTBOX=no
9259 DEFAULT_wxUSE_LISTCTRL=no
9260 DEFAULT_wxUSE_NOTEBOOK=no
9261 DEFAULT_wxUSE_RADIOBOX=no
9262 DEFAULT_wxUSE_RADIOBTN=no
9263 DEFAULT_wxUSE_SASH=no
9264 DEFAULT_wxUSE_SCROLLBAR=no
9265 DEFAULT_wxUSE_SEARCHCTRL=no
9266 DEFAULT_wxUSE_SLIDER=no
9267 DEFAULT_wxUSE_SPINBTN=no
9268 DEFAULT_wxUSE_SPINCTRL=no
9269 DEFAULT_wxUSE_SPLITTER=no
9270 DEFAULT_wxUSE_STATBMP=no
9271 DEFAULT_wxUSE_STATBOX=no
9272 DEFAULT_wxUSE_STATLINE=no
9273 DEFAULT_wxUSE_STATUSBAR=no
9274 DEFAULT_wxUSE_TAB_DIALOG=no
9275 DEFAULT_wxUSE_TOGGLEBTN=no
9276 DEFAULT_wxUSE_TOOLBAR=no
9277 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9278 DEFAULT_wxUSE_TOOLTIPS=no
9279 DEFAULT_wxUSE_TREEBOOK=no
9280 DEFAULT_wxUSE_TOOLBOOK=no
9281 DEFAULT_wxUSE_TREECTRL=no
9282 DEFAULT_wxUSE_POPUPWIN=no
9283 DEFAULT_wxUSE_TIPWINDOW=no
9288 defaultval=$wxUSE_ALL_FEATURES
9289 if test -z "$defaultval"; then
9290 if test x"$enablestring" = xdisable; then
9297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9299 # Check whether --enable-accel was given.
9300 if test "${enable_accel+set}" = set; then
9301 enableval=$enable_accel;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9305 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9310 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9315 eval "$wx_cv_use_accel"
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_ACCEL = yes; then
9327 { echo "$as_me:$LINENO: result
: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9332 defaultval=$wxUSE_ALL_FEATURES
9333 if test -z "$defaultval"; then
9334 if test x"$enablestring" = xdisable; then
9341 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9342 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9343 # Check whether --enable-animatectrl was given.
9344 if test "${enable_animatectrl+set}" = set; then
9345 enableval=$enable_animatectrl;
9346 if test "$enableval" = yes; then
9347 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9349 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9354 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9359 eval "$wx_cv_use_animatectrl"
9361 if test x
"$enablestring" = xdisable
; then
9362 if test $wxUSE_ANIMATIONCTRL = yes; then
9368 result
=$wxUSE_ANIMATIONCTRL
9371 { echo "$as_me:$LINENO: result: $result" >&5
9372 echo "${ECHO_T}$result" >&6; }
9376 defaultval
=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x
"$enablestring" = xdisable
; then
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9387 # Check whether --enable-button was given.
9388 if test "${enable_button+set}" = set; then
9389 enableval
=$enable_button;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_button
='wxUSE_BUTTON=yes'
9393 wx_cv_use_button
='wxUSE_BUTTON=no'
9398 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9403 eval "$wx_cv_use_button"
9405 if test x"$enablestring" = xdisable; then
9406 if test $wxUSE_BUTTON = yes; then
9412 result=$wxUSE_BUTTON
9415 { echo "$as_me:$LINENO: result: $result" >&5
9416 echo "${ECHO_T}$result" >&6; }
9420 defaultval=$wxUSE_ALL_FEATURES
9421 if test -z "$defaultval"; then
9422 if test x"$enablestring" = xdisable; then
9429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9431 # Check whether --enable-bmpbutton was given.
9432 if test "${enable_bmpbutton+set}" = set; then
9433 enableval=$enable_bmpbutton;
9434 if test "$enableval" = yes; then
9435 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9437 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9442 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9447 eval "$wx_cv_use_bmpbutton"
9449 if test x"$enablestring" = xdisable; then
9450 if test $wxUSE_BMPBUTTON = yes; then
9456 result=$wxUSE_BMPBUTTON
9459 { echo "$as_me:$LINENO: result
: $result" >&5
9460 echo "${ECHO_T}$result" >&6; }
9464 defaultval=$wxUSE_ALL_FEATURES
9465 if test -z "$defaultval"; then
9466 if test x"$enablestring" = xdisable; then
9473 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9474 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9475 # Check whether --enable-bmpcombobox was given.
9476 if test "${enable_bmpcombobox+set}" = set; then
9477 enableval=$enable_bmpcombobox;
9478 if test "$enableval" = yes; then
9479 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9481 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9486 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9491 eval "$wx_cv_use_bmpcombobox"
9493 if test x
"$enablestring" = xdisable
; then
9494 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9500 result
=$wxUSE_BITMAPCOMBOBOX
9503 { echo "$as_me:$LINENO: result: $result" >&5
9504 echo "${ECHO_T}$result" >&6; }
9508 defaultval
=$wxUSE_ALL_FEATURES
9509 if test -z "$defaultval"; then
9510 if test x
"$enablestring" = xdisable
; then
9517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9518 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9519 # Check whether --enable-calendar was given.
9520 if test "${enable_calendar+set}" = set; then
9521 enableval
=$enable_calendar;
9522 if test "$enableval" = yes; then
9523 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9525 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9530 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9535 eval "$wx_cv_use_calendar"
9537 if test x"$enablestring" = xdisable; then
9538 if test $wxUSE_CALCTRL = yes; then
9544 result=$wxUSE_CALCTRL
9547 { echo "$as_me:$LINENO: result: $result" >&5
9548 echo "${ECHO_T}$result" >&6; }
9552 defaultval=$wxUSE_ALL_FEATURES
9553 if test -z "$defaultval"; then
9554 if test x"$enablestring" = xdisable; then
9561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9563 # Check whether --enable-caret was given.
9564 if test "${enable_caret+set}" = set; then
9565 enableval=$enable_caret;
9566 if test "$enableval" = yes; then
9567 wx_cv_use_caret='wxUSE_CARET
=yes'
9569 wx_cv_use_caret='wxUSE_CARET
=no
'
9574 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9579 eval "$wx_cv_use_caret"
9581 if test x"$enablestring" = xdisable; then
9582 if test $wxUSE_CARET = yes; then
9591 { echo "$as_me:$LINENO: result
: $result" >&5
9592 echo "${ECHO_T}$result" >&6; }
9596 defaultval=$wxUSE_ALL_FEATURES
9597 if test -z "$defaultval"; then
9598 if test x"$enablestring" = xdisable; then
9605 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9606 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9607 # Check whether --enable-checkbox was given.
9608 if test "${enable_checkbox+set}" = set; then
9609 enableval=$enable_checkbox;
9610 if test "$enableval" = yes; then
9611 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9613 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9618 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9623 eval "$wx_cv_use_checkbox"
9625 if test x
"$enablestring" = xdisable
; then
9626 if test $wxUSE_CHECKBOX = yes; then
9632 result
=$wxUSE_CHECKBOX
9635 { echo "$as_me:$LINENO: result: $result" >&5
9636 echo "${ECHO_T}$result" >&6; }
9640 defaultval
=$wxUSE_ALL_FEATURES
9641 if test -z "$defaultval"; then
9642 if test x
"$enablestring" = xdisable
; then
9649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9650 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9651 # Check whether --enable-checklst was given.
9652 if test "${enable_checklst+set}" = set; then
9653 enableval
=$enable_checklst;
9654 if test "$enableval" = yes; then
9655 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9657 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9662 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9667 eval "$wx_cv_use_checklst"
9669 if test x"$enablestring" = xdisable; then
9670 if test $wxUSE_CHECKLST = yes; then
9676 result=$wxUSE_CHECKLST
9679 { echo "$as_me:$LINENO: result: $result" >&5
9680 echo "${ECHO_T}$result" >&6; }
9684 defaultval=$wxUSE_ALL_FEATURES
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9695 # Check whether --enable-choice was given.
9696 if test "${enable_choice+set}" = set; then
9697 enableval=$enable_choice;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9701 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9706 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9711 eval "$wx_cv_use_choice"
9713 if test x"$enablestring" = xdisable; then
9714 if test $wxUSE_CHOICE = yes; then
9720 result=$wxUSE_CHOICE
9723 { echo "$as_me:$LINENO: result
: $result" >&5
9724 echo "${ECHO_T}$result" >&6; }
9728 defaultval=$wxUSE_ALL_FEATURES
9729 if test -z "$defaultval"; then
9730 if test x"$enablestring" = xdisable; then
9737 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9738 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9739 # Check whether --enable-choicebook was given.
9740 if test "${enable_choicebook+set}" = set; then
9741 enableval=$enable_choicebook;
9742 if test "$enableval" = yes; then
9743 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9745 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9750 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9755 eval "$wx_cv_use_choicebook"
9757 if test x
"$enablestring" = xdisable
; then
9758 if test $wxUSE_CHOICEBOOK = yes; then
9764 result
=$wxUSE_CHOICEBOOK
9767 { echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6; }
9772 defaultval
=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x
"$enablestring" = xdisable
; then
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9783 # Check whether --enable-collpane was given.
9784 if test "${enable_collpane+set}" = set; then
9785 enableval
=$enable_collpane;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9789 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9794 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9799 eval "$wx_cv_use_collpane"
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_COLLPANE = yes; then
9808 result=$wxUSE_COLLPANE
9811 { echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9827 # Check whether --enable-colourpicker was given.
9828 if test "${enable_colourpicker+set}" = set; then
9829 enableval=$enable_colourpicker;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
9833 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
9838 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9843 eval "$wx_cv_use_colourpicker"
9845 if test x"$enablestring" = xdisable; then
9846 if test $wxUSE_COLOURPICKERCTRL = yes; then
9852 result=$wxUSE_COLOURPICKERCTRL
9855 { echo "$as_me:$LINENO: result
: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9860 defaultval=$wxUSE_ALL_FEATURES
9861 if test -z "$defaultval"; then
9862 if test x"$enablestring" = xdisable; then
9869 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
9870 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
9871 # Check whether --enable-combobox was given.
9872 if test "${enable_combobox+set}" = set; then
9873 enableval=$enable_combobox;
9874 if test "$enableval" = yes; then
9875 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9877 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9882 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9887 eval "$wx_cv_use_combobox"
9889 if test x
"$enablestring" = xdisable
; then
9890 if test $wxUSE_COMBOBOX = yes; then
9896 result
=$wxUSE_COMBOBOX
9899 { echo "$as_me:$LINENO: result: $result" >&5
9900 echo "${ECHO_T}$result" >&6; }
9904 defaultval
=$wxUSE_ALL_FEATURES
9905 if test -z "$defaultval"; then
9906 if test x
"$enablestring" = xdisable
; then
9913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9915 # Check whether --enable-comboctrl was given.
9916 if test "${enable_comboctrl+set}" = set; then
9917 enableval
=$enable_comboctrl;
9918 if test "$enableval" = yes; then
9919 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
9921 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
9926 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9931 eval "$wx_cv_use_comboctrl"
9933 if test x"$enablestring" = xdisable; then
9934 if test $wxUSE_COMBOCTRL = yes; then
9940 result=$wxUSE_COMBOCTRL
9943 { echo "$as_me:$LINENO: result: $result" >&5
9944 echo "${ECHO_T}$result" >&6; }
9948 defaultval=$wxUSE_ALL_FEATURES
9949 if test -z "$defaultval"; then
9950 if test x"$enablestring" = xdisable; then
9957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9959 # Check whether --enable-datepick was given.
9960 if test "${enable_datepick+set}" = set; then
9961 enableval=$enable_datepick;
9962 if test "$enableval" = yes; then
9963 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
9965 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
9970 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9975 eval "$wx_cv_use_datepick"
9977 if test x"$enablestring" = xdisable; then
9978 if test $wxUSE_DATEPICKCTRL = yes; then
9984 result=$wxUSE_DATEPICKCTRL
9987 { echo "$as_me:$LINENO: result
: $result" >&5
9988 echo "${ECHO_T}$result" >&6; }
9992 defaultval=$wxUSE_ALL_FEATURES
9993 if test -z "$defaultval"; then
9994 if test x"$enablestring" = xdisable; then
10001 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10002 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10003 # Check whether --enable-dirpicker was given.
10004 if test "${enable_dirpicker+set}" = set; then
10005 enableval=$enable_dirpicker;
10006 if test "$enableval" = yes; then
10007 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10009 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10014 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10019 eval "$wx_cv_use_dirpicker"
10021 if test x
"$enablestring" = xdisable
; then
10022 if test $wxUSE_DIRPICKERCTRL = yes; then
10028 result
=$wxUSE_DIRPICKERCTRL
10031 { echo "$as_me:$LINENO: result: $result" >&5
10032 echo "${ECHO_T}$result" >&6; }
10036 defaultval
=$wxUSE_ALL_FEATURES
10037 if test -z "$defaultval"; then
10038 if test x
"$enablestring" = xdisable
; then
10045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10047 # Check whether --enable-display was given.
10048 if test "${enable_display+set}" = set; then
10049 enableval
=$enable_display;
10050 if test "$enableval" = yes; then
10051 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10053 wx_cv_use_display
='wxUSE_DISPLAY=no'
10058 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10063 eval "$wx_cv_use_display"
10065 if test x"$enablestring" = xdisable; then
10066 if test $wxUSE_DISPLAY = yes; then
10072 result=$wxUSE_DISPLAY
10075 { echo "$as_me:$LINENO: result: $result" >&5
10076 echo "${ECHO_T}$result" >&6; }
10080 defaultval=$wxUSE_ALL_FEATURES
10081 if test -z "$defaultval"; then
10082 if test x"$enablestring" = xdisable; then
10089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10090 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10091 # Check whether --enable-detect_sm was given.
10092 if test "${enable_detect_sm+set}" = set; then
10093 enableval=$enable_detect_sm;
10094 if test "$enableval" = yes; then
10095 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10097 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10102 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10107 eval "$wx_cv_use_detect_sm"
10109 if test x"$enablestring" = xdisable; then
10110 if test $wxUSE_DETECT_SM = yes; then
10116 result=$wxUSE_DETECT_SM
10119 { echo "$as_me:$LINENO: result
: $result" >&5
10120 echo "${ECHO_T}$result" >&6; }
10124 defaultval=$wxUSE_ALL_FEATURES
10125 if test -z "$defaultval"; then
10126 if test x"$enablestring" = xdisable; then
10133 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10134 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10135 # Check whether --enable-editablebox was given.
10136 if test "${enable_editablebox+set}" = set; then
10137 enableval=$enable_editablebox;
10138 if test "$enableval" = yes; then
10139 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10141 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10146 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10151 eval "$wx_cv_use_editablebox"
10153 if test x
"$enablestring" = xdisable
; then
10154 if test $wxUSE_EDITABLELISTBOX = yes; then
10160 result
=$wxUSE_EDITABLELISTBOX
10163 { echo "$as_me:$LINENO: result: $result" >&5
10164 echo "${ECHO_T}$result" >&6; }
10168 defaultval
=$wxUSE_ALL_FEATURES
10169 if test -z "$defaultval"; then
10170 if test x
"$enablestring" = xdisable
; then
10177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10179 # Check whether --enable-filepicker was given.
10180 if test "${enable_filepicker+set}" = set; then
10181 enableval
=$enable_filepicker;
10182 if test "$enableval" = yes; then
10183 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10185 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10190 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10195 eval "$wx_cv_use_filepicker"
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_FILEPICKERCTRL = yes; then
10204 result=$wxUSE_FILEPICKERCTRL
10207 { echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6; }
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10223 # Check whether --enable-filectrl was given.
10224 if test "${enable_filectrl+set}" = set; then
10225 enableval=$enable_filectrl;
10226 if test "$enableval" = yes; then
10227 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10229 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10234 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10239 eval "$wx_cv_use_filectrl"
10241 if test x"$enablestring" = xdisable; then
10242 if test $wxUSE_FILECTRL = yes; then
10248 result=$wxUSE_FILECTRL
10251 { echo "$as_me:$LINENO: result
: $result" >&5
10252 echo "${ECHO_T}$result" >&6; }
10256 defaultval=$wxUSE_ALL_FEATURES
10257 if test -z "$defaultval"; then
10258 if test x"$enablestring" = xdisable; then
10265 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10266 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10267 # Check whether --enable-fontpicker was given.
10268 if test "${enable_fontpicker+set}" = set; then
10269 enableval=$enable_fontpicker;
10270 if test "$enableval" = yes; then
10271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10273 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10278 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10283 eval "$wx_cv_use_fontpicker"
10285 if test x
"$enablestring" = xdisable
; then
10286 if test $wxUSE_FONTPICKERCTRL = yes; then
10292 result
=$wxUSE_FONTPICKERCTRL
10295 { echo "$as_me:$LINENO: result: $result" >&5
10296 echo "${ECHO_T}$result" >&6; }
10300 defaultval
=$wxUSE_ALL_FEATURES
10301 if test -z "$defaultval"; then
10302 if test x
"$enablestring" = xdisable
; then
10309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10310 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10311 # Check whether --enable-gauge was given.
10312 if test "${enable_gauge+set}" = set; then
10313 enableval
=$enable_gauge;
10314 if test "$enableval" = yes; then
10315 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10317 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10322 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10327 eval "$wx_cv_use_gauge"
10329 if test x"$enablestring" = xdisable; then
10330 if test $wxUSE_GAUGE = yes; then
10336 result=$wxUSE_GAUGE
10339 { echo "$as_me:$LINENO: result: $result" >&5
10340 echo "${ECHO_T}$result" >&6; }
10344 defaultval=$wxUSE_ALL_FEATURES
10345 if test -z "$defaultval"; then
10346 if test x"$enablestring" = xdisable; then
10353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10354 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10355 # Check whether --enable-grid was given.
10356 if test "${enable_grid+set}" = set; then
10357 enableval=$enable_grid;
10358 if test "$enableval" = yes; then
10359 wx_cv_use_grid='wxUSE_GRID
=yes'
10361 wx_cv_use_grid='wxUSE_GRID
=no
'
10366 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10371 eval "$wx_cv_use_grid"
10373 if test x"$enablestring" = xdisable; then
10374 if test $wxUSE_GRID = yes; then
10383 { echo "$as_me:$LINENO: result
: $result" >&5
10384 echo "${ECHO_T}$result" >&6; }
10388 defaultval=$wxUSE_ALL_FEATURES
10389 if test -z "$defaultval"; then
10390 if test x"$enablestring" = xdisable; then
10397 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10398 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10399 # Check whether --enable-dataviewctrl was given.
10400 if test "${enable_dataviewctrl+set}" = set; then
10401 enableval=$enable_dataviewctrl;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10405 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10410 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10415 eval "$wx_cv_use_dataviewctrl"
10417 if test x
"$enablestring" = xdisable
; then
10418 if test $wxUSE_DATAVIEWCTRL = yes; then
10424 result
=$wxUSE_DATAVIEWCTRL
10427 { echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6; }
10432 defaultval
=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x
"$enablestring" = xdisable
; then
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10443 # Check whether --enable-hyperlink was given.
10444 if test "${enable_hyperlink+set}" = set; then
10445 enableval
=$enable_hyperlink;
10446 if test "$enableval" = yes; then
10447 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10449 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10454 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10459 eval "$wx_cv_use_hyperlink"
10461 if test x"$enablestring" = xdisable; then
10462 if test $wxUSE_HYPERLINKCTRL = yes; then
10468 result=$wxUSE_HYPERLINKCTRL
10471 { echo "$as_me:$LINENO: result: $result" >&5
10472 echo "${ECHO_T}$result" >&6; }
10476 defaultval=$wxUSE_ALL_FEATURES
10477 if test -z "$defaultval"; then
10478 if test x"$enablestring" = xdisable; then
10485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10487 # Check whether --enable-imaglist was given.
10488 if test "${enable_imaglist+set}" = set; then
10489 enableval=$enable_imaglist;
10490 if test "$enableval" = yes; then
10491 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10493 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10498 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10503 eval "$wx_cv_use_imaglist"
10505 if test x"$enablestring" = xdisable; then
10506 if test $wxUSE_IMAGLIST = yes; then
10512 result=$wxUSE_IMAGLIST
10515 { echo "$as_me:$LINENO: result
: $result" >&5
10516 echo "${ECHO_T}$result" >&6; }
10520 defaultval=$wxUSE_ALL_FEATURES
10521 if test -z "$defaultval"; then
10522 if test x"$enablestring" = xdisable; then
10529 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10530 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10531 # Check whether --enable-listbook was given.
10532 if test "${enable_listbook+set}" = set; then
10533 enableval=$enable_listbook;
10534 if test "$enableval" = yes; then
10535 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10537 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10542 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10547 eval "$wx_cv_use_listbook"
10549 if test x
"$enablestring" = xdisable
; then
10550 if test $wxUSE_LISTBOOK = yes; then
10556 result
=$wxUSE_LISTBOOK
10559 { echo "$as_me:$LINENO: result: $result" >&5
10560 echo "${ECHO_T}$result" >&6; }
10564 defaultval
=$wxUSE_ALL_FEATURES
10565 if test -z "$defaultval"; then
10566 if test x
"$enablestring" = xdisable
; then
10573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10574 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10575 # Check whether --enable-listbox was given.
10576 if test "${enable_listbox+set}" = set; then
10577 enableval
=$enable_listbox;
10578 if test "$enableval" = yes; then
10579 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10581 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10586 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10591 eval "$wx_cv_use_listbox"
10593 if test x"$enablestring" = xdisable; then
10594 if test $wxUSE_LISTBOX = yes; then
10600 result=$wxUSE_LISTBOX
10603 { echo "$as_me:$LINENO: result: $result" >&5
10604 echo "${ECHO_T}$result" >&6; }
10608 defaultval=$wxUSE_ALL_FEATURES
10609 if test -z "$defaultval"; then
10610 if test x"$enablestring" = xdisable; then
10617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10618 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10619 # Check whether --enable-listctrl was given.
10620 if test "${enable_listctrl+set}" = set; then
10621 enableval=$enable_listctrl;
10622 if test "$enableval" = yes; then
10623 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10625 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10630 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10635 eval "$wx_cv_use_listctrl"
10637 if test x"$enablestring" = xdisable; then
10638 if test $wxUSE_LISTCTRL = yes; then
10644 result=$wxUSE_LISTCTRL
10647 { echo "$as_me:$LINENO: result
: $result" >&5
10648 echo "${ECHO_T}$result" >&6; }
10652 defaultval=$wxUSE_ALL_FEATURES
10653 if test -z "$defaultval"; then
10654 if test x"$enablestring" = xdisable; then
10661 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10662 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10663 # Check whether --enable-notebook was given.
10664 if test "${enable_notebook+set}" = set; then
10665 enableval=$enable_notebook;
10666 if test "$enableval" = yes; then
10667 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10669 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10674 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10679 eval "$wx_cv_use_notebook"
10681 if test x
"$enablestring" = xdisable
; then
10682 if test $wxUSE_NOTEBOOK = yes; then
10688 result
=$wxUSE_NOTEBOOK
10691 { echo "$as_me:$LINENO: result: $result" >&5
10692 echo "${ECHO_T}$result" >&6; }
10696 defaultval
=$wxUSE_ALL_FEATURES
10697 if test -z "$defaultval"; then
10698 if test x
"$enablestring" = xdisable
; then
10705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10707 # Check whether --enable-odcombobox was given.
10708 if test "${enable_odcombobox+set}" = set; then
10709 enableval
=$enable_odcombobox;
10710 if test "$enableval" = yes; then
10711 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
10713 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
10718 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10723 eval "$wx_cv_use_odcombobox"
10725 if test x"$enablestring" = xdisable; then
10726 if test $wxUSE_ODCOMBOBOX = yes; then
10732 result=$wxUSE_ODCOMBOBOX
10735 { echo "$as_me:$LINENO: result: $result" >&5
10736 echo "${ECHO_T}$result" >&6; }
10740 defaultval=$wxUSE_ALL_FEATURES
10741 if test -z "$defaultval"; then
10742 if test x"$enablestring" = xdisable; then
10749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10750 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10751 # Check whether --enable-radiobox was given.
10752 if test "${enable_radiobox+set}" = set; then
10753 enableval=$enable_radiobox;
10754 if test "$enableval" = yes; then
10755 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
10757 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
10762 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10767 eval "$wx_cv_use_radiobox"
10769 if test x"$enablestring" = xdisable; then
10770 if test $wxUSE_RADIOBOX = yes; then
10776 result=$wxUSE_RADIOBOX
10779 { echo "$as_me:$LINENO: result
: $result" >&5
10780 echo "${ECHO_T}$result" >&6; }
10784 defaultval=$wxUSE_ALL_FEATURES
10785 if test -z "$defaultval"; then
10786 if test x"$enablestring" = xdisable; then
10793 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
10794 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
10795 # Check whether --enable-radiobtn was given.
10796 if test "${enable_radiobtn+set}" = set; then
10797 enableval=$enable_radiobtn;
10798 if test "$enableval" = yes; then
10799 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10801 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10806 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10811 eval "$wx_cv_use_radiobtn"
10813 if test x
"$enablestring" = xdisable
; then
10814 if test $wxUSE_RADIOBTN = yes; then
10820 result
=$wxUSE_RADIOBTN
10823 { echo "$as_me:$LINENO: result: $result" >&5
10824 echo "${ECHO_T}$result" >&6; }
10828 defaultval
=$wxUSE_ALL_FEATURES
10829 if test -z "$defaultval"; then
10830 if test x
"$enablestring" = xdisable
; then
10837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10838 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10839 # Check whether --enable-sash was given.
10840 if test "${enable_sash+set}" = set; then
10841 enableval
=$enable_sash;
10842 if test "$enableval" = yes; then
10843 wx_cv_use_sash
='wxUSE_SASH=yes'
10845 wx_cv_use_sash
='wxUSE_SASH=no'
10850 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10855 eval "$wx_cv_use_sash"
10857 if test x"$enablestring" = xdisable; then
10858 if test $wxUSE_SASH = yes; then
10867 { echo "$as_me:$LINENO: result: $result" >&5
10868 echo "${ECHO_T}$result" >&6; }
10872 defaultval=$wxUSE_ALL_FEATURES
10873 if test -z "$defaultval"; then
10874 if test x"$enablestring" = xdisable; then
10881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10882 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10883 # Check whether --enable-scrollbar was given.
10884 if test "${enable_scrollbar+set}" = set; then
10885 enableval=$enable_scrollbar;
10886 if test "$enableval" = yes; then
10887 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
10889 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
10894 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10899 eval "$wx_cv_use_scrollbar"
10901 if test x"$enablestring" = xdisable; then
10902 if test $wxUSE_SCROLLBAR = yes; then
10908 result=$wxUSE_SCROLLBAR
10911 { echo "$as_me:$LINENO: result
: $result" >&5
10912 echo "${ECHO_T}$result" >&6; }
10916 defaultval=$wxUSE_ALL_FEATURES
10917 if test -z "$defaultval"; then
10918 if test x"$enablestring" = xdisable; then
10925 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
10926 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
10927 # Check whether --enable-searchctrl was given.
10928 if test "${enable_searchctrl+set}" = set; then
10929 enableval=$enable_searchctrl;
10930 if test "$enableval" = yes; then
10931 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10933 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10938 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10943 eval "$wx_cv_use_searchctrl"
10945 if test x
"$enablestring" = xdisable
; then
10946 if test $wxUSE_SEARCHCTRL = yes; then
10952 result
=$wxUSE_SEARCHCTRL
10955 { echo "$as_me:$LINENO: result: $result" >&5
10956 echo "${ECHO_T}$result" >&6; }
10960 defaultval
=$wxUSE_ALL_FEATURES
10961 if test -z "$defaultval"; then
10962 if test x
"$enablestring" = xdisable
; then
10969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10970 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10971 # Check whether --enable-slider was given.
10972 if test "${enable_slider+set}" = set; then
10973 enableval
=$enable_slider;
10974 if test "$enableval" = yes; then
10975 wx_cv_use_slider
='wxUSE_SLIDER=yes'
10977 wx_cv_use_slider
='wxUSE_SLIDER=no'
10982 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
10987 eval "$wx_cv_use_slider"
10989 if test x"$enablestring" = xdisable; then
10990 if test $wxUSE_SLIDER = yes; then
10996 result=$wxUSE_SLIDER
10999 { echo "$as_me:$LINENO: result: $result" >&5
11000 echo "${ECHO_T}$result" >&6; }
11004 defaultval=$wxUSE_ALL_FEATURES
11005 if test -z "$defaultval"; then
11006 if test x"$enablestring" = xdisable; then
11013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11014 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11015 # Check whether --enable-spinbtn was given.
11016 if test "${enable_spinbtn+set}" = set; then
11017 enableval=$enable_spinbtn;
11018 if test "$enableval" = yes; then
11019 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11021 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11026 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11031 eval "$wx_cv_use_spinbtn"
11033 if test x"$enablestring" = xdisable; then
11034 if test $wxUSE_SPINBTN = yes; then
11040 result=$wxUSE_SPINBTN
11043 { echo "$as_me:$LINENO: result
: $result" >&5
11044 echo "${ECHO_T}$result" >&6; }
11048 defaultval=$wxUSE_ALL_FEATURES
11049 if test -z "$defaultval"; then
11050 if test x"$enablestring" = xdisable; then
11057 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11058 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11059 # Check whether --enable-spinctrl was given.
11060 if test "${enable_spinctrl+set}" = set; then
11061 enableval=$enable_spinctrl;
11062 if test "$enableval" = yes; then
11063 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11065 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11070 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11075 eval "$wx_cv_use_spinctrl"
11077 if test x
"$enablestring" = xdisable
; then
11078 if test $wxUSE_SPINCTRL = yes; then
11084 result
=$wxUSE_SPINCTRL
11087 { echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6; }
11092 defaultval
=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x
"$enablestring" = xdisable
; then
11101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11103 # Check whether --enable-splitter was given.
11104 if test "${enable_splitter+set}" = set; then
11105 enableval
=$enable_splitter;
11106 if test "$enableval" = yes; then
11107 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11109 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11114 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11119 eval "$wx_cv_use_splitter"
11121 if test x"$enablestring" = xdisable; then
11122 if test $wxUSE_SPLITTER = yes; then
11128 result=$wxUSE_SPLITTER
11131 { echo "$as_me:$LINENO: result: $result" >&5
11132 echo "${ECHO_T}$result" >&6; }
11136 defaultval=$wxUSE_ALL_FEATURES
11137 if test -z "$defaultval"; then
11138 if test x"$enablestring" = xdisable; then
11145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11146 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11147 # Check whether --enable-statbmp was given.
11148 if test "${enable_statbmp+set}" = set; then
11149 enableval=$enable_statbmp;
11150 if test "$enableval" = yes; then
11151 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11153 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11158 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11163 eval "$wx_cv_use_statbmp"
11165 if test x"$enablestring" = xdisable; then
11166 if test $wxUSE_STATBMP = yes; then
11172 result=$wxUSE_STATBMP
11175 { echo "$as_me:$LINENO: result
: $result" >&5
11176 echo "${ECHO_T}$result" >&6; }
11180 defaultval=$wxUSE_ALL_FEATURES
11181 if test -z "$defaultval"; then
11182 if test x"$enablestring" = xdisable; then
11189 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11190 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11191 # Check whether --enable-statbox was given.
11192 if test "${enable_statbox+set}" = set; then
11193 enableval=$enable_statbox;
11194 if test "$enableval" = yes; then
11195 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11197 wx_cv_use_statbox='wxUSE_STATBOX=no'
11202 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11207 eval "$wx_cv_use_statbox"
11209 if test x
"$enablestring" = xdisable
; then
11210 if test $wxUSE_STATBOX = yes; then
11216 result
=$wxUSE_STATBOX
11219 { echo "$as_me:$LINENO: result: $result" >&5
11220 echo "${ECHO_T}$result" >&6; }
11224 defaultval
=$wxUSE_ALL_FEATURES
11225 if test -z "$defaultval"; then
11226 if test x
"$enablestring" = xdisable
; then
11233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11234 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11235 # Check whether --enable-statline was given.
11236 if test "${enable_statline+set}" = set; then
11237 enableval
=$enable_statline;
11238 if test "$enableval" = yes; then
11239 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11241 wx_cv_use_statline
='wxUSE_STATLINE=no'
11246 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11251 eval "$wx_cv_use_statline"
11253 if test x"$enablestring" = xdisable; then
11254 if test $wxUSE_STATLINE = yes; then
11260 result=$wxUSE_STATLINE
11263 { echo "$as_me:$LINENO: result: $result" >&5
11264 echo "${ECHO_T}$result" >&6; }
11268 defaultval=$wxUSE_ALL_FEATURES
11269 if test -z "$defaultval"; then
11270 if test x"$enablestring" = xdisable; then
11277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11278 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11279 # Check whether --enable-stattext was given.
11280 if test "${enable_stattext+set}" = set; then
11281 enableval=$enable_stattext;
11282 if test "$enableval" = yes; then
11283 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
11285 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
11290 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11295 eval "$wx_cv_use_stattext"
11297 if test x"$enablestring" = xdisable; then
11298 if test $wxUSE_STATTEXT = yes; then
11304 result=$wxUSE_STATTEXT
11307 { echo "$as_me:$LINENO: result
: $result" >&5
11308 echo "${ECHO_T}$result" >&6; }
11312 defaultval=$wxUSE_ALL_FEATURES
11313 if test -z "$defaultval"; then
11314 if test x"$enablestring" = xdisable; then
11321 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
11322 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
11323 # Check whether --enable-statusbar was given.
11324 if test "${enable_statusbar+set}" = set; then
11325 enableval=$enable_statusbar;
11326 if test "$enableval" = yes; then
11327 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11329 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11334 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11339 eval "$wx_cv_use_statusbar"
11341 if test x
"$enablestring" = xdisable
; then
11342 if test $wxUSE_STATUSBAR = yes; then
11348 result
=$wxUSE_STATUSBAR
11351 { echo "$as_me:$LINENO: result: $result" >&5
11352 echo "${ECHO_T}$result" >&6; }
11356 defaultval
=$wxUSE_ALL_FEATURES
11357 if test -z "$defaultval"; then
11358 if test x
"$enablestring" = xdisable
; then
11365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11367 # Check whether --enable-tabdialog was given.
11368 if test "${enable_tabdialog+set}" = set; then
11369 enableval
=$enable_tabdialog;
11370 if test "$enableval" = yes; then
11371 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
11373 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
11378 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11383 eval "$wx_cv_use_tabdialog"
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_TAB_DIALOG = yes; then
11392 result=$wxUSE_TAB_DIALOG
11395 { echo "$as_me:$LINENO: result: $result" >&5
11396 echo "${ECHO_T}$result" >&6; }
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11411 # Check whether --enable-taskbaricon was given.
11412 if test "${enable_taskbaricon+set}" = set; then
11413 enableval=$enable_taskbaricon;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11417 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11422 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11427 eval "$wx_cv_use_taskbaricon"
11429 if test x"$enablestring" = xdisable; then
11430 if test $wxUSE_TASKBARICON = yes; then
11436 result=$wxUSE_TASKBARICON
11439 { echo "$as_me:$LINENO: result
: $result" >&5
11440 echo "${ECHO_T}$result" >&6; }
11444 defaultval=$wxUSE_ALL_FEATURES
11445 if test -z "$defaultval"; then
11446 if test x"$enablestring" = xdisable; then
11453 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
11454 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
11455 # Check whether --enable-textctrl was given.
11456 if test "${enable_textctrl+set}" = set; then
11457 enableval=$enable_textctrl;
11458 if test "$enableval" = yes; then
11459 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11461 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11466 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11471 eval "$wx_cv_use_textctrl"
11473 if test x
"$enablestring" = xdisable
; then
11474 if test $wxUSE_TEXTCTRL = yes; then
11480 result
=$wxUSE_TEXTCTRL
11483 { echo "$as_me:$LINENO: result: $result" >&5
11484 echo "${ECHO_T}$result" >&6; }
11488 defaultval
=$wxUSE_ALL_FEATURES
11489 if test -z "$defaultval"; then
11490 if test x
"$enablestring" = xdisable
; then
11497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11498 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11499 # Check whether --enable-togglebtn was given.
11500 if test "${enable_togglebtn+set}" = set; then
11501 enableval
=$enable_togglebtn;
11502 if test "$enableval" = yes; then
11503 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11505 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11510 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11515 eval "$wx_cv_use_togglebtn"
11517 if test x"$enablestring" = xdisable; then
11518 if test $wxUSE_TOGGLEBTN = yes; then
11524 result=$wxUSE_TOGGLEBTN
11527 { echo "$as_me:$LINENO: result: $result" >&5
11528 echo "${ECHO_T}$result" >&6; }
11532 defaultval=$wxUSE_ALL_FEATURES
11533 if test -z "$defaultval"; then
11534 if test x"$enablestring" = xdisable; then
11541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11542 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11543 # Check whether --enable-toolbar was given.
11544 if test "${enable_toolbar+set}" = set; then
11545 enableval=$enable_toolbar;
11546 if test "$enableval" = yes; then
11547 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
11549 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
11554 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11559 eval "$wx_cv_use_toolbar"
11561 if test x"$enablestring" = xdisable; then
11562 if test $wxUSE_TOOLBAR = yes; then
11568 result=$wxUSE_TOOLBAR
11571 { echo "$as_me:$LINENO: result
: $result" >&5
11572 echo "${ECHO_T}$result" >&6; }
11576 defaultval=$wxUSE_ALL_FEATURES
11577 if test -z "$defaultval"; then
11578 if test x"$enablestring" = xdisable; then
11585 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11586 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11587 # Check whether --enable-tbarnative was given.
11588 if test "${enable_tbarnative+set}" = set; then
11589 enableval=$enable_tbarnative;
11590 if test "$enableval" = yes; then
11591 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11593 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11598 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11603 eval "$wx_cv_use_tbarnative"
11605 if test x
"$enablestring" = xdisable
; then
11606 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11612 result
=$wxUSE_TOOLBAR_NATIVE
11615 { echo "$as_me:$LINENO: result: $result" >&5
11616 echo "${ECHO_T}$result" >&6; }
11620 defaultval
=$wxUSE_ALL_FEATURES
11621 if test -z "$defaultval"; then
11622 if test x
"$enablestring" = xdisable
; then
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11631 # Check whether --enable-treebook was given.
11632 if test "${enable_treebook+set}" = set; then
11633 enableval
=$enable_treebook;
11634 if test "$enableval" = yes; then
11635 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
11637 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
11642 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11647 eval "$wx_cv_use_treebook"
11649 if test x"$enablestring" = xdisable; then
11650 if test $wxUSE_TREEBOOK = yes; then
11656 result=$wxUSE_TREEBOOK
11659 { echo "$as_me:$LINENO: result: $result" >&5
11660 echo "${ECHO_T}$result" >&6; }
11664 defaultval=$wxUSE_ALL_FEATURES
11665 if test -z "$defaultval"; then
11666 if test x"$enablestring" = xdisable; then
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11675 # Check whether --enable-toolbook was given.
11676 if test "${enable_toolbook+set}" = set; then
11677 enableval=$enable_toolbook;
11678 if test "$enableval" = yes; then
11679 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
11681 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
11686 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11691 eval "$wx_cv_use_toolbook"
11693 if test x"$enablestring" = xdisable; then
11694 if test $wxUSE_TOOLBOOK = yes; then
11700 result=$wxUSE_TOOLBOOK
11703 { echo "$as_me:$LINENO: result
: $result" >&5
11704 echo "${ECHO_T}$result" >&6; }
11708 defaultval=$wxUSE_ALL_FEATURES
11709 if test -z "$defaultval"; then
11710 if test x"$enablestring" = xdisable; then
11717 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
11718 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
11719 # Check whether --enable-treectrl was given.
11720 if test "${enable_treectrl+set}" = set; then
11721 enableval=$enable_treectrl;
11722 if test "$enableval" = yes; then
11723 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11725 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11730 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11735 eval "$wx_cv_use_treectrl"
11737 if test x
"$enablestring" = xdisable
; then
11738 if test $wxUSE_TREECTRL = yes; then
11744 result
=$wxUSE_TREECTRL
11747 { echo "$as_me:$LINENO: result: $result" >&5
11748 echo "${ECHO_T}$result" >&6; }
11752 defaultval
=$wxUSE_ALL_FEATURES
11753 if test -z "$defaultval"; then
11754 if test x
"$enablestring" = xdisable
; then
11761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11762 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11763 # Check whether --enable-tipwindow was given.
11764 if test "${enable_tipwindow+set}" = set; then
11765 enableval
=$enable_tipwindow;
11766 if test "$enableval" = yes; then
11767 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
11769 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
11774 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11779 eval "$wx_cv_use_tipwindow"
11781 if test x"$enablestring" = xdisable; then
11782 if test $wxUSE_TIPWINDOW = yes; then
11788 result=$wxUSE_TIPWINDOW
11791 { echo "$as_me:$LINENO: result: $result" >&5
11792 echo "${ECHO_T}$result" >&6; }
11796 defaultval=$wxUSE_ALL_FEATURES
11797 if test -z "$defaultval"; then
11798 if test x"$enablestring" = xdisable; then
11805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11806 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11807 # Check whether --enable-popupwin was given.
11808 if test "${enable_popupwin+set}" = set; then
11809 enableval=$enable_popupwin;
11810 if test "$enableval" = yes; then
11811 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11813 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11818 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11823 eval "$wx_cv_use_popupwin"
11825 if test x"$enablestring" = xdisable; then
11826 if test $wxUSE_POPUPWIN = yes; then
11832 result=$wxUSE_POPUPWIN
11835 { echo "$as_me:$LINENO: result
: $result" >&5
11836 echo "${ECHO_T}$result" >&6; }
11842 defaultval=$wxUSE_ALL_FEATURES
11843 if test -z "$defaultval"; then
11844 if test x"$enablestring" = xdisable; then
11851 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
11852 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
11853 # Check whether --enable-commondlg was given.
11854 if test "${enable_commondlg+set}" = set; then
11855 enableval=$enable_commondlg;
11856 if test "$enableval" = yes; then
11857 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11859 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11864 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11869 eval "$wx_cv_use_commondlg"
11871 if test x
"$enablestring" = xdisable
; then
11872 if test $wxUSE_COMMONDLGS = yes; then
11878 result
=$wxUSE_COMMONDLGS
11881 { echo "$as_me:$LINENO: result: $result" >&5
11882 echo "${ECHO_T}$result" >&6; }
11886 defaultval
=$wxUSE_ALL_FEATURES
11887 if test -z "$defaultval"; then
11888 if test x
"$enablestring" = xdisable
; then
11895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11896 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11897 # Check whether --enable-aboutdlg was given.
11898 if test "${enable_aboutdlg+set}" = set; then
11899 enableval
=$enable_aboutdlg;
11900 if test "$enableval" = yes; then
11901 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
11903 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
11908 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11913 eval "$wx_cv_use_aboutdlg"
11915 if test x"$enablestring" = xdisable; then
11916 if test $wxUSE_ABOUTDLG = yes; then
11922 result=$wxUSE_ABOUTDLG
11925 { echo "$as_me:$LINENO: result: $result" >&5
11926 echo "${ECHO_T}$result" >&6; }
11930 defaultval=$wxUSE_ALL_FEATURES
11931 if test -z "$defaultval"; then
11932 if test x"$enablestring" = xdisable; then
11939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11940 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11941 # Check whether --enable-choicedlg was given.
11942 if test "${enable_choicedlg+set}" = set; then
11943 enableval=$enable_choicedlg;
11944 if test "$enableval" = yes; then
11945 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
11947 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
11952 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
11957 eval "$wx_cv_use_choicedlg"
11959 if test x"$enablestring" = xdisable; then
11960 if test $wxUSE_CHOICEDLG = yes; then
11966 result=$wxUSE_CHOICEDLG
11969 { echo "$as_me:$LINENO: result
: $result" >&5
11970 echo "${ECHO_T}$result" >&6; }
11974 defaultval=$wxUSE_ALL_FEATURES
11975 if test -z "$defaultval"; then
11976 if test x"$enablestring" = xdisable; then
11983 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
11984 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
11985 # Check whether --enable-coldlg was given.
11986 if test "${enable_coldlg+set}" = set; then
11987 enableval=$enable_coldlg;
11988 if test "$enableval" = yes; then
11989 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11991 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
11996 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12001 eval "$wx_cv_use_coldlg"
12003 if test x
"$enablestring" = xdisable
; then
12004 if test $wxUSE_COLOURDLG = yes; then
12010 result
=$wxUSE_COLOURDLG
12013 { echo "$as_me:$LINENO: result: $result" >&5
12014 echo "${ECHO_T}$result" >&6; }
12018 defaultval
=$wxUSE_ALL_FEATURES
12019 if test -z "$defaultval"; then
12020 if test x
"$enablestring" = xdisable
; then
12027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12028 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12029 # Check whether --enable-filedlg was given.
12030 if test "${enable_filedlg+set}" = set; then
12031 enableval
=$enable_filedlg;
12032 if test "$enableval" = yes; then
12033 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12035 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12040 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12045 eval "$wx_cv_use_filedlg"
12047 if test x"$enablestring" = xdisable; then
12048 if test $wxUSE_FILEDLG = yes; then
12054 result=$wxUSE_FILEDLG
12057 { echo "$as_me:$LINENO: result: $result" >&5
12058 echo "${ECHO_T}$result" >&6; }
12062 defaultval=$wxUSE_ALL_FEATURES
12063 if test -z "$defaultval"; then
12064 if test x"$enablestring" = xdisable; then
12071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12072 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12073 # Check whether --enable-finddlg was given.
12074 if test "${enable_finddlg+set}" = set; then
12075 enableval=$enable_finddlg;
12076 if test "$enableval" = yes; then
12077 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12079 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12084 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12089 eval "$wx_cv_use_finddlg"
12091 if test x"$enablestring" = xdisable; then
12092 if test $wxUSE_FINDREPLDLG = yes; then
12098 result=$wxUSE_FINDREPLDLG
12101 { echo "$as_me:$LINENO: result
: $result" >&5
12102 echo "${ECHO_T}$result" >&6; }
12106 defaultval=$wxUSE_ALL_FEATURES
12107 if test -z "$defaultval"; then
12108 if test x"$enablestring" = xdisable; then
12115 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12116 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12117 # Check whether --enable-fontdlg was given.
12118 if test "${enable_fontdlg+set}" = set; then
12119 enableval=$enable_fontdlg;
12120 if test "$enableval" = yes; then
12121 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12123 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12128 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12133 eval "$wx_cv_use_fontdlg"
12135 if test x
"$enablestring" = xdisable
; then
12136 if test $wxUSE_FONTDLG = yes; then
12142 result
=$wxUSE_FONTDLG
12145 { echo "$as_me:$LINENO: result: $result" >&5
12146 echo "${ECHO_T}$result" >&6; }
12150 defaultval
=$wxUSE_ALL_FEATURES
12151 if test -z "$defaultval"; then
12152 if test x
"$enablestring" = xdisable
; then
12159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12160 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12161 # Check whether --enable-dirdlg was given.
12162 if test "${enable_dirdlg+set}" = set; then
12163 enableval
=$enable_dirdlg;
12164 if test "$enableval" = yes; then
12165 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12167 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12172 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12177 eval "$wx_cv_use_dirdlg"
12179 if test x"$enablestring" = xdisable; then
12180 if test $wxUSE_DIRDLG = yes; then
12186 result=$wxUSE_DIRDLG
12189 { echo "$as_me:$LINENO: result: $result" >&5
12190 echo "${ECHO_T}$result" >&6; }
12194 defaultval=$wxUSE_ALL_FEATURES
12195 if test -z "$defaultval"; then
12196 if test x"$enablestring" = xdisable; then
12203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12204 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12205 # Check whether --enable-msgdlg was given.
12206 if test "${enable_msgdlg+set}" = set; then
12207 enableval=$enable_msgdlg;
12208 if test "$enableval" = yes; then
12209 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12211 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12216 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12221 eval "$wx_cv_use_msgdlg"
12223 if test x"$enablestring" = xdisable; then
12224 if test $wxUSE_MSGDLG = yes; then
12230 result=$wxUSE_MSGDLG
12233 { echo "$as_me:$LINENO: result
: $result" >&5
12234 echo "${ECHO_T}$result" >&6; }
12238 defaultval=$wxUSE_ALL_FEATURES
12239 if test -z "$defaultval"; then
12240 if test x"$enablestring" = xdisable; then
12247 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12248 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12249 # Check whether --enable-numberdlg was given.
12250 if test "${enable_numberdlg+set}" = set; then
12251 enableval=$enable_numberdlg;
12252 if test "$enableval" = yes; then
12253 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12255 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12260 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12265 eval "$wx_cv_use_numberdlg"
12267 if test x
"$enablestring" = xdisable
; then
12268 if test $wxUSE_NUMBERDLG = yes; then
12274 result
=$wxUSE_NUMBERDLG
12277 { echo "$as_me:$LINENO: result: $result" >&5
12278 echo "${ECHO_T}$result" >&6; }
12282 defaultval
=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x
"$enablestring" = xdisable
; then
12291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12292 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12293 # Check whether --enable-splash was given.
12294 if test "${enable_splash+set}" = set; then
12295 enableval
=$enable_splash;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12299 wx_cv_use_splash
='wxUSE_SPLASH=no'
12304 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12309 eval "$wx_cv_use_splash"
12311 if test x"$enablestring" = xdisable; then
12312 if test $wxUSE_SPLASH = yes; then
12318 result=$wxUSE_SPLASH
12321 { echo "$as_me:$LINENO: result: $result" >&5
12322 echo "${ECHO_T}$result" >&6; }
12326 defaultval=$wxUSE_ALL_FEATURES
12327 if test -z "$defaultval"; then
12328 if test x"$enablestring" = xdisable; then
12335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12336 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12337 # Check whether --enable-textdlg was given.
12338 if test "${enable_textdlg+set}" = set; then
12339 enableval=$enable_textdlg;
12340 if test "$enableval" = yes; then
12341 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12343 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12348 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12353 eval "$wx_cv_use_textdlg"
12355 if test x"$enablestring" = xdisable; then
12356 if test $wxUSE_TEXTDLG = yes; then
12362 result=$wxUSE_TEXTDLG
12365 { echo "$as_me:$LINENO: result
: $result" >&5
12366 echo "${ECHO_T}$result" >&6; }
12370 defaultval=$wxUSE_ALL_FEATURES
12371 if test -z "$defaultval"; then
12372 if test x"$enablestring" = xdisable; then
12379 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12380 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12381 # Check whether --enable-tipdlg was given.
12382 if test "${enable_tipdlg+set}" = set; then
12383 enableval=$enable_tipdlg;
12384 if test "$enableval" = yes; then
12385 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12387 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12392 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12397 eval "$wx_cv_use_tipdlg"
12399 if test x
"$enablestring" = xdisable
; then
12400 if test $wxUSE_STARTUP_TIPS = yes; then
12406 result
=$wxUSE_STARTUP_TIPS
12409 { echo "$as_me:$LINENO: result: $result" >&5
12410 echo "${ECHO_T}$result" >&6; }
12414 defaultval
=$wxUSE_ALL_FEATURES
12415 if test -z "$defaultval"; then
12416 if test x
"$enablestring" = xdisable
; then
12423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12424 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12425 # Check whether --enable-progressdlg was given.
12426 if test "${enable_progressdlg+set}" = set; then
12427 enableval
=$enable_progressdlg;
12428 if test "$enableval" = yes; then
12429 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12431 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12436 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12441 eval "$wx_cv_use_progressdlg"
12443 if test x"$enablestring" = xdisable; then
12444 if test $wxUSE_PROGRESSDLG = yes; then
12450 result=$wxUSE_PROGRESSDLG
12453 { echo "$as_me:$LINENO: result: $result" >&5
12454 echo "${ECHO_T}$result" >&6; }
12458 defaultval=$wxUSE_ALL_FEATURES
12459 if test -z "$defaultval"; then
12460 if test x"$enablestring" = xdisable; then
12467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12468 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12469 # Check whether --enable-wizarddlg was given.
12470 if test "${enable_wizarddlg+set}" = set; then
12471 enableval=$enable_wizarddlg;
12472 if test "$enableval" = yes; then
12473 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12475 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12480 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12485 eval "$wx_cv_use_wizarddlg"
12487 if test x"$enablestring" = xdisable; then
12488 if test $wxUSE_WIZARDDLG = yes; then
12494 result=$wxUSE_WIZARDDLG
12497 { echo "$as_me:$LINENO: result
: $result" >&5
12498 echo "${ECHO_T}$result" >&6; }
12504 defaultval=$wxUSE_ALL_FEATURES
12505 if test -z "$defaultval"; then
12506 if test x"$enablestring" = xdisable; then
12513 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12514 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12515 # Check whether --enable-menus was given.
12516 if test "${enable_menus+set}" = set; then
12517 enableval=$enable_menus;
12518 if test "$enableval" = yes; then
12519 wx_cv_use_menus='wxUSE_MENUS=yes'
12521 wx_cv_use_menus='wxUSE_MENUS=no'
12526 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12531 eval "$wx_cv_use_menus"
12533 if test x
"$enablestring" = xdisable
; then
12534 if test $wxUSE_MENUS = yes; then
12540 result
=$wxUSE_MENUS
12543 { echo "$as_me:$LINENO: result: $result" >&5
12544 echo "${ECHO_T}$result" >&6; }
12548 defaultval
=$wxUSE_ALL_FEATURES
12549 if test -z "$defaultval"; then
12550 if test x
"$enablestring" = xdisable
; then
12557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12558 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12559 # Check whether --enable-miniframe was given.
12560 if test "${enable_miniframe+set}" = set; then
12561 enableval
=$enable_miniframe;
12562 if test "$enableval" = yes; then
12563 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12565 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12570 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12575 eval "$wx_cv_use_miniframe"
12577 if test x"$enablestring" = xdisable; then
12578 if test $wxUSE_MINIFRAME = yes; then
12584 result=$wxUSE_MINIFRAME
12587 { echo "$as_me:$LINENO: result: $result" >&5
12588 echo "${ECHO_T}$result" >&6; }
12592 defaultval=$wxUSE_ALL_FEATURES
12593 if test -z "$defaultval"; then
12594 if test x"$enablestring" = xdisable; then
12601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12602 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12603 # Check whether --enable-tooltips was given.
12604 if test "${enable_tooltips+set}" = set; then
12605 enableval=$enable_tooltips;
12606 if test "$enableval" = yes; then
12607 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12609 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12614 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12619 eval "$wx_cv_use_tooltips"
12621 if test x"$enablestring" = xdisable; then
12622 if test $wxUSE_TOOLTIPS = yes; then
12628 result=$wxUSE_TOOLTIPS
12631 { echo "$as_me:$LINENO: result
: $result" >&5
12632 echo "${ECHO_T}$result" >&6; }
12636 defaultval=$wxUSE_ALL_FEATURES
12637 if test -z "$defaultval"; then
12638 if test x"$enablestring" = xdisable; then
12645 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12646 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12647 # Check whether --enable-splines was given.
12648 if test "${enable_splines+set}" = set; then
12649 enableval=$enable_splines;
12650 if test "$enableval" = yes; then
12651 wx_cv_use_splines='wxUSE_SPLINES=yes'
12653 wx_cv_use_splines='wxUSE_SPLINES=no'
12658 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12663 eval "$wx_cv_use_splines"
12665 if test x
"$enablestring" = xdisable
; then
12666 if test $wxUSE_SPLINES = yes; then
12672 result
=$wxUSE_SPLINES
12675 { echo "$as_me:$LINENO: result: $result" >&5
12676 echo "${ECHO_T}$result" >&6; }
12680 defaultval
=$wxUSE_ALL_FEATURES
12681 if test -z "$defaultval"; then
12682 if test x
"$enablestring" = xdisable
; then
12689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12690 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12691 # Check whether --enable-mousewheel was given.
12692 if test "${enable_mousewheel+set}" = set; then
12693 enableval
=$enable_mousewheel;
12694 if test "$enableval" = yes; then
12695 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
12697 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
12702 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12707 eval "$wx_cv_use_mousewheel"
12709 if test x"$enablestring" = xdisable; then
12710 if test $wxUSE_MOUSEWHEEL = yes; then
12716 result=$wxUSE_MOUSEWHEEL
12719 { echo "$as_me:$LINENO: result: $result" >&5
12720 echo "${ECHO_T}$result" >&6; }
12724 defaultval=$wxUSE_ALL_FEATURES
12725 if test -z "$defaultval"; then
12726 if test x"$enablestring" = xdisable; then
12733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12734 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12735 # Check whether --enable-validators was given.
12736 if test "${enable_validators+set}" = set; then
12737 enableval=$enable_validators;
12738 if test "$enableval" = yes; then
12739 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
12741 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
12746 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12751 eval "$wx_cv_use_validators"
12753 if test x"$enablestring" = xdisable; then
12754 if test $wxUSE_VALIDATORS = yes; then
12760 result=$wxUSE_VALIDATORS
12763 { echo "$as_me:$LINENO: result
: $result" >&5
12764 echo "${ECHO_T}$result" >&6; }
12768 defaultval=$wxUSE_ALL_FEATURES
12769 if test -z "$defaultval"; then
12770 if test x"$enablestring" = xdisable; then
12777 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
12778 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
12779 # Check whether --enable-busyinfo was given.
12780 if test "${enable_busyinfo+set}" = set; then
12781 enableval=$enable_busyinfo;
12782 if test "$enableval" = yes; then
12783 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12785 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12790 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12795 eval "$wx_cv_use_busyinfo"
12797 if test x
"$enablestring" = xdisable
; then
12798 if test $wxUSE_BUSYINFO = yes; then
12804 result
=$wxUSE_BUSYINFO
12807 { echo "$as_me:$LINENO: result: $result" >&5
12808 echo "${ECHO_T}$result" >&6; }
12812 defaultval
=$wxUSE_ALL_FEATURES
12813 if test -z "$defaultval"; then
12814 if test x
"$enablestring" = xdisable
; then
12821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12822 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12823 # Check whether --enable-joystick was given.
12824 if test "${enable_joystick+set}" = set; then
12825 enableval
=$enable_joystick;
12826 if test "$enableval" = yes; then
12827 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
12829 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
12834 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12839 eval "$wx_cv_use_joystick"
12841 if test x"$enablestring" = xdisable; then
12842 if test $wxUSE_JOYSTICK = yes; then
12848 result=$wxUSE_JOYSTICK
12851 { echo "$as_me:$LINENO: result: $result" >&5
12852 echo "${ECHO_T}$result" >&6; }
12856 defaultval=$wxUSE_ALL_FEATURES
12857 if test -z "$defaultval"; then
12858 if test x"$enablestring" = xdisable; then
12865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12867 # Check whether --enable-metafile was given.
12868 if test "${enable_metafile+set}" = set; then
12869 enableval=$enable_metafile;
12870 if test "$enableval" = yes; then
12871 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
12873 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
12878 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12883 eval "$wx_cv_use_metafile"
12885 if test x"$enablestring" = xdisable; then
12886 if test $wxUSE_METAFILE = yes; then
12892 result=$wxUSE_METAFILE
12895 { echo "$as_me:$LINENO: result
: $result" >&5
12896 echo "${ECHO_T}$result" >&6; }
12900 defaultval=$wxUSE_ALL_FEATURES
12901 if test -z "$defaultval"; then
12902 if test x"$enablestring" = xdisable; then
12909 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
12910 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
12911 # Check whether --enable-dragimage was given.
12912 if test "${enable_dragimage+set}" = set; then
12913 enableval=$enable_dragimage;
12914 if test "$enableval" = yes; then
12915 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12917 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12922 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12927 eval "$wx_cv_use_dragimage"
12929 if test x
"$enablestring" = xdisable
; then
12930 if test $wxUSE_DRAGIMAGE = yes; then
12936 result
=$wxUSE_DRAGIMAGE
12939 { echo "$as_me:$LINENO: result: $result" >&5
12940 echo "${ECHO_T}$result" >&6; }
12944 defaultval
=$wxUSE_ALL_FEATURES
12945 if test -z "$defaultval"; then
12946 if test x
"$enablestring" = xdisable
; then
12953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12954 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12955 # Check whether --enable-accessibility was given.
12956 if test "${enable_accessibility+set}" = set; then
12957 enableval
=$enable_accessibility;
12958 if test "$enableval" = yes; then
12959 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
12961 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
12966 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
12971 eval "$wx_cv_use_accessibility"
12973 if test x"$enablestring" = xdisable; then
12974 if test $wxUSE_ACCESSIBILITY = yes; then
12980 result=$wxUSE_ACCESSIBILITY
12983 { echo "$as_me:$LINENO: result: $result" >&5
12984 echo "${ECHO_T}$result" >&6; }
12990 defaultval=$wxUSE_ALL_FEATURES
12991 if test -z "$defaultval"; then
12992 if test x"$enablestring" = xdisable; then
12999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13000 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13001 # Check whether --enable-palette was given.
13002 if test "${enable_palette+set}" = set; then
13003 enableval=$enable_palette;
13004 if test "$enableval" = yes; then
13005 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13007 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13012 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13017 eval "$wx_cv_use_palette"
13019 if test x"$enablestring" = xdisable; then
13020 if test $wxUSE_PALETTE = yes; then
13026 result=$wxUSE_PALETTE
13029 { echo "$as_me:$LINENO: result
: $result" >&5
13030 echo "${ECHO_T}$result" >&6; }
13034 defaultval=$wxUSE_ALL_FEATURES
13035 if test -z "$defaultval"; then
13036 if test x"$enablestring" = xdisable; then
13043 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13044 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13045 # Check whether --enable-image was given.
13046 if test "${enable_image+set}" = set; then
13047 enableval=$enable_image;
13048 if test "$enableval" = yes; then
13049 wx_cv_use_image='wxUSE_IMAGE=yes'
13051 wx_cv_use_image='wxUSE_IMAGE=no'
13056 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13061 eval "$wx_cv_use_image"
13063 if test x
"$enablestring" = xdisable
; then
13064 if test $wxUSE_IMAGE = yes; then
13070 result
=$wxUSE_IMAGE
13073 { echo "$as_me:$LINENO: result: $result" >&5
13074 echo "${ECHO_T}$result" >&6; }
13078 defaultval
=$wxUSE_ALL_FEATURES
13079 if test -z "$defaultval"; then
13080 if test x
"$enablestring" = xdisable
; then
13087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13088 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13089 # Check whether --enable-gif was given.
13090 if test "${enable_gif+set}" = set; then
13091 enableval
=$enable_gif;
13092 if test "$enableval" = yes; then
13093 wx_cv_use_gif
='wxUSE_GIF=yes'
13095 wx_cv_use_gif
='wxUSE_GIF=no'
13100 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13105 eval "$wx_cv_use_gif"
13107 if test x"$enablestring" = xdisable; then
13108 if test $wxUSE_GIF = yes; then
13117 { echo "$as_me:$LINENO: result: $result" >&5
13118 echo "${ECHO_T}$result" >&6; }
13122 defaultval=$wxUSE_ALL_FEATURES
13123 if test -z "$defaultval"; then
13124 if test x"$enablestring" = xdisable; then
13131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13132 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13133 # Check whether --enable-pcx was given.
13134 if test "${enable_pcx+set}" = set; then
13135 enableval=$enable_pcx;
13136 if test "$enableval" = yes; then
13137 wx_cv_use_pcx='wxUSE_PCX
=yes'
13139 wx_cv_use_pcx='wxUSE_PCX
=no
'
13144 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13149 eval "$wx_cv_use_pcx"
13151 if test x"$enablestring" = xdisable; then
13152 if test $wxUSE_PCX = yes; then
13161 { echo "$as_me:$LINENO: result
: $result" >&5
13162 echo "${ECHO_T}$result" >&6; }
13166 defaultval=$wxUSE_ALL_FEATURES
13167 if test -z "$defaultval"; then
13168 if test x"$enablestring" = xdisable; then
13175 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13176 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13177 # Check whether --enable-tga was given.
13178 if test "${enable_tga+set}" = set; then
13179 enableval=$enable_tga;
13180 if test "$enableval" = yes; then
13181 wx_cv_use_tga='wxUSE_TGA=yes'
13183 wx_cv_use_tga='wxUSE_TGA=no'
13188 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13193 eval "$wx_cv_use_tga"
13195 if test x
"$enablestring" = xdisable
; then
13196 if test $wxUSE_TGA = yes; then
13205 { echo "$as_me:$LINENO: result: $result" >&5
13206 echo "${ECHO_T}$result" >&6; }
13210 defaultval
=$wxUSE_ALL_FEATURES
13211 if test -z "$defaultval"; then
13212 if test x
"$enablestring" = xdisable
; then
13219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13220 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13221 # Check whether --enable-iff was given.
13222 if test "${enable_iff+set}" = set; then
13223 enableval
=$enable_iff;
13224 if test "$enableval" = yes; then
13225 wx_cv_use_iff
='wxUSE_IFF=yes'
13227 wx_cv_use_iff
='wxUSE_IFF=no'
13232 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13237 eval "$wx_cv_use_iff"
13239 if test x"$enablestring" = xdisable; then
13240 if test $wxUSE_IFF = yes; then
13249 { echo "$as_me:$LINENO: result: $result" >&5
13250 echo "${ECHO_T}$result" >&6; }
13254 defaultval=$wxUSE_ALL_FEATURES
13255 if test -z "$defaultval"; then
13256 if test x"$enablestring" = xdisable; then
13263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13264 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13265 # Check whether --enable-pnm was given.
13266 if test "${enable_pnm+set}" = set; then
13267 enableval=$enable_pnm;
13268 if test "$enableval" = yes; then
13269 wx_cv_use_pnm='wxUSE_PNM
=yes'
13271 wx_cv_use_pnm='wxUSE_PNM
=no
'
13276 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13281 eval "$wx_cv_use_pnm"
13283 if test x"$enablestring" = xdisable; then
13284 if test $wxUSE_PNM = yes; then
13293 { echo "$as_me:$LINENO: result
: $result" >&5
13294 echo "${ECHO_T}$result" >&6; }
13298 defaultval=$wxUSE_ALL_FEATURES
13299 if test -z "$defaultval"; then
13300 if test x"$enablestring" = xdisable; then
13307 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13308 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13309 # Check whether --enable-xpm was given.
13310 if test "${enable_xpm+set}" = set; then
13311 enableval=$enable_xpm;
13312 if test "$enableval" = yes; then
13313 wx_cv_use_xpm='wxUSE_XPM=yes'
13315 wx_cv_use_xpm='wxUSE_XPM=no'
13320 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13325 eval "$wx_cv_use_xpm"
13327 if test x
"$enablestring" = xdisable
; then
13328 if test $wxUSE_XPM = yes; then
13337 { echo "$as_me:$LINENO: result: $result" >&5
13338 echo "${ECHO_T}$result" >&6; }
13342 defaultval
=$wxUSE_ALL_FEATURES
13343 if test -z "$defaultval"; then
13344 if test x
"$enablestring" = xdisable
; then
13351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13352 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13353 # Check whether --enable-ico_cur was given.
13354 if test "${enable_ico_cur+set}" = set; then
13355 enableval
=$enable_ico_cur;
13356 if test "$enableval" = yes; then
13357 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13359 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13364 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13369 eval "$wx_cv_use_ico_cur"
13371 if test x"$enablestring" = xdisable; then
13372 if test $wxUSE_ICO_CUR = yes; then
13378 result=$wxUSE_ICO_CUR
13381 { echo "$as_me:$LINENO: result: $result" >&5
13382 echo "${ECHO_T}$result" >&6; }
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13398 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13399 # Check whether --enable-dccache was given.
13400 if test "${enable_dccache+set}" = set; then
13401 enableval=$enable_dccache;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13405 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13410 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13415 eval "$wx_cv_use_dccache"
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_DC_CACHEING = yes; then
13424 result=$wxUSE_DC_CACHEING
13427 { echo "$as_me:$LINENO: result
: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13441 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13442 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13443 # Check whether --enable-ps-in-msw was given.
13444 if test "${enable_ps_in_msw+set}" = set; then
13445 enableval=$enable_ps_in_msw;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13449 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13454 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13459 eval "$wx_cv_use_ps_in_msw"
13461 if test x
"$enablestring" = xdisable
; then
13462 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13468 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13471 { echo "$as_me:$LINENO: result: $result" >&5
13472 echo "${ECHO_T}$result" >&6; }
13476 defaultval
=$wxUSE_ALL_FEATURES
13477 if test -z "$defaultval"; then
13478 if test x
"$enablestring" = xdisable
; then
13485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13486 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13487 # Check whether --enable-ownerdrawn was given.
13488 if test "${enable_ownerdrawn+set}" = set; then
13489 enableval
=$enable_ownerdrawn;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13493 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13498 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13503 eval "$wx_cv_use_ownerdrawn"
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_OWNER_DRAWN = yes; then
13512 result=$wxUSE_OWNER_DRAWN
13515 { echo "$as_me:$LINENO: result: $result" >&5
13516 echo "${ECHO_T}$result" >&6; }
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13530 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13531 # Check whether --enable-uxtheme was given.
13532 if test "${enable_uxtheme+set}" = set; then
13533 enableval=$enable_uxtheme;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13537 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13542 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13547 eval "$wx_cv_use_uxtheme"
13549 if test x"$enablestring" = xdisable; then
13550 if test $wxUSE_UXTHEME = yes; then
13556 result=$wxUSE_UXTHEME
13559 { echo "$as_me:$LINENO: result
: $result" >&5
13560 echo "${ECHO_T}$result" >&6; }
13564 defaultval=$wxUSE_ALL_FEATURES
13565 if test -z "$defaultval"; then
13566 if test x"$enablestring" = xdisable; then
13573 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13574 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13575 # Check whether --enable-wxdib was given.
13576 if test "${enable_wxdib+set}" = set; then
13577 enableval=$enable_wxdib;
13578 if test "$enableval" = yes; then
13579 wx_cv_use_wxdib='wxUSE_DIB=yes'
13581 wx_cv_use_wxdib='wxUSE_DIB=no'
13586 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13591 eval "$wx_cv_use_wxdib"
13593 if test x
"$enablestring" = xdisable
; then
13594 if test $wxUSE_DIB = yes; then
13603 { echo "$as_me:$LINENO: result: $result" >&5
13604 echo "${ECHO_T}$result" >&6; }
13610 { echo "$as_me:$LINENO: checking for toolkit" >&5
13611 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13613 # In Wine, we need to default to MSW, not GTK or MOTIF
13614 if test "$wxUSE_WINE" = "yes"; then
13615 DEFAULT_DEFAULT_wxUSE_GTK
=0
13616 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
13617 DEFAULT_DEFAULT_wxUSE_MSW
=1
13620 CXX
=${CXX:-wineg++}
13624 if test "$wxUSE_GUI" = "yes"; then
13626 if test "$USE_BEOS" = 1; then
13627 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13628 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13629 { (exit 1); exit 1; }; }
13632 if test "$TOOLKIT_GIVEN" = 1; then
13633 for toolkit
in $ALL_TOOLKITS; do
13635 eval "value=\$${var}"
13636 if test "x$value" = "xno"; then
13638 elif test "x$value" != "x"; then
13642 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13643 eval "wx${toolkit}_VERSION=$value"
13647 for toolkit
in $ALL_TOOLKITS; do
13648 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
13649 eval "wxUSE_$toolkit=\$${var}"
13653 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13654 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13655 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13658 *-pc-os2_emx | *-pc-os2-emx )
13659 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13662 case "$NUM_TOOLKITS" in
13666 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13667 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13668 { (exit 1); exit 1; }; }
13671 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13672 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13673 { (exit 1); exit 1; }; }
13676 # to be removed when --disable-gtk2 isn't needed
13677 if test "x$wxUSE_GTK2" = "xyes"; then
13679 elif test "x$wxUSE_GTK2" = "xno"; then
13683 for toolkit
in $ALL_TOOLKITS; do
13685 eval "value=\$${var}"
13686 if test "$value" = 1; then
13687 toolkit_echo
=`echo $toolkit | tr A-Z a-z`
13688 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13689 echo "${ECHO_T}$toolkit_echo" >&6; }
13693 if test "x$host_alias" != "x"; then
13694 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13695 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13697 { echo "$as_me:$LINENO: result: base only" >&5
13698 echo "${ECHO_T}base only" >&6; }
13703 cat >confcache
<<\_ACEOF
13704 # This file is a shell script that caches the results of configure
13705 # tests run on this system so they can be shared between configure
13706 # scripts and configure runs, see configure's option --config-cache.
13707 # It is not useful on other systems. If it contains results you don't
13708 # want to keep, you may remove or edit it.
13710 # config.status only pays attention to the cache file if you give it
13711 # the --recheck option to rerun configure.
13713 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13714 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13715 # following values.
13719 # The following way of writing the cache mishandles newlines in values,
13720 # but we know of no workaround that is simple, portable, and efficient.
13721 # So, we kill variables containing newlines.
13722 # Ultrix sh set writes to stderr and can't be redirected directly,
13723 # and sets the high bit in the cache file unless we assign to the vars.
13725 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13726 eval ac_val
=\$
$ac_var
13730 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13731 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13734 _
| IFS
| as_nl
) ;; #(
13735 *) $as_unset $ac_var ;;
13741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13742 *${as_nl}ac_space
=\
*)
13743 # `set' does not quote correctly, so add quotes (double-quote
13744 # substitution turns \\\\ into \\, and sed turns \\ into \).
13747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13750 # `set' quotes correctly as required by POSIX, so do not add quotes.
13751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13764 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13765 if test -w "$cache_file"; then
13766 test "x$cache_file" != "x/dev/null" &&
13767 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13768 echo "$as_me: updating cache $cache_file" >&6;}
13769 cat confcache
>$cache_file
13771 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13772 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13782 ac_cpp
='$CPP $CPPFLAGS'
13783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13786 if test -n "$ac_tool_prefix"; then
13787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13788 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13791 if test "${ac_cv_prog_CC+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 if test -n "$CC"; then
13795 ac_cv_prog_CC
="$CC" # Let the user override the test.
13797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13798 for as_dir
in $PATH
13801 test -z "$as_dir" && as_dir
=.
13802 for ac_exec_ext
in '' $ac_executable_extensions; do
13803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13804 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13815 if test -n "$CC"; then
13816 { echo "$as_me:$LINENO: result: $CC" >&5
13817 echo "${ECHO_T}$CC" >&6; }
13819 { echo "$as_me:$LINENO: result: no" >&5
13820 echo "${ECHO_T}no" >&6; }
13825 if test -z "$ac_cv_prog_CC"; then
13827 # Extract the first word of "gcc", so it can be a program name with args.
13828 set dummy gcc
; ac_word
=$2
13829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13831 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 if test -n "$ac_ct_CC"; then
13835 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13838 for as_dir
in $PATH
13841 test -z "$as_dir" && as_dir
=.
13842 for ac_exec_ext
in '' $ac_executable_extensions; do
13843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13844 ac_cv_prog_ac_ct_CC
="gcc"
13845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13855 if test -n "$ac_ct_CC"; then
13856 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13857 echo "${ECHO_T}$ac_ct_CC" >&6; }
13859 { echo "$as_me:$LINENO: result: no" >&5
13860 echo "${ECHO_T}no" >&6; }
13863 if test "x$ac_ct_CC" = x
; then
13866 case $cross_compiling:$ac_tool_warned in
13868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13869 whose name does not start with the host triplet. If you think this
13870 configuration is useful to you, please write to autoconf@gnu.org." >&5
13871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13872 whose name does not start with the host triplet. If you think this
13873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13874 ac_tool_warned
=yes ;;
13879 CC
="$ac_cv_prog_CC"
13882 if test -z "$CC"; then
13883 if test -n "$ac_tool_prefix"; then
13884 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13885 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13888 if test "${ac_cv_prog_CC+set}" = set; then
13889 echo $ECHO_N "(cached) $ECHO_C" >&6
13891 if test -n "$CC"; then
13892 ac_cv_prog_CC
="$CC" # Let the user override the test.
13894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13895 for as_dir
in $PATH
13898 test -z "$as_dir" && as_dir
=.
13899 for ac_exec_ext
in '' $ac_executable_extensions; do
13900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13901 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13912 if test -n "$CC"; then
13913 { echo "$as_me:$LINENO: result: $CC" >&5
13914 echo "${ECHO_T}$CC" >&6; }
13916 { echo "$as_me:$LINENO: result: no" >&5
13917 echo "${ECHO_T}no" >&6; }
13923 if test -z "$CC"; then
13924 # Extract the first word of "cc", so it can be a program name with args.
13925 set dummy cc
; ac_word
=$2
13926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13928 if test "${ac_cv_prog_CC+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 if test -n "$CC"; then
13932 ac_cv_prog_CC
="$CC" # Let the user override the test.
13934 ac_prog_rejected
=no
13935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13936 for as_dir
in $PATH
13939 test -z "$as_dir" && as_dir
=.
13940 for ac_exec_ext
in '' $ac_executable_extensions; do
13941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13942 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13943 ac_prog_rejected
=yes
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13954 if test $ac_prog_rejected = yes; then
13955 # We found a bogon in the path, so make sure we never use it.
13956 set dummy
$ac_cv_prog_CC
13958 if test $# != 0; then
13959 # We chose a different compiler from the bogus one.
13960 # However, it has the same basename, so the bogon will be chosen
13961 # first if we set CC to just the basename; use the full file name.
13963 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13969 if test -n "$CC"; then
13970 { echo "$as_me:$LINENO: result: $CC" >&5
13971 echo "${ECHO_T}$CC" >&6; }
13973 { echo "$as_me:$LINENO: result: no" >&5
13974 echo "${ECHO_T}no" >&6; }
13979 if test -z "$CC"; then
13980 if test -n "$ac_tool_prefix"; then
13981 for ac_prog
in cl.exe
13983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13984 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13987 if test "${ac_cv_prog_CC+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13990 if test -n "$CC"; then
13991 ac_cv_prog_CC
="$CC" # Let the user override the test.
13993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13994 for as_dir
in $PATH
13997 test -z "$as_dir" && as_dir
=.
13998 for ac_exec_ext
in '' $ac_executable_extensions; do
13999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14000 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14011 if test -n "$CC"; then
14012 { echo "$as_me:$LINENO: result: $CC" >&5
14013 echo "${ECHO_T}$CC" >&6; }
14015 { echo "$as_me:$LINENO: result: no" >&5
14016 echo "${ECHO_T}no" >&6; }
14020 test -n "$CC" && break
14023 if test -z "$CC"; then
14025 for ac_prog
in cl.exe
14027 # Extract the first word of "$ac_prog", so it can be a program name with args.
14028 set dummy
$ac_prog; ac_word
=$2
14029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 if test -n "$ac_ct_CC"; then
14035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14038 for as_dir
in $PATH
14041 test -z "$as_dir" && as_dir
=.
14042 for ac_exec_ext
in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 ac_cv_prog_ac_ct_CC
="$ac_prog"
14045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14054 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14055 if test -n "$ac_ct_CC"; then
14056 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14057 echo "${ECHO_T}$ac_ct_CC" >&6; }
14059 { echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6; }
14064 test -n "$ac_ct_CC" && break
14067 if test "x$ac_ct_CC" = x
; then
14070 case $cross_compiling:$ac_tool_warned in
14072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14073 whose name does not start with the host triplet. If you think this
14074 configuration is useful to you, please write to autoconf@gnu.org." >&5
14075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14076 whose name does not start with the host triplet. If you think this
14077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14078 ac_tool_warned
=yes ;;
14087 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14088 See \`config.log' for more details." >&5
14089 echo "$as_me: error: no acceptable C compiler found in \$PATH
14090 See \`config.log' for more details." >&2;}
14091 { (exit 1); exit 1; }; }
14093 # Provide some information about the compiler.
14094 echo "$as_me:$LINENO: checking for C compiler version" >&5
14095 ac_compiler
=`set X $ac_compile; echo $2`
14096 { (ac_try
="$ac_compiler --version >&5"
14097 case "(($ac_try" in
14098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14099 *) ac_try_echo=$ac_try;;
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_compiler --version >&5") 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }
14106 { (ac_try="$ac_compiler -v >&5"
14107 case "(($ac_try" in
14108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14109 *) ac_try_echo
=$ac_try;;
14111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14112 (eval "$ac_compiler -v >&5") 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }
14116 { (ac_try
="$ac_compiler -V >&5"
14117 case "(($ac_try" in
14118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14119 *) ac_try_echo=$ac_try;;
14121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14122 (eval "$ac_compiler -V >&5") 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }
14127 cat >conftest.$ac_ext <<_ACEOF
14130 cat confdefs.h >>conftest.$ac_ext
14131 cat >>conftest.$ac_ext <<_ACEOF
14132 /* end confdefs.h. */
14142 ac_clean_files_save=$ac_clean_files
14143 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14144 # Try to create an executable without -o first, disregard a.out.
14145 # It will help us diagnose broken compilers, and finding out an intuition
14147 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14148 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14149 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14151 # List of possible output files, starting from the most likely.
14152 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14153 # only as a last resort. b.out is created by i960 compilers.
14154 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14156 # The IRIX 6 linker writes into existing files which may not be
14157 # executable, retaining their permissions. Remove them first so a
14158 # subsequent execution test works.
14160 for ac_file in $ac_files
14163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14164 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14169 if { (ac_try="$ac_link_default"
14170 case "(($ac_try" in
14171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14172 *) ac_try_echo=$ac_try;;
14174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14175 (eval "$ac_link_default") 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; then
14179 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14180 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14181 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14182 # so that the user can short-circuit this test for compilers unknown to
14184 for ac_file
in $ac_files ''
14186 test -f "$ac_file" || continue
14188 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14191 # We found the default executable, but exeext='' is most
14195 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14197 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14199 # We set ac_cv_exeext here because the later test for it is not
14200 # safe: cross compilers may not add the suffix if given an `-o'
14201 # argument, so we may need to know it at that point already.
14202 # Even if this section looks crufty: it has the advantage of
14203 # actually working.
14209 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14215 { echo "$as_me:$LINENO: result: $ac_file" >&5
14216 echo "${ECHO_T}$ac_file" >&6; }
14217 if test -z "$ac_file"; then
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.
$ac_ext >&5
14221 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14222 See \`config.log' for more details." >&5
14223 echo "$as_me: error: C compiler cannot create executables
14224 See \`config.log' for more details." >&2;}
14225 { (exit 77); exit 77; }; }
14228 ac_exeext
=$ac_cv_exeext
14230 # Check that the compiler produces executables we can run. If not, either
14231 # the compiler is broken, or we cross compile.
14232 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14233 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14234 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14235 # If not cross compiling, check that we can run a simple program.
14236 if test "$cross_compiling" != yes; then
14237 if { ac_try
='./$ac_file'
14238 { (case "(($ac_try" in
14239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14240 *) ac_try_echo=$ac_try;;
14242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14243 (eval "$ac_try") 2>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; }; then
14249 if test "$cross_compiling" = maybe; then
14250 cross_compiling=yes
14252 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14253 If you meant to cross compile, use \`--host'.
14254 See \`config.log' for more details.
" >&5
14255 echo "$as_me: error
: cannot run C compiled programs.
14256 If you meant to cross compile
, use \
`--host'.
14257 See \`config.log
' for more details." >&2;}
14258 { (exit 1); exit 1; }; }
14262 { echo "$as_me:$LINENO: result: yes" >&5
14263 echo "${ECHO_T}yes" >&6; }
14265 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14266 ac_clean_files=$ac_clean_files_save
14267 # Check that the compiler produces executables we can run. If not, either
14268 # the compiler is broken, or we cross compile.
14269 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14270 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14271 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14272 echo "${ECHO_T}$cross_compiling" >&6; }
14274 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14275 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14276 if { (ac_try="$ac_link"
14277 case "(($ac_try" in
14278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14279 *) ac_try_echo=$ac_try;;
14281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14282 (eval "$ac_link") 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; then
14286 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14287 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14288 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14290 for ac_file
in conftest.exe conftest conftest.
*; do
14291 test -f "$ac_file" || continue
14293 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14294 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14300 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14301 See \`config.log' for more details." >&5
14302 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14303 See \`config.log' for more details." >&2;}
14304 { (exit 1); exit 1; }; }
14307 rm -f conftest
$ac_cv_exeext
14308 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14309 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14311 rm -f conftest.
$ac_ext
14312 EXEEXT
=$ac_cv_exeext
14314 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14315 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14316 if test "${ac_cv_objext+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 cat >conftest.
$ac_ext <<_ACEOF
14322 cat confdefs.h
>>conftest.
$ac_ext
14323 cat >>conftest.
$ac_ext <<_ACEOF
14324 /* end confdefs.h. */
14334 rm -f conftest.o conftest.obj
14335 if { (ac_try
="$ac_compile"
14336 case "(($ac_try" in
14337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14338 *) ac_try_echo=$ac_try;;
14340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14341 (eval "$ac_compile") 2>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; then
14345 for ac_file in conftest.o conftest.obj conftest.*; do
14346 test -f "$ac_file" || continue;
14348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14354 echo "$as_me: failed program was:" >&5
14355 sed 's/^/| /' conftest.$ac_ext >&5
14357 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14358 See \`config.log
' for more details." >&5
14359 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14360 See \`config.log' for more details.
" >&2;}
14361 { (exit 1); exit 1; }; }
14364 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14366 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14367 echo "${ECHO_T}$ac_cv_objext" >&6; }
14368 OBJEXT=$ac_cv_objext
14370 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14371 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14372 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14373 echo $ECHO_N "(cached
) $ECHO_C" >&6
14375 cat >conftest.$ac_ext <<_ACEOF
14378 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14393 rm -f conftest.$ac_objext
14394 if { (ac_try="$ac_compile"
14395 case "(($ac_try" in
14396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14397 *) ac_try_echo=$ac_try;;
14399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14400 (eval "$ac_compile") 2>conftest.er1
14402 grep -v '^ *+' conftest.er1 >conftest.err
14404 cat conftest.err >&5
14405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14406 (exit $ac_status); } && {
14407 test -z "$ac_c_werror_flag" ||
14408 test ! -s conftest.err
14409 } && test -s conftest.$ac_objext; then
14410 ac_compiler_gnu=yes
14412 echo "$as_me: failed program was
:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14419 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14422 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14423 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14424 GCC=`test $ac_compiler_gnu = yes && echo yes`
14425 ac_test_CFLAGS=${CFLAGS+set}
14426 ac_save_CFLAGS=$CFLAGS
14427 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14428 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14429 if test "${ac_cv_prog_cc_g+set}" = set; then
14430 echo $ECHO_N "(cached
) $ECHO_C" >&6
14432 ac_save_c_werror_flag=$ac_c_werror_flag
14433 ac_c_werror_flag=yes
14436 cat >conftest.$ac_ext <<_ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14451 rm -f conftest.$ac_objext
14452 if { (ac_try="$ac_compile"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_compile") 2>conftest.er1
14460 grep -v '^ *+' conftest.er1 >conftest.err
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest.$ac_objext; then
14468 ac_cv_prog_cc_g=yes
14470 echo "$as_me: failed program was
:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14474 cat >conftest.$ac_ext <<_ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14489 rm -f conftest.$ac_objext
14490 if { (ac_try="$ac_compile"
14491 case "(($ac_try" in
14492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14493 *) ac_try_echo=$ac_try;;
14495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14496 (eval "$ac_compile") 2>conftest.er1
14498 grep -v '^ *+' conftest.er1 >conftest.err
14500 cat conftest.err >&5
14501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14502 (exit $ac_status); } && {
14503 test -z "$ac_c_werror_flag" ||
14504 test ! -s conftest.err
14505 } && test -s conftest.$ac_objext; then
14508 echo "$as_me: failed program was
:" >&5
14509 sed 's/^/| /' conftest.$ac_ext >&5
14511 ac_c_werror_flag=$ac_save_c_werror_flag
14513 cat >conftest.$ac_ext <<_ACEOF
14516 cat confdefs.h >>conftest.$ac_ext
14517 cat >>conftest.$ac_ext <<_ACEOF
14518 /* end confdefs.h. */
14528 rm -f conftest.$ac_objext
14529 if { (ac_try="$ac_compile"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_compile") 2>conftest.er1
14537 grep -v '^ *+' conftest.er1 >conftest.err
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14541 (exit $ac_status); } && {
14542 test -z "$ac_c_werror_flag" ||
14543 test ! -s conftest.err
14544 } && test -s conftest.$ac_objext; then
14545 ac_cv_prog_cc_g=yes
14547 echo "$as_me: failed program was
:" >&5
14548 sed 's/^/| /' conftest.$ac_ext >&5
14553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14560 ac_c_werror_flag=$ac_save_c_werror_flag
14562 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14564 if test "$ac_test_CFLAGS" = set; then
14565 CFLAGS=$ac_save_CFLAGS
14566 elif test $ac_cv_prog_cc_g = yes; then
14567 if test "$GCC" = yes; then
14573 if test "$GCC" = yes; then
14579 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14580 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14581 if test "${ac_cv_prog_cc_c89+set}" = set; then
14582 echo $ECHO_N "(cached
) $ECHO_C" >&6
14584 ac_cv_prog_cc_c89=no
14586 cat >conftest.$ac_ext <<_ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592 #include <stdarg.h>
14594 #include <sys/types.h>
14595 #include <sys/stat.h>
14596 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14597 struct buf { int x; };
14598 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14599 static char *e (p, i)
14605 static char *f (char * (*g) (char **, int), char **p, ...)
14610 s = g (p, va_arg (v,int));
14615 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14616 function prototypes and stuff, but not '\xHH' hex character constants.
14617 These don't provoke an error unfortunately, instead are silently treated
14618 as 'x'. The following induces an error, until -std is added to get
14619 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14620 array size at least. It's necessary to write '\x00'==0 to get something
14621 that's true only with -std. */
14622 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14624 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14625 inside strings and character constants. */
14627 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14629 int test (int i, double x);
14630 struct s1 {int (*f) (int a);};
14631 struct s2 {int (*f) (double a);};
14632 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14638 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14643 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14644 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14646 CC="$ac_save_CC $ac_arg"
14647 rm -f conftest.$ac_objext
14648 if { (ac_try="$ac_compile"
14649 case "(($ac_try" in
14650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651 *) ac_try_echo=$ac_try;;
14653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14654 (eval "$ac_compile") 2>conftest.er1
14656 grep -v '^ *+' conftest.er1 >conftest.err
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14660 (exit $ac_status); } && {
14661 test -z "$ac_c_werror_flag" ||
14662 test ! -s conftest.err
14663 } && test -s conftest.$ac_objext; then
14664 ac_cv_prog_cc_c89=$ac_arg
14666 echo "$as_me: failed program was
:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14672 rm -f core conftest.err conftest.$ac_objext
14673 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14675 rm -f conftest.$ac_ext
14680 case "x
$ac_cv_prog_cc_c89" in
14682 { echo "$as_me:$LINENO: result
: none needed
" >&5
14683 echo "${ECHO_T}none needed
" >&6; } ;;
14685 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14686 echo "${ECHO_T}unsupported
" >&6; } ;;
14688 CC="$CC $ac_cv_prog_cc_c89"
14689 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14690 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14695 ac_cpp='$CPP $CPPFLAGS'
14696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14704 ac_cpp='$CPP $CPPFLAGS'
14705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14709 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14710 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14711 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14712 echo $ECHO_N "(cached
) $ECHO_C" >&6
14714 cat >conftest.$ac_ext <<_ACEOF
14717 cat confdefs.h >>conftest.$ac_ext
14718 cat >>conftest.$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14725 #ifndef __INTEL_COMPILER
14733 rm -f conftest.$ac_objext
14734 if { (ac_try="$ac_compile"
14735 case "(($ac_try" in
14736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14737 *) ac_try_echo=$ac_try;;
14739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14740 (eval "$ac_compile") 2>conftest.er1
14742 grep -v '^ *+' conftest.er1 >conftest.err
14744 cat conftest.err >&5
14745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14746 (exit $ac_status); } && {
14747 test -z "$ac_c_werror_flag" ||
14748 test ! -s conftest.err
14749 } && test -s conftest.$ac_objext; then
14750 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14752 echo "$as_me: failed program was
:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14755 bakefile_cv_c_compiler___INTEL_COMPILER=no
14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14763 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14764 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14765 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14771 ac_cpp='$CPP $CPPFLAGS'
14772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14779 if test "x
$GCC" != "xyes
"; then
14780 if test "xCC
" = "xC
"; then
14781 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14782 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14783 if test "${bakefile_cv_c_exto+set}" = set; then
14784 echo $ECHO_N "(cached
) $ECHO_C" >&6
14786 cat >conftest.$ac_ext <<_ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14801 rm -f conftest.$ac_objext conftest.$ac_ext.o
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>&5
14805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14806 (exit $ac_status); }; then
14807 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14809 conftest.$ac_ext.o)
14810 bakefile_cv_c_exto="-ext o
"
14817 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14818 See \
`config.log' for more details." >&5
14819 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14820 See \`config.log
' for more details." >&2;}
14821 { (exit 1); exit 1; }; }
14825 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14829 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14831 if test "c" = "c"; then
14832 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14834 if test "c" = "cxx"; then
14835 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14839 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14840 unset ac_cv_prog_cc_g
14841 ac_test_CFLAGS=${CFLAGS+set}
14842 ac_save_CFLAGS=$CFLAGS
14843 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14845 if test "${ac_cv_prog_cc_g+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 ac_save_c_werror_flag=$ac_c_werror_flag
14849 ac_c_werror_flag=yes
14852 cat >conftest.$ac_ext <<_ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14867 rm -f conftest.$ac_objext
14868 if { (ac_try="$ac_compile"
14869 case "(($ac_try" in
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_compile") 2>conftest.er1
14876 grep -v '^
*+' conftest.er1 >conftest.err
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } && {
14881 test -z "$ac_c_werror_flag" ||
14882 test ! -s conftest.err
14883 } && test -s conftest.$ac_objext; then
14884 ac_cv_prog_cc_g=yes
14886 echo "$as_me: failed program was:" >&5
14887 sed 's
/^
/| /' conftest.$ac_ext >&5
14890 cat >conftest.$ac_ext <<_ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14905 rm -f conftest.$ac_objext
14906 if { (ac_try="$ac_compile"
14907 case "(($ac_try" in
14908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909 *) ac_try_echo=$ac_try;;
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_compile") 2>conftest.er1
14914 grep -v '^
*+' conftest.er1 >conftest.err
14916 cat conftest.err >&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } && {
14919 test -z "$ac_c_werror_flag" ||
14920 test ! -s conftest.err
14921 } && test -s conftest.$ac_objext; then
14924 echo "$as_me: failed program was:" >&5
14925 sed 's
/^
/| /' conftest.$ac_ext >&5
14927 ac_c_werror_flag=$ac_save_c_werror_flag
14929 cat >conftest.$ac_ext <<_ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14944 rm -f conftest.$ac_objext
14945 if { (ac_try="$ac_compile"
14946 case "(($ac_try" in
14947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14948 *) ac_try_echo=$ac_try;;
14950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14951 (eval "$ac_compile") 2>conftest.er1
14953 grep -v '^
*+' conftest.er1 >conftest.err
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } && {
14958 test -z "$ac_c_werror_flag" ||
14959 test ! -s conftest.err
14960 } && test -s conftest.$ac_objext; then
14961 ac_cv_prog_cc_g=yes
14963 echo "$as_me: failed program was:" >&5
14964 sed 's
/^
/| /' conftest.$ac_ext >&5
14969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14976 ac_c_werror_flag=$ac_save_c_werror_flag
14978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14980 if test "$ac_test_CFLAGS" = set; then
14981 CFLAGS=$ac_save_CFLAGS
14982 elif test $ac_cv_prog_cc_g = yes; then
14983 if test "$GCC" = yes; then
14989 if test "$GCC" = yes; then
15003 ac_cpp='$CPP $CPPFLAGS'
15004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15005 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15008 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15009 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15010 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15011 echo $ECHO_N "(cached) $ECHO_C" >&6
15013 cat >conftest.$ac_ext <<_ACEOF
15016 cat confdefs.h >>conftest.$ac_ext
15017 cat >>conftest.$ac_ext <<_ACEOF
15018 /* end confdefs.h. */
15032 rm -f conftest.$ac_objext
15033 if { (ac_try="$ac_compile"
15034 case "(($ac_try" in
15035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15036 *) ac_try_echo=$ac_try;;
15038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15039 (eval "$ac_compile") 2>conftest.er1
15041 grep -v '^
*+' conftest.er1 >conftest.err
15043 cat conftest.err >&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); } && {
15046 test -z "$ac_c_werror_flag" ||
15047 test ! -s conftest.err
15048 } && test -s conftest.$ac_objext; then
15049 bakefile_cv_c_compiler___xlC__=yes
15051 echo "$as_me: failed program was:" >&5
15052 sed 's
/^
/| /' conftest.$ac_ext >&5
15054 bakefile_cv_c_compiler___xlC__=no
15058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15062 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15063 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15064 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15070 ac_cpp='$CPP $CPPFLAGS'
15071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15072 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15083 ac_cpp='$CPP $CPPFLAGS'
15084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15085 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15088 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15089 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15090 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15093 cat >conftest.$ac_ext <<_ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15112 rm -f conftest.$ac_objext
15113 if { (ac_try="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_compile") 2>conftest.er1
15121 grep -v '^
*+' conftest.er1 >conftest.err
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest.$ac_objext; then
15129 bakefile_cv_c_compiler___MWERKS__=yes
15131 echo "$as_me: failed program was:" >&5
15132 sed 's
/^
/| /' conftest.$ac_ext >&5
15134 bakefile_cv_c_compiler___MWERKS__=no
15138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15142 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15143 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15144 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15150 ac_cpp='$CPP $CPPFLAGS'
15151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15152 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160 ac_cpp='$CPP $CPPFLAGS'
15161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15162 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15165 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15166 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15167 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15168 echo $ECHO_N "(cached) $ECHO_C" >&6
15170 cat >conftest.$ac_ext <<_ACEOF
15173 cat confdefs.h >>conftest.$ac_ext
15174 cat >>conftest.$ac_ext <<_ACEOF
15175 /* end confdefs.h. */
15189 rm -f conftest.$ac_objext
15190 if { (ac_try="$ac_compile"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_compile") 2>conftest.er1
15198 grep -v '^
*+' conftest.er1 >conftest.err
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest.$ac_objext; then
15206 bakefile_cv_c_compiler___xlC__=yes
15208 echo "$as_me: failed program was:" >&5
15209 sed 's
/^
/| /' conftest.$ac_ext >&5
15211 bakefile_cv_c_compiler___xlC__=no
15215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15219 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15220 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15221 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15227 ac_cpp='$CPP $CPPFLAGS'
15228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15229 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15240 ac_cpp='$CPP $CPPFLAGS'
15241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15242 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15245 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15246 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15247 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 cat >conftest.$ac_ext <<_ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15261 #ifndef _SGI_COMPILER_VERSION
15269 rm -f conftest.$ac_objext
15270 if { (ac_try="$ac_compile"
15271 case "(($ac_try" in
15272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 *) ac_try_echo=$ac_try;;
15275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15276 (eval "$ac_compile") 2>conftest.er1
15278 grep -v '^
*+' conftest.er1 >conftest.err
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); } && {
15283 test -z "$ac_c_werror_flag" ||
15284 test ! -s conftest.err
15285 } && test -s conftest.$ac_objext; then
15286 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15288 echo "$as_me: failed program was:" >&5
15289 sed 's
/^
/| /' conftest.$ac_ext >&5
15291 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15300 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15301 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15307 ac_cpp='$CPP $CPPFLAGS'
15308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15309 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15320 ac_cpp='$CPP $CPPFLAGS'
15321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15322 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15325 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15326 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15327 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 cat >conftest.$ac_ext <<_ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15349 rm -f conftest.$ac_objext
15350 if { (ac_try="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15358 grep -v '^
*+' conftest.er1 >conftest.err
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_c_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.$ac_objext; then
15366 bakefile_cv_c_compiler___SUNPRO_C=yes
15368 echo "$as_me: failed program was:" >&5
15369 sed 's
/^
/| /' conftest.$ac_ext >&5
15371 bakefile_cv_c_compiler___SUNPRO_C=no
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15380 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15381 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15387 ac_cpp='$CPP $CPPFLAGS'
15388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15389 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15400 ac_cpp='$CPP $CPPFLAGS'
15401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15402 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15405 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15406 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15407 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 cat >conftest.$ac_ext <<_ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15429 rm -f conftest.$ac_objext
15430 if { (ac_try="$ac_compile"
15431 case "(($ac_try" in
15432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15433 *) ac_try_echo=$ac_try;;
15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15436 (eval "$ac_compile") 2>conftest.er1
15438 grep -v '^
*+' conftest.er1 >conftest.err
15440 cat conftest.err >&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); } && {
15443 test -z "$ac_c_werror_flag" ||
15444 test ! -s conftest.err
15445 } && test -s conftest.$ac_objext; then
15446 bakefile_cv_c_compiler___HP_cc=yes
15448 echo "$as_me: failed program was:" >&5
15449 sed 's
/^
/| /' conftest.$ac_ext >&5
15451 bakefile_cv_c_compiler___HP_cc=no
15455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15459 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15460 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15461 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15467 ac_cpp='$CPP $CPPFLAGS'
15468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15469 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15482 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15485 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15486 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15487 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 cat >conftest.$ac_ext <<_ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15509 rm -f conftest.$ac_objext
15510 if { (ac_try="$ac_compile"
15511 case "(($ac_try" in
15512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15513 *) ac_try_echo=$ac_try;;
15515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15516 (eval "$ac_compile") 2>conftest.er1
15518 grep -v '^
*+' conftest.er1 >conftest.err
15520 cat conftest.err >&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); } && {
15523 test -z "$ac_c_werror_flag" ||
15524 test ! -s conftest.err
15525 } && test -s conftest.$ac_objext; then
15526 bakefile_cv_c_compiler___DECC=yes
15528 echo "$as_me: failed program was:" >&5
15529 sed 's
/^
/| /' conftest.$ac_ext >&5
15531 bakefile_cv_c_compiler___DECC=no
15535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15539 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15540 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15541 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15547 ac_cpp='$CPP $CPPFLAGS'
15548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15549 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15560 ac_cpp='$CPP $CPPFLAGS'
15561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15562 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15566 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15567 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15570 cat >conftest.$ac_ext <<_ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15589 rm -f conftest.$ac_objext
15590 if { (ac_try="$ac_compile"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_compile") 2>conftest.er1
15598 grep -v '^
*+' conftest.er1 >conftest.err
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest.$ac_objext; then
15606 bakefile_cv_c_compiler___SUNPRO_C=yes
15608 echo "$as_me: failed program was:" >&5
15609 sed 's
/^
/| /' conftest.$ac_ext >&5
15611 bakefile_cv_c_compiler___SUNPRO_C=no
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15620 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15621 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15629 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15643 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15645 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15646 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15647 # On Suns, sometimes $CPP names a directory.
15648 if test -n "$CPP" && test -d "$CPP"; then
15651 if test -z "$CPP"; then
15652 if test "${ac_cv_prog_CPP+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 # Double quotes because CPP needs to be expanded
15656 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15658 ac_preproc_ok=false
15659 for ac_c_preproc_warn_flag in '' yes
15661 # Use a header file that comes with gcc, so configuring glibc
15662 # with a fresh cross-compiler works.
15663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15664 # <limits.h> exists even on freestanding compilers.
15665 # On the NeXT, cc -E runs the code through the compiler's parser
,
15666 # not just through cpp. "Syntax error" is here to catch this case.
15667 cat >conftest.
$ac_ext <<_ACEOF
15670 cat confdefs.h
>>conftest.
$ac_ext
15671 cat >>conftest.
$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15674 # include <limits.h>
15676 # include <assert.h>
15680 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15681 case "(($ac_try" in
15682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15683 *) ac_try_echo=$ac_try;;
15685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15688 grep -v '^ *+' conftest.er1 >conftest.err
15690 cat conftest.err >&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); } >/dev/null && {
15693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15694 test ! -s conftest.err
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15701 # Broken: fails on valid input.
15705 rm -f conftest.err conftest.$ac_ext
15707 # OK, works on sane cases. Now check whether nonexistent headers
15708 # can be detected and how.
15709 cat >conftest.$ac_ext <<_ACEOF
15712 cat confdefs.h >>conftest.$ac_ext
15713 cat >>conftest.$ac_ext <<_ACEOF
15714 /* end confdefs.h. */
15715 #include <ac_nonexistent.h>
15717 if { (ac_try="$ac_cpp conftest.$ac_ext"
15718 case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15720 *) ac_try_echo
=$ac_try;;
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15725 grep -v '^ *+' conftest.er1
>conftest.err
15727 cat conftest.err
>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } >/dev
/null
&& {
15730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15731 test ! -s conftest.err
15733 # Broken: success on invalid input.
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.
$ac_ext >&5
15739 # Passes both tests.
15744 rm -f conftest.err conftest.
$ac_ext
15747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15748 rm -f conftest.err conftest.
$ac_ext
15749 if $ac_preproc_ok; then
15754 ac_cv_prog_CPP
=$CPP
15757 CPP
=$ac_cv_prog_CPP
15759 ac_cv_prog_CPP
=$CPP
15761 { echo "$as_me:$LINENO: result: $CPP" >&5
15762 echo "${ECHO_T}$CPP" >&6; }
15763 ac_preproc_ok
=false
15764 for ac_c_preproc_warn_flag
in '' yes
15766 # Use a header file that comes with gcc, so configuring glibc
15767 # with a fresh cross-compiler works.
15768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15769 # <limits.h> exists even on freestanding compilers.
15770 # On the NeXT, cc -E runs the code through the compiler's parser,
15771 # not just through cpp. "Syntax error" is here to catch this case.
15772 cat >conftest.
$ac_ext <<_ACEOF
15775 cat confdefs.h
>>conftest.
$ac_ext
15776 cat >>conftest.
$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15779 # include <limits.h>
15781 # include <assert.h>
15785 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15786 case "(($ac_try" in
15787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15793 grep -v '^ *+' conftest.er1 >conftest.err
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } >/dev/null && {
15798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15799 test ! -s conftest.err
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.$ac_ext >&5
15806 # Broken: fails on valid input.
15810 rm -f conftest.err conftest.$ac_ext
15812 # OK, works on sane cases. Now check whether nonexistent headers
15813 # can be detected and how.
15814 cat >conftest.$ac_ext <<_ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15820 #include <ac_nonexistent.h>
15822 if { (ac_try="$ac_cpp conftest.$ac_ext"
15823 case "(($ac_try" in
15824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15825 *) ac_try_echo
=$ac_try;;
15827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15830 grep -v '^ *+' conftest.er1
>conftest.err
15832 cat conftest.err
>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } >/dev
/null
&& {
15835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15836 test ! -s conftest.err
15838 # Broken: success on invalid input.
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.
$ac_ext >&5
15844 # Passes both tests.
15849 rm -f conftest.err conftest.
$ac_ext
15852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15853 rm -f conftest.err conftest.
$ac_ext
15854 if $ac_preproc_ok; then
15857 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15858 See \`config.log' for more details." >&5
15859 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15860 See \`config.log' for more details." >&2;}
15861 { (exit 1); exit 1; }; }
15865 ac_cpp
='$CPP $CPPFLAGS'
15866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15871 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15872 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15873 if test "${ac_cv_path_GREP+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 # Extract the first word of "grep ggrep" to use in msg output
15877 if test -z "$GREP"; then
15878 set dummy
grep ggrep
; ac_prog_name
=$2
15879 if test "${ac_cv_path_GREP+set}" = set; then
15880 echo $ECHO_N "(cached) $ECHO_C" >&6
15882 ac_path_GREP_found
=false
15883 # Loop through the user's path and test for each of PROGNAME-LIST
15884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15885 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15888 test -z "$as_dir" && as_dir
=.
15889 for ac_prog
in grep ggrep
; do
15890 for ac_exec_ext
in '' $ac_executable_extensions; do
15891 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15892 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15893 # Check for GNU ac_path_GREP and select it if it is found.
15894 # Check for GNU $ac_path_GREP
15895 case `"$ac_path_GREP" --version 2>&1` in
15897 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15900 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15903 cat "conftest.in" "conftest.in" >"conftest.tmp"
15904 mv "conftest.tmp" "conftest.in"
15905 cp "conftest.in" "conftest.nl"
15906 echo 'GREP' >> "conftest.nl"
15907 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15908 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15909 ac_count
=`expr $ac_count + 1`
15910 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15911 # Best one so far, save it but keep looking for a better one
15912 ac_cv_path_GREP
="$ac_path_GREP"
15913 ac_path_GREP_max
=$ac_count
15915 # 10*(2^10) chars as input seems more than enough
15916 test $ac_count -gt 10 && break
15918 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15922 $ac_path_GREP_found && break 3
15932 GREP
="$ac_cv_path_GREP"
15933 if test -z "$GREP"; then
15934 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15935 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15936 { (exit 1); exit 1; }; }
15940 ac_cv_path_GREP
=$GREP
15945 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15946 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15947 GREP
="$ac_cv_path_GREP"
15950 { echo "$as_me:$LINENO: checking for egrep" >&5
15951 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15952 if test "${ac_cv_path_EGREP+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
15956 then ac_cv_path_EGREP
="$GREP -E"
15958 # Extract the first word of "egrep" to use in msg output
15959 if test -z "$EGREP"; then
15960 set dummy
egrep; ac_prog_name
=$2
15961 if test "${ac_cv_path_EGREP+set}" = set; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 ac_path_EGREP_found
=false
15965 # Loop through the user's path and test for each of PROGNAME-LIST
15966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15967 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15970 test -z "$as_dir" && as_dir
=.
15971 for ac_prog
in egrep; do
15972 for ac_exec_ext
in '' $ac_executable_extensions; do
15973 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15974 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15975 # Check for GNU ac_path_EGREP and select it if it is found.
15976 # Check for GNU $ac_path_EGREP
15977 case `"$ac_path_EGREP" --version 2>&1` in
15979 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15982 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15985 cat "conftest.in" "conftest.in" >"conftest.tmp"
15986 mv "conftest.tmp" "conftest.in"
15987 cp "conftest.in" "conftest.nl"
15988 echo 'EGREP' >> "conftest.nl"
15989 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15990 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15991 ac_count
=`expr $ac_count + 1`
15992 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15993 # Best one so far, save it but keep looking for a better one
15994 ac_cv_path_EGREP
="$ac_path_EGREP"
15995 ac_path_EGREP_max
=$ac_count
15997 # 10*(2^10) chars as input seems more than enough
15998 test $ac_count -gt 10 && break
16000 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16004 $ac_path_EGREP_found && break 3
16014 EGREP
="$ac_cv_path_EGREP"
16015 if test -z "$EGREP"; then
16016 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16017 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16018 { (exit 1); exit 1; }; }
16022 ac_cv_path_EGREP
=$EGREP
16028 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16029 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16030 EGREP
="$ac_cv_path_EGREP"
16033 if test $ac_cv_c_compiler_gnu = yes; then
16034 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16035 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16036 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 ac_pattern
="Autoconf.*'x'"
16040 cat >conftest.
$ac_ext <<_ACEOF
16043 cat confdefs.h
>>conftest.
$ac_ext
16044 cat >>conftest.
$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16050 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16051 ac_cv_prog_gcc_traditional
=yes
16053 ac_cv_prog_gcc_traditional
=no
16058 if test $ac_cv_prog_gcc_traditional = no
; then
16059 cat >conftest.
$ac_ext <<_ACEOF
16062 cat confdefs.h
>>conftest.
$ac_ext
16063 cat >>conftest.
$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 #include <termio.h>
16068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16069 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16070 ac_cv_prog_gcc_traditional
=yes
16076 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16077 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16078 if test $ac_cv_prog_gcc_traditional = yes; then
16079 CC
="$CC -traditional"
16084 CXXFLAGS
=${CXXFLAGS:=}
16089 ac_cpp
='$CXXCPP $CPPFLAGS'
16090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16093 if test -z "$CXX"; then
16094 if test -n "$CCC"; then
16097 if test -n "$ac_tool_prefix"; then
16098 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16101 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16104 if test "${ac_cv_prog_CXX+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 if test -n "$CXX"; then
16108 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16111 for as_dir
in $PATH
16114 test -z "$as_dir" && as_dir
=.
16115 for ac_exec_ext
in '' $ac_executable_extensions; do
16116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16117 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16127 CXX
=$ac_cv_prog_CXX
16128 if test -n "$CXX"; then
16129 { echo "$as_me:$LINENO: result: $CXX" >&5
16130 echo "${ECHO_T}$CXX" >&6; }
16132 { echo "$as_me:$LINENO: result: no" >&5
16133 echo "${ECHO_T}no" >&6; }
16137 test -n "$CXX" && break
16140 if test -z "$CXX"; then
16142 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16144 # Extract the first word of "$ac_prog", so it can be a program name with args.
16145 set dummy
$ac_prog; ac_word
=$2
16146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16148 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16149 echo $ECHO_N "(cached) $ECHO_C" >&6
16151 if test -n "$ac_ct_CXX"; then
16152 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16155 for as_dir
in $PATH
16158 test -z "$as_dir" && as_dir
=.
16159 for ac_exec_ext
in '' $ac_executable_extensions; do
16160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16161 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16171 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16172 if test -n "$ac_ct_CXX"; then
16173 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16174 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16176 { echo "$as_me:$LINENO: result: no" >&5
16177 echo "${ECHO_T}no" >&6; }
16181 test -n "$ac_ct_CXX" && break
16184 if test "x$ac_ct_CXX" = x
; then
16187 case $cross_compiling:$ac_tool_warned in
16189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16190 whose name does not start with the host triplet. If you think this
16191 configuration is useful to you, please write to autoconf@gnu.org." >&5
16192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16193 whose name does not start with the host triplet. If you think this
16194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16195 ac_tool_warned
=yes ;;
16203 # Provide some information about the compiler.
16204 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16205 ac_compiler
=`set X $ac_compile; echo $2`
16206 { (ac_try
="$ac_compiler --version >&5"
16207 case "(($ac_try" in
16208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16209 *) ac_try_echo=$ac_try;;
16211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16212 (eval "$ac_compiler --version >&5") 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }
16216 { (ac_try="$ac_compiler -v >&5"
16217 case "(($ac_try" in
16218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16219 *) ac_try_echo
=$ac_try;;
16221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16222 (eval "$ac_compiler -v >&5") 2>&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); }
16226 { (ac_try
="$ac_compiler -V >&5"
16227 case "(($ac_try" in
16228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_compiler -V >&5") 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }
16237 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16238 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16239 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16240 echo $ECHO_N "(cached) $ECHO_C" >&6
16242 cat >conftest.$ac_ext <<_ACEOF
16245 cat confdefs.h >>conftest.$ac_ext
16246 cat >>conftest.$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16260 rm -f conftest.$ac_objext
16261 if { (ac_try="$ac_compile"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16264 *) ac_try_echo
=$ac_try;;
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compile") 2>conftest.er1
16269 grep -v '^ *+' conftest.er1
>conftest.err
16271 cat conftest.err
>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } && {
16274 test -z "$ac_cxx_werror_flag" ||
16275 test ! -s conftest.err
16276 } && test -s conftest.
$ac_objext; then
16277 ac_compiler_gnu
=yes
16279 echo "$as_me: failed program was:" >&5
16280 sed 's/^/| /' conftest.
$ac_ext >&5
16285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16286 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16289 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16290 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16291 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16292 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16293 ac_save_CXXFLAGS
=$CXXFLAGS
16294 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16295 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16296 if test "${ac_cv_prog_cxx_g+set}" = set; then
16297 echo $ECHO_N "(cached) $ECHO_C" >&6
16299 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16300 ac_cxx_werror_flag
=yes
16301 ac_cv_prog_cxx_g
=no
16303 cat >conftest.
$ac_ext <<_ACEOF
16306 cat confdefs.h
>>conftest.
$ac_ext
16307 cat >>conftest.
$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16318 rm -f conftest.
$ac_objext
16319 if { (ac_try
="$ac_compile"
16320 case "(($ac_try" in
16321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16322 *) ac_try_echo=$ac_try;;
16324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16325 (eval "$ac_compile") 2>conftest.er1
16327 grep -v '^ *+' conftest.er1 >conftest.err
16329 cat conftest.err >&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } && {
16332 test -z "$ac_cxx_werror_flag" ||
16333 test ! -s conftest.err
16334 } && test -s conftest.$ac_objext; then
16335 ac_cv_prog_cxx_g=yes
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16341 cat >conftest.$ac_ext <<_ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16356 rm -f conftest.$ac_objext
16357 if { (ac_try="$ac_compile"
16358 case "(($ac_try" in
16359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16360 *) ac_try_echo
=$ac_try;;
16362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16363 (eval "$ac_compile") 2>conftest.er1
16365 grep -v '^ *+' conftest.er1
>conftest.err
16367 cat conftest.err
>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && {
16370 test -z "$ac_cxx_werror_flag" ||
16371 test ! -s conftest.err
16372 } && test -s conftest.
$ac_objext; then
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.
$ac_ext >&5
16378 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16380 cat >conftest.
$ac_ext <<_ACEOF
16383 cat confdefs.h
>>conftest.
$ac_ext
16384 cat >>conftest.
$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16395 rm -f conftest.
$ac_objext
16396 if { (ac_try
="$ac_compile"
16397 case "(($ac_try" in
16398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16399 *) ac_try_echo=$ac_try;;
16401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16402 (eval "$ac_compile") 2>conftest.er1
16404 grep -v '^ *+' conftest.er1 >conftest.err
16406 cat conftest.err >&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } && {
16409 test -z "$ac_cxx_werror_flag" ||
16410 test ! -s conftest.err
16411 } && test -s conftest.$ac_objext; then
16412 ac_cv_prog_cxx_g=yes
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16427 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16429 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16430 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16431 if test "$ac_test_CXXFLAGS" = set; then
16432 CXXFLAGS=$ac_save_CXXFLAGS
16433 elif test $ac_cv_prog_cxx_g = yes; then
16434 if test "$GXX" = yes; then
16440 if test "$GXX" = yes; then
16447 ac_cpp='$CPP $CPPFLAGS'
16448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16456 ac_cpp='$CXXCPP $CPPFLAGS'
16457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16461 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16462 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16463 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16464 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 cat >conftest.$ac_ext <<_ACEOF
16469 cat confdefs.h >>conftest.$ac_ext
16470 cat >>conftest.$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16477 #ifndef __INTEL_COMPILER
16485 rm -f conftest.$ac_objext
16486 if { (ac_try="$ac_compile"
16487 case "(($ac_try" in
16488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16489 *) ac_try_echo
=$ac_try;;
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_compile") 2>conftest.er1
16494 grep -v '^ *+' conftest.er1
>conftest.err
16496 cat conftest.err
>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } && {
16499 test -z "$ac_cxx_werror_flag" ||
16500 test ! -s conftest.err
16501 } && test -s conftest.
$ac_objext; then
16502 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.
$ac_ext >&5
16507 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16515 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16516 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16517 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16523 ac_cpp
='$CPP $CPPFLAGS'
16524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16531 if test "x$GCXX" != "xyes"; then
16532 if test "xCXX" = "xC"; then
16533 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16534 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16535 if test "${bakefile_cv_c_exto+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 cat >conftest.
$ac_ext <<_ACEOF
16541 cat confdefs.h
>>conftest.
$ac_ext
16542 cat >>conftest.
$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16553 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; then
16559 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16561 conftest.
$ac_ext.o
)
16562 bakefile_cv_c_exto
="-ext o"
16569 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16570 See \`config.log' for more details." >&5
16571 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16572 See \`config.log' for more details." >&2;}
16573 { (exit 1); exit 1; }; }
16577 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16580 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16581 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16582 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16583 if test "c" = "c"; then
16584 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16586 if test "c" = "cxx"; then
16587 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16591 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16592 unset ac_cv_prog_cc_g
16593 ac_test_CFLAGS
=${CFLAGS+set}
16594 ac_save_CFLAGS
=$CFLAGS
16595 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16596 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16597 if test "${ac_cv_prog_cc_g+set}" = set; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16600 ac_save_c_werror_flag
=$ac_c_werror_flag
16601 ac_c_werror_flag
=yes
16604 cat >conftest.
$ac_ext <<_ACEOF
16607 cat confdefs.h
>>conftest.
$ac_ext
16608 cat >>conftest.
$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16619 rm -f conftest.
$ac_objext
16620 if { (ac_try
="$ac_compile"
16621 case "(($ac_try" in
16622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compile") 2>conftest.er1
16628 grep -v '^ *+' conftest.er1 >conftest.err
16630 cat conftest.err >&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } && {
16633 test -z "$ac_c_werror_flag" ||
16634 test ! -s conftest.err
16635 } && test -s conftest.$ac_objext; then
16636 ac_cv_prog_cc_g=yes
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16642 cat >conftest.$ac_ext <<_ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16657 rm -f conftest.$ac_objext
16658 if { (ac_try="$ac_compile"
16659 case "(($ac_try" in
16660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16661 *) ac_try_echo
=$ac_try;;
16663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16664 (eval "$ac_compile") 2>conftest.er1
16666 grep -v '^ *+' conftest.er1
>conftest.err
16668 cat conftest.err
>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } && {
16671 test -z "$ac_c_werror_flag" ||
16672 test ! -s conftest.err
16673 } && test -s conftest.
$ac_objext; then
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.
$ac_ext >&5
16679 ac_c_werror_flag
=$ac_save_c_werror_flag
16681 cat >conftest.
$ac_ext <<_ACEOF
16684 cat confdefs.h
>>conftest.
$ac_ext
16685 cat >>conftest.
$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16696 rm -f conftest.
$ac_objext
16697 if { (ac_try
="$ac_compile"
16698 case "(($ac_try" in
16699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16700 *) ac_try_echo=$ac_try;;
16702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16703 (eval "$ac_compile") 2>conftest.er1
16705 grep -v '^ *+' conftest.er1 >conftest.err
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } && {
16710 test -z "$ac_c_werror_flag" ||
16711 test ! -s conftest.err
16712 } && test -s conftest.$ac_objext; then
16713 ac_cv_prog_cc_g=yes
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16728 ac_c_werror_flag=$ac_save_c_werror_flag
16730 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16731 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16732 if test "$ac_test_CFLAGS" = set; then
16733 CFLAGS=$ac_save_CFLAGS
16734 elif test $ac_cv_prog_cc_g = yes; then
16735 if test "$GCC" = yes; then
16741 if test "$GCC" = yes; then
16755 ac_cpp='$CXXCPP $CPPFLAGS'
16756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16760 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16761 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16762 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16765 cat >conftest.$ac_ext <<_ACEOF
16768 cat confdefs.h >>conftest.$ac_ext
16769 cat >>conftest.$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16784 rm -f conftest.$ac_objext
16785 if { (ac_try="$ac_compile"
16786 case "(($ac_try" in
16787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16788 *) ac_try_echo
=$ac_try;;
16790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16791 (eval "$ac_compile") 2>conftest.er1
16793 grep -v '^ *+' conftest.er1
>conftest.err
16795 cat conftest.err
>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } && {
16798 test -z "$ac_cxx_werror_flag" ||
16799 test ! -s conftest.err
16800 } && test -s conftest.
$ac_objext; then
16801 bakefile_cv_cxx_compiler___xlC__
=yes
16803 echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.
$ac_ext >&5
16806 bakefile_cv_cxx_compiler___xlC__
=no
16810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16814 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16815 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16816 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16822 ac_cpp
='$CPP $CPPFLAGS'
16823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16835 ac_cpp
='$CXXCPP $CPPFLAGS'
16836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16840 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16841 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16842 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16843 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 cat >conftest.
$ac_ext <<_ACEOF
16848 cat confdefs.h
>>conftest.
$ac_ext
16849 cat >>conftest.
$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16864 rm -f conftest.
$ac_objext
16865 if { (ac_try
="$ac_compile"
16866 case "(($ac_try" in
16867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16868 *) ac_try_echo=$ac_try;;
16870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16871 (eval "$ac_compile") 2>conftest.er1
16873 grep -v '^ *+' conftest.er1 >conftest.err
16875 cat conftest.err >&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } && {
16878 test -z "$ac_cxx_werror_flag" ||
16879 test ! -s conftest.err
16880 } && test -s conftest.$ac_objext; then
16881 bakefile_cv_cxx_compiler___MWERKS__=yes
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.$ac_ext >&5
16886 bakefile_cv_cxx_compiler___MWERKS__=no
16890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16894 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16895 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16896 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16902 ac_cpp='$CPP $CPPFLAGS'
16903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16912 ac_cpp='$CXXCPP $CPPFLAGS'
16913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16917 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16918 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16919 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 cat >conftest.$ac_ext <<_ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16941 rm -f conftest.$ac_objext
16942 if { (ac_try="$ac_compile"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16945 *) ac_try_echo
=$ac_try;;
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compile") 2>conftest.er1
16950 grep -v '^ *+' conftest.er1
>conftest.err
16952 cat conftest.err
>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } && {
16955 test -z "$ac_cxx_werror_flag" ||
16956 test ! -s conftest.err
16957 } && test -s conftest.
$ac_objext; then
16958 bakefile_cv_cxx_compiler___xlC__
=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 bakefile_cv_cxx_compiler___xlC__
=no
16967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16971 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16972 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16973 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16979 ac_cpp
='$CPP $CPPFLAGS'
16980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16992 ac_cpp
='$CXXCPP $CPPFLAGS'
16993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16997 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16998 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16999 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17002 cat >conftest.
$ac_ext <<_ACEOF
17005 cat confdefs.h
>>conftest.
$ac_ext
17006 cat >>conftest.
$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17013 #ifndef _SGI_COMPILER_VERSION
17021 rm -f conftest.
$ac_objext
17022 if { (ac_try
="$ac_compile"
17023 case "(($ac_try" in
17024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17025 *) ac_try_echo=$ac_try;;
17027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028 (eval "$ac_compile") 2>conftest.er1
17030 grep -v '^ *+' conftest.er1 >conftest.err
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } && {
17035 test -z "$ac_cxx_werror_flag" ||
17036 test ! -s conftest.err
17037 } && test -s conftest.$ac_objext; then
17038 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17051 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17052 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17053 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17059 ac_cpp='$CPP $CPPFLAGS'
17060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17072 ac_cpp='$CXXCPP $CPPFLAGS'
17073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17077 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17078 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17079 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 cat >conftest.$ac_ext <<_ACEOF
17085 cat confdefs.h >>conftest.$ac_ext
17086 cat >>conftest.$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17093 #ifndef __SUNPRO_CC
17101 rm -f conftest.$ac_objext
17102 if { (ac_try="$ac_compile"
17103 case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17105 *) ac_try_echo
=$ac_try;;
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_compile") 2>conftest.er1
17110 grep -v '^ *+' conftest.er1
>conftest.err
17112 cat conftest.err
>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } && {
17115 test -z "$ac_cxx_werror_flag" ||
17116 test ! -s conftest.err
17117 } && test -s conftest.
$ac_objext; then
17118 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17120 echo "$as_me: failed program was:" >&5
17121 sed 's/^/| /' conftest.
$ac_ext >&5
17123 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17131 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17132 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17133 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17139 ac_cpp
='$CPP $CPPFLAGS'
17140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17152 ac_cpp
='$CXXCPP $CPPFLAGS'
17153 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17154 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17155 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17157 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17158 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17159 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 cat >conftest.
$ac_ext <<_ACEOF
17165 cat confdefs.h
>>conftest.
$ac_ext
17166 cat >>conftest.
$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17181 rm -f conftest.
$ac_objext
17182 if { (ac_try
="$ac_compile"
17183 case "(($ac_try" in
17184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17185 *) ac_try_echo=$ac_try;;
17187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17188 (eval "$ac_compile") 2>conftest.er1
17190 grep -v '^ *+' conftest.er1 >conftest.err
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } && {
17195 test -z "$ac_cxx_werror_flag" ||
17196 test ! -s conftest.err
17197 } && test -s conftest.$ac_objext; then
17198 bakefile_cv_cxx_compiler___HP_aCC=yes
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17203 bakefile_cv_cxx_compiler___HP_aCC=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17211 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17212 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17213 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17219 ac_cpp='$CPP $CPPFLAGS'
17220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17232 ac_cpp='$CXXCPP $CPPFLAGS'
17233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17237 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17238 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17239 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17240 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 cat >conftest.$ac_ext <<_ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17265 *) ac_try_echo
=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_cxx_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.
$ac_objext; then
17278 bakefile_cv_cxx_compiler___DECCXX
=yes
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.
$ac_ext >&5
17283 bakefile_cv_cxx_compiler___DECCXX
=no
17287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17291 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17292 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17293 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17299 ac_cpp
='$CPP $CPPFLAGS'
17300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17312 ac_cpp
='$CXXCPP $CPPFLAGS'
17313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17317 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17318 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17319 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 cat >conftest.
$ac_ext <<_ACEOF
17325 cat confdefs.h
>>conftest.
$ac_ext
17326 cat >>conftest.
$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17333 #ifndef __SUNPRO_CC
17341 rm -f conftest.
$ac_objext
17342 if { (ac_try
="$ac_compile"
17343 case "(($ac_try" in
17344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17345 *) ac_try_echo=$ac_try;;
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_compile") 2>conftest.er1
17350 grep -v '^ *+' conftest.er1 >conftest.err
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } && {
17355 test -z "$ac_cxx_werror_flag" ||
17356 test ! -s conftest.err
17357 } && test -s conftest.$ac_objext; then
17358 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17360 echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.$ac_ext >&5
17363 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17371 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17372 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17373 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17392 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17393 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17394 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17395 { (exit 1); exit 1; }; }
17398 if test "x$SUNCXX" != xyes; then
17399 if test -n "$ac_tool_prefix"; then
17400 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17401 set dummy ${ac_tool_prefix}ar; ac_word=$2
17402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17404 if test "${ac_cv_prog_AR+set}" = set; then
17405 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 if test -n "$AR"; then
17408 ac_cv_prog_AR="$AR" # Let the user override the test.
17410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17411 for as_dir in $PATH
17414 test -z "$as_dir" && as_dir=.
17415 for ac_exec_ext in '' $ac_executable_extensions; do
17416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17417 ac_cv_prog_AR="${ac_tool_prefix}ar"
17418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17428 if test -n "$AR"; then
17429 { echo "$as_me:$LINENO: result: $AR" >&5
17430 echo "${ECHO_T}$AR" >&6; }
17432 { echo "$as_me:$LINENO: result: no" >&5
17433 echo "${ECHO_T}no" >&6; }
17438 if test -z "$ac_cv_prog_AR"; then
17440 # Extract the first word of "ar", so it can be a program name with args.
17441 set dummy ar; ac_word=$2
17442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17444 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 if test -n "$ac_ct_AR"; then
17448 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17451 for as_dir in $PATH
17454 test -z "$as_dir" && as_dir=.
17455 for ac_exec_ext in '' $ac_executable_extensions; do
17456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17457 ac_cv_prog_ac_ct_AR="ar"
17458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17467 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17468 if test -n "$ac_ct_AR"; then
17469 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17470 echo "${ECHO_T}$ac_ct_AR" >&6; }
17472 { echo "$as_me:$LINENO: result: no" >&5
17473 echo "${ECHO_T}no" >&6; }
17476 if test "x$ac_ct_AR" = x; then
17479 case $cross_compiling:$ac_tool_warned in
17481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17482 whose name does not start with the host triplet. If you think this
17483 configuration is useful to you, please write to autoconf@gnu.org." >&5
17484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17485 whose name does not start with the host triplet. If you think this
17486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17487 ac_tool_warned=yes ;;
17492 AR="$ac_cv_prog_AR"
17495 if test "x$AR" = "x" ; then
17496 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17497 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17498 { (exit 1); exit 1; }; }
17502 retest_macosx_linking=no
17504 #if test "$wxUSE_MAC" = 1; then
17505 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17506 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17507 # Implicitly turn on the new --with-macosx-sdk using the default
17508 # SDK which provides the behavior this option has always had.
17509 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17510 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17511 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17512 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17513 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17514 wxUSE_MACOSX_SDK=yes
17517 # Complain to user if he specified an argument to --enable-universal_binary
17518 # and also 1) specified --with-macosx-sdk using the default (yes) or
17519 # 2) specified --with-macosx-sdk using a path or 3) specified
17520 # --without-macosx-sdk (no).
17521 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17522 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17523 See \`config.log
' for more details." >&5
17524 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17525 See \`config.log' for more details.
" >&2;}
17526 { (exit 1); exit 1; }; }
17528 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17529 # special-case the empty string because the below test simply
17530 # converts "no
" to the empty string anyway.
17531 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17532 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17533 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17536 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17537 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17538 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17539 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17540 retest_macosx_linking=yes
17542 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17543 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17548 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17550 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17551 # TODO: Search for most recent SDK and use it.
17552 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17556 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17557 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17558 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17559 if ! test -d "$wxUSE_MACOSX_SDK"; then
17560 { { echo "$as_me:$LINENO: error
: not found
17561 See \
`config.log' for more details." >&5
17562 echo "$as_me: error: not found
17563 See \`config.log
' for more details." >&2;}
17564 { (exit 1); exit 1; }; }
17566 { echo "$as_me:$LINENO: result: exists" >&5
17567 echo "${ECHO_T}exists" >&6; }
17569 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17570 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17571 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17572 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17573 retest_macosx_linking=yes
17576 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17577 wxUSE_MACOSX_VERSION_MIN=
17578 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17579 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17580 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17581 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17583 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/'`
17585 # If that failed, try again with the new key
17586 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17588 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/'`
17592 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17593 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17594 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17595 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17597 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17598 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17599 wxUSE_MACOSX_VERSION_MIN=
17602 wxUSE_MACOSX_VERSION_MIN=
17606 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17607 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17608 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17609 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17610 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17611 retest_macosx_linking=yes
17614 if test "x$retest_macosx_linking" = "xyes"; then
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17618 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17622 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17623 cat >conftest.$ac_ext <<_ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17638 rm -f conftest.$ac_objext conftest$ac_exeext
17639 if { (ac_try="$ac_link"
17640 case "(($ac_try" in
17641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17642 *) ac_try_echo=$ac_try;;
17644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17645 (eval "$ac_link") 2>conftest.er1
17647 grep -v '^
*+' conftest.er1 >conftest.err
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } && {
17652 test -z "$ac_c_werror_flag" ||
17653 test ! -s conftest.err
17654 } && test -s conftest$ac_exeext &&
17655 $as_test_x conftest$ac_exeext; then
17656 { echo "$as_me:$LINENO: result: yes" >&5
17657 echo "${ECHO_T}yes" >&6; }
17659 echo "$as_me: failed program was:" >&5
17660 sed 's
/^
/| /' conftest.$ac_ext >&5
17662 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17663 See \`config.log' for more details.
" >&5
17664 echo "$as_me: error
: no. Try a different SDK
17665 See \
`config.log' for more details." >&2;}
17666 { (exit 1); exit 1; }; }; exit 1
17669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17670 conftest$ac_exeext conftest.$ac_ext
17672 ac_cpp='$CPP $CPPFLAGS'
17673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17679 ac_cpp='$CXXCPP $CPPFLAGS'
17680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17684 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17685 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17686 cat >conftest.$ac_ext <<_ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17701 rm -f conftest.$ac_objext conftest$ac_exeext
17702 if { (ac_try="$ac_link"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17705 *) ac_try_echo
=$ac_try;;
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_link") 2>conftest.er1
17710 grep -v '^ *+' conftest.er1
>conftest.err
17712 cat conftest.err
>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_cxx_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest
$ac_exeext &&
17718 $as_test_x conftest
$ac_exeext; then
17719 { echo "$as_me:$LINENO: result: yes" >&5
17720 echo "${ECHO_T}yes" >&6; }
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.
$ac_ext >&5
17725 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17726 See \`config.log' for more details." >&5
17727 echo "$as_me: error: no. Try a different SDK
17728 See \`config.log' for more details." >&2;}
17729 { (exit 1); exit 1; }; }; exit 1
17732 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17733 conftest
$ac_exeext conftest.
$ac_ext
17735 ac_cpp
='$CPP $CPPFLAGS'
17736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17746 INSTALL_PROGRAM
="cp -fp"
17747 INSTALL_DATA
="cp -fp"
17754 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17755 CXXFLAGS
="-qunique $CXXFLAGS"
17759 powerpc
-*-darwin* )
17760 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17761 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17762 cat >conftest.
$ac_ext <<_ACEOF
17765 cat confdefs.h
>>conftest.
$ac_ext
17766 cat >>conftest.
$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17772 #ifndef __POWERPC__
17773 choke me for lack of PowerPC
17780 rm -f conftest.
$ac_objext
17781 if { (ac_try
="$ac_compile"
17782 case "(($ac_try" in
17783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787 (eval "$ac_compile") 2>conftest.er1
17789 grep -v '^ *+' conftest.er1 >conftest.err
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } && {
17794 test -z "$ac_c_werror_flag" ||
17795 test ! -s conftest.err
17796 } && test -s conftest.$ac_objext; then
17797 { echo "$as_me:$LINENO: result: yes" >&5
17798 echo "${ECHO_T}yes" >&6; }
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.$ac_ext >&5
17803 { echo "$as_me:$LINENO: result: no" >&5
17804 echo "${ECHO_T}no" >&6; }
17805 cat >>confdefs.h <<\_ACEOF
17806 #define __POWERPC__ 1
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17818 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17819 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17820 cat >conftest.$ac_ext <<_ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 #include <CoreFoundation/CFBase.h>
17836 rm -f conftest.$ac_objext
17837 if { (ac_try="$ac_compile"
17838 case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17840 *) ac_try_echo
=$ac_try;;
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_compile") 2>conftest.er1
17845 grep -v '^ *+' conftest.er1
>conftest.err
17847 cat conftest.err
>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } && {
17850 test -z "$ac_c_werror_flag" ||
17851 test ! -s conftest.err
17852 } && test -s conftest.
$ac_objext; then
17853 { echo "$as_me:$LINENO: result: yes" >&5
17854 echo "${ECHO_T}yes" >&6; }
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.
$ac_ext >&5
17859 { echo "$as_me:$LINENO: result: no" >&5
17860 echo "${ECHO_T}no" >&6; }
17861 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17862 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17863 cat >conftest.
$ac_ext <<_ACEOF
17866 cat confdefs.h
>>conftest.
$ac_ext
17867 cat >>conftest.
$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 #define __CF_USE_FRAMEWORK_INCLUDES__
17870 #include <CoreFoundation/CFBase.h>
17880 rm -f conftest.
$ac_objext
17881 if { (ac_try
="$ac_compile"
17882 case "(($ac_try" in
17883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17884 *) ac_try_echo=$ac_try;;
17886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17887 (eval "$ac_compile") 2>conftest.er1
17889 grep -v '^ *+' conftest.er1 >conftest.err
17891 cat conftest.err >&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } && {
17894 test -z "$ac_c_werror_flag" ||
17895 test ! -s conftest.err
17896 } && test -s conftest.$ac_objext; then
17897 { echo "$as_me:$LINENO: result: yes" >&5
17898 echo "${ECHO_T}yes" >&6; }
17899 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17904 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17905 See \`config.log
' for more details." >&5
17906 echo "$as_me: error: no. CoreFoundation not available.
17907 See \`config.log' for more details.
" >&2;}
17908 { (exit 1); exit 1; }; }
17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17922 doesnt_want_win32=0
17925 if test "$wxUSE_MSW" = 1 ; then
17928 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17929 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17930 if test "${wx_cv_nocygwin+set}" = set; then
17931 echo $ECHO_N "(cached
) $ECHO_C" >&6
17934 cat >conftest.$ac_ext <<_ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17962 grep -v '^ *+' conftest.er1 >conftest.err
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_c_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17972 echo "$as_me: failed program was
:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17984 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17986 if test "$wx_cv_nocygwin" = "yes"; then
17989 doesnt_want_win32=1
17992 if test "$wants_win32" = 1 ; then
17993 BAKEFILE_FORCE_PLATFORM=win32
18001 if test "$wxUSE_WINE" = "yes"; then
18003 LDFLAGS_GUI="-mwindows"
18006 if test "$wants_win32" = 1 ; then
18009 cat >>confdefs.h <<\_ACEOF
18010 #define __WIN32__ 1
18013 cat >>confdefs.h <<\_ACEOF
18014 #define __WIN95__ 1
18017 cat >>confdefs.h <<\_ACEOF
18018 #define __WINDOWS__ 1
18021 cat >>confdefs.h <<\_ACEOF
18022 #define __GNUWIN32__ 1
18025 cat >>confdefs.h <<\_ACEOF
18030 if test "$doesnt_want_win32" = 1 ; then
18035 if test "$USE_UNIX" = 1 ; then
18037 cat >>confdefs.h <<\_ACEOF
18044 *-pc-os2_emx | *-pc-os2-emx )
18045 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18046 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18047 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18048 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18049 echo $ECHO_N "(cached
) $ECHO_C" >&6
18051 ac_check_lib_save_LIBS=$LIBS
18052 LIBS="-lcExt $LIBS"
18053 cat >conftest.$ac_ext <<_ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18075 rm -f conftest.$ac_objext conftest$ac_exeext
18076 if { (ac_try="$ac_link"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_link") 2>conftest.er1
18084 grep -v '^ *+' conftest.er1 >conftest.err
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_c_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest$ac_exeext &&
18092 $as_test_x conftest$ac_exeext; then
18093 ac_cv_lib_cExt_drand48=yes
18095 echo "$as_me: failed program was
:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18098 ac_cv_lib_cExt_drand48=no
18101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18102 conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_check_lib_save_LIBS
18105 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18106 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18107 if test $ac_cv_lib_cExt_drand48 = yes; then
18108 LIBS="$LIBS -lcExt"
18112 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18114 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18115 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18116 if test "${wx_cv_gccversion+set}" = set; then
18117 echo $ECHO_N "(cached
) $ECHO_C" >&6
18120 if test "$cross_compiling" = yes; then
18121 wx_cv_gccversion="EMX2
"
18124 cat >conftest.$ac_ext <<_ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18135 FILE *f=fopen("conftestval
", "w
");
18140 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18142 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18152 rm -f conftest$ac_exeext
18153 if { (ac_try="$ac_link"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_link") 2>&5
18161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18163 { (case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18167 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_try") 2>&5
18170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 wx_cv_gccversion=`cat conftestval`
18174 echo "$as_me: program exited with status
$ac_status" >&5
18175 echo "$as_me: failed program was
:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18178 ( exit $ac_status )
18179 wx_cv_gccversion="EMX2
"
18181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18187 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18188 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18189 if test "$wx_cv_gccversion" = "EMX2
"; then
18190 LIBS="$LIBS -lstdcpp"
18191 LDFLAGS="$LDFLAGS -Zsysv-signals"
18193 if test "$wx_cv_gccversion" = "EMX3
"; then
18194 LIBS="$LIBS -lstdcxx -lgcc"
18195 LDFLAGS="$LDFLAGS -Zsysv-signals"
18197 LIBS="$LIBS -lstdc++"
18200 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18201 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18202 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18209 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18210 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18211 if test "${ac_cv_string_strcasecmp+set}" = set; then
18212 echo $ECHO_N "(cached
) $ECHO_C" >&6
18215 cat >conftest.$ac_ext <<_ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18222 #include <string.h>
18228 strcasecmp("foo
", "bar
");
18234 rm -f conftest.$ac_objext conftest$ac_exeext
18235 if { (ac_try="$ac_link"
18236 case "(($ac_try" in
18237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238 *) ac_try_echo=$ac_try;;
18240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18241 (eval "$ac_link") 2>conftest.er1
18243 grep -v '^ *+' conftest.er1 >conftest.err
18245 cat conftest.err >&5
18246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_c_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest$ac_exeext &&
18251 $as_test_x conftest$ac_exeext; then
18252 ac_cv_string_strcasecmp=yes
18254 echo "$as_me: failed program was
:" >&5
18255 sed 's/^/| /' conftest.$ac_ext >&5
18257 ac_cv_string_strcasecmp=no
18261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18262 conftest$ac_exeext conftest.$ac_ext
18265 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18266 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18268 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18269 cat >>confdefs.h <<\_ACEOF
18270 #define HAVE_STRCASECMP_IN_STRING_H 1
18274 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18275 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18276 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18277 echo $ECHO_N "(cached
) $ECHO_C" >&6
18280 cat >conftest.$ac_ext <<_ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18287 #include <strings.h>
18293 strcasecmp("foo
", "bar
");
18299 rm -f conftest.$ac_objext conftest$ac_exeext
18300 if { (ac_try="$ac_link"
18301 case "(($ac_try" in
18302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18303 *) ac_try_echo=$ac_try;;
18305 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18306 (eval "$ac_link") 2>conftest.er1
18308 grep -v '^ *+' conftest.er1 >conftest.err
18310 cat conftest.err >&5
18311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18312 (exit $ac_status); } && {
18313 test -z "$ac_c_werror_flag" ||
18314 test ! -s conftest.err
18315 } && test -s conftest$ac_exeext &&
18316 $as_test_x conftest$ac_exeext; then
18317 ac_cv_strings_strcasecmp=yes
18319 echo "$as_me: failed program was
:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18322 ac_cv_strings_strcasecmp=no
18326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18327 conftest$ac_exeext conftest.$ac_ext
18330 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18331 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18333 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18334 cat >>confdefs.h <<\_ACEOF
18335 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18339 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18340 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18341 { (exit 1); exit 1; }; }
18349 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18350 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18351 if test "${ac_cv_header_stdc+set}" = set; then
18352 echo $ECHO_N "(cached
) $ECHO_C" >&6
18354 cat >conftest.$ac_ext <<_ACEOF
18357 cat confdefs.h >>conftest.$ac_ext
18358 cat >>conftest.$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 #include <stdlib.h>
18361 #include <stdarg.h>
18362 #include <string.h>
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18382 grep -v '^ *+' conftest.er1 >conftest.err
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_cv_header_stdc=yes
18392 echo "$as_me: failed program was
:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 ac_cv_header_stdc=no
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 if test $ac_cv_header_stdc = yes; then
18401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18402 cat >conftest.$ac_ext <<_ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408 #include <string.h>
18411 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18412 $EGREP "memchr
" >/dev/null 2>&1; then
18415 ac_cv_header_stdc=no
18421 if test $ac_cv_header_stdc = yes; then
18422 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18423 cat >conftest.$ac_ext <<_ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429 #include <stdlib.h>
18432 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18433 $EGREP "free
" >/dev/null 2>&1; then
18436 ac_cv_header_stdc=no
18442 if test $ac_cv_header_stdc = yes; then
18443 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18444 if test "$cross_compiling" = yes; then
18447 cat >conftest.$ac_ext <<_ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18454 #include <stdlib.h>
18455 #if ((' ' & 0x0FF) == 0x020)
18456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18459 # define ISLOWER(c) \
18460 (('a' <= (c) && (c) <= 'i') \
18461 || ('j' <= (c) && (c) <= 'r') \
18462 || ('s' <= (c) && (c) <= 'z'))
18463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18471 for (i = 0; i < 256; i++)
18472 if (XOR (islower (i), ISLOWER (i))
18473 || toupper (i) != TOUPPER (i))
18478 rm -f conftest$ac_exeext
18479 if { (ac_try="$ac_link"
18480 case "(($ac_try" in
18481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18482 *) ac_try_echo=$ac_try;;
18484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_link") 2>&5
18487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18489 { (case "(($ac_try" in
18490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18491 *) ac_try_echo=$ac_try;;
18493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18494 (eval "$ac_try") 2>&5
18496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18497 (exit $ac_status); }; }; then
18500 echo "$as_me: program exited with status
$ac_status" >&5
18501 echo "$as_me: failed program was
:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 ( exit $ac_status )
18505 ac_cv_header_stdc=no
18507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18513 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18514 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18515 if test $ac_cv_header_stdc = yes; then
18517 cat >>confdefs.h <<\_ACEOF
18518 #define STDC_HEADERS 1
18523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18533 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18534 inttypes.h stdint.h unistd.h
18536 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18537 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18538 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18539 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18540 echo $ECHO_N "(cached
) $ECHO_C" >&6
18542 cat >conftest.$ac_ext <<_ACEOF
18545 cat confdefs.h >>conftest.$ac_ext
18546 cat >>conftest.$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 $ac_includes_default
18550 #include <$ac_header>
18552 rm -f conftest.$ac_objext
18553 if { (ac_try="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18561 grep -v '^ *+' conftest.er1 >conftest.err
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 eval "$as_ac_Header=yes"
18571 echo "$as_me: failed program was
:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 eval "$as_ac_Header=no
"
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 ac_res=`eval echo '${'$as_ac_Header'}'`
18580 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18581 echo "${ECHO_T}$ac_res" >&6; }
18582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18594 for ac_header in langinfo.h wchar.h
18596 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18597 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18598 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18599 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18600 echo $ECHO_N "(cached
) $ECHO_C" >&6
18602 cat >conftest.$ac_ext <<_ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 $ac_includes_default
18610 #include <$ac_header>
18612 rm -f conftest.$ac_objext
18613 if { (ac_try="$ac_compile"
18614 case "(($ac_try" in
18615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18616 *) ac_try_echo=$ac_try;;
18618 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18619 (eval "$ac_compile") 2>conftest.er1
18621 grep -v '^ *+' conftest.er1 >conftest.err
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18625 (exit $ac_status); } && {
18626 test -z "$ac_c_werror_flag" ||
18627 test ! -s conftest.err
18628 } && test -s conftest.$ac_objext; then
18629 eval "$as_ac_Header=yes"
18631 echo "$as_me: failed program was
:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18634 eval "$as_ac_Header=no
"
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18639 ac_res=`eval echo '${'$as_ac_Header'}'`
18640 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18641 echo "${ECHO_T}$ac_res" >&6; }
18642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18643 cat >>confdefs.h <<_ACEOF
18644 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18652 if test "$ac_cv_header_wchar_h" != "yes"; then
18654 for ac_header in wcstr.h
18656 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18657 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18658 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18659 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18660 echo $ECHO_N "(cached
) $ECHO_C" >&6
18662 cat >conftest.$ac_ext <<_ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 $ac_includes_default
18670 #include <$ac_header>
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18681 grep -v '^ *+' conftest.er1 >conftest.err
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 eval "$as_ac_Header=yes"
18691 echo "$as_me: failed program was
:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 eval "$as_ac_Header=no
"
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 ac_res=`eval echo '${'$as_ac_Header'}'`
18700 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18701 echo "${ECHO_T}$ac_res" >&6; }
18702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18714 *-pc-os2_emx | *-pc-os2-emx )
18715 if test $ac_cv_header_langinfo_h = "yes" \
18716 -a \( "$wx_cv_gccversion" = "EMX2
" \
18717 -o "$wx_cv_gccversion" = "EMX3
" \
18718 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18719 LIBS="$LIBS -lintl"
18724 if test "$USE_UNIX" = 1 ; then
18726 for ac_header in sys/select.h
18728 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18729 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18730 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18731 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18732 echo $ECHO_N "(cached
) $ECHO_C" >&6
18734 cat >conftest.$ac_ext <<_ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 $ac_includes_default
18742 #include <$ac_header>
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18753 grep -v '^ *+' conftest.er1 >conftest.err
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.$ac_objext; then
18761 eval "$as_ac_Header=yes"
18763 echo "$as_me: failed program was
:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18766 eval "$as_ac_Header=no
"
18769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18771 ac_res=`eval echo '${'$as_ac_Header'}'`
18772 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18773 echo "${ECHO_T}$ac_res" >&6; }
18774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18775 cat >>confdefs.h <<_ACEOF
18776 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18786 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18787 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18788 if test "${ac_cv_c_const+set}" = set; then
18789 echo $ECHO_N "(cached
) $ECHO_C" >&6
18791 cat >conftest.$ac_ext <<_ACEOF
18794 cat confdefs.h >>conftest.$ac_ext
18795 cat >>conftest.$ac_ext <<_ACEOF
18796 /* end confdefs.h. */
18801 /* FIXME: Include the comments suggested by Paul. */
18802 #ifndef __cplusplus
18803 /* Ultrix mips cc rejects this. */
18804 typedef int charset[2];
18806 /* SunOS 4.1.1 cc rejects this. */
18807 char const *const *pcpcc;
18809 /* NEC SVR4.0.2 mips cc rejects this. */
18810 struct point {int x, y;};
18811 static struct point const zero = {0,0};
18812 /* AIX XL C 1.02.0.0 rejects this.
18813 It does not let you subtract one const X* pointer from another in
18814 an arm of an if-expression whose if-part is not a constant
18816 const char *g = "string
";
18817 pcpcc = &g + (g ? g-g : 0);
18818 /* HPUX 7.0 cc rejects these. */
18820 ppc = (char**) pcpcc;
18821 pcpcc = (char const *const *) ppc;
18822 { /* SCO 3.2v4 cc rejects this. */
18824 char const *s = 0 ? (char *) 0 : (char const *) 0;
18829 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18830 int x[] = {25, 17};
18831 const int *foo = &x[0];
18834 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18835 typedef const int *iptr;
18839 { /* AIX XL C 1.02.0.0 rejects this saying
18840 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18841 struct s { int j; const int *ap[3]; };
18842 struct s *b; b->j = 5;
18844 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18845 const int foo = 10;
18846 if (!foo) return 0;
18848 return !cs[0] && !zero.x;
18855 rm -f conftest.$ac_objext
18856 if { (ac_try="$ac_compile"
18857 case "(($ac_try" in
18858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18859 *) ac_try_echo=$ac_try;;
18861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18862 (eval "$ac_compile") 2>conftest.er1
18864 grep -v '^ *+' conftest.er1 >conftest.err
18866 cat conftest.err >&5
18867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18868 (exit $ac_status); } && {
18869 test -z "$ac_c_werror_flag" ||
18870 test ! -s conftest.err
18871 } && test -s conftest.$ac_objext; then
18874 echo "$as_me: failed program was
:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18882 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18883 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18884 if test $ac_cv_c_const = no; then
18886 cat >>confdefs.h <<\_ACEOF
18892 { echo "$as_me:$LINENO: checking
for inline
" >&5
18893 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18894 if test "${ac_cv_c_inline+set}" = set; then
18895 echo $ECHO_N "(cached
) $ECHO_C" >&6
18898 for ac_kw in inline __inline__ __inline; do
18899 cat >conftest.$ac_ext <<_ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #ifndef __cplusplus
18907 static $ac_kw foo_t static_foo () {return 0; }
18908 $ac_kw foo_t foo () {return 0; }
18912 rm -f conftest.$ac_objext
18913 if { (ac_try="$ac_compile"
18914 case "(($ac_try" in
18915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18916 *) ac_try_echo=$ac_try;;
18918 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18919 (eval "$ac_compile") 2>conftest.er1
18921 grep -v '^ *+' conftest.er1 >conftest.err
18923 cat conftest.err >&5
18924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18925 (exit $ac_status); } && {
18926 test -z "$ac_c_werror_flag" ||
18927 test ! -s conftest.err
18928 } && test -s conftest.$ac_objext; then
18929 ac_cv_c_inline=$ac_kw
18931 echo "$as_me: failed program was
:" >&5
18932 sed 's/^/| /' conftest.$ac_ext >&5
18937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18938 test "$ac_cv_c_inline" != no && break
18942 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18943 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18946 case $ac_cv_c_inline in
18949 case $ac_cv_c_inline in
18951 *) ac_val=$ac_cv_c_inline;;
18953 cat >>confdefs.h <<_ACEOF
18954 #ifndef __cplusplus
18955 #define inline $ac_val
18962 { echo "$as_me:$LINENO: checking
for short
" >&5
18963 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18964 if test "${ac_cv_type_short+set}" = set; then
18965 echo $ECHO_N "(cached
) $ECHO_C" >&6
18967 cat >conftest.$ac_ext <<_ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 $ac_includes_default
18974 typedef short ac__type_new_;
18978 if ((ac__type_new_ *) 0)
18980 if (sizeof (ac__type_new_))
18986 rm -f conftest.$ac_objext
18987 if { (ac_try="$ac_compile"
18988 case "(($ac_try" in
18989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18990 *) ac_try_echo=$ac_try;;
18992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18993 (eval "$ac_compile") 2>conftest.er1
18995 grep -v '^ *+' conftest.er1 >conftest.err
18997 cat conftest.err >&5
18998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18999 (exit $ac_status); } && {
19000 test -z "$ac_c_werror_flag" ||
19001 test ! -s conftest.err
19002 } && test -s conftest.$ac_objext; then
19003 ac_cv_type_short=yes
19005 echo "$as_me: failed program was
:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19008 ac_cv_type_short=no
19011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19013 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19014 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19016 # The cast to long int works around a bug in the HP C Compiler
19017 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19018 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19019 # This bug is HP SR number 8606223364.
19020 { echo "$as_me:$LINENO: checking size of short
" >&5
19021 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19022 if test "${ac_cv_sizeof_short+set}" = set; then
19023 echo $ECHO_N "(cached
) $ECHO_C" >&6
19025 if test "$cross_compiling" = yes; then
19026 # Depending upon the size, compute the lo and hi bounds.
19027 cat >conftest.$ac_ext <<_ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 $ac_includes_default
19034 typedef short ac__type_sizeof_;
19038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19054 grep -v '^ *+' conftest.er1 >conftest.err
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19064 cat >conftest.$ac_ext <<_ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 $ac_includes_default
19071 typedef short ac__type_sizeof_;
19075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19082 rm -f conftest.$ac_objext
19083 if { (ac_try="$ac_compile"
19084 case "(($ac_try" in
19085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19086 *) ac_try_echo=$ac_try;;
19088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19089 (eval "$ac_compile") 2>conftest.er1
19091 grep -v '^ *+' conftest.er1 >conftest.err
19093 cat conftest.err >&5
19094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19095 (exit $ac_status); } && {
19096 test -z "$ac_c_werror_flag" ||
19097 test ! -s conftest.err
19098 } && test -s conftest.$ac_objext; then
19099 ac_hi=$ac_mid; break
19101 echo "$as_me: failed program was
:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19104 ac_lo=`expr $ac_mid + 1`
19105 if test $ac_lo -le $ac_mid; then
19109 ac_mid=`expr 2 '*' $ac_mid + 1`
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115 echo "$as_me: failed program was
:" >&5
19116 sed 's/^/| /' conftest.$ac_ext >&5
19118 cat >conftest.$ac_ext <<_ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124 $ac_includes_default
19125 typedef short ac__type_sizeof_;
19129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19145 grep -v '^ *+' conftest.er1 >conftest.err
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_c_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19155 cat >conftest.$ac_ext <<_ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19162 typedef short ac__type_sizeof_;
19166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19173 rm -f conftest.$ac_objext
19174 if { (ac_try="$ac_compile"
19175 case "(($ac_try" in
19176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19182 grep -v '^ *+' conftest.er1 >conftest.err
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19186 (exit $ac_status); } && {
19187 test -z "$ac_c_werror_flag" ||
19188 test ! -s conftest.err
19189 } && test -s conftest.$ac_objext; then
19190 ac_lo=$ac_mid; break
19192 echo "$as_me: failed program was
:" >&5
19193 sed 's/^/| /' conftest.$ac_ext >&5
19195 ac_hi=`expr '(' $ac_mid ')' - 1`
19196 if test $ac_mid -le $ac_hi; then
19200 ac_mid=`expr 2 '*' $ac_mid`
19203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19206 echo "$as_me: failed program was
:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 # Binary search between lo and hi bounds.
19217 while test "x
$ac_lo" != "x
$ac_hi"; do
19218 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19219 cat >conftest.$ac_ext <<_ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 $ac_includes_default
19226 typedef short ac__type_sizeof_;
19230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19237 rm -f conftest.$ac_objext
19238 if { (ac_try="$ac_compile"
19239 case "(($ac_try" in
19240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19241 *) ac_try_echo=$ac_try;;
19243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19244 (eval "$ac_compile") 2>conftest.er1
19246 grep -v '^ *+' conftest.er1 >conftest.err
19248 cat conftest.err >&5
19249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19250 (exit $ac_status); } && {
19251 test -z "$ac_c_werror_flag" ||
19252 test ! -s conftest.err
19253 } && test -s conftest.$ac_objext; then
19256 echo "$as_me: failed program was
:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19259 ac_lo=`expr '(' $ac_mid ')' + 1`
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265 ?*) ac_cv_sizeof_short=$ac_lo;;
19266 '') if test "$ac_cv_type_short" = yes; then
19267 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19268 See \
`config.log' for more details." >&5
19269 echo "$as_me: error: cannot compute sizeof (short)
19270 See \`config.log
' for more details." >&2;}
19271 { (exit 77); exit 77; }; }
19273 ac_cv_sizeof_short=0
19277 cat >conftest.$ac_ext <<_ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19284 typedef short ac__type_sizeof_;
19285 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19286 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19288 #include <stdlib.h>
19293 FILE *f = fopen ("conftest.val", "w");
19296 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19298 long int i = longval ();
19299 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19301 fprintf (f, "%ld\n", i);
19305 unsigned long int i = ulongval ();
19306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19308 fprintf (f, "%lu\n", i);
19310 return ferror (f) || fclose (f) != 0;
19316 rm -f conftest$ac_exeext
19317 if { (ac_try="$ac_link"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_link") 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19327 { (case "(($ac_try" in
19328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19329 *) ac_try_echo=$ac_try;;
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_try") 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; }; then
19336 ac_cv_sizeof_short=`cat conftest.val`
19338 echo "$as_me: program exited with status $ac_status" >&5
19339 echo "$as_me: failed program was:" >&5
19340 sed 's
/^
/| /' conftest.$ac_ext >&5
19342 ( exit $ac_status )
19343 if test "$ac_cv_type_short" = yes; then
19344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19345 See \`config.log' for more details.
" >&5
19346 echo "$as_me: error
: cannot compute sizeof
(short
)
19347 See \
`config.log' for more details." >&2;}
19348 { (exit 77); exit 77; }; }
19350 ac_cv_sizeof_short=0
19353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19357 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19358 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19362 cat >>confdefs.h <<_ACEOF
19363 #define SIZEOF_SHORT $ac_cv_sizeof_short
19367 { echo "$as_me:$LINENO: checking for void *" >&5
19368 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19369 if test "${ac_cv_type_void_p+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 cat >conftest.$ac_ext <<_ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19379 typedef void * ac__type_new_;
19383 if ((ac__type_new_ *) 0)
19385 if (sizeof (ac__type_new_))
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19395 *) ac_try_echo
=$ac_try;;
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19400 grep -v '^ *+' conftest.er1
>conftest.err
19402 cat conftest.err
>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.
$ac_objext; then
19408 ac_cv_type_void_p
=yes
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.
$ac_ext >&5
19413 ac_cv_type_void_p
=no
19416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19418 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19419 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19421 # The cast to long int works around a bug in the HP C Compiler
19422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19424 # This bug is HP SR number 8606223364.
19425 { echo "$as_me:$LINENO: checking size of void *" >&5
19426 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19427 if test "${ac_cv_sizeof_void_p+set}" = set; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19430 if test "$cross_compiling" = yes; then
19431 # Depending upon the size, compute the lo and hi bounds.
19432 cat >conftest.
$ac_ext <<_ACEOF
19435 cat confdefs.h
>>conftest.
$ac_ext
19436 cat >>conftest.
$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 $ac_includes_default
19439 typedef void * ac__type_sizeof_;
19443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19450 rm -f conftest.
$ac_objext
19451 if { (ac_try
="$ac_compile"
19452 case "(($ac_try" in
19453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19454 *) ac_try_echo=$ac_try;;
19456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19457 (eval "$ac_compile") 2>conftest.er1
19459 grep -v '^ *+' conftest.er1 >conftest.err
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } && {
19464 test -z "$ac_c_werror_flag" ||
19465 test ! -s conftest.err
19466 } && test -s conftest.$ac_objext; then
19469 cat >conftest.$ac_ext <<_ACEOF
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475 $ac_includes_default
19476 typedef void * ac__type_sizeof_;
19480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19487 rm -f conftest.$ac_objext
19488 if { (ac_try="$ac_compile"
19489 case "(($ac_try" in
19490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19491 *) ac_try_echo
=$ac_try;;
19493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_compile") 2>conftest.er1
19496 grep -v '^ *+' conftest.er1
>conftest.err
19498 cat conftest.err
>&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest.
$ac_objext; then
19504 ac_hi
=$ac_mid; break
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.
$ac_ext >&5
19509 ac_lo
=`expr $ac_mid + 1`
19510 if test $ac_lo -le $ac_mid; then
19514 ac_mid
=`expr 2 '*' $ac_mid + 1`
19517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.
$ac_ext >&5
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 typedef void * ac__type_sizeof_;
19534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19541 rm -f conftest.
$ac_objext
19542 if { (ac_try
="$ac_compile"
19543 case "(($ac_try" in
19544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19545 *) ac_try_echo=$ac_try;;
19547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19550 grep -v '^ *+' conftest.er1 >conftest.err
19552 cat conftest.err >&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19560 cat >conftest.$ac_ext <<_ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19566 $ac_includes_default
19567 typedef void * ac__type_sizeof_;
19571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19578 rm -f conftest.$ac_objext
19579 if { (ac_try="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19582 *) ac_try_echo
=$ac_try;;
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19587 grep -v '^ *+' conftest.er1
>conftest.err
19589 cat conftest.err
>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.
$ac_objext; then
19595 ac_lo
=$ac_mid; break
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.
$ac_ext >&5
19600 ac_hi
=`expr '(' $ac_mid ')' - 1`
19601 if test $ac_mid -le $ac_hi; then
19605 ac_mid
=`expr 2 '*' $ac_mid`
19608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.
$ac_ext >&5
19617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19621 # Binary search between lo and hi bounds.
19622 while test "x$ac_lo" != "x$ac_hi"; do
19623 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19624 cat >conftest.
$ac_ext <<_ACEOF
19627 cat confdefs.h
>>conftest.
$ac_ext
19628 cat >>conftest.
$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 $ac_includes_default
19631 typedef void * ac__type_sizeof_;
19635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19642 rm -f conftest.
$ac_objext
19643 if { (ac_try
="$ac_compile"
19644 case "(($ac_try" in
19645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19646 *) ac_try_echo=$ac_try;;
19648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19649 (eval "$ac_compile") 2>conftest.er1
19651 grep -v '^ *+' conftest.er1 >conftest.err
19653 cat conftest.err >&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } && {
19656 test -z "$ac_c_werror_flag" ||
19657 test ! -s conftest.err
19658 } && test -s conftest.$ac_objext; then
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19664 ac_lo=`expr '(' $ac_mid ')' + 1`
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19670 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19671 '') if test "$ac_cv_type_void_p" = yes; then
19672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19673 See \`config.log
' for more details." >&5
19674 echo "$as_me: error: cannot compute sizeof (void *)
19675 See \`config.log' for more details.
" >&2;}
19676 { (exit 77); exit 77; }; }
19678 ac_cv_sizeof_void_p=0
19682 cat >conftest.$ac_ext <<_ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688 $ac_includes_default
19689 typedef void * ac__type_sizeof_;
19690 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19691 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19693 #include <stdlib.h>
19698 FILE *f = fopen ("conftest.val
", "w
");
19701 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19703 long int i = longval ();
19704 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19706 fprintf (f, "%ld
\n", i);
19710 unsigned long int i = ulongval ();
19711 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19713 fprintf (f, "%lu
\n", i);
19715 return ferror (f) || fclose (f) != 0;
19721 rm -f conftest$ac_exeext
19722 if { (ac_try="$ac_link"
19723 case "(($ac_try" in
19724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19725 *) ac_try_echo=$ac_try;;
19727 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_link") 2>&5
19730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19732 { (case "(($ac_try" in
19733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_try") 2>&5
19739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19740 (exit $ac_status); }; }; then
19741 ac_cv_sizeof_void_p=`cat conftest.val`
19743 echo "$as_me: program exited with status
$ac_status" >&5
19744 echo "$as_me: failed program was
:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19747 ( exit $ac_status )
19748 if test "$ac_cv_type_void_p" = yes; then
19749 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19750 See \
`config.log' for more details." >&5
19751 echo "$as_me: error: cannot compute sizeof (void *)
19752 See \`config.log
' for more details." >&2;}
19753 { (exit 77); exit 77; }; }
19755 ac_cv_sizeof_void_p=0
19758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19762 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19763 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19767 cat >>confdefs.h <<_ACEOF
19768 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19772 { echo "$as_me:$LINENO: checking for int" >&5
19773 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19774 if test "${ac_cv_type_int+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19777 cat >conftest.$ac_ext <<_ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 typedef int ac__type_new_;
19788 if ((ac__type_new_ *) 0)
19790 if (sizeof (ac__type_new_))
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19805 grep -v '^
*+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19815 echo "$as_me: failed program was:" >&5
19816 sed 's
/^
/| /' conftest.$ac_ext >&5
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19824 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19826 # The cast to long int works around a bug in the HP C Compiler
19827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19829 # This bug is HP SR number 8606223364.
19830 { echo "$as_me:$LINENO: checking size of int" >&5
19831 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19832 if test "${ac_cv_sizeof_int+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 if test "$cross_compiling" = yes; then
19836 # Depending upon the size, compute the lo and hi bounds.
19837 cat >conftest.
$ac_ext <<_ACEOF
19840 cat confdefs.h
>>conftest.
$ac_ext
19841 cat >>conftest.
$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 $ac_includes_default
19844 typedef int ac__type_sizeof_;
19848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19855 rm -f conftest.
$ac_objext
19856 if { (ac_try
="$ac_compile"
19857 case "(($ac_try" in
19858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19862 (eval "$ac_compile") 2>conftest.er1
19864 grep -v '^ *+' conftest.er1 >conftest.err
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } && {
19869 test -z "$ac_c_werror_flag" ||
19870 test ! -s conftest.err
19871 } && test -s conftest.$ac_objext; then
19874 cat >conftest.$ac_ext <<_ACEOF
19877 cat confdefs.h >>conftest.$ac_ext
19878 cat >>conftest.$ac_ext <<_ACEOF
19879 /* end confdefs.h. */
19880 $ac_includes_default
19881 typedef int ac__type_sizeof_;
19885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19892 rm -f conftest.$ac_objext
19893 if { (ac_try="$ac_compile"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19896 *) ac_try_echo
=$ac_try;;
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_compile") 2>conftest.er1
19901 grep -v '^ *+' conftest.er1
>conftest.err
19903 cat conftest.err
>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } && {
19906 test -z "$ac_c_werror_flag" ||
19907 test ! -s conftest.err
19908 } && test -s conftest.
$ac_objext; then
19909 ac_hi
=$ac_mid; break
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19914 ac_lo
=`expr $ac_mid + 1`
19915 if test $ac_lo -le $ac_mid; then
19919 ac_mid
=`expr 2 '*' $ac_mid + 1`
19922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.
$ac_ext >&5
19928 cat >conftest.
$ac_ext <<_ACEOF
19931 cat confdefs.h
>>conftest.
$ac_ext
19932 cat >>conftest.
$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 $ac_includes_default
19935 typedef int ac__type_sizeof_;
19939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19946 rm -f conftest.
$ac_objext
19947 if { (ac_try
="$ac_compile"
19948 case "(($ac_try" in
19949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19950 *) ac_try_echo=$ac_try;;
19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953 (eval "$ac_compile") 2>conftest.er1
19955 grep -v '^ *+' conftest.er1 >conftest.err
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } && {
19960 test -z "$ac_c_werror_flag" ||
19961 test ! -s conftest.err
19962 } && test -s conftest.$ac_objext; then
19965 cat >conftest.$ac_ext <<_ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 $ac_includes_default
19972 typedef int ac__type_sizeof_;
19976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19983 rm -f conftest.$ac_objext
19984 if { (ac_try="$ac_compile"
19985 case "(($ac_try" in
19986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19987 *) ac_try_echo
=$ac_try;;
19989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19990 (eval "$ac_compile") 2>conftest.er1
19992 grep -v '^ *+' conftest.er1
>conftest.err
19994 cat conftest.err
>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } && {
19997 test -z "$ac_c_werror_flag" ||
19998 test ! -s conftest.err
19999 } && test -s conftest.
$ac_objext; then
20000 ac_lo
=$ac_mid; break
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.
$ac_ext >&5
20005 ac_hi
=`expr '(' $ac_mid ')' - 1`
20006 if test $ac_mid -le $ac_hi; then
20010 ac_mid
=`expr 2 '*' $ac_mid`
20013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.
$ac_ext >&5
20022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20026 # Binary search between lo and hi bounds.
20027 while test "x$ac_lo" != "x$ac_hi"; do
20028 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20029 cat >conftest.
$ac_ext <<_ACEOF
20032 cat confdefs.h
>>conftest.
$ac_ext
20033 cat >>conftest.
$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 $ac_includes_default
20036 typedef int ac__type_sizeof_;
20040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20047 rm -f conftest.
$ac_objext
20048 if { (ac_try
="$ac_compile"
20049 case "(($ac_try" in
20050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20051 *) ac_try_echo=$ac_try;;
20053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20054 (eval "$ac_compile") 2>conftest.er1
20056 grep -v '^ *+' conftest.er1 >conftest.err
20058 cat conftest.err >&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } && {
20061 test -z "$ac_c_werror_flag" ||
20062 test ! -s conftest.err
20063 } && test -s conftest.$ac_objext; then
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.$ac_ext >&5
20069 ac_lo=`expr '(' $ac_mid ')' + 1`
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 ?*) ac_cv_sizeof_int=$ac_lo;;
20076 '') if test "$ac_cv_type_int" = yes; then
20077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20078 See \`config.log
' for more details." >&5
20079 echo "$as_me: error: cannot compute sizeof (int)
20080 See \`config.log' for more details.
" >&2;}
20081 { (exit 77); exit 77; }; }
20087 cat >conftest.$ac_ext <<_ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 $ac_includes_default
20094 typedef int ac__type_sizeof_;
20095 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20096 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20098 #include <stdlib.h>
20103 FILE *f = fopen ("conftest.val
", "w
");
20106 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20108 long int i = longval ();
20109 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20111 fprintf (f, "%ld
\n", i);
20115 unsigned long int i = ulongval ();
20116 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20118 fprintf (f, "%lu
\n", i);
20120 return ferror (f) || fclose (f) != 0;
20126 rm -f conftest$ac_exeext
20127 if { (ac_try="$ac_link"
20128 case "(($ac_try" in
20129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20130 *) ac_try_echo=$ac_try;;
20132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20133 (eval "$ac_link") 2>&5
20135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20137 { (case "(($ac_try" in
20138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_try") 2>&5
20144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 ac_cv_sizeof_int=`cat conftest.val`
20148 echo "$as_me: program exited with status
$ac_status" >&5
20149 echo "$as_me: failed program was
:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20152 ( exit $ac_status )
20153 if test "$ac_cv_type_int" = yes; then
20154 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20155 See \
`config.log' for more details." >&5
20156 echo "$as_me: error: cannot compute sizeof (int)
20157 See \`config.log
' for more details." >&2;}
20158 { (exit 77); exit 77; }; }
20163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20167 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20168 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20172 cat >>confdefs.h <<_ACEOF
20173 #define SIZEOF_INT $ac_cv_sizeof_int
20177 { echo "$as_me:$LINENO: checking for long" >&5
20178 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20179 if test "${ac_cv_type_long+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20182 cat >conftest.$ac_ext <<_ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20189 typedef long ac__type_new_;
20193 if ((ac__type_new_ *) 0)
20195 if (sizeof (ac__type_new_))
20201 rm -f conftest.$ac_objext
20202 if { (ac_try="$ac_compile"
20203 case "(($ac_try" in
20204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20205 *) ac_try_echo=$ac_try;;
20207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20208 (eval "$ac_compile") 2>conftest.er1
20210 grep -v '^
*+' conftest.er1 >conftest.err
20212 cat conftest.err >&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } && {
20215 test -z "$ac_c_werror_flag" ||
20216 test ! -s conftest.err
20217 } && test -s conftest.$ac_objext; then
20218 ac_cv_type_long=yes
20220 echo "$as_me: failed program was:" >&5
20221 sed 's
/^
/| /' conftest.$ac_ext >&5
20226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20229 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20231 # The cast to long int works around a bug in the HP C Compiler
20232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20234 # This bug is HP SR number 8606223364.
20235 { echo "$as_me:$LINENO: checking size of long" >&5
20236 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20237 if test "${ac_cv_sizeof_long+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 if test "$cross_compiling" = yes; then
20241 # Depending upon the size, compute the lo and hi bounds.
20242 cat >conftest.
$ac_ext <<_ACEOF
20245 cat confdefs.h
>>conftest.
$ac_ext
20246 cat >>conftest.
$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20248 $ac_includes_default
20249 typedef long ac__type_sizeof_;
20253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20260 rm -f conftest.
$ac_objext
20261 if { (ac_try
="$ac_compile"
20262 case "(($ac_try" in
20263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20264 *) ac_try_echo=$ac_try;;
20266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_compile") 2>conftest.er1
20269 grep -v '^ *+' conftest.er1 >conftest.err
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest.$ac_objext; then
20279 cat >conftest.$ac_ext <<_ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 $ac_includes_default
20286 typedef long ac__type_sizeof_;
20290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20297 rm -f conftest.$ac_objext
20298 if { (ac_try="$ac_compile"
20299 case "(($ac_try" in
20300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20301 *) ac_try_echo
=$ac_try;;
20303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20304 (eval "$ac_compile") 2>conftest.er1
20306 grep -v '^ *+' conftest.er1
>conftest.err
20308 cat conftest.err
>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } && {
20311 test -z "$ac_c_werror_flag" ||
20312 test ! -s conftest.err
20313 } && test -s conftest.
$ac_objext; then
20314 ac_hi
=$ac_mid; break
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.
$ac_ext >&5
20319 ac_lo
=`expr $ac_mid + 1`
20320 if test $ac_lo -le $ac_mid; then
20324 ac_mid
=`expr 2 '*' $ac_mid + 1`
20327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.
$ac_ext >&5
20333 cat >conftest.
$ac_ext <<_ACEOF
20336 cat confdefs.h
>>conftest.
$ac_ext
20337 cat >>conftest.
$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 $ac_includes_default
20340 typedef long ac__type_sizeof_;
20344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20351 rm -f conftest.
$ac_objext
20352 if { (ac_try
="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20355 *) ac_try_echo=$ac_try;;
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20360 grep -v '^ *+' conftest.er1 >conftest.err
20362 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.$ac_objext; then
20370 cat >conftest.$ac_ext <<_ACEOF
20373 cat confdefs.h >>conftest.$ac_ext
20374 cat >>conftest.$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20376 $ac_includes_default
20377 typedef long ac__type_sizeof_;
20381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20392 *) ac_try_echo
=$ac_try;;
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20397 grep -v '^ *+' conftest.er1
>conftest.err
20399 cat conftest.err
>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } && {
20402 test -z "$ac_c_werror_flag" ||
20403 test ! -s conftest.err
20404 } && test -s conftest.
$ac_objext; then
20405 ac_lo
=$ac_mid; break
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.
$ac_ext >&5
20410 ac_hi
=`expr '(' $ac_mid ')' - 1`
20411 if test $ac_mid -le $ac_hi; then
20415 ac_mid
=`expr 2 '*' $ac_mid`
20418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.
$ac_ext >&5
20427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20431 # Binary search between lo and hi bounds.
20432 while test "x$ac_lo" != "x$ac_hi"; do
20433 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20434 cat >conftest.
$ac_ext <<_ACEOF
20437 cat confdefs.h
>>conftest.
$ac_ext
20438 cat >>conftest.
$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 $ac_includes_default
20441 typedef long ac__type_sizeof_;
20445 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20452 rm -f conftest.
$ac_objext
20453 if { (ac_try
="$ac_compile"
20454 case "(($ac_try" in
20455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20456 *) ac_try_echo=$ac_try;;
20458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20459 (eval "$ac_compile") 2>conftest.er1
20461 grep -v '^ *+' conftest.er1 >conftest.err
20463 cat conftest.err >&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } && {
20466 test -z "$ac_c_werror_flag" ||
20467 test ! -s conftest.err
20468 } && test -s conftest.$ac_objext; then
20471 echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.$ac_ext >&5
20474 ac_lo=`expr '(' $ac_mid ')' + 1`
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20480 ?*) ac_cv_sizeof_long=$ac_lo;;
20481 '') if test "$ac_cv_type_long" = yes; then
20482 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20483 See \`config.log
' for more details." >&5
20484 echo "$as_me: error: cannot compute sizeof (long)
20485 See \`config.log' for more details.
" >&2;}
20486 { (exit 77); exit 77; }; }
20488 ac_cv_sizeof_long=0
20492 cat >conftest.$ac_ext <<_ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 typedef long ac__type_sizeof_;
20500 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20501 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20503 #include <stdlib.h>
20508 FILE *f = fopen ("conftest.val
", "w
");
20511 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20513 long int i = longval ();
20514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20516 fprintf (f, "%ld
\n", i);
20520 unsigned long int i = ulongval ();
20521 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20523 fprintf (f, "%lu
\n", i);
20525 return ferror (f) || fclose (f) != 0;
20531 rm -f conftest$ac_exeext
20532 if { (ac_try="$ac_link"
20533 case "(($ac_try" in
20534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20535 *) ac_try_echo=$ac_try;;
20537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_link") 2>&5
20540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20542 { (case "(($ac_try" in
20543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20544 *) ac_try_echo=$ac_try;;
20546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20547 (eval "$ac_try") 2>&5
20549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 ac_cv_sizeof_long=`cat conftest.val`
20553 echo "$as_me: program exited with status
$ac_status" >&5
20554 echo "$as_me: failed program was
:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20557 ( exit $ac_status )
20558 if test "$ac_cv_type_long" = yes; then
20559 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20560 See \
`config.log' for more details." >&5
20561 echo "$as_me: error: cannot compute sizeof (long)
20562 See \`config.log
' for more details." >&2;}
20563 { (exit 77); exit 77; }; }
20565 ac_cv_sizeof_long=0
20568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20572 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20573 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20577 cat >>confdefs.h <<_ACEOF
20578 #define SIZEOF_LONG $ac_cv_sizeof_long
20582 { echo "$as_me:$LINENO: checking for size_t" >&5
20583 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20584 if test "${ac_cv_type_size_t+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 cat >conftest.$ac_ext <<_ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593 $ac_includes_default
20594 typedef size_t ac__type_new_;
20598 if ((ac__type_new_ *) 0)
20600 if (sizeof (ac__type_new_))
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20615 grep -v '^
*+' conftest.er1 >conftest.err
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_cv_type_size_t=yes
20625 echo "$as_me: failed program was:" >&5
20626 sed 's
/^
/| /' conftest.$ac_ext >&5
20628 ac_cv_type_size_t=no
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20633 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20634 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20636 # The cast to long int works around a bug in the HP C Compiler
20637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20639 # This bug is HP SR number 8606223364.
20640 { echo "$as_me:$LINENO: checking size of size_t" >&5
20641 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20642 if test "${ac_cv_sizeof_size_t+set}" = set; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20645 if test "$cross_compiling" = yes; then
20646 # Depending upon the size, compute the lo and hi bounds.
20647 cat >conftest.
$ac_ext <<_ACEOF
20650 cat confdefs.h
>>conftest.
$ac_ext
20651 cat >>conftest.
$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 $ac_includes_default
20654 typedef size_t ac__type_sizeof_;
20658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20665 rm -f conftest.
$ac_objext
20666 if { (ac_try
="$ac_compile"
20667 case "(($ac_try" in
20668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20669 *) ac_try_echo=$ac_try;;
20671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_compile") 2>conftest.er1
20674 grep -v '^ *+' conftest.er1 >conftest.err
20676 cat conftest.err >&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } && {
20679 test -z "$ac_c_werror_flag" ||
20680 test ! -s conftest.err
20681 } && test -s conftest.$ac_objext; then
20684 cat >conftest.$ac_ext <<_ACEOF
20687 cat confdefs.h >>conftest.$ac_ext
20688 cat >>conftest.$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20690 $ac_includes_default
20691 typedef size_t ac__type_sizeof_;
20695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20702 rm -f conftest.$ac_objext
20703 if { (ac_try="$ac_compile"
20704 case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20706 *) ac_try_echo
=$ac_try;;
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_compile") 2>conftest.er1
20711 grep -v '^ *+' conftest.er1
>conftest.err
20713 cat conftest.err
>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && {
20716 test -z "$ac_c_werror_flag" ||
20717 test ! -s conftest.err
20718 } && test -s conftest.
$ac_objext; then
20719 ac_hi
=$ac_mid; break
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.
$ac_ext >&5
20724 ac_lo
=`expr $ac_mid + 1`
20725 if test $ac_lo -le $ac_mid; then
20729 ac_mid
=`expr 2 '*' $ac_mid + 1`
20732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.
$ac_ext >&5
20738 cat >conftest.
$ac_ext <<_ACEOF
20741 cat confdefs.h
>>conftest.
$ac_ext
20742 cat >>conftest.
$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 typedef size_t ac__type_sizeof_;
20749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20756 rm -f conftest.
$ac_objext
20757 if { (ac_try
="$ac_compile"
20758 case "(($ac_try" in
20759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20760 *) ac_try_echo=$ac_try;;
20762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20763 (eval "$ac_compile") 2>conftest.er1
20765 grep -v '^ *+' conftest.er1 >conftest.err
20767 cat conftest.err >&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } && {
20770 test -z "$ac_c_werror_flag" ||
20771 test ! -s conftest.err
20772 } && test -s conftest.$ac_objext; then
20775 cat >conftest.$ac_ext <<_ACEOF
20778 cat confdefs.h >>conftest.$ac_ext
20779 cat >>conftest.$ac_ext <<_ACEOF
20780 /* end confdefs.h. */
20781 $ac_includes_default
20782 typedef size_t ac__type_sizeof_;
20786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20793 rm -f conftest.$ac_objext
20794 if { (ac_try="$ac_compile"
20795 case "(($ac_try" in
20796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20797 *) ac_try_echo
=$ac_try;;
20799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20800 (eval "$ac_compile") 2>conftest.er1
20802 grep -v '^ *+' conftest.er1
>conftest.err
20804 cat conftest.err
>&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } && {
20807 test -z "$ac_c_werror_flag" ||
20808 test ! -s conftest.err
20809 } && test -s conftest.
$ac_objext; then
20810 ac_lo
=$ac_mid; break
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.
$ac_ext >&5
20815 ac_hi
=`expr '(' $ac_mid ')' - 1`
20816 if test $ac_mid -le $ac_hi; then
20820 ac_mid
=`expr 2 '*' $ac_mid`
20823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20836 # Binary search between lo and hi bounds.
20837 while test "x$ac_lo" != "x$ac_hi"; do
20838 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20839 cat >conftest.
$ac_ext <<_ACEOF
20842 cat confdefs.h
>>conftest.
$ac_ext
20843 cat >>conftest.
$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 $ac_includes_default
20846 typedef size_t ac__type_sizeof_;
20850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20857 rm -f conftest.
$ac_objext
20858 if { (ac_try
="$ac_compile"
20859 case "(($ac_try" in
20860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_compile") 2>conftest.er1
20866 grep -v '^ *+' conftest.er1 >conftest.err
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest.$ac_objext; then
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20879 ac_lo=`expr '(' $ac_mid ')' + 1`
20882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20886 '') if test "$ac_cv_type_size_t" = yes; then
20887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20888 See \`config.log
' for more details." >&5
20889 echo "$as_me: error: cannot compute sizeof (size_t)
20890 See \`config.log' for more details.
" >&2;}
20891 { (exit 77); exit 77; }; }
20893 ac_cv_sizeof_size_t=0
20897 cat >conftest.$ac_ext <<_ACEOF
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903 $ac_includes_default
20904 typedef size_t ac__type_sizeof_;
20905 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20906 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20908 #include <stdlib.h>
20913 FILE *f = fopen ("conftest.val
", "w
");
20916 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20918 long int i = longval ();
20919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20921 fprintf (f, "%ld
\n", i);
20925 unsigned long int i = ulongval ();
20926 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20928 fprintf (f, "%lu
\n", i);
20930 return ferror (f) || fclose (f) != 0;
20936 rm -f conftest$ac_exeext
20937 if { (ac_try="$ac_link"
20938 case "(($ac_try" in
20939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20940 *) ac_try_echo=$ac_try;;
20942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20943 (eval "$ac_link") 2>&5
20945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20947 { (case "(($ac_try" in
20948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20949 *) ac_try_echo=$ac_try;;
20951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20952 (eval "$ac_try") 2>&5
20954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_cv_sizeof_size_t=`cat conftest.val`
20958 echo "$as_me: program exited with status
$ac_status" >&5
20959 echo "$as_me: failed program was
:" >&5
20960 sed 's/^/| /' conftest.$ac_ext >&5
20962 ( exit $ac_status )
20963 if test "$ac_cv_type_size_t" = yes; then
20964 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20965 See \
`config.log' for more details." >&5
20966 echo "$as_me: error: cannot compute sizeof (size_t)
20967 See \`config.log
' for more details." >&2;}
20968 { (exit 77); exit 77; }; }
20970 ac_cv_sizeof_size_t=0
20973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20977 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20978 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20982 cat >>confdefs.h <<_ACEOF
20983 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20990 { echo "$as_me:$LINENO: checking for long long" >&5
20991 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20992 if test "${ac_cv_type_long_long+set}" = set; then
20993 echo $ECHO_N "(cached) $ECHO_C" >&6
20995 cat >conftest.$ac_ext <<_ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 $ac_includes_default
21002 typedef long long ac__type_new_;
21006 if ((ac__type_new_ *) 0)
21008 if (sizeof (ac__type_new_))
21014 rm -f conftest.$ac_objext
21015 if { (ac_try="$ac_compile"
21016 case "(($ac_try" in
21017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21018 *) ac_try_echo=$ac_try;;
21020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21021 (eval "$ac_compile") 2>conftest.er1
21023 grep -v '^
*+' conftest.er1 >conftest.err
21025 cat conftest.err >&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } && {
21028 test -z "$ac_c_werror_flag" ||
21029 test ! -s conftest.err
21030 } && test -s conftest.$ac_objext; then
21031 ac_cv_type_long_long=yes
21033 echo "$as_me: failed program was:" >&5
21034 sed 's
/^
/| /' conftest.$ac_ext >&5
21036 ac_cv_type_long_long=no
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21042 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21044 # The cast to long int works around a bug in the HP C Compiler
21045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21047 # This bug is HP SR number 8606223364.
21048 { echo "$as_me:$LINENO: checking size of long long" >&5
21049 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21050 if test "${ac_cv_sizeof_long_long+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 if test "$cross_compiling" = yes; then
21054 # Depending upon the size, compute the lo and hi bounds.
21055 cat >conftest.
$ac_ext <<_ACEOF
21058 cat confdefs.h
>>conftest.
$ac_ext
21059 cat >>conftest.
$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21062 typedef long long ac__type_sizeof_;
21066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21073 rm -f conftest.
$ac_objext
21074 if { (ac_try
="$ac_compile"
21075 case "(($ac_try" in
21076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_compile") 2>conftest.er1
21082 grep -v '^ *+' conftest.er1 >conftest.err
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } && {
21087 test -z "$ac_c_werror_flag" ||
21088 test ! -s conftest.err
21089 } && test -s conftest.$ac_objext; then
21092 cat >conftest.$ac_ext <<_ACEOF
21095 cat confdefs.h >>conftest.$ac_ext
21096 cat >>conftest.$ac_ext <<_ACEOF
21097 /* end confdefs.h. */
21098 $ac_includes_default
21099 typedef long long ac__type_sizeof_;
21103 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21110 rm -f conftest.$ac_objext
21111 if { (ac_try="$ac_compile"
21112 case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21114 *) ac_try_echo
=$ac_try;;
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_compile") 2>conftest.er1
21119 grep -v '^ *+' conftest.er1
>conftest.err
21121 cat conftest.err
>&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); } && {
21124 test -z "$ac_c_werror_flag" ||
21125 test ! -s conftest.err
21126 } && test -s conftest.
$ac_objext; then
21127 ac_hi
=$ac_mid; break
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.
$ac_ext >&5
21132 ac_lo
=`expr $ac_mid + 1`
21133 if test $ac_lo -le $ac_mid; then
21137 ac_mid
=`expr 2 '*' $ac_mid + 1`
21140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.
$ac_ext >&5
21146 cat >conftest.
$ac_ext <<_ACEOF
21149 cat confdefs.h
>>conftest.
$ac_ext
21150 cat >>conftest.
$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 $ac_includes_default
21153 typedef long long ac__type_sizeof_;
21157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21164 rm -f conftest.
$ac_objext
21165 if { (ac_try
="$ac_compile"
21166 case "(($ac_try" in
21167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21168 *) ac_try_echo=$ac_try;;
21170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21171 (eval "$ac_compile") 2>conftest.er1
21173 grep -v '^ *+' conftest.er1 >conftest.err
21175 cat conftest.err >&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } && {
21178 test -z "$ac_c_werror_flag" ||
21179 test ! -s conftest.err
21180 } && test -s conftest.$ac_objext; then
21183 cat >conftest.$ac_ext <<_ACEOF
21186 cat confdefs.h >>conftest.$ac_ext
21187 cat >>conftest.$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21189 $ac_includes_default
21190 typedef long long ac__type_sizeof_;
21194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21201 rm -f conftest.$ac_objext
21202 if { (ac_try="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21205 *) ac_try_echo
=$ac_try;;
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
21210 grep -v '^ *+' conftest.er1
>conftest.err
21212 cat conftest.err
>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.
$ac_objext; then
21218 ac_lo
=$ac_mid; break
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.
$ac_ext >&5
21223 ac_hi
=`expr '(' $ac_mid ')' - 1`
21224 if test $ac_mid -le $ac_hi; then
21228 ac_mid
=`expr 2 '*' $ac_mid`
21231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.
$ac_ext >&5
21240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21244 # Binary search between lo and hi bounds.
21245 while test "x$ac_lo" != "x$ac_hi"; do
21246 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21247 cat >conftest.
$ac_ext <<_ACEOF
21250 cat confdefs.h
>>conftest.
$ac_ext
21251 cat >>conftest.
$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21253 $ac_includes_default
21254 typedef long long ac__type_sizeof_;
21258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21265 rm -f conftest.
$ac_objext
21266 if { (ac_try
="$ac_compile"
21267 case "(($ac_try" in
21268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21269 *) ac_try_echo=$ac_try;;
21271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21272 (eval "$ac_compile") 2>conftest.er1
21274 grep -v '^ *+' conftest.er1 >conftest.err
21276 cat conftest.err >&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } && {
21279 test -z "$ac_c_werror_flag" ||
21280 test ! -s conftest.err
21281 } && test -s conftest.$ac_objext; then
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21287 ac_lo=`expr '(' $ac_mid ')' + 1`
21290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21294 '') if test "$ac_cv_type_long_long" = yes; then
21295 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21296 See \`config.log
' for more details." >&5
21297 echo "$as_me: error: cannot compute sizeof (long long)
21298 See \`config.log' for more details.
" >&2;}
21299 { (exit 77); exit 77; }; }
21301 ac_cv_sizeof_long_long=0
21305 cat >conftest.$ac_ext <<_ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21312 typedef long long ac__type_sizeof_;
21313 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21314 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21316 #include <stdlib.h>
21321 FILE *f = fopen ("conftest.val
", "w
");
21324 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21326 long int i = longval ();
21327 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21329 fprintf (f, "%ld
\n", i);
21333 unsigned long int i = ulongval ();
21334 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21336 fprintf (f, "%lu
\n", i);
21338 return ferror (f) || fclose (f) != 0;
21344 rm -f conftest$ac_exeext
21345 if { (ac_try="$ac_link"
21346 case "(($ac_try" in
21347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_link") 2>&5
21353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21355 { (case "(($ac_try" in
21356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21357 *) ac_try_echo=$ac_try;;
21359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21360 (eval "$ac_try") 2>&5
21362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 ac_cv_sizeof_long_long=`cat conftest.val`
21366 echo "$as_me: program exited with status
$ac_status" >&5
21367 echo "$as_me: failed program was
:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21370 ( exit $ac_status )
21371 if test "$ac_cv_type_long_long" = yes; then
21372 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21373 See \
`config.log' for more details." >&5
21374 echo "$as_me: error: cannot compute sizeof (long long)
21375 See \`config.log
' for more details." >&2;}
21376 { (exit 77); exit 77; }; }
21378 ac_cv_sizeof_long_long=0
21381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21385 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21386 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21390 cat >>confdefs.h <<_ACEOF
21391 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21397 { echo "$as_me:$LINENO: checking for long long" >&5
21398 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21399 if test "${ac_cv_type_long_long+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 cat >conftest.$ac_ext <<_ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21409 typedef long long ac__type_new_;
21413 if ((ac__type_new_ *) 0)
21415 if (sizeof (ac__type_new_))
21421 rm -f conftest.$ac_objext
21422 if { (ac_try="$ac_compile"
21423 case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_compile") 2>conftest.er1
21430 grep -v '^
*+' conftest.er1 >conftest.err
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then
21438 ac_cv_type_long_long=yes
21440 echo "$as_me: failed program was:" >&5
21441 sed 's
/^
/| /' conftest.$ac_ext >&5
21443 ac_cv_type_long_long=no
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21449 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21451 # The cast to long int works around a bug in the HP C Compiler
21452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21454 # This bug is HP SR number 8606223364.
21455 { echo "$as_me:$LINENO: checking size of long long" >&5
21456 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21457 if test "${ac_cv_sizeof_long_long+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 if test "$cross_compiling" = yes; then
21461 # Depending upon the size, compute the lo and hi bounds.
21462 cat >conftest.
$ac_ext <<_ACEOF
21465 cat confdefs.h
>>conftest.
$ac_ext
21466 cat >>conftest.
$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 $ac_includes_default
21469 typedef long long ac__type_sizeof_;
21473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21480 rm -f conftest.
$ac_objext
21481 if { (ac_try
="$ac_compile"
21482 case "(($ac_try" in
21483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21484 *) ac_try_echo=$ac_try;;
21486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487 (eval "$ac_compile") 2>conftest.er1
21489 grep -v '^ *+' conftest.er1 >conftest.err
21491 cat conftest.err >&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } && {
21494 test -z "$ac_c_werror_flag" ||
21495 test ! -s conftest.err
21496 } && test -s conftest.$ac_objext; then
21499 cat >conftest.$ac_ext <<_ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h. */
21505 $ac_includes_default
21506 typedef long long ac__type_sizeof_;
21510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21517 rm -f conftest.$ac_objext
21518 if { (ac_try="$ac_compile"
21519 case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21521 *) ac_try_echo
=$ac_try;;
21523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_compile") 2>conftest.er1
21526 grep -v '^ *+' conftest.er1
>conftest.err
21528 cat conftest.err
>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } && {
21531 test -z "$ac_c_werror_flag" ||
21532 test ! -s conftest.err
21533 } && test -s conftest.
$ac_objext; then
21534 ac_hi
=$ac_mid; break
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.
$ac_ext >&5
21539 ac_lo
=`expr $ac_mid + 1`
21540 if test $ac_lo -le $ac_mid; then
21544 ac_mid
=`expr 2 '*' $ac_mid + 1`
21547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.
$ac_ext >&5
21553 cat >conftest.
$ac_ext <<_ACEOF
21556 cat confdefs.h
>>conftest.
$ac_ext
21557 cat >>conftest.
$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 $ac_includes_default
21560 typedef long long ac__type_sizeof_;
21564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21571 rm -f conftest.
$ac_objext
21572 if { (ac_try
="$ac_compile"
21573 case "(($ac_try" in
21574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_compile") 2>conftest.er1
21580 grep -v '^ *+' conftest.er1 >conftest.err
21582 cat conftest.err >&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } && {
21585 test -z "$ac_c_werror_flag" ||
21586 test ! -s conftest.err
21587 } && test -s conftest.$ac_objext; then
21590 cat >conftest.$ac_ext <<_ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21597 typedef long long ac__type_sizeof_;
21601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21608 rm -f conftest.$ac_objext
21609 if { (ac_try="$ac_compile"
21610 case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21612 *) ac_try_echo
=$ac_try;;
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_compile") 2>conftest.er1
21617 grep -v '^ *+' conftest.er1
>conftest.err
21619 cat conftest.err
>&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } && {
21622 test -z "$ac_c_werror_flag" ||
21623 test ! -s conftest.err
21624 } && test -s conftest.
$ac_objext; then
21625 ac_lo
=$ac_mid; break
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.
$ac_ext >&5
21630 ac_hi
=`expr '(' $ac_mid ')' - 1`
21631 if test $ac_mid -le $ac_hi; then
21635 ac_mid
=`expr 2 '*' $ac_mid`
21638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.
$ac_ext >&5
21647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21651 # Binary search between lo and hi bounds.
21652 while test "x$ac_lo" != "x$ac_hi"; do
21653 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21654 cat >conftest.
$ac_ext <<_ACEOF
21657 cat confdefs.h
>>conftest.
$ac_ext
21658 cat >>conftest.
$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 typedef long long ac__type_sizeof_;
21665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21672 rm -f conftest.
$ac_objext
21673 if { (ac_try
="$ac_compile"
21674 case "(($ac_try" in
21675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21676 *) ac_try_echo=$ac_try;;
21678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21679 (eval "$ac_compile") 2>conftest.er1
21681 grep -v '^ *+' conftest.er1 >conftest.err
21683 cat conftest.err >&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } && {
21686 test -z "$ac_c_werror_flag" ||
21687 test ! -s conftest.err
21688 } && test -s conftest.$ac_objext; then
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21694 ac_lo=`expr '(' $ac_mid ')' + 1`
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21700 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21701 '') if test "$ac_cv_type_long_long" = yes; then
21702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21703 See \`config.log
' for more details." >&5
21704 echo "$as_me: error: cannot compute sizeof (long long)
21705 See \`config.log' for more details.
" >&2;}
21706 { (exit 77); exit 77; }; }
21708 ac_cv_sizeof_long_long=0
21712 cat >conftest.$ac_ext <<_ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718 $ac_includes_default
21719 typedef long long ac__type_sizeof_;
21720 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21721 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21723 #include <stdlib.h>
21728 FILE *f = fopen ("conftest.val
", "w
");
21731 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21733 long int i = longval ();
21734 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21736 fprintf (f, "%ld
\n", i);
21740 unsigned long int i = ulongval ();
21741 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21743 fprintf (f, "%lu
\n", i);
21745 return ferror (f) || fclose (f) != 0;
21751 rm -f conftest$ac_exeext
21752 if { (ac_try="$ac_link"
21753 case "(($ac_try" in
21754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21755 *) ac_try_echo=$ac_try;;
21757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21758 (eval "$ac_link") 2>&5
21760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21762 { (case "(($ac_try" in
21763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21764 *) ac_try_echo=$ac_try;;
21766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21767 (eval "$ac_try") 2>&5
21769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 ac_cv_sizeof_long_long=`cat conftest.val`
21773 echo "$as_me: program exited with status
$ac_status" >&5
21774 echo "$as_me: failed program was
:" >&5
21775 sed 's/^/| /' conftest.$ac_ext >&5
21777 ( exit $ac_status )
21778 if test "$ac_cv_type_long_long" = yes; then
21779 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21780 See \
`config.log' for more details." >&5
21781 echo "$as_me: error: cannot compute sizeof (long long)
21782 See \`config.log
' for more details." >&2;}
21783 { (exit 77); exit 77; }; }
21785 ac_cv_sizeof_long_long=0
21788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21792 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21793 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21797 cat >>confdefs.h <<_ACEOF
21798 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21802 if test "$ac_cv_sizeof_long_long" != 0; then
21803 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21807 { echo "$as_me:$LINENO: checking for long long" >&5
21808 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21809 if test "${ac_cv_type_long_long+set}" = set; then
21810 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 cat >conftest.$ac_ext <<_ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818 $ac_includes_default
21819 typedef long long ac__type_new_;
21823 if ((ac__type_new_ *) 0)
21825 if (sizeof (ac__type_new_))
21831 rm -f conftest.$ac_objext
21832 if { (ac_try="$ac_compile"
21833 case "(($ac_try" in
21834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21835 *) ac_try_echo=$ac_try;;
21837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21838 (eval "$ac_compile") 2>conftest.er1
21840 grep -v '^
*+' conftest.er1 >conftest.err
21842 cat conftest.err >&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } && {
21845 test -z "$ac_c_werror_flag" ||
21846 test ! -s conftest.err
21847 } && test -s conftest.$ac_objext; then
21848 ac_cv_type_long_long=yes
21850 echo "$as_me: failed program was:" >&5
21851 sed 's
/^
/| /' conftest.$ac_ext >&5
21853 ac_cv_type_long_long=no
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21858 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21859 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21861 # The cast to long int works around a bug in the HP C Compiler
21862 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21863 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21864 # This bug is HP SR number 8606223364.
21865 { echo "$as_me:$LINENO: checking size of long long" >&5
21866 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21867 if test "${ac_cv_sizeof_long_long+set}" = set; then
21868 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 if test "$cross_compiling" = yes; then
21871 # Depending upon the size, compute the lo and hi bounds.
21872 cat >conftest.
$ac_ext <<_ACEOF
21875 cat confdefs.h
>>conftest.
$ac_ext
21876 cat >>conftest.
$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21878 $ac_includes_default
21879 typedef long long ac__type_sizeof_;
21883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21890 rm -f conftest.
$ac_objext
21891 if { (ac_try
="$ac_compile"
21892 case "(($ac_try" in
21893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_compile") 2>conftest.er1
21899 grep -v '^ *+' conftest.er1 >conftest.err
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } && {
21904 test -z "$ac_c_werror_flag" ||
21905 test ! -s conftest.err
21906 } && test -s conftest.$ac_objext; then
21909 cat >conftest.$ac_ext <<_ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 $ac_includes_default
21916 typedef long long ac__type_sizeof_;
21920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21927 rm -f conftest.$ac_objext
21928 if { (ac_try="$ac_compile"
21929 case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21931 *) ac_try_echo
=$ac_try;;
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_compile") 2>conftest.er1
21936 grep -v '^ *+' conftest.er1
>conftest.err
21938 cat conftest.err
>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } && {
21941 test -z "$ac_c_werror_flag" ||
21942 test ! -s conftest.err
21943 } && test -s conftest.
$ac_objext; then
21944 ac_hi
=$ac_mid; break
21946 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.
$ac_ext >&5
21949 ac_lo
=`expr $ac_mid + 1`
21950 if test $ac_lo -le $ac_mid; then
21954 ac_mid
=`expr 2 '*' $ac_mid + 1`
21957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21960 echo "$as_me: failed program was:" >&5
21961 sed 's/^/| /' conftest.
$ac_ext >&5
21963 cat >conftest.
$ac_ext <<_ACEOF
21966 cat confdefs.h
>>conftest.
$ac_ext
21967 cat >>conftest.
$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969 $ac_includes_default
21970 typedef long long ac__type_sizeof_;
21974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21981 rm -f conftest.
$ac_objext
21982 if { (ac_try
="$ac_compile"
21983 case "(($ac_try" in
21984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21985 *) ac_try_echo=$ac_try;;
21987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21988 (eval "$ac_compile") 2>conftest.er1
21990 grep -v '^ *+' conftest.er1 >conftest.err
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } && {
21995 test -z "$ac_c_werror_flag" ||
21996 test ! -s conftest.err
21997 } && test -s conftest.$ac_objext; then
22000 cat >conftest.$ac_ext <<_ACEOF
22003 cat confdefs.h >>conftest.$ac_ext
22004 cat >>conftest.$ac_ext <<_ACEOF
22005 /* end confdefs.h. */
22006 $ac_includes_default
22007 typedef long long ac__type_sizeof_;
22011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22018 rm -f conftest.$ac_objext
22019 if { (ac_try="$ac_compile"
22020 case "(($ac_try" in
22021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22022 *) ac_try_echo
=$ac_try;;
22024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22025 (eval "$ac_compile") 2>conftest.er1
22027 grep -v '^ *+' conftest.er1
>conftest.err
22029 cat conftest.err
>&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); } && {
22032 test -z "$ac_c_werror_flag" ||
22033 test ! -s conftest.err
22034 } && test -s conftest.
$ac_objext; then
22035 ac_lo
=$ac_mid; break
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.
$ac_ext >&5
22040 ac_hi
=`expr '(' $ac_mid ')' - 1`
22041 if test $ac_mid -le $ac_hi; then
22045 ac_mid
=`expr 2 '*' $ac_mid`
22048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.
$ac_ext >&5
22057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22061 # Binary search between lo and hi bounds.
22062 while test "x$ac_lo" != "x$ac_hi"; do
22063 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22064 cat >conftest.
$ac_ext <<_ACEOF
22067 cat confdefs.h
>>conftest.
$ac_ext
22068 cat >>conftest.
$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070 $ac_includes_default
22071 typedef long long ac__type_sizeof_;
22075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22082 rm -f conftest.
$ac_objext
22083 if { (ac_try
="$ac_compile"
22084 case "(($ac_try" in
22085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22086 *) ac_try_echo=$ac_try;;
22088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22089 (eval "$ac_compile") 2>conftest.er1
22091 grep -v '^ *+' conftest.er1 >conftest.err
22093 cat conftest.err >&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } && {
22096 test -z "$ac_c_werror_flag" ||
22097 test ! -s conftest.err
22098 } && test -s conftest.$ac_objext; then
22101 echo "$as_me: failed program was:" >&5
22102 sed 's/^/| /' conftest.$ac_ext >&5
22104 ac_lo=`expr '(' $ac_mid ')' + 1`
22107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22110 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22111 '') if test "$ac_cv_type_long_long" = yes; then
22112 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22113 See \`config.log
' for more details." >&5
22114 echo "$as_me: error: cannot compute sizeof (long long)
22115 See \`config.log' for more details.
" >&2;}
22116 { (exit 77); exit 77; }; }
22118 ac_cv_sizeof_long_long=0
22122 cat >conftest.$ac_ext <<_ACEOF
22125 cat confdefs.h >>conftest.$ac_ext
22126 cat >>conftest.$ac_ext <<_ACEOF
22127 /* end confdefs.h. */
22128 $ac_includes_default
22129 typedef long long ac__type_sizeof_;
22130 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22131 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22133 #include <stdlib.h>
22138 FILE *f = fopen ("conftest.val
", "w
");
22141 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22143 long int i = longval ();
22144 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22146 fprintf (f, "%ld
\n", i);
22150 unsigned long int i = ulongval ();
22151 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22153 fprintf (f, "%lu
\n", i);
22155 return ferror (f) || fclose (f) != 0;
22161 rm -f conftest$ac_exeext
22162 if { (ac_try="$ac_link"
22163 case "(($ac_try" in
22164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22165 *) ac_try_echo=$ac_try;;
22167 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22168 (eval "$ac_link") 2>&5
22170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22172 { (case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_try") 2>&5
22179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22180 (exit $ac_status); }; }; then
22181 ac_cv_sizeof_long_long=`cat conftest.val`
22183 echo "$as_me: program exited with status
$ac_status" >&5
22184 echo "$as_me: failed program was
:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22187 ( exit $ac_status )
22188 if test "$ac_cv_type_long_long" = yes; then
22189 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22190 See \
`config.log' for more details." >&5
22191 echo "$as_me: error: cannot compute sizeof (long long)
22192 See \`config.log
' for more details." >&2;}
22193 { (exit 77); exit 77; }; }
22195 ac_cv_sizeof_long_long=0
22198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22202 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22203 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22207 cat >>confdefs.h <<_ACEOF
22208 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22214 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22215 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22216 if test "${ac_cv_type_wchar_t+set}" = set; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 cat >conftest.$ac_ext <<_ACEOF
22222 cat confdefs.h >>conftest.$ac_ext
22223 cat >>conftest.$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22226 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22227 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22228 # error "fake wchar_t"
22230 #ifdef HAVE_WCHAR_H
22232 # include <stddef.h>
22234 # include <wchar.h>
22236 #ifdef HAVE_STDLIB_H
22237 # include <stdlib.h>
22243 typedef wchar_t ac__type_new_
;
22247 if ((ac__type_new_
*) 0)
22249 if (sizeof
(ac__type_new_
))
22255 rm -f conftest.
$ac_objext
22256 if { (ac_try
="$ac_compile"
22257 case "(($ac_try" in
22258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22259 *) ac_try_echo=$ac_try;;
22261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22262 (eval "$ac_compile") 2>conftest.er1
22264 grep -v '^ *+' conftest.er1 >conftest.err
22266 cat conftest.err >&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } && {
22269 test -z "$ac_c_werror_flag" ||
22270 test ! -s conftest.err
22271 } && test -s conftest.$ac_objext; then
22272 ac_cv_type_wchar_t=yes
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22277 ac_cv_type_wchar_t=no
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22283 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22285 # The cast to long int works around a bug in the HP C Compiler
22286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22287 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22288 # This bug is HP SR number 8606223364.
22289 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22290 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22291 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 if test "$cross_compiling" = yes; then
22295 # Depending upon the size, compute the lo and hi bounds.
22296 cat >conftest.$ac_ext <<_ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22303 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22304 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22305 # error "fake wchar_t"
22307 #ifdef HAVE_WCHAR_H
22309 # include <stddef.h>
22311 # include <wchar.h>
22313 #ifdef HAVE_STDLIB_H
22314 # include <stdlib.h>
22320 typedef wchar_t ac__type_sizeof_
;
22324 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22331 rm -f conftest.
$ac_objext
22332 if { (ac_try
="$ac_compile"
22333 case "(($ac_try" in
22334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_compile") 2>conftest.er1
22340 grep -v '^ *+' conftest.er1 >conftest.err
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } && {
22345 test -z "$ac_c_werror_flag" ||
22346 test ! -s conftest.err
22347 } && test -s conftest.$ac_objext; then
22350 cat >conftest.$ac_ext <<_ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22357 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22358 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22359 # error "fake wchar_t"
22361 #ifdef HAVE_WCHAR_H
22363 # include <stddef.h>
22365 # include <wchar.h>
22367 #ifdef HAVE_STDLIB_H
22368 # include <stdlib.h>
22374 typedef wchar_t ac__type_sizeof_;
22378 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22385 rm -f conftest.$ac_objext
22386 if { (ac_try="$ac_compile"
22387 case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22389 *) ac_try_echo
=$ac_try;;
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_compile") 2>conftest.er1
22394 grep -v '^ *+' conftest.er1
>conftest.err
22396 cat conftest.err
>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err
22401 } && test -s conftest.
$ac_objext; then
22402 ac_hi
=$ac_mid; break
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.
$ac_ext >&5
22407 ac_lo
=`expr $ac_mid + 1`
22408 if test $ac_lo -le $ac_mid; then
22412 ac_mid
=`expr 2 '*' $ac_mid + 1`
22415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.
$ac_ext >&5
22421 cat >conftest.
$ac_ext <<_ACEOF
22424 cat confdefs.h
>>conftest.
$ac_ext
22425 cat >>conftest.
$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22428 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22429 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22430 # error "fake wchar_t"
22432 #ifdef HAVE_WCHAR_H
22434 # include <stddef.h>
22436 # include <wchar.h>
22438 #ifdef HAVE_STDLIB_H
22439 # include <stdlib.h>
22445 typedef wchar_t ac__type_sizeof_;
22449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22456 rm -f conftest.
$ac_objext
22457 if { (ac_try
="$ac_compile"
22458 case "(($ac_try" in
22459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22460 *) ac_try_echo=$ac_try;;
22462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22463 (eval "$ac_compile") 2>conftest.er1
22465 grep -v '^ *+' conftest.er1 >conftest.err
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && {
22470 test -z "$ac_c_werror_flag" ||
22471 test ! -s conftest.err
22472 } && test -s conftest.$ac_objext; then
22475 cat >conftest.$ac_ext <<_ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22482 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22483 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22484 # error "fake wchar_t"
22486 #ifdef HAVE_WCHAR_H
22488 # include <stddef.h>
22490 # include <wchar.h>
22492 #ifdef HAVE_STDLIB_H
22493 # include <stdlib.h>
22499 typedef wchar_t ac__type_sizeof_;
22503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22510 rm -f conftest.$ac_objext
22511 if { (ac_try="$ac_compile"
22512 case "(($ac_try" in
22513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22514 *) ac_try_echo
=$ac_try;;
22516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22517 (eval "$ac_compile") 2>conftest.er1
22519 grep -v '^ *+' conftest.er1
>conftest.err
22521 cat conftest.err
>&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && {
22524 test -z "$ac_c_werror_flag" ||
22525 test ! -s conftest.err
22526 } && test -s conftest.
$ac_objext; then
22527 ac_lo
=$ac_mid; break
22529 echo "$as_me: failed program was:" >&5
22530 sed 's/^/| /' conftest.
$ac_ext >&5
22532 ac_hi
=`expr '(' $ac_mid ')' - 1`
22533 if test $ac_mid -le $ac_hi; then
22537 ac_mid
=`expr 2 '*' $ac_mid`
22540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.
$ac_ext >&5
22549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22553 # Binary search between lo and hi bounds.
22554 while test "x$ac_lo" != "x$ac_hi"; do
22555 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22556 cat >conftest.
$ac_ext <<_ACEOF
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22563 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22565 # error "fake wchar_t"
22567 #ifdef HAVE_WCHAR_H
22569 # include <stddef.h>
22571 # include <wchar.h>
22573 #ifdef HAVE_STDLIB_H
22574 # include <stdlib.h>
22580 typedef wchar_t ac__type_sizeof_;
22584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22591 rm -f conftest.
$ac_objext
22592 if { (ac_try
="$ac_compile"
22593 case "(($ac_try" in
22594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22595 *) ac_try_echo=$ac_try;;
22597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22598 (eval "$ac_compile") 2>conftest.er1
22600 grep -v '^ *+' conftest.er1 >conftest.err
22602 cat conftest.err >&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } && {
22605 test -z "$ac_c_werror_flag" ||
22606 test ! -s conftest.err
22607 } && test -s conftest.$ac_objext; then
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22613 ac_lo=`expr '(' $ac_mid ')' + 1`
22616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22620 '') if test "$ac_cv_type_wchar_t" = yes; then
22621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22622 See \`config.log
' for more details." >&5
22623 echo "$as_me: error: cannot compute sizeof (wchar_t)
22624 See \`config.log' for more details.
" >&2;}
22625 { (exit 77); exit 77; }; }
22627 ac_cv_sizeof_wchar_t=0
22631 cat >conftest.$ac_ext <<_ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22638 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22639 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22640 # error "fake wchar_t
"
22642 #ifdef HAVE_WCHAR_H
22644 # include <stddef.h>
22646 # include <wchar.h>
22648 #ifdef HAVE_STDLIB_H
22649 # include <stdlib.h>
22655 typedef wchar_t ac__type_sizeof_;
22656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22659 #include <stdlib.h>
22664 FILE *f = fopen ("conftest.val
", "w
");
22667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22669 long int i = longval ();
22670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22672 fprintf (f, "%ld
\n", i);
22676 unsigned long int i = ulongval ();
22677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22679 fprintf (f, "%lu
\n", i);
22681 return ferror (f) || fclose (f) != 0;
22687 rm -f conftest$ac_exeext
22688 if { (ac_try="$ac_link"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_link") 2>&5
22696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22698 { (case "(($ac_try" in
22699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700 *) ac_try_echo=$ac_try;;
22702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22703 (eval "$ac_try") 2>&5
22705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22706 (exit $ac_status); }; }; then
22707 ac_cv_sizeof_wchar_t=`cat conftest.val`
22709 echo "$as_me: program exited with status
$ac_status" >&5
22710 echo "$as_me: failed program was
:" >&5
22711 sed 's/^/| /' conftest.$ac_ext >&5
22713 ( exit $ac_status )
22714 if test "$ac_cv_type_wchar_t" = yes; then
22715 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22716 See \
`config.log' for more details." >&5
22717 echo "$as_me: error: cannot compute sizeof (wchar_t)
22718 See \`config.log
' for more details." >&2;}
22719 { (exit 77); exit 77; }; }
22721 ac_cv_sizeof_wchar_t=0
22724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22729 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22733 cat >>confdefs.h <<_ACEOF
22734 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22738 if test "$ac_cv_sizeof_wchar_t" != 0; then
22744 { echo "$as_me:$LINENO: checking for va_copy" >&5
22745 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22746 if test "${wx_cv_func_va_copy+set}" = set; then
22747 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22753 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22756 cat >conftest.$ac_ext <<_ACEOF
22758 #include <stdarg.h>
22759 void foo(char *f, ...)
22773 rm -f conftest.$ac_objext conftest$ac_exeext
22774 if { (ac_try="$ac_link"
22775 case "(($ac_try" in
22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780 (eval "$ac_link") 2>conftest.er1
22782 grep -v '^
*+' conftest.er1 >conftest.err
22784 cat conftest.err >&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && {
22787 test -z "$ac_cxx_werror_flag" ||
22788 test ! -s conftest.err
22789 } && test -s conftest$ac_exeext &&
22790 $as_test_x conftest$ac_exeext; then
22791 wx_cv_func_va_copy=yes
22793 echo "$as_me: failed program was:" >&5
22794 sed 's
/^
/| /' conftest.$ac_ext >&5
22796 wx_cv_func_va_copy=no
22800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22801 conftest$ac_exeext conftest.$ac_ext
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22805 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22812 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22814 if test $wx_cv_func_va_copy = "yes"; then
22815 cat >>confdefs.h <<\_ACEOF
22816 #define HAVE_VA_COPY 1
22820 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22821 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22822 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22823 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 if test "$cross_compiling" = yes; then
22827 wx_cv_type_va_list_lvalue=yes
22830 cat >conftest.$ac_ext <<_ACEOF
22832 #include <stdarg.h>
22833 int foo(char *f, ...)
22838 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22846 return foo("hi", 17);
22849 rm -f conftest$ac_exeext
22850 if { (ac_try="$ac_link"
22851 case "(($ac_try" in
22852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_link") 2>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22860 { (case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_try") 2>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 wx_cv_type_va_list_lvalue=yes
22871 echo "$as_me: program exited with status $ac_status" >&5
22872 echo "$as_me: failed program was:" >&5
22873 sed 's
/^
/| /' conftest.$ac_ext >&5
22875 ( exit $ac_status )
22876 wx_cv_type_va_list_lvalue=no
22878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22885 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22886 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22888 if test $wx_cv_type_va_list_lvalue != "yes"; then
22889 cat >>confdefs.h <<\_ACEOF
22890 #define VA_LIST_IS_ARRAY 1
22896 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22898 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22899 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22900 if test "${wx_cv_have_variadic_macros+set}" = set; then
22901 echo $ECHO_N "(cached) $ECHO_C" >&6
22905 ac_cpp='$CXXCPP $CPPFLAGS'
22906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22907 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22910 cat >conftest.$ac_ext <<_ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22918 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22924 test("%s %d %p", "test", 1, 0);
22931 rm -f conftest.$ac_objext
22932 if { (ac_try="$ac_compile"
22933 case "(($ac_try" in
22934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22935 *) ac_try_echo=$ac_try;;
22937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22938 (eval "$ac_compile") 2>conftest.er1
22940 grep -v '^
*+' conftest.er1 >conftest.err
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } && {
22945 test -z "$ac_cxx_werror_flag" ||
22946 test ! -s conftest.err
22947 } && test -s conftest.$ac_objext; then
22948 wx_cv_have_variadic_macros=yes
22950 echo "$as_me: failed program was:" >&5
22951 sed 's
/^
/| /' conftest.$ac_ext >&5
22953 wx_cv_have_variadic_macros=no
22957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22959 ac_cpp='$CPP $CPPFLAGS'
22960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22961 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22967 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22968 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22970 if test $wx_cv_have_variadic_macros = "yes"; then
22971 cat >>confdefs.h <<\_ACEOF
22972 #define HAVE_VARIADIC_MACROS 1
22978 # Check whether --enable-largefile was given.
22979 if test "${enable_largefile+set}" = set; then
22980 enableval=$enable_largefile;
22983 if test "$enable_largefile" != no; then
22986 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22987 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22988 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22989 echo $ECHO_N "(cached) $ECHO_C" >&6
22992 cat >conftest.$ac_ext <<_ACEOF
22995 cat confdefs.h >>conftest.$ac_ext
22996 cat >>conftest.$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22998 #define _FILE_OFFSET_BITS 64
22999 #include <sys/types.h>
23004 unsigned int field: sizeof(off_t) == 8;
23011 rm -f conftest.$ac_objext
23012 if { (ac_try="$ac_compile"
23013 case "(($ac_try" in
23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_compile") 2>conftest.er1
23020 grep -v '^
*+' conftest.er1 >conftest.err
23022 cat conftest.err >&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } && {
23025 test -z "$ac_c_werror_flag" ||
23026 test ! -s conftest.err
23027 } && test -s conftest.$ac_objext; then
23028 ac_cv_sys_file_offset_bits=64
23030 echo "$as_me: failed program was:" >&5
23031 sed 's
/^
/| /' conftest.$ac_ext >&5
23033 ac_cv_sys_file_offset_bits=no
23036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23040 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23041 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23043 if test "$ac_cv_sys_file_offset_bits" != no; then
23045 cat >>confdefs.h <<_ACEOF
23046 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23051 if test "x$wx_largefile" != "xyes"; then
23053 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23054 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23055 if test "${ac_cv_sys_large_files+set}" = set; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 cat >conftest.$ac_ext <<_ACEOF
23062 cat confdefs.h >>conftest.$ac_ext
23063 cat >>conftest.$ac_ext <<_ACEOF
23064 /* end confdefs.h. */
23065 #define _LARGE_FILES 1
23066 #include <sys/types.h>
23071 unsigned int field: sizeof(off_t) == 8;
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23082 *) ac_try_echo=$ac_try;;
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23087 grep -v '^
*+' conftest.er1 >conftest.err
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.$ac_objext; then
23095 ac_cv_sys_large_files=1
23097 echo "$as_me: failed program was:" >&5
23098 sed 's
/^
/| /' conftest.$ac_ext >&5
23100 ac_cv_sys_large_files=no
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23107 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23108 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23110 if test "$ac_cv_sys_large_files" != no; then
23112 cat >>confdefs.h <<_ACEOF
23113 #define _LARGE_FILES $ac_cv_sys_large_files
23120 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23121 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23122 if test "x$wx_largefile" = "xyes"; then
23123 cat >>confdefs.h <<\_ACEOF
23124 #define HAVE_LARGEFILE_SUPPORT 1
23128 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23129 echo "${ECHO_T}$wx_largefile" >&6; }
23133 if test "x$wx_largefile" = "xyes"; then
23134 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23135 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23137 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23138 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23139 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23140 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23141 echo $ECHO_N "(cached) $ECHO_C" >&6
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23147 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23150 cat >conftest.$ac_ext <<_ACEOF
23153 cat confdefs.h >>conftest.$ac_ext
23154 cat >>conftest.$ac_ext <<_ACEOF
23155 /* end confdefs.h. */
23161 #ifndef __STDC_EXT__
23169 rm -f conftest.$ac_objext
23170 if { (ac_try="$ac_compile"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_compile") 2>conftest.er1
23178 grep -v '^
*+' conftest.er1 >conftest.err
23180 cat conftest.err >&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } && {
23183 test -z "$ac_cxx_werror_flag" ||
23184 test ! -s conftest.err
23185 } && test -s conftest.$ac_objext; then
23186 wx_cv_STDC_EXT_required=no
23188 echo "$as_me: failed program was:" >&5
23189 sed 's
/^
/| /' conftest.$ac_ext >&5
23191 wx_cv_STDC_EXT_required=yes
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197 ac_cpp='$CPP $CPPFLAGS'
23198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23199 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23205 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23206 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23207 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23208 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23212 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23214 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23215 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23216 if test "${ac_cv_sys_largefile_source+set}" = set; then
23217 echo $ECHO_N "(cached) $ECHO_C" >&6
23220 cat >conftest.$ac_ext <<_ACEOF
23223 cat confdefs.h >>conftest.$ac_ext
23224 cat >>conftest.$ac_ext <<_ACEOF
23225 /* end confdefs.h. */
23226 #include <sys/types.h> /* for off_t */
23231 int (*fp) (FILE *, off_t, int) = fseeko;
23232 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23237 rm -f conftest.$ac_objext conftest$ac_exeext
23238 if { (ac_try="$ac_link"
23239 case "(($ac_try" in
23240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23241 *) ac_try_echo=$ac_try;;
23243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23244 (eval "$ac_link") 2>conftest.er1
23246 grep -v '^
*+' conftest.er1 >conftest.err
23248 cat conftest.err >&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } && {
23251 test -z "$ac_c_werror_flag" ||
23252 test ! -s conftest.err
23253 } && test -s conftest$ac_exeext &&
23254 $as_test_x conftest$ac_exeext; then
23255 ac_cv_sys_largefile_source=no; break
23257 echo "$as_me: failed program was:" >&5
23258 sed 's
/^
/| /' conftest.$ac_ext >&5
23263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23264 conftest$ac_exeext conftest.$ac_ext
23265 cat >conftest.$ac_ext <<_ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #define _LARGEFILE_SOURCE 1
23272 #include <sys/types.h> /* for off_t */
23277 int (*fp) (FILE *, off_t, int) = fseeko;
23278 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23283 rm -f conftest.$ac_objext conftest$ac_exeext
23284 if { (ac_try="$ac_link"
23285 case "(($ac_try" in
23286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23287 *) ac_try_echo=$ac_try;;
23289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23290 (eval "$ac_link") 2>conftest.er1
23292 grep -v '^
*+' conftest.er1 >conftest.err
23294 cat conftest.err >&5
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); } && {
23297 test -z "$ac_c_werror_flag" ||
23298 test ! -s conftest.err
23299 } && test -s conftest$ac_exeext &&
23300 $as_test_x conftest$ac_exeext; then
23301 ac_cv_sys_largefile_source=1; break
23303 echo "$as_me: failed program was:" >&5
23304 sed 's
/^
/| /' conftest.$ac_ext >&5
23309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23310 conftest$ac_exeext conftest.$ac_ext
23311 ac_cv_sys_largefile_source=unknown
23315 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23316 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23317 case $ac_cv_sys_largefile_source in #(
23320 cat >>confdefs.h <<_ACEOF
23321 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23327 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23328 # in glibc 2.1.3, but that breaks too many other things.
23329 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23330 if test $ac_cv_sys_largefile_source != unknown; then
23332 cat >>confdefs.h <<\_ACEOF
23333 #define HAVE_FSEEKO 1
23338 if test "$ac_cv_sys_largefile_source" != no; then
23339 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23343 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23344 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23345 if test "${ac_cv_c_bigendian+set}" = set; then
23346 echo $ECHO_N "(cached) $ECHO_C" >&6
23348 ac_cv_c_bigendian=unknown
23349 # See if sys/param.h defines the BYTE_ORDER macro.
23350 cat >conftest.$ac_ext <<_ACEOF
23353 cat confdefs.h >>conftest.$ac_ext
23354 cat >>conftest.$ac_ext <<_ACEOF
23355 /* end confdefs.h. */
23356 #include <sys/types.h>
23357 #include <sys/param.h>
23362 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23363 bogus endian macros
23369 rm -f conftest.$ac_objext
23370 if { (ac_try="$ac_compile"
23371 case "(($ac_try" in
23372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23373 *) ac_try_echo=$ac_try;;
23375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23376 (eval "$ac_compile") 2>conftest.er1
23378 grep -v '^
*+' conftest.er1 >conftest.err
23380 cat conftest.err >&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } && {
23383 test -z "$ac_c_werror_flag" ||
23384 test ! -s conftest.err
23385 } && test -s conftest.$ac_objext; then
23386 # It does; now see whether it defined to BIG_ENDIAN or not.
23387 cat >conftest.$ac_ext <<_ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 #include <sys/types.h>
23394 #include <sys/param.h>
23399 #if BYTE_ORDER != BIG_ENDIAN
23406 rm -f conftest.$ac_objext
23407 if { (ac_try="$ac_compile"
23408 case "(($ac_try" in
23409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23410 *) ac_try_echo=$ac_try;;
23412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23413 (eval "$ac_compile") 2>conftest.er1
23415 grep -v '^
*+' conftest.er1 >conftest.err
23417 cat conftest.err >&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } && {
23420 test -z "$ac_c_werror_flag" ||
23421 test ! -s conftest.err
23422 } && test -s conftest.$ac_objext; then
23423 ac_cv_c_bigendian=yes
23425 echo "$as_me: failed program was:" >&5
23426 sed 's
/^
/| /' conftest.$ac_ext >&5
23428 ac_cv_c_bigendian=no
23431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 echo "$as_me: failed program was:" >&5
23434 sed 's
/^
/| /' conftest.$ac_ext >&5
23439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23440 if test $ac_cv_c_bigendian = unknown; then
23441 if test "$cross_compiling" = yes; then
23442 ac_cv_c_bigendian=unknown
23444 cat >conftest.$ac_ext <<_ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23451 /* Are we little or big endian? From Harbison&Steele. */
23455 char c[sizeof (long)];
23458 exit (u.c[sizeof (long) - 1] == 1);
23461 rm -f conftest$ac_exeext
23462 if { (ac_try="$ac_link"
23463 case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;;
23467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23468 (eval "$ac_link") 2>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23472 { (case "(($ac_try" in
23473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23474 *) ac_try_echo=$ac_try;;
23476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23477 (eval "$ac_try") 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; }; then
23481 ac_cv_c_bigendian=no
23483 echo "$as_me: program exited with status $ac_status" >&5
23484 echo "$as_me: failed program was:" >&5
23485 sed 's
/^
/| /' conftest.$ac_ext >&5
23487 ( exit $ac_status )
23488 ac_cv_c_bigendian=yes
23490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23496 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23497 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23498 if test $ac_cv_c_bigendian = unknown; then
23499 { 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
23500 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;}
23502 if test $ac_cv_c_bigendian = yes; then
23503 cat >>confdefs.h <<\_ACEOF
23504 #define WORDS_BIGENDIAN 1
23513 ac_cpp='$CXXCPP $CPPFLAGS'
23514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23515 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520 for ac_header in iostream
23522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 cat >conftest.$ac_ext <<_ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23536 #include <$ac_header>
23538 rm -f conftest.$ac_objext
23539 if { (ac_try="$ac_compile"
23540 case "(($ac_try" in
23541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23542 *) ac_try_echo=$ac_try;;
23544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23545 (eval "$ac_compile") 2>conftest.er1
23547 grep -v '^
*+' conftest.er1 >conftest.err
23549 cat conftest.err >&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); } && {
23552 test -z "$ac_cxx_werror_flag" ||
23553 test ! -s conftest.err
23554 } && test -s conftest.$ac_objext; then
23555 eval "$as_ac_Header=yes"
23557 echo "$as_me: failed program was:" >&5
23558 sed 's
/^
/| /' conftest.$ac_ext >&5
23560 eval "$as_ac_Header=no"
23563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23565 ac_res=`eval echo '${'$as_ac_Header'}'`
23566 { echo "$as_me:$LINENO: result: $ac_res" >&5
23567 echo "${ECHO_T}$ac_res" >&6; }
23568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23569 cat >>confdefs.h <<_ACEOF
23570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23578 if test "$ac_cv_header_iostream" = "yes" ; then
23581 cat >>confdefs.h <<\_ACEOF
23582 #define wxUSE_IOSTREAMH 1
23588 ac_cpp='$CPP $CPPFLAGS'
23589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23590 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23596 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23597 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23598 if test "${wx_cv_cpp_bool+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 ac_cpp='$CXXCPP $CPPFLAGS'
23605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23606 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23610 cat >conftest.$ac_ext <<_ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23630 rm -f conftest.$ac_objext
23631 if { (ac_try="$ac_compile"
23632 case "(($ac_try" in
23633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23634 *) ac_try_echo=$ac_try;;
23636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23637 (eval "$ac_compile") 2>conftest.er1
23639 grep -v '^
*+' conftest.er1 >conftest.err
23641 cat conftest.err >&5
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); } && {
23644 test -z "$ac_cxx_werror_flag" ||
23645 test ! -s conftest.err
23646 } && test -s conftest.$ac_objext; then
23651 echo "$as_me: failed program was:" >&5
23652 sed 's
/^
/| /' conftest.$ac_ext >&5
23660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 ac_cpp='$CPP $CPPFLAGS'
23664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23665 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23670 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23671 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23673 if test "$wx_cv_cpp_bool" = "yes"; then
23674 cat >>confdefs.h <<\_ACEOF
23675 #define HAVE_BOOL 1
23682 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23683 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23684 if test "${wx_cv_explicit+set}" = set; then
23685 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 ac_cpp='$CXXCPP $CPPFLAGS'
23691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23692 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23696 cat >conftest.$ac_ext <<_ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23703 class Foo { public: explicit Foo(int) {} };
23715 rm -f conftest.$ac_objext
23716 if { (ac_try="$ac_compile"
23717 case "(($ac_try" in
23718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23719 *) ac_try_echo=$ac_try;;
23721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23722 (eval "$ac_compile") 2>conftest.er1
23724 grep -v '^
*+' conftest.er1 >conftest.err
23726 cat conftest.err >&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && {
23729 test -z "$ac_cxx_werror_flag" ||
23730 test ! -s conftest.err
23731 } && test -s conftest.$ac_objext; then
23733 cat >conftest.$ac_ext <<_ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23740 class Foo { public: explicit Foo(int) {} };
23741 static void TakeFoo(const Foo& foo) { }
23754 rm -f conftest.$ac_objext
23755 if { (ac_try="$ac_compile"
23756 case "(($ac_try" in
23757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758 *) ac_try_echo=$ac_try;;
23760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23761 (eval "$ac_compile") 2>conftest.er1
23763 grep -v '^
*+' conftest.er1 >conftest.err
23765 cat conftest.err >&5
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); } && {
23768 test -z "$ac_cxx_werror_flag" ||
23769 test ! -s conftest.err
23770 } && test -s conftest.$ac_objext; then
23773 echo "$as_me: failed program was:" >&5
23774 sed 's
/^
/| /' conftest.$ac_ext >&5
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 echo "$as_me: failed program was:" >&5
23784 sed 's
/^
/| /' conftest.$ac_ext >&5
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23793 ac_cpp='$CPP $CPPFLAGS'
23794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23795 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23800 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23801 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23803 if test "$wx_cv_explicit" = "yes"; then
23804 cat >>confdefs.h <<\_ACEOF
23805 #define HAVE_EXPLICIT 1
23811 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23812 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23813 if test "${ac_cv_cxx_const_cast+set}" = set; then
23814 echo $ECHO_N "(cached) $ECHO_C" >&6
23818 ac_cpp='$CXXCPP $CPPFLAGS'
23819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23820 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23823 cat >conftest.$ac_ext <<_ACEOF
23826 cat confdefs.h >>conftest.$ac_ext
23827 cat >>conftest.$ac_ext <<_ACEOF
23828 /* end confdefs.h. */
23833 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23838 rm -f conftest.$ac_objext
23839 if { (ac_try="$ac_compile"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_compile") 2>conftest.er1
23847 grep -v '^
*+' conftest.er1 >conftest.err
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } && {
23852 test -z "$ac_cxx_werror_flag" ||
23853 test ! -s conftest.err
23854 } && test -s conftest.$ac_objext; then
23855 ac_cv_cxx_const_cast=yes
23857 echo "$as_me: failed program was:" >&5
23858 sed 's
/^
/| /' conftest.$ac_ext >&5
23860 ac_cv_cxx_const_cast=no
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23865 ac_cpp='$CPP $CPPFLAGS'
23866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23867 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23872 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23873 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23874 if test "$ac_cv_cxx_const_cast" = yes; then
23876 cat >>confdefs.h <<\_ACEOF
23877 #define HAVE_CONST_CAST
23882 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23883 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23884 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23885 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23891 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894 cat >conftest.$ac_ext <<_ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 #include <typeinfo>
23901 class Base { public : Base () {} virtual void f () = 0;};
23902 class Derived : public Base { public : Derived () {} virtual void f () {} };
23903 class Unrelated { public : Unrelated () {} };
23904 int g (Unrelated&) { return 0; }
23909 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23914 rm -f conftest.$ac_objext
23915 if { (ac_try="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23923 grep -v '^
*+' conftest.er1 >conftest.err
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_cxx_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23931 ac_cv_cxx_reinterpret_cast=yes
23933 echo "$as_me: failed program was:" >&5
23934 sed 's
/^
/| /' conftest.$ac_ext >&5
23936 ac_cv_cxx_reinterpret_cast=no
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23941 ac_cpp='$CPP $CPPFLAGS'
23942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23943 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23948 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23949 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23950 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23952 cat >>confdefs.h <<\_ACEOF
23953 #define HAVE_REINTERPRET_CAST
23958 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23959 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23960 if test "${ac_cv_cxx_static_cast+set}" = set; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 ac_cpp='$CXXCPP $CPPFLAGS'
23966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23967 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23970 cat >conftest.$ac_ext <<_ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976 #include <typeinfo>
23977 class Base { public : Base () {} virtual void f () = 0; };
23978 class Derived : public Base { public : Derived () {} virtual void f () {} };
23979 int g (Derived&) { return 0; }
23984 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23989 rm -f conftest.$ac_objext
23990 if { (ac_try="$ac_compile"
23991 case "(($ac_try" in
23992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23993 *) ac_try_echo=$ac_try;;
23995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23996 (eval "$ac_compile") 2>conftest.er1
23998 grep -v '^
*+' conftest.er1 >conftest.err
24000 cat conftest.err >&5
24001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002 (exit $ac_status); } && {
24003 test -z "$ac_cxx_werror_flag" ||
24004 test ! -s conftest.err
24005 } && test -s conftest.$ac_objext; then
24006 ac_cv_cxx_static_cast=yes
24008 echo "$as_me: failed program was:" >&5
24009 sed 's
/^
/| /' conftest.$ac_ext >&5
24011 ac_cv_cxx_static_cast=no
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24018 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24023 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24024 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24025 if test "$ac_cv_cxx_static_cast" = yes; then
24027 cat >>confdefs.h <<\_ACEOF
24028 #define HAVE_STATIC_CAST
24034 if test "x$SUNCXX" = xyes; then
24035 CXXFLAGS="-features=tmplife $CXXFLAGS"
24038 if test "x$SUNCC" = xyes; then
24039 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24042 if test "x$SGICC" = "xyes"; then
24043 CFLAGS="-woff 3970 $CFLAGS"
24045 if test "x$SGICXX" = "xyes"; then
24046 CXXFLAGS="-woff 3970 $CXXFLAGS"
24049 if test "x$HPCC" = "xyes"; then
24050 CFLAGS="+W 2011,2450 $CFLAGS"
24052 if test "x$HPCXX" = "xyes"; then
24053 CXXFLAGS="+W 2340 $CXXFLAGS"
24056 if test "x$COMPAQCXX" = "xyes"; then
24057 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24061 ac_cpp='$CXXCPP $CPPFLAGS'
24062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24063 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24067 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24068 if test "$wxUSE_UNICODE" = "yes"; then
24069 std_string="std::wstring"
24070 char_type="wchar_t"
24072 std_string="std::string"
24076 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24077 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24078 if test "${wx_cv_class_stdstring+set}" = set; then
24079 echo $ECHO_N "(cached) $ECHO_C" >&6
24082 cat >conftest.$ac_ext <<_ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24097 rm -f conftest.$ac_objext
24098 if { (ac_try="$ac_compile"
24099 case "(($ac_try" in
24100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24101 *) ac_try_echo=$ac_try;;
24103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24104 (eval "$ac_compile") 2>conftest.er1
24106 grep -v '^
*+' conftest.er1 >conftest.err
24108 cat conftest.err >&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); } && {
24111 test -z "$ac_cxx_werror_flag" ||
24112 test ! -s conftest.err
24113 } && test -s conftest.$ac_objext; then
24114 wx_cv_class_stdstring=yes
24116 echo "$as_me: failed program was:" >&5
24117 sed 's
/^
/| /' conftest.$ac_ext >&5
24119 wx_cv_class_stdstring=no
24123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24128 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24130 if test "$wx_cv_class_stdstring" = yes; then
24131 if test "$wxUSE_UNICODE" = "yes"; then
24132 cat >>confdefs.h <<\_ACEOF
24133 #define HAVE_STD_WSTRING 1
24138 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24139 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24140 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24141 echo $ECHO_N "(cached) $ECHO_C" >&6
24144 cat >conftest.$ac_ext <<_ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24151 #ifdef HAVE_WCHAR_H
24153 # include <stddef.h>
24155 # include <wchar.h>
24157 #ifdef HAVE_STDLIB_H
24158 # include <stdlib.h>
24166 std::basic_string<$char_type> foo;
24167 const $char_type* dummy = foo.c_str();
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24181 grep -v '^
*+' conftest.er1 >conftest.err
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_cxx_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 wx_cv_class_stdbasicstring=yes
24191 echo "$as_me: failed program was:" >&5
24192 sed 's
/^
/| /' conftest.$ac_ext >&5
24194 wx_cv_class_stdbasicstring=no
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24202 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24203 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24205 if test "$wx_cv_class_stdbasicstring" != yes; then
24206 if test "$wxUSE_STL" = "yes"; then
24207 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24208 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24209 { (exit 1); exit 1; }; }
24210 elif test "$wxUSE_STD_STRING" = "yes"; then
24211 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24212 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24213 { (exit 1); exit 1; }; }
24215 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24216 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24217 wxUSE_STD_STRING=no
24223 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24224 { echo "$as_me:$LINENO: checking for std::istream" >&5
24225 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24226 if test "${ac_cv_type_std__istream+set}" = set; then
24227 echo $ECHO_N "(cached) $ECHO_C" >&6
24229 cat >conftest.$ac_ext <<_ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235 #include <iostream>
24237 typedef std::istream ac__type_new_;
24241 if ((ac__type_new_ *) 0)
24243 if (sizeof (ac__type_new_))
24249 rm -f conftest.$ac_objext
24250 if { (ac_try="$ac_compile"
24251 case "(($ac_try" in
24252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24253 *) ac_try_echo=$ac_try;;
24255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24256 (eval "$ac_compile") 2>conftest.er1
24258 grep -v '^
*+' conftest.er1 >conftest.err
24260 cat conftest.err >&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); } && {
24263 test -z "$ac_cxx_werror_flag" ||
24264 test ! -s conftest.err
24265 } && test -s conftest.$ac_objext; then
24266 ac_cv_type_std__istream=yes
24268 echo "$as_me: failed program was:" >&5
24269 sed 's
/^
/| /' conftest.$ac_ext >&5
24271 ac_cv_type_std__istream=no
24274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24277 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24278 if test $ac_cv_type_std__istream = yes; then
24280 cat >>confdefs.h <<_ACEOF
24281 #define HAVE_STD__ISTREAM 1
24286 wxUSE_STD_IOSTREAM=no
24288 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24289 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24290 if test "${ac_cv_type_std__ostream+set}" = set; then
24291 echo $ECHO_N "(cached) $ECHO_C" >&6
24293 cat >conftest.$ac_ext <<_ACEOF
24296 cat confdefs.h >>conftest.$ac_ext
24297 cat >>conftest.$ac_ext <<_ACEOF
24298 /* end confdefs.h. */
24299 #include <iostream>
24301 typedef std::ostream ac__type_new_;
24305 if ((ac__type_new_ *) 0)
24307 if (sizeof (ac__type_new_))
24313 rm -f conftest.$ac_objext
24314 if { (ac_try="$ac_compile"
24315 case "(($ac_try" in
24316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24317 *) ac_try_echo=$ac_try;;
24319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24320 (eval "$ac_compile") 2>conftest.er1
24322 grep -v '^
*+' conftest.er1 >conftest.err
24324 cat conftest.err >&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } && {
24327 test -z "$ac_cxx_werror_flag" ||
24328 test ! -s conftest.err
24329 } && test -s conftest.$ac_objext; then
24330 ac_cv_type_std__ostream=yes
24332 echo "$as_me: failed program was:" >&5
24333 sed 's
/^
/| /' conftest.$ac_ext >&5
24335 ac_cv_type_std__ostream=no
24338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24340 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24341 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24342 if test $ac_cv_type_std__ostream = yes; then
24344 cat >>confdefs.h <<_ACEOF
24345 #define HAVE_STD__OSTREAM 1
24350 wxUSE_STD_IOSTREAM=no
24354 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24355 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24356 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24357 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24358 { (exit 1); exit 1; }; }
24360 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24361 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24366 if test "$wxUSE_STL" = "yes"; then
24367 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24368 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24369 if test "${wx_cv_lib_stl+set}" = set; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 cat >conftest.$ac_ext <<_ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24379 #include <functional>
24380 #include <algorithm>
24386 std::vector<int> moo;
24387 std::list<int> foo;
24388 std::vector<int>::iterator it =
24389 std::find_if(moo.begin(), moo.end(),
24390 std::bind2nd(std::less<int>(), 3));
24395 rm -f conftest.$ac_objext
24396 if { (ac_try="$ac_compile"
24397 case "(($ac_try" in
24398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24399 *) ac_try_echo=$ac_try;;
24401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24402 (eval "$ac_compile") 2>conftest.er1
24404 grep -v '^
*+' conftest.er1 >conftest.err
24406 cat conftest.err >&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); } && {
24409 test -z "$ac_cxx_werror_flag" ||
24410 test ! -s conftest.err
24411 } && test -s conftest.$ac_objext; then
24414 echo "$as_me: failed program was:" >&5
24415 sed 's
/^
/| /' conftest.$ac_ext >&5
24421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24425 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24427 if test "$wx_cv_lib_stl" != yes; then
24428 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24429 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24430 { (exit 1); exit 1; }; }
24433 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24434 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24435 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24438 cat >conftest.$ac_ext <<_ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24448 std::string foo, bar;
24450 foo.compare(1, 1, bar);
24451 foo.compare(1, 1, bar, 1, 1);
24453 foo.compare(1, 1, "");
24454 foo.compare(1, 1, "", 2);
24459 rm -f conftest.$ac_objext
24460 if { (ac_try="$ac_compile"
24461 case "(($ac_try" in
24462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24463 *) ac_try_echo=$ac_try;;
24465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24466 (eval "$ac_compile") 2>conftest.er1
24468 grep -v '^
*+' conftest.er1 >conftest.err
24470 cat conftest.err >&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } && {
24473 test -z "$ac_cxx_werror_flag" ||
24474 test ! -s conftest.err
24475 } && test -s conftest.$ac_objext; then
24476 wx_cv_func_stdstring_compare=yes
24478 echo "$as_me: failed program was:" >&5
24479 sed 's
/^
/| /' conftest.$ac_ext >&5
24481 wx_cv_func_stdstring_compare=no
24485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24489 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24491 if test "$wx_cv_func_stdstring_compare" = yes; then
24492 cat >>confdefs.h <<\_ACEOF
24493 #define HAVE_STD_STRING_COMPARE 1
24498 { echo "$as_me:$LINENO: checking for hash_map" >&5
24499 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24500 if test "${ac_cv_header_hash_map+set}" = set; then
24501 echo $ECHO_N "(cached) $ECHO_C" >&6
24503 cat >conftest.$ac_ext <<_ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24512 #include <hash_map>
24514 rm -f conftest.$ac_objext
24515 if { (ac_try="$ac_compile"
24516 case "(($ac_try" in
24517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24518 *) ac_try_echo=$ac_try;;
24520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24521 (eval "$ac_compile") 2>conftest.er1
24523 grep -v '^
*+' conftest.er1 >conftest.err
24525 cat conftest.err >&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); } && {
24528 test -z "$ac_cxx_werror_flag" ||
24529 test ! -s conftest.err
24530 } && test -s conftest.$ac_objext; then
24531 ac_cv_header_hash_map=yes
24533 echo "$as_me: failed program was:" >&5
24534 sed 's
/^
/| /' conftest.$ac_ext >&5
24536 ac_cv_header_hash_map=no
24539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24541 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24542 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24543 if test $ac_cv_header_hash_map = yes; then
24544 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24545 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24546 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24547 echo $ECHO_N "(cached) $ECHO_C" >&6
24549 cat >conftest.$ac_ext <<_ACEOF
24552 cat confdefs.h >>conftest.$ac_ext
24553 cat >>conftest.$ac_ext <<_ACEOF
24554 /* end confdefs.h. */
24555 #include <hash_map>
24556 #include <hash_set>
24560 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24561 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24566 rm -f conftest.$ac_objext
24567 if { (ac_try="$ac_compile"
24568 case "(($ac_try" in
24569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24570 *) ac_try_echo=$ac_try;;
24572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 (eval "$ac_compile") 2>conftest.er1
24575 grep -v '^
*+' conftest.er1 >conftest.err
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && {
24580 test -z "$ac_cxx_werror_flag" ||
24581 test ! -s conftest.err
24582 } && test -s conftest.$ac_objext; then
24583 wx_cv_class_stdhashmapset=yes
24585 echo "$as_me: failed program was:" >&5
24586 sed 's
/^
/| /' conftest.$ac_ext >&5
24588 wx_cv_class_stdhashmapset=no
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24595 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24596 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24601 if test "$wx_cv_class_stdhashmapset" = yes; then
24602 cat >>confdefs.h <<\_ACEOF
24603 #define HAVE_HASH_MAP 1
24606 cat >>confdefs.h <<\_ACEOF
24607 #define HAVE_STD_HASH_MAP 1
24612 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24613 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24614 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24615 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 cat >conftest.$ac_ext <<_ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24626 #include <ext/hash_map>
24628 rm -f conftest.$ac_objext
24629 if { (ac_try="$ac_compile"
24630 case "(($ac_try" in
24631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24632 *) ac_try_echo=$ac_try;;
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_compile") 2>conftest.er1
24637 grep -v '^
*+' conftest.er1 >conftest.err
24639 cat conftest.err >&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } && {
24642 test -z "$ac_cxx_werror_flag" ||
24643 test ! -s conftest.err
24644 } && test -s conftest.$ac_objext; then
24645 ac_cv_header_ext_hash_map=yes
24647 echo "$as_me: failed program was:" >&5
24648 sed 's
/^
/| /' conftest.$ac_ext >&5
24650 ac_cv_header_ext_hash_map=no
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24656 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24657 if test $ac_cv_header_ext_hash_map = yes; then
24658 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24659 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24660 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 cat >conftest.$ac_ext <<_ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 #include <ext/hash_map>
24670 #include <ext/hash_set>
24674 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24675 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24680 rm -f conftest.$ac_objext
24681 if { (ac_try="$ac_compile"
24682 case "(($ac_try" in
24683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24684 *) ac_try_echo=$ac_try;;
24686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24687 (eval "$ac_compile") 2>conftest.er1
24689 grep -v '^
*+' conftest.er1 >conftest.err
24691 cat conftest.err >&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && {
24694 test -z "$ac_cxx_werror_flag" ||
24695 test ! -s conftest.err
24696 } && test -s conftest.$ac_objext; then
24697 wx_cv_class_gnuhashmapset=yes
24699 echo "$as_me: failed program was:" >&5
24700 sed 's
/^
/| /' conftest.$ac_ext >&5
24702 wx_cv_class_gnuhashmapset=no
24705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24709 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24710 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24715 if test "$wx_cv_class_gnuhashmapset" = yes; then
24716 cat >>confdefs.h <<\_ACEOF
24717 #define HAVE_EXT_HASH_MAP 1
24720 cat >>confdefs.h <<\_ACEOF
24721 #define HAVE_GNU_CXX_HASH_MAP 1
24729 if test -n "$GCC"; then
24730 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24731 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24732 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24736 cat >conftest.$ac_ext <<_ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24748 __sync_fetch_and_add(&value, 1);
24749 __sync_sub_and_fetch(&value, 1);
24755 rm -f conftest.$ac_objext
24756 if { (ac_try="$ac_compile"
24757 case "(($ac_try" in
24758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24759 *) ac_try_echo=$ac_try;;
24761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24762 (eval "$ac_compile") 2>conftest.er1
24764 grep -v '^
*+' conftest.er1 >conftest.err
24766 cat conftest.err >&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } && {
24769 test -z "$ac_cxx_werror_flag" ||
24770 test ! -s conftest.err
24771 } && test -s conftest.$ac_objext; then
24772 wx_cv_cc_gcc_atomic_builtins=yes
24774 echo "$as_me: failed program was:" >&5
24775 sed 's
/^
/| /' conftest.$ac_ext >&5
24777 wx_cv_cc_gcc_atomic_builtins=no
24780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24785 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24786 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24787 cat >>confdefs.h <<\_ACEOF
24788 #define HAVE_GCC_ATOMIC_BUILTINS 1
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24798 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804 /usr/local/include \
24806 /usr/Motif-2.1/include \
24807 /usr/Motif-1.2/include \
24808 /usr/include/Motif1.2 \
24811 /usr/openwin/include \
24815 /usr/X11R6/include \
24816 /usr/X11R6.4/include \
24817 /usr/X11R5/include \
24818 /usr/X11R4/include \
24820 /usr/include/X11R6 \
24821 /usr/include/X11R5 \
24822 /usr/include/X11R4 \
24824 /usr/local/X11R6/include \
24825 /usr/local/X11R5/include \
24826 /usr/local/X11R4/include \
24828 /usr/local/include/X11R6 \
24829 /usr/local/include/X11R5 \
24830 /usr/local/include/X11R4 \
24834 /usr/local/X11/include \
24835 /usr/local/include/X11 \
24837 /usr/XFree86/include/X11 \
24840 /usr/openwin/share/include"
24842 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24843 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24847 if test "${wx_cv_std_libpath+set}" = set; then
24848 echo $ECHO_N "(cached) $ECHO_C" >&6
24851 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24852 for e in a so sl dylib dll.a; do
24854 if test -f $libc; then
24857 cat >conftest.$ac_ext <<_ACEOF
24858 int main() { return 0; }
24860 rm -f conftest.$ac_objext conftest$ac_exeext
24861 if { (ac_try="$ac_link"
24862 case "(($ac_try" in
24863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24864 *) ac_try_echo=$ac_try;;
24866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24867 (eval "$ac_link") 2>conftest.er1
24869 grep -v '^
*+' conftest.er1 >conftest.err
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } && {
24874 test -z "$ac_c_werror_flag" ||
24875 test ! -s conftest.err
24876 } && test -s conftest$ac_exeext &&
24877 $as_test_x conftest$ac_exeext; then
24878 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24880 echo "$as_me: failed program was:" >&5
24881 sed 's
/^
/| /' conftest.$ac_ext >&5
24886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24887 conftest$ac_exeext conftest.$ac_ext
24889 if test "x$wx_cv_std_libpath" != "x"; then
24895 if test "x$wx_cv_std_libpath" = "x"; then
24896 wx_cv_std_libpath="lib"
24905 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24906 wx_cv_std_libpath="lib/64"
24908 wx_cv_std_libpath="lib"
24913 if test "$ac_cv_sizeof_void_p" = 8 -a \
24914 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24915 wx_cv_std_libpath="lib64"
24917 wx_cv_std_libpath="lib"
24922 wx_cv_std_libpath="lib";
24926 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24927 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24929 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24931 if test "$build" != "$host" -a "$GCC" = yes; then
24932 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24933 cross_root=`dirname $cross_root`
24934 cross_root=`dirname $cross_root`
24936 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24937 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24938 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24940 if test -z "$PKG_CONFIG_PATH"; then
24941 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24942 export PKG_CONFIG_PATH
24945 if test -z "$x_includes" -o "$x_includes" = NONE; then
24948 for ac_dir in $SEARCH_INCLUDE /usr/include;
24950 if test -f "$ac_dir/X11/Intrinsic.h"; then
24951 ac_find_includes=$ac_dir
24956 x_includes=$ac_find_includes
24958 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24961 for ac_dir in $SEARCH_LIB;
24963 for ac_extension in a so sl dylib dll.a; do
24964 if test -f "$ac_dir/libXt.$ac_extension"; then
24965 ac_find_libraries=$ac_dir
24971 x_libraries=$ac_find_libraries
24977 cat >confcache <<\_ACEOF
24978 # This file is a shell script that caches the results of configure
24979 # tests run on this system so they can be shared between configure
24980 # scripts and configure runs, see configure's option
--config-cache.
24981 # It is not useful on other systems. If it contains results you don't
24982 # want to keep, you may remove or edit it.
24984 # config.status only pays attention to the cache file if you give it
24985 # the --recheck option to rerun configure.
24987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24989 # following values.
24993 # The following way of writing the cache mishandles newlines in values,
24994 # but we know of no workaround that is simple, portable, and efficient.
24995 # So, we kill variables containing newlines.
24996 # Ultrix sh set writes to stderr and can't be redirected directly,
24997 # and sets the high bit in the cache file unless we assign to the vars.
24999 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25000 eval ac_val
=\$
$ac_var
25004 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25005 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25008 _
| IFS
| as_nl
) ;; #(
25009 *) $as_unset $ac_var ;;
25015 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25016 *${as_nl}ac_space
=\
*)
25017 # `set' does not quote correctly, so add quotes (double-quote
25018 # substitution turns \\\\ into \\, and sed turns \\ into \).
25021 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25024 # `set' quotes correctly as required by POSIX, so do not add quotes.
25025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25034 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25036 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25038 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25039 if test -w "$cache_file"; then
25040 test "x$cache_file" != "x/dev/null" &&
25041 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25042 echo "$as_me: updating cache $cache_file" >&6;}
25043 cat confcache
>$cache_file
25045 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25046 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25051 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25052 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25053 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25054 if test "${wx_cv_lib_glibc21+set}" = set; then
25055 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 cat >conftest.
$ac_ext <<_ACEOF
25061 cat confdefs.h
>>conftest.
$ac_ext
25062 cat >>conftest.
$ac_ext <<_ACEOF
25063 /* end confdefs.h. */
25064 #include <features.h>
25069 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25077 rm -f conftest.
$ac_objext
25078 if { (ac_try
="$ac_compile"
25079 case "(($ac_try" in
25080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25081 *) ac_try_echo=$ac_try;;
25083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25084 (eval "$ac_compile") 2>conftest.er1
25086 grep -v '^ *+' conftest.er1 >conftest.err
25088 cat conftest.err >&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } && {
25091 test -z "$ac_c_werror_flag" ||
25092 test ! -s conftest.err
25093 } && test -s conftest.$ac_objext; then
25095 wx_cv_lib_glibc21=yes
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.$ac_ext >&5
25102 wx_cv_lib_glibc21=no
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25111 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25112 if test "$wx_cv_lib_glibc21" = "yes"; then
25113 cat >>confdefs.h <<\_ACEOF
25114 #define wxHAVE_GLIBC2 1
25120 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25121 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25122 cat >>confdefs.h <<\_ACEOF
25123 #define _GNU_SOURCE 1
25134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 cat >conftest.$ac_ext <<_ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25148 #define $ac_func innocuous_$ac_func
25150 /* System header to define __stub macros and hopefully few prototypes,
25151 which can conflict with char $ac_func (); below.
25152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25153 <limits.h> exists even on freestanding compilers. */
25156 # include <limits.h>
25158 # include <assert.h>
25163 /* Override any GCC internal prototype to avoid an error.
25164 Use char because int might match the return type of a GCC
25165 builtin and then its argument prototype would still apply. */
25170 /* The GNU C library defines this for functions which it implements
25171 to always fail with ENOSYS. Some functions are actually named
25172 something starting with __ and the normal name is an alias. */
25173 #if defined __stub_$ac_func || defined __stub___$ac_func
25180 return $ac_func ();
25185 rm -f conftest.$ac_objext conftest$ac_exeext
25186 if { (ac_try="$ac_link"
25187 case "(($ac_try" in
25188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25189 *) ac_try_echo
=$ac_try;;
25191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25192 (eval "$ac_link") 2>conftest.er1
25194 grep -v '^ *+' conftest.er1
>conftest.err
25196 cat conftest.err
>&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); } && {
25199 test -z "$ac_c_werror_flag" ||
25200 test ! -s conftest.err
25201 } && test -s conftest
$ac_exeext &&
25202 $as_test_x conftest
$ac_exeext; then
25203 eval "$as_ac_var=yes"
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.
$ac_ext >&5
25208 eval "$as_ac_var=no"
25211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25212 conftest
$ac_exeext conftest.
$ac_ext
25214 ac_res
=`eval echo '${'$as_ac_var'}'`
25215 { echo "$as_me:$LINENO: result: $ac_res" >&5
25216 echo "${ECHO_T}$ac_res" >&6; }
25217 if test `eval echo '${'$as_ac_var'}'` = yes; then
25218 cat >>confdefs.h
<<_ACEOF
25219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25226 for ac_func
in floor
25228 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25229 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25231 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25234 cat >conftest.
$ac_ext <<_ACEOF
25237 cat confdefs.h
>>conftest.
$ac_ext
25238 cat >>conftest.
$ac_ext <<_ACEOF
25239 /* end confdefs.h. */
25240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25242 #define $ac_func innocuous_$ac_func
25244 /* System header to define __stub macros and hopefully few prototypes,
25245 which can conflict with char $ac_func (); below.
25246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25247 <limits.h> exists even on freestanding compilers. */
25250 # include <limits.h>
25252 # include <assert.h>
25257 /* Override any GCC internal prototype to avoid an error.
25258 Use char because int might match the return type of a GCC
25259 builtin and then its argument prototype would still apply. */
25264 /* The GNU C library defines this for functions which it implements
25265 to always fail with ENOSYS. Some functions are actually named
25266 something starting with __ and the normal name is an alias. */
25267 #if defined __stub_$ac_func || defined __stub___$ac_func
25274 return $ac_func ();
25279 rm -f conftest.
$ac_objext conftest
$ac_exeext
25280 if { (ac_try
="$ac_link"
25281 case "(($ac_try" in
25282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_link") 2>conftest.er1
25288 grep -v '^ *+' conftest.er1 >conftest.err
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_c_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest$ac_exeext &&
25296 $as_test_x conftest$ac_exeext; then
25297 eval "$as_ac_var=yes"
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 eval "$as_ac_var=no"
25305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25306 conftest$ac_exeext conftest.$ac_ext
25308 ac_res=`eval echo '${'$as_ac_var'}'`
25309 { echo "$as_me:$LINENO: result: $ac_res" >&5
25310 echo "${ECHO_T}$ac_res" >&6; }
25311 if test `eval echo '${'$as_ac_var'}'` = yes; then
25312 cat >>confdefs.h <<_ACEOF
25313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25319 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25320 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25321 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25322 { echo "$as_me:$LINENO: result: yes" >&5
25323 echo "${ECHO_T}yes" >&6; }
25325 { echo "$as_me:$LINENO: result: no" >&5
25326 echo "${ECHO_T}no" >&6; }
25328 # use different functions to avoid configure caching
25334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25338 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 cat >conftest.$ac_ext <<_ACEOF
25343 cat confdefs.h >>conftest.$ac_ext
25344 cat >>conftest.$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25348 #define $ac_func innocuous_$ac_func
25350 /* System header to define __stub macros and hopefully few prototypes,
25351 which can conflict with char $ac_func (); below.
25352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25353 <limits.h> exists even on freestanding compilers. */
25356 # include <limits.h>
25358 # include <assert.h>
25363 /* Override any GCC internal prototype to avoid an error.
25364 Use char because int might match the return type of a GCC
25365 builtin and then its argument prototype would still apply. */
25370 /* The GNU C library defines this for functions which it implements
25371 to always fail with ENOSYS. Some functions are actually named
25372 something starting with __ and the normal name is an alias. */
25373 #if defined __stub_$ac_func || defined __stub___$ac_func
25380 return $ac_func ();
25385 rm -f conftest.$ac_objext conftest$ac_exeext
25386 if { (ac_try="$ac_link"
25387 case "(($ac_try" in
25388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25389 *) ac_try_echo
=$ac_try;;
25391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25392 (eval "$ac_link") 2>conftest.er1
25394 grep -v '^ *+' conftest.er1
>conftest.err
25396 cat conftest.err
>&5
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); } && {
25399 test -z "$ac_c_werror_flag" ||
25400 test ! -s conftest.err
25401 } && test -s conftest
$ac_exeext &&
25402 $as_test_x conftest
$ac_exeext; then
25403 eval "$as_ac_var=yes"
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.
$ac_ext >&5
25408 eval "$as_ac_var=no"
25411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25412 conftest
$ac_exeext conftest.
$ac_ext
25414 ac_res
=`eval echo '${'$as_ac_var'}'`
25415 { echo "$as_me:$LINENO: result: $ac_res" >&5
25416 echo "${ECHO_T}$ac_res" >&6; }
25417 if test `eval echo '${'$as_ac_var'}'` = yes; then
25418 cat >>confdefs.h
<<_ACEOF
25419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25426 for ac_func
in ceil
25428 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25429 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25431 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 cat >conftest.
$ac_ext <<_ACEOF
25437 cat confdefs.h
>>conftest.
$ac_ext
25438 cat >>conftest.
$ac_ext <<_ACEOF
25439 /* end confdefs.h. */
25440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25442 #define $ac_func innocuous_$ac_func
25444 /* System header to define __stub macros and hopefully few prototypes,
25445 which can conflict with char $ac_func (); below.
25446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25447 <limits.h> exists even on freestanding compilers. */
25450 # include <limits.h>
25452 # include <assert.h>
25457 /* Override any GCC internal prototype to avoid an error.
25458 Use char because int might match the return type of a GCC
25459 builtin and then its argument prototype would still apply. */
25464 /* The GNU C library defines this for functions which it implements
25465 to always fail with ENOSYS. Some functions are actually named
25466 something starting with __ and the normal name is an alias. */
25467 #if defined __stub_$ac_func || defined __stub___$ac_func
25474 return $ac_func ();
25479 rm -f conftest.
$ac_objext conftest
$ac_exeext
25480 if { (ac_try
="$ac_link"
25481 case "(($ac_try" in
25482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25483 *) ac_try_echo=$ac_try;;
25485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25486 (eval "$ac_link") 2>conftest.er1
25488 grep -v '^ *+' conftest.er1 >conftest.err
25490 cat conftest.err >&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } && {
25493 test -z "$ac_c_werror_flag" ||
25494 test ! -s conftest.err
25495 } && test -s conftest$ac_exeext &&
25496 $as_test_x conftest$ac_exeext; then
25497 eval "$as_ac_var=yes"
25499 echo "$as_me: failed program was:" >&5
25500 sed 's/^/| /' conftest.$ac_ext >&5
25502 eval "$as_ac_var=no"
25505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25506 conftest$ac_exeext conftest.$ac_ext
25508 ac_res=`eval echo '${'$as_ac_var'}'`
25509 { echo "$as_me:$LINENO: result: $ac_res" >&5
25510 echo "${ECHO_T}$ac_res" >&6; }
25511 if test `eval echo '${'$as_ac_var'}'` = yes; then
25512 cat >>confdefs.h <<_ACEOF
25513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25519 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25520 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25521 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25522 { echo "$as_me:$LINENO: result: yes" >&5
25523 echo "${ECHO_T}yes" >&6; }
25525 { echo "$as_me:$LINENO: result: no" >&5
25526 echo "${ECHO_T}no" >&6; }
25527 # not sure we should warn the user, crash, etc.
25532 ac_cpp='$CXXCPP $CPPFLAGS'
25533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25537 if test "wxUSE_UNICODE" = "yes"; then
25539 for wx_func in wcstoull
25541 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25542 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25543 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 cat >conftest.$ac_ext <<_ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25556 $ac_includes_default
25572 rm -f conftest.$ac_objext conftest$ac_exeext
25573 if { (ac_try="$ac_link"
25574 case "(($ac_try" in
25575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25576 *) ac_try_echo
=$ac_try;;
25578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25579 (eval "$ac_link") 2>conftest.er1
25581 grep -v '^ *+' conftest.er1
>conftest.err
25583 cat conftest.err
>&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); } && {
25586 test -z "$ac_cxx_werror_flag" ||
25587 test ! -s conftest.err
25588 } && test -s conftest
$ac_exeext &&
25589 $as_test_x conftest
$ac_exeext; then
25590 eval wx_cv_func_
$wx_func=yes
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.
$ac_ext >&5
25595 eval wx_cv_func_
$wx_func=no
25598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25599 conftest
$ac_exeext conftest.
$ac_ext
25602 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25603 { echo "$as_me:$LINENO: result: $ac_res" >&5
25604 echo "${ECHO_T}$ac_res" >&6; }
25606 if eval test \
$wx_cv_func_$wx_func = yes
25608 cat >>confdefs.h
<<_ACEOF
25609 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25621 for wx_func
in strtoull
25623 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25624 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25625 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25626 echo $ECHO_N "(cached) $ECHO_C" >&6
25629 cat >conftest.
$ac_ext <<_ACEOF
25633 cat confdefs.h
>>conftest.
$ac_ext
25634 cat >>conftest.
$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25638 $ac_includes_default
25654 rm -f conftest.
$ac_objext conftest
$ac_exeext
25655 if { (ac_try
="$ac_link"
25656 case "(($ac_try" in
25657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_link") 2>conftest.er1
25663 grep -v '^ *+' conftest.er1 >conftest.err
25665 cat conftest.err >&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } && {
25668 test -z "$ac_cxx_werror_flag" ||
25669 test ! -s conftest.err
25670 } && test -s conftest$ac_exeext &&
25671 $as_test_x conftest$ac_exeext; then
25672 eval wx_cv_func_$wx_func=yes
25674 echo "$as_me: failed program was:" >&5
25675 sed 's/^/| /' conftest.$ac_ext >&5
25677 eval wx_cv_func_$wx_func=no
25680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25681 conftest$ac_exeext conftest.$ac_ext
25684 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25685 { echo "$as_me:$LINENO: result: $ac_res" >&5
25686 echo "${ECHO_T}$ac_res" >&6; }
25688 if eval test \$wx_cv_func_$wx_func = yes
25690 cat >>confdefs.h <<_ACEOF
25691 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25703 ac_cpp='$CPP $CPPFLAGS'
25704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25711 if test "$wxUSE_REGEX" != "no"; then
25712 cat >>confdefs.h <<\_ACEOF
25713 #define wxUSE_REGEX 1
25717 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25718 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25719 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25720 wxUSE_REGEX=builtin
25723 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25724 { echo "$as_me:$LINENO: checking for regex.h" >&5
25725 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25726 if test "${ac_cv_header_regex_h+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25729 cat >conftest.$ac_ext <<_ACEOF
25732 cat confdefs.h >>conftest.$ac_ext
25733 cat >>conftest.$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25739 rm -f conftest.$ac_objext
25740 if { (ac_try="$ac_compile"
25741 case "(($ac_try" in
25742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25743 *) ac_try_echo
=$ac_try;;
25745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25746 (eval "$ac_compile") 2>conftest.er1
25748 grep -v '^ *+' conftest.er1
>conftest.err
25750 cat conftest.err
>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); } && {
25753 test -z "$ac_c_werror_flag" ||
25754 test ! -s conftest.err
25755 } && test -s conftest.
$ac_objext; then
25756 ac_cv_header_regex_h
=yes
25758 echo "$as_me: failed program was:" >&5
25759 sed 's/^/| /' conftest.
$ac_ext >&5
25761 ac_cv_header_regex_h
=no
25764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25766 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25767 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25768 if test $ac_cv_header_regex_h = yes; then
25771 for ac_func
in regcomp re_search
25773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25774 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25776 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25779 cat >conftest.
$ac_ext <<_ACEOF
25782 cat confdefs.h
>>conftest.
$ac_ext
25783 cat >>conftest.
$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25787 #define $ac_func innocuous_$ac_func
25789 /* System header to define __stub macros and hopefully few prototypes,
25790 which can conflict with char $ac_func (); below.
25791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25792 <limits.h> exists even on freestanding compilers. */
25795 # include <limits.h>
25797 # include <assert.h>
25802 /* Override any GCC internal prototype to avoid an error.
25803 Use char because int might match the return type of a GCC
25804 builtin and then its argument prototype would still apply. */
25809 /* The GNU C library defines this for functions which it implements
25810 to always fail with ENOSYS. Some functions are actually named
25811 something starting with __ and the normal name is an alias. */
25812 #if defined __stub_$ac_func || defined __stub___$ac_func
25819 return $ac_func ();
25824 rm -f conftest.
$ac_objext conftest
$ac_exeext
25825 if { (ac_try
="$ac_link"
25826 case "(($ac_try" in
25827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_link") 2>conftest.er1
25833 grep -v '^ *+' conftest.er1 >conftest.err
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && {
25838 test -z "$ac_c_werror_flag" ||
25839 test ! -s conftest.err
25840 } && test -s conftest$ac_exeext &&
25841 $as_test_x conftest$ac_exeext; then
25842 eval "$as_ac_var=yes"
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25847 eval "$as_ac_var=no"
25850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25851 conftest$ac_exeext conftest.$ac_ext
25853 ac_res=`eval echo '${'$as_ac_var'}'`
25854 { echo "$as_me:$LINENO: result: $ac_res" >&5
25855 echo "${ECHO_T}$ac_res" >&6; }
25856 if test `eval echo '${'$as_ac_var'}'` = yes; then
25857 cat >>confdefs.h <<_ACEOF
25858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25868 if test "x$ac_cv_func_regcomp" != "xyes"; then
25869 if test "$wxUSE_REGEX" = "sys" ; then
25870 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25871 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25872 { (exit 1); exit 1; }; }
25874 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25875 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25876 wxUSE_REGEX=builtin
25880 cat >>confdefs.h <<\_ACEOF
25881 #define WX_NO_REGEX_ADVANCED 1
25890 if test "$wxUSE_ZLIB" != "no" ; then
25891 cat >>confdefs.h <<\_ACEOF
25892 #define wxUSE_ZLIB 1
25896 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25897 if test "$USE_DARWIN" = 1; then
25898 system_zlib_h_ok="yes"
25900 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25901 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25902 if test "${ac_cv_header_zlib_h+set}" = set; then
25903 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 if test "$cross_compiling" = yes; then
25906 unset ac_cv_header_zlib_h
25909 cat >conftest.$ac_ext <<_ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25921 FILE *f=fopen("conftestval", "w");
25924 ZLIB_VERSION[0] == '1' &&
25925 (ZLIB_VERSION[2] > '1' ||
25926 (ZLIB_VERSION[2] == '1' &&
25927 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25932 rm -f conftest$ac_exeext
25933 if { (ac_try="$ac_link"
25934 case "(($ac_try" in
25935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25936 *) ac_try_echo
=$ac_try;;
25938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25939 (eval "$ac_link") 2>&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25943 { (case "(($ac_try" in
25944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25945 *) ac_try_echo=$ac_try;;
25947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25948 (eval "$ac_try") 2>&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; }; then
25952 ac_cv_header_zlib_h=`cat conftestval
`
25954 echo "$as_me: program exited with status $ac_status" >&5
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25958 ( exit $ac_status )
25959 ac_cv_header_zlib_h=no
25961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25967 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25968 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25969 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25970 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25971 if test "${ac_cv_header_zlib_h+set}" = set; then
25972 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 cat >conftest.$ac_ext <<_ACEOF
25977 cat confdefs.h >>conftest.$ac_ext
25978 cat >>conftest.$ac_ext <<_ACEOF
25979 /* end confdefs.h. */
25984 rm -f conftest.$ac_objext
25985 if { (ac_try="$ac_compile"
25986 case "(($ac_try" in
25987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25988 *) ac_try_echo
=$ac_try;;
25990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25991 (eval "$ac_compile") 2>conftest.er1
25993 grep -v '^ *+' conftest.er1
>conftest.err
25995 cat conftest.err
>&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } && {
25998 test -z "$ac_c_werror_flag" ||
25999 test ! -s conftest.err
26000 } && test -s conftest.
$ac_objext; then
26001 ac_cv_header_zlib_h
=yes
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.
$ac_ext >&5
26006 ac_cv_header_zlib_h
=no
26009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26011 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26012 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26016 system_zlib_h_ok
=$ac_cv_header_zlib_h
26019 if test "$system_zlib_h_ok" = "yes"; then
26020 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26021 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26022 if test "${ac_cv_lib_z_deflate+set}" = set; then
26023 echo $ECHO_N "(cached) $ECHO_C" >&6
26025 ac_check_lib_save_LIBS
=$LIBS
26027 cat >conftest.
$ac_ext <<_ACEOF
26030 cat confdefs.h
>>conftest.
$ac_ext
26031 cat >>conftest.
$ac_ext <<_ACEOF
26032 /* end confdefs.h. */
26034 /* Override any GCC internal prototype to avoid an error.
26035 Use char because int might match the return type of a GCC
26036 builtin and then its argument prototype would still apply. */
26049 rm -f conftest.
$ac_objext conftest
$ac_exeext
26050 if { (ac_try
="$ac_link"
26051 case "(($ac_try" in
26052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26053 *) ac_try_echo=$ac_try;;
26055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26056 (eval "$ac_link") 2>conftest.er1
26058 grep -v '^ *+' conftest.er1 >conftest.err
26060 cat conftest.err >&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); } && {
26063 test -z "$ac_c_werror_flag" ||
26064 test ! -s conftest.err
26065 } && test -s conftest$ac_exeext &&
26066 $as_test_x conftest$ac_exeext; then
26067 ac_cv_lib_z_deflate=yes
26069 echo "$as_me: failed program was:" >&5
26070 sed 's/^/| /' conftest.$ac_ext >&5
26072 ac_cv_lib_z_deflate=no
26075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26076 conftest$ac_exeext conftest.$ac_ext
26077 LIBS=$ac_check_lib_save_LIBS
26079 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26080 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26081 if test $ac_cv_lib_z_deflate = yes; then
26087 if test "x$ZLIB_LINK" = "x" ; then
26088 if test "$wxUSE_ZLIB" = "sys" ; then
26089 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26090 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26091 { (exit 1); exit 1; }; }
26093 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26094 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26105 if test "$wxUSE_LIBPNG" != "no" ; then
26106 cat >>confdefs.h <<\_ACEOF
26107 #define wxUSE_LIBPNG 1
26111 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26112 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26113 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26117 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26118 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26119 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26120 wxUSE_LIBPNG=builtin
26123 if test "$wxUSE_MGL" != 1 ; then
26124 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26125 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26126 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26127 if test "${ac_cv_header_png_h+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26130 if test "$cross_compiling" = yes; then
26131 unset ac_cv_header_png_h
26134 cat >conftest.$ac_ext <<_ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26146 FILE *f=fopen("conftestval", "w");
26149 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26154 rm -f conftest$ac_exeext
26155 if { (ac_try="$ac_link"
26156 case "(($ac_try" in
26157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26158 *) ac_try_echo
=$ac_try;;
26160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161 (eval "$ac_link") 2>&5
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26165 { (case "(($ac_try" in
26166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26167 *) ac_try_echo=$ac_try;;
26169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26170 (eval "$ac_try") 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 ac_cv_header_png_h=`cat conftestval
`
26176 echo "$as_me: program exited with status $ac_status" >&5
26177 echo "$as_me: failed program was:" >&5
26178 sed 's/^/| /' conftest.$ac_ext >&5
26180 ( exit $ac_status )
26181 ac_cv_header_png_h=no
26183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26189 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26190 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26191 { echo "$as_me:$LINENO: checking for png.h" >&5
26192 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26193 if test "${ac_cv_header_png_h+set}" = set; then
26194 echo $ECHO_N "(cached) $ECHO_C" >&6
26196 cat >conftest.$ac_ext <<_ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26206 rm -f conftest.$ac_objext
26207 if { (ac_try="$ac_compile"
26208 case "(($ac_try" in
26209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26210 *) ac_try_echo
=$ac_try;;
26212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26213 (eval "$ac_compile") 2>conftest.er1
26215 grep -v '^ *+' conftest.er1
>conftest.err
26217 cat conftest.err
>&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } && {
26220 test -z "$ac_c_werror_flag" ||
26221 test ! -s conftest.err
26222 } && test -s conftest.
$ac_objext; then
26223 ac_cv_header_png_h
=yes
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.
$ac_ext >&5
26228 ac_cv_header_png_h
=no
26231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26233 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26234 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26238 if test "$ac_cv_header_png_h" = "yes"; then
26239 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26240 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26241 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 ac_check_lib_save_LIBS
=$LIBS
26245 LIBS
="-lpng -lz -lm $LIBS"
26246 cat >conftest.
$ac_ext <<_ACEOF
26249 cat confdefs.h
>>conftest.
$ac_ext
26250 cat >>conftest.
$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26253 /* Override any GCC internal prototype to avoid an error.
26254 Use char because int might match the return type of a GCC
26255 builtin and then its argument prototype would still apply. */
26259 char png_check_sig ();
26263 return png_check_sig ();
26268 rm -f conftest.
$ac_objext conftest
$ac_exeext
26269 if { (ac_try
="$ac_link"
26270 case "(($ac_try" in
26271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_link") 2>conftest.er1
26277 grep -v '^ *+' conftest.er1 >conftest.err
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } && {
26282 test -z "$ac_c_werror_flag" ||
26283 test ! -s conftest.err
26284 } && test -s conftest$ac_exeext &&
26285 $as_test_x conftest$ac_exeext; then
26286 ac_cv_lib_png_png_check_sig=yes
26288 echo "$as_me: failed program was:" >&5
26289 sed 's/^/| /' conftest.$ac_ext >&5
26291 ac_cv_lib_png_png_check_sig=no
26294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26295 conftest$ac_exeext conftest.$ac_ext
26296 LIBS=$ac_check_lib_save_LIBS
26298 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26299 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26300 if test $ac_cv_lib_png_png_check_sig = yes; then
26301 PNG_LINK=" -lpng -lz"
26306 if test "x$PNG_LINK" = "x" ; then
26307 if test "$wxUSE_LIBPNG" = "sys" ; then
26308 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26309 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26310 { (exit 1); exit 1; }; }
26312 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26313 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26314 wxUSE_LIBPNG=builtin
26325 if test "$wxUSE_LIBJPEG" != "no" ; then
26326 cat >>confdefs.h <<\_ACEOF
26327 #define wxUSE_LIBJPEG 1
26331 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26332 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26333 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26337 if test "$wxUSE_MGL" != 1 ; then
26338 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26339 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26340 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26341 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 cat >conftest.$ac_ext <<_ACEOF
26347 cat confdefs.h >>conftest.$ac_ext
26348 cat >>conftest.$ac_ext <<_ACEOF
26349 /* end confdefs.h. */
26351 #undef HAVE_STDLIB_H
26353 #include <jpeglib.h>
26364 rm -f conftest.$ac_objext
26365 if { (ac_try="$ac_compile"
26366 case "(($ac_try" in
26367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26368 *) ac_try_echo
=$ac_try;;
26370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26371 (eval "$ac_compile") 2>conftest.er1
26373 grep -v '^ *+' conftest.er1
>conftest.err
26375 cat conftest.err
>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } && {
26378 test -z "$ac_c_werror_flag" ||
26379 test ! -s conftest.err
26380 } && test -s conftest.
$ac_objext; then
26381 ac_cv_header_jpeglib_h
=yes
26383 echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.
$ac_ext >&5
26386 ac_cv_header_jpeglib_h
=no
26390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26394 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26395 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26397 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26398 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26399 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26400 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26401 echo $ECHO_N "(cached) $ECHO_C" >&6
26403 ac_check_lib_save_LIBS
=$LIBS
26404 LIBS
="-ljpeg $LIBS"
26405 cat >conftest.
$ac_ext <<_ACEOF
26408 cat confdefs.h
>>conftest.
$ac_ext
26409 cat >>conftest.
$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26412 /* Override any GCC internal prototype to avoid an error.
26413 Use char because int might match the return type of a GCC
26414 builtin and then its argument prototype would still apply. */
26418 char jpeg_read_header ();
26422 return jpeg_read_header ();
26427 rm -f conftest.
$ac_objext conftest
$ac_exeext
26428 if { (ac_try
="$ac_link"
26429 case "(($ac_try" in
26430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26431 *) ac_try_echo=$ac_try;;
26433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26434 (eval "$ac_link") 2>conftest.er1
26436 grep -v '^ *+' conftest.er1 >conftest.err
26438 cat conftest.err >&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } && {
26441 test -z "$ac_c_werror_flag" ||
26442 test ! -s conftest.err
26443 } && test -s conftest$ac_exeext &&
26444 $as_test_x conftest$ac_exeext; then
26445 ac_cv_lib_jpeg_jpeg_read_header=yes
26447 echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.$ac_ext >&5
26450 ac_cv_lib_jpeg_jpeg_read_header=no
26453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26454 conftest$ac_exeext conftest.$ac_ext
26455 LIBS=$ac_check_lib_save_LIBS
26457 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26458 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26459 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26460 JPEG_LINK=" -ljpeg"
26465 if test "x$JPEG_LINK" = "x" ; then
26466 if test "$wxUSE_LIBJPEG" = "sys" ; then
26467 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26468 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26469 { (exit 1); exit 1; }; }
26471 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26472 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26473 wxUSE_LIBJPEG=builtin
26478 if test "$wxUSE_MSW" = 1; then
26479 { echo "$as_me:$LINENO: checking for boolean" >&5
26480 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26481 if test "${ac_cv_type_boolean+set}" = set; then
26482 echo $ECHO_N "(cached) $ECHO_C" >&6
26484 cat >conftest.$ac_ext <<_ACEOF
26487 cat confdefs.h >>conftest.$ac_ext
26488 cat >>conftest.$ac_ext <<_ACEOF
26489 /* end confdefs.h. */
26490 #include <windows.h>
26492 typedef boolean ac__type_new_;
26496 if ((ac__type_new_ *) 0)
26498 if (sizeof (ac__type_new_))
26504 rm -f conftest.$ac_objext
26505 if { (ac_try="$ac_compile"
26506 case "(($ac_try" in
26507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26508 *) ac_try_echo
=$ac_try;;
26510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26511 (eval "$ac_compile") 2>conftest.er1
26513 grep -v '^ *+' conftest.er1
>conftest.err
26515 cat conftest.err
>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } && {
26518 test -z "$ac_c_werror_flag" ||
26519 test ! -s conftest.err
26520 } && test -s conftest.
$ac_objext; then
26521 ac_cv_type_boolean
=yes
26523 echo "$as_me: failed program was:" >&5
26524 sed 's/^/| /' conftest.
$ac_ext >&5
26526 ac_cv_type_boolean
=no
26529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26531 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26532 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26533 if test $ac_cv_type_boolean = yes; then
26535 cat >>confdefs.h
<<_ACEOF
26536 #define HAVE_BOOLEAN 1
26540 { echo "$as_me:$LINENO: checking for boolean" >&5
26541 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26542 if test "${ac_cv_type_boolean+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26545 cat >conftest.
$ac_ext <<_ACEOF
26548 cat confdefs.h
>>conftest.
$ac_ext
26549 cat >>conftest.
$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26552 #undef HAVE_BOOLEAN
26554 #include <jpeglib.h>
26557 typedef boolean ac__type_new_;
26561 if ((ac__type_new_ *) 0)
26563 if (sizeof (ac__type_new_))
26569 rm -f conftest.
$ac_objext
26570 if { (ac_try
="$ac_compile"
26571 case "(($ac_try" in
26572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26573 *) ac_try_echo=$ac_try;;
26575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26576 (eval "$ac_compile") 2>conftest.er1
26578 grep -v '^ *+' conftest.er1 >conftest.err
26580 cat conftest.err >&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } && {
26583 test -z "$ac_c_werror_flag" ||
26584 test ! -s conftest.err
26585 } && test -s conftest.$ac_objext; then
26586 ac_cv_type_boolean=yes
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26591 ac_cv_type_boolean=no
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26597 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26599 # The cast to long int works around a bug in the HP C Compiler
26600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26601 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26602 # This bug is HP SR number 8606223364.
26603 { echo "$as_me:$LINENO: checking size of boolean" >&5
26604 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26605 if test "${ac_cv_sizeof_boolean+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 if test "$cross_compiling" = yes; then
26609 # Depending upon the size, compute the lo and hi bounds.
26610 cat >conftest.$ac_ext <<_ACEOF
26613 cat confdefs.h >>conftest.$ac_ext
26614 cat >>conftest.$ac_ext <<_ACEOF
26615 /* end confdefs.h. */
26617 #undef HAVE_BOOLEAN
26619 #include <jpeglib.h>
26622 typedef boolean ac__type_sizeof_;
26626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26633 rm -f conftest.$ac_objext
26634 if { (ac_try="$ac_compile"
26635 case "(($ac_try" in
26636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26637 *) ac_try_echo=$ac_try;;
26639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26640 (eval "$ac_compile") 2>conftest.er1
26642 grep -v '^
*+' conftest.er1 >conftest.err
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } && {
26647 test -z "$ac_c_werror_flag" ||
26648 test ! -s conftest.err
26649 } && test -s conftest.$ac_objext; then
26652 cat >conftest.$ac_ext <<_ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26659 #undef HAVE_BOOLEAN
26661 #include <jpeglib.h>
26664 typedef boolean ac__type_sizeof_;
26668 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26675 rm -f conftest.$ac_objext
26676 if { (ac_try="$ac_compile"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26679 *) ac_try_echo=$ac_try;;
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_compile") 2>conftest.er1
26684 grep -v '^
*+' conftest.er1 >conftest.err
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } && {
26689 test -z "$ac_c_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest.$ac_objext; then
26692 ac_hi=$ac_mid; break
26694 echo "$as_me: failed program was:" >&5
26695 sed 's
/^
/| /' conftest.$ac_ext >&5
26697 ac_lo=`expr $ac_mid + 1`
26698 if test $ac_lo -le $ac_mid; then
26702 ac_mid=`expr 2 '*' $ac_mid + 1`
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26708 echo "$as_me: failed program was:" >&5
26709 sed 's
/^
/| /' conftest.$ac_ext >&5
26711 cat >conftest.$ac_ext <<_ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26718 #undef HAVE_BOOLEAN
26720 #include <jpeglib.h>
26723 typedef boolean ac__type_sizeof_;
26727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26734 rm -f conftest.$ac_objext
26735 if { (ac_try="$ac_compile"
26736 case "(($ac_try" in
26737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26738 *) ac_try_echo=$ac_try;;
26740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26741 (eval "$ac_compile") 2>conftest.er1
26743 grep -v '^
*+' conftest.er1 >conftest.err
26745 cat conftest.err >&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } && {
26748 test -z "$ac_c_werror_flag" ||
26749 test ! -s conftest.err
26750 } && test -s conftest.$ac_objext; then
26753 cat >conftest.$ac_ext <<_ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26760 #undef HAVE_BOOLEAN
26762 #include <jpeglib.h>
26765 typedef boolean ac__type_sizeof_;
26769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26776 rm -f conftest.$ac_objext
26777 if { (ac_try="$ac_compile"
26778 case "(($ac_try" in
26779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26780 *) ac_try_echo=$ac_try;;
26782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26783 (eval "$ac_compile") 2>conftest.er1
26785 grep -v '^
*+' conftest.er1 >conftest.err
26787 cat conftest.err >&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } && {
26790 test -z "$ac_c_werror_flag" ||
26791 test ! -s conftest.err
26792 } && test -s conftest.$ac_objext; then
26793 ac_lo=$ac_mid; break
26795 echo "$as_me: failed program was:" >&5
26796 sed 's
/^
/| /' conftest.$ac_ext >&5
26798 ac_hi=`expr '(' $ac_mid ')' - 1`
26799 if test $ac_mid -le $ac_hi; then
26803 ac_mid=`expr 2 '*' $ac_mid`
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26809 echo "$as_me: failed program was:" >&5
26810 sed 's
/^
/| /' conftest.$ac_ext >&5
26815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26819 # Binary search between lo and hi bounds.
26820 while test "x$ac_lo" != "x$ac_hi"; do
26821 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26822 cat >conftest.$ac_ext <<_ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26829 #undef HAVE_BOOLEAN
26831 #include <jpeglib.h>
26834 typedef boolean ac__type_sizeof_;
26838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26845 rm -f conftest.$ac_objext
26846 if { (ac_try="$ac_compile"
26847 case "(($ac_try" in
26848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26849 *) ac_try_echo=$ac_try;;
26851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26852 (eval "$ac_compile") 2>conftest.er1
26854 grep -v '^
*+' conftest.er1 >conftest.err
26856 cat conftest.err >&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } && {
26859 test -z "$ac_c_werror_flag" ||
26860 test ! -s conftest.err
26861 } && test -s conftest.$ac_objext; then
26864 echo "$as_me: failed program was:" >&5
26865 sed 's
/^
/| /' conftest.$ac_ext >&5
26867 ac_lo=`expr '(' $ac_mid ')' + 1`
26870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26873 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26874 '') if test "$ac_cv_type_boolean" = yes; then
26875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26876 See \`config.log' for more details.
" >&5
26877 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26878 See \
`config.log' for more details." >&2;}
26879 { (exit 77); exit 77; }; }
26881 ac_cv_sizeof_boolean=0
26885 cat >conftest.$ac_ext <<_ACEOF
26888 cat confdefs.h >>conftest.$ac_ext
26889 cat >>conftest.$ac_ext <<_ACEOF
26890 /* end confdefs.h. */
26892 #undef HAVE_BOOLEAN
26894 #include <jpeglib.h>
26897 typedef boolean ac__type_sizeof_;
26898 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26899 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26901 #include <stdlib.h>
26906 FILE *f = fopen ("conftest.val", "w");
26909 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26911 long int i = longval ();
26912 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26914 fprintf (f, "%ld\n", i);
26918 unsigned long int i = ulongval ();
26919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26921 fprintf (f, "%lu\n", i);
26923 return ferror (f) || fclose (f) != 0;
26929 rm -f conftest$ac_exeext
26930 if { (ac_try="$ac_link"
26931 case "(($ac_try" in
26932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26933 *) ac_try_echo
=$ac_try;;
26935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26936 (eval "$ac_link") 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26940 { (case "(($ac_try" in
26941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26942 *) ac_try_echo=$ac_try;;
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_try") 2>&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); }; }; then
26949 ac_cv_sizeof_boolean=`cat conftest.val
`
26951 echo "$as_me: program exited with status $ac_status" >&5
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.$ac_ext >&5
26955 ( exit $ac_status )
26956 if test "$ac_cv_type_boolean" = yes; then
26957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26958 See \`config.log
' for more details." >&5
26959 echo "$as_me: error: cannot compute sizeof (boolean)
26960 See \`config.log' for more details.
" >&2;}
26961 { (exit 77); exit 77; }; }
26963 ac_cv_sizeof_boolean=0
26966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26970 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26971 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26975 cat >>confdefs.h <<_ACEOF
26976 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26980 cat >>confdefs.h <<_ACEOF
26981 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26995 TIFF_PREREQ_LINKS=-lm
26996 if test "$wxUSE_LIBTIFF" != "no
" ; then
26997 cat >>confdefs.h <<\_ACEOF
26998 #define wxUSE_LIBTIFF 1
27002 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27003 if test "$wxUSE_LIBJPEG" = "sys
"; then
27004 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27006 if test "$wxUSE_ZLIB" = "sys
"; then
27007 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27009 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27010 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27011 if test "${ac_cv_header_tiffio_h+set}" = set; then
27012 echo $ECHO_N "(cached
) $ECHO_C" >&6
27014 cat >conftest.$ac_ext <<_ACEOF
27017 cat confdefs.h >>conftest.$ac_ext
27018 cat >>conftest.$ac_ext <<_ACEOF
27019 /* end confdefs.h. */
27023 #include <tiffio.h>
27025 rm -f conftest.$ac_objext
27026 if { (ac_try="$ac_compile"
27027 case "(($ac_try" in
27028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27029 *) ac_try_echo=$ac_try;;
27031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27032 (eval "$ac_compile") 2>conftest.er1
27034 grep -v '^ *+' conftest.er1 >conftest.err
27036 cat conftest.err >&5
27037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27038 (exit $ac_status); } && {
27039 test -z "$ac_c_werror_flag" ||
27040 test ! -s conftest.err
27041 } && test -s conftest.$ac_objext; then
27042 ac_cv_header_tiffio_h=yes
27044 echo "$as_me: failed program was
:" >&5
27045 sed 's/^/| /' conftest.$ac_ext >&5
27047 ac_cv_header_tiffio_h=no
27050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27052 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27053 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27054 if test $ac_cv_header_tiffio_h = yes; then
27056 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27057 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27058 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27059 echo $ECHO_N "(cached
) $ECHO_C" >&6
27061 ac_check_lib_save_LIBS=$LIBS
27062 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27063 cat >conftest.$ac_ext <<_ACEOF
27066 cat confdefs.h >>conftest.$ac_ext
27067 cat >>conftest.$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27070 /* Override any GCC internal prototype to avoid an error.
27071 Use char because int might match the return type of a GCC
27072 builtin and then its argument prototype would still apply. */
27080 return TIFFError ();
27085 rm -f conftest.$ac_objext conftest$ac_exeext
27086 if { (ac_try="$ac_link"
27087 case "(($ac_try" in
27088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27089 *) ac_try_echo=$ac_try;;
27091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27092 (eval "$ac_link") 2>conftest.er1
27094 grep -v '^ *+' conftest.er1 >conftest.err
27096 cat conftest.err >&5
27097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27098 (exit $ac_status); } && {
27099 test -z "$ac_c_werror_flag" ||
27100 test ! -s conftest.err
27101 } && test -s conftest$ac_exeext &&
27102 $as_test_x conftest$ac_exeext; then
27103 ac_cv_lib_tiff_TIFFError=yes
27105 echo "$as_me: failed program was
:" >&5
27106 sed 's/^/| /' conftest.$ac_ext >&5
27108 ac_cv_lib_tiff_TIFFError=no
27111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27112 conftest$ac_exeext conftest.$ac_ext
27113 LIBS=$ac_check_lib_save_LIBS
27115 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27116 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27117 if test $ac_cv_lib_tiff_TIFFError = yes; then
27118 TIFF_LINK=" -ltiff"
27126 if test "x
$TIFF_LINK" = "x
" ; then
27127 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27128 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27129 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27130 { (exit 1); exit 1; }; }
27132 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27133 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27134 wxUSE_LIBTIFF=builtin
27140 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27141 if test "$wxUSE_LIBJPEG" = "no
"; then
27142 ac_configure_args="$ac_configure_args --disable-jpeg"
27144 subdirs="$subdirs src
/tiff
"
27150 if test "$wxUSE_WCHAR_T" != "yes"; then
27151 if test "$wxUSE_EXPAT" != "no
"; then
27152 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27153 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27156 if test "$wxUSE_XML" != "no
"; then
27157 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27158 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27163 if test "$wxUSE_EXPAT" != "no
"; then
27165 cat >>confdefs.h <<\_ACEOF
27166 #define wxUSE_EXPAT 1
27169 cat >>confdefs.h <<\_ACEOF
27170 #define wxUSE_XML 1
27174 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27175 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27176 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27177 if test "${ac_cv_header_expat_h+set}" = set; then
27178 echo $ECHO_N "(cached
) $ECHO_C" >&6
27180 cat >conftest.$ac_ext <<_ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27190 rm -f conftest.$ac_objext
27191 if { (ac_try="$ac_compile"
27192 case "(($ac_try" in
27193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_compile") 2>conftest.er1
27199 grep -v '^ *+' conftest.er1 >conftest.err
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27203 (exit $ac_status); } && {
27204 test -z "$ac_c_werror_flag" ||
27205 test ! -s conftest.err
27206 } && test -s conftest.$ac_objext; then
27207 ac_cv_header_expat_h=yes
27209 echo "$as_me: failed program was
:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27212 ac_cv_header_expat_h=no
27215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27217 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27218 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27219 if test $ac_cv_header_expat_h = yes; then
27224 if test "x
$found_expat_h" = "x1
"; then
27225 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27226 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27227 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27228 echo $ECHO_N "(cached
) $ECHO_C" >&6
27232 ac_cpp='$CXXCPP $CPPFLAGS'
27233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27237 cat >conftest.$ac_ext <<_ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27261 grep -v '^ *+' conftest.er1 >conftest.err
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_cxx_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 wx_cv_expat_is_not_broken=yes
27271 echo "$as_me: failed program was
:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27274 wx_cv_expat_is_not_broken=no
27278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27280 ac_cpp='$CPP $CPPFLAGS'
27281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27288 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27289 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27290 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27291 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27292 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27293 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27294 echo $ECHO_N "(cached
) $ECHO_C" >&6
27296 ac_check_lib_save_LIBS=$LIBS
27297 LIBS="-lexpat $LIBS"
27298 cat >conftest.$ac_ext <<_ACEOF
27301 cat confdefs.h >>conftest.$ac_ext
27302 cat >>conftest.$ac_ext <<_ACEOF
27303 /* end confdefs.h. */
27305 /* Override any GCC internal prototype to avoid an error.
27306 Use char because int might match the return type of a GCC
27307 builtin and then its argument prototype would still apply. */
27311 char XML_ParserCreate ();
27315 return XML_ParserCreate ();
27320 rm -f conftest.$ac_objext conftest$ac_exeext
27321 if { (ac_try="$ac_link"
27322 case "(($ac_try" in
27323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27324 *) ac_try_echo=$ac_try;;
27326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27327 (eval "$ac_link") 2>conftest.er1
27329 grep -v '^ *+' conftest.er1 >conftest.err
27331 cat conftest.err >&5
27332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27333 (exit $ac_status); } && {
27334 test -z "$ac_c_werror_flag" ||
27335 test ! -s conftest.err
27336 } && test -s conftest$ac_exeext &&
27337 $as_test_x conftest$ac_exeext; then
27338 ac_cv_lib_expat_XML_ParserCreate=yes
27340 echo "$as_me: failed program was
:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27343 ac_cv_lib_expat_XML_ParserCreate=no
27346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27347 conftest$ac_exeext conftest.$ac_ext
27348 LIBS=$ac_check_lib_save_LIBS
27350 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27351 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27352 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27353 EXPAT_LINK=" -lexpat"
27358 if test "x
$EXPAT_LINK" = "x
" ; then
27359 if test "$wxUSE_EXPAT" = "sys
" ; then
27360 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27361 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27362 { (exit 1); exit 1; }; }
27364 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27365 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27366 wxUSE_EXPAT=builtin
27372 if test "$wxUSE_EXPAT" = "builtin" ; then
27373 subdirs="$subdirs src
/expat
"
27380 if test "$wxUSE_LIBMSPACK" != "no
"; then
27381 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27382 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27383 if test "${ac_cv_header_mspack_h+set}" = set; then
27384 echo $ECHO_N "(cached
) $ECHO_C" >&6
27386 cat >conftest.$ac_ext <<_ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27394 #include <mspack.h>
27396 rm -f conftest.$ac_objext
27397 if { (ac_try="$ac_compile"
27398 case "(($ac_try" in
27399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27400 *) ac_try_echo=$ac_try;;
27402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27403 (eval "$ac_compile") 2>conftest.er1
27405 grep -v '^ *+' conftest.er1 >conftest.err
27407 cat conftest.err >&5
27408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27409 (exit $ac_status); } && {
27410 test -z "$ac_c_werror_flag" ||
27411 test ! -s conftest.err
27412 } && test -s conftest.$ac_objext; then
27413 ac_cv_header_mspack_h=yes
27415 echo "$as_me: failed program was
:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27418 ac_cv_header_mspack_h=no
27421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27423 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27424 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27425 if test $ac_cv_header_mspack_h = yes; then
27430 if test "x
$found_mspack_h" = "x1
"; then
27431 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27432 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27433 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27434 echo $ECHO_N "(cached
) $ECHO_C" >&6
27436 ac_check_lib_save_LIBS=$LIBS
27437 LIBS="-lmspack $LIBS"
27438 cat >conftest.$ac_ext <<_ACEOF
27441 cat confdefs.h >>conftest.$ac_ext
27442 cat >>conftest.$ac_ext <<_ACEOF
27443 /* end confdefs.h. */
27445 /* Override any GCC internal prototype to avoid an error.
27446 Use char because int might match the return type of a GCC
27447 builtin and then its argument prototype would still apply. */
27451 char mspack_create_chm_decompressor ();
27455 return mspack_create_chm_decompressor ();
27460 rm -f conftest.$ac_objext conftest$ac_exeext
27461 if { (ac_try="$ac_link"
27462 case "(($ac_try" in
27463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27464 *) ac_try_echo=$ac_try;;
27466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_link") 2>conftest.er1
27469 grep -v '^ *+' conftest.er1 >conftest.err
27471 cat conftest.err >&5
27472 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27473 (exit $ac_status); } && {
27474 test -z "$ac_c_werror_flag" ||
27475 test ! -s conftest.err
27476 } && test -s conftest$ac_exeext &&
27477 $as_test_x conftest$ac_exeext; then
27478 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27480 echo "$as_me: failed program was
:" >&5
27481 sed 's/^/| /' conftest.$ac_ext >&5
27483 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27487 conftest$ac_exeext conftest.$ac_ext
27488 LIBS=$ac_check_lib_save_LIBS
27490 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27491 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27492 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27493 MSPACK_LINK=" -lmspack"
27497 if test "x
$MSPACK_LINK" = "x
" ; then
27502 if test "$wxUSE_LIBMSPACK" != "no
"; then
27503 cat >>confdefs.h <<\_ACEOF
27504 #define wxUSE_LIBMSPACK 1
27518 if test "$USE_WIN32" = 1 ; then
27520 for ac_header in w32api.h
27522 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27523 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27524 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27525 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27526 echo $ECHO_N "(cached
) $ECHO_C" >&6
27528 cat >conftest.$ac_ext <<_ACEOF
27531 cat confdefs.h >>conftest.$ac_ext
27532 cat >>conftest.$ac_ext <<_ACEOF
27533 /* end confdefs.h. */
27536 #include <$ac_header>
27538 rm -f conftest.$ac_objext
27539 if { (ac_try="$ac_compile"
27540 case "(($ac_try" in
27541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27542 *) ac_try_echo=$ac_try;;
27544 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27545 (eval "$ac_compile") 2>conftest.er1
27547 grep -v '^ *+' conftest.er1 >conftest.err
27549 cat conftest.err >&5
27550 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27551 (exit $ac_status); } && {
27552 test -z "$ac_c_werror_flag" ||
27553 test ! -s conftest.err
27554 } && test -s conftest.$ac_objext; then
27555 eval "$as_ac_Header=yes"
27557 echo "$as_me: failed program was
:" >&5
27558 sed 's/^/| /' conftest.$ac_ext >&5
27560 eval "$as_ac_Header=no
"
27563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27565 ac_res=`eval echo '${'$as_ac_Header'}'`
27566 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27567 echo "${ECHO_T}$ac_res" >&6; }
27568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27569 cat >>confdefs.h <<_ACEOF
27570 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27577 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27578 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27579 if test "${ac_cv_header_windows_h+set}" = set; then
27580 echo $ECHO_N "(cached
) $ECHO_C" >&6
27582 cat >conftest.$ac_ext <<_ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27590 #include <windows.h>
27592 rm -f conftest.$ac_objext
27593 if { (ac_try="$ac_compile"
27594 case "(($ac_try" in
27595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27596 *) ac_try_echo=$ac_try;;
27598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27599 (eval "$ac_compile") 2>conftest.er1
27601 grep -v '^ *+' conftest.er1 >conftest.err
27603 cat conftest.err >&5
27604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27605 (exit $ac_status); } && {
27606 test -z "$ac_c_werror_flag" ||
27607 test ! -s conftest.err
27608 } && test -s conftest.$ac_objext; then
27609 ac_cv_header_windows_h=yes
27611 echo "$as_me: failed program was
:" >&5
27612 sed 's/^/| /' conftest.$ac_ext >&5
27614 ac_cv_header_windows_h=no
27617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27619 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27620 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27621 if test $ac_cv_header_windows_h = yes; then
27625 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27626 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27627 { (exit 1); exit 1; }; }
27633 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27635 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27636 LIBS="$LIBS -loleacc"
27641 LIBS="$LIBS -lkernel32 -luser32"
27644 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27645 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27647 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27649 WIN32INSTALL=win32install
27651 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27652 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27653 if test "${ac_cv_header_pbt_h+set}" = set; then
27654 echo $ECHO_N "(cached
) $ECHO_C" >&6
27656 cat >conftest.$ac_ext <<_ACEOF
27659 cat confdefs.h >>conftest.$ac_ext
27660 cat >>conftest.$ac_ext <<_ACEOF
27661 /* end confdefs.h. */
27666 rm -f conftest.$ac_objext
27667 if { (ac_try="$ac_compile"
27668 case "(($ac_try" in
27669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27670 *) ac_try_echo=$ac_try;;
27672 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_compile") 2>conftest.er1
27675 grep -v '^ *+' conftest.er1 >conftest.err
27677 cat conftest.err >&5
27678 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27679 (exit $ac_status); } && {
27680 test -z "$ac_c_werror_flag" ||
27681 test ! -s conftest.err
27682 } && test -s conftest.$ac_objext; then
27683 ac_cv_header_pbt_h=yes
27685 echo "$as_me: failed program was
:" >&5
27686 sed 's/^/| /' conftest.$ac_ext >&5
27688 ac_cv_header_pbt_h=no
27691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27693 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27694 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27695 if test $ac_cv_header_pbt_h = yes; then
27698 cat >>confdefs.h <<\_ACEOF
27699 #define NEED_PBT_H 1
27707 if test "$wxUSE_GUI" = "yes"; then
27717 if test "$wxUSE_COCOA" = 1 ; then
27718 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27719 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27720 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27721 wxUSE_PRINTING_ARCHITECTURE=no
27723 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27724 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27725 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27726 wxUSE_DRAG_AND_DROP=no
27728 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27729 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27730 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27735 if test "$wxUSE_MSW" = 1 ; then
27741 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27745 if test "$wxUSE_GTK" = 1; then
27746 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27747 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27749 gtk_version_cached=1
27750 if test "${wx_cv_lib_gtk+set}" = set; then
27751 echo $ECHO_N "(cached
) $ECHO_C" >&6
27754 gtk_version_cached=0
27755 { echo "$as_me:$LINENO: result
: " >&5
27756 echo "${ECHO_T}" >&6; }
27759 if test "$wxUSE_THREADS" = "yes"; then
27760 GTK_MODULES=gthread
27764 if test "x
$wxGTK_VERSION" != "x1
"
27768 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27773 # Check whether --enable-gtktest was given.
27774 if test "${enable_gtktest+set}" = set; then
27775 enableval=$enable_gtktest;
27781 pkg_config_args=gtk+-2.0
27782 for module in . $GTK_MODULES
27786 pkg_config_args="$pkg_config_args gthread
-2.0
"
27793 # Extract the first word of "pkg
-config", so it can be a program name with args.
27794 set dummy pkg-config; ac_word=$2
27795 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27796 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27797 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27798 echo $ECHO_N "(cached
) $ECHO_C" >&6
27800 case $PKG_CONFIG in
27802 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27806 for as_dir in $PATH
27809 test -z "$as_dir" && as_dir=.
27810 for ac_exec_ext in '' $ac_executable_extensions; do
27811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27812 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27813 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27824 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27825 if test -n "$PKG_CONFIG"; then
27826 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27827 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27829 { echo "$as_me:$LINENO: result
: no
" >&5
27830 echo "${ECHO_T}no
" >&6; }
27835 if test x$PKG_CONFIG != xno ; then
27836 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27839 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27847 min_gtk_version=2.4.0
27848 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27849 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27851 if test x$PKG_CONFIG != xno ; then
27852 ## don't try to run the test against uninstalled libtool libs
27853 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27854 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27858 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27865 if test x"$no_gtk" = x ; then
27866 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27867 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27868 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27870 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27872 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27874 if test "x
$enable_gtktest" = "xyes
" ; then
27875 ac_save_CFLAGS="$CFLAGS"
27876 ac_save_LIBS="$LIBS"
27877 CFLAGS="$CFLAGS $GTK_CFLAGS"
27878 LIBS="$GTK_LIBS $LIBS"
27880 if test "$cross_compiling" = yes; then
27881 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27883 cat >conftest.$ac_ext <<_ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27890 #include <gtk/gtk.h>
27892 #include <stdlib.h>
27897 int major, minor, micro;
27900 system ("touch conf.gtktest
");
27902 /* HP/UX 9 (%@#!) writes to sscanf strings */
27903 tmp_version = g_strdup("$min_gtk_version");
27904 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27905 printf("%s
, bad version string
\n", "$min_gtk_version");
27909 if ((gtk_major_version != $gtk_config_major_version) ||
27910 (gtk_minor_version != $gtk_config_minor_version) ||
27911 (gtk_micro_version != $gtk_config_micro_version))
27913 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27914 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27915 gtk_major_version, gtk_minor_version, gtk_micro_version);
27916 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27917 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27918 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27919 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27920 printf("*** required on your system.
\n");
27921 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27922 printf("*** to point to the correct configuration files
\n");
27924 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27925 (gtk_minor_version != GTK_MINOR_VERSION) ||
27926 (gtk_micro_version != GTK_MICRO_VERSION))
27928 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27929 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27930 printf("*** library
(version
%d.
%d.
%d
)\n",
27931 gtk_major_version, gtk_minor_version, gtk_micro_version);
27935 if ((gtk_major_version > major) ||
27936 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27937 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27943 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27944 gtk_major_version, gtk_minor_version, gtk_micro_version);
27945 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27946 major, minor, micro);
27947 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27949 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27950 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27951 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27952 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27953 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27954 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27955 printf("*** so that the correct libraries are found
at run
-time))\n");
27962 rm -f conftest$ac_exeext
27963 if { (ac_try="$ac_link"
27964 case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_link") 2>&5
27971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27973 { (case "(($ac_try" in
27974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_try") 2>&5
27980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27981 (exit $ac_status); }; }; then
27984 echo "$as_me: program exited with status
$ac_status" >&5
27985 echo "$as_me: failed program was
:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27988 ( exit $ac_status )
27991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27995 CFLAGS="$ac_save_CFLAGS"
27996 LIBS="$ac_save_LIBS"
27999 if test "x
$no_gtk" = x ; then
28000 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28001 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28004 { echo "$as_me:$LINENO: result
: no
" >&5
28005 echo "${ECHO_T}no
" >&6; }
28006 if test "$PKG_CONFIG" = "no
" ; then
28007 echo "*** A new enough version of pkg
-config was not found.
"
28008 echo "*** See http
://pkgconfig.sourceforge.net
"
28010 if test -f conf.gtktest ; then
28013 echo "*** Could not run GTK
+ test program
, checking why...
"
28014 ac_save_CFLAGS="$CFLAGS"
28015 ac_save_LIBS="$LIBS"
28016 CFLAGS="$CFLAGS $GTK_CFLAGS"
28017 LIBS="$LIBS $GTK_LIBS"
28018 cat >conftest.$ac_ext <<_ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28025 #include <gtk/gtk.h>
28031 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28036 rm -f conftest.$ac_objext conftest$ac_exeext
28037 if { (ac_try="$ac_link"
28038 case "(($ac_try" in
28039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28040 *) ac_try_echo=$ac_try;;
28042 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28043 (eval "$ac_link") 2>conftest.er1
28045 grep -v '^ *+' conftest.er1 >conftest.err
28047 cat conftest.err >&5
28048 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28049 (exit $ac_status); } && {
28050 test -z "$ac_c_werror_flag" ||
28051 test ! -s conftest.err
28052 } && test -s conftest$ac_exeext &&
28053 $as_test_x conftest$ac_exeext; then
28054 echo "*** The
test program compiled
, but did not run. This usually means
"
28055 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28056 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28057 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28058 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28059 echo "*** is required on your system"
28061 echo "*** If you have an old version installed, it is best to remove it, although"
28062 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28064 echo "$as_me: failed program was:" >&5
28065 sed 's
/^
/| /' conftest.$ac_ext >&5
28067 echo "*** The test program failed to compile or link. See the file config.log for the"
28068 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28072 conftest$ac_exeext conftest.$ac_ext
28073 CFLAGS="$ac_save_CFLAGS"
28074 LIBS="$ac_save_LIBS"
28088 if test "$wxUSE_SHARED" != "yes"; then
28089 GTK_LIBS="$GTK_LIBS -lX11"
28094 if test -z "$wx_cv_lib_gtk"; then
28095 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28097 # Check whether --with-gtk-prefix was given.
28098 if test "${with_gtk_prefix+set}" = set; then
28099 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28101 gtk_config_prefix=""
28105 # Check whether --with-gtk-exec-prefix was given.
28106 if test "${with_gtk_exec_prefix+set}" = set; then
28107 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28109 gtk_config_exec_prefix=""
28112 # Check whether --enable-gtktest was given.
28113 if test "${enable_gtktest+set}" = set; then
28114 enableval=$enable_gtktest;
28120 for module in . $GTK_MODULES
28124 gtk_config_args="$gtk_config_args gthread"
28129 if test x$gtk_config_exec_prefix != x ; then
28130 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28131 if test x${GTK_CONFIG+set} != xset ; then
28132 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28135 if test x$gtk_config_prefix != x ; then
28136 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28137 if test x${GTK_CONFIG+set} != xset ; then
28138 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28142 # Extract the first word of "gtk-config", so it can be a program name with args.
28143 set dummy gtk-config; ac_word=$2
28144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28146 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28149 case $GTK_CONFIG in
28151 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28155 for as_dir in $PATH
28158 test -z "$as_dir" && as_dir=.
28159 for ac_exec_ext in '' $ac_executable_extensions; do
28160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28161 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28169 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28173 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28174 if test -n "$GTK_CONFIG"; then
28175 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28176 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28178 { echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6; }
28183 min_gtk_version=1.2.7
28184 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28185 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28187 if test "$GTK_CONFIG" = "no" ; then
28190 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28191 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28192 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28193 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28194 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28195 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28196 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28197 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28198 if test "x$enable_gtktest" = "xyes" ; then
28199 ac_save_CFLAGS="$CFLAGS"
28200 ac_save_LIBS="$LIBS"
28201 CFLAGS="$CFLAGS $GTK_CFLAGS"
28202 LIBS="$GTK_LIBS $LIBS"
28204 if test "$cross_compiling" = yes; then
28205 echo $ac_n "cross compiling; assumed OK... $ac_c"
28207 cat >conftest.$ac_ext <<_ACEOF
28210 cat confdefs.h >>conftest.$ac_ext
28211 cat >>conftest.$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28214 #include <gtk/gtk.h>
28216 #include <stdlib.h>
28221 int major, minor, micro;
28224 system ("touch conf.gtktest");
28226 /* HP/UX 9 (%@#!) writes to sscanf strings */
28227 tmp_version = g_strdup("$min_gtk_version");
28228 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28229 printf("%s, bad version string\n", "$min_gtk_version");
28233 if ((gtk_major_version != $gtk_config_major_version) ||
28234 (gtk_minor_version != $gtk_config_minor_version) ||
28235 (gtk_micro_version != $gtk_config_micro_version))
28237 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28238 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28239 gtk_major_version, gtk_minor_version, gtk_micro_version);
28240 printf ("*** was found! If gtk-config was correct, then it is best\n");
28241 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28242 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28243 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28244 printf("*** required on your system.\n");
28245 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28246 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28247 printf("*** before re-running configure\n");
28249 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28251 (gtk_minor_version != GTK_MINOR_VERSION) ||
28252 (gtk_micro_version != GTK_MICRO_VERSION))
28254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28256 printf("*** library (version %d.%d.%d)\n",
28257 gtk_major_version, gtk_minor_version, gtk_micro_version);
28259 #endif /* defined (GTK_MAJOR_VERSION) ... */
28262 if ((gtk_major_version > major) ||
28263 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28264 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28270 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28271 gtk_major_version, gtk_minor_version, gtk_micro_version);
28272 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28273 major, minor, micro);
28274 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28276 printf("*** If you have already installed a sufficiently new version, this error\n");
28277 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28278 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28279 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28280 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28281 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28282 printf("*** so that the correct libraries are found at run-time))\n");
28289 rm -f conftest$ac_exeext
28290 if { (ac_try="$ac_link"
28291 case "(($ac_try" in
28292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28293 *) ac_try_echo=$ac_try;;
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296 (eval "$ac_link") 2>&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28300 { (case "(($ac_try" in
28301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28302 *) ac_try_echo=$ac_try;;
28304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28305 (eval "$ac_try") 2>&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); }; }; then
28311 echo "$as_me: program exited with status $ac_status" >&5
28312 echo "$as_me: failed program was:" >&5
28313 sed 's
/^
/| /' conftest.$ac_ext >&5
28315 ( exit $ac_status )
28318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28322 CFLAGS="$ac_save_CFLAGS"
28323 LIBS="$ac_save_LIBS"
28326 if test "x$no_gtk" = x ; then
28327 { echo "$as_me:$LINENO: result: yes" >&5
28328 echo "${ECHO_T}yes" >&6; }
28329 wx_cv_lib_gtk=1.2.7
28331 { echo "$as_me:$LINENO: result: no" >&5
28332 echo "${ECHO_T}no" >&6; }
28333 if test "$GTK_CONFIG" = "no" ; then
28334 echo "*** The gtk-config script installed by GTK could not be found"
28335 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28336 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28337 echo "*** full path to gtk-config."
28339 if test -f conf.gtktest ; then
28342 echo "*** Could not run GTK test program, checking why..."
28343 CFLAGS="$CFLAGS $GTK_CFLAGS"
28344 LIBS="$LIBS $GTK_LIBS"
28345 cat >conftest.$ac_ext <<_ACEOF
28348 cat confdefs.h >>conftest.$ac_ext
28349 cat >>conftest.$ac_ext <<_ACEOF
28350 /* end confdefs.h. */
28352 #include <gtk/gtk.h>
28358 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28363 rm -f conftest.$ac_objext conftest$ac_exeext
28364 if { (ac_try="$ac_link"
28365 case "(($ac_try" in
28366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28367 *) ac_try_echo=$ac_try;;
28369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28370 (eval "$ac_link") 2>conftest.er1
28372 grep -v '^
*+' conftest.er1 >conftest.err
28374 cat conftest.err >&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); } && {
28377 test -z "$ac_c_werror_flag" ||
28378 test ! -s conftest.err
28379 } && test -s conftest$ac_exeext &&
28380 $as_test_x conftest$ac_exeext; then
28381 echo "*** The test program compiled, but did not run. This usually means"
28382 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28383 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28384 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28385 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28386 echo "*** is required on your system
"
28388 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28389 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28391 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28392 echo "*** came with the system with the
command"
28394 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28396 echo "$as_me: failed program was
:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28399 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28400 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28401 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28402 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28406 conftest$ac_exeext conftest.$ac_ext
28407 CFLAGS="$ac_save_CFLAGS"
28408 LIBS="$ac_save_LIBS"
28420 if test -z "$wx_cv_lib_gtk"; then
28422 # Check whether --with-gtk-prefix was given.
28423 if test "${with_gtk_prefix+set}" = set; then
28424 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28426 gtk_config_prefix=""
28430 # Check whether --with-gtk-exec-prefix was given.
28431 if test "${with_gtk_exec_prefix+set}" = set; then
28432 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28434 gtk_config_exec_prefix=""
28437 # Check whether --enable-gtktest was given.
28438 if test "${enable_gtktest+set}" = set; then
28439 enableval=$enable_gtktest;
28445 for module in . $GTK_MODULES
28449 gtk_config_args="$gtk_config_args gthread
"
28454 if test x$gtk_config_exec_prefix != x ; then
28455 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28456 if test x${GTK_CONFIG+set} != xset ; then
28457 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28460 if test x$gtk_config_prefix != x ; then
28461 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28462 if test x${GTK_CONFIG+set} != xset ; then
28463 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28467 # Extract the first word of "gtk
-config", so it can be a program name with args.
28468 set dummy gtk-config; ac_word=$2
28469 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28470 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28471 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28472 echo $ECHO_N "(cached
) $ECHO_C" >&6
28474 case $GTK_CONFIG in
28476 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28480 for as_dir in $PATH
28483 test -z "$as_dir" && as_dir=.
28484 for ac_exec_ext in '' $ac_executable_extensions; do
28485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28486 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28487 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28494 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28498 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28499 if test -n "$GTK_CONFIG"; then
28500 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28501 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28503 { echo "$as_me:$LINENO: result
: no
" >&5
28504 echo "${ECHO_T}no
" >&6; }
28508 min_gtk_version=1.2.3
28509 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28510 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28512 if test "$GTK_CONFIG" = "no
" ; then
28515 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28516 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28517 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28519 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28521 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28522 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28523 if test "x
$enable_gtktest" = "xyes
" ; then
28524 ac_save_CFLAGS="$CFLAGS"
28525 ac_save_LIBS="$LIBS"
28526 CFLAGS="$CFLAGS $GTK_CFLAGS"
28527 LIBS="$GTK_LIBS $LIBS"
28529 if test "$cross_compiling" = yes; then
28530 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28532 cat >conftest.$ac_ext <<_ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28539 #include <gtk/gtk.h>
28541 #include <stdlib.h>
28546 int major, minor, micro;
28549 system ("touch conf.gtktest
");
28551 /* HP/UX 9 (%@#!) writes to sscanf strings */
28552 tmp_version = g_strdup("$min_gtk_version");
28553 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28554 printf("%s
, bad version string
\n", "$min_gtk_version");
28558 if ((gtk_major_version != $gtk_config_major_version) ||
28559 (gtk_minor_version != $gtk_config_minor_version) ||
28560 (gtk_micro_version != $gtk_config_micro_version))
28562 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28563 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28564 gtk_major_version, gtk_minor_version, gtk_micro_version);
28565 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28566 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28567 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28568 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28569 printf("*** required on your system.
\n");
28570 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28571 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28572 printf("*** before re
-running configure
\n");
28574 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28575 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28576 (gtk_minor_version != GTK_MINOR_VERSION) ||
28577 (gtk_micro_version != GTK_MICRO_VERSION))
28579 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28580 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28581 printf("*** library
(version
%d.
%d.
%d
)\n",
28582 gtk_major_version, gtk_minor_version, gtk_micro_version);
28584 #endif /* defined (GTK_MAJOR_VERSION) ... */
28587 if ((gtk_major_version > major) ||
28588 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28589 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28595 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28596 gtk_major_version, gtk_minor_version, gtk_micro_version);
28597 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28598 major, minor, micro);
28599 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28601 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28602 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28603 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28604 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28605 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28606 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28607 printf("*** so that the correct libraries are found
at run
-time))\n");
28614 rm -f conftest$ac_exeext
28615 if { (ac_try="$ac_link"
28616 case "(($ac_try" in
28617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28618 *) ac_try_echo=$ac_try;;
28620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28621 (eval "$ac_link") 2>&5
28623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28625 { (case "(($ac_try" in
28626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28627 *) ac_try_echo=$ac_try;;
28629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28630 (eval "$ac_try") 2>&5
28632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28633 (exit $ac_status); }; }; then
28636 echo "$as_me: program exited with status
$ac_status" >&5
28637 echo "$as_me: failed program was
:" >&5
28638 sed 's/^/| /' conftest.$ac_ext >&5
28640 ( exit $ac_status )
28643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28647 CFLAGS="$ac_save_CFLAGS"
28648 LIBS="$ac_save_LIBS"
28651 if test "x
$no_gtk" = x ; then
28652 { echo "$as_me:$LINENO: result
: yes" >&5
28653 echo "${ECHO_T}yes" >&6; }
28654 wx_cv_lib_gtk=1.2.3
28656 { echo "$as_me:$LINENO: result
: no
" >&5
28657 echo "${ECHO_T}no
" >&6; }
28658 if test "$GTK_CONFIG" = "no
" ; then
28659 echo "*** The gtk
-config script installed by GTK could not be found
"
28660 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28661 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28662 echo "*** full path to gtk
-config.
"
28664 if test -f conf.gtktest ; then
28667 echo "*** Could not run GTK
test program
, checking why...
"
28668 CFLAGS="$CFLAGS $GTK_CFLAGS"
28669 LIBS="$LIBS $GTK_LIBS"
28670 cat >conftest.$ac_ext <<_ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28677 #include <gtk/gtk.h>
28683 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28688 rm -f conftest.$ac_objext conftest$ac_exeext
28689 if { (ac_try="$ac_link"
28690 case "(($ac_try" in
28691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28692 *) ac_try_echo=$ac_try;;
28694 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28695 (eval "$ac_link") 2>conftest.er1
28697 grep -v '^ *+' conftest.er1 >conftest.err
28699 cat conftest.err >&5
28700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28701 (exit $ac_status); } && {
28702 test -z "$ac_c_werror_flag" ||
28703 test ! -s conftest.err
28704 } && test -s conftest$ac_exeext &&
28705 $as_test_x conftest$ac_exeext; then
28706 echo "*** The
test program compiled
, but did not run. This usually means
"
28707 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28708 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28709 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28710 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28711 echo "*** is required on your system"
28713 echo "*** If you have an old version installed, it is best to remove it, although"
28714 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28716 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28717 echo "*** came with the system with the command"
28719 echo "*** rpm --erase --nodeps gtk gtk-devel"
28721 echo "$as_me: failed program was:" >&5
28722 sed 's
/^
/| /' conftest.$ac_ext >&5
28724 echo "*** The test program failed to compile or link. See the file config.log for the"
28725 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28726 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28727 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28731 conftest$ac_exeext conftest.$ac_ext
28732 CFLAGS="$ac_save_CFLAGS"
28733 LIBS="$ac_save_LIBS"
28748 if test -z "$wx_cv_lib_gtk"; then
28751 wx_cv_cflags_gtk=$GTK_CFLAGS
28752 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28759 if test "$gtk_version_cached" = 1; then
28760 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28761 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28764 case "$wx_cv_lib_gtk" in
28773 *) { { echo "$as_me:$LINENO: error:
28774 The development files for GTK+ were not found. For GTK+ 2, please
28775 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28776 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28777 and that the version is 1.2.3 or above. Also check that the
28778 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28779 --libs' are in the LD_LIBRARY_PATH or equivalent.
28781 echo "$as_me: error:
28782 The development files for GTK+ were not found. For GTK+ 2, please
28783 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28784 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28785 and that the version is 1.2.3 or above. Also check that the
28786 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28787 --libs' are in the LD_LIBRARY_PATH or equivalent.
28789 { (exit 1); exit 1; }; }
28793 if test "$WXGTK2" = 1; then
28794 save_CFLAGS="$CFLAGS"
28796 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28797 LIBS="$LIBS $wx_cv_libs_gtk"
28799 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28800 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28801 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28802 echo $ECHO_N "(cached) $ECHO_C" >&6
28804 cat >conftest.$ac_ext <<_ACEOF
28807 cat confdefs.h >>conftest.$ac_ext
28808 cat >>conftest.$ac_ext <<_ACEOF
28809 /* end confdefs.h. */
28810 #include <gtk/gtk.h>
28815 #ifndef gtk_icon_size_lookup
28816 (void) gtk_icon_size_lookup;
28823 rm -f conftest.$ac_objext
28824 if { (ac_try="$ac_compile"
28825 case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_compile") 2>conftest.er1
28832 grep -v '^
*+' conftest.er1 >conftest.err
28834 cat conftest.err >&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); } && {
28837 test -z "$ac_c_werror_flag" ||
28838 test ! -s conftest.err
28839 } && test -s conftest.$ac_objext; then
28840 ac_cv_have_decl_gtk_icon_size_lookup=yes
28842 echo "$as_me: failed program was:" >&5
28843 sed 's
/^
/| /' conftest.$ac_ext >&5
28845 ac_cv_have_decl_gtk_icon_size_lookup=no
28848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28850 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28851 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28852 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28854 cat >>confdefs.h <<_ACEOF
28855 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28860 cat >>confdefs.h <<_ACEOF
28861 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28864 cat >>confdefs.h <<\_ACEOF
28865 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28873 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28874 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28875 cat >conftest.$ac_ext <<_ACEOF
28878 cat confdefs.h >>conftest.$ac_ext
28879 cat >>conftest.$ac_ext <<_ACEOF
28880 /* end confdefs.h. */
28882 #include <gtk/gtk.h>
28888 #if !GTK_CHECK_VERSION(2,10,0)
28896 rm -f conftest.$ac_objext
28897 if { (ac_try="$ac_compile"
28898 case "(($ac_try" in
28899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28900 *) ac_try_echo=$ac_try;;
28902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28903 (eval "$ac_compile") 2>conftest.er1
28905 grep -v '^
*+' conftest.er1 >conftest.err
28907 cat conftest.err >&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } && {
28910 test -z "$ac_c_werror_flag" ||
28911 test ! -s conftest.err
28912 } && test -s conftest.$ac_objext; then
28914 cat >>confdefs.h <<\_ACEOF
28915 #define __WXGTK210__ 1
28918 cat >>confdefs.h <<\_ACEOF
28919 #define __WXGTK26__ 1
28922 { echo "$as_me:$LINENO: result: yes" >&5
28923 echo "${ECHO_T}yes" >&6; }
28927 echo "$as_me: failed program was:" >&5
28928 sed 's
/^
/| /' conftest.$ac_ext >&5
28931 { echo "$as_me:$LINENO: result: no" >&5
28932 echo "${ECHO_T}no" >&6; }
28937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28939 if test "$ac_wxgtk210" = 0; then
28940 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28941 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28942 cat >conftest.$ac_ext <<_ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28949 #include <gtk/gtk.h>
28955 #if !GTK_CHECK_VERSION(2,6,0)
28963 rm -f conftest.$ac_objext
28964 if { (ac_try="$ac_compile"
28965 case "(($ac_try" in
28966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28967 *) ac_try_echo=$ac_try;;
28969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28970 (eval "$ac_compile") 2>conftest.er1
28972 grep -v '^
*+' conftest.er1 >conftest.err
28974 cat conftest.err >&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); } && {
28977 test -z "$ac_c_werror_flag" ||
28978 test ! -s conftest.err
28979 } && test -s conftest.$ac_objext; then
28981 cat >>confdefs.h <<\_ACEOF
28982 #define __WXGTK26__ 1
28985 { echo "$as_me:$LINENO: result: yes" >&5
28986 echo "${ECHO_T}yes" >&6; }
28990 echo "$as_me: failed program was:" >&5
28991 sed 's
/^
/| /' conftest.$ac_ext >&5
28994 { echo "$as_me:$LINENO: result: no" >&5
28995 echo "${ECHO_T}no" >&6; }
29000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29003 CFLAGS="$save_CFLAGS"
29006 if test "$wxUSE_UNICODE" = "yes"; then
29007 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29008 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29012 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29013 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29014 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 ac_check_lib_save_LIBS=$LIBS
29019 cat >conftest.$ac_ext <<_ACEOF
29022 cat confdefs.h >>conftest.$ac_ext
29023 cat >>conftest.$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29026 /* Override any GCC internal prototype to avoid an error.
29027 Use char because int might match the return type of a GCC
29028 builtin and then its argument prototype would still apply. */
29032 char gdk_im_open ();
29036 return gdk_im_open ();
29041 rm -f conftest.$ac_objext conftest$ac_exeext
29042 if { (ac_try="$ac_link"
29043 case "(($ac_try" in
29044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29045 *) ac_try_echo=$ac_try;;
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_link") 2>conftest.er1
29050 grep -v '^
*+' conftest.er1 >conftest.err
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } && {
29055 test -z "$ac_c_werror_flag" ||
29056 test ! -s conftest.err
29057 } && test -s conftest$ac_exeext &&
29058 $as_test_x conftest$ac_exeext; then
29059 ac_cv_lib_gdk_gdk_im_open=yes
29061 echo "$as_me: failed program was:" >&5
29062 sed 's
/^
/| /' conftest.$ac_ext >&5
29064 ac_cv_lib_gdk_gdk_im_open=no
29067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29068 conftest$ac_exeext conftest.$ac_ext
29069 LIBS=$ac_check_lib_save_LIBS
29071 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29072 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29073 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29074 cat >>confdefs.h <<\_ACEOF
29081 if test "$USE_DARWIN" != 1; then
29083 for ac_func in poll
29085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 cat >conftest.$ac_ext <<_ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29099 #define $ac_func innocuous_$ac_func
29101 /* System header to define __stub macros and hopefully few prototypes,
29102 which can conflict with char $ac_func (); below.
29103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29104 <limits.h> exists even on freestanding compilers. */
29107 # include <limits.h>
29109 # include <assert.h>
29114 /* Override any GCC internal prototype to avoid an error.
29115 Use char because int might match the return type of a GCC
29116 builtin and then its argument prototype would still apply. */
29121 /* The GNU C library defines this for functions which it implements
29122 to always fail with ENOSYS. Some functions are actually named
29123 something starting with __ and the normal name is an alias. */
29124 #if defined __stub_$ac_func || defined __stub___$ac_func
29131 return $ac_func ();
29136 rm -f conftest.$ac_objext conftest$ac_exeext
29137 if { (ac_try="$ac_link"
29138 case "(($ac_try" in
29139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29140 *) ac_try_echo=$ac_try;;
29142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29143 (eval "$ac_link") 2>conftest.er1
29145 grep -v '^
*+' conftest.er1 >conftest.err
29147 cat conftest.err >&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } && {
29150 test -z "$ac_c_werror_flag" ||
29151 test ! -s conftest.err
29152 } && test -s conftest$ac_exeext &&
29153 $as_test_x conftest$ac_exeext; then
29154 eval "$as_ac_var=yes"
29156 echo "$as_me: failed program was:" >&5
29157 sed 's
/^
/| /' conftest.$ac_ext >&5
29159 eval "$as_ac_var=no"
29162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29163 conftest$ac_exeext conftest.$ac_ext
29165 ac_res=`eval echo '${'$as_ac_var'}'`
29166 { echo "$as_me:$LINENO: result: $ac_res" >&5
29167 echo "${ECHO_T}$ac_res" >&6; }
29168 if test `eval echo '${'$as_ac_var'}'` = yes; then
29169 cat >>confdefs.h <<_ACEOF
29170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29179 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29180 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29182 AFMINSTALL=afminstall
29186 if test "$wxUSE_GPE" = "yes"; then
29187 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29188 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29191 for ac_dir in $SEARCH_LIB;
29193 for ac_extension in a so sl dylib dll.a; do
29194 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29195 ac_find_libraries=$ac_dir
29201 if test "$ac_find_libraries" != "" ; then
29203 if test "$ac_find_libraries" = "default location"; then
29206 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29208 if test $result = 0; then
29211 ac_path_to_link=" -L$ac_find_libraries"
29215 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29217 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29218 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29220 { echo "$as_me:$LINENO: result: not found" >&5
29221 echo "${ECHO_T}not found" >&6; }
29227 if test "$wxUSE_MGL" = 1; then
29228 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29229 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29230 if test "x$MGL_ROOT" = x ; then
29231 { echo "$as_me:$LINENO: result: not found" >&5
29232 echo "${ECHO_T}not found" >&6; }
29233 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29234 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29235 { (exit 1); exit 1; }; }
29237 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29238 echo "${ECHO_T}$MGL_ROOT" >&6; }
29241 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29242 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29245 if test "x$wxUSE_SHARED" = xyes ; then
29246 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29248 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29252 mgl_os_candidates="dos32/dj2"
29255 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29256 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29257 { (exit 1); exit 1; }; }
29263 for mgl_os_i in $mgl_os_candidates ; do
29264 if test "x$mgl_os" = x ; then
29265 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29266 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29267 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29272 if test "x$mgl_lib_type" = x ; then
29273 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29274 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29275 mgl_lib_type=release
29282 if test "x$mgl_os" = x ; then
29283 { echo "$as_me:$LINENO: result: not found" >&5
29284 echo "${ECHO_T}not found" >&6; }
29285 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29286 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29287 { (exit 1); exit 1; }; }
29289 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29290 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29292 wxUSE_UNIVERSAL="yes"
29294 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29295 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29297 AFMINSTALL=afminstall
29302 if test "$wxUSE_DFB" = 1; then
29305 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29306 if test -n "$ac_tool_prefix"; then
29307 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29308 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29311 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29312 echo $ECHO_N "(cached) $ECHO_C" >&6
29314 case $PKG_CONFIG in
29316 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29320 for as_dir in $PATH
29323 test -z "$as_dir" && as_dir=.
29324 for ac_exec_ext in '' $ac_executable_extensions; do
29325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29326 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29337 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29338 if test -n "$PKG_CONFIG"; then
29339 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29340 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29342 { echo "$as_me:$LINENO: result: no" >&5
29343 echo "${ECHO_T}no" >&6; }
29348 if test -z "$ac_cv_path_PKG_CONFIG"; then
29349 ac_pt_PKG_CONFIG=$PKG_CONFIG
29350 # Extract the first word of "pkg-config", so it can be a program name with args.
29351 set dummy pkg-config; ac_word=$2
29352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29354 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29357 case $ac_pt_PKG_CONFIG in
29359 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29363 for as_dir in $PATH
29366 test -z "$as_dir" && as_dir=.
29367 for ac_exec_ext in '' $ac_executable_extensions; do
29368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29369 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29380 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29381 if test -n "$ac_pt_PKG_CONFIG"; then
29382 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29383 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29385 { echo "$as_me:$LINENO: result: no" >&5
29386 echo "${ECHO_T}no" >&6; }
29389 if test "x$ac_pt_PKG_CONFIG" = x; then
29392 case $cross_compiling:$ac_tool_warned in
29394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29395 whose name does not start with the host triplet. If you think this
29396 configuration is useful to you, please write to autoconf@gnu.org." >&5
29397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29398 whose name does not start with the host triplet. If you think this
29399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29400 ac_tool_warned=yes ;;
29402 PKG_CONFIG=$ac_pt_PKG_CONFIG
29405 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29409 if test -n "$PKG_CONFIG"; then
29410 _pkg_min_version=0.9.0
29411 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29412 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29413 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29414 { echo "$as_me:$LINENO: result: yes" >&5
29415 echo "${ECHO_T}yes" >&6; }
29417 { echo "$as_me:$LINENO: result: no" >&5
29418 echo "${ECHO_T}no" >&6; }
29426 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29427 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29429 if test -n "$PKG_CONFIG"; then
29430 if test -n "$DIRECTFB_CFLAGS"; then
29431 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29433 if test -n "$PKG_CONFIG" && \
29434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29435 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; then
29439 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29447 if test -n "$PKG_CONFIG"; then
29448 if test -n "$DIRECTFB_LIBS"; then
29449 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29451 if test -n "$PKG_CONFIG" && \
29452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29453 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); }; then
29457 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29468 if test $pkg_failed = yes; then
29470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29471 _pkg_short_errors_supported=yes
29473 _pkg_short_errors_supported=no
29475 if test $_pkg_short_errors_supported = yes; then
29476 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29478 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29480 # Put the nasty error message in config.log where it belongs
29481 echo "$DIRECTFB_PKG_ERRORS" >&5
29484 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29485 echo "$as_me: error: DirectFB not found." >&2;}
29486 { (exit 1); exit 1; }; }
29489 elif test $pkg_failed = untried; then
29491 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29492 echo "$as_me: error: DirectFB not found." >&2;}
29493 { (exit 1); exit 1; }; }
29497 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29498 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29499 { echo "$as_me:$LINENO: result: yes" >&5
29500 echo "${ECHO_T}yes" >&6; }
29502 wxUSE_UNIVERSAL="yes"
29503 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29504 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29511 if test "$wxUSE_MICROWIN" = 1; then
29512 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29513 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29514 if test "x$MICROWINDOWS" = x ; then
29515 { echo "$as_me:$LINENO: result: not found" >&5
29516 echo "${ECHO_T}not found" >&6; }
29517 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29518 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29519 { (exit 1); exit 1; }; }
29521 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29522 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29525 if test -f $MICROWINDOWS/lib/libmwin.a; then
29526 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29527 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29529 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29530 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29531 { (exit 1); exit 1; }; }
29534 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29535 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29537 wxUSE_UNIVERSAL="yes"
29539 AFMINSTALL=afminstall
29541 GUIDIST=MICROWIN_DIST
29543 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29546 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29547 { echo "$as_me:$LINENO: checking for X" >&5
29548 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29551 # Check whether --with-x was given.
29552 if test "${with_x+set}" = set; then
29556 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29557 if test "x$with_x" = xno; then
29558 # The user explicitly disabled X.
29561 case $x_includes,$x_libraries in #(
29562 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29563 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29564 { (exit 1); exit 1; }; };; #(
29565 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29568 # One or both of the vars are not set, and there is no cached value.
29569 ac_x_includes=no ac_x_libraries=no
29570 rm -f -r conftest.dir
29571 if mkdir conftest.dir; then
29573 cat >Imakefile <<'_ACEOF'
29575 @echo incroot='${INCROOT}'
29577 @echo usrlibdir='${USRLIBDIR}'
29579 @echo libdir='${LIBDIR}'
29581 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29583 for ac_var in incroot usrlibdir libdir; do
29584 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29586 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29587 for ac_extension in a so sl; do
29588 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29589 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29590 ac_im_usrlibdir=$ac_im_libdir; break
29593 # Screen out bogus values from the imake configuration. They are
29594 # bogus both because they are the default anyway, and because
29595 # using them would break gcc on systems where it needs fixed includes.
29596 case $ac_im_incroot in
29597 /usr/include) ac_x_includes= ;;
29598 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29600 case $ac_im_usrlibdir in
29601 /usr/lib | /lib) ;;
29602 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29606 rm -f -r conftest.dir
29609 # Standard set of common directories for X headers.
29610 # Check X11 before X11Rn because it is often a symlink to the current release.
29622 /usr
/local
/X
11/include
29623 /usr
/local
/X
11R
6/include
29624 /usr
/local
/X
11R
5/include
29625 /usr
/local
/X
11R
4/include
29627 /usr
/local
/include
/X11
29628 /usr
/local
/include
/X11R6
29629 /usr
/local
/include
/X11R5
29630 /usr
/local
/include
/X11R4
29634 /usr
/XFree
86/include
/X11
29638 /usr
/unsupported
/include
29639 /usr
/athena
/include
29640 /usr
/local
/x
11r
5/include
29641 /usr
/lpp
/Xamples
/include
29643 /usr
/openwin
/include
29644 /usr
/openwin
/share
/include
'
29646 if test "$ac_x_includes" = no; then
29647 # Guess where to find include files, by looking for Xlib.h.
29648 # First, try using that file with no special directory specified.
29649 cat >conftest.$ac_ext <<_ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29655 #include <X11/Xlib.h>
29657 if { (ac_try="$ac_cpp conftest.$ac_ext"
29658 case "(($ac_try" in
29659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29660 *) ac_try_echo=$ac_try;;
29662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29665 grep -v '^
*+' conftest.er1 >conftest.err
29667 cat conftest.err >&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); } >/dev/null && {
29670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29671 test ! -s conftest.err
29673 # We can compile using X headers with no special include directory.
29676 echo "$as_me: failed program was:" >&5
29677 sed 's
/^
/| /' conftest.$ac_ext >&5
29679 for ac_dir in $ac_x_header_dirs; do
29680 if test -r "$ac_dir/X11/Xlib.h"; then
29681 ac_x_includes=$ac_dir
29687 rm -f conftest.err conftest.$ac_ext
29688 fi # $ac_x_includes = no
29690 if test "$ac_x_libraries" = no; then
29691 # Check for the libraries.
29692 # See if we find them without any special options.
29693 # Don't add to
$LIBS permanently.
29696 cat >conftest.
$ac_ext <<_ACEOF
29699 cat confdefs.h
>>conftest.
$ac_ext
29700 cat >>conftest.
$ac_ext <<_ACEOF
29701 /* end confdefs.h. */
29702 #include <X11/Xlib.h>
29711 rm -f conftest.
$ac_objext conftest
$ac_exeext
29712 if { (ac_try
="$ac_link"
29713 case "(($ac_try" in
29714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29715 *) ac_try_echo=$ac_try;;
29717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29718 (eval "$ac_link") 2>conftest.er1
29720 grep -v '^ *+' conftest.er1 >conftest.err
29722 cat conftest.err >&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } && {
29725 test -z "$ac_c_werror_flag" ||
29726 test ! -s conftest.err
29727 } && test -s conftest$ac_exeext &&
29728 $as_test_x conftest$ac_exeext; then
29730 # We can link X programs with no special library path.
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.$ac_ext >&5
29737 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29739 # Don't even attempt the hair of trying to link an X program!
29740 for ac_extension in a so sl; do
29741 if test -r "$ac_dir/libX11.$ac_extension"; then
29742 ac_x_libraries=$ac_dir
29749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29750 conftest$ac_exeext conftest.$ac_ext
29751 fi # $ac_x_libraries = no
29753 case $ac_x_includes,$ac_x_libraries in #(
29754 no,* | *,no | *\'*)
29755 # Didn't find X, or a directory has "'" in its name.
29756 ac_cv_have_x="have_x=no";; #(
29758 # Record where we found X for the cache.
29759 ac_cv_have_x="have_x=yes\
29760 ac_x_includes='$ac_x_includes'\
29761 ac_x_libraries='$ac_x_libraries'"
29767 eval "$ac_cv_have_x"
29770 if test "$have_x" != yes; then
29771 { echo "$as_me:$LINENO: result: $have_x" >&5
29772 echo "${ECHO_T}$have_x" >&6; }
29775 # If each of the values was on the command line, it overrides each guess.
29776 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29777 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29778 # Update the cache value to reflect the command line values.
29779 ac_cv_have_x="have_x=yes\
29780 ac_x_includes='$x_includes'\
29781 ac_x_libraries='$x_libraries'"
29782 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29783 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29786 if test "$no_x" = yes; then
29787 # Not all programs may use this symbol, but it does not hurt to define it.
29789 cat >>confdefs.h <<\_ACEOF
29790 #define X_DISPLAY_MISSING 1
29793 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29795 if test -n "$x_includes"; then
29796 X_CFLAGS="$X_CFLAGS -I$x_includes"
29799 # It would also be nice to do this for all -L options, not just this one.
29800 if test -n "$x_libraries"; then
29801 X_LIBS="$X_LIBS -L$x_libraries"
29802 # For Solaris; some versions of Sun CC require a space after -R and
29803 # others require no space. Words are not sufficient . . . .
29804 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29805 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29806 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29807 ac_xsave_c_werror_flag=$ac_c_werror_flag
29808 ac_c_werror_flag=yes
29809 cat >conftest.$ac_ext <<_ACEOF
29812 cat confdefs.h >>conftest.$ac_ext
29813 cat >>conftest.$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29824 rm -f conftest.$ac_objext conftest$ac_exeext
29825 if { (ac_try="$ac_link"
29826 case "(($ac_try" in
29827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29828 *) ac_try_echo
=$ac_try;;
29830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29831 (eval "$ac_link") 2>conftest.er1
29833 grep -v '^ *+' conftest.er1
>conftest.err
29835 cat conftest.err
>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } && {
29838 test -z "$ac_c_werror_flag" ||
29839 test ! -s conftest.err
29840 } && test -s conftest
$ac_exeext &&
29841 $as_test_x conftest
$ac_exeext; then
29842 { echo "$as_me:$LINENO: result: no" >&5
29843 echo "${ECHO_T}no" >&6; }
29844 X_LIBS
="$X_LIBS -R$x_libraries"
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.
$ac_ext >&5
29849 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29850 cat >conftest.
$ac_ext <<_ACEOF
29853 cat confdefs.h
>>conftest.
$ac_ext
29854 cat >>conftest.
$ac_ext <<_ACEOF
29855 /* end confdefs.h. */
29865 rm -f conftest.
$ac_objext conftest
$ac_exeext
29866 if { (ac_try
="$ac_link"
29867 case "(($ac_try" in
29868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29869 *) ac_try_echo=$ac_try;;
29871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29872 (eval "$ac_link") 2>conftest.er1
29874 grep -v '^ *+' conftest.er1 >conftest.err
29876 cat conftest.err >&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } && {
29879 test -z "$ac_c_werror_flag" ||
29880 test ! -s conftest.err
29881 } && test -s conftest$ac_exeext &&
29882 $as_test_x conftest$ac_exeext; then
29883 { echo "$as_me:$LINENO: result: yes" >&5
29884 echo "${ECHO_T}yes" >&6; }
29885 X_LIBS="$X_LIBS -R $x_libraries"
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29890 { echo "$as_me:$LINENO: result: neither works" >&5
29891 echo "${ECHO_T}neither works" >&6; }
29894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29895 conftest$ac_exeext conftest.$ac_ext
29898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29899 conftest$ac_exeext conftest.$ac_ext
29900 ac_c_werror_flag=$ac_xsave_c_werror_flag
29901 LIBS=$ac_xsave_LIBS
29904 # Check for system-dependent libraries X programs must link with.
29905 # Do this before checking for the system-independent R6 libraries
29906 # (-lICE), since we may need -lsocket or whatever for X linking.
29908 if test "$ISC" = yes; then
29909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29911 # Martyn Johnson says this is needed for Ultrix, if the X
29912 # libraries were built with DECnet support. And Karl Berry says
29913 # the Alpha needs dnet_stub (dnet does not exist).
29914 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29915 cat >conftest.$ac_ext <<_ACEOF
29918 cat confdefs.h >>conftest.$ac_ext
29919 cat >>conftest.$ac_ext <<_ACEOF
29920 /* end confdefs.h. */
29922 /* Override any GCC internal prototype to avoid an error.
29923 Use char because int might match the return type of a GCC
29924 builtin and then its argument prototype would still apply. */
29928 char XOpenDisplay ();
29932 return XOpenDisplay ();
29937 rm -f conftest.$ac_objext conftest$ac_exeext
29938 if { (ac_try="$ac_link"
29939 case "(($ac_try" in
29940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29941 *) ac_try_echo
=$ac_try;;
29943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29944 (eval "$ac_link") 2>conftest.er1
29946 grep -v '^ *+' conftest.er1
>conftest.err
29948 cat conftest.err
>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } && {
29951 test -z "$ac_c_werror_flag" ||
29952 test ! -s conftest.err
29953 } && test -s conftest
$ac_exeext &&
29954 $as_test_x conftest
$ac_exeext; then
29957 echo "$as_me: failed program was:" >&5
29958 sed 's/^/| /' conftest.
$ac_ext >&5
29960 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29961 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29962 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29965 ac_check_lib_save_LIBS
=$LIBS
29966 LIBS
="-ldnet $LIBS"
29967 cat >conftest.
$ac_ext <<_ACEOF
29970 cat confdefs.h
>>conftest.
$ac_ext
29971 cat >>conftest.
$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29974 /* Override any GCC internal prototype to avoid an error.
29975 Use char because int might match the return type of a GCC
29976 builtin and then its argument prototype would still apply. */
29984 return dnet_ntoa ();
29989 rm -f conftest.
$ac_objext conftest
$ac_exeext
29990 if { (ac_try
="$ac_link"
29991 case "(($ac_try" in
29992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29993 *) ac_try_echo=$ac_try;;
29995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29996 (eval "$ac_link") 2>conftest.er1
29998 grep -v '^ *+' conftest.er1 >conftest.err
30000 cat conftest.err >&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } && {
30003 test -z "$ac_c_werror_flag" ||
30004 test ! -s conftest.err
30005 } && test -s conftest$ac_exeext &&
30006 $as_test_x conftest$ac_exeext; then
30007 ac_cv_lib_dnet_dnet_ntoa=yes
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30012 ac_cv_lib_dnet_dnet_ntoa=no
30015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30016 conftest$ac_exeext conftest.$ac_ext
30017 LIBS=$ac_check_lib_save_LIBS
30019 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30020 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30021 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30022 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30025 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30026 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30027 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30028 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30029 echo $ECHO_N "(cached) $ECHO_C" >&6
30031 ac_check_lib_save_LIBS=$LIBS
30032 LIBS="-ldnet_stub $LIBS"
30033 cat >conftest.$ac_ext <<_ACEOF
30036 cat confdefs.h >>conftest.$ac_ext
30037 cat >>conftest.$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30040 /* Override any GCC internal prototype to avoid an error.
30041 Use char because int might match the return type of a GCC
30042 builtin and then its argument prototype would still apply. */
30050 return dnet_ntoa ();
30055 rm -f conftest.$ac_objext conftest$ac_exeext
30056 if { (ac_try="$ac_link"
30057 case "(($ac_try" in
30058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30059 *) ac_try_echo
=$ac_try;;
30061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30062 (eval "$ac_link") 2>conftest.er1
30064 grep -v '^ *+' conftest.er1
>conftest.err
30066 cat conftest.err
>&5
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); } && {
30069 test -z "$ac_c_werror_flag" ||
30070 test ! -s conftest.err
30071 } && test -s conftest
$ac_exeext &&
30072 $as_test_x conftest
$ac_exeext; then
30073 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30075 echo "$as_me: failed program was:" >&5
30076 sed 's/^/| /' conftest.
$ac_ext >&5
30078 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30081 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30082 conftest
$ac_exeext conftest.
$ac_ext
30083 LIBS
=$ac_check_lib_save_LIBS
30085 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30086 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30087 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30095 conftest
$ac_exeext conftest.
$ac_ext
30096 LIBS
="$ac_xsave_LIBS"
30098 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30099 # to get the SysV transport functions.
30100 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30102 # The nsl library prevents programs from opening the X display
30103 # on Irix 5.2, according to T.E. Dickey.
30104 # The functions gethostbyname, getservbyname, and inet_addr are
30105 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30106 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30107 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30108 if test "${ac_cv_func_gethostbyname+set}" = set; then
30109 echo $ECHO_N "(cached) $ECHO_C" >&6
30111 cat >conftest.
$ac_ext <<_ACEOF
30114 cat confdefs.h
>>conftest.
$ac_ext
30115 cat >>conftest.
$ac_ext <<_ACEOF
30116 /* end confdefs.h. */
30117 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30119 #define gethostbyname innocuous_gethostbyname
30121 /* System header to define __stub macros and hopefully few prototypes,
30122 which can conflict with char gethostbyname (); below.
30123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30124 <limits.h> exists even on freestanding compilers. */
30127 # include <limits.h>
30129 # include <assert.h>
30132 #undef gethostbyname
30134 /* Override any GCC internal prototype to avoid an error.
30135 Use char because int might match the return type of a GCC
30136 builtin and then its argument prototype would still apply. */
30140 char gethostbyname ();
30141 /* The GNU C library defines this for functions which it implements
30142 to always fail with ENOSYS. Some functions are actually named
30143 something starting with __ and the normal name is an alias. */
30144 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30151 return gethostbyname ();
30156 rm -f conftest.
$ac_objext conftest
$ac_exeext
30157 if { (ac_try
="$ac_link"
30158 case "(($ac_try" in
30159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30160 *) ac_try_echo=$ac_try;;
30162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30163 (eval "$ac_link") 2>conftest.er1
30165 grep -v '^ *+' conftest.er1 >conftest.err
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); } && {
30170 test -z "$ac_c_werror_flag" ||
30171 test ! -s conftest.err
30172 } && test -s conftest$ac_exeext &&
30173 $as_test_x conftest$ac_exeext; then
30174 ac_cv_func_gethostbyname=yes
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.$ac_ext >&5
30179 ac_cv_func_gethostbyname=no
30182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30183 conftest$ac_exeext conftest.$ac_ext
30185 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30186 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30188 if test $ac_cv_func_gethostbyname = no; then
30189 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30190 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30191 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30192 echo $ECHO_N "(cached) $ECHO_C" >&6
30194 ac_check_lib_save_LIBS=$LIBS
30196 cat >conftest.$ac_ext <<_ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30203 /* Override any GCC internal prototype to avoid an error.
30204 Use char because int might match the return type of a GCC
30205 builtin and then its argument prototype would still apply. */
30209 char gethostbyname ();
30213 return gethostbyname ();
30218 rm -f conftest.$ac_objext conftest$ac_exeext
30219 if { (ac_try="$ac_link"
30220 case "(($ac_try" in
30221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30222 *) ac_try_echo
=$ac_try;;
30224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30225 (eval "$ac_link") 2>conftest.er1
30227 grep -v '^ *+' conftest.er1
>conftest.err
30229 cat conftest.err
>&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } && {
30232 test -z "$ac_c_werror_flag" ||
30233 test ! -s conftest.err
30234 } && test -s conftest
$ac_exeext &&
30235 $as_test_x conftest
$ac_exeext; then
30236 ac_cv_lib_nsl_gethostbyname
=yes
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.
$ac_ext >&5
30241 ac_cv_lib_nsl_gethostbyname
=no
30244 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30245 conftest
$ac_exeext conftest.
$ac_ext
30246 LIBS
=$ac_check_lib_save_LIBS
30248 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30249 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30250 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30254 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30255 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30256 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30257 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30258 echo $ECHO_N "(cached) $ECHO_C" >&6
30260 ac_check_lib_save_LIBS
=$LIBS
30262 cat >conftest.
$ac_ext <<_ACEOF
30265 cat confdefs.h
>>conftest.
$ac_ext
30266 cat >>conftest.
$ac_ext <<_ACEOF
30267 /* end confdefs.h. */
30269 /* Override any GCC internal prototype to avoid an error.
30270 Use char because int might match the return type of a GCC
30271 builtin and then its argument prototype would still apply. */
30275 char gethostbyname ();
30279 return gethostbyname ();
30284 rm -f conftest.
$ac_objext conftest
$ac_exeext
30285 if { (ac_try
="$ac_link"
30286 case "(($ac_try" in
30287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30288 *) ac_try_echo=$ac_try;;
30290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30291 (eval "$ac_link") 2>conftest.er1
30293 grep -v '^ *+' conftest.er1 >conftest.err
30295 cat conftest.err >&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); } && {
30298 test -z "$ac_c_werror_flag" ||
30299 test ! -s conftest.err
30300 } && test -s conftest$ac_exeext &&
30301 $as_test_x conftest$ac_exeext; then
30302 ac_cv_lib_bsd_gethostbyname=yes
30304 echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.$ac_ext >&5
30307 ac_cv_lib_bsd_gethostbyname=no
30310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30311 conftest$ac_exeext conftest.$ac_ext
30312 LIBS=$ac_check_lib_save_LIBS
30314 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30315 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30316 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30323 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30324 # socket/setsockopt and other routines are undefined under SCO ODT
30325 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30326 # on later versions), says Simon Leinen: it contains gethostby*
30327 # variants that don't use the name server (or something). -lsocket
30328 # must be given before -lnsl if both are needed. We assume that
30329 # if connect needs -lnsl, so does gethostbyname.
30330 { echo "$as_me:$LINENO: checking for connect" >&5
30331 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30332 if test "${ac_cv_func_connect+set}" = set; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 cat >conftest.$ac_ext <<_ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30341 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30343 #define connect innocuous_connect
30345 /* System header to define __stub macros and hopefully few prototypes,
30346 which can conflict with char connect (); below.
30347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30348 <limits.h> exists even on freestanding compilers. */
30351 # include <limits.h>
30353 # include <assert.h>
30358 /* Override any GCC internal prototype to avoid an error.
30359 Use char because int might match the return type of a GCC
30360 builtin and then its argument prototype would still apply. */
30365 /* The GNU C library defines this for functions which it implements
30366 to always fail with ENOSYS. Some functions are actually named
30367 something starting with __ and the normal name is an alias. */
30368 #if defined __stub_connect || defined __stub___connect
30380 rm -f conftest.$ac_objext conftest$ac_exeext
30381 if { (ac_try="$ac_link"
30382 case "(($ac_try" in
30383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30384 *) ac_try_echo
=$ac_try;;
30386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30387 (eval "$ac_link") 2>conftest.er1
30389 grep -v '^ *+' conftest.er1
>conftest.err
30391 cat conftest.err
>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); } && {
30394 test -z "$ac_c_werror_flag" ||
30395 test ! -s conftest.err
30396 } && test -s conftest
$ac_exeext &&
30397 $as_test_x conftest
$ac_exeext; then
30398 ac_cv_func_connect
=yes
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.
$ac_ext >&5
30403 ac_cv_func_connect
=no
30406 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30407 conftest
$ac_exeext conftest.
$ac_ext
30409 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30410 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30412 if test $ac_cv_func_connect = no
; then
30413 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30414 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30415 if test "${ac_cv_lib_socket_connect+set}" = set; then
30416 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 ac_check_lib_save_LIBS
=$LIBS
30419 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30420 cat >conftest.
$ac_ext <<_ACEOF
30423 cat confdefs.h
>>conftest.
$ac_ext
30424 cat >>conftest.
$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30427 /* Override any GCC internal prototype to avoid an error.
30428 Use char because int might match the return type of a GCC
30429 builtin and then its argument prototype would still apply. */
30442 rm -f conftest.
$ac_objext conftest
$ac_exeext
30443 if { (ac_try
="$ac_link"
30444 case "(($ac_try" in
30445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30446 *) ac_try_echo=$ac_try;;
30448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30449 (eval "$ac_link") 2>conftest.er1
30451 grep -v '^ *+' conftest.er1 >conftest.err
30453 cat conftest.err >&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); } && {
30456 test -z "$ac_c_werror_flag" ||
30457 test ! -s conftest.err
30458 } && test -s conftest$ac_exeext &&
30459 $as_test_x conftest$ac_exeext; then
30460 ac_cv_lib_socket_connect=yes
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30465 ac_cv_lib_socket_connect=no
30468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30469 conftest$ac_exeext conftest.$ac_ext
30470 LIBS=$ac_check_lib_save_LIBS
30472 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30473 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30474 if test $ac_cv_lib_socket_connect = yes; then
30475 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30480 # Guillermo Gomez says -lposix is necessary on A/UX.
30481 { echo "$as_me:$LINENO: checking for remove" >&5
30482 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30483 if test "${ac_cv_func_remove+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30486 cat >conftest.$ac_ext <<_ACEOF
30489 cat confdefs.h >>conftest.$ac_ext
30490 cat >>conftest.$ac_ext <<_ACEOF
30491 /* end confdefs.h. */
30492 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30494 #define remove innocuous_remove
30496 /* System header to define __stub macros and hopefully few prototypes,
30497 which can conflict with char remove (); below.
30498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30499 <limits.h> exists even on freestanding compilers. */
30502 # include <limits.h>
30504 # include <assert.h>
30509 /* Override any GCC internal prototype to avoid an error.
30510 Use char because int might match the return type of a GCC
30511 builtin and then its argument prototype would still apply. */
30516 /* The GNU C library defines this for functions which it implements
30517 to always fail with ENOSYS. Some functions are actually named
30518 something starting with __ and the normal name is an alias. */
30519 #if defined __stub_remove || defined __stub___remove
30531 rm -f conftest.$ac_objext conftest$ac_exeext
30532 if { (ac_try="$ac_link"
30533 case "(($ac_try" in
30534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30535 *) ac_try_echo
=$ac_try;;
30537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30538 (eval "$ac_link") 2>conftest.er1
30540 grep -v '^ *+' conftest.er1
>conftest.err
30542 cat conftest.err
>&5
30543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30544 (exit $ac_status); } && {
30545 test -z "$ac_c_werror_flag" ||
30546 test ! -s conftest.err
30547 } && test -s conftest
$ac_exeext &&
30548 $as_test_x conftest
$ac_exeext; then
30549 ac_cv_func_remove
=yes
30551 echo "$as_me: failed program was:" >&5
30552 sed 's/^/| /' conftest.
$ac_ext >&5
30554 ac_cv_func_remove
=no
30557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30558 conftest
$ac_exeext conftest.
$ac_ext
30560 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30561 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30563 if test $ac_cv_func_remove = no
; then
30564 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30565 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30566 if test "${ac_cv_lib_posix_remove+set}" = set; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30569 ac_check_lib_save_LIBS
=$LIBS
30570 LIBS
="-lposix $LIBS"
30571 cat >conftest.
$ac_ext <<_ACEOF
30574 cat confdefs.h
>>conftest.
$ac_ext
30575 cat >>conftest.
$ac_ext <<_ACEOF
30576 /* end confdefs.h. */
30578 /* Override any GCC internal prototype to avoid an error.
30579 Use char because int might match the return type of a GCC
30580 builtin and then its argument prototype would still apply. */
30593 rm -f conftest.
$ac_objext conftest
$ac_exeext
30594 if { (ac_try
="$ac_link"
30595 case "(($ac_try" in
30596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30597 *) ac_try_echo=$ac_try;;
30599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30600 (eval "$ac_link") 2>conftest.er1
30602 grep -v '^ *+' conftest.er1 >conftest.err
30604 cat conftest.err >&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } && {
30607 test -z "$ac_c_werror_flag" ||
30608 test ! -s conftest.err
30609 } && test -s conftest$ac_exeext &&
30610 $as_test_x conftest$ac_exeext; then
30611 ac_cv_lib_posix_remove=yes
30613 echo "$as_me: failed program was:" >&5
30614 sed 's/^/| /' conftest.$ac_ext >&5
30616 ac_cv_lib_posix_remove=no
30619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30620 conftest$ac_exeext conftest.$ac_ext
30621 LIBS=$ac_check_lib_save_LIBS
30623 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30624 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30625 if test $ac_cv_lib_posix_remove = yes; then
30626 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30631 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30632 { echo "$as_me:$LINENO: checking for shmat" >&5
30633 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30634 if test "${ac_cv_func_shmat+set}" = set; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30637 cat >conftest.$ac_ext <<_ACEOF
30640 cat confdefs.h >>conftest.$ac_ext
30641 cat >>conftest.$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30643 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30645 #define shmat innocuous_shmat
30647 /* System header to define __stub macros and hopefully few prototypes,
30648 which can conflict with char shmat (); below.
30649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30650 <limits.h> exists even on freestanding compilers. */
30653 # include <limits.h>
30655 # include <assert.h>
30660 /* Override any GCC internal prototype to avoid an error.
30661 Use char because int might match the return type of a GCC
30662 builtin and then its argument prototype would still apply. */
30667 /* The GNU C library defines this for functions which it implements
30668 to always fail with ENOSYS. Some functions are actually named
30669 something starting with __ and the normal name is an alias. */
30670 #if defined __stub_shmat || defined __stub___shmat
30682 rm -f conftest.$ac_objext conftest$ac_exeext
30683 if { (ac_try="$ac_link"
30684 case "(($ac_try" in
30685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30686 *) ac_try_echo
=$ac_try;;
30688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30689 (eval "$ac_link") 2>conftest.er1
30691 grep -v '^ *+' conftest.er1
>conftest.err
30693 cat conftest.err
>&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } && {
30696 test -z "$ac_c_werror_flag" ||
30697 test ! -s conftest.err
30698 } && test -s conftest
$ac_exeext &&
30699 $as_test_x conftest
$ac_exeext; then
30700 ac_cv_func_shmat
=yes
30702 echo "$as_me: failed program was:" >&5
30703 sed 's/^/| /' conftest.
$ac_ext >&5
30705 ac_cv_func_shmat
=no
30708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30709 conftest
$ac_exeext conftest.
$ac_ext
30711 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30712 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30714 if test $ac_cv_func_shmat = no
; then
30715 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30716 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30717 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30718 echo $ECHO_N "(cached) $ECHO_C" >&6
30720 ac_check_lib_save_LIBS
=$LIBS
30722 cat >conftest.
$ac_ext <<_ACEOF
30725 cat confdefs.h
>>conftest.
$ac_ext
30726 cat >>conftest.
$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30729 /* Override any GCC internal prototype to avoid an error.
30730 Use char because int might match the return type of a GCC
30731 builtin and then its argument prototype would still apply. */
30744 rm -f conftest.
$ac_objext conftest
$ac_exeext
30745 if { (ac_try
="$ac_link"
30746 case "(($ac_try" in
30747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30748 *) ac_try_echo=$ac_try;;
30750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30751 (eval "$ac_link") 2>conftest.er1
30753 grep -v '^ *+' conftest.er1 >conftest.err
30755 cat conftest.err >&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); } && {
30758 test -z "$ac_c_werror_flag" ||
30759 test ! -s conftest.err
30760 } && test -s conftest$ac_exeext &&
30761 $as_test_x conftest$ac_exeext; then
30762 ac_cv_lib_ipc_shmat=yes
30764 echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30767 ac_cv_lib_ipc_shmat=no
30770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30771 conftest$ac_exeext conftest.$ac_ext
30772 LIBS=$ac_check_lib_save_LIBS
30774 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30775 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30776 if test $ac_cv_lib_ipc_shmat = yes; then
30777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30783 # Check for libraries that X11R6 Xt/Xaw programs need.
30784 ac_save_LDFLAGS=$LDFLAGS
30785 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30786 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30787 # check for ICE first), but we must link in the order -lSM -lICE or
30788 # we get undefined symbols. So assume we have SM if we have ICE.
30789 # These have to be linked with before -lX11, unlike the other
30790 # libraries we check for below, so use a different variable.
30791 # John Interrante, Karl Berry
30792 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30793 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30794 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30795 echo $ECHO_N "(cached) $ECHO_C" >&6
30797 ac_check_lib_save_LIBS=$LIBS
30798 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30799 cat >conftest.$ac_ext <<_ACEOF
30802 cat confdefs.h >>conftest.$ac_ext
30803 cat >>conftest.$ac_ext <<_ACEOF
30804 /* end confdefs.h. */
30806 /* Override any GCC internal prototype to avoid an error.
30807 Use char because int might match the return type of a GCC
30808 builtin and then its argument prototype would still apply. */
30812 char IceConnectionNumber ();
30816 return IceConnectionNumber ();
30821 rm -f conftest.$ac_objext conftest$ac_exeext
30822 if { (ac_try="$ac_link"
30823 case "(($ac_try" in
30824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30825 *) ac_try_echo
=$ac_try;;
30827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30828 (eval "$ac_link") 2>conftest.er1
30830 grep -v '^ *+' conftest.er1
>conftest.err
30832 cat conftest.err
>&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); } && {
30835 test -z "$ac_c_werror_flag" ||
30836 test ! -s conftest.err
30837 } && test -s conftest
$ac_exeext &&
30838 $as_test_x conftest
$ac_exeext; then
30839 ac_cv_lib_ICE_IceConnectionNumber
=yes
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.
$ac_ext >&5
30844 ac_cv_lib_ICE_IceConnectionNumber
=no
30847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30848 conftest
$ac_exeext conftest.
$ac_ext
30849 LIBS
=$ac_check_lib_save_LIBS
30851 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30852 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30853 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30854 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30857 LDFLAGS
=$ac_save_LDFLAGS
30862 if test "$no_x" = "yes"; then
30863 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30864 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30865 { (exit 1); exit 1; }; }
30868 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30869 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30870 AFMINSTALL
=afminstall
30871 COMPILED_X_PROGRAM
=0
30875 if test "$wxUSE_X11" = 1; then
30876 if test "$wxUSE_NANOX" = "yes"; then
30877 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30878 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30879 if test "x$MICROWIN" = x
; then
30880 { echo "$as_me:$LINENO: result: not found" >&5
30881 echo "${ECHO_T}not found" >&6; }
30882 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30883 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30884 { (exit 1); exit 1; }; }
30886 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30887 echo "${ECHO_T}$MICROWIN" >&6; }
30888 cat >>confdefs.h
<<\_ACEOF
30889 #define wxUSE_NANOX 1
30895 if test "$wxUSE_UNICODE" = "yes"; then
30898 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30899 if test -n "$ac_tool_prefix"; then
30900 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30901 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30905 echo $ECHO_N "(cached) $ECHO_C" >&6
30907 case $PKG_CONFIG in
30909 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30913 for as_dir
in $PATH
30916 test -z "$as_dir" && as_dir
=.
30917 for ac_exec_ext
in '' $ac_executable_extensions; do
30918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30919 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30930 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30931 if test -n "$PKG_CONFIG"; then
30932 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30933 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30935 { echo "$as_me:$LINENO: result: no" >&5
30936 echo "${ECHO_T}no" >&6; }
30941 if test -z "$ac_cv_path_PKG_CONFIG"; then
30942 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30943 # Extract the first word of "pkg-config", so it can be a program name with args.
30944 set dummy pkg
-config; ac_word
=$2
30945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30947 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30950 case $ac_pt_PKG_CONFIG in
30952 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30956 for as_dir
in $PATH
30959 test -z "$as_dir" && as_dir
=.
30960 for ac_exec_ext
in '' $ac_executable_extensions; do
30961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30962 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30973 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30974 if test -n "$ac_pt_PKG_CONFIG"; then
30975 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30976 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30978 { echo "$as_me:$LINENO: result: no" >&5
30979 echo "${ECHO_T}no" >&6; }
30982 if test "x$ac_pt_PKG_CONFIG" = x
; then
30985 case $cross_compiling:$ac_tool_warned in
30987 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30988 whose name does not start with the host triplet. If you think this
30989 configuration is useful to you, please write to autoconf@gnu.org." >&5
30990 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30991 whose name does not start with the host triplet. If you think this
30992 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30993 ac_tool_warned
=yes ;;
30995 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30998 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31002 if test -n "$PKG_CONFIG"; then
31003 _pkg_min_version
=0.9.0
31004 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31005 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31006 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31007 { echo "$as_me:$LINENO: result: yes" >&5
31008 echo "${ECHO_T}yes" >&6; }
31010 { echo "$as_me:$LINENO: result: no" >&5
31011 echo "${ECHO_T}no" >&6; }
31019 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31020 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31022 if test -n "$PKG_CONFIG"; then
31023 if test -n "$PANGOX_CFLAGS"; then
31024 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31026 if test -n "$PKG_CONFIG" && \
31027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31028 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; then
31032 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31040 if test -n "$PKG_CONFIG"; then
31041 if test -n "$PANGOX_LIBS"; then
31042 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31044 if test -n "$PKG_CONFIG" && \
31045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31046 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; then
31050 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31061 if test $pkg_failed = yes; then
31063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31064 _pkg_short_errors_supported
=yes
31066 _pkg_short_errors_supported
=no
31068 if test $_pkg_short_errors_supported = yes; then
31069 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31071 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31073 # Put the nasty error message in config.log where it belongs
31074 echo "$PANGOX_PKG_ERRORS" >&5
31077 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31078 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31079 { (exit 1); exit 1; }; }
31082 elif test $pkg_failed = untried
; then
31084 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31085 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31086 { (exit 1); exit 1; }; }
31090 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31091 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31092 { echo "$as_me:$LINENO: result: yes" >&5
31093 echo "${ECHO_T}yes" >&6; }
31095 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31096 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31097 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31102 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31103 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31105 if test -n "$PKG_CONFIG"; then
31106 if test -n "$PANGOFT2_CFLAGS"; then
31107 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31109 if test -n "$PKG_CONFIG" && \
31110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31111 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; then
31115 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31123 if test -n "$PKG_CONFIG"; then
31124 if test -n "$PANGOFT2_LIBS"; then
31125 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31127 if test -n "$PKG_CONFIG" && \
31128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31129 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; then
31133 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31144 if test $pkg_failed = yes; then
31146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31147 _pkg_short_errors_supported
=yes
31149 _pkg_short_errors_supported
=no
31151 if test $_pkg_short_errors_supported = yes; then
31152 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31154 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31156 # Put the nasty error message in config.log where it belongs
31157 echo "$PANGOFT2_PKG_ERRORS" >&5
31160 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31161 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31162 wxUSE_PRINTING_ARCHITECTURE
="no"
31165 elif test $pkg_failed = untried
; then
31167 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31168 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31169 wxUSE_PRINTING_ARCHITECTURE
="no"
31173 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31174 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31175 { echo "$as_me:$LINENO: result: yes" >&5
31176 echo "${ECHO_T}yes" >&6; }
31178 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31179 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31180 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31185 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31186 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31188 if test -n "$PKG_CONFIG"; then
31189 if test -n "$PANGOXFT_CFLAGS"; then
31190 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31192 if test -n "$PKG_CONFIG" && \
31193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31194 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); }; then
31198 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31206 if test -n "$PKG_CONFIG"; then
31207 if test -n "$PANGOXFT_LIBS"; then
31208 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31210 if test -n "$PKG_CONFIG" && \
31211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31212 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); }; then
31216 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31227 if test $pkg_failed = yes; then
31229 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31230 _pkg_short_errors_supported
=yes
31232 _pkg_short_errors_supported
=no
31234 if test $_pkg_short_errors_supported = yes; then
31235 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31237 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31239 # Put the nasty error message in config.log where it belongs
31240 echo "$PANGOXFT_PKG_ERRORS" >&5
31243 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31244 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31247 elif test $pkg_failed = untried
; then
31249 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31250 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31254 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31255 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31256 { echo "$as_me:$LINENO: result: yes" >&5
31257 echo "${ECHO_T}yes" >&6; }
31259 cat >>confdefs.h
<<\_ACEOF
31260 #define HAVE_PANGO_XFT 1
31263 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31264 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31265 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31269 LIBS
="$LIBS $PANGOX_LIBS"
31271 for ac_func
in pango_font_family_is_monospace
31273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31276 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31277 echo $ECHO_N "(cached) $ECHO_C" >&6
31279 cat >conftest.
$ac_ext <<_ACEOF
31282 cat confdefs.h
>>conftest.
$ac_ext
31283 cat >>conftest.
$ac_ext <<_ACEOF
31284 /* end confdefs.h. */
31285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31287 #define $ac_func innocuous_$ac_func
31289 /* System header to define __stub macros and hopefully few prototypes,
31290 which can conflict with char $ac_func (); below.
31291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31292 <limits.h> exists even on freestanding compilers. */
31295 # include <limits.h>
31297 # include <assert.h>
31302 /* Override any GCC internal prototype to avoid an error.
31303 Use char because int might match the return type of a GCC
31304 builtin and then its argument prototype would still apply. */
31309 /* The GNU C library defines this for functions which it implements
31310 to always fail with ENOSYS. Some functions are actually named
31311 something starting with __ and the normal name is an alias. */
31312 #if defined __stub_$ac_func || defined __stub___$ac_func
31319 return $ac_func ();
31324 rm -f conftest.
$ac_objext conftest
$ac_exeext
31325 if { (ac_try
="$ac_link"
31326 case "(($ac_try" in
31327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31328 *) ac_try_echo=$ac_try;;
31330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31331 (eval "$ac_link") 2>conftest.er1
31333 grep -v '^ *+' conftest.er1 >conftest.err
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } && {
31338 test -z "$ac_c_werror_flag" ||
31339 test ! -s conftest.err
31340 } && test -s conftest$ac_exeext &&
31341 $as_test_x conftest$ac_exeext; then
31342 eval "$as_ac_var=yes"
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31347 eval "$as_ac_var=no"
31350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31351 conftest$ac_exeext conftest.$ac_ext
31353 ac_res=`eval echo '${'$as_ac_var'}'`
31354 { echo "$as_me:$LINENO: result: $ac_res" >&5
31355 echo "${ECHO_T}$ac_res" >&6; }
31356 if test `eval echo '${'$as_ac_var'}'` = yes; then
31357 cat >>confdefs.h <<_ACEOF
31358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31367 wxUSE_UNIVERSAL="yes"
31369 if test "$wxUSE_NANOX" = "yes"; then
31370 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31371 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"
31372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31374 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31381 if test "$wxUSE_MOTIF" = 1; then
31382 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31383 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31386 for ac_dir in $SEARCH_INCLUDE /usr/include;
31388 if test -f "$ac_dir/Xm/Xm.h"; then
31389 ac_find_includes=$ac_dir
31394 if test "$ac_find_includes" != "" ; then
31395 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31396 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31398 if test "x$ac_find_includes" = "x/usr/include"; then
31399 ac_path_to_include=""
31401 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31403 if test $result = 0; then
31404 ac_path_to_include=""
31406 ac_path_to_include=" -I$ac_find_includes"
31410 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31412 save_CFLAGS=$CFLAGS
31413 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31415 cat >conftest.$ac_ext <<_ACEOF
31418 cat confdefs.h >>conftest.$ac_ext
31419 cat >>conftest.$ac_ext <<_ACEOF
31420 /* end confdefs.h. */
31429 version = xmUseVersion;
31435 rm -f conftest.$ac_objext
31436 if { (ac_try="$ac_compile"
31437 case "(($ac_try" in
31438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31439 *) ac_try_echo
=$ac_try;;
31441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31442 (eval "$ac_compile") 2>conftest.er1
31444 grep -v '^ *+' conftest.er1
>conftest.err
31446 cat conftest.err
>&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); } && {
31449 test -z "$ac_c_werror_flag" ||
31450 test ! -s conftest.err
31451 } && test -s conftest.
$ac_objext; then
31453 { echo "$as_me:$LINENO: result: found in default search path" >&5
31454 echo "${ECHO_T}found in default search path" >&6; }
31455 COMPILED_X_PROGRAM
=1
31458 echo "$as_me: failed program was:" >&5
31459 sed 's/^/| /' conftest.
$ac_ext >&5
31462 { echo "$as_me:$LINENO: result: no" >&5
31463 echo "${ECHO_T}no" >&6; }
31464 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31465 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31466 { (exit 1); exit 1; }; }
31471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31473 CFLAGS
=$save_CFLAGS
31477 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31478 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31481 for ac_dir
in $SEARCH_LIB;
31483 for ac_extension
in a so sl dylib dll.a
; do
31484 if test -f "$ac_dir/libXm.$ac_extension"; then
31485 ac_find_libraries
=$ac_dir
31492 if test "x$ac_find_libraries" != "x" ; then
31493 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31494 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31497 if test "$ac_find_libraries" = "default location"; then
31500 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31502 if test $result = 0; then
31505 ac_path_to_link
=" -L$ac_find_libraries"
31509 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31511 save_CFLAGS
=$CFLAGS
31512 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31514 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31516 cat >conftest.
$ac_ext <<_ACEOF
31519 cat confdefs.h
>>conftest.
$ac_ext
31520 cat >>conftest.
$ac_ext <<_ACEOF
31521 /* end confdefs.h. */
31530 version = xmUseVersion;
31536 rm -f conftest.
$ac_objext conftest
$ac_exeext
31537 if { (ac_try
="$ac_link"
31538 case "(($ac_try" in
31539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31540 *) ac_try_echo=$ac_try;;
31542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31543 (eval "$ac_link") 2>conftest.er1
31545 grep -v '^ *+' conftest.er1 >conftest.err
31547 cat conftest.err >&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } && {
31550 test -z "$ac_c_werror_flag" ||
31551 test ! -s conftest.err
31552 } && test -s conftest$ac_exeext &&
31553 $as_test_x conftest$ac_exeext; then
31555 { echo "$as_me:$LINENO: result: found in default search path" >&5
31556 echo "${ECHO_T}found in default search path" >&6; }
31557 COMPILED_X_PROGRAM=1
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31564 { echo "$as_me:$LINENO: result: no" >&5
31565 echo "${ECHO_T}no" >&6; }
31566 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31567 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31568 { (exit 1); exit 1; }; }
31573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31574 conftest$ac_exeext conftest.$ac_ext
31576 CFLAGS=$save_CFLAGS
31580 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31581 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31585 for libp in "" " -lXp"; do
31586 if test "$libs_found" = 0; then
31587 for libsm_ice in "" " -lSM -lICE"; do
31588 if test "$libs_found" = 0; then
31590 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31591 save_CFLAGS=$CFLAGS
31592 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31594 cat >conftest.$ac_ext <<_ACEOF
31597 cat confdefs.h >>conftest.$ac_ext
31598 cat >>conftest.$ac_ext <<_ACEOF
31599 /* end confdefs.h. */
31602 #include <Xm/List.h>
31608 XmString string = NULL;
31611 XmListAddItem(w, string, position);
31617 rm -f conftest.$ac_objext conftest$ac_exeext
31618 if { (ac_try="$ac_link"
31619 case "(($ac_try" in
31620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31621 *) ac_try_echo
=$ac_try;;
31623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31624 (eval "$ac_link") 2>conftest.er1
31626 grep -v '^ *+' conftest.er1
>conftest.err
31628 cat conftest.err
>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } && {
31631 test -z "$ac_c_werror_flag" ||
31632 test ! -s conftest.err
31633 } && test -s conftest
$ac_exeext &&
31634 $as_test_x conftest
$ac_exeext; then
31637 libsm_ice_link
="$libsm_ice"
31638 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31639 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.
$ac_ext >&5
31650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31651 conftest
$ac_exeext conftest.
$ac_ext
31654 CFLAGS
=$save_CFLAGS
31660 if test "$libs_found" = 0; then
31661 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31662 echo "${ECHO_T}can't find the right libraries" >&6; }
31663 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31664 echo "$as_me: error: can't link a simple motif program" >&2;}
31665 { (exit 1); exit 1; }; }
31668 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31669 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31670 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31671 echo $ECHO_N "(cached) $ECHO_C" >&6
31673 ac_check_lib_save_LIBS
=$LIBS
31675 cat >conftest.
$ac_ext <<_ACEOF
31678 cat confdefs.h
>>conftest.
$ac_ext
31679 cat >>conftest.
$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31682 /* Override any GCC internal prototype to avoid an error.
31683 Use char because int might match the return type of a GCC
31684 builtin and then its argument prototype would still apply. */
31688 char SgCreateList ();
31692 return SgCreateList ();
31697 rm -f conftest.
$ac_objext conftest
$ac_exeext
31698 if { (ac_try
="$ac_link"
31699 case "(($ac_try" in
31700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31701 *) ac_try_echo=$ac_try;;
31703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31704 (eval "$ac_link") 2>conftest.er1
31706 grep -v '^ *+' conftest.er1 >conftest.err
31708 cat conftest.err >&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } && {
31711 test -z "$ac_c_werror_flag" ||
31712 test ! -s conftest.err
31713 } && test -s conftest$ac_exeext &&
31714 $as_test_x conftest$ac_exeext; then
31715 ac_cv_lib_Sgm_SgCreateList=yes
31717 echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.$ac_ext >&5
31720 ac_cv_lib_Sgm_SgCreateList=no
31723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31724 conftest$ac_exeext conftest.$ac_ext
31725 LIBS=$ac_check_lib_save_LIBS
31727 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31728 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31729 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31730 libsgm_link=" -lSgm"
31734 save_CFLAGS=$CFLAGS
31735 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31737 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31738 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31739 if test "${wx_cv_lib_motif2+set}" = set; then
31740 echo $ECHO_N "(cached) $ECHO_C" >&6
31742 cat >conftest.$ac_ext <<_ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31755 #if XmVersion < 2000
31763 rm -f conftest.$ac_objext
31764 if { (ac_try="$ac_compile"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31767 *) ac_try_echo
=$ac_try;;
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_compile") 2>conftest.er1
31772 grep -v '^ *+' conftest.er1
>conftest.err
31774 cat conftest.err
>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest.
$ac_objext; then
31780 wx_cv_lib_motif2
="yes"
31782 echo "$as_me: failed program was:" >&5
31783 sed 's/^/| /' conftest.
$ac_ext >&5
31785 wx_cv_lib_motif2
="no"
31788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31790 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31791 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31792 if test "$wx_cv_lib_motif2" = "yes"; then
31793 cat >>confdefs.h
<<\_ACEOF
31794 #define __WXMOTIF20__ 1
31798 cat >>confdefs.h
<<\_ACEOF
31799 #define __WXMOTIF20__ 0
31804 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31805 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31806 if test "${wx_cv_lib_lesstif+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31809 cat >conftest.
$ac_ext <<_ACEOF
31812 cat confdefs.h
>>conftest.
$ac_ext
31813 cat >>conftest.
$ac_ext <<_ACEOF
31814 /* end confdefs.h. */
31822 #if !defined(LesstifVersion) || LesstifVersion <= 0
31830 rm -f conftest.
$ac_objext
31831 if { (ac_try
="$ac_compile"
31832 case "(($ac_try" in
31833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31834 *) ac_try_echo=$ac_try;;
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_compile") 2>conftest.er1
31839 grep -v '^ *+' conftest.er1 >conftest.err
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest.$ac_objext; then
31847 wx_cv_lib_lesstif="yes"
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.$ac_ext >&5
31852 wx_cv_lib_lesstif="no"
31855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31858 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31859 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31860 if test "$wx_cv_lib_lesstif" = "yes"; then
31861 cat >>confdefs.h <<\_ACEOF
31862 #define __WXLESSTIF__ 1
31866 cat >>confdefs.h <<\_ACEOF
31867 #define __WXLESSTIF__ 0
31872 CFLAGS=$save_CFLAGS
31874 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31879 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31880 if test "$wxUSE_LIBXPM" = "sys"; then
31881 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31882 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31885 for ac_dir in $SEARCH_LIB;
31887 for ac_extension in a so sl dylib dll.a; do
31888 if test -f "$ac_dir/libXpm.$ac_extension"; then
31889 ac_find_libraries=$ac_dir
31895 if test "$ac_find_libraries" != "" ; then
31897 if test "$ac_find_libraries" = "default location"; then
31900 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31902 if test $result = 0; then
31905 ac_path_to_link=" -L$ac_find_libraries"
31909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31910 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31911 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31913 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31914 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31915 if test "${wx_cv_x11_xpm_h+set}" = set; then
31916 echo $ECHO_N "(cached) $ECHO_C" >&6
31919 save_CFLAGS=$CFLAGS
31920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31922 cat >conftest.$ac_ext <<_ACEOF
31925 cat confdefs.h >>conftest.$ac_ext
31926 cat >>conftest.$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31929 #include <X11/xpm.h>
31936 version = XpmLibraryVersion();
31942 rm -f conftest.$ac_objext
31943 if { (ac_try="$ac_compile"
31944 case "(($ac_try" in
31945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31946 *) ac_try_echo
=$ac_try;;
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_compile") 2>conftest.er1
31951 grep -v '^ *+' conftest.er1
>conftest.err
31953 cat conftest.err
>&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest.
$ac_objext; then
31959 wx_cv_x11_xpm_h
=yes
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.
$ac_ext >&5
31968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31970 CFLAGS
=$save_CFLAGS
31974 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31975 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31977 if test $wx_cv_x11_xpm_h = "yes"; then
31978 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31979 cat >>confdefs.h
<<\_ACEOF
31980 #define wxHAVE_LIB_XPM 1
31984 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31985 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31991 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31992 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31993 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31996 ac_check_lib_save_LIBS
=$LIBS
31997 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31998 cat >conftest.
$ac_ext <<_ACEOF
32001 cat confdefs.h
>>conftest.
$ac_ext
32002 cat >>conftest.
$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32005 /* Override any GCC internal prototype to avoid an error.
32006 Use char because int might match the return type of a GCC
32007 builtin and then its argument prototype would still apply. */
32011 char XShapeQueryExtension ();
32015 return XShapeQueryExtension ();
32020 rm -f conftest.
$ac_objext conftest
$ac_exeext
32021 if { (ac_try
="$ac_link"
32022 case "(($ac_try" in
32023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32024 *) ac_try_echo=$ac_try;;
32026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32027 (eval "$ac_link") 2>conftest.er1
32029 grep -v '^ *+' conftest.er1 >conftest.err
32031 cat conftest.err >&5
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); } && {
32034 test -z "$ac_c_werror_flag" ||
32035 test ! -s conftest.err
32036 } && test -s conftest$ac_exeext &&
32037 $as_test_x conftest$ac_exeext; then
32038 ac_cv_lib_Xext_XShapeQueryExtension=yes
32040 echo "$as_me: failed program was:" >&5
32041 sed 's/^/| /' conftest.$ac_ext >&5
32043 ac_cv_lib_Xext_XShapeQueryExtension=no
32046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32047 conftest$ac_exeext conftest.$ac_ext
32048 LIBS=$ac_check_lib_save_LIBS
32050 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32051 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32052 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32060 if test "$wxHAVE_XEXT_LIB" = 1; then
32061 save_CFLAGS="$CFLAGS"
32062 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32064 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32065 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32066 cat >conftest.$ac_ext <<_ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32073 #include <X11/Xlib.h>
32074 #include <X11/extensions/shape.h>
32080 int dummy1, dummy2;
32081 XShapeQueryExtension((Display*)NULL,
32082 (int*)NULL, (int*)NULL);
32088 rm -f conftest.$ac_objext
32089 if { (ac_try="$ac_compile"
32090 case "(($ac_try" in
32091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32092 *) ac_try_echo
=$ac_try;;
32094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32095 (eval "$ac_compile") 2>conftest.er1
32097 grep -v '^ *+' conftest.er1
>conftest.err
32099 cat conftest.err
>&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); } && {
32102 test -z "$ac_c_werror_flag" ||
32103 test ! -s conftest.err
32104 } && test -s conftest.
$ac_objext; then
32106 cat >>confdefs.h
<<\_ACEOF
32107 #define HAVE_XSHAPE 1
32110 { echo "$as_me:$LINENO: result: found" >&5
32111 echo "${ECHO_T}found" >&6; }
32114 echo "$as_me: failed program was:" >&5
32115 sed 's/^/| /' conftest.
$ac_ext >&5
32118 { echo "$as_me:$LINENO: result: not found" >&5
32119 echo "${ECHO_T}not found" >&6; }
32123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32124 CFLAGS
="$save_CFLAGS"
32129 if test "$wxUSE_MAC" = 1; then
32130 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32131 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32132 if test "$GCC" = yes; then
32133 { echo "$as_me:$LINENO: result: gcc" >&5
32134 echo "${ECHO_T}gcc" >&6; }
32135 CPPFLAGS_PASCAL
="-fpascal-strings"
32136 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32137 { echo "$as_me:$LINENO: result: xlc" >&5
32138 echo "${ECHO_T}xlc" >&6; }
32139 CPPFLAGS_PASCAL
="-qmacpstr"
32141 { echo "$as_me:$LINENO: result: none" >&5
32142 echo "${ECHO_T}none" >&6; }
32145 if test "x$wxUSE_UNIX" = "xyes"; then
32146 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32148 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32153 WXBASEPORT
="_carbon"
32156 if test "$wxUSE_COCOA" = 1; then
32161 if test "$wxUSE_PM" = 1; then
32164 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32165 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32166 if test "${wx_cv_spbcdata+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 cat >conftest.
$ac_ext <<_ACEOF
32173 cat confdefs.h
>>conftest.
$ac_ext
32174 cat >>conftest.
$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32190 rm -f conftest.
$ac_objext
32191 if { (ac_try
="$ac_compile"
32192 case "(($ac_try" in
32193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32194 *) ac_try_echo=$ac_try;;
32196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32197 (eval "$ac_compile") 2>conftest.er1
32199 grep -v '^ *+' conftest.er1 >conftest.err
32201 cat conftest.err >&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } && {
32204 test -z "$ac_c_werror_flag" ||
32205 test ! -s conftest.err
32206 } && test -s conftest.$ac_objext; then
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32220 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32221 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32223 if test $wx_cv_spbcdata = "yes"; then
32224 cat >>confdefs.h <<\_ACEOF
32225 #define HAVE_SPBCDATA 1
32231 if test "$TOOLKIT" = "PM" ; then
32234 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A
-Z a
-z`
32237 if test "$wxUSE_UNIVERSAL" = "yes"; then
32238 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32242 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32243 DISTDIR="wx\$(TOOLKIT)"
32249 if test "$USE_WIN32" = 1 ; then
32253 GUIDIST="BASE_DIST"
32259 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32260 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32261 wxUSE_UNICODE_UTF8=yes
32262 elif test "$USE_OS2" = 1 ; then
32263 wxUSE_UNICODE_UTF8=yes
32265 wxUSE_UNICODE_UTF8=no
32270 if test "$wxUSE_GUI" = "yes"; then
32271 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32273 for ac_header in X11/Xlib.h
32275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32279 echo $ECHO_N "(cached) $ECHO_C" >&6
32281 cat >conftest.$ac_ext <<_ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32289 #include <$ac_header>
32291 rm -f conftest.$ac_objext
32292 if { (ac_try="$ac_compile"
32293 case "(($ac_try" in
32294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32295 *) ac_try_echo
=$ac_try;;
32297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32298 (eval "$ac_compile") 2>conftest.er1
32300 grep -v '^ *+' conftest.er1
>conftest.err
32302 cat conftest.err
>&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); } && {
32305 test -z "$ac_c_werror_flag" ||
32306 test ! -s conftest.err
32307 } && test -s conftest.
$ac_objext; then
32308 eval "$as_ac_Header=yes"
32310 echo "$as_me: failed program was:" >&5
32311 sed 's/^/| /' conftest.
$ac_ext >&5
32313 eval "$as_ac_Header=no"
32316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32318 ac_res
=`eval echo '${'$as_ac_Header'}'`
32319 { echo "$as_me:$LINENO: result: $ac_res" >&5
32320 echo "${ECHO_T}$ac_res" >&6; }
32321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32322 cat >>confdefs.h
<<_ACEOF
32323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32331 for ac_header
in X
11/XKBlib.h
32333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32336 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32337 echo $ECHO_N "(cached) $ECHO_C" >&6
32339 cat >conftest.
$ac_ext <<_ACEOF
32342 cat confdefs.h
>>conftest.
$ac_ext
32343 cat >>conftest.
$ac_ext <<_ACEOF
32344 /* end confdefs.h. */
32346 #if HAVE_X11_XLIB_H
32347 #include <X11/Xlib.h>
32351 #include <$ac_header>
32353 rm -f conftest.
$ac_objext
32354 if { (ac_try
="$ac_compile"
32355 case "(($ac_try" in
32356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32357 *) ac_try_echo=$ac_try;;
32359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32360 (eval "$ac_compile") 2>conftest.er1
32362 grep -v '^ *+' conftest.er1 >conftest.err
32364 cat conftest.err >&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } && {
32367 test -z "$ac_c_werror_flag" ||
32368 test ! -s conftest.err
32369 } && test -s conftest.$ac_objext; then
32370 eval "$as_ac_Header=yes"
32372 echo "$as_me: failed program was:" >&5
32373 sed 's/^/| /' conftest.$ac_ext >&5
32375 eval "$as_ac_Header=no"
32378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32380 ac_res=`eval echo '${'$as_ac_Header'}'`
32381 { echo "$as_me:$LINENO: result: $ac_res" >&5
32382 echo "${ECHO_T}$ac_res" >&6; }
32383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32384 cat >>confdefs.h <<_ACEOF
32385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32397 if test "$wxUSE_DISPLAY" = "yes"; then
32398 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32399 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32400 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32403 for ac_dir in $SEARCH_LIB;
32405 for ac_extension in a so sl dylib dll.a; do
32406 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32407 ac_find_libraries=$ac_dir
32413 if test "$ac_find_libraries" != "" ; then
32415 if test "$ac_find_libraries" = "default location"; then
32418 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32420 if test $result = 0; then
32423 ac_path_to_link=" -L$ac_find_libraries"
32427 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32428 LDFLAGS="$LDFLAGS $ac_path_to_link"
32430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32431 { echo "$as_me:$LINENO: result: yes" >&5
32432 echo "${ECHO_T}yes" >&6; }
32434 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32435 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32438 for ac_dir in $SEARCH_LIB;
32440 for ac_extension in a so sl dylib dll.a; do
32441 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32442 ac_find_libraries=$ac_dir
32448 if test "$ac_find_libraries" != "" ; then
32449 { echo "$as_me:$LINENO: result: yes" >&5
32450 echo "${ECHO_T}yes" >&6; }
32452 for ac_header in X11/extensions/xf86vmode.h
32454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32460 cat >conftest.$ac_ext <<_ACEOF
32463 cat confdefs.h >>conftest.$ac_ext
32464 cat >>conftest.$ac_ext <<_ACEOF
32465 /* end confdefs.h. */
32467 #if HAVE_X11_XLIB_H
32468 #include <X11/Xlib.h>
32472 #include <$ac_header>
32474 rm -f conftest.$ac_objext
32475 if { (ac_try="$ac_compile"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32478 *) ac_try_echo
=$ac_try;;
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_compile") 2>conftest.er1
32483 grep -v '^ *+' conftest.er1
>conftest.err
32485 cat conftest.err
>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest.
$ac_objext; then
32491 eval "$as_ac_Header=yes"
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.
$ac_ext >&5
32496 eval "$as_ac_Header=no"
32499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32501 ac_res
=`eval echo '${'$as_ac_Header'}'`
32502 { echo "$as_me:$LINENO: result: $ac_res" >&5
32503 echo "${ECHO_T}$ac_res" >&6; }
32504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32505 cat >>confdefs.h
<<_ACEOF
32506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32509 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32516 { echo "$as_me:$LINENO: result: no" >&5
32517 echo "${ECHO_T}no" >&6; }
32521 { echo "$as_me:$LINENO: result: no" >&5
32522 echo "${ECHO_T}no" >&6; }
32523 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32524 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32527 elif test "$wxUSE_MSW" = 1; then
32528 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32529 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32530 if test "${ac_cv_header_ddraw_h+set}" = set; then
32531 echo $ECHO_N "(cached) $ECHO_C" >&6
32533 cat >conftest.
$ac_ext <<_ACEOF
32536 cat confdefs.h
>>conftest.
$ac_ext
32537 cat >>conftest.
$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539 #include <windows.h>
32543 rm -f conftest.
$ac_objext
32544 if { (ac_try
="$ac_compile"
32545 case "(($ac_try" in
32546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32547 *) ac_try_echo=$ac_try;;
32549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32550 (eval "$ac_compile") 2>conftest.er1
32552 grep -v '^ *+' conftest.er1 >conftest.err
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } && {
32557 test -z "$ac_c_werror_flag" ||
32558 test ! -s conftest.err
32559 } && test -s conftest.$ac_objext; then
32560 ac_cv_header_ddraw_h=yes
32562 echo "$as_me: failed program was:" >&5
32563 sed 's/^/| /' conftest.$ac_ext >&5
32565 ac_cv_header_ddraw_h=no
32568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32570 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32571 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32577 if test "$wxUSE_DETECT_SM" = "yes"; then
32578 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32579 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32580 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32583 for ac_dir in $SEARCH_LIB;
32585 for ac_extension in a so sl dylib dll.a; do
32586 if test -f "$ac_dir/libSM.$ac_extension"; then
32587 ac_find_libraries=$ac_dir
32593 if test "$ac_find_libraries" != "" ; then
32595 if test "$ac_find_libraries" = "default location"; then
32598 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32600 if test $result = 0; then
32603 ac_path_to_link=" -L$ac_find_libraries"
32607 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32608 LDFLAGS="$LDFLAGS $ac_path_to_link"
32610 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32611 { echo "$as_me:$LINENO: result: yes" >&5
32612 echo "${ECHO_T}yes" >&6; }
32614 { echo "$as_me:$LINENO: result: no" >&5
32615 echo "${ECHO_T}no" >&6; }
32616 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32617 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32618 wxUSE_DETECT_SM="no"
32621 wxUSE_DETECT_SM="no"
32628 if test "$wxUSE_OPENGL" = "yes"; then
32629 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32630 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32631 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32633 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32634 OPENGL_LIBS="-framework OpenGL -framework AGL"
32635 elif test "$wxUSE_MSW" = 1; then
32636 OPENGL_LIBS="-lopengl32 -lglu32"
32638 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32639 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32642 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32644 if test -f "$ac_dir/GL/gl.h"; then
32645 ac_find_includes=$ac_dir
32650 if test "$ac_find_includes" != "" ; then
32651 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32652 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32654 if test "x$ac_find_includes" = "x/usr/include"; then
32655 ac_path_to_include=""
32657 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32659 if test $result = 0; then
32660 ac_path_to_include=""
32662 ac_path_to_include=" -I$ac_find_includes"
32666 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32668 { echo "$as_me:$LINENO: result: not found" >&5
32669 echo "${ECHO_T}not found" >&6; }
32672 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32673 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32674 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32677 cat >conftest.$ac_ext <<_ACEOF
32680 cat confdefs.h >>conftest.$ac_ext
32681 cat >>conftest.$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32687 rm -f conftest.$ac_objext
32688 if { (ac_try="$ac_compile"
32689 case "(($ac_try" in
32690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32691 *) ac_try_echo
=$ac_try;;
32693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32694 (eval "$ac_compile") 2>conftest.er1
32696 grep -v '^ *+' conftest.er1
>conftest.err
32698 cat conftest.err
>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); } && {
32701 test -z "$ac_c_werror_flag" ||
32702 test ! -s conftest.err
32703 } && test -s conftest.
$ac_objext; then
32704 ac_cv_header_GL_gl_h
=yes
32706 echo "$as_me: failed program was:" >&5
32707 sed 's/^/| /' conftest.
$ac_ext >&5
32709 ac_cv_header_GL_gl_h
=no
32712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32714 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32715 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32716 if test $ac_cv_header_GL_gl_h = yes; then
32718 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32719 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32720 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32721 echo $ECHO_N "(cached) $ECHO_C" >&6
32723 cat >conftest.
$ac_ext <<_ACEOF
32726 cat confdefs.h
>>conftest.
$ac_ext
32727 cat >>conftest.
$ac_ext <<_ACEOF
32728 /* end confdefs.h. */
32731 #include <GL/glu.h>
32733 rm -f conftest.
$ac_objext
32734 if { (ac_try
="$ac_compile"
32735 case "(($ac_try" in
32736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32737 *) ac_try_echo=$ac_try;;
32739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32740 (eval "$ac_compile") 2>conftest.er1
32742 grep -v '^ *+' conftest.er1 >conftest.err
32744 cat conftest.err >&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); } && {
32747 test -z "$ac_c_werror_flag" ||
32748 test ! -s conftest.err
32749 } && test -s conftest.$ac_objext; then
32750 ac_cv_header_GL_glu_h=yes
32752 echo "$as_me: failed program was:" >&5
32753 sed 's/^/| /' conftest.$ac_ext >&5
32755 ac_cv_header_GL_glu_h=no
32758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32760 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32761 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32762 if test $ac_cv_header_GL_glu_h = yes; then
32766 { echo "$as_me:$LINENO: checking for -lGL" >&5
32767 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32770 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32772 for ac_extension in a so sl dylib dll.a; do
32773 if test -f "$ac_dir/libGL.$ac_extension"; then
32774 ac_find_libraries=$ac_dir
32780 if test "$ac_find_libraries" != "" ; then
32781 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32782 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32785 if test "$ac_find_libraries" = "default location"; then
32788 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32790 if test $result = 0; then
32793 ac_path_to_link=" -L$ac_find_libraries"
32797 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32798 LDFLAGS_GL="$ac_path_to_link"
32801 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32802 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32805 for ac_dir in $SEARCH_LIB;
32807 for ac_extension in a so sl dylib dll.a; do
32808 if test -f "$ac_dir/libGLU.$ac_extension"; then
32809 ac_find_libraries=$ac_dir
32815 if test "$ac_find_libraries" != "" ; then
32817 if test "$ac_find_libraries" = "default location"; then
32820 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32822 if test $result = 0; then
32825 ac_path_to_link=" -L$ac_find_libraries"
32829 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32830 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32831 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32835 OPENGL_LIBS="-lGL -lGLU"
32836 { echo "$as_me:$LINENO: result: yes" >&5
32837 echo "${ECHO_T}yes" >&6; }
32839 { echo "$as_me:$LINENO: result: no" >&5
32840 echo "${ECHO_T}no" >&6; }
32843 { echo "$as_me:$LINENO: result: no" >&5
32844 echo "${ECHO_T}no" >&6; }
32847 if test "$found_gl" != 1; then
32848 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32849 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32852 for ac_dir in $SEARCH_LIB;
32854 for ac_extension in a so sl dylib dll.a; do
32855 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32856 ac_find_libraries=$ac_dir
32862 if test "$ac_find_libraries" != "" ; then
32864 if test "$ac_find_libraries" = "default location"; then
32867 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32869 if test $result = 0; then
32872 ac_path_to_link=" -L$ac_find_libraries"
32876 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32877 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32878 { echo "$as_me:$LINENO: result: yes" >&5
32879 echo "${ECHO_T}yes" >&6; }
32881 { echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6; }
32894 if test "x$OPENGL_LIBS" = "x"; then
32895 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32896 echo "$as_me: error: OpenGL libraries not available" >&2;}
32897 { (exit 1); exit 1; }; }
32901 if test "$wxUSE_OPENGL" = "yes"; then
32903 cat >>confdefs.h <<\_ACEOF
32904 #define wxUSE_OPENGL 1
32907 cat >>confdefs.h <<\_ACEOF
32908 #define wxUSE_GLCANVAS 1
32911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32916 if test -n "$TOOLKIT" ; then
32917 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32922 if test "$wxUSE_SHARED" = "yes"; then
32926 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32927 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32932 if test "$wxUSE_SHARED" = "yes"; then
32936 *-*-cygwin* | *-*-mingw* )
32937 wx_cv_version_script=no
32941 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32942 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32943 if test "${wx_cv_version_script+set}" = set; then
32944 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 echo "VER_1 { *; };" >conftest.sym
32948 echo "int main() { return 0; }" >conftest.cpp
32951 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32952 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; } ; then
32958 if test -s conftest.stderr ; then
32959 wx_cv_version_script=no
32961 wx_cv_version_script=yes
32964 wx_cv_version_script=no
32967 if test $wx_cv_version_script = yes
32969 echo "struct B { virtual ~B() { } }; \
32970 struct D : public B { }; \
32971 void F() { D d; }" > conftest.cpp
32974 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32975 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; } &&
32982 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32983 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985 (eval $ac_try) 2>&5
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); }; }
32991 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32992 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32994 (eval $ac_try) 2>&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); }; }
32999 wx_cv_version_script=yes
33001 wx_cv_version_script=no
33006 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33007 rm -f conftest1.output conftest2.output conftest3.output
33010 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33011 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33013 if test $wx_cv_version_script = yes ; then
33014 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33020 if test "$wxUSE_VISIBILITY" != "no"; then
33023 if test -n "$GCC"; then
33024 CFLAGS_VISIBILITY="-fvisibility=hidden"
33025 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33026 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33027 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33028 if test "${wx_cv_cc_visibility+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 wx_save_CXXFLAGS="$CXXFLAGS"
33033 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33040 cat >conftest.$ac_ext <<_ACEOF
33043 cat confdefs.h >>conftest.$ac_ext
33044 cat >>conftest.$ac_ext <<_ACEOF
33045 /* end confdefs.h. */
33047 /* we need gcc >= 4.0, older versions with visibility support
33048 didn't have class visibility: */
33049 #if defined(__GNUC__) && __GNUC__ < 4
33050 error this gcc is too old;
33053 /* visibility only makes sense for ELF shared libs: */
33054 #if !defined(__ELF__) && !defined(__APPLE__)
33055 error this platform has no visibility;
33058 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33059 extern __attribute__((__visibility__("default"))) int exportedvar;
33060 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33061 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33062 class __attribute__((__visibility__("default"))) Foo {
33074 rm -f conftest.$ac_objext
33075 if { (ac_try="$ac_compile"
33076 case "(($ac_try" in
33077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33078 *) ac_try_echo
=$ac_try;;
33080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33081 (eval "$ac_compile") 2>conftest.er1
33083 grep -v '^ *+' conftest.er1
>conftest.err
33085 cat conftest.err
>&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); } && {
33088 test -z "$ac_cxx_werror_flag" ||
33089 test ! -s conftest.err
33090 } && test -s conftest.
$ac_objext; then
33091 wx_cv_cc_visibility
=yes
33093 echo "$as_me: failed program was:" >&5
33094 sed 's/^/| /' conftest.
$ac_ext >&5
33096 wx_cv_cc_visibility
=no
33099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33101 ac_cpp
='$CPP $CPPFLAGS'
33102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33106 CXXFLAGS
="$wx_save_CXXFLAGS"
33109 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33110 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33111 if test $wx_cv_cc_visibility = yes; then
33112 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33113 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33114 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33115 echo $ECHO_N "(cached) $ECHO_C" >&6
33118 wx_save_CXXFLAGS
="$CXXFLAGS"
33119 wx_save_LDFLAGS
="$LDFLAGS"
33120 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33121 LDFLAGS
="$LDFLAGS -shared -fPIC"
33123 ac_cpp
='$CXXCPP $CPPFLAGS'
33124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33128 cat >conftest.
$ac_ext <<_ACEOF
33131 cat confdefs.h
>>conftest.
$ac_ext
33132 cat >>conftest.
$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33141 std::string s("hello");
33148 rm -f conftest.
$ac_objext conftest
$ac_exeext
33149 if { (ac_try
="$ac_link"
33150 case "(($ac_try" in
33151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33152 *) ac_try_echo=$ac_try;;
33154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33155 (eval "$ac_link") 2>conftest.er1
33157 grep -v '^ *+' conftest.er1 >conftest.err
33159 cat conftest.err >&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } && {
33162 test -z "$ac_cxx_werror_flag" ||
33163 test ! -s conftest.err
33164 } && test -s conftest$ac_exeext &&
33165 $as_test_x conftest$ac_exeext; then
33166 wx_cv_cc_broken_libstdcxx_visibility=no
33168 echo "$as_me: failed program was:" >&5
33169 sed 's/^/| /' conftest.$ac_ext >&5
33171 wx_cv_cc_broken_libstdcxx_visibility=yes
33174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33175 conftest$ac_exeext conftest.$ac_ext
33177 ac_cpp='$CPP $CPPFLAGS'
33178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33182 CXXFLAGS="$wx_save_CXXFLAGS"
33183 LDFLAGS="$wx_save_LDFLAGS"
33186 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33187 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33189 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33190 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33191 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33192 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33193 echo $ECHO_N "(cached) $ECHO_C" >&6
33197 ac_cpp='$CXXCPP $CPPFLAGS'
33198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33202 cat >conftest.$ac_ext <<_ACEOF
33205 cat confdefs.h >>conftest.$ac_ext
33206 cat >>conftest.$ac_ext <<_ACEOF
33207 /* end confdefs.h. */
33209 #pragma GCC visibility push(default)
33211 #pragma GCC visibility pop
33217 std::string s("hello");
33224 rm -f conftest.$ac_objext conftest$ac_exeext
33225 if { (ac_try="$ac_link"
33226 case "(($ac_try" in
33227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33228 *) ac_try_echo
=$ac_try;;
33230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33231 (eval "$ac_link") 2>conftest.er1
33233 grep -v '^ *+' conftest.er1
>conftest.err
33235 cat conftest.err
>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } && {
33238 test -z "$ac_cxx_werror_flag" ||
33239 test ! -s conftest.err
33240 } && test -s conftest
$ac_exeext &&
33241 $as_test_x conftest
$ac_exeext; then
33242 wx_cv_cc_visibility_workaround
=no
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.
$ac_ext >&5
33247 wx_cv_cc_visibility_workaround
=yes
33250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33251 conftest
$ac_exeext conftest.
$ac_ext
33253 ac_cpp
='$CPP $CPPFLAGS'
33254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33261 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33262 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33264 if test $wx_cv_cc_visibility_workaround = no
; then
33265 wx_cv_cc_visibility
=no
33270 if test $wx_cv_cc_visibility = yes; then
33271 cat >>confdefs.h
<<\_ACEOF
33272 #define HAVE_VISIBILITY 1
33275 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33276 cat >>confdefs.h
<<\_ACEOF
33277 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33282 CFLAGS_VISIBILITY
=""
33283 CXXFLAGS_VISIBILITY
=""
33291 if test "x$SUNCXX" = xyes
; then
33292 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33293 WXCONFIG_RPATH
="-R\$libdir"
33296 *-*-linux* | *-*-gnu* )
33297 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33298 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33303 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33305 saveLdflags
="$LDFLAGS"
33306 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33307 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33308 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33309 cat >conftest.
$ac_ext <<_ACEOF
33312 cat confdefs.h
>>conftest.
$ac_ext
33313 cat >>conftest.
$ac_ext <<_ACEOF
33314 /* end confdefs.h. */
33324 rm -f conftest.
$ac_objext conftest
$ac_exeext
33325 if { (ac_try
="$ac_link"
33326 case "(($ac_try" in
33327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33328 *) ac_try_echo=$ac_try;;
33330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33331 (eval "$ac_link") 2>conftest.er1
33333 grep -v '^ *+' conftest.er1 >conftest.err
33335 cat conftest.err >&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } && {
33338 test -z "$ac_c_werror_flag" ||
33339 test ! -s conftest.err
33340 } && test -s conftest$ac_exeext &&
33341 $as_test_x conftest$ac_exeext; then
33343 { echo "$as_me:$LINENO: result: yes" >&5
33344 echo "${ECHO_T}yes" >&6; }
33345 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33346 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33353 { echo "$as_me:$LINENO: result: no" >&5
33354 echo "${ECHO_T}no" >&6; }
33355 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33356 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33357 LDFLAGS="$saveLdflags -Wl,-R,/"
33358 cat >conftest.$ac_ext <<_ACEOF
33361 cat confdefs.h >>conftest.$ac_ext
33362 cat >>conftest.$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33373 rm -f conftest.$ac_objext conftest$ac_exeext
33374 if { (ac_try="$ac_link"
33375 case "(($ac_try" in
33376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33377 *) ac_try_echo
=$ac_try;;
33379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33380 (eval "$ac_link") 2>conftest.er1
33382 grep -v '^ *+' conftest.er1
>conftest.err
33384 cat conftest.err
>&5
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); } && {
33387 test -z "$ac_c_werror_flag" ||
33388 test ! -s conftest.err
33389 } && test -s conftest
$ac_exeext &&
33390 $as_test_x conftest
$ac_exeext; then
33392 { echo "$as_me:$LINENO: result: yes" >&5
33393 echo "${ECHO_T}yes" >&6; }
33394 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33395 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33398 echo "$as_me: failed program was:" >&5
33399 sed 's/^/| /' conftest.
$ac_ext >&5
33402 { echo "$as_me:$LINENO: result: no" >&5
33403 echo "${ECHO_T}no" >&6; }
33407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33408 conftest
$ac_exeext conftest.
$ac_ext
33412 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33413 conftest
$ac_exeext conftest.
$ac_ext
33414 LDFLAGS
="$saveLdflags"
33418 install_name_tool
=`which install_name_tool`
33419 if test "$install_name_tool" -a -x "$install_name_tool"; then
33420 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33421 cat <<EOF >change-install-names
33423 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33424 inst_cmd="install_name_tool "
33425 for i in \${libnames} ; do
33426 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33430 chmod +x change
-install-names
33434 *-*-cygwin* | *-*-mingw32* )
33438 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33439 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33445 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33447 if test $wxUSE_RPATH = "no"; then
33448 SAMPLES_RPATH_FLAG
=''
33449 SAMPLES_RPATH_POSTLINK
=''
33457 config_linkage_component
="-static"
33464 lib_unicode_suffix
=
33466 if test "$wxUSE_UNICODE" = "yes"; then
33467 lib_unicode_suffix
=u
33468 WX_CHARTYPE
="unicode"
33473 WX_DEBUGTYPE
="release"
33475 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33477 WX_DEBUGTYPE
="debug"
33481 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33482 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33485 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33489 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
33491 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33493 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33495 if test "$cross_compiling" = "yes"; then
33496 HOST_SUFFIX
="-$host_alias"
33497 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33498 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33501 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33502 if test "${TOOLKIT_DIR}" = "os2"; then
33503 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33505 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33510 if test "$wxUSE_COCOA" = 1; then
33513 ac_cpp
='$CPP $CPPFLAGS'
33514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33520 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33521 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33522 cat >conftest.
$ac_ext <<_ACEOF
33525 cat confdefs.h
>>conftest.
$ac_ext
33526 cat >>conftest.
$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33528 #include <AppKit/NSEvent.h>
33529 #include <CoreFoundation/CoreFoundation.h>
33539 rm -f conftest.
$ac_objext
33540 if { (ac_try
="$ac_compile"
33541 case "(($ac_try" in
33542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33543 *) ac_try_echo=$ac_try;;
33545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33546 (eval "$ac_compile") 2>conftest.er1
33548 grep -v '^ *+' conftest.er1 >conftest.err
33550 cat conftest.err >&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } && {
33553 test -z "$ac_c_werror_flag" ||
33554 test ! -s conftest.err
33555 } && test -s conftest.$ac_objext; then
33556 { echo "$as_me:$LINENO: result: no" >&5
33557 echo "${ECHO_T}no" >&6; }
33559 echo "$as_me: failed program was:" >&5
33560 sed 's/^/| /' conftest.$ac_ext >&5
33562 { echo "$as_me:$LINENO: result: yes" >&5
33563 echo "${ECHO_T}yes" >&6; }
33564 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33565 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33566 cat >conftest.$ac_ext <<_ACEOF
33569 cat confdefs.h >>conftest.$ac_ext
33570 cat >>conftest.$ac_ext <<_ACEOF
33571 /* end confdefs.h. */
33572 #define __Point__ 1
33573 #include <AppKit/NSEvent.h>
33574 #include <CoreFoundation/CoreFoundation.h>
33584 rm -f conftest.$ac_objext
33585 if { (ac_try="$ac_compile"
33586 case "(($ac_try" in
33587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33588 *) ac_try_echo
=$ac_try;;
33590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33591 (eval "$ac_compile") 2>conftest.er1
33593 grep -v '^ *+' conftest.er1
>conftest.err
33595 cat conftest.err
>&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); } && {
33598 test -z "$ac_c_werror_flag" ||
33599 test ! -s conftest.err
33600 } && test -s conftest.
$ac_objext; then
33601 { echo "$as_me:$LINENO: result: yes" >&5
33602 echo "${ECHO_T}yes" >&6; }
33603 cat >>confdefs.h
<<\_ACEOF
33604 #define __Point__ 1
33609 echo "$as_me: failed program was:" >&5
33610 sed 's/^/| /' conftest.
$ac_ext >&5
33612 { { echo "$as_me:$LINENO: error: no
33613 See \`config.log' for more details." >&5
33614 echo "$as_me: error: no
33615 See \`config.log' for more details." >&2;}
33616 { (exit 1); exit 1; }; }
33620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33626 ac_cpp
='$CPP $CPPFLAGS'
33627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33634 { echo "$as_me:$LINENO: checking for mode_t" >&5
33635 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33636 if test "${ac_cv_type_mode_t+set}" = set; then
33637 echo $ECHO_N "(cached) $ECHO_C" >&6
33639 cat >conftest.
$ac_ext <<_ACEOF
33642 cat confdefs.h
>>conftest.
$ac_ext
33643 cat >>conftest.
$ac_ext <<_ACEOF
33644 /* end confdefs.h. */
33645 $ac_includes_default
33646 typedef mode_t ac__type_new_;
33650 if ((ac__type_new_ *) 0)
33652 if (sizeof (ac__type_new_))
33658 rm -f conftest.
$ac_objext
33659 if { (ac_try
="$ac_compile"
33660 case "(($ac_try" in
33661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33662 *) ac_try_echo=$ac_try;;
33664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33665 (eval "$ac_compile") 2>conftest.er1
33667 grep -v '^ *+' conftest.er1 >conftest.err
33669 cat conftest.err >&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } && {
33672 test -z "$ac_c_werror_flag" ||
33673 test ! -s conftest.err
33674 } && test -s conftest.$ac_objext; then
33675 ac_cv_type_mode_t=yes
33677 echo "$as_me: failed program was:" >&5
33678 sed 's/^/| /' conftest.$ac_ext >&5
33680 ac_cv_type_mode_t=no
33683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33685 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33686 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33687 if test $ac_cv_type_mode_t = yes; then
33691 cat >>confdefs.h <<_ACEOF
33697 { echo "$as_me:$LINENO: checking for off_t" >&5
33698 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33699 if test "${ac_cv_type_off_t+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33702 cat >conftest.$ac_ext <<_ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33708 $ac_includes_default
33709 typedef off_t ac__type_new_;
33713 if ((ac__type_new_ *) 0)
33715 if (sizeof (ac__type_new_))
33721 rm -f conftest.$ac_objext
33722 if { (ac_try="$ac_compile"
33723 case "(($ac_try" in
33724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33725 *) ac_try_echo
=$ac_try;;
33727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33728 (eval "$ac_compile") 2>conftest.er1
33730 grep -v '^ *+' conftest.er1
>conftest.err
33732 cat conftest.err
>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); } && {
33735 test -z "$ac_c_werror_flag" ||
33736 test ! -s conftest.err
33737 } && test -s conftest.
$ac_objext; then
33738 ac_cv_type_off_t
=yes
33740 echo "$as_me: failed program was:" >&5
33741 sed 's/^/| /' conftest.
$ac_ext >&5
33743 ac_cv_type_off_t
=no
33746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33748 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33749 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33750 if test $ac_cv_type_off_t = yes; then
33754 cat >>confdefs.h
<<_ACEOF
33755 #define off_t long int
33760 { echo "$as_me:$LINENO: checking for pid_t" >&5
33761 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33762 if test "${ac_cv_type_pid_t+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33765 cat >conftest.
$ac_ext <<_ACEOF
33768 cat confdefs.h
>>conftest.
$ac_ext
33769 cat >>conftest.
$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33771 $ac_includes_default
33772 typedef pid_t ac__type_new_;
33776 if ((ac__type_new_ *) 0)
33778 if (sizeof (ac__type_new_))
33784 rm -f conftest.
$ac_objext
33785 if { (ac_try
="$ac_compile"
33786 case "(($ac_try" in
33787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33788 *) ac_try_echo=$ac_try;;
33790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33791 (eval "$ac_compile") 2>conftest.er1
33793 grep -v '^ *+' conftest.er1 >conftest.err
33795 cat conftest.err >&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); } && {
33798 test -z "$ac_c_werror_flag" ||
33799 test ! -s conftest.err
33800 } && test -s conftest.$ac_objext; then
33801 ac_cv_type_pid_t=yes
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33806 ac_cv_type_pid_t=no
33809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33811 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33812 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33813 if test $ac_cv_type_pid_t = yes; then
33817 cat >>confdefs.h <<_ACEOF
33823 { echo "$as_me:$LINENO: checking for size_t" >&5
33824 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33825 if test "${ac_cv_type_size_t+set}" = set; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33828 cat >conftest.$ac_ext <<_ACEOF
33831 cat confdefs.h >>conftest.$ac_ext
33832 cat >>conftest.$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33834 $ac_includes_default
33835 typedef size_t ac__type_new_;
33839 if ((ac__type_new_ *) 0)
33841 if (sizeof (ac__type_new_))
33847 rm -f conftest.$ac_objext
33848 if { (ac_try="$ac_compile"
33849 case "(($ac_try" in
33850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33851 *) ac_try_echo
=$ac_try;;
33853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33854 (eval "$ac_compile") 2>conftest.er1
33856 grep -v '^ *+' conftest.er1
>conftest.err
33858 cat conftest.err
>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } && {
33861 test -z "$ac_c_werror_flag" ||
33862 test ! -s conftest.err
33863 } && test -s conftest.
$ac_objext; then
33864 ac_cv_type_size_t
=yes
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.
$ac_ext >&5
33869 ac_cv_type_size_t
=no
33872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33874 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33875 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33876 if test $ac_cv_type_size_t = yes; then
33880 cat >>confdefs.h
<<_ACEOF
33881 #define size_t unsigned int
33887 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33888 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33889 if test "${ac_cv_type_ssize_t+set}" = set; then
33890 echo $ECHO_N "(cached) $ECHO_C" >&6
33892 cat >conftest.
$ac_ext <<_ACEOF
33895 cat confdefs.h
>>conftest.
$ac_ext
33896 cat >>conftest.
$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33898 $ac_includes_default
33899 typedef ssize_t ac__type_new_;
33903 if ((ac__type_new_ *) 0)
33905 if (sizeof (ac__type_new_))
33911 rm -f conftest.
$ac_objext
33912 if { (ac_try
="$ac_compile"
33913 case "(($ac_try" in
33914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33915 *) ac_try_echo=$ac_try;;
33917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33918 (eval "$ac_compile") 2>conftest.er1
33920 grep -v '^ *+' conftest.er1 >conftest.err
33922 cat conftest.err >&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); } && {
33925 test -z "$ac_c_werror_flag" ||
33926 test ! -s conftest.err
33927 } && test -s conftest.$ac_objext; then
33928 ac_cv_type_ssize_t=yes
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33933 ac_cv_type_ssize_t=no
33936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33938 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33939 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33940 if test $ac_cv_type_ssize_t = yes; then
33942 cat >>confdefs.h <<_ACEOF
33943 #define HAVE_SSIZE_T 1
33951 ac_cpp='$CXXCPP $CPPFLAGS'
33952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33955 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33956 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33957 if test "${wx_cv_size_t_is_uint+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 cat >conftest.$ac_ext <<_ACEOF
33964 cat confdefs.h >>conftest.$ac_ext
33965 cat >>conftest.$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33967 #include <stddef.h>
33974 struct Foo { void foo(size_t); void foo(unsigned int); };
33982 rm -f conftest.$ac_objext
33983 if { (ac_try="$ac_compile"
33984 case "(($ac_try" in
33985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33986 *) ac_try_echo
=$ac_try;;
33988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33989 (eval "$ac_compile") 2>conftest.er1
33991 grep -v '^ *+' conftest.er1
>conftest.err
33993 cat conftest.err
>&5
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); } && {
33996 test -z "$ac_cxx_werror_flag" ||
33997 test ! -s conftest.err
33998 } && test -s conftest.
$ac_objext; then
33999 wx_cv_size_t_is_uint
=no
34001 echo "$as_me: failed program was:" >&5
34002 sed 's/^/| /' conftest.
$ac_ext >&5
34004 wx_cv_size_t_is_uint
=yes
34008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34012 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34013 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34015 if test "$wx_cv_size_t_is_uint" = "yes"; then
34016 cat >>confdefs.h
<<\_ACEOF
34017 #define wxSIZE_T_IS_UINT 1
34021 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34022 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34023 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34024 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 cat >conftest.
$ac_ext <<_ACEOF
34029 cat confdefs.h
>>conftest.
$ac_ext
34030 cat >>conftest.
$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34032 #include <stddef.h>
34039 struct Foo { void foo(size_t); void foo(unsigned long); };
34047 rm -f conftest.
$ac_objext
34048 if { (ac_try
="$ac_compile"
34049 case "(($ac_try" in
34050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34051 *) ac_try_echo=$ac_try;;
34053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34054 (eval "$ac_compile") 2>conftest.er1
34056 grep -v '^ *+' conftest.er1 >conftest.err
34058 cat conftest.err >&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); } && {
34061 test -z "$ac_cxx_werror_flag" ||
34062 test ! -s conftest.err
34063 } && test -s conftest.$ac_objext; then
34064 wx_cv_size_t_is_ulong=no
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.$ac_ext >&5
34069 wx_cv_size_t_is_ulong=yes
34073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34076 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34077 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34079 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34080 cat >>confdefs.h <<\_ACEOF
34081 #define wxSIZE_T_IS_ULONG 1
34087 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34088 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34089 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34090 echo $ECHO_N "(cached) $ECHO_C" >&6
34092 cat >conftest.$ac_ext <<_ACEOF
34095 cat confdefs.h >>conftest.$ac_ext
34096 cat >>conftest.$ac_ext <<_ACEOF
34097 /* end confdefs.h. */
34105 struct Foo { void foo(wchar_t);
34106 void foo(unsigned short);
34107 void foo(unsigned int);
34108 void foo(unsigned long); };
34116 rm -f conftest.$ac_objext
34117 if { (ac_try="$ac_compile"
34118 case "(($ac_try" in
34119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34120 *) ac_try_echo
=$ac_try;;
34122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34123 (eval "$ac_compile") 2>conftest.er1
34125 grep -v '^ *+' conftest.er1
>conftest.err
34127 cat conftest.err
>&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } && {
34130 test -z "$ac_cxx_werror_flag" ||
34131 test ! -s conftest.err
34132 } && test -s conftest.
$ac_objext; then
34133 wx_cv_wchar_t_is_separate_type
=yes
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.
$ac_ext >&5
34138 wx_cv_wchar_t_is_separate_type
=no
34142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34145 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34146 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34148 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34149 cat >>confdefs.h
<<\_ACEOF
34150 #define wxWCHAR_T_IS_REAL_TYPE 1
34154 cat >>confdefs.h
<<\_ACEOF
34155 #define wxWCHAR_T_IS_REAL_TYPE 0
34161 ac_cpp
='$CPP $CPPFLAGS'
34162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34167 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34168 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34169 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34173 cat >conftest.
$ac_ext <<_ACEOF
34176 cat confdefs.h
>>conftest.
$ac_ext
34177 cat >>conftest.
$ac_ext <<_ACEOF
34178 /* end confdefs.h. */
34192 rm -f conftest.
$ac_objext
34193 if { (ac_try
="$ac_compile"
34194 case "(($ac_try" in
34195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34196 *) ac_try_echo=$ac_try;;
34198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34199 (eval "$ac_compile") 2>conftest.er1
34201 grep -v '^ *+' conftest.er1 >conftest.err
34203 cat conftest.err >&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } && {
34206 test -z "$ac_c_werror_flag" ||
34207 test ! -s conftest.err
34208 } && test -s conftest.$ac_objext; then
34210 wx_cv_struct_pw_gecos=yes
34213 echo "$as_me: failed program was:" >&5
34214 sed 's/^/| /' conftest.$ac_ext >&5
34217 wx_cv_struct_pw_gecos=no
34222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34227 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34229 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34230 cat >>confdefs.h <<\_ACEOF
34231 #define HAVE_PW_GECOS 1
34237 if test "$wxUSE_WCHAR_T" = "yes"; then
34238 cat >>confdefs.h <<\_ACEOF
34239 #define wxUSE_WCHAR_T 1
34246 for ac_func in wcslen
34248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34251 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34252 echo $ECHO_N "(cached) $ECHO_C" >&6
34254 cat >conftest.$ac_ext <<_ACEOF
34257 cat confdefs.h >>conftest.$ac_ext
34258 cat >>conftest.$ac_ext <<_ACEOF
34259 /* end confdefs.h. */
34260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34262 #define $ac_func innocuous_$ac_func
34264 /* System header to define __stub macros and hopefully few prototypes,
34265 which can conflict with char $ac_func (); below.
34266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34267 <limits.h> exists even on freestanding compilers. */
34270 # include <limits.h>
34272 # include <assert.h>
34277 /* Override any GCC internal prototype to avoid an error.
34278 Use char because int might match the return type of a GCC
34279 builtin and then its argument prototype would still apply. */
34284 /* The GNU C library defines this for functions which it implements
34285 to always fail with ENOSYS. Some functions are actually named
34286 something starting with __ and the normal name is an alias. */
34287 #if defined __stub_$ac_func || defined __stub___$ac_func
34294 return $ac_func ();
34299 rm -f conftest.$ac_objext conftest$ac_exeext
34300 if { (ac_try="$ac_link"
34301 case "(($ac_try" in
34302 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34303 *) ac_try_echo
=$ac_try;;
34305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34306 (eval "$ac_link") 2>conftest.er1
34308 grep -v '^ *+' conftest.er1
>conftest.err
34310 cat conftest.err
>&5
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); } && {
34313 test -z "$ac_c_werror_flag" ||
34314 test ! -s conftest.err
34315 } && test -s conftest
$ac_exeext &&
34316 $as_test_x conftest
$ac_exeext; then
34317 eval "$as_ac_var=yes"
34319 echo "$as_me: failed program was:" >&5
34320 sed 's/^/| /' conftest.
$ac_ext >&5
34322 eval "$as_ac_var=no"
34325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34326 conftest
$ac_exeext conftest.
$ac_ext
34328 ac_res
=`eval echo '${'$as_ac_var'}'`
34329 { echo "$as_me:$LINENO: result: $ac_res" >&5
34330 echo "${ECHO_T}$ac_res" >&6; }
34331 if test `eval echo '${'$as_ac_var'}'` = yes; then
34332 cat >>confdefs.h
<<_ACEOF
34333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34340 if test "$WCSLEN_FOUND" = 0; then
34341 if test "$TOOLKIT" = "MSW"; then
34342 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34343 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34344 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34347 ac_check_lib_save_LIBS
=$LIBS
34348 LIBS
="-lmsvcrt $LIBS"
34349 cat >conftest.
$ac_ext <<_ACEOF
34352 cat confdefs.h
>>conftest.
$ac_ext
34353 cat >>conftest.
$ac_ext <<_ACEOF
34354 /* end confdefs.h. */
34356 /* Override any GCC internal prototype to avoid an error.
34357 Use char because int might match the return type of a GCC
34358 builtin and then its argument prototype would still apply. */
34371 rm -f conftest.
$ac_objext conftest
$ac_exeext
34372 if { (ac_try
="$ac_link"
34373 case "(($ac_try" in
34374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34375 *) ac_try_echo=$ac_try;;
34377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34378 (eval "$ac_link") 2>conftest.er1
34380 grep -v '^ *+' conftest.er1 >conftest.err
34382 cat conftest.err >&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); } && {
34385 test -z "$ac_c_werror_flag" ||
34386 test ! -s conftest.err
34387 } && test -s conftest$ac_exeext &&
34388 $as_test_x conftest$ac_exeext; then
34389 ac_cv_lib_msvcrt_wcslen=yes
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.$ac_ext >&5
34394 ac_cv_lib_msvcrt_wcslen=no
34397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34398 conftest$ac_exeext conftest.$ac_ext
34399 LIBS=$ac_check_lib_save_LIBS
34401 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34402 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34403 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34408 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34409 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34410 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34411 echo $ECHO_N "(cached) $ECHO_C" >&6
34413 ac_check_lib_save_LIBS=$LIBS
34415 cat >conftest.$ac_ext <<_ACEOF
34418 cat confdefs.h >>conftest.$ac_ext
34419 cat >>conftest.$ac_ext <<_ACEOF
34420 /* end confdefs.h. */
34422 /* Override any GCC internal prototype to avoid an error.
34423 Use char because int might match the return type of a GCC
34424 builtin and then its argument prototype would still apply. */
34437 rm -f conftest.$ac_objext conftest$ac_exeext
34438 if { (ac_try="$ac_link"
34439 case "(($ac_try" in
34440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34441 *) ac_try_echo
=$ac_try;;
34443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34444 (eval "$ac_link") 2>conftest.er1
34446 grep -v '^ *+' conftest.er1
>conftest.err
34448 cat conftest.err
>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } && {
34451 test -z "$ac_c_werror_flag" ||
34452 test ! -s conftest.err
34453 } && test -s conftest
$ac_exeext &&
34454 $as_test_x conftest
$ac_exeext; then
34455 ac_cv_lib_w_wcslen
=yes
34457 echo "$as_me: failed program was:" >&5
34458 sed 's/^/| /' conftest.
$ac_ext >&5
34460 ac_cv_lib_w_wcslen
=no
34463 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34464 conftest
$ac_exeext conftest.
$ac_ext
34465 LIBS
=$ac_check_lib_save_LIBS
34467 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34468 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34469 if test $ac_cv_lib_w_wcslen = yes; then
34479 if test "$WCSLEN_FOUND" = 1; then
34480 cat >>confdefs.h
<<\_ACEOF
34481 #define HAVE_WCSLEN 1
34487 for ac_func
in wcsdup
34489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34492 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34495 cat >conftest.
$ac_ext <<_ACEOF
34498 cat confdefs.h
>>conftest.
$ac_ext
34499 cat >>conftest.
$ac_ext <<_ACEOF
34500 /* end confdefs.h. */
34501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34503 #define $ac_func innocuous_$ac_func
34505 /* System header to define __stub macros and hopefully few prototypes,
34506 which can conflict with char $ac_func (); below.
34507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34508 <limits.h> exists even on freestanding compilers. */
34511 # include <limits.h>
34513 # include <assert.h>
34518 /* Override any GCC internal prototype to avoid an error.
34519 Use char because int might match the return type of a GCC
34520 builtin and then its argument prototype would still apply. */
34525 /* The GNU C library defines this for functions which it implements
34526 to always fail with ENOSYS. Some functions are actually named
34527 something starting with __ and the normal name is an alias. */
34528 #if defined __stub_$ac_func || defined __stub___$ac_func
34535 return $ac_func ();
34540 rm -f conftest.
$ac_objext conftest
$ac_exeext
34541 if { (ac_try
="$ac_link"
34542 case "(($ac_try" in
34543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34544 *) ac_try_echo=$ac_try;;
34546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34547 (eval "$ac_link") 2>conftest.er1
34549 grep -v '^ *+' conftest.er1 >conftest.err
34551 cat conftest.err >&5
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); } && {
34554 test -z "$ac_c_werror_flag" ||
34555 test ! -s conftest.err
34556 } && test -s conftest$ac_exeext &&
34557 $as_test_x conftest$ac_exeext; then
34558 eval "$as_ac_var=yes"
34560 echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.$ac_ext >&5
34563 eval "$as_ac_var=no"
34566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34567 conftest$ac_exeext conftest.$ac_ext
34569 ac_res=`eval echo '${'$as_ac_var'}'`
34570 { echo "$as_me:$LINENO: result: $ac_res" >&5
34571 echo "${ECHO_T}$ac_res" >&6; }
34572 if test `eval echo '${'$as_ac_var'}'` = yes; then
34573 cat >>confdefs.h <<_ACEOF
34574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34581 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34582 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34585 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34586 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34587 if test "${ac_cv_type_mbstate_t+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34590 cat >conftest.$ac_ext <<_ACEOF
34593 cat confdefs.h >>conftest.$ac_ext
34594 cat >>conftest.$ac_ext <<_ACEOF
34595 /* end confdefs.h. */
34598 typedef mbstate_t ac__type_new_;
34602 if ((ac__type_new_ *) 0)
34604 if (sizeof (ac__type_new_))
34610 rm -f conftest.$ac_objext
34611 if { (ac_try="$ac_compile"
34612 case "(($ac_try" in
34613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34614 *) ac_try_echo
=$ac_try;;
34616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34617 (eval "$ac_compile") 2>conftest.er1
34619 grep -v '^ *+' conftest.er1
>conftest.err
34621 cat conftest.err
>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } && {
34624 test -z "$ac_c_werror_flag" ||
34625 test ! -s conftest.err
34626 } && test -s conftest.
$ac_objext; then
34627 ac_cv_type_mbstate_t
=yes
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.
$ac_ext >&5
34632 ac_cv_type_mbstate_t
=no
34635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34637 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34638 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34639 if test $ac_cv_type_mbstate_t = yes; then
34641 cat >>confdefs.h
<<_ACEOF
34642 #define HAVE_MBSTATE_T 1
34646 for ac_func
in wcsrtombs
34648 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34651 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34652 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 cat >conftest.
$ac_ext <<_ACEOF
34657 cat confdefs.h
>>conftest.
$ac_ext
34658 cat >>conftest.
$ac_ext <<_ACEOF
34659 /* end confdefs.h. */
34660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34662 #define $ac_func innocuous_$ac_func
34664 /* System header to define __stub macros and hopefully few prototypes,
34665 which can conflict with char $ac_func (); below.
34666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34667 <limits.h> exists even on freestanding compilers. */
34670 # include <limits.h>
34672 # include <assert.h>
34677 /* Override any GCC internal prototype to avoid an error.
34678 Use char because int might match the return type of a GCC
34679 builtin and then its argument prototype would still apply. */
34684 /* The GNU C library defines this for functions which it implements
34685 to always fail with ENOSYS. Some functions are actually named
34686 something starting with __ and the normal name is an alias. */
34687 #if defined __stub_$ac_func || defined __stub___$ac_func
34694 return $ac_func ();
34699 rm -f conftest.
$ac_objext conftest
$ac_exeext
34700 if { (ac_try
="$ac_link"
34701 case "(($ac_try" in
34702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34703 *) ac_try_echo=$ac_try;;
34705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34706 (eval "$ac_link") 2>conftest.er1
34708 grep -v '^ *+' conftest.er1 >conftest.err
34710 cat conftest.err >&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); } && {
34713 test -z "$ac_c_werror_flag" ||
34714 test ! -s conftest.err
34715 } && test -s conftest$ac_exeext &&
34716 $as_test_x conftest$ac_exeext; then
34717 eval "$as_ac_var=yes"
34719 echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.$ac_ext >&5
34722 eval "$as_ac_var=no"
34725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34726 conftest$ac_exeext conftest.$ac_ext
34728 ac_res=`eval echo '${'$as_ac_var'}'`
34729 { echo "$as_me:$LINENO: result: $ac_res" >&5
34730 echo "${ECHO_T}$ac_res" >&6; }
34731 if test `eval echo '${'$as_ac_var'}'` = yes; then
34732 cat >>confdefs.h <<_ACEOF
34733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34742 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34743 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34748 for ac_func in snprintf vsnprintf
34750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34754 echo $ECHO_N "(cached) $ECHO_C" >&6
34756 cat >conftest.$ac_ext <<_ACEOF
34759 cat confdefs.h >>conftest.$ac_ext
34760 cat >>conftest.$ac_ext <<_ACEOF
34761 /* end confdefs.h. */
34762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34764 #define $ac_func innocuous_$ac_func
34766 /* System header to define __stub macros and hopefully few prototypes,
34767 which can conflict with char $ac_func (); below.
34768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34769 <limits.h> exists even on freestanding compilers. */
34772 # include <limits.h>
34774 # include <assert.h>
34779 /* Override any GCC internal prototype to avoid an error.
34780 Use char because int might match the return type of a GCC
34781 builtin and then its argument prototype would still apply. */
34786 /* The GNU C library defines this for functions which it implements
34787 to always fail with ENOSYS. Some functions are actually named
34788 something starting with __ and the normal name is an alias. */
34789 #if defined __stub_$ac_func || defined __stub___$ac_func
34796 return $ac_func ();
34801 rm -f conftest.$ac_objext conftest$ac_exeext
34802 if { (ac_try="$ac_link"
34803 case "(($ac_try" in
34804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34805 *) ac_try_echo
=$ac_try;;
34807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34808 (eval "$ac_link") 2>conftest.er1
34810 grep -v '^ *+' conftest.er1
>conftest.err
34812 cat conftest.err
>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); } && {
34815 test -z "$ac_c_werror_flag" ||
34816 test ! -s conftest.err
34817 } && test -s conftest
$ac_exeext &&
34818 $as_test_x conftest
$ac_exeext; then
34819 eval "$as_ac_var=yes"
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.
$ac_ext >&5
34824 eval "$as_ac_var=no"
34827 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34828 conftest
$ac_exeext conftest.
$ac_ext
34830 ac_res
=`eval echo '${'$as_ac_var'}'`
34831 { echo "$as_me:$LINENO: result: $ac_res" >&5
34832 echo "${ECHO_T}$ac_res" >&6; }
34833 if test `eval echo '${'$as_ac_var'}'` = yes; then
34834 cat >>confdefs.h
<<_ACEOF
34835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34842 if test "$ac_cv_func_vsnprintf" = "yes"; then
34843 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34844 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34845 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34846 echo $ECHO_N "(cached) $ECHO_C" >&6
34849 cat >conftest.
$ac_ext <<_ACEOF
34852 cat confdefs.h
>>conftest.
$ac_ext
34853 cat >>conftest.
$ac_ext <<_ACEOF
34854 /* end confdefs.h. */
34857 #include <stdarg.h>
34859 #if __MSL__ >= 0x6000
34861 using namespace std;
34871 vsnprintf(buf, 10u, "%s", ap);
34877 rm -f conftest.
$ac_objext
34878 if { (ac_try
="$ac_compile"
34879 case "(($ac_try" in
34880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34881 *) ac_try_echo=$ac_try;;
34883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34884 (eval "$ac_compile") 2>conftest.er1
34886 grep -v '^ *+' conftest.er1 >conftest.err
34888 cat conftest.err >&5
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); } && {
34891 test -z "$ac_c_werror_flag" ||
34892 test ! -s conftest.err
34893 } && test -s conftest.$ac_objext; then
34894 wx_cv_func_vsnprintf_decl=yes
34896 echo "$as_me: failed program was:" >&5
34897 sed 's/^/| /' conftest.$ac_ext >&5
34899 wx_cv_func_vsnprintf_decl=no
34903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34908 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34910 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34911 cat >>confdefs.h <<\_ACEOF
34912 #define HAVE_VSNPRINTF_DECL 1
34916 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34917 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34918 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34919 echo $ECHO_N "(cached) $ECHO_C" >&6
34922 cat >conftest.$ac_ext <<_ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34930 #include <stdarg.h>
34932 #if __MSL__ >= 0x6000
34934 using namespace std;
34944 const char *fmt = "%s";
34945 vsnprintf(buf, 10u, fmt, ap);
34951 rm -f conftest.$ac_objext
34952 if { (ac_try="$ac_compile"
34953 case "(($ac_try" in
34954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34955 *) ac_try_echo
=$ac_try;;
34957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34958 (eval "$ac_compile") 2>conftest.er1
34960 grep -v '^ *+' conftest.er1
>conftest.err
34962 cat conftest.err
>&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } && {
34965 test -z "$ac_c_werror_flag" ||
34966 test ! -s conftest.err
34967 } && test -s conftest.
$ac_objext; then
34968 wx_cv_func_broken_vsnprintf_decl
=no
34970 echo "$as_me: failed program was:" >&5
34971 sed 's/^/| /' conftest.
$ac_ext >&5
34973 wx_cv_func_broken_vsnprintf_decl
=yes
34977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34981 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34982 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34984 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34985 cat >>confdefs.h
<<\_ACEOF
34986 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34993 if test "$ac_cv_func_snprintf" = "yes"; then
34994 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34995 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34996 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34997 echo $ECHO_N "(cached) $ECHO_C" >&6
35000 cat >conftest.
$ac_ext <<_ACEOF
35003 cat confdefs.h
>>conftest.
$ac_ext
35004 cat >>conftest.
$ac_ext <<_ACEOF
35005 /* end confdefs.h. */
35008 #include <stdarg.h>
35010 #if __MSL__ >= 0x6000
35012 using namespace std;
35021 snprintf(buf, 10u, "%s", "wx");
35027 rm -f conftest.
$ac_objext
35028 if { (ac_try
="$ac_compile"
35029 case "(($ac_try" in
35030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35031 *) ac_try_echo=$ac_try;;
35033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35034 (eval "$ac_compile") 2>conftest.er1
35036 grep -v '^ *+' conftest.er1 >conftest.err
35038 cat conftest.err >&5
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); } && {
35041 test -z "$ac_c_werror_flag" ||
35042 test ! -s conftest.err
35043 } && test -s conftest.$ac_objext; then
35044 wx_cv_func_snprintf_decl=yes
35046 echo "$as_me: failed program was:" >&5
35047 sed 's/^/| /' conftest.$ac_ext >&5
35049 wx_cv_func_snprintf_decl=no
35053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35057 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35058 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35060 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35061 cat >>confdefs.h <<\_ACEOF
35062 #define HAVE_SNPRINTF_DECL 1
35067 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35069 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35070 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35071 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35075 if test "$cross_compiling" = yes; then
35077 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35078 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35079 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35080 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35081 wx_cv_func_snprintf_pos_params=no
35085 cat >conftest.$ac_ext <<_ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35097 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35098 if (strcmp ("2 3 1", buffer) == 0)
35104 rm -f conftest$ac_exeext
35105 if { (ac_try="$ac_link"
35106 case "(($ac_try" in
35107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35108 *) ac_try_echo
=$ac_try;;
35110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35111 (eval "$ac_link") 2>&5
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35115 { (case "(($ac_try" in
35116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35117 *) ac_try_echo=$ac_try;;
35119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35120 (eval "$ac_try") 2>&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); }; }; then
35124 wx_cv_func_snprintf_pos_params=no
35126 echo "$as_me: program exited with status $ac_status" >&5
35127 echo "$as_me: failed program was:" >&5
35128 sed 's/^/| /' conftest.$ac_ext >&5
35130 ( exit $ac_status )
35131 wx_cv_func_snprintf_pos_params=yes
35133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35140 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35141 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35143 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35144 cat >>confdefs.h <<\_ACEOF
35145 #define HAVE_UNIX98_PRINTF 1
35152 if test "$wxUSE_UNICODE" = yes; then
35154 wchar_headers="#include <stdio.h>
35155 #include <wchar.h>"
35159 for ac_header in widec.h
35161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35165 echo $ECHO_N "(cached) $ECHO_C" >&6
35167 cat >conftest.$ac_ext <<_ACEOF
35170 cat confdefs.h >>conftest.$ac_ext
35171 cat >>conftest.$ac_ext <<_ACEOF
35172 /* end confdefs.h. */
35173 $ac_includes_default
35175 #include <$ac_header>
35177 rm -f conftest.$ac_objext
35178 if { (ac_try="$ac_compile"
35179 case "(($ac_try" in
35180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35181 *) ac_try_echo
=$ac_try;;
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_compile") 2>conftest.er1
35186 grep -v '^ *+' conftest.er1
>conftest.err
35188 cat conftest.err
>&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); } && {
35191 test -z "$ac_c_werror_flag" ||
35192 test ! -s conftest.err
35193 } && test -s conftest.
$ac_objext; then
35194 eval "$as_ac_Header=yes"
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.
$ac_ext >&5
35199 eval "$as_ac_Header=no"
35202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35204 ac_res
=`eval echo '${'$as_ac_Header'}'`
35205 { echo "$as_me:$LINENO: result: $ac_res" >&5
35206 echo "${ECHO_T}$ac_res" >&6; }
35207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35208 cat >>confdefs.h
<<_ACEOF
35209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35216 if test "$ac_cv_header_widec_h" = "yes"; then
35217 wchar_headers
="$wchar_headers
35218 #include <widec.h>"
35223 for wx_func
in putws fputws wprintf vswprintf
35225 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35226 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35227 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35228 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 cat >conftest.
$ac_ext <<_ACEOF
35235 cat confdefs.h
>>conftest.
$ac_ext
35236 cat >>conftest.
$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35240 $ac_includes_default
35256 rm -f conftest.
$ac_objext conftest
$ac_exeext
35257 if { (ac_try
="$ac_link"
35258 case "(($ac_try" in
35259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35260 *) ac_try_echo=$ac_try;;
35262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35263 (eval "$ac_link") 2>conftest.er1
35265 grep -v '^ *+' conftest.er1 >conftest.err
35267 cat conftest.err >&5
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); } && {
35270 test -z "$ac_c_werror_flag" ||
35271 test ! -s conftest.err
35272 } && test -s conftest$ac_exeext &&
35273 $as_test_x conftest$ac_exeext; then
35274 eval wx_cv_func_$wx_func=yes
35276 echo "$as_me: failed program was:" >&5
35277 sed 's/^/| /' conftest.$ac_ext >&5
35279 eval wx_cv_func_$wx_func=no
35282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35283 conftest$ac_exeext conftest.$ac_ext
35286 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35287 { echo "$as_me:$LINENO: result: $ac_res" >&5
35288 echo "${ECHO_T}$ac_res" >&6; }
35290 if eval test \$wx_cv_func_$wx_func = yes
35292 cat >>confdefs.h <<_ACEOF
35293 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35304 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35305 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35306 cat >conftest.$ac_ext <<_ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35321 rm -f conftest.$ac_objext
35322 if { (ac_try="$ac_compile"
35323 case "(($ac_try" in
35324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35325 *) ac_try_echo
=$ac_try;;
35327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35328 (eval "$ac_compile") 2>conftest.er1
35330 grep -v '^ *+' conftest.er1
>conftest.err
35332 cat conftest.err
>&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } && {
35335 test -z "$ac_c_werror_flag" ||
35336 test ! -s conftest.err
35337 } && test -s conftest.
$ac_objext; then
35338 { echo "$as_me:$LINENO: result: yes" >&5
35339 echo "${ECHO_T}yes" >&6; }
35340 cat >>confdefs.h
<<\_ACEOF
35341 #define HAVE__VSNWPRINTF 1
35345 echo "$as_me: failed program was:" >&5
35346 sed 's/^/| /' conftest.
$ac_ext >&5
35348 { echo "$as_me:$LINENO: result: no" >&5
35349 echo "${ECHO_T}no" >&6; }
35352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35355 if test "$wxUSE_FILE" = "yes"; then
35357 for wx_func
in fsync
35359 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35360 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35361 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35365 cat >conftest.
$ac_ext <<_ACEOF
35369 cat confdefs.h
>>conftest.
$ac_ext
35370 cat >>conftest.
$ac_ext <<_ACEOF
35371 /* end confdefs.h. */
35374 $ac_includes_default
35390 rm -f conftest.
$ac_objext conftest
$ac_exeext
35391 if { (ac_try
="$ac_link"
35392 case "(($ac_try" in
35393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35394 *) ac_try_echo=$ac_try;;
35396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35397 (eval "$ac_link") 2>conftest.er1
35399 grep -v '^ *+' conftest.er1 >conftest.err
35401 cat conftest.err >&5
35402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35403 (exit $ac_status); } && {
35404 test -z "$ac_c_werror_flag" ||
35405 test ! -s conftest.err
35406 } && test -s conftest$ac_exeext &&
35407 $as_test_x conftest$ac_exeext; then
35408 eval wx_cv_func_$wx_func=yes
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35413 eval wx_cv_func_$wx_func=no
35416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35417 conftest$ac_exeext conftest.$ac_ext
35420 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35421 { echo "$as_me:$LINENO: result: $ac_res" >&5
35422 echo "${ECHO_T}$ac_res" >&6; }
35424 if eval test \$wx_cv_func_$wx_func = yes
35426 cat >>confdefs.h <<_ACEOF
35427 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35440 ac_cpp='$CXXCPP $CPPFLAGS'
35441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35446 for wx_func in round
35448 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35449 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35450 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35451 echo $ECHO_N "(cached) $ECHO_C" >&6
35454 cat >conftest.$ac_ext <<_ACEOF
35458 cat confdefs.h >>conftest.$ac_ext
35459 cat >>conftest.$ac_ext <<_ACEOF
35460 /* end confdefs.h. */
35463 $ac_includes_default
35479 rm -f conftest.$ac_objext conftest$ac_exeext
35480 if { (ac_try="$ac_link"
35481 case "(($ac_try" in
35482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35483 *) ac_try_echo
=$ac_try;;
35485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35486 (eval "$ac_link") 2>conftest.er1
35488 grep -v '^ *+' conftest.er1
>conftest.err
35490 cat conftest.err
>&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); } && {
35493 test -z "$ac_cxx_werror_flag" ||
35494 test ! -s conftest.err
35495 } && test -s conftest
$ac_exeext &&
35496 $as_test_x conftest
$ac_exeext; then
35497 eval wx_cv_func_
$wx_func=yes
35499 echo "$as_me: failed program was:" >&5
35500 sed 's/^/| /' conftest.
$ac_ext >&5
35502 eval wx_cv_func_
$wx_func=no
35505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35506 conftest
$ac_exeext conftest.
$ac_ext
35509 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35510 { echo "$as_me:$LINENO: result: $ac_res" >&5
35511 echo "${ECHO_T}$ac_res" >&6; }
35513 if eval test \
$wx_cv_func_$wx_func = yes
35515 cat >>confdefs.h
<<_ACEOF
35516 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35527 ac_cpp
='$CPP $CPPFLAGS'
35528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35533 if test "$TOOLKIT" != "MSW"; then
35539 # Check whether --with-libiconv-prefix was given.
35540 if test "${with_libiconv_prefix+set}" = set; then
35541 withval
=$with_libiconv_prefix;
35542 for dir
in `echo "$withval" | tr : ' '`; do
35543 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35544 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35550 { echo "$as_me:$LINENO: checking for iconv" >&5
35551 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35552 if test "${am_cv_func_iconv+set}" = set; then
35553 echo $ECHO_N "(cached) $ECHO_C" >&6
35556 am_cv_func_iconv
="no, consider installing GNU libiconv"
35558 cat >conftest.
$ac_ext <<_ACEOF
35561 cat confdefs.h
>>conftest.
$ac_ext
35562 cat >>conftest.
$ac_ext <<_ACEOF
35563 /* end confdefs.h. */
35564 #include <stdlib.h>
35569 iconv_t cd = iconv_open("","");
35570 iconv(cd,NULL,NULL,NULL,NULL);
35576 rm -f conftest.
$ac_objext conftest
$ac_exeext
35577 if { (ac_try
="$ac_link"
35578 case "(($ac_try" in
35579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35580 *) ac_try_echo=$ac_try;;
35582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35583 (eval "$ac_link") 2>conftest.er1
35585 grep -v '^ *+' conftest.er1 >conftest.err
35587 cat conftest.err >&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); } && {
35590 test -z "$ac_c_werror_flag" ||
35591 test ! -s conftest.err
35592 } && test -s conftest$ac_exeext &&
35593 $as_test_x conftest$ac_exeext; then
35594 am_cv_func_iconv=yes
35596 echo "$as_me: failed program was:" >&5
35597 sed 's/^/| /' conftest.$ac_ext >&5
35602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35603 conftest$ac_exeext conftest.$ac_ext
35604 if test "$am_cv_func_iconv" != yes; then
35605 am_save_LIBS="$LIBS"
35606 LIBS="$LIBS -liconv"
35607 cat >conftest.$ac_ext <<_ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35613 #include <stdlib.h>
35618 iconv_t cd = iconv_open("","");
35619 iconv(cd,NULL,NULL,NULL,NULL);
35625 rm -f conftest.$ac_objext conftest$ac_exeext
35626 if { (ac_try="$ac_link"
35627 case "(($ac_try" in
35628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35629 *) ac_try_echo
=$ac_try;;
35631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35632 (eval "$ac_link") 2>conftest.er1
35634 grep -v '^ *+' conftest.er1
>conftest.err
35636 cat conftest.err
>&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); } && {
35639 test -z "$ac_c_werror_flag" ||
35640 test ! -s conftest.err
35641 } && test -s conftest
$ac_exeext &&
35642 $as_test_x conftest
$ac_exeext; then
35643 am_cv_lib_iconv
=yes
35644 am_cv_func_iconv
=yes
35646 echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.
$ac_ext >&5
35652 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35653 conftest
$ac_exeext conftest.
$ac_ext
35654 LIBS
="$am_save_LIBS"
35658 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35659 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35660 if test "$am_cv_func_iconv" = yes; then
35662 cat >>confdefs.h
<<\_ACEOF
35663 #define HAVE_ICONV 1
35666 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35667 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35668 if test "${wx_cv_func_iconv_const+set}" = set; then
35669 echo $ECHO_N "(cached) $ECHO_C" >&6
35671 cat >conftest.
$ac_ext <<_ACEOF
35674 cat confdefs.h
>>conftest.
$ac_ext
35675 cat >>conftest.
$ac_ext <<_ACEOF
35676 /* end confdefs.h. */
35678 #include <stdlib.h>
35684 #if defined(__STDC__) || defined(__cplusplus)
35685 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35698 rm -f conftest.
$ac_objext
35699 if { (ac_try
="$ac_compile"
35700 case "(($ac_try" in
35701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35702 *) ac_try_echo=$ac_try;;
35704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35705 (eval "$ac_compile") 2>conftest.er1
35707 grep -v '^ *+' conftest.er1 >conftest.err
35709 cat conftest.err >&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); } && {
35712 test -z "$ac_c_werror_flag" ||
35713 test ! -s conftest.err
35714 } && test -s conftest.$ac_objext; then
35715 wx_cv_func_iconv_const="no"
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.$ac_ext >&5
35720 wx_cv_func_iconv_const="yes"
35724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35727 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35728 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35731 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35732 iconv_const="const"
35736 cat >>confdefs.h <<_ACEOF
35737 #define ICONV_CONST $iconv_const
35742 if test "$am_cv_lib_iconv" = yes; then
35747 LIBS="$LIBICONV $LIBS"
35749 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35751 for ac_func in sigaction
35753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35756 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35759 cat >conftest.$ac_ext <<_ACEOF
35762 cat confdefs.h >>conftest.$ac_ext
35763 cat >>conftest.$ac_ext <<_ACEOF
35764 /* end confdefs.h. */
35765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35767 #define $ac_func innocuous_$ac_func
35769 /* System header to define __stub macros and hopefully few prototypes,
35770 which can conflict with char $ac_func (); below.
35771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35772 <limits.h> exists even on freestanding compilers. */
35775 # include <limits.h>
35777 # include <assert.h>
35782 /* Override any GCC internal prototype to avoid an error.
35783 Use char because int might match the return type of a GCC
35784 builtin and then its argument prototype would still apply. */
35789 /* The GNU C library defines this for functions which it implements
35790 to always fail with ENOSYS. Some functions are actually named
35791 something starting with __ and the normal name is an alias. */
35792 #if defined __stub_$ac_func || defined __stub___$ac_func
35799 return $ac_func ();
35804 rm -f conftest.$ac_objext conftest$ac_exeext
35805 if { (ac_try="$ac_link"
35806 case "(($ac_try" in
35807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35808 *) ac_try_echo
=$ac_try;;
35810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35811 (eval "$ac_link") 2>conftest.er1
35813 grep -v '^ *+' conftest.er1
>conftest.err
35815 cat conftest.err
>&5
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); } && {
35818 test -z "$ac_c_werror_flag" ||
35819 test ! -s conftest.err
35820 } && test -s conftest
$ac_exeext &&
35821 $as_test_x conftest
$ac_exeext; then
35822 eval "$as_ac_var=yes"
35824 echo "$as_me: failed program was:" >&5
35825 sed 's/^/| /' conftest.
$ac_ext >&5
35827 eval "$as_ac_var=no"
35830 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35831 conftest
$ac_exeext conftest.
$ac_ext
35833 ac_res
=`eval echo '${'$as_ac_var'}'`
35834 { echo "$as_me:$LINENO: result: $ac_res" >&5
35835 echo "${ECHO_T}$ac_res" >&6; }
35836 if test `eval echo '${'$as_ac_var'}'` = yes; then
35837 cat >>confdefs.h
<<_ACEOF
35838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35845 if test "$ac_cv_func_sigaction" = "no"; then
35846 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35847 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35848 wxUSE_ON_FATAL_EXCEPTION
=no
35851 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35852 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35853 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35854 if test "${wx_cv_type_sa_handler+set}" = set; then
35855 echo $ECHO_N "(cached) $ECHO_C" >&6
35859 ac_cpp
='$CXXCPP $CPPFLAGS'
35860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35864 cat >conftest.
$ac_ext <<_ACEOF
35867 cat confdefs.h
>>conftest.
$ac_ext
35868 cat >>conftest.
$ac_ext <<_ACEOF
35869 /* end confdefs.h. */
35870 #include <signal.h>
35875 extern void testSigHandler(int);
35877 struct sigaction sa;
35878 sa.sa_handler = testSigHandler;
35884 rm -f conftest.
$ac_objext
35885 if { (ac_try
="$ac_compile"
35886 case "(($ac_try" in
35887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35888 *) ac_try_echo=$ac_try;;
35890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35891 (eval "$ac_compile") 2>conftest.er1
35893 grep -v '^ *+' conftest.er1 >conftest.err
35895 cat conftest.err >&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); } && {
35898 test -z "$ac_cxx_werror_flag" ||
35899 test ! -s conftest.err
35900 } && test -s conftest.$ac_objext; then
35902 wx_cv_type_sa_handler=int
35905 echo "$as_me: failed program was:" >&5
35906 sed 's/^/| /' conftest.$ac_ext >&5
35909 wx_cv_type_sa_handler=void
35913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35915 ac_cpp='$CPP $CPPFLAGS'
35916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35922 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35923 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35925 cat >>confdefs.h <<_ACEOF
35926 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35932 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35933 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35934 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35935 if test "${wx_cv_func_backtrace+set}" = set; then
35936 echo $ECHO_N "(cached) $ECHO_C" >&6
35940 ac_cpp='$CXXCPP $CPPFLAGS'
35941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35945 cat >conftest.$ac_ext <<_ACEOF
35948 cat confdefs.h >>conftest.$ac_ext
35949 cat >>conftest.$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35951 #include <execinfo.h>
35959 backtrace(trace, 1);
35960 messages = backtrace_symbols(trace, 1);
35966 rm -f conftest.$ac_objext
35967 if { (ac_try="$ac_compile"
35968 case "(($ac_try" in
35969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35970 *) ac_try_echo
=$ac_try;;
35972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35973 (eval "$ac_compile") 2>conftest.er1
35975 grep -v '^ *+' conftest.er1
>conftest.err
35977 cat conftest.err
>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } && {
35980 test -z "$ac_cxx_werror_flag" ||
35981 test ! -s conftest.err
35982 } && test -s conftest.
$ac_objext; then
35983 wx_cv_func_backtrace
=yes
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.
$ac_ext >&5
35988 wx_cv_func_backtrace
=no
35992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35994 ac_cpp
='$CPP $CPPFLAGS'
35995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36002 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36003 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36006 if test "$wx_cv_func_backtrace" = "no"; then
36007 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36008 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36009 wxUSE_STACKWALKER
=no
36011 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36012 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36013 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 ac_cpp
='$CXXCPP $CPPFLAGS'
36019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36023 cat >conftest.
$ac_ext <<_ACEOF
36026 cat confdefs.h
>>conftest.
$ac_ext
36027 cat >>conftest.
$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36029 #include <cxxabi.h>
36035 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36041 rm -f conftest.
$ac_objext conftest
$ac_exeext
36042 if { (ac_try
="$ac_link"
36043 case "(($ac_try" in
36044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36045 *) ac_try_echo=$ac_try;;
36047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36048 (eval "$ac_link") 2>conftest.er1
36050 grep -v '^ *+' conftest.er1 >conftest.err
36052 cat conftest.err >&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); } && {
36055 test -z "$ac_cxx_werror_flag" ||
36056 test ! -s conftest.err
36057 } && test -s conftest$ac_exeext &&
36058 $as_test_x conftest$ac_exeext; then
36059 wx_cv_func_cxa_demangle=yes
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36064 wx_cv_func_cxa_demangle=no
36068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36069 conftest$ac_exeext conftest.$ac_ext
36071 ac_cpp='$CPP $CPPFLAGS'
36072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36079 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36080 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36082 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36083 cat >>confdefs.h <<\_ACEOF
36084 #define HAVE_CXA_DEMANGLE 1
36091 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36092 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36093 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36094 wxUSE_STACKWALKER=no
36100 for ac_func in mkstemp mktemp
36102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36106 echo $ECHO_N "(cached) $ECHO_C" >&6
36108 cat >conftest.$ac_ext <<_ACEOF
36111 cat confdefs.h >>conftest.$ac_ext
36112 cat >>conftest.$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36116 #define $ac_func innocuous_$ac_func
36118 /* System header to define __stub macros and hopefully few prototypes,
36119 which can conflict with char $ac_func (); below.
36120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36121 <limits.h> exists even on freestanding compilers. */
36124 # include <limits.h>
36126 # include <assert.h>
36131 /* Override any GCC internal prototype to avoid an error.
36132 Use char because int might match the return type of a GCC
36133 builtin and then its argument prototype would still apply. */
36138 /* The GNU C library defines this for functions which it implements
36139 to always fail with ENOSYS. Some functions are actually named
36140 something starting with __ and the normal name is an alias. */
36141 #if defined __stub_$ac_func || defined __stub___$ac_func
36148 return $ac_func ();
36153 rm -f conftest.$ac_objext conftest$ac_exeext
36154 if { (ac_try="$ac_link"
36155 case "(($ac_try" in
36156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36157 *) ac_try_echo
=$ac_try;;
36159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36160 (eval "$ac_link") 2>conftest.er1
36162 grep -v '^ *+' conftest.er1
>conftest.err
36164 cat conftest.err
>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } && {
36167 test -z "$ac_c_werror_flag" ||
36168 test ! -s conftest.err
36169 } && test -s conftest
$ac_exeext &&
36170 $as_test_x conftest
$ac_exeext; then
36171 eval "$as_ac_var=yes"
36173 echo "$as_me: failed program was:" >&5
36174 sed 's/^/| /' conftest.
$ac_ext >&5
36176 eval "$as_ac_var=no"
36179 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36180 conftest
$ac_exeext conftest.
$ac_ext
36182 ac_res
=`eval echo '${'$as_ac_var'}'`
36183 { echo "$as_me:$LINENO: result: $ac_res" >&5
36184 echo "${ECHO_T}$ac_res" >&6; }
36185 if test `eval echo '${'$as_ac_var'}'` = yes; then
36186 cat >>confdefs.h
<<_ACEOF
36187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36194 { echo "$as_me:$LINENO: checking for statfs" >&5
36195 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36196 if test "${wx_cv_func_statfs+set}" = set; then
36197 echo $ECHO_N "(cached) $ECHO_C" >&6
36199 cat >conftest.
$ac_ext <<_ACEOF
36202 cat confdefs.h
>>conftest.
$ac_ext
36203 cat >>conftest.
$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36206 #if defined(__BSD__)
36207 #include <sys/param.h>
36208 #include <sys/mount.h>
36210 #include <sys/vfs.h>
36228 rm -f conftest.
$ac_objext
36229 if { (ac_try
="$ac_compile"
36230 case "(($ac_try" in
36231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36232 *) ac_try_echo=$ac_try;;
36234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36235 (eval "$ac_compile") 2>conftest.er1
36237 grep -v '^ *+' conftest.er1 >conftest.err
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } && {
36242 test -z "$ac_c_werror_flag" ||
36243 test ! -s conftest.err
36244 } && test -s conftest.$ac_objext; then
36245 wx_cv_func_statfs=yes
36247 echo "$as_me: failed program was:" >&5
36248 sed 's/^/| /' conftest.$ac_ext >&5
36250 wx_cv_func_statfs=no
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36257 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36258 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36260 if test "$wx_cv_func_statfs" = "yes"; then
36261 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36262 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36263 if test "${wx_cv_func_statfs_decl+set}" = set; then
36264 echo $ECHO_N "(cached) $ECHO_C" >&6
36267 ac_cpp='$CXXCPP $CPPFLAGS'
36268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36272 cat >conftest.$ac_ext <<_ACEOF
36275 cat confdefs.h >>conftest.$ac_ext
36276 cat >>conftest.$ac_ext <<_ACEOF
36277 /* end confdefs.h. */
36279 #if defined(__BSD__)
36280 #include <sys/param.h>
36281 #include <sys/mount.h>
36283 #include <sys/vfs.h>
36297 rm -f conftest.$ac_objext
36298 if { (ac_try="$ac_compile"
36299 case "(($ac_try" in
36300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36301 *) ac_try_echo
=$ac_try;;
36303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36304 (eval "$ac_compile") 2>conftest.er1
36306 grep -v '^ *+' conftest.er1
>conftest.err
36308 cat conftest.err
>&5
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); } && {
36311 test -z "$ac_cxx_werror_flag" ||
36312 test ! -s conftest.err
36313 } && test -s conftest.
$ac_objext; then
36314 wx_cv_func_statfs_decl
=yes
36316 echo "$as_me: failed program was:" >&5
36317 sed 's/^/| /' conftest.
$ac_ext >&5
36319 wx_cv_func_statfs_decl
=no
36323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36325 ac_cpp
='$CPP $CPPFLAGS'
36326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36332 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36333 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36335 if test "$wx_cv_func_statfs_decl" = "yes"; then
36336 cat >>confdefs.h
<<\_ACEOF
36337 #define HAVE_STATFS_DECL 1
36342 wx_cv_type_statvfs_t
="struct statfs"
36343 cat >>confdefs.h
<<\_ACEOF
36344 #define HAVE_STATFS 1
36348 { echo "$as_me:$LINENO: checking for statvfs" >&5
36349 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36350 if test "${wx_cv_func_statvfs+set}" = set; then
36351 echo $ECHO_N "(cached) $ECHO_C" >&6
36353 cat >conftest.
$ac_ext <<_ACEOF
36356 cat confdefs.h
>>conftest.
$ac_ext
36357 cat >>conftest.
$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36360 #include <stddef.h>
36361 #include <sys/statvfs.h>
36367 statvfs("/", NULL);
36373 rm -f conftest.
$ac_objext
36374 if { (ac_try
="$ac_compile"
36375 case "(($ac_try" in
36376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36377 *) ac_try_echo=$ac_try;;
36379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36380 (eval "$ac_compile") 2>conftest.er1
36382 grep -v '^ *+' conftest.er1 >conftest.err
36384 cat conftest.err >&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); } && {
36387 test -z "$ac_c_werror_flag" ||
36388 test ! -s conftest.err
36389 } && test -s conftest.$ac_objext; then
36390 wx_cv_func_statvfs=yes
36392 echo "$as_me: failed program was:" >&5
36393 sed 's/^/| /' conftest.$ac_ext >&5
36395 wx_cv_func_statvfs=no
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36402 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36403 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36405 if test "$wx_cv_func_statvfs" = "yes"; then
36406 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36407 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36408 if test "${wx_cv_type_statvfs_t+set}" = set; then
36409 echo $ECHO_N "(cached) $ECHO_C" >&6
36412 ac_cpp='$CXXCPP $CPPFLAGS'
36413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36417 cat >conftest.$ac_ext <<_ACEOF
36420 cat confdefs.h >>conftest.$ac_ext
36421 cat >>conftest.$ac_ext <<_ACEOF
36422 /* end confdefs.h. */
36424 #include <sys/statvfs.h>
36441 rm -f conftest.$ac_objext
36442 if { (ac_try="$ac_compile"
36443 case "(($ac_try" in
36444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36445 *) ac_try_echo
=$ac_try;;
36447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36448 (eval "$ac_compile") 2>conftest.er1
36450 grep -v '^ *+' conftest.er1
>conftest.err
36452 cat conftest.err
>&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } && {
36455 test -z "$ac_cxx_werror_flag" ||
36456 test ! -s conftest.err
36457 } && test -s conftest.
$ac_objext; then
36458 wx_cv_type_statvfs_t
=statvfs_t
36460 echo "$as_me: failed program was:" >&5
36461 sed 's/^/| /' conftest.
$ac_ext >&5
36464 cat >conftest.
$ac_ext <<_ACEOF
36467 cat confdefs.h
>>conftest.
$ac_ext
36468 cat >>conftest.
$ac_ext <<_ACEOF
36469 /* end confdefs.h. */
36471 #include <sys/statvfs.h>
36488 rm -f conftest.
$ac_objext
36489 if { (ac_try
="$ac_compile"
36490 case "(($ac_try" in
36491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36492 *) ac_try_echo=$ac_try;;
36494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36495 (eval "$ac_compile") 2>conftest.er1
36497 grep -v '^ *+' conftest.er1 >conftest.err
36499 cat conftest.err >&5
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); } && {
36502 test -z "$ac_cxx_werror_flag" ||
36503 test ! -s conftest.err
36504 } && test -s conftest.$ac_objext; then
36505 wx_cv_type_statvfs_t="struct statvfs"
36507 echo "$as_me: failed program was:" >&5
36508 sed 's/^/| /' conftest.$ac_ext >&5
36510 wx_cv_type_statvfs_t="unknown"
36514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36521 ac_cpp='$CPP $CPPFLAGS'
36522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36528 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36529 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36531 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36532 cat >>confdefs.h <<\_ACEOF
36533 #define HAVE_STATVFS 1
36538 wx_cv_type_statvfs_t="unknown"
36542 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36543 cat >>confdefs.h <<_ACEOF
36544 #define WX_STATFS_T $wx_cv_type_statvfs_t
36548 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36549 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36552 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36555 for ac_func in fcntl flock
36557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 cat >conftest.$ac_ext <<_ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36571 #define $ac_func innocuous_$ac_func
36573 /* System header to define __stub macros and hopefully few prototypes,
36574 which can conflict with char $ac_func (); below.
36575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36576 <limits.h> exists even on freestanding compilers. */
36579 # include <limits.h>
36581 # include <assert.h>
36586 /* Override any GCC internal prototype to avoid an error.
36587 Use char because int might match the return type of a GCC
36588 builtin and then its argument prototype would still apply. */
36593 /* The GNU C library defines this for functions which it implements
36594 to always fail with ENOSYS. Some functions are actually named
36595 something starting with __ and the normal name is an alias. */
36596 #if defined __stub_$ac_func || defined __stub___$ac_func
36603 return $ac_func ();
36608 rm -f conftest.$ac_objext conftest$ac_exeext
36609 if { (ac_try="$ac_link"
36610 case "(($ac_try" in
36611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36612 *) ac_try_echo
=$ac_try;;
36614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36615 (eval "$ac_link") 2>conftest.er1
36617 grep -v '^ *+' conftest.er1
>conftest.err
36619 cat conftest.err
>&5
36620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36621 (exit $ac_status); } && {
36622 test -z "$ac_c_werror_flag" ||
36623 test ! -s conftest.err
36624 } && test -s conftest
$ac_exeext &&
36625 $as_test_x conftest
$ac_exeext; then
36626 eval "$as_ac_var=yes"
36628 echo "$as_me: failed program was:" >&5
36629 sed 's/^/| /' conftest.
$ac_ext >&5
36631 eval "$as_ac_var=no"
36634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36635 conftest
$ac_exeext conftest.
$ac_ext
36637 ac_res
=`eval echo '${'$as_ac_var'}'`
36638 { echo "$as_me:$LINENO: result: $ac_res" >&5
36639 echo "${ECHO_T}$ac_res" >&6; }
36640 if test `eval echo '${'$as_ac_var'}'` = yes; then
36641 cat >>confdefs.h
<<_ACEOF
36642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36649 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36650 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36651 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36652 wxUSE_SNGLINST_CHECKER
=no
36658 for ac_func
in setenv putenv
36660 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36663 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36664 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 cat >conftest.
$ac_ext <<_ACEOF
36669 cat confdefs.h
>>conftest.
$ac_ext
36670 cat >>conftest.
$ac_ext <<_ACEOF
36671 /* end confdefs.h. */
36672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36674 #define $ac_func innocuous_$ac_func
36676 /* System header to define __stub macros and hopefully few prototypes,
36677 which can conflict with char $ac_func (); below.
36678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36679 <limits.h> exists even on freestanding compilers. */
36682 # include <limits.h>
36684 # include <assert.h>
36689 /* Override any GCC internal prototype to avoid an error.
36690 Use char because int might match the return type of a GCC
36691 builtin and then its argument prototype would still apply. */
36696 /* The GNU C library defines this for functions which it implements
36697 to always fail with ENOSYS. Some functions are actually named
36698 something starting with __ and the normal name is an alias. */
36699 #if defined __stub_$ac_func || defined __stub___$ac_func
36706 return $ac_func ();
36711 rm -f conftest.
$ac_objext conftest
$ac_exeext
36712 if { (ac_try
="$ac_link"
36713 case "(($ac_try" in
36714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36715 *) ac_try_echo=$ac_try;;
36717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36718 (eval "$ac_link") 2>conftest.er1
36720 grep -v '^ *+' conftest.er1 >conftest.err
36722 cat conftest.err >&5
36723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724 (exit $ac_status); } && {
36725 test -z "$ac_c_werror_flag" ||
36726 test ! -s conftest.err
36727 } && test -s conftest$ac_exeext &&
36728 $as_test_x conftest$ac_exeext; then
36729 eval "$as_ac_var=yes"
36731 echo "$as_me: failed program was:" >&5
36732 sed 's/^/| /' conftest.$ac_ext >&5
36734 eval "$as_ac_var=no"
36737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36738 conftest$ac_exeext conftest.$ac_ext
36740 ac_res=`eval echo '${'$as_ac_var'}'`
36741 { echo "$as_me:$LINENO: result: $ac_res" >&5
36742 echo "${ECHO_T}$ac_res" >&6; }
36743 if test `eval echo '${'$as_ac_var'}'` = yes; then
36744 cat >>confdefs.h <<_ACEOF
36745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36751 if test "$ac_cv_func_setenv" = "yes"; then
36753 for ac_func in unsetenv
36755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36759 echo $ECHO_N "(cached) $ECHO_C" >&6
36761 cat >conftest.$ac_ext <<_ACEOF
36764 cat confdefs.h >>conftest.$ac_ext
36765 cat >>conftest.$ac_ext <<_ACEOF
36766 /* end confdefs.h. */
36767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36769 #define $ac_func innocuous_$ac_func
36771 /* System header to define __stub macros and hopefully few prototypes,
36772 which can conflict with char $ac_func (); below.
36773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36774 <limits.h> exists even on freestanding compilers. */
36777 # include <limits.h>
36779 # include <assert.h>
36784 /* Override any GCC internal prototype to avoid an error.
36785 Use char because int might match the return type of a GCC
36786 builtin and then its argument prototype would still apply. */
36791 /* The GNU C library defines this for functions which it implements
36792 to always fail with ENOSYS. Some functions are actually named
36793 something starting with __ and the normal name is an alias. */
36794 #if defined __stub_$ac_func || defined __stub___$ac_func
36801 return $ac_func ();
36806 rm -f conftest.$ac_objext conftest$ac_exeext
36807 if { (ac_try="$ac_link"
36808 case "(($ac_try" in
36809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36810 *) ac_try_echo
=$ac_try;;
36812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36813 (eval "$ac_link") 2>conftest.er1
36815 grep -v '^ *+' conftest.er1
>conftest.err
36817 cat conftest.err
>&5
36818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36819 (exit $ac_status); } && {
36820 test -z "$ac_c_werror_flag" ||
36821 test ! -s conftest.err
36822 } && test -s conftest
$ac_exeext &&
36823 $as_test_x conftest
$ac_exeext; then
36824 eval "$as_ac_var=yes"
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.
$ac_ext >&5
36829 eval "$as_ac_var=no"
36832 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36833 conftest
$ac_exeext conftest.
$ac_ext
36835 ac_res
=`eval echo '${'$as_ac_var'}'`
36836 { echo "$as_me:$LINENO: result: $ac_res" >&5
36837 echo "${ECHO_T}$ac_res" >&6; }
36838 if test `eval echo '${'$as_ac_var'}'` = yes; then
36839 cat >>confdefs.h
<<_ACEOF
36840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36848 HAVE_SOME_SLEEP_FUNC
=0
36849 if test "$USE_BEOS" = 1; then
36850 cat >>confdefs.h
<<\_ACEOF
36851 #define HAVE_SLEEP 1
36854 HAVE_SOME_SLEEP_FUNC
=1
36857 if test "$USE_DARWIN" = 1; then
36858 cat >>confdefs.h
<<\_ACEOF
36859 #define HAVE_USLEEP 1
36862 HAVE_SOME_SLEEP_FUNC
=1
36865 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36868 for ac_func
in nanosleep
36870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36873 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36874 echo $ECHO_N "(cached) $ECHO_C" >&6
36876 cat >conftest.
$ac_ext <<_ACEOF
36879 cat confdefs.h
>>conftest.
$ac_ext
36880 cat >>conftest.
$ac_ext <<_ACEOF
36881 /* end confdefs.h. */
36882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36884 #define $ac_func innocuous_$ac_func
36886 /* System header to define __stub macros and hopefully few prototypes,
36887 which can conflict with char $ac_func (); below.
36888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36889 <limits.h> exists even on freestanding compilers. */
36892 # include <limits.h>
36894 # include <assert.h>
36899 /* Override any GCC internal prototype to avoid an error.
36900 Use char because int might match the return type of a GCC
36901 builtin and then its argument prototype would still apply. */
36906 /* The GNU C library defines this for functions which it implements
36907 to always fail with ENOSYS. Some functions are actually named
36908 something starting with __ and the normal name is an alias. */
36909 #if defined __stub_$ac_func || defined __stub___$ac_func
36916 return $ac_func ();
36921 rm -f conftest.
$ac_objext conftest
$ac_exeext
36922 if { (ac_try
="$ac_link"
36923 case "(($ac_try" in
36924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36925 *) ac_try_echo=$ac_try;;
36927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36928 (eval "$ac_link") 2>conftest.er1
36930 grep -v '^ *+' conftest.er1 >conftest.err
36932 cat conftest.err >&5
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); } && {
36935 test -z "$ac_c_werror_flag" ||
36936 test ! -s conftest.err
36937 } && test -s conftest$ac_exeext &&
36938 $as_test_x conftest$ac_exeext; then
36939 eval "$as_ac_var=yes"
36941 echo "$as_me: failed program was:" >&5
36942 sed 's/^/| /' conftest.$ac_ext >&5
36944 eval "$as_ac_var=no"
36947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36948 conftest$ac_exeext conftest.$ac_ext
36950 ac_res=`eval echo '${'$as_ac_var'}'`
36951 { echo "$as_me:$LINENO: result: $ac_res" >&5
36952 echo "${ECHO_T}$ac_res" >&6; }
36953 if test `eval echo '${'$as_ac_var'}'` = yes; then
36954 cat >>confdefs.h <<_ACEOF
36955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36957 cat >>confdefs.h <<\_ACEOF
36958 #define HAVE_NANOSLEEP 1
36963 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36964 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36965 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36968 ac_check_lib_save_LIBS=$LIBS
36969 LIBS="-lposix4 $LIBS"
36970 cat >conftest.$ac_ext <<_ACEOF
36973 cat confdefs.h >>conftest.$ac_ext
36974 cat >>conftest.$ac_ext <<_ACEOF
36975 /* end confdefs.h. */
36977 /* Override any GCC internal prototype to avoid an error.
36978 Use char because int might match the return type of a GCC
36979 builtin and then its argument prototype would still apply. */
36987 return nanosleep ();
36992 rm -f conftest.$ac_objext conftest$ac_exeext
36993 if { (ac_try="$ac_link"
36994 case "(($ac_try" in
36995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36996 *) ac_try_echo
=$ac_try;;
36998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36999 (eval "$ac_link") 2>conftest.er1
37001 grep -v '^ *+' conftest.er1
>conftest.err
37003 cat conftest.err
>&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); } && {
37006 test -z "$ac_c_werror_flag" ||
37007 test ! -s conftest.err
37008 } && test -s conftest
$ac_exeext &&
37009 $as_test_x conftest
$ac_exeext; then
37010 ac_cv_lib_posix4_nanosleep
=yes
37012 echo "$as_me: failed program was:" >&5
37013 sed 's/^/| /' conftest.
$ac_ext >&5
37015 ac_cv_lib_posix4_nanosleep
=no
37018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37019 conftest
$ac_exeext conftest.
$ac_ext
37020 LIBS
=$ac_check_lib_save_LIBS
37022 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37023 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37024 if test $ac_cv_lib_posix4_nanosleep = yes; then
37026 cat >>confdefs.h
<<\_ACEOF
37027 #define HAVE_NANOSLEEP 1
37030 POSIX4_LINK
=" -lposix4"
37035 for wx_func
in usleep
37037 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37038 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37039 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37043 cat >conftest.
$ac_ext <<_ACEOF
37047 cat confdefs.h
>>conftest.
$ac_ext
37048 cat >>conftest.
$ac_ext <<_ACEOF
37049 /* end confdefs.h. */
37052 $ac_includes_default
37068 rm -f conftest.
$ac_objext conftest
$ac_exeext
37069 if { (ac_try
="$ac_link"
37070 case "(($ac_try" in
37071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37072 *) ac_try_echo=$ac_try;;
37074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37075 (eval "$ac_link") 2>conftest.er1
37077 grep -v '^ *+' conftest.er1 >conftest.err
37079 cat conftest.err >&5
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); } && {
37082 test -z "$ac_c_werror_flag" ||
37083 test ! -s conftest.err
37084 } && test -s conftest$ac_exeext &&
37085 $as_test_x conftest$ac_exeext; then
37086 eval wx_cv_func_$wx_func=yes
37088 echo "$as_me: failed program was:" >&5
37089 sed 's/^/| /' conftest.$ac_ext >&5
37091 eval wx_cv_func_$wx_func=no
37094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37095 conftest$ac_exeext conftest.$ac_ext
37098 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37099 { echo "$as_me:$LINENO: result: $ac_res" >&5
37100 echo "${ECHO_T}$ac_res" >&6; }
37102 if eval test \$wx_cv_func_$wx_func = yes
37104 cat >>confdefs.h <<_ACEOF
37105 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37111 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37112 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37129 for wx_func in uname
37131 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37132 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37133 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37134 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 cat >conftest.$ac_ext <<_ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37145 #include <sys/utsname.h>
37146 $ac_includes_default
37162 rm -f conftest.$ac_objext conftest$ac_exeext
37163 if { (ac_try="$ac_link"
37164 case "(($ac_try" in
37165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37166 *) ac_try_echo
=$ac_try;;
37168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37169 (eval "$ac_link") 2>conftest.er1
37171 grep -v '^ *+' conftest.er1
>conftest.err
37173 cat conftest.err
>&5
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); } && {
37176 test -z "$ac_c_werror_flag" ||
37177 test ! -s conftest.err
37178 } && test -s conftest
$ac_exeext &&
37179 $as_test_x conftest
$ac_exeext; then
37180 eval wx_cv_func_
$wx_func=yes
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.
$ac_ext >&5
37185 eval wx_cv_func_
$wx_func=no
37188 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37189 conftest
$ac_exeext conftest.
$ac_ext
37192 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37193 { echo "$as_me:$LINENO: result: $ac_res" >&5
37194 echo "${ECHO_T}$ac_res" >&6; }
37196 if eval test \
$wx_cv_func_$wx_func = yes
37198 cat >>confdefs.h
<<_ACEOF
37199 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37209 if test "$wx_cv_func_uname" != yes; then
37211 for wx_func
in gethostname
37213 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37214 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37215 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37216 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 cat >conftest.
$ac_ext <<_ACEOF
37223 cat confdefs.h
>>conftest.
$ac_ext
37224 cat >>conftest.
$ac_ext <<_ACEOF
37225 /* end confdefs.h. */
37228 $ac_includes_default
37244 rm -f conftest.
$ac_objext conftest
$ac_exeext
37245 if { (ac_try
="$ac_link"
37246 case "(($ac_try" in
37247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37248 *) ac_try_echo=$ac_try;;
37250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37251 (eval "$ac_link") 2>conftest.er1
37253 grep -v '^ *+' conftest.er1 >conftest.err
37255 cat conftest.err >&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); } && {
37258 test -z "$ac_c_werror_flag" ||
37259 test ! -s conftest.err
37260 } && test -s conftest$ac_exeext &&
37261 $as_test_x conftest$ac_exeext; then
37262 eval wx_cv_func_$wx_func=yes
37264 echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.$ac_ext >&5
37267 eval wx_cv_func_$wx_func=no
37270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37271 conftest$ac_exeext conftest.$ac_ext
37274 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37275 { echo "$as_me:$LINENO: result: $ac_res" >&5
37276 echo "${ECHO_T}$ac_res" >&6; }
37278 if eval test \$wx_cv_func_$wx_func = yes
37280 cat >>confdefs.h <<_ACEOF
37281 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37294 for wx_func in strtok_r
37296 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37297 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37298 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37299 echo $ECHO_N "(cached) $ECHO_C" >&6
37302 cat >conftest.$ac_ext <<_ACEOF
37306 cat confdefs.h >>conftest.$ac_ext
37307 cat >>conftest.$ac_ext <<_ACEOF
37308 /* end confdefs.h. */
37311 $ac_includes_default
37327 rm -f conftest.$ac_objext conftest$ac_exeext
37328 if { (ac_try="$ac_link"
37329 case "(($ac_try" in
37330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37331 *) ac_try_echo
=$ac_try;;
37333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37334 (eval "$ac_link") 2>conftest.er1
37336 grep -v '^ *+' conftest.er1
>conftest.err
37338 cat conftest.err
>&5
37339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37340 (exit $ac_status); } && {
37341 test -z "$ac_c_werror_flag" ||
37342 test ! -s conftest.err
37343 } && test -s conftest
$ac_exeext &&
37344 $as_test_x conftest
$ac_exeext; then
37345 eval wx_cv_func_
$wx_func=yes
37347 echo "$as_me: failed program was:" >&5
37348 sed 's/^/| /' conftest.
$ac_ext >&5
37350 eval wx_cv_func_
$wx_func=no
37353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37354 conftest
$ac_exeext conftest.
$ac_ext
37357 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37358 { echo "$as_me:$LINENO: result: $ac_res" >&5
37359 echo "${ECHO_T}$ac_res" >&6; }
37361 if eval test \
$wx_cv_func_$wx_func = yes
37363 cat >>confdefs.h
<<_ACEOF
37364 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37377 for ac_func
in inet_addr
37379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37382 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37383 echo $ECHO_N "(cached) $ECHO_C" >&6
37385 cat >conftest.
$ac_ext <<_ACEOF
37388 cat confdefs.h
>>conftest.
$ac_ext
37389 cat >>conftest.
$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37393 #define $ac_func innocuous_$ac_func
37395 /* System header to define __stub macros and hopefully few prototypes,
37396 which can conflict with char $ac_func (); below.
37397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37398 <limits.h> exists even on freestanding compilers. */
37401 # include <limits.h>
37403 # include <assert.h>
37408 /* Override any GCC internal prototype to avoid an error.
37409 Use char because int might match the return type of a GCC
37410 builtin and then its argument prototype would still apply. */
37415 /* The GNU C library defines this for functions which it implements
37416 to always fail with ENOSYS. Some functions are actually named
37417 something starting with __ and the normal name is an alias. */
37418 #if defined __stub_$ac_func || defined __stub___$ac_func
37425 return $ac_func ();
37430 rm -f conftest.
$ac_objext conftest
$ac_exeext
37431 if { (ac_try
="$ac_link"
37432 case "(($ac_try" in
37433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37434 *) ac_try_echo=$ac_try;;
37436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37437 (eval "$ac_link") 2>conftest.er1
37439 grep -v '^ *+' conftest.er1 >conftest.err
37441 cat conftest.err >&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); } && {
37444 test -z "$ac_c_werror_flag" ||
37445 test ! -s conftest.err
37446 } && test -s conftest$ac_exeext &&
37447 $as_test_x conftest$ac_exeext; then
37448 eval "$as_ac_var=yes"
37450 echo "$as_me: failed program was:" >&5
37451 sed 's/^/| /' conftest.$ac_ext >&5
37453 eval "$as_ac_var=no"
37456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37457 conftest$ac_exeext conftest.$ac_ext
37459 ac_res=`eval echo '${'$as_ac_var'}'`
37460 { echo "$as_me:$LINENO: result: $ac_res" >&5
37461 echo "${ECHO_T}$ac_res" >&6; }
37462 if test `eval echo '${'$as_ac_var'}'` = yes; then
37463 cat >>confdefs.h <<_ACEOF
37464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37466 cat >>confdefs.h <<\_ACEOF
37467 #define HAVE_INET_ADDR 1
37472 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37473 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37474 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37477 ac_check_lib_save_LIBS=$LIBS
37479 cat >conftest.$ac_ext <<_ACEOF
37482 cat confdefs.h >>conftest.$ac_ext
37483 cat >>conftest.$ac_ext <<_ACEOF
37484 /* end confdefs.h. */
37486 /* Override any GCC internal prototype to avoid an error.
37487 Use char because int might match the return type of a GCC
37488 builtin and then its argument prototype would still apply. */
37496 return inet_addr ();
37501 rm -f conftest.$ac_objext conftest$ac_exeext
37502 if { (ac_try="$ac_link"
37503 case "(($ac_try" in
37504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37505 *) ac_try_echo
=$ac_try;;
37507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37508 (eval "$ac_link") 2>conftest.er1
37510 grep -v '^ *+' conftest.er1
>conftest.err
37512 cat conftest.err
>&5
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); } && {
37515 test -z "$ac_c_werror_flag" ||
37516 test ! -s conftest.err
37517 } && test -s conftest
$ac_exeext &&
37518 $as_test_x conftest
$ac_exeext; then
37519 ac_cv_lib_nsl_inet_addr
=yes
37521 echo "$as_me: failed program was:" >&5
37522 sed 's/^/| /' conftest.
$ac_ext >&5
37524 ac_cv_lib_nsl_inet_addr
=no
37527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37528 conftest
$ac_exeext conftest.
$ac_ext
37529 LIBS
=$ac_check_lib_save_LIBS
37531 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37532 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37533 if test $ac_cv_lib_nsl_inet_addr = yes; then
37537 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37538 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37539 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37540 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 ac_check_lib_save_LIBS
=$LIBS
37543 LIBS
="-lresolv $LIBS"
37544 cat >conftest.
$ac_ext <<_ACEOF
37547 cat confdefs.h
>>conftest.
$ac_ext
37548 cat >>conftest.
$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37551 /* Override any GCC internal prototype to avoid an error.
37552 Use char because int might match the return type of a GCC
37553 builtin and then its argument prototype would still apply. */
37561 return inet_addr ();
37566 rm -f conftest.
$ac_objext conftest
$ac_exeext
37567 if { (ac_try
="$ac_link"
37568 case "(($ac_try" in
37569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37570 *) ac_try_echo=$ac_try;;
37572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37573 (eval "$ac_link") 2>conftest.er1
37575 grep -v '^ *+' conftest.er1 >conftest.err
37577 cat conftest.err >&5
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); } && {
37580 test -z "$ac_c_werror_flag" ||
37581 test ! -s conftest.err
37582 } && test -s conftest$ac_exeext &&
37583 $as_test_x conftest$ac_exeext; then
37584 ac_cv_lib_resolv_inet_addr=yes
37586 echo "$as_me: failed program was:" >&5
37587 sed 's/^/| /' conftest.$ac_ext >&5
37589 ac_cv_lib_resolv_inet_addr=no
37592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37593 conftest$ac_exeext conftest.$ac_ext
37594 LIBS=$ac_check_lib_save_LIBS
37596 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37597 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37598 if test $ac_cv_lib_resolv_inet_addr = yes; then
37602 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37603 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37604 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37605 echo $ECHO_N "(cached) $ECHO_C" >&6
37607 ac_check_lib_save_LIBS=$LIBS
37608 LIBS="-lsocket $LIBS"
37609 cat >conftest.$ac_ext <<_ACEOF
37612 cat confdefs.h >>conftest.$ac_ext
37613 cat >>conftest.$ac_ext <<_ACEOF
37614 /* end confdefs.h. */
37616 /* Override any GCC internal prototype to avoid an error.
37617 Use char because int might match the return type of a GCC
37618 builtin and then its argument prototype would still apply. */
37626 return inet_addr ();
37631 rm -f conftest.$ac_objext conftest$ac_exeext
37632 if { (ac_try="$ac_link"
37633 case "(($ac_try" in
37634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37635 *) ac_try_echo
=$ac_try;;
37637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37638 (eval "$ac_link") 2>conftest.er1
37640 grep -v '^ *+' conftest.er1
>conftest.err
37642 cat conftest.err
>&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); } && {
37645 test -z "$ac_c_werror_flag" ||
37646 test ! -s conftest.err
37647 } && test -s conftest
$ac_exeext &&
37648 $as_test_x conftest
$ac_exeext; then
37649 ac_cv_lib_socket_inet_addr
=yes
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.
$ac_ext >&5
37654 ac_cv_lib_socket_inet_addr
=no
37657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37658 conftest
$ac_exeext conftest.
$ac_ext
37659 LIBS
=$ac_check_lib_save_LIBS
37661 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37662 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37663 if test $ac_cv_lib_socket_inet_addr = yes; then
37683 for ac_func
in inet_aton
37685 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37688 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37689 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 cat >conftest.
$ac_ext <<_ACEOF
37694 cat confdefs.h
>>conftest.
$ac_ext
37695 cat >>conftest.
$ac_ext <<_ACEOF
37696 /* end confdefs.h. */
37697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37699 #define $ac_func innocuous_$ac_func
37701 /* System header to define __stub macros and hopefully few prototypes,
37702 which can conflict with char $ac_func (); below.
37703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37704 <limits.h> exists even on freestanding compilers. */
37707 # include <limits.h>
37709 # include <assert.h>
37714 /* Override any GCC internal prototype to avoid an error.
37715 Use char because int might match the return type of a GCC
37716 builtin and then its argument prototype would still apply. */
37721 /* The GNU C library defines this for functions which it implements
37722 to always fail with ENOSYS. Some functions are actually named
37723 something starting with __ and the normal name is an alias. */
37724 #if defined __stub_$ac_func || defined __stub___$ac_func
37731 return $ac_func ();
37736 rm -f conftest.
$ac_objext conftest
$ac_exeext
37737 if { (ac_try
="$ac_link"
37738 case "(($ac_try" in
37739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37740 *) ac_try_echo=$ac_try;;
37742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37743 (eval "$ac_link") 2>conftest.er1
37745 grep -v '^ *+' conftest.er1 >conftest.err
37747 cat conftest.err >&5
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); } && {
37750 test -z "$ac_c_werror_flag" ||
37751 test ! -s conftest.err
37752 } && test -s conftest$ac_exeext &&
37753 $as_test_x conftest$ac_exeext; then
37754 eval "$as_ac_var=yes"
37756 echo "$as_me: failed program was:" >&5
37757 sed 's/^/| /' conftest.$ac_ext >&5
37759 eval "$as_ac_var=no"
37762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37763 conftest$ac_exeext conftest.$ac_ext
37765 ac_res=`eval echo '${'$as_ac_var'}'`
37766 { echo "$as_me:$LINENO: result: $ac_res" >&5
37767 echo "${ECHO_T}$ac_res" >&6; }
37768 if test `eval echo '${'$as_ac_var'}'` = yes; then
37769 cat >>confdefs.h <<_ACEOF
37770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37772 cat >>confdefs.h <<\_ACEOF
37773 #define HAVE_INET_ATON 1
37778 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37779 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37780 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37781 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37784 ac_check_lib_save_LIBS=$LIBS
37785 LIBS="-l$INET_LINK $LIBS"
37786 cat >conftest.$ac_ext <<_ACEOF
37789 cat confdefs.h >>conftest.$ac_ext
37790 cat >>conftest.$ac_ext <<_ACEOF
37791 /* end confdefs.h. */
37793 /* Override any GCC internal prototype to avoid an error.
37794 Use char because int might match the return type of a GCC
37795 builtin and then its argument prototype would still apply. */
37803 return inet_aton ();
37808 rm -f conftest.$ac_objext conftest$ac_exeext
37809 if { (ac_try="$ac_link"
37810 case "(($ac_try" in
37811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37812 *) ac_try_echo
=$ac_try;;
37814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37815 (eval "$ac_link") 2>conftest.er1
37817 grep -v '^ *+' conftest.er1
>conftest.err
37819 cat conftest.err
>&5
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); } && {
37822 test -z "$ac_c_werror_flag" ||
37823 test ! -s conftest.err
37824 } && test -s conftest
$ac_exeext &&
37825 $as_test_x conftest
$ac_exeext; then
37826 eval "$as_ac_Lib=yes"
37828 echo "$as_me: failed program was:" >&5
37829 sed 's/^/| /' conftest.
$ac_ext >&5
37831 eval "$as_ac_Lib=no"
37834 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37835 conftest
$ac_exeext conftest.
$ac_ext
37836 LIBS
=$ac_check_lib_save_LIBS
37838 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37839 { echo "$as_me:$LINENO: result: $ac_res" >&5
37840 echo "${ECHO_T}$ac_res" >&6; }
37841 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37842 cat >>confdefs.h
<<\_ACEOF
37843 #define HAVE_INET_ATON 1
37853 if test "x$INET_LINK" != "x"; then
37854 cat >>confdefs.h
<<\_ACEOF
37855 #define HAVE_INET_ADDR 1
37858 INET_LINK
=" -l$INET_LINK"
37862 for wx_func
in fdopen
37864 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37865 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37866 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37870 cat >conftest.
$ac_ext <<_ACEOF
37874 cat confdefs.h
>>conftest.
$ac_ext
37875 cat >>conftest.
$ac_ext <<_ACEOF
37876 /* end confdefs.h. */
37879 $ac_includes_default
37895 rm -f conftest.
$ac_objext conftest
$ac_exeext
37896 if { (ac_try
="$ac_link"
37897 case "(($ac_try" in
37898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37899 *) ac_try_echo=$ac_try;;
37901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37902 (eval "$ac_link") 2>conftest.er1
37904 grep -v '^ *+' conftest.er1 >conftest.err
37906 cat conftest.err >&5
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); } && {
37909 test -z "$ac_c_werror_flag" ||
37910 test ! -s conftest.err
37911 } && test -s conftest$ac_exeext &&
37912 $as_test_x conftest$ac_exeext; then
37913 eval wx_cv_func_$wx_func=yes
37915 echo "$as_me: failed program was:" >&5
37916 sed 's/^/| /' conftest.$ac_ext >&5
37918 eval wx_cv_func_$wx_func=no
37921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37922 conftest$ac_exeext conftest.$ac_ext
37925 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37926 { echo "$as_me:$LINENO: result: $ac_res" >&5
37927 echo "${ECHO_T}$ac_res" >&6; }
37929 if eval test \$wx_cv_func_$wx_func = yes
37931 cat >>confdefs.h <<_ACEOF
37932 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37943 if test "$wxUSE_TARSTREAM" = "yes"; then
37945 for wx_func in sysconf
37947 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37948 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37949 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37950 echo $ECHO_N "(cached) $ECHO_C" >&6
37953 cat >conftest.$ac_ext <<_ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h. */
37962 $ac_includes_default
37978 rm -f conftest.$ac_objext conftest$ac_exeext
37979 if { (ac_try="$ac_link"
37980 case "(($ac_try" in
37981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37982 *) ac_try_echo
=$ac_try;;
37984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37985 (eval "$ac_link") 2>conftest.er1
37987 grep -v '^ *+' conftest.er1
>conftest.err
37989 cat conftest.err
>&5
37990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991 (exit $ac_status); } && {
37992 test -z "$ac_c_werror_flag" ||
37993 test ! -s conftest.err
37994 } && test -s conftest
$ac_exeext &&
37995 $as_test_x conftest
$ac_exeext; then
37996 eval wx_cv_func_
$wx_func=yes
37998 echo "$as_me: failed program was:" >&5
37999 sed 's/^/| /' conftest.
$ac_ext >&5
38001 eval wx_cv_func_
$wx_func=no
38004 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38005 conftest
$ac_exeext conftest.
$ac_ext
38008 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38009 { echo "$as_me:$LINENO: result: $ac_res" >&5
38010 echo "${ECHO_T}$ac_res" >&6; }
38012 if eval test \
$wx_cv_func_$wx_func = yes
38014 cat >>confdefs.h
<<_ACEOF
38015 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38027 for wx_func
in getpwuid_r
38029 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38030 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38031 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38035 cat >conftest.
$ac_ext <<_ACEOF
38039 cat confdefs.h
>>conftest.
$ac_ext
38040 cat >>conftest.
$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38047 $ac_includes_default
38057 struct passwd pw, *ppw;
38059 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38067 rm -f conftest.
$ac_objext conftest
$ac_exeext
38068 if { (ac_try
="$ac_link"
38069 case "(($ac_try" in
38070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38071 *) ac_try_echo=$ac_try;;
38073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38074 (eval "$ac_link") 2>conftest.er1
38076 grep -v '^ *+' conftest.er1 >conftest.err
38078 cat conftest.err >&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); } && {
38081 test -z "$ac_c_werror_flag" ||
38082 test ! -s conftest.err
38083 } && test -s conftest$ac_exeext &&
38084 $as_test_x conftest$ac_exeext; then
38085 eval wx_cv_func_$wx_func=yes
38087 echo "$as_me: failed program was:" >&5
38088 sed 's/^/| /' conftest.$ac_ext >&5
38090 eval wx_cv_func_$wx_func=no
38093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38094 conftest$ac_exeext conftest.$ac_ext
38097 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38098 { echo "$as_me:$LINENO: result: $ac_res" >&5
38099 echo "${ECHO_T}$ac_res" >&6; }
38101 if eval test \$wx_cv_func_$wx_func = yes
38103 cat >>confdefs.h <<_ACEOF
38104 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38116 for wx_func in getgrgid_r
38118 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38119 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38120 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38124 cat >conftest.$ac_ext <<_ACEOF
38128 cat confdefs.h >>conftest.$ac_ext
38129 cat >>conftest.$ac_ext <<_ACEOF
38130 /* end confdefs.h. */
38136 $ac_includes_default
38146 struct group grp, *pgrp;
38148 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38156 rm -f conftest.$ac_objext conftest$ac_exeext
38157 if { (ac_try="$ac_link"
38158 case "(($ac_try" in
38159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38160 *) ac_try_echo
=$ac_try;;
38162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38163 (eval "$ac_link") 2>conftest.er1
38165 grep -v '^ *+' conftest.er1
>conftest.err
38167 cat conftest.err
>&5
38168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169 (exit $ac_status); } && {
38170 test -z "$ac_c_werror_flag" ||
38171 test ! -s conftest.err
38172 } && test -s conftest
$ac_exeext &&
38173 $as_test_x conftest
$ac_exeext; then
38174 eval wx_cv_func_
$wx_func=yes
38176 echo "$as_me: failed program was:" >&5
38177 sed 's/^/| /' conftest.
$ac_ext >&5
38179 eval wx_cv_func_
$wx_func=no
38182 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38183 conftest
$ac_exeext conftest.
$ac_ext
38186 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38187 { echo "$as_me:$LINENO: result: $ac_res" >&5
38188 echo "${ECHO_T}$ac_res" >&6; }
38190 if eval test \
$wx_cv_func_$wx_func = yes
38192 cat >>confdefs.h
<<_ACEOF
38193 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38209 cat >confcache
<<\_ACEOF
38210 # This file is a shell script that caches the results of configure
38211 # tests run on this system so they can be shared between configure
38212 # scripts and configure runs, see configure's option --config-cache.
38213 # It is not useful on other systems. If it contains results you don't
38214 # want to keep, you may remove or edit it.
38216 # config.status only pays attention to the cache file if you give it
38217 # the --recheck option to rerun configure.
38219 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38220 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38221 # following values.
38225 # The following way of writing the cache mishandles newlines in values,
38226 # but we know of no workaround that is simple, portable, and efficient.
38227 # So, we kill variables containing newlines.
38228 # Ultrix sh set writes to stderr and can't be redirected directly,
38229 # and sets the high bit in the cache file unless we assign to the vars.
38231 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38232 eval ac_val
=\$
$ac_var
38236 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38240 _
| IFS
| as_nl
) ;; #(
38241 *) $as_unset $ac_var ;;
38247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38248 *${as_nl}ac_space
=\
*)
38249 # `set' does not quote correctly, so add quotes (double-quote
38250 # substitution turns \\\\ into \\, and sed turns \\ into \).
38253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38256 # `set' quotes correctly as required by POSIX, so do not add quotes.
38257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38270 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38271 if test -w "$cache_file"; then
38272 test "x$cache_file" != "x/dev/null" &&
38273 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38274 echo "$as_me: updating cache $cache_file" >&6;}
38275 cat confcache
>$cache_file
38277 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38278 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38284 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38290 if test "$wxUSE_THREADS" = "yes" ; then
38291 if test "$USE_BEOS" = 1; then
38292 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38293 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38298 if test "$wxUSE_THREADS" = "yes" ; then
38301 THREAD_OPTS
="-pthread"
38302 if test "x$SUNCXX" = xyes
; then
38303 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38307 *-*-solaris2* | *-*-sunos4* )
38308 if test "x$GCC" = "xyes"; then
38309 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38313 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38315 *-*-darwin* | *-*-cygwin* )
38319 THREAD_OPTS
="pthreads"
38322 if test "x$GCC" = "xyes"; then
38323 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38331 if test "x$GCC" = "xyes"; then
38337 if test "x$GCC" != "xyes"; then
38338 THREAD_OPTS
="-Ethread"
38343 THREAD_OPTS
="$THREAD_OPTS pthread none"
38346 for flag
in $THREAD_OPTS; do
38349 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38350 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38354 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38355 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38356 THREADS_CFLAGS
="$flag"
38360 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38361 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38362 THREADS_LINK
="-l$flag"
38367 save_CFLAGS
="$CFLAGS"
38368 LIBS
="$THREADS_LINK $LIBS"
38369 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38371 cat >conftest.
$ac_ext <<_ACEOF
38374 cat confdefs.h
>>conftest.
$ac_ext
38375 cat >>conftest.
$ac_ext <<_ACEOF
38376 /* end confdefs.h. */
38377 #include <pthread.h>
38381 pthread_create(0,0,0,0);
38386 rm -f conftest.
$ac_objext conftest
$ac_exeext
38387 if { (ac_try
="$ac_link"
38388 case "(($ac_try" in
38389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38390 *) ac_try_echo=$ac_try;;
38392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38393 (eval "$ac_link") 2>conftest.er1
38395 grep -v '^ *+' conftest.er1 >conftest.err
38397 cat conftest.err >&5
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); } && {
38400 test -z "$ac_c_werror_flag" ||
38401 test ! -s conftest.err
38402 } && test -s conftest$ac_exeext &&
38403 $as_test_x conftest$ac_exeext; then
38406 echo "$as_me: failed program was:" >&5
38407 sed 's/^/| /' conftest.$ac_ext >&5
38412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38413 conftest$ac_exeext conftest.$ac_ext
38416 CFLAGS="$save_CFLAGS"
38418 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38419 echo "${ECHO_T}$THREADS_OK" >&6; }
38420 if test "x$THREADS_OK" = "xyes"; then
38428 if test "x$THREADS_OK" != "xyes"; then
38430 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38431 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38433 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38434 LIBS="$THREADS_LINK $LIBS"
38436 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38437 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38441 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38442 flag="-D_THREAD_SAFE"
38445 flag="-D_THREAD_SAFE"
38448 flag="-D_REENTRANT"
38449 if test "x$GCC" != "xyes"; then
38450 flag="$flag -D_RWSTD_MULTI_THREAD"
38453 *solaris* | alpha*-osf*)
38454 flag="-D_REENTRANT"
38457 { echo "$as_me:$LINENO: result: ${flag}" >&5
38458 echo "${ECHO_T}${flag}" >&6; }
38459 if test "x$flag" != xno; then
38460 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38463 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38467 if test "$wxUSE_THREADS" = "yes" ; then
38469 for ac_func in thr_setconcurrency
38471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38475 echo $ECHO_N "(cached) $ECHO_C" >&6
38477 cat >conftest.$ac_ext <<_ACEOF
38480 cat confdefs.h >>conftest.$ac_ext
38481 cat >>conftest.$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38485 #define $ac_func innocuous_$ac_func
38487 /* System header to define __stub macros and hopefully few prototypes,
38488 which can conflict with char $ac_func (); below.
38489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38490 <limits.h> exists even on freestanding compilers. */
38493 # include <limits.h>
38495 # include <assert.h>
38500 /* Override any GCC internal prototype to avoid an error.
38501 Use char because int might match the return type of a GCC
38502 builtin and then its argument prototype would still apply. */
38507 /* The GNU C library defines this for functions which it implements
38508 to always fail with ENOSYS. Some functions are actually named
38509 something starting with __ and the normal name is an alias. */
38510 #if defined __stub_$ac_func || defined __stub___$ac_func
38517 return $ac_func ();
38522 rm -f conftest.$ac_objext conftest$ac_exeext
38523 if { (ac_try="$ac_link"
38524 case "(($ac_try" in
38525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38526 *) ac_try_echo
=$ac_try;;
38528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38529 (eval "$ac_link") 2>conftest.er1
38531 grep -v '^ *+' conftest.er1
>conftest.err
38533 cat conftest.err
>&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); } && {
38536 test -z "$ac_c_werror_flag" ||
38537 test ! -s conftest.err
38538 } && test -s conftest
$ac_exeext &&
38539 $as_test_x conftest
$ac_exeext; then
38540 eval "$as_ac_var=yes"
38542 echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.
$ac_ext >&5
38545 eval "$as_ac_var=no"
38548 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38549 conftest
$ac_exeext conftest.
$ac_ext
38551 ac_res
=`eval echo '${'$as_ac_var'}'`
38552 { echo "$as_me:$LINENO: result: $ac_res" >&5
38553 echo "${ECHO_T}$ac_res" >&6; }
38554 if test `eval echo '${'$as_ac_var'}'` = yes; then
38555 cat >>confdefs.h
<<_ACEOF
38556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38563 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38564 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38565 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38566 echo $ECHO_N "(cached) $ECHO_C" >&6
38570 ac_cpp
='$CXXCPP $CPPFLAGS'
38571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38575 cat >conftest.
$ac_ext <<_ACEOF
38578 cat confdefs.h
>>conftest.
$ac_ext
38579 cat >>conftest.
$ac_ext <<_ACEOF
38580 /* end confdefs.h. */
38581 #include <pthread.h>
38582 void ThreadCleanupFunc(void *p);
38589 pthread_cleanup_push(ThreadCleanupFunc, p);
38590 pthread_cleanup_pop(0);
38596 rm -f conftest.
$ac_objext
38597 if { (ac_try
="$ac_compile"
38598 case "(($ac_try" in
38599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38600 *) ac_try_echo=$ac_try;;
38602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38603 (eval "$ac_compile") 2>conftest.er1
38605 grep -v '^ *+' conftest.er1 >conftest.err
38607 cat conftest.err >&5
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); } && {
38610 test -z "$ac_cxx_werror_flag" ||
38611 test ! -s conftest.err
38612 } && test -s conftest.$ac_objext; then
38614 wx_cv_func_pthread_cleanup=yes
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.$ac_ext >&5
38621 wx_cv_func_pthread_cleanup=no
38626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38628 ac_cpp='$CPP $CPPFLAGS'
38629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38635 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38636 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38637 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38638 cat >>confdefs.h <<\_ACEOF
38639 #define wxHAVE_PTHREAD_CLEANUP 1
38645 for ac_header in sched.h
38647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38651 echo $ECHO_N "(cached) $ECHO_C" >&6
38653 cat >conftest.$ac_ext <<_ACEOF
38656 cat confdefs.h >>conftest.$ac_ext
38657 cat >>conftest.$ac_ext <<_ACEOF
38658 /* end confdefs.h. */
38659 $ac_includes_default
38661 #include <$ac_header>
38663 rm -f conftest.$ac_objext
38664 if { (ac_try="$ac_compile"
38665 case "(($ac_try" in
38666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38667 *) ac_try_echo
=$ac_try;;
38669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38670 (eval "$ac_compile") 2>conftest.er1
38672 grep -v '^ *+' conftest.er1
>conftest.err
38674 cat conftest.err
>&5
38675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676 (exit $ac_status); } && {
38677 test -z "$ac_c_werror_flag" ||
38678 test ! -s conftest.err
38679 } && test -s conftest.
$ac_objext; then
38680 eval "$as_ac_Header=yes"
38682 echo "$as_me: failed program was:" >&5
38683 sed 's/^/| /' conftest.
$ac_ext >&5
38685 eval "$as_ac_Header=no"
38688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38690 ac_res
=`eval echo '${'$as_ac_Header'}'`
38691 { echo "$as_me:$LINENO: result: $ac_res" >&5
38692 echo "${ECHO_T}$ac_res" >&6; }
38693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38694 cat >>confdefs.h
<<_ACEOF
38695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38702 if test "$ac_cv_header_sched_h" = "yes"; then
38703 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38704 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38705 if test "${ac_cv_func_sched_yield+set}" = set; then
38706 echo $ECHO_N "(cached) $ECHO_C" >&6
38708 cat >conftest.
$ac_ext <<_ACEOF
38711 cat confdefs.h
>>conftest.
$ac_ext
38712 cat >>conftest.
$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38716 #define sched_yield innocuous_sched_yield
38718 /* System header to define __stub macros and hopefully few prototypes,
38719 which can conflict with char sched_yield (); below.
38720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38721 <limits.h> exists even on freestanding compilers. */
38724 # include <limits.h>
38726 # include <assert.h>
38731 /* Override any GCC internal prototype to avoid an error.
38732 Use char because int might match the return type of a GCC
38733 builtin and then its argument prototype would still apply. */
38737 char sched_yield ();
38738 /* The GNU C library defines this for functions which it implements
38739 to always fail with ENOSYS. Some functions are actually named
38740 something starting with __ and the normal name is an alias. */
38741 #if defined __stub_sched_yield || defined __stub___sched_yield
38748 return sched_yield ();
38753 rm -f conftest.
$ac_objext conftest
$ac_exeext
38754 if { (ac_try
="$ac_link"
38755 case "(($ac_try" in
38756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38757 *) ac_try_echo=$ac_try;;
38759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38760 (eval "$ac_link") 2>conftest.er1
38762 grep -v '^ *+' conftest.er1 >conftest.err
38764 cat conftest.err >&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); } && {
38767 test -z "$ac_c_werror_flag" ||
38768 test ! -s conftest.err
38769 } && test -s conftest$ac_exeext &&
38770 $as_test_x conftest$ac_exeext; then
38771 ac_cv_func_sched_yield=yes
38773 echo "$as_me: failed program was:" >&5
38774 sed 's/^/| /' conftest.$ac_ext >&5
38776 ac_cv_func_sched_yield=no
38779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38780 conftest$ac_exeext conftest.$ac_ext
38782 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38783 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38784 if test $ac_cv_func_sched_yield = yes; then
38785 cat >>confdefs.h <<\_ACEOF
38786 #define HAVE_SCHED_YIELD 1
38791 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38792 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38793 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38794 echo $ECHO_N "(cached) $ECHO_C" >&6
38796 ac_check_lib_save_LIBS=$LIBS
38797 LIBS="-lposix4 $LIBS"
38798 cat >conftest.$ac_ext <<_ACEOF
38801 cat confdefs.h >>conftest.$ac_ext
38802 cat >>conftest.$ac_ext <<_ACEOF
38803 /* end confdefs.h. */
38805 /* Override any GCC internal prototype to avoid an error.
38806 Use char because int might match the return type of a GCC
38807 builtin and then its argument prototype would still apply. */
38811 char sched_yield ();
38815 return sched_yield ();
38820 rm -f conftest.$ac_objext conftest$ac_exeext
38821 if { (ac_try="$ac_link"
38822 case "(($ac_try" in
38823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38824 *) ac_try_echo
=$ac_try;;
38826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38827 (eval "$ac_link") 2>conftest.er1
38829 grep -v '^ *+' conftest.er1
>conftest.err
38831 cat conftest.err
>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } && {
38834 test -z "$ac_c_werror_flag" ||
38835 test ! -s conftest.err
38836 } && test -s conftest
$ac_exeext &&
38837 $as_test_x conftest
$ac_exeext; then
38838 ac_cv_lib_posix4_sched_yield
=yes
38840 echo "$as_me: failed program was:" >&5
38841 sed 's/^/| /' conftest.
$ac_ext >&5
38843 ac_cv_lib_posix4_sched_yield
=no
38846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38847 conftest
$ac_exeext conftest.
$ac_ext
38848 LIBS
=$ac_check_lib_save_LIBS
38850 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38851 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38852 if test $ac_cv_lib_posix4_sched_yield = yes; then
38853 cat >>confdefs.h
<<\_ACEOF
38854 #define HAVE_SCHED_YIELD 1
38856 POSIX4_LINK
=" -lposix4"
38858 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38859 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38870 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38871 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38872 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38873 echo $ECHO_N "(cached) $ECHO_C" >&6
38875 cat >conftest.
$ac_ext <<_ACEOF
38878 cat confdefs.h
>>conftest.
$ac_ext
38879 cat >>conftest.
$ac_ext <<_ACEOF
38880 /* end confdefs.h. */
38881 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38883 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38885 /* System header to define __stub macros and hopefully few prototypes,
38886 which can conflict with char pthread_attr_getschedpolicy (); below.
38887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38888 <limits.h> exists even on freestanding compilers. */
38891 # include <limits.h>
38893 # include <assert.h>
38896 #undef pthread_attr_getschedpolicy
38898 /* Override any GCC internal prototype to avoid an error.
38899 Use char because int might match the return type of a GCC
38900 builtin and then its argument prototype would still apply. */
38904 char pthread_attr_getschedpolicy ();
38905 /* The GNU C library defines this for functions which it implements
38906 to always fail with ENOSYS. Some functions are actually named
38907 something starting with __ and the normal name is an alias. */
38908 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38915 return pthread_attr_getschedpolicy ();
38920 rm -f conftest.
$ac_objext conftest
$ac_exeext
38921 if { (ac_try
="$ac_link"
38922 case "(($ac_try" in
38923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38924 *) ac_try_echo=$ac_try;;
38926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38927 (eval "$ac_link") 2>conftest.er1
38929 grep -v '^ *+' conftest.er1 >conftest.err
38931 cat conftest.err >&5
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); } && {
38934 test -z "$ac_c_werror_flag" ||
38935 test ! -s conftest.err
38936 } && test -s conftest$ac_exeext &&
38937 $as_test_x conftest$ac_exeext; then
38938 ac_cv_func_pthread_attr_getschedpolicy=yes
38940 echo "$as_me: failed program was:" >&5
38941 sed 's/^/| /' conftest.$ac_ext >&5
38943 ac_cv_func_pthread_attr_getschedpolicy=no
38946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38947 conftest$ac_exeext conftest.$ac_ext
38949 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38950 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38951 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38952 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38953 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38954 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38955 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 cat >conftest.$ac_ext <<_ACEOF
38960 cat confdefs.h >>conftest.$ac_ext
38961 cat >>conftest.$ac_ext <<_ACEOF
38962 /* end confdefs.h. */
38963 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38965 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38967 /* System header to define __stub macros and hopefully few prototypes,
38968 which can conflict with char pthread_attr_setschedparam (); below.
38969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38970 <limits.h> exists even on freestanding compilers. */
38973 # include <limits.h>
38975 # include <assert.h>
38978 #undef pthread_attr_setschedparam
38980 /* Override any GCC internal prototype to avoid an error.
38981 Use char because int might match the return type of a GCC
38982 builtin and then its argument prototype would still apply. */
38986 char pthread_attr_setschedparam ();
38987 /* The GNU C library defines this for functions which it implements
38988 to always fail with ENOSYS. Some functions are actually named
38989 something starting with __ and the normal name is an alias. */
38990 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38997 return pthread_attr_setschedparam ();
39002 rm -f conftest.$ac_objext conftest$ac_exeext
39003 if { (ac_try="$ac_link"
39004 case "(($ac_try" in
39005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39006 *) ac_try_echo
=$ac_try;;
39008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39009 (eval "$ac_link") 2>conftest.er1
39011 grep -v '^ *+' conftest.er1
>conftest.err
39013 cat conftest.err
>&5
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); } && {
39016 test -z "$ac_c_werror_flag" ||
39017 test ! -s conftest.err
39018 } && test -s conftest
$ac_exeext &&
39019 $as_test_x conftest
$ac_exeext; then
39020 ac_cv_func_pthread_attr_setschedparam
=yes
39022 echo "$as_me: failed program was:" >&5
39023 sed 's/^/| /' conftest.
$ac_ext >&5
39025 ac_cv_func_pthread_attr_setschedparam
=no
39028 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39029 conftest
$ac_exeext conftest.
$ac_ext
39031 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39032 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39033 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39034 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39035 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39036 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39039 cat >conftest.
$ac_ext <<_ACEOF
39042 cat confdefs.h
>>conftest.
$ac_ext
39043 cat >>conftest.
$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39047 #define sched_get_priority_max innocuous_sched_get_priority_max
39049 /* System header to define __stub macros and hopefully few prototypes,
39050 which can conflict with char sched_get_priority_max (); below.
39051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39052 <limits.h> exists even on freestanding compilers. */
39055 # include <limits.h>
39057 # include <assert.h>
39060 #undef sched_get_priority_max
39062 /* Override any GCC internal prototype to avoid an error.
39063 Use char because int might match the return type of a GCC
39064 builtin and then its argument prototype would still apply. */
39068 char sched_get_priority_max ();
39069 /* The GNU C library defines this for functions which it implements
39070 to always fail with ENOSYS. Some functions are actually named
39071 something starting with __ and the normal name is an alias. */
39072 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39079 return sched_get_priority_max ();
39084 rm -f conftest.
$ac_objext conftest
$ac_exeext
39085 if { (ac_try
="$ac_link"
39086 case "(($ac_try" in
39087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39088 *) ac_try_echo=$ac_try;;
39090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39091 (eval "$ac_link") 2>conftest.er1
39093 grep -v '^ *+' conftest.er1 >conftest.err
39095 cat conftest.err >&5
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); } && {
39098 test -z "$ac_c_werror_flag" ||
39099 test ! -s conftest.err
39100 } && test -s conftest$ac_exeext &&
39101 $as_test_x conftest$ac_exeext; then
39102 ac_cv_func_sched_get_priority_max=yes
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.$ac_ext >&5
39107 ac_cv_func_sched_get_priority_max=no
39110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39111 conftest$ac_exeext conftest.$ac_ext
39113 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39114 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39115 if test $ac_cv_func_sched_get_priority_max = yes; then
39118 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39119 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39120 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39121 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 ac_check_lib_save_LIBS=$LIBS
39124 LIBS="-lposix4 $LIBS"
39125 cat >conftest.$ac_ext <<_ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39132 /* Override any GCC internal prototype to avoid an error.
39133 Use char because int might match the return type of a GCC
39134 builtin and then its argument prototype would still apply. */
39138 char sched_get_priority_max ();
39142 return sched_get_priority_max ();
39147 rm -f conftest.$ac_objext conftest$ac_exeext
39148 if { (ac_try="$ac_link"
39149 case "(($ac_try" in
39150 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39151 *) ac_try_echo
=$ac_try;;
39153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39154 (eval "$ac_link") 2>conftest.er1
39156 grep -v '^ *+' conftest.er1
>conftest.err
39158 cat conftest.err
>&5
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); } && {
39161 test -z "$ac_c_werror_flag" ||
39162 test ! -s conftest.err
39163 } && test -s conftest
$ac_exeext &&
39164 $as_test_x conftest
$ac_exeext; then
39165 ac_cv_lib_posix4_sched_get_priority_max
=yes
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.
$ac_ext >&5
39170 ac_cv_lib_posix4_sched_get_priority_max
=no
39173 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39174 conftest
$ac_exeext conftest.
$ac_ext
39175 LIBS
=$ac_check_lib_save_LIBS
39177 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39178 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39179 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39182 POSIX4_LINK
=" -lposix4"
39196 if test "$HAVE_PRIOR_FUNCS" = 1; then
39197 cat >>confdefs.h
<<\_ACEOF
39198 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39202 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39203 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39206 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39207 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39208 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39209 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 cat >conftest.
$ac_ext <<_ACEOF
39214 cat confdefs.h
>>conftest.
$ac_ext
39215 cat >>conftest.
$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39217 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39219 #define pthread_cancel innocuous_pthread_cancel
39221 /* System header to define __stub macros and hopefully few prototypes,
39222 which can conflict with char pthread_cancel (); below.
39223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39224 <limits.h> exists even on freestanding compilers. */
39227 # include <limits.h>
39229 # include <assert.h>
39232 #undef pthread_cancel
39234 /* Override any GCC internal prototype to avoid an error.
39235 Use char because int might match the return type of a GCC
39236 builtin and then its argument prototype would still apply. */
39240 char pthread_cancel ();
39241 /* The GNU C library defines this for functions which it implements
39242 to always fail with ENOSYS. Some functions are actually named
39243 something starting with __ and the normal name is an alias. */
39244 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39251 return pthread_cancel ();
39256 rm -f conftest.
$ac_objext conftest
$ac_exeext
39257 if { (ac_try
="$ac_link"
39258 case "(($ac_try" in
39259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39260 *) ac_try_echo=$ac_try;;
39262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39263 (eval "$ac_link") 2>conftest.er1
39265 grep -v '^ *+' conftest.er1 >conftest.err
39267 cat conftest.err >&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); } && {
39270 test -z "$ac_c_werror_flag" ||
39271 test ! -s conftest.err
39272 } && test -s conftest$ac_exeext &&
39273 $as_test_x conftest$ac_exeext; then
39274 ac_cv_func_pthread_cancel=yes
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39279 ac_cv_func_pthread_cancel=no
39282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39283 conftest$ac_exeext conftest.$ac_ext
39285 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39286 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39287 if test $ac_cv_func_pthread_cancel = yes; then
39288 cat >>confdefs.h <<\_ACEOF
39289 #define HAVE_PTHREAD_CANCEL 1
39293 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39294 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39298 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39299 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39300 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39301 echo $ECHO_N "(cached) $ECHO_C" >&6
39303 cat >conftest.$ac_ext <<_ACEOF
39306 cat confdefs.h >>conftest.$ac_ext
39307 cat >>conftest.$ac_ext <<_ACEOF
39308 /* end confdefs.h. */
39309 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39311 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39313 /* System header to define __stub macros and hopefully few prototypes,
39314 which can conflict with char pthread_mutex_timedlock (); below.
39315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39316 <limits.h> exists even on freestanding compilers. */
39319 # include <limits.h>
39321 # include <assert.h>
39324 #undef pthread_mutex_timedlock
39326 /* Override any GCC internal prototype to avoid an error.
39327 Use char because int might match the return type of a GCC
39328 builtin and then its argument prototype would still apply. */
39332 char pthread_mutex_timedlock ();
39333 /* The GNU C library defines this for functions which it implements
39334 to always fail with ENOSYS. Some functions are actually named
39335 something starting with __ and the normal name is an alias. */
39336 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39343 return pthread_mutex_timedlock ();
39348 rm -f conftest.$ac_objext conftest$ac_exeext
39349 if { (ac_try="$ac_link"
39350 case "(($ac_try" in
39351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39352 *) ac_try_echo
=$ac_try;;
39354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39355 (eval "$ac_link") 2>conftest.er1
39357 grep -v '^ *+' conftest.er1
>conftest.err
39359 cat conftest.err
>&5
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); } && {
39362 test -z "$ac_c_werror_flag" ||
39363 test ! -s conftest.err
39364 } && test -s conftest
$ac_exeext &&
39365 $as_test_x conftest
$ac_exeext; then
39366 ac_cv_func_pthread_mutex_timedlock
=yes
39368 echo "$as_me: failed program was:" >&5
39369 sed 's/^/| /' conftest.
$ac_ext >&5
39371 ac_cv_func_pthread_mutex_timedlock
=no
39374 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39375 conftest
$ac_exeext conftest.
$ac_ext
39377 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39378 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39379 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39380 cat >>confdefs.h
<<\_ACEOF
39381 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39385 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39386 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39390 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39391 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39392 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39395 cat >conftest.
$ac_ext <<_ACEOF
39398 cat confdefs.h
>>conftest.
$ac_ext
39399 cat >>conftest.
$ac_ext <<_ACEOF
39400 /* end confdefs.h. */
39401 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39403 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39405 /* System header to define __stub macros and hopefully few prototypes,
39406 which can conflict with char pthread_attr_setstacksize (); below.
39407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39408 <limits.h> exists even on freestanding compilers. */
39411 # include <limits.h>
39413 # include <assert.h>
39416 #undef pthread_attr_setstacksize
39418 /* Override any GCC internal prototype to avoid an error.
39419 Use char because int might match the return type of a GCC
39420 builtin and then its argument prototype would still apply. */
39424 char pthread_attr_setstacksize ();
39425 /* The GNU C library defines this for functions which it implements
39426 to always fail with ENOSYS. Some functions are actually named
39427 something starting with __ and the normal name is an alias. */
39428 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39435 return pthread_attr_setstacksize ();
39440 rm -f conftest.
$ac_objext conftest
$ac_exeext
39441 if { (ac_try
="$ac_link"
39442 case "(($ac_try" in
39443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39444 *) ac_try_echo=$ac_try;;
39446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39447 (eval "$ac_link") 2>conftest.er1
39449 grep -v '^ *+' conftest.er1 >conftest.err
39451 cat conftest.err >&5
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); } && {
39454 test -z "$ac_c_werror_flag" ||
39455 test ! -s conftest.err
39456 } && test -s conftest$ac_exeext &&
39457 $as_test_x conftest$ac_exeext; then
39458 ac_cv_func_pthread_attr_setstacksize=yes
39460 echo "$as_me: failed program was:" >&5
39461 sed 's/^/| /' conftest.$ac_ext >&5
39463 ac_cv_func_pthread_attr_setstacksize=no
39466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39467 conftest$ac_exeext conftest.$ac_ext
39469 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39470 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39471 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39472 cat >>confdefs.h <<\_ACEOF
39473 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39480 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39481 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39482 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39486 cat >conftest.$ac_ext <<_ACEOF
39489 cat confdefs.h >>conftest.$ac_ext
39490 cat >>conftest.$ac_ext <<_ACEOF
39491 /* end confdefs.h. */
39492 #include <pthread.h>
39497 pthread_mutexattr_t attr;
39498 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39504 rm -f conftest.$ac_objext
39505 if { (ac_try="$ac_compile"
39506 case "(($ac_try" in
39507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39508 *) ac_try_echo
=$ac_try;;
39510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39511 (eval "$ac_compile") 2>conftest.er1
39513 grep -v '^ *+' conftest.er1
>conftest.err
39515 cat conftest.err
>&5
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); } && {
39518 test -z "$ac_c_werror_flag" ||
39519 test ! -s conftest.err
39520 } && test -s conftest.
$ac_objext; then
39521 wx_cv_type_pthread_mutexattr_t
=yes
39523 echo "$as_me: failed program was:" >&5
39524 sed 's/^/| /' conftest.
$ac_ext >&5
39526 wx_cv_type_pthread_mutexattr_t
=no
39530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39533 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39534 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39536 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39537 cat >>confdefs.h
<<\_ACEOF
39538 #define HAVE_PTHREAD_MUTEXATTR_T 1
39542 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39543 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39544 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39545 echo $ECHO_N "(cached) $ECHO_C" >&6
39548 cat >conftest.
$ac_ext <<_ACEOF
39551 cat confdefs.h
>>conftest.
$ac_ext
39552 cat >>conftest.
$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 #include <pthread.h>
39559 pthread_mutexattr_t attr;
39560 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39566 rm -f conftest.
$ac_objext
39567 if { (ac_try
="$ac_compile"
39568 case "(($ac_try" in
39569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39570 *) ac_try_echo=$ac_try;;
39572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39573 (eval "$ac_compile") 2>conftest.er1
39575 grep -v '^ *+' conftest.er1 >conftest.err
39577 cat conftest.err >&5
39578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39579 (exit $ac_status); } && {
39580 test -z "$ac_c_werror_flag" ||
39581 test ! -s conftest.err
39582 } && test -s conftest.$ac_objext; then
39583 wx_cv_func_pthread_mutexattr_settype_decl=yes
39585 echo "$as_me: failed program was:" >&5
39586 sed 's/^/| /' conftest.$ac_ext >&5
39588 wx_cv_func_pthread_mutexattr_settype_decl=no
39592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39596 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39597 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39598 cat >>confdefs.h <<\_ACEOF
39599 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39604 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39605 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39606 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39607 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 cat >conftest.$ac_ext <<_ACEOF
39613 cat confdefs.h >>conftest.$ac_ext
39614 cat >>conftest.$ac_ext <<_ACEOF
39615 /* end confdefs.h. */
39616 #include <pthread.h>
39621 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39627 rm -f conftest.$ac_objext
39628 if { (ac_try="$ac_compile"
39629 case "(($ac_try" in
39630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39631 *) ac_try_echo
=$ac_try;;
39633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39634 (eval "$ac_compile") 2>conftest.er1
39636 grep -v '^ *+' conftest.er1
>conftest.err
39638 cat conftest.err
>&5
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); } && {
39641 test -z "$ac_c_werror_flag" ||
39642 test ! -s conftest.err
39643 } && test -s conftest.
$ac_objext; then
39645 wx_cv_type_pthread_rec_mutex_init
=yes
39648 echo "$as_me: failed program was:" >&5
39649 sed 's/^/| /' conftest.
$ac_ext >&5
39652 wx_cv_type_pthread_rec_mutex_init
=no
39657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39660 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39661 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39662 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39663 cat >>confdefs.h
<<\_ACEOF
39664 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39668 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39669 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39675 if test "$wxUSE_THREADS" = "yes" ; then
39678 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39679 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39680 if test "${wx_cv_cflags_mthread+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 CFLAGS_OLD
="$CFLAGS"
39685 CFLAGS
="-mthreads $CFLAGS"
39686 cat >conftest.
$ac_ext <<_ACEOF
39689 cat confdefs.h
>>conftest.
$ac_ext
39690 cat >>conftest.
$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39701 rm -f conftest.
$ac_objext
39702 if { (ac_try
="$ac_compile"
39703 case "(($ac_try" in
39704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39705 *) ac_try_echo=$ac_try;;
39707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39708 (eval "$ac_compile") 2>conftest.er1
39710 grep -v '^ *+' conftest.er1 >conftest.err
39712 cat conftest.err >&5
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); } && {
39715 test -z "$ac_c_werror_flag" ||
39716 test ! -s conftest.err
39717 } && test -s conftest.$ac_objext; then
39718 wx_cv_cflags_mthread=yes
39720 echo "$as_me: failed program was:" >&5
39721 sed 's/^/| /' conftest.$ac_ext >&5
39723 wx_cv_cflags_mthread=no
39727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39731 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39732 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39734 if test "$wx_cv_cflags_mthread" = "yes"; then
39735 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39736 LDFLAGS="$LDFLAGS -mthreads"
39738 CFLAGS="$CFLAGS_OLD"
39742 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39743 LDFLAGS="$LDFLAGS -Zmt"
39749 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39750 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39751 if test "${ac_cv_func_localtime_r+set}" = set; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 cat >conftest.$ac_ext <<_ACEOF
39757 cat confdefs.h >>conftest.$ac_ext
39758 cat >>conftest.$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39762 #define localtime_r innocuous_localtime_r
39764 /* System header to define __stub macros and hopefully few prototypes,
39765 which can conflict with char localtime_r (); below.
39766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39767 <limits.h> exists even on freestanding compilers. */
39770 # include <limits.h>
39772 # include <assert.h>
39777 /* Override any GCC internal prototype to avoid an error.
39778 Use char because int might match the return type of a GCC
39779 builtin and then its argument prototype would still apply. */
39783 char localtime_r ();
39784 /* The GNU C library defines this for functions which it implements
39785 to always fail with ENOSYS. Some functions are actually named
39786 something starting with __ and the normal name is an alias. */
39787 #if defined __stub_localtime_r || defined __stub___localtime_r
39794 return localtime_r ();
39799 rm -f conftest.$ac_objext conftest$ac_exeext
39800 if { (ac_try="$ac_link"
39801 case "(($ac_try" in
39802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39803 *) ac_try_echo
=$ac_try;;
39805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39806 (eval "$ac_link") 2>conftest.er1
39808 grep -v '^ *+' conftest.er1
>conftest.err
39810 cat conftest.err
>&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } && {
39813 test -z "$ac_c_werror_flag" ||
39814 test ! -s conftest.err
39815 } && test -s conftest
$ac_exeext &&
39816 $as_test_x conftest
$ac_exeext; then
39817 ac_cv_func_localtime_r
=yes
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.
$ac_ext >&5
39822 ac_cv_func_localtime_r
=no
39825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39826 conftest
$ac_exeext conftest.
$ac_ext
39828 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39829 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39830 if test $ac_cv_func_localtime_r = yes; then
39831 cat >>confdefs.h
<<\_ACEOF
39832 #define HAVE_LOCALTIME_R 1
39837 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39838 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39839 if test "${ac_cv_func_gmtime_r+set}" = set; then
39840 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 cat >conftest.
$ac_ext <<_ACEOF
39845 cat confdefs.h
>>conftest.
$ac_ext
39846 cat >>conftest.
$ac_ext <<_ACEOF
39847 /* end confdefs.h. */
39848 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39850 #define gmtime_r innocuous_gmtime_r
39852 /* System header to define __stub macros and hopefully few prototypes,
39853 which can conflict with char gmtime_r (); below.
39854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39855 <limits.h> exists even on freestanding compilers. */
39858 # include <limits.h>
39860 # include <assert.h>
39865 /* Override any GCC internal prototype to avoid an error.
39866 Use char because int might match the return type of a GCC
39867 builtin and then its argument prototype would still apply. */
39872 /* The GNU C library defines this for functions which it implements
39873 to always fail with ENOSYS. Some functions are actually named
39874 something starting with __ and the normal name is an alias. */
39875 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39882 return gmtime_r ();
39887 rm -f conftest.
$ac_objext conftest
$ac_exeext
39888 if { (ac_try
="$ac_link"
39889 case "(($ac_try" in
39890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39891 *) ac_try_echo=$ac_try;;
39893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39894 (eval "$ac_link") 2>conftest.er1
39896 grep -v '^ *+' conftest.er1 >conftest.err
39898 cat conftest.err >&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } && {
39901 test -z "$ac_c_werror_flag" ||
39902 test ! -s conftest.err
39903 } && test -s conftest$ac_exeext &&
39904 $as_test_x conftest$ac_exeext; then
39905 ac_cv_func_gmtime_r=yes
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.$ac_ext >&5
39910 ac_cv_func_gmtime_r=no
39913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39914 conftest$ac_exeext conftest.$ac_ext
39916 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39917 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39918 if test $ac_cv_func_gmtime_r = yes; then
39919 cat >>confdefs.h <<\_ACEOF
39920 #define HAVE_GMTIME_R 1
39929 ac_cpp='$CPP $CPPFLAGS'
39930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39934 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39935 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39937 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39938 echo $ECHO_N "(cached) $ECHO_C" >&6
39942 ################################################################
39944 ac_cv_func_which_gethostbyname_r=unknown
39947 # ONE ARGUMENT (sanity check)
39950 # This should fail, as there is no variant of gethostbyname_r() that takes
39951 # a single argument. If it actually compiles, then we can assume that
39952 # netdb.h is not declaring the function, and the compiler is thereby
39953 # assuming an implicit prototype. In which case, we're out of luck.
39955 cat >conftest.$ac_ext <<_ACEOF
39958 cat confdefs.h >>conftest.$ac_ext
39959 cat >>conftest.$ac_ext <<_ACEOF
39960 /* end confdefs.h. */
39966 char *name = "www.gnu.org";
39967 (void)gethostbyname_r(name) /* ; */
39973 rm -f conftest.$ac_objext
39974 if { (ac_try="$ac_compile"
39975 case "(($ac_try" in
39976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39977 *) ac_try_echo
=$ac_try;;
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_compile") 2>conftest.er1
39982 grep -v '^ *+' conftest.er1
>conftest.err
39984 cat conftest.err
>&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_c_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest.
$ac_objext; then
39990 ac_cv_func_which_gethostbyname_r
=no
39992 echo "$as_me: failed program was:" >&5
39993 sed 's/^/| /' conftest.
$ac_ext >&5
39998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40005 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40007 cat >conftest.
$ac_ext <<_ACEOF
40010 cat confdefs.h
>>conftest.
$ac_ext
40011 cat >>conftest.
$ac_ext <<_ACEOF
40012 /* end confdefs.h. */
40018 char *name = "www.gnu.org";
40019 struct hostent ret, *retp;
40023 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40029 rm -f conftest.
$ac_objext
40030 if { (ac_try
="$ac_compile"
40031 case "(($ac_try" in
40032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40033 *) ac_try_echo=$ac_try;;
40035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40036 (eval "$ac_compile") 2>conftest.er1
40038 grep -v '^ *+' conftest.er1 >conftest.err
40040 cat conftest.err >&5
40041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40042 (exit $ac_status); } && {
40043 test -z "$ac_c_werror_flag" ||
40044 test ! -s conftest.err
40045 } && test -s conftest.$ac_objext; then
40046 ac_cv_func_which_gethostbyname_r=six
40048 echo "$as_me: failed program was:" >&5
40049 sed 's/^/| /' conftest.$ac_ext >&5
40054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40063 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40065 cat >conftest.$ac_ext <<_ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40076 char *name = "www.gnu.org";
40077 struct hostent ret;
40081 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40087 rm -f conftest.$ac_objext
40088 if { (ac_try="$ac_compile"
40089 case "(($ac_try" in
40090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40091 *) ac_try_echo
=$ac_try;;
40093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40094 (eval "$ac_compile") 2>conftest.er1
40096 grep -v '^ *+' conftest.er1
>conftest.err
40098 cat conftest.err
>&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } && {
40101 test -z "$ac_c_werror_flag" ||
40102 test ! -s conftest.err
40103 } && test -s conftest.
$ac_objext; then
40104 ac_cv_func_which_gethostbyname_r
=five
40106 echo "$as_me: failed program was:" >&5
40107 sed 's/^/| /' conftest.
$ac_ext >&5
40112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40118 # (e.g. AIX, HP-UX, Tru64)
40121 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40123 cat >conftest.
$ac_ext <<_ACEOF
40126 cat confdefs.h
>>conftest.
$ac_ext
40127 cat >>conftest.
$ac_ext <<_ACEOF
40128 /* end confdefs.h. */
40134 char *name = "www.gnu.org";
40135 struct hostent ret;
40136 struct hostent_data data;
40137 (void)gethostbyname_r(name, &ret, &data) /* ; */
40143 rm -f conftest.
$ac_objext
40144 if { (ac_try
="$ac_compile"
40145 case "(($ac_try" in
40146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40147 *) ac_try_echo=$ac_try;;
40149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40150 (eval "$ac_compile") 2>conftest.er1
40152 grep -v '^ *+' conftest.er1 >conftest.err
40154 cat conftest.err >&5
40155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40156 (exit $ac_status); } && {
40157 test -z "$ac_c_werror_flag" ||
40158 test ! -s conftest.err
40159 } && test -s conftest.$ac_objext; then
40160 ac_cv_func_which_gethostbyname_r=three
40162 echo "$as_me: failed program was:" >&5
40163 sed 's/^/| /' conftest.$ac_ext >&5
40168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40172 ################################################################
40177 case "$ac_cv_func_which_gethostbyname_r" in
40179 { echo "$as_me:$LINENO: result: three" >&5
40180 echo "${ECHO_T}three" >&6; }
40181 cat >>confdefs.h <<\_ACEOF
40182 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40188 { echo "$as_me:$LINENO: result: five" >&5
40189 echo "${ECHO_T}five" >&6; }
40190 cat >>confdefs.h <<\_ACEOF
40191 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40197 { echo "$as_me:$LINENO: result: six" >&5
40198 echo "${ECHO_T}six" >&6; }
40199 cat >>confdefs.h <<\_ACEOF
40200 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40206 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40207 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40211 { echo "$as_me:$LINENO: result: can't tell" >&5
40212 echo "${ECHO_T}can't tell" >&6; }
40216 { { echo "$as_me:$LINENO: error: internal error" >&5
40217 echo "$as_me: error: internal error" >&2;}
40218 { (exit 1); exit 1; }; }
40223 ac_cpp='$CPP $CPPFLAGS'
40224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40231 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40232 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40233 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40234 if test "${ac_cv_func_gethostbyname+set}" = set; then
40235 echo $ECHO_N "(cached) $ECHO_C" >&6
40237 cat >conftest.$ac_ext <<_ACEOF
40240 cat confdefs.h >>conftest.$ac_ext
40241 cat >>conftest.$ac_ext <<_ACEOF
40242 /* end confdefs.h. */
40243 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40245 #define gethostbyname innocuous_gethostbyname
40247 /* System header to define __stub macros and hopefully few prototypes,
40248 which can conflict with char gethostbyname (); below.
40249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40250 <limits.h> exists even on freestanding compilers. */
40253 # include <limits.h>
40255 # include <assert.h>
40258 #undef gethostbyname
40260 /* Override any GCC internal prototype to avoid an error.
40261 Use char because int might match the return type of a GCC
40262 builtin and then its argument prototype would still apply. */
40266 char gethostbyname ();
40267 /* The GNU C library defines this for functions which it implements
40268 to always fail with ENOSYS. Some functions are actually named
40269 something starting with __ and the normal name is an alias. */
40270 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40277 return gethostbyname ();
40282 rm -f conftest.$ac_objext conftest$ac_exeext
40283 if { (ac_try="$ac_link"
40284 case "(($ac_try" in
40285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40286 *) ac_try_echo
=$ac_try;;
40288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40289 (eval "$ac_link") 2>conftest.er1
40291 grep -v '^ *+' conftest.er1
>conftest.err
40293 cat conftest.err
>&5
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); } && {
40296 test -z "$ac_c_werror_flag" ||
40297 test ! -s conftest.err
40298 } && test -s conftest
$ac_exeext &&
40299 $as_test_x conftest
$ac_exeext; then
40300 ac_cv_func_gethostbyname
=yes
40302 echo "$as_me: failed program was:" >&5
40303 sed 's/^/| /' conftest.
$ac_ext >&5
40305 ac_cv_func_gethostbyname
=no
40308 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40309 conftest
$ac_exeext conftest.
$ac_ext
40311 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40312 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40313 if test $ac_cv_func_gethostbyname = yes; then
40314 cat >>confdefs.h
<<\_ACEOF
40315 #define HAVE_GETHOSTBYNAME 1
40322 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40323 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40324 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40325 echo $ECHO_N "(cached) $ECHO_C" >&6
40329 ac_cpp
='$CXXCPP $CPPFLAGS'
40330 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40335 cat >conftest.
$ac_ext <<_ACEOF
40338 cat confdefs.h
>>conftest.
$ac_ext
40339 cat >>conftest.
$ac_ext <<_ACEOF
40340 /* end confdefs.h. */
40348 struct servent *se, *res;
40351 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40357 rm -f conftest.
$ac_objext
40358 if { (ac_try
="$ac_compile"
40359 case "(($ac_try" in
40360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40361 *) ac_try_echo=$ac_try;;
40363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40364 (eval "$ac_compile") 2>conftest.er1
40366 grep -v '^ *+' conftest.er1 >conftest.err
40368 cat conftest.err >&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); } && {
40371 test -z "$ac_cxx_werror_flag" ||
40372 test ! -s conftest.err
40373 } && test -s conftest.$ac_objext; then
40374 ac_cv_func_which_getservbyname_r=six
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40380 cat >conftest.$ac_ext <<_ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40393 struct servent *se;
40396 (void) getservbyname_r(name, proto, se, buffer, buflen)
40402 rm -f conftest.$ac_objext
40403 if { (ac_try="$ac_compile"
40404 case "(($ac_try" in
40405 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40406 *) ac_try_echo
=$ac_try;;
40408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40409 (eval "$ac_compile") 2>conftest.er1
40411 grep -v '^ *+' conftest.er1
>conftest.err
40413 cat conftest.err
>&5
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); } && {
40416 test -z "$ac_cxx_werror_flag" ||
40417 test ! -s conftest.err
40418 } && test -s conftest.
$ac_objext; then
40419 ac_cv_func_which_getservbyname_r
=five
40421 echo "$as_me: failed program was:" >&5
40422 sed 's/^/| /' conftest.
$ac_ext >&5
40425 cat >conftest.
$ac_ext <<_ACEOF
40428 cat confdefs.h
>>conftest.
$ac_ext
40429 cat >>conftest.
$ac_ext <<_ACEOF
40430 /* end confdefs.h. */
40438 struct servent *se;
40439 struct servent_data data;
40440 (void) getservbyname_r(name, proto, se, &data);
40446 rm -f conftest.
$ac_objext
40447 if { (ac_try
="$ac_compile"
40448 case "(($ac_try" in
40449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40450 *) ac_try_echo=$ac_try;;
40452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40453 (eval "$ac_compile") 2>conftest.er1
40455 grep -v '^ *+' conftest.er1 >conftest.err
40457 cat conftest.err >&5
40458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40459 (exit $ac_status); } && {
40460 test -z "$ac_cxx_werror_flag" ||
40461 test ! -s conftest.err
40462 } && test -s conftest.$ac_objext; then
40463 ac_cv_func_which_getservbyname_r=four
40465 echo "$as_me: failed program was:" >&5
40466 sed 's/^/| /' conftest.$ac_ext >&5
40468 ac_cv_func_which_getservbyname_r=no
40472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40484 ac_cpp='$CPP $CPPFLAGS'
40485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40492 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40493 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40495 if test $ac_cv_func_which_getservbyname_r = six; then
40496 cat >>confdefs.h <<\_ACEOF
40497 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40500 elif test $ac_cv_func_which_getservbyname_r = five; then
40501 cat >>confdefs.h <<\_ACEOF
40502 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40505 elif test $ac_cv_func_which_getservbyname_r = four; then
40506 cat >>confdefs.h <<\_ACEOF
40507 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40513 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40514 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40516 for ac_func in getservbyname
40518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40519 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40521 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40522 echo $ECHO_N "(cached) $ECHO_C" >&6
40524 cat >conftest.$ac_ext <<_ACEOF
40527 cat confdefs.h >>conftest.$ac_ext
40528 cat >>conftest.$ac_ext <<_ACEOF
40529 /* end confdefs.h. */
40530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40532 #define $ac_func innocuous_$ac_func
40534 /* System header to define __stub macros and hopefully few prototypes,
40535 which can conflict with char $ac_func (); below.
40536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40537 <limits.h> exists even on freestanding compilers. */
40540 # include <limits.h>
40542 # include <assert.h>
40547 /* Override any GCC internal prototype to avoid an error.
40548 Use char because int might match the return type of a GCC
40549 builtin and then its argument prototype would still apply. */
40554 /* The GNU C library defines this for functions which it implements
40555 to always fail with ENOSYS. Some functions are actually named
40556 something starting with __ and the normal name is an alias. */
40557 #if defined __stub_$ac_func || defined __stub___$ac_func
40564 return $ac_func ();
40569 rm -f conftest.$ac_objext conftest$ac_exeext
40570 if { (ac_try="$ac_link"
40571 case "(($ac_try" in
40572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40573 *) ac_try_echo
=$ac_try;;
40575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40576 (eval "$ac_link") 2>conftest.er1
40578 grep -v '^ *+' conftest.er1
>conftest.err
40580 cat conftest.err
>&5
40581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40582 (exit $ac_status); } && {
40583 test -z "$ac_c_werror_flag" ||
40584 test ! -s conftest.err
40585 } && test -s conftest
$ac_exeext &&
40586 $as_test_x conftest
$ac_exeext; then
40587 eval "$as_ac_var=yes"
40589 echo "$as_me: failed program was:" >&5
40590 sed 's/^/| /' conftest.
$ac_ext >&5
40592 eval "$as_ac_var=no"
40595 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40596 conftest
$ac_exeext conftest.
$ac_ext
40598 ac_res
=`eval echo '${'$as_ac_var'}'`
40599 { echo "$as_me:$LINENO: result: $ac_res" >&5
40600 echo "${ECHO_T}$ac_res" >&6; }
40601 if test `eval echo '${'$as_ac_var'}'` = yes; then
40602 cat >>confdefs.h
<<_ACEOF
40603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40605 cat >>confdefs.h
<<\_ACEOF
40606 #define HAVE_GETSERVBYNAME 1
40614 if test "$wxUSE_THREADS" = "yes"; then
40615 cat >>confdefs.h
<<\_ACEOF
40616 #define wxUSE_THREADS 1
40620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40622 if test "$wx_cv_func_strtok_r" = "yes"; then
40623 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40624 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40625 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40626 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40627 { echo "$as_me:$LINENO: result: yes" >&5
40628 echo "${ECHO_T}yes" >&6; }
40630 { echo "$as_me:$LINENO: result: no" >&5
40631 echo "${ECHO_T}no" >&6; }
40636 if test "$WXGTK2" = 1 ; then
40637 cat >>confdefs.h
<<_ACEOF
40638 #define __WXGTK20__ $WXGTK2
40644 if test "$WXGTK12" = 1 ; then
40645 cat >>confdefs.h
<<_ACEOF
40646 #define __WXGTK12__ $WXGTK12
40651 if test "$WXGTK127" = 1 ; then
40652 cat >>confdefs.h
<<_ACEOF
40653 #define __WXGTK127__ $WXGTK127
40658 if test "$WXGPE" = 1 ; then
40659 cat >>confdefs.h
<<_ACEOF
40660 #define __WXGPE__ $WXGPE
40666 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40671 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40672 wxUSE_DEBUG_INFO
=yes
40673 if test "$GCC" = yes; then
40674 DEBUG_CFLAGS
="-ggdb"
40678 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40679 cat >>confdefs.h
<<\_ACEOF
40683 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40685 if test "$wxUSE_GTK" = 1 ; then
40686 if test "x$wxGTK_VERSION" = "x1" ; then
40687 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40692 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40693 cat >>confdefs.h
<<\_ACEOF
40694 #define wxUSE_MEMORY_TRACING 1
40697 cat >>confdefs.h
<<\_ACEOF
40698 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40701 cat >>confdefs.h
<<\_ACEOF
40702 #define wxUSE_DEBUG_NEW_ALWAYS 1
40705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40708 if test "$wxUSE_DMALLOC" = "yes" ; then
40709 DMALLOC_LIBS
="-ldmallocthcxx"
40713 if test "$wxUSE_PROFILE" = "yes" ; then
40714 PROFILE_FLAGS
=" -pg"
40717 if test "$GCC" = "yes" ; then
40718 if test "$wxUSE_NO_RTTI" = "yes" ; then
40719 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40721 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40722 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40724 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40725 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40730 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40733 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40739 if test "$wxUSE_OPTIMISE" = "no" ; then
40740 if test "$GCC" = yes ; then
40741 OPTIMISE_CFLAGS
="-O0"
40744 if test "$GCC" = yes ; then
40746 *-pc-os2_emx | *-pc-os2-emx )
40747 OPTIMISE_CFLAGS
="-O2"
40750 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40754 OPTIMISE_CFLAGS
="-O"
40759 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40760 cat >>confdefs.h
<<\_ACEOF
40761 #define WXWIN_COMPATIBILITY_2_6 1
40765 WXWIN_COMPATIBILITY_2_8
="yes"
40768 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40769 cat >>confdefs.h
<<\_ACEOF
40770 #define WXWIN_COMPATIBILITY_2_8 1
40776 if test "$wxUSE_GUI" = "yes"; then
40777 cat >>confdefs.h
<<\_ACEOF
40778 #define wxUSE_GUI 1
40785 if test "$wxUSE_UNIX" = "yes"; then
40786 cat >>confdefs.h
<<\_ACEOF
40787 #define wxUSE_UNIX 1
40793 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40797 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40798 if test "$USE_DARWIN" = 1; then
40800 elif test "$USE_DOS" = 1; then
40804 for ac_func
in dlopen
40806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40807 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40809 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40810 echo $ECHO_N "(cached) $ECHO_C" >&6
40812 cat >conftest.
$ac_ext <<_ACEOF
40815 cat confdefs.h
>>conftest.
$ac_ext
40816 cat >>conftest.
$ac_ext <<_ACEOF
40817 /* end confdefs.h. */
40818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40820 #define $ac_func innocuous_$ac_func
40822 /* System header to define __stub macros and hopefully few prototypes,
40823 which can conflict with char $ac_func (); below.
40824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40825 <limits.h> exists even on freestanding compilers. */
40828 # include <limits.h>
40830 # include <assert.h>
40835 /* Override any GCC internal prototype to avoid an error.
40836 Use char because int might match the return type of a GCC
40837 builtin and then its argument prototype would still apply. */
40842 /* The GNU C library defines this for functions which it implements
40843 to always fail with ENOSYS. Some functions are actually named
40844 something starting with __ and the normal name is an alias. */
40845 #if defined __stub_$ac_func || defined __stub___$ac_func
40852 return $ac_func ();
40857 rm -f conftest.
$ac_objext conftest
$ac_exeext
40858 if { (ac_try
="$ac_link"
40859 case "(($ac_try" in
40860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40861 *) ac_try_echo=$ac_try;;
40863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40864 (eval "$ac_link") 2>conftest.er1
40866 grep -v '^ *+' conftest.er1 >conftest.err
40868 cat conftest.err >&5
40869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40870 (exit $ac_status); } && {
40871 test -z "$ac_c_werror_flag" ||
40872 test ! -s conftest.err
40873 } && test -s conftest$ac_exeext &&
40874 $as_test_x conftest$ac_exeext; then
40875 eval "$as_ac_var=yes"
40877 echo "$as_me: failed program was:" >&5
40878 sed 's/^/| /' conftest.$ac_ext >&5
40880 eval "$as_ac_var=no"
40883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40884 conftest$ac_exeext conftest.$ac_ext
40886 ac_res=`eval echo '${'$as_ac_var'}'`
40887 { echo "$as_me:$LINENO: result: $ac_res" >&5
40888 echo "${ECHO_T}$ac_res" >&6; }
40889 if test `eval echo '${'$as_ac_var'}'` = yes; then
40890 cat >>confdefs.h <<_ACEOF
40891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40894 cat >>confdefs.h <<\_ACEOF
40895 #define HAVE_DLOPEN 1
40902 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40903 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40904 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40905 echo $ECHO_N "(cached) $ECHO_C" >&6
40907 ac_check_lib_save_LIBS=$LIBS
40909 cat >conftest.$ac_ext <<_ACEOF
40912 cat confdefs.h >>conftest.$ac_ext
40913 cat >>conftest.$ac_ext <<_ACEOF
40914 /* end confdefs.h. */
40916 /* Override any GCC internal prototype to avoid an error.
40917 Use char because int might match the return type of a GCC
40918 builtin and then its argument prototype would still apply. */
40931 rm -f conftest.$ac_objext conftest$ac_exeext
40932 if { (ac_try="$ac_link"
40933 case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40935 *) ac_try_echo
=$ac_try;;
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_link") 2>conftest.er1
40940 grep -v '^ *+' conftest.er1
>conftest.err
40942 cat conftest.err
>&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); } && {
40945 test -z "$ac_c_werror_flag" ||
40946 test ! -s conftest.err
40947 } && test -s conftest
$ac_exeext &&
40948 $as_test_x conftest
$ac_exeext; then
40949 ac_cv_lib_dl_dlopen
=yes
40951 echo "$as_me: failed program was:" >&5
40952 sed 's/^/| /' conftest.
$ac_ext >&5
40954 ac_cv_lib_dl_dlopen
=no
40957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40958 conftest
$ac_exeext conftest.
$ac_ext
40959 LIBS
=$ac_check_lib_save_LIBS
40961 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40962 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40963 if test $ac_cv_lib_dl_dlopen = yes; then
40965 cat >>confdefs.h
<<\_ACEOF
40966 #define HAVE_DLOPEN 1
40970 DL_LINK
=" -ldl$DL_LINK"
40975 for ac_func
in shl_load
40977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40978 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40980 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40981 echo $ECHO_N "(cached) $ECHO_C" >&6
40983 cat >conftest.
$ac_ext <<_ACEOF
40986 cat confdefs.h
>>conftest.
$ac_ext
40987 cat >>conftest.
$ac_ext <<_ACEOF
40988 /* end confdefs.h. */
40989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40991 #define $ac_func innocuous_$ac_func
40993 /* System header to define __stub macros and hopefully few prototypes,
40994 which can conflict with char $ac_func (); below.
40995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40996 <limits.h> exists even on freestanding compilers. */
40999 # include <limits.h>
41001 # include <assert.h>
41006 /* Override any GCC internal prototype to avoid an error.
41007 Use char because int might match the return type of a GCC
41008 builtin and then its argument prototype would still apply. */
41013 /* The GNU C library defines this for functions which it implements
41014 to always fail with ENOSYS. Some functions are actually named
41015 something starting with __ and the normal name is an alias. */
41016 #if defined __stub_$ac_func || defined __stub___$ac_func
41023 return $ac_func ();
41028 rm -f conftest.
$ac_objext conftest
$ac_exeext
41029 if { (ac_try
="$ac_link"
41030 case "(($ac_try" in
41031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41032 *) ac_try_echo=$ac_try;;
41034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41035 (eval "$ac_link") 2>conftest.er1
41037 grep -v '^ *+' conftest.er1 >conftest.err
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } && {
41042 test -z "$ac_c_werror_flag" ||
41043 test ! -s conftest.err
41044 } && test -s conftest$ac_exeext &&
41045 $as_test_x conftest$ac_exeext; then
41046 eval "$as_ac_var=yes"
41048 echo "$as_me: failed program was:" >&5
41049 sed 's/^/| /' conftest.$ac_ext >&5
41051 eval "$as_ac_var=no"
41054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41055 conftest$ac_exeext conftest.$ac_ext
41057 ac_res=`eval echo '${'$as_ac_var'}'`
41058 { echo "$as_me:$LINENO: result: $ac_res" >&5
41059 echo "${ECHO_T}$ac_res" >&6; }
41060 if test `eval echo '${'$as_ac_var'}'` = yes; then
41061 cat >>confdefs.h <<_ACEOF
41062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41065 cat >>confdefs.h <<\_ACEOF
41066 #define HAVE_SHL_LOAD 1
41073 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41074 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41075 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41076 echo $ECHO_N "(cached) $ECHO_C" >&6
41078 ac_check_lib_save_LIBS=$LIBS
41079 LIBS="-lshl_load $LIBS"
41080 cat >conftest.$ac_ext <<_ACEOF
41083 cat confdefs.h >>conftest.$ac_ext
41084 cat >>conftest.$ac_ext <<_ACEOF
41085 /* end confdefs.h. */
41087 /* Override any GCC internal prototype to avoid an error.
41088 Use char because int might match the return type of a GCC
41089 builtin and then its argument prototype would still apply. */
41102 rm -f conftest.$ac_objext conftest$ac_exeext
41103 if { (ac_try="$ac_link"
41104 case "(($ac_try" in
41105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41106 *) ac_try_echo
=$ac_try;;
41108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41109 (eval "$ac_link") 2>conftest.er1
41111 grep -v '^ *+' conftest.er1
>conftest.err
41113 cat conftest.err
>&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && {
41116 test -z "$ac_c_werror_flag" ||
41117 test ! -s conftest.err
41118 } && test -s conftest
$ac_exeext &&
41119 $as_test_x conftest
$ac_exeext; then
41120 ac_cv_lib_shl_load_dld
=yes
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.
$ac_ext >&5
41125 ac_cv_lib_shl_load_dld
=no
41128 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41129 conftest
$ac_exeext conftest.
$ac_ext
41130 LIBS
=$ac_check_lib_save_LIBS
41132 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41133 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41134 if test $ac_cv_lib_shl_load_dld = yes; then
41137 DL_LINK
=" -ldld$DL_LINK"
41153 if test "$HAVE_DL_FUNCS" = 1; then
41155 for ac_func
in dlerror
41157 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41160 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41161 echo $ECHO_N "(cached) $ECHO_C" >&6
41163 cat >conftest.
$ac_ext <<_ACEOF
41166 cat confdefs.h
>>conftest.
$ac_ext
41167 cat >>conftest.
$ac_ext <<_ACEOF
41168 /* end confdefs.h. */
41169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41171 #define $ac_func innocuous_$ac_func
41173 /* System header to define __stub macros and hopefully few prototypes,
41174 which can conflict with char $ac_func (); below.
41175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41176 <limits.h> exists even on freestanding compilers. */
41179 # include <limits.h>
41181 # include <assert.h>
41186 /* Override any GCC internal prototype to avoid an error.
41187 Use char because int might match the return type of a GCC
41188 builtin and then its argument prototype would still apply. */
41193 /* The GNU C library defines this for functions which it implements
41194 to always fail with ENOSYS. Some functions are actually named
41195 something starting with __ and the normal name is an alias. */
41196 #if defined __stub_$ac_func || defined __stub___$ac_func
41203 return $ac_func ();
41208 rm -f conftest.
$ac_objext conftest
$ac_exeext
41209 if { (ac_try
="$ac_link"
41210 case "(($ac_try" in
41211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41212 *) ac_try_echo=$ac_try;;
41214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41215 (eval "$ac_link") 2>conftest.er1
41217 grep -v '^ *+' conftest.er1 >conftest.err
41219 cat conftest.err >&5
41220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41221 (exit $ac_status); } && {
41222 test -z "$ac_c_werror_flag" ||
41223 test ! -s conftest.err
41224 } && test -s conftest$ac_exeext &&
41225 $as_test_x conftest$ac_exeext; then
41226 eval "$as_ac_var=yes"
41228 echo "$as_me: failed program was:" >&5
41229 sed 's/^/| /' conftest.$ac_ext >&5
41231 eval "$as_ac_var=no"
41234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41235 conftest$ac_exeext conftest.$ac_ext
41237 ac_res=`eval echo '${'$as_ac_var'}'`
41238 { echo "$as_me:$LINENO: result: $ac_res" >&5
41239 echo "${ECHO_T}$ac_res" >&6; }
41240 if test `eval echo '${'$as_ac_var'}'` = yes; then
41241 cat >>confdefs.h <<_ACEOF
41242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41244 cat >>confdefs.h <<\_ACEOF
41245 #define HAVE_DLERROR 1
41250 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41251 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41252 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41253 echo $ECHO_N "(cached) $ECHO_C" >&6
41255 ac_check_lib_save_LIBS=$LIBS
41257 cat >conftest.$ac_ext <<_ACEOF
41260 cat confdefs.h >>conftest.$ac_ext
41261 cat >>conftest.$ac_ext <<_ACEOF
41262 /* end confdefs.h. */
41264 /* Override any GCC internal prototype to avoid an error.
41265 Use char because int might match the return type of a GCC
41266 builtin and then its argument prototype would still apply. */
41279 rm -f conftest.$ac_objext conftest$ac_exeext
41280 if { (ac_try="$ac_link"
41281 case "(($ac_try" in
41282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41283 *) ac_try_echo
=$ac_try;;
41285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41286 (eval "$ac_link") 2>conftest.er1
41288 grep -v '^ *+' conftest.er1
>conftest.err
41290 cat conftest.err
>&5
41291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292 (exit $ac_status); } && {
41293 test -z "$ac_c_werror_flag" ||
41294 test ! -s conftest.err
41295 } && test -s conftest
$ac_exeext &&
41296 $as_test_x conftest
$ac_exeext; then
41297 ac_cv_lib_dl_dlerror
=yes
41299 echo "$as_me: failed program was:" >&5
41300 sed 's/^/| /' conftest.
$ac_ext >&5
41302 ac_cv_lib_dl_dlerror
=no
41305 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41306 conftest
$ac_exeext conftest.
$ac_ext
41307 LIBS
=$ac_check_lib_save_LIBS
41309 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41310 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41311 if test $ac_cv_lib_dl_dlerror = yes; then
41312 cat >>confdefs.h
<<\_ACEOF
41313 #define HAVE_DLERROR 1
41326 if test "$HAVE_DL_FUNCS" = 0; then
41327 if test "$HAVE_SHL_FUNCS" = 0; then
41328 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41329 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41330 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41331 wxUSE_DYNAMIC_LOADER
=no
41332 wxUSE_DYNLIB_CLASS
=no
41334 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41335 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41342 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41343 cat >>confdefs.h
<<\_ACEOF
41344 #define wxUSE_DYNAMIC_LOADER 1
41348 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41349 cat >>confdefs.h
<<\_ACEOF
41350 #define wxUSE_DYNLIB_CLASS 1
41357 if test "$wxUSE_PLUGINS" = "yes" ; then
41358 if test "$wxUSE_SHARED" = "no" ; then
41359 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41360 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41363 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41364 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41365 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41368 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41369 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41370 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41373 if test "$wxUSE_PLUGINS" = "yes" ; then
41374 cat >>confdefs.h
<<\_ACEOF
41375 #define wxUSE_PLUGINS 1
41382 if test "$wxUSE_STL" = "yes"; then
41383 cat >>confdefs.h
<<\_ACEOF
41384 #define wxUSE_STL 1
41389 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41390 cat >>confdefs.h
<<\_ACEOF
41391 #define wxUSE_EXTENDED_RTTI 1
41396 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41397 cat >>confdefs.h
<<\_ACEOF
41398 #define wxUSE_APPLE_IEEE 1
41403 if test "$wxUSE_TIMER" = "yes"; then
41404 cat >>confdefs.h
<<\_ACEOF
41405 #define wxUSE_TIMER 1
41410 if test "$USE_UNIX" = 1 ; then
41411 if test "$wxUSE_MGL" != 1; then
41412 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41413 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41414 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41415 echo $ECHO_N "(cached) $ECHO_C" >&6
41418 cat >conftest.
$ac_ext <<_ACEOF
41421 cat confdefs.h
>>conftest.
$ac_ext
41422 cat >>conftest.
$ac_ext <<_ACEOF
41423 /* end confdefs.h. */
41425 #include <sys/ioctl.h>
41426 #include <sys/soundcard.h>
41432 ioctl(0, SNDCTL_DSP_SPEED, 0);
41438 rm -f conftest.
$ac_objext conftest
$ac_exeext
41439 if { (ac_try
="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>conftest.er1
41447 grep -v '^ *+' conftest.er1 >conftest.err
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } && {
41452 test -z "$ac_c_werror_flag" ||
41453 test ! -s conftest.err
41454 } && test -s conftest$ac_exeext &&
41455 $as_test_x conftest$ac_exeext; then
41456 ac_cv_header_sys_soundcard=yes
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41463 LIBS="$saveLibs -lossaudio"
41464 cat >conftest.$ac_ext <<_ACEOF
41467 cat confdefs.h >>conftest.$ac_ext
41468 cat >>conftest.$ac_ext <<_ACEOF
41469 /* end confdefs.h. */
41471 #include <sys/ioctl.h>
41472 #include <sys/soundcard.h>
41478 ioctl(0, SNDCTL_DSP_SPEED, 0);
41484 rm -f conftest.$ac_objext conftest$ac_exeext
41485 if { (ac_try="$ac_link"
41486 case "(($ac_try" in
41487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41488 *) ac_try_echo
=$ac_try;;
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_link") 2>conftest.er1
41493 grep -v '^ *+' conftest.er1
>conftest.err
41495 cat conftest.err
>&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest
$ac_exeext &&
41501 $as_test_x conftest
$ac_exeext; then
41502 ac_cv_header_sys_soundcard
=yes
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.
$ac_ext >&5
41509 ac_cv_header_sys_soundcard
=no
41514 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41515 conftest
$ac_exeext conftest.
$ac_ext
41520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41521 conftest
$ac_exeext conftest.
$ac_ext
41524 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41525 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41528 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41529 cat >>confdefs.h
<<\_ACEOF
41530 #define HAVE_SYS_SOUNDCARD_H 1
41537 if test "$wxUSE_SOUND" = "yes"; then
41538 if test "$USE_UNIX" = 1 ; then
41539 if test "$wxUSE_LIBSDL" != "no"; then
41541 # Check whether --with-sdl-prefix was given.
41542 if test "${with_sdl_prefix+set}" = set; then
41543 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41549 # Check whether --with-sdl-exec-prefix was given.
41550 if test "${with_sdl_exec_prefix+set}" = set; then
41551 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41556 # Check whether --enable-sdltest was given.
41557 if test "${enable_sdltest+set}" = set; then
41558 enableval
=$enable_sdltest;
41564 if test x
$sdl_exec_prefix != x
; then
41565 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41566 if test x
${SDL_CONFIG+set} != xset
; then
41567 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41570 if test x
$sdl_prefix != x
; then
41571 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41572 if test x
${SDL_CONFIG+set} != xset
; then
41573 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41577 if test "x$prefix" != xNONE
; then
41578 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41580 # Extract the first word of "sdl-config", so it can be a program name with args.
41581 set dummy sdl
-config; ac_word
=$2
41582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41584 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41585 echo $ECHO_N "(cached) $ECHO_C" >&6
41587 case $SDL_CONFIG in
41589 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41593 for as_dir
in $PATH
41596 test -z "$as_dir" && as_dir
=.
41597 for ac_exec_ext
in '' $ac_executable_extensions; do
41598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41599 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41607 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41611 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41612 if test -n "$SDL_CONFIG"; then
41613 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41614 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41616 { echo "$as_me:$LINENO: result: no" >&5
41617 echo "${ECHO_T}no" >&6; }
41621 min_sdl_version
=1.2.0
41622 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41623 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41625 if test "$SDL_CONFIG" = "no" ; then
41628 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41629 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41631 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41633 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41635 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41637 if test "x$enable_sdltest" = "xyes" ; then
41638 ac_save_CFLAGS
="$CFLAGS"
41639 ac_save_CXXFLAGS
="$CXXFLAGS"
41640 ac_save_LIBS
="$LIBS"
41641 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41642 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41643 LIBS
="$LIBS $SDL_LIBS"
41645 if test "$cross_compiling" = yes; then
41646 echo $ac_n "cross compiling; assumed OK... $ac_c"
41648 cat >conftest.
$ac_ext <<_ACEOF
41651 cat confdefs.h
>>conftest.
$ac_ext
41652 cat >>conftest.
$ac_ext <<_ACEOF
41653 /* end confdefs.h. */
41656 #include <stdlib.h>
41657 #include <string.h>
41661 my_strdup (char *str)
41667 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41668 strcpy (new_str, str);
41676 int main (int argc, char *argv[])
41678 int major, minor, micro;
41681 /* This hangs on some systems (?)
41682 system ("touch conf.sdltest");
41684 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41686 /* HP/UX 9 (%@#!) writes to sscanf strings */
41687 tmp_version = my_strdup("$min_sdl_version");
41688 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41689 printf("%s, bad version string\n", "$min_sdl_version");
41693 if (($sdl_major_version > major) ||
41694 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41695 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41701 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41702 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41703 printf("*** best to upgrade to the required version.\n");
41704 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41705 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41706 printf("*** config.cache before re-running configure\n");
41713 rm -f conftest
$ac_exeext
41714 if { (ac_try
="$ac_link"
41715 case "(($ac_try" in
41716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41717 *) ac_try_echo=$ac_try;;
41719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41720 (eval "$ac_link") 2>&5
41722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41724 { (case "(($ac_try" in
41725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41726 *) ac_try_echo
=$ac_try;;
41728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41729 (eval "$ac_try") 2>&5
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); }; }; then
41735 echo "$as_me: program exited with status $ac_status" >&5
41736 echo "$as_me: failed program was:" >&5
41737 sed 's/^/| /' conftest.
$ac_ext >&5
41739 ( exit $ac_status )
41742 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41746 CFLAGS
="$ac_save_CFLAGS"
41747 CXXFLAGS
="$ac_save_CXXFLAGS"
41748 LIBS
="$ac_save_LIBS"
41751 if test "x$no_sdl" = x
; then
41752 { echo "$as_me:$LINENO: result: yes" >&5
41753 echo "${ECHO_T}yes" >&6; }
41755 EXTRALIBS_SDL
="$SDL_LIBS"
41756 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41757 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41758 cat >>confdefs.h
<<\_ACEOF
41759 #define wxUSE_LIBSDL 1
41764 { echo "$as_me:$LINENO: result: no" >&5
41765 echo "${ECHO_T}no" >&6; }
41766 if test "$SDL_CONFIG" = "no" ; then
41767 echo "*** The sdl-config script installed by SDL could not be found"
41768 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41769 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41770 echo "*** full path to sdl-config."
41772 if test -f conf.sdltest
; then
41775 echo "*** Could not run SDL test program, checking why..."
41776 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41777 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41778 LIBS
="$LIBS $SDL_LIBS"
41779 cat >conftest.
$ac_ext <<_ACEOF
41782 cat confdefs.h
>>conftest.
$ac_ext
41783 cat >>conftest.
$ac_ext <<_ACEOF
41784 /* end confdefs.h. */
41789 int main(int argc, char *argv[])
41792 #define main K_and_R_C_main
41802 rm -f conftest.
$ac_objext conftest
$ac_exeext
41803 if { (ac_try
="$ac_link"
41804 case "(($ac_try" in
41805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41806 *) ac_try_echo=$ac_try;;
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_link") 2>conftest.er1
41811 grep -v '^ *+' conftest.er1 >conftest.err
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } && {
41816 test -z "$ac_c_werror_flag" ||
41817 test ! -s conftest.err
41818 } && test -s conftest$ac_exeext &&
41819 $as_test_x conftest$ac_exeext; then
41820 echo "*** The test program compiled, but did not run. This usually means"
41821 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41822 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41823 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41824 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41825 echo "*** is required on your system"
41827 echo "*** If you have an old version installed, it is best to remove it, although"
41828 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41830 echo "$as_me: failed program was:" >&5
41831 sed 's/^/| /' conftest.$ac_ext >&5
41833 echo "*** The test program failed to compile or link. See the file config.log for the"
41834 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41835 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41836 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41840 conftest$ac_exeext conftest.$ac_ext
41841 CFLAGS="$ac_save_CFLAGS"
41842 CXXFLAGS="$ac_save_CXXFLAGS"
41843 LIBS="$ac_save_LIBS"
41854 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41859 if test "$wxUSE_MGL" = 1; then
41860 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41861 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41867 if test "$wxUSE_SOUND" = "yes"; then
41868 cat >>confdefs.h <<\_ACEOF
41869 #define wxUSE_SOUND 1
41872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41875 if test "$WXGTK2" = 1; then
41878 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41879 if test -n "$ac_tool_prefix"; then
41880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41884 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41885 echo $ECHO_N "(cached) $ECHO_C" >&6
41887 case $PKG_CONFIG in
41889 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41893 for as_dir in $PATH
41896 test -z "$as_dir" && as_dir=.
41897 for ac_exec_ext in '' $ac_executable_extensions; do
41898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41899 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41910 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41911 if test -n "$PKG_CONFIG"; then
41912 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41913 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41915 { echo "$as_me:$LINENO: result: no" >&5
41916 echo "${ECHO_T}no" >&6; }
41921 if test -z "$ac_cv_path_PKG_CONFIG"; then
41922 ac_pt_PKG_CONFIG=$PKG_CONFIG
41923 # Extract the first word of "pkg-config", so it can be a program name with args.
41924 set dummy pkg-config; ac_word=$2
41925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41927 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41928 echo $ECHO_N "(cached) $ECHO_C" >&6
41930 case $ac_pt_PKG_CONFIG in
41932 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41936 for as_dir in $PATH
41939 test -z "$as_dir" && as_dir=.
41940 for ac_exec_ext in '' $ac_executable_extensions; do
41941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41942 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41953 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41954 if test -n "$ac_pt_PKG_CONFIG"; then
41955 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41956 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41958 { echo "$as_me:$LINENO: result: no" >&5
41959 echo "${ECHO_T}no" >&6; }
41962 if test "x$ac_pt_PKG_CONFIG" = x; then
41965 case $cross_compiling:$ac_tool_warned in
41967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41968 whose name does not start with the host triplet. If you think this
41969 configuration is useful to you, please write to autoconf@gnu.org." >&5
41970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41971 whose name does not start with the host triplet. If you think this
41972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41973 ac_tool_warned=yes ;;
41975 PKG_CONFIG=$ac_pt_PKG_CONFIG
41978 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41982 if test -n "$PKG_CONFIG"; then
41983 _pkg_min_version=0.9.0
41984 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41985 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41986 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41987 { echo "$as_me:$LINENO: result: yes" >&5
41988 echo "${ECHO_T}yes" >&6; }
41990 { echo "$as_me:$LINENO: result: no" >&5
41991 echo "${ECHO_T}no" >&6; }
41997 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41999 if test "$wxUSE_GTKPRINT" = "yes" ; then
42003 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42004 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42006 if test -n "$PKG_CONFIG"; then
42007 if test -n "$GTKPRINT_CFLAGS"; then
42008 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42010 if test -n "$PKG_CONFIG" && \
42011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42012 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); }; then
42016 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42024 if test -n "$PKG_CONFIG"; then
42025 if test -n "$GTKPRINT_LIBS"; then
42026 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42028 if test -n "$PKG_CONFIG" && \
42029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42030 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); }; then
42034 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42045 if test $pkg_failed = yes; then
42047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42048 _pkg_short_errors_supported=yes
42050 _pkg_short_errors_supported=no
42052 if test $_pkg_short_errors_supported = yes; then
42053 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42055 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42057 # Put the nasty error message in config.log where it belongs
42058 echo "$GTKPRINT_PKG_ERRORS" >&5
42061 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42062 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42063 wxUSE_GTKPRINT="no"
42066 elif test $pkg_failed = untried; then
42068 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42069 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42070 wxUSE_GTKPRINT="no"
42074 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42075 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42076 { echo "$as_me:$LINENO: result: yes" >&5
42077 echo "${ECHO_T}yes" >&6; }
42079 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42080 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42081 cat >>confdefs.h <<\_ACEOF
42082 #define wxUSE_GTKPRINT 1
42089 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42093 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42094 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42096 if test -n "$PKG_CONFIG"; then
42097 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42098 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42100 if test -n "$PKG_CONFIG" && \
42101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42102 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); }; then
42106 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42114 if test -n "$PKG_CONFIG"; then
42115 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42116 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42118 if test -n "$PKG_CONFIG" && \
42119 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42120 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42123 (exit $ac_status); }; then
42124 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42135 if test $pkg_failed = yes; then
42137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42138 _pkg_short_errors_supported=yes
42140 _pkg_short_errors_supported=no
42142 if test $_pkg_short_errors_supported = yes; then
42143 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42145 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42147 # Put the nasty error message in config.log where it belongs
42148 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42151 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42152 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42153 wxUSE_LIBGNOMEPRINT="no"
42156 elif test $pkg_failed = untried; then
42158 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42159 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42160 wxUSE_LIBGNOMEPRINT="no"
42164 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42165 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42166 { echo "$as_me:$LINENO: result: yes" >&5
42167 echo "${ECHO_T}yes" >&6; }
42169 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42170 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42171 cat >>confdefs.h <<\_ACEOF
42172 #define wxUSE_LIBGNOMEPRINT 1
42180 if test "$wxUSE_MIMETYPE" = "yes" ; then
42181 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42185 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42186 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42188 if test -n "$PKG_CONFIG"; then
42189 if test -n "$GNOMEVFS_CFLAGS"; then
42190 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42192 if test -n "$PKG_CONFIG" && \
42193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42194 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42197 (exit $ac_status); }; then
42198 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42206 if test -n "$PKG_CONFIG"; then
42207 if test -n "$GNOMEVFS_LIBS"; then
42208 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42210 if test -n "$PKG_CONFIG" && \
42211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42212 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42215 (exit $ac_status); }; then
42216 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42227 if test $pkg_failed = yes; then
42229 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42230 _pkg_short_errors_supported=yes
42232 _pkg_short_errors_supported=no
42234 if test $_pkg_short_errors_supported = yes; then
42235 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42237 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42239 # Put the nasty error message in config.log where it belongs
42240 echo "$GNOMEVFS_PKG_ERRORS" >&5
42243 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42244 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42245 wxUSE_LIBGNOMEVFS="no"
42248 elif test $pkg_failed = untried; then
42250 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42251 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42252 wxUSE_LIBGNOMEVFS="no"
42256 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42257 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42258 { echo "$as_me:$LINENO: result: yes" >&5
42259 echo "${ECHO_T}yes" >&6; }
42261 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42262 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42263 cat >>confdefs.h <<\_ACEOF
42264 #define wxUSE_LIBGNOMEVFS 1
42272 if test "$wxUSE_LIBHILDON" = "yes" ; then
42275 { echo "$as_me:$LINENO: checking for HILDON" >&5
42276 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42278 if test -n "$PKG_CONFIG"; then
42279 if test -n "$HILDON_CFLAGS"; then
42280 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42282 if test -n "$PKG_CONFIG" && \
42283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42284 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; then
42288 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42296 if test -n "$PKG_CONFIG"; then
42297 if test -n "$HILDON_LIBS"; then
42298 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42300 if test -n "$PKG_CONFIG" && \
42301 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42302 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); }; then
42306 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42317 if test $pkg_failed = yes; then
42319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42320 _pkg_short_errors_supported=yes
42322 _pkg_short_errors_supported=no
42324 if test $_pkg_short_errors_supported = yes; then
42325 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42327 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42329 # Put the nasty error message in config.log where it belongs
42330 echo "$HILDON_PKG_ERRORS" >&5
42333 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42334 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42335 wxUSE_LIBHILDON="no"
42338 elif test $pkg_failed = untried; then
42340 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42341 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42342 wxUSE_LIBHILDON="no"
42346 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42347 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42348 { echo "$as_me:$LINENO: result: yes" >&5
42349 echo "${ECHO_T}yes" >&6; }
42351 EXTRALIBS_HILDON="$HILDON_LIBS"
42352 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42353 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42354 cat >>confdefs.h <<\_ACEOF
42355 #define wxUSE_LIBHILDON 1
42363 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42364 cat >>confdefs.h <<\_ACEOF
42365 #define wxUSE_CMDLINE_PARSER 1
42370 if test "$wxUSE_STOPWATCH" = "yes"; then
42371 cat >>confdefs.h <<\_ACEOF
42372 #define wxUSE_STOPWATCH 1
42377 if test "$wxUSE_DATETIME" = "yes"; then
42378 cat >>confdefs.h <<\_ACEOF
42379 #define wxUSE_DATETIME 1
42384 if test "$wxUSE_FILE" = "yes"; then
42385 cat >>confdefs.h <<\_ACEOF
42386 #define wxUSE_FILE 1
42391 if test "$wxUSE_FFILE" = "yes"; then
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_FFILE 1
42398 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42399 if test "$wxUSE_STREAMS" != yes; then
42400 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42401 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42402 wxUSE_ARCHIVE_STREAMS=no
42404 cat >>confdefs.h <<\_ACEOF
42405 #define wxUSE_ARCHIVE_STREAMS 1
42411 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42412 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42413 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42414 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42415 elif test "$wxUSE_ZLIB" = "no"; then
42416 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42417 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42419 cat >>confdefs.h <<\_ACEOF
42420 #define wxUSE_ZIPSTREAM 1
42426 if test "$wxUSE_TARSTREAM" = "yes"; then
42427 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42428 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42429 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42431 cat >>confdefs.h <<\_ACEOF
42432 #define wxUSE_TARSTREAM 1
42438 if test "$wxUSE_FILESYSTEM" = "yes"; then
42439 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42440 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42441 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42442 wxUSE_FILESYSTEM=no
42444 cat >>confdefs.h <<\_ACEOF
42445 #define wxUSE_FILESYSTEM 1
42451 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42452 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42453 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42454 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_FS_ARCHIVE 1
42463 if test "$wxUSE_FS_ZIP" = "yes"; then
42464 if test "$wxUSE_FS_ARCHIVE" != yes; then
42465 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42466 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42468 cat >>confdefs.h <<\_ACEOF
42469 #define wxUSE_FS_ZIP 1
42475 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42476 if test "$USE_UNIX" != 1; then
42477 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42478 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42479 wxUSE_ON_FATAL_EXCEPTION=no
42481 cat >>confdefs.h <<\_ACEOF
42482 #define wxUSE_ON_FATAL_EXCEPTION 1
42488 if test "$wxUSE_STACKWALKER" = "yes"; then
42489 cat >>confdefs.h <<\_ACEOF
42490 #define wxUSE_STACKWALKER 1
42495 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42496 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42497 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42498 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42499 wxUSE_DEBUGREPORT=no
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_DEBUGREPORT 1
42505 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42511 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42512 cat >>confdefs.h <<\_ACEOF
42513 #define wxUSE_SNGLINST_CHECKER 1
42518 if test "$wxUSE_BUSYINFO" = "yes"; then
42519 cat >>confdefs.h <<\_ACEOF
42520 #define wxUSE_BUSYINFO 1
42525 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42526 cat >>confdefs.h <<\_ACEOF
42527 #define wxUSE_STD_IOSTREAM 1
42532 if test "$wxUSE_STD_STRING" = "yes"; then
42533 cat >>confdefs.h <<\_ACEOF
42534 #define wxUSE_STD_STRING 1
42539 if test "$wxUSE_STDPATHS" = "yes"; then
42540 cat >>confdefs.h <<\_ACEOF
42541 #define wxUSE_STDPATHS 1
42546 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxUSE_TEXTBUFFER 1
42553 if test "$wxUSE_TEXTFILE" = "yes"; then
42554 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42555 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42556 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42558 cat >>confdefs.h <<\_ACEOF
42559 #define wxUSE_TEXTFILE 1
42565 if test "$wxUSE_CONFIG" = "yes" ; then
42566 if test "$wxUSE_TEXTFILE" != "yes"; then
42567 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42568 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_CONFIG 1
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_CONFIG_NATIVE 1
42578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42582 if test "$wxUSE_INTL" = "yes" ; then
42583 if test "$wxUSE_FILE" != "yes"; then
42584 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42585 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42587 cat >>confdefs.h <<\_ACEOF
42588 #define wxUSE_INTL 1
42591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42592 GUIDIST="$GUIDIST INTL_DIST"
42596 if test "$wxUSE_LOG" = "yes"; then
42597 cat >>confdefs.h <<\_ACEOF
42598 #define wxUSE_LOG 1
42602 if test "$wxUSE_LOGGUI" = "yes"; then
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_LOGGUI 1
42609 if test "$wxUSE_LOGWINDOW" = "yes"; then
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_LOGWINDOW 1
42616 if test "$wxUSE_LOGDIALOG" = "yes"; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_LOG_DIALOG 1
42623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42626 if test "$wxUSE_LONGLONG" = "yes"; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_LONGLONG 1
42633 if test "$wxUSE_GEOMETRY" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_GEOMETRY 1
42640 if test "$wxUSE_BASE64" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_BASE64 1
42647 if test "$wxUSE_STREAMS" = "yes" ; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_STREAMS 1
42654 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_PRINTF_POS_PARAMS 1
42661 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42662 cat >>confdefs.h <<\_ACEOF
42663 #define wxUSE_OBJC_UNIQUIFYING 1
42669 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42670 cat >>confdefs.h <<\_ACEOF
42671 #define wxUSE_CONSOLE_EVENTLOOP 1
42675 if test "$wxUSE_UNIX" = "yes"; then
42676 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42677 cat >>confdefs.h <<\_ACEOF
42678 #define wxUSE_SELECT_DISPATCHER 1
42683 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42685 for ac_header in sys/epoll.h
42687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42691 echo $ECHO_N "(cached) $ECHO_C" >&6
42693 cat >conftest.$ac_ext <<_ACEOF
42696 cat confdefs.h >>conftest.$ac_ext
42697 cat >>conftest.$ac_ext <<_ACEOF
42698 /* end confdefs.h. */
42699 $ac_includes_default
42701 #include <$ac_header>
42703 rm -f conftest.$ac_objext
42704 if { (ac_try="$ac_compile"
42705 case "(($ac_try" in
42706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42707 *) ac_try_echo
=$ac_try;;
42709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42710 (eval "$ac_compile") 2>conftest.er1
42712 grep -v '^ *+' conftest.er1
>conftest.err
42714 cat conftest.err
>&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } && {
42717 test -z "$ac_c_werror_flag" ||
42718 test ! -s conftest.err
42719 } && test -s conftest.
$ac_objext; then
42720 eval "$as_ac_Header=yes"
42722 echo "$as_me: failed program was:" >&5
42723 sed 's/^/| /' conftest.
$ac_ext >&5
42725 eval "$as_ac_Header=no"
42728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42730 ac_res
=`eval echo '${'$as_ac_Header'}'`
42731 { echo "$as_me:$LINENO: result: $ac_res" >&5
42732 echo "${ECHO_T}$ac_res" >&6; }
42733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42734 cat >>confdefs.h
<<_ACEOF
42735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42742 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42743 cat >>confdefs.h
<<\_ACEOF
42744 #define wxUSE_EPOLL_DISPATCHER 1
42748 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42749 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42758 for ac_func
in gettimeofday ftime
42760 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42761 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42763 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42764 echo $ECHO_N "(cached) $ECHO_C" >&6
42766 cat >conftest.
$ac_ext <<_ACEOF
42769 cat confdefs.h
>>conftest.
$ac_ext
42770 cat >>conftest.
$ac_ext <<_ACEOF
42771 /* end confdefs.h. */
42772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42774 #define $ac_func innocuous_$ac_func
42776 /* System header to define __stub macros and hopefully few prototypes,
42777 which can conflict with char $ac_func (); below.
42778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42779 <limits.h> exists even on freestanding compilers. */
42782 # include <limits.h>
42784 # include <assert.h>
42789 /* Override any GCC internal prototype to avoid an error.
42790 Use char because int might match the return type of a GCC
42791 builtin and then its argument prototype would still apply. */
42796 /* The GNU C library defines this for functions which it implements
42797 to always fail with ENOSYS. Some functions are actually named
42798 something starting with __ and the normal name is an alias. */
42799 #if defined __stub_$ac_func || defined __stub___$ac_func
42806 return $ac_func ();
42811 rm -f conftest.
$ac_objext conftest
$ac_exeext
42812 if { (ac_try
="$ac_link"
42813 case "(($ac_try" in
42814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42815 *) ac_try_echo=$ac_try;;
42817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42818 (eval "$ac_link") 2>conftest.er1
42820 grep -v '^ *+' conftest.er1 >conftest.err
42822 cat conftest.err >&5
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); } && {
42825 test -z "$ac_c_werror_flag" ||
42826 test ! -s conftest.err
42827 } && test -s conftest$ac_exeext &&
42828 $as_test_x conftest$ac_exeext; then
42829 eval "$as_ac_var=yes"
42831 echo "$as_me: failed program was:" >&5
42832 sed 's/^/| /' conftest.$ac_ext >&5
42834 eval "$as_ac_var=no"
42837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42838 conftest$ac_exeext conftest.$ac_ext
42840 ac_res=`eval echo '${'$as_ac_var'}'`
42841 { echo "$as_me:$LINENO: result: $ac_res" >&5
42842 echo "${ECHO_T}$ac_res" >&6; }
42843 if test `eval echo '${'$as_ac_var'}'` = yes; then
42844 cat >>confdefs.h <<_ACEOF
42845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42852 if test "$ac_cv_func_gettimeofday" = "yes"; then
42853 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42854 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42855 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42856 echo $ECHO_N "(cached) $ECHO_C" >&6
42859 cat >conftest.$ac_ext <<_ACEOF
42862 cat confdefs.h >>conftest.$ac_ext
42863 cat >>conftest.$ac_ext <<_ACEOF
42864 /* end confdefs.h. */
42866 #include <sys/time.h>
42867 #include <unistd.h>
42874 gettimeofday(&tv, NULL);
42880 rm -f conftest.$ac_objext
42881 if { (ac_try="$ac_compile"
42882 case "(($ac_try" in
42883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42884 *) ac_try_echo
=$ac_try;;
42886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42887 (eval "$ac_compile") 2>conftest.er1
42889 grep -v '^ *+' conftest.er1
>conftest.err
42891 cat conftest.err
>&5
42892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42893 (exit $ac_status); } && {
42894 test -z "$ac_c_werror_flag" ||
42895 test ! -s conftest.err
42896 } && test -s conftest.
$ac_objext; then
42897 wx_cv_func_gettimeofday_has_2_args
=yes
42899 echo "$as_me: failed program was:" >&5
42900 sed 's/^/| /' conftest.
$ac_ext >&5
42902 cat >conftest.
$ac_ext <<_ACEOF
42905 cat confdefs.h
>>conftest.
$ac_ext
42906 cat >>conftest.
$ac_ext <<_ACEOF
42907 /* end confdefs.h. */
42909 #include <sys/time.h>
42910 #include <unistd.h>
42923 rm -f conftest.
$ac_objext
42924 if { (ac_try
="$ac_compile"
42925 case "(($ac_try" in
42926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42927 *) ac_try_echo=$ac_try;;
42929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42930 (eval "$ac_compile") 2>conftest.er1
42932 grep -v '^ *+' conftest.er1 >conftest.err
42934 cat conftest.err >&5
42935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42936 (exit $ac_status); } && {
42937 test -z "$ac_c_werror_flag" ||
42938 test ! -s conftest.err
42939 } && test -s conftest.$ac_objext; then
42940 wx_cv_func_gettimeofday_has_2_args=no
42942 echo "$as_me: failed program was:" >&5
42943 sed 's/^/| /' conftest.$ac_ext >&5
42946 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42947 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42948 wx_cv_func_gettimeofday_has_2_args=unknown
42953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42961 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42963 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42964 cat >>confdefs.h <<\_ACEOF
42965 #define WX_GETTIMEOFDAY_NO_TZ 1
42971 if test "$wxUSE_DATETIME" = "yes"; then
42972 { echo "$as_me:$LINENO: checking for strptime" >&5
42973 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42974 if test "${ac_cv_func_strptime+set}" = set; then
42975 echo $ECHO_N "(cached) $ECHO_C" >&6
42977 cat >conftest.$ac_ext <<_ACEOF
42980 cat confdefs.h >>conftest.$ac_ext
42981 cat >>conftest.$ac_ext <<_ACEOF
42982 /* end confdefs.h. */
42983 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42985 #define strptime innocuous_strptime
42987 /* System header to define __stub macros and hopefully few prototypes,
42988 which can conflict with char strptime (); below.
42989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42990 <limits.h> exists even on freestanding compilers. */
42993 # include <limits.h>
42995 # include <assert.h>
43000 /* Override any GCC internal prototype to avoid an error.
43001 Use char because int might match the return type of a GCC
43002 builtin and then its argument prototype would still apply. */
43007 /* The GNU C library defines this for functions which it implements
43008 to always fail with ENOSYS. Some functions are actually named
43009 something starting with __ and the normal name is an alias. */
43010 #if defined __stub_strptime || defined __stub___strptime
43017 return strptime ();
43022 rm -f conftest.$ac_objext conftest$ac_exeext
43023 if { (ac_try="$ac_link"
43024 case "(($ac_try" in
43025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43026 *) ac_try_echo
=$ac_try;;
43028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43029 (eval "$ac_link") 2>conftest.er1
43031 grep -v '^ *+' conftest.er1
>conftest.err
43033 cat conftest.err
>&5
43034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43035 (exit $ac_status); } && {
43036 test -z "$ac_c_werror_flag" ||
43037 test ! -s conftest.err
43038 } && test -s conftest
$ac_exeext &&
43039 $as_test_x conftest
$ac_exeext; then
43040 ac_cv_func_strptime
=yes
43042 echo "$as_me: failed program was:" >&5
43043 sed 's/^/| /' conftest.
$ac_ext >&5
43045 ac_cv_func_strptime
=no
43048 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43049 conftest
$ac_exeext conftest.
$ac_ext
43051 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43052 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43054 if test "$ac_cv_func_strptime" = "yes"; then
43055 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43056 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43057 if test "${wx_cv_func_strptime_decl+set}" = set; then
43058 echo $ECHO_N "(cached) $ECHO_C" >&6
43062 ac_cpp
='$CXXCPP $CPPFLAGS'
43063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43067 cat >conftest.
$ac_ext <<_ACEOF
43070 cat confdefs.h
>>conftest.
$ac_ext
43071 cat >>conftest.
$ac_ext <<_ACEOF
43072 /* end confdefs.h. */
43081 strptime("foo", "bar", &t);
43087 rm -f conftest.
$ac_objext
43088 if { (ac_try
="$ac_compile"
43089 case "(($ac_try" in
43090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43091 *) ac_try_echo=$ac_try;;
43093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43094 (eval "$ac_compile") 2>conftest.er1
43096 grep -v '^ *+' conftest.er1 >conftest.err
43098 cat conftest.err >&5
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); } && {
43101 test -z "$ac_cxx_werror_flag" ||
43102 test ! -s conftest.err
43103 } && test -s conftest.$ac_objext; then
43104 wx_cv_func_strptime_decl=yes
43106 echo "$as_me: failed program was:" >&5
43107 sed 's/^/| /' conftest.$ac_ext >&5
43109 wx_cv_func_strptime_decl=no
43113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43115 ac_cpp='$CPP $CPPFLAGS'
43116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43123 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43124 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43126 if test "$wx_cv_func_strptime_decl" = "yes"; then
43127 cat >>confdefs.h <<\_ACEOF
43128 #define HAVE_STRPTIME_DECL 1
43132 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43134 if test "$ac_cv_func_strptime" = "yes"; then
43135 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43136 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43137 if test "${wx_cv_func_strptime_ok+set}" = set; then
43138 echo $ECHO_N "(cached) $ECHO_C" >&6
43140 if test "$cross_compiling" = yes; then
43141 wx_cv_func_strptime_ok=no
43144 cat >conftest.$ac_ext <<_ACEOF
43146 #include <stdlib.h>
43148 #include "confdefs.h"
43155 return !!strptime("", "%x", &t);
43159 rm -f conftest$ac_exeext
43160 if { (ac_try="$ac_link"
43161 case "(($ac_try" in
43162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43163 *) ac_try_echo
=$ac_try;;
43165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43166 (eval "$ac_link") 2>&5
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43170 { (case "(($ac_try" in
43171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43172 *) ac_try_echo=$ac_try;;
43174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43175 (eval "$ac_try") 2>&5
43177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178 (exit $ac_status); }; }; then
43179 wx_cv_func_strptime_ok=yes
43181 echo "$as_me: program exited with status $ac_status" >&5
43182 echo "$as_me: failed program was:" >&5
43183 sed 's/^/| /' conftest.$ac_ext >&5
43185 ( exit $ac_status )
43186 wx_cv_func_strptime_ok=no
43188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43194 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43195 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43197 if test "$wx_cv_func_strptime_ok" = "yes"; then
43198 cat >>confdefs.h <<\_ACEOF
43199 #define HAVE_STRPTIME 1
43205 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43206 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43207 if test "${wx_cv_var_timezone+set}" = set; then
43208 echo $ECHO_N "(cached) $ECHO_C" >&6
43212 ac_cpp='$CXXCPP $CPPFLAGS'
43213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43217 cat >conftest.$ac_ext <<_ACEOF
43220 cat confdefs.h >>conftest.$ac_ext
43221 cat >>conftest.$ac_ext <<_ACEOF
43222 /* end confdefs.h. */
43237 rm -f conftest.$ac_objext
43238 if { (ac_try="$ac_compile"
43239 case "(($ac_try" in
43240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43241 *) ac_try_echo
=$ac_try;;
43243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43244 (eval "$ac_compile") 2>conftest.er1
43246 grep -v '^ *+' conftest.er1
>conftest.err
43248 cat conftest.err
>&5
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); } && {
43251 test -z "$ac_cxx_werror_flag" ||
43252 test ! -s conftest.err
43253 } && test -s conftest.
$ac_objext; then
43255 wx_cv_var_timezone
=timezone
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.
$ac_ext >&5
43262 cat >conftest.
$ac_ext <<_ACEOF
43265 cat confdefs.h
>>conftest.
$ac_ext
43266 cat >>conftest.
$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43282 rm -f conftest.
$ac_objext
43283 if { (ac_try
="$ac_compile"
43284 case "(($ac_try" in
43285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43286 *) ac_try_echo=$ac_try;;
43288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43289 (eval "$ac_compile") 2>conftest.er1
43291 grep -v '^ *+' conftest.er1 >conftest.err
43293 cat conftest.err >&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } && {
43296 test -z "$ac_cxx_werror_flag" ||
43297 test ! -s conftest.err
43298 } && test -s conftest.$ac_objext; then
43300 wx_cv_var_timezone=_timezone
43303 echo "$as_me: failed program was:" >&5
43304 sed 's/^/| /' conftest.$ac_ext >&5
43307 cat >conftest.$ac_ext <<_ACEOF
43310 cat confdefs.h >>conftest.$ac_ext
43311 cat >>conftest.$ac_ext <<_ACEOF
43312 /* end confdefs.h. */
43327 rm -f conftest.$ac_objext
43328 if { (ac_try="$ac_compile"
43329 case "(($ac_try" in
43330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43331 *) ac_try_echo
=$ac_try;;
43333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43334 (eval "$ac_compile") 2>conftest.er1
43336 grep -v '^ *+' conftest.er1
>conftest.err
43338 cat conftest.err
>&5
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); } && {
43341 test -z "$ac_cxx_werror_flag" ||
43342 test ! -s conftest.err
43343 } && test -s conftest.
$ac_objext; then
43345 wx_cv_var_timezone
=__timezone
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.
$ac_ext >&5
43352 if test "$USE_DOS" = 0 ; then
43353 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43354 echo "$as_me: WARNING: no timezone variable" >&2;}
43360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43372 ac_cpp
='$CPP $CPPFLAGS'
43373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43380 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43381 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43383 if test "x$wx_cv_var_timezone" != x
; then
43384 cat >>confdefs.h
<<_ACEOF
43385 #define WX_TIMEZONE $wx_cv_var_timezone
43391 for ac_func
in localtime
43393 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43396 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43397 echo $ECHO_N "(cached) $ECHO_C" >&6
43399 cat >conftest.
$ac_ext <<_ACEOF
43402 cat confdefs.h
>>conftest.
$ac_ext
43403 cat >>conftest.
$ac_ext <<_ACEOF
43404 /* end confdefs.h. */
43405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43407 #define $ac_func innocuous_$ac_func
43409 /* System header to define __stub macros and hopefully few prototypes,
43410 which can conflict with char $ac_func (); below.
43411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43412 <limits.h> exists even on freestanding compilers. */
43415 # include <limits.h>
43417 # include <assert.h>
43422 /* Override any GCC internal prototype to avoid an error.
43423 Use char because int might match the return type of a GCC
43424 builtin and then its argument prototype would still apply. */
43429 /* The GNU C library defines this for functions which it implements
43430 to always fail with ENOSYS. Some functions are actually named
43431 something starting with __ and the normal name is an alias. */
43432 #if defined __stub_$ac_func || defined __stub___$ac_func
43439 return $ac_func ();
43444 rm -f conftest.
$ac_objext conftest
$ac_exeext
43445 if { (ac_try
="$ac_link"
43446 case "(($ac_try" in
43447 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43448 *) ac_try_echo=$ac_try;;
43450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43451 (eval "$ac_link") 2>conftest.er1
43453 grep -v '^ *+' conftest.er1 >conftest.err
43455 cat conftest.err >&5
43456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457 (exit $ac_status); } && {
43458 test -z "$ac_c_werror_flag" ||
43459 test ! -s conftest.err
43460 } && test -s conftest$ac_exeext &&
43461 $as_test_x conftest$ac_exeext; then
43462 eval "$as_ac_var=yes"
43464 echo "$as_me: failed program was:" >&5
43465 sed 's/^/| /' conftest.$ac_ext >&5
43467 eval "$as_ac_var=no"
43470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43471 conftest$ac_exeext conftest.$ac_ext
43473 ac_res=`eval echo '${'$as_ac_var'}'`
43474 { echo "$as_me:$LINENO: result: $ac_res" >&5
43475 echo "${ECHO_T}$ac_res" >&6; }
43476 if test `eval echo '${'$as_ac_var'}'` = yes; then
43477 cat >>confdefs.h <<_ACEOF
43478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43485 if test "$ac_cv_func_localtime" = "yes"; then
43486 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43487 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43488 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43489 echo $ECHO_N "(cached) $ECHO_C" >&6
43492 cat >conftest.$ac_ext <<_ACEOF
43495 cat confdefs.h >>conftest.$ac_ext
43496 cat >>conftest.$ac_ext <<_ACEOF
43497 /* end confdefs.h. */
43512 rm -f conftest.$ac_objext
43513 if { (ac_try="$ac_compile"
43514 case "(($ac_try" in
43515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43516 *) ac_try_echo
=$ac_try;;
43518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43519 (eval "$ac_compile") 2>conftest.er1
43521 grep -v '^ *+' conftest.er1
>conftest.err
43523 cat conftest.err
>&5
43524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43525 (exit $ac_status); } && {
43526 test -z "$ac_c_werror_flag" ||
43527 test ! -s conftest.err
43528 } && test -s conftest.
$ac_objext; then
43530 wx_cv_struct_tm_has_gmtoff
=yes
43533 echo "$as_me: failed program was:" >&5
43534 sed 's/^/| /' conftest.
$ac_ext >&5
43536 wx_cv_struct_tm_has_gmtoff
=no
43540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43543 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43544 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43547 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43548 cat >>confdefs.h
<<\_ACEOF
43549 #define WX_GMTOFF_IN_TM 1
43554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43558 if test "$wxUSE_SOCKETS" = "yes"; then
43559 if test "$wxUSE_MGL" = 1; then
43560 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43561 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43566 if test "$wxUSE_SOCKETS" = "yes"; then
43567 if test "$TOOLKIT" != "MSW"; then
43568 { echo "$as_me:$LINENO: checking for socket" >&5
43569 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43570 if test "${ac_cv_func_socket+set}" = set; then
43571 echo $ECHO_N "(cached) $ECHO_C" >&6
43573 cat >conftest.
$ac_ext <<_ACEOF
43576 cat confdefs.h
>>conftest.
$ac_ext
43577 cat >>conftest.
$ac_ext <<_ACEOF
43578 /* end confdefs.h. */
43579 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43581 #define socket innocuous_socket
43583 /* System header to define __stub macros and hopefully few prototypes,
43584 which can conflict with char socket (); below.
43585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43586 <limits.h> exists even on freestanding compilers. */
43589 # include <limits.h>
43591 # include <assert.h>
43596 /* Override any GCC internal prototype to avoid an error.
43597 Use char because int might match the return type of a GCC
43598 builtin and then its argument prototype would still apply. */
43603 /* The GNU C library defines this for functions which it implements
43604 to always fail with ENOSYS. Some functions are actually named
43605 something starting with __ and the normal name is an alias. */
43606 #if defined __stub_socket || defined __stub___socket
43618 rm -f conftest.
$ac_objext conftest
$ac_exeext
43619 if { (ac_try
="$ac_link"
43620 case "(($ac_try" in
43621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43622 *) ac_try_echo=$ac_try;;
43624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43625 (eval "$ac_link") 2>conftest.er1
43627 grep -v '^ *+' conftest.er1 >conftest.err
43629 cat conftest.err >&5
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); } && {
43632 test -z "$ac_c_werror_flag" ||
43633 test ! -s conftest.err
43634 } && test -s conftest$ac_exeext &&
43635 $as_test_x conftest$ac_exeext; then
43636 ac_cv_func_socket=yes
43638 echo "$as_me: failed program was:" >&5
43639 sed 's/^/| /' conftest.$ac_ext >&5
43641 ac_cv_func_socket=no
43644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43645 conftest$ac_exeext conftest.$ac_ext
43647 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43648 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43649 if test $ac_cv_func_socket = yes; then
43653 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43654 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43655 if test "${ac_cv_lib_socket_socket+set}" = set; then
43656 echo $ECHO_N "(cached) $ECHO_C" >&6
43658 ac_check_lib_save_LIBS=$LIBS
43659 LIBS="-lsocket $LIBS"
43660 cat >conftest.$ac_ext <<_ACEOF
43663 cat confdefs.h >>conftest.$ac_ext
43664 cat >>conftest.$ac_ext <<_ACEOF
43665 /* end confdefs.h. */
43667 /* Override any GCC internal prototype to avoid an error.
43668 Use char because int might match the return type of a GCC
43669 builtin and then its argument prototype would still apply. */
43682 rm -f conftest.$ac_objext conftest$ac_exeext
43683 if { (ac_try="$ac_link"
43684 case "(($ac_try" in
43685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43686 *) ac_try_echo
=$ac_try;;
43688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43689 (eval "$ac_link") 2>conftest.er1
43691 grep -v '^ *+' conftest.er1
>conftest.err
43693 cat conftest.err
>&5
43694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43695 (exit $ac_status); } && {
43696 test -z "$ac_c_werror_flag" ||
43697 test ! -s conftest.err
43698 } && test -s conftest
$ac_exeext &&
43699 $as_test_x conftest
$ac_exeext; then
43700 ac_cv_lib_socket_socket
=yes
43702 echo "$as_me: failed program was:" >&5
43703 sed 's/^/| /' conftest.
$ac_ext >&5
43705 ac_cv_lib_socket_socket
=no
43708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43709 conftest
$ac_exeext conftest.
$ac_ext
43710 LIBS
=$ac_check_lib_save_LIBS
43712 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43713 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43714 if test $ac_cv_lib_socket_socket = yes; then
43715 if test "$INET_LINK" != " -lsocket"; then
43716 INET_LINK
="$INET_LINK -lsocket"
43720 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43721 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43734 if test "$wxUSE_SOCKETS" = "yes" ; then
43735 if test "$TOOLKIT" != "MSW"; then
43736 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43737 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43738 if test "${wx_cv_type_getsockname3+set}" = set; then
43739 echo $ECHO_N "(cached) $ECHO_C" >&6
43743 ac_cpp
='$CXXCPP $CPPFLAGS'
43744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43748 cat >conftest.
$ac_ext <<_ACEOF
43751 cat confdefs.h
>>conftest.
$ac_ext
43752 cat >>conftest.
$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43755 #include <sys/types.h>
43756 #include <sys/socket.h>
43763 getsockname(0, 0, &len);
43769 rm -f conftest.
$ac_objext
43770 if { (ac_try
="$ac_compile"
43771 case "(($ac_try" in
43772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43773 *) ac_try_echo=$ac_try;;
43775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43776 (eval "$ac_compile") 2>conftest.er1
43778 grep -v '^ *+' conftest.er1 >conftest.err
43780 cat conftest.err >&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); } && {
43783 test -z "$ac_cxx_werror_flag" ||
43784 test ! -s conftest.err
43785 } && test -s conftest.$ac_objext; then
43786 wx_cv_type_getsockname3=socklen_t
43788 echo "$as_me: failed program was:" >&5
43789 sed 's/^/| /' conftest.$ac_ext >&5
43792 CFLAGS_OLD="$CFLAGS"
43793 if test "$GCC" = yes ; then
43794 CFLAGS="-Werror $CFLAGS"
43797 cat >conftest.$ac_ext <<_ACEOF
43800 cat confdefs.h >>conftest.$ac_ext
43801 cat >>conftest.$ac_ext <<_ACEOF
43802 /* end confdefs.h. */
43804 #include <sys/types.h>
43805 #include <sys/socket.h>
43812 getsockname(0, 0, &len);
43818 rm -f conftest.$ac_objext
43819 if { (ac_try="$ac_compile"
43820 case "(($ac_try" in
43821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43822 *) ac_try_echo
=$ac_try;;
43824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43825 (eval "$ac_compile") 2>conftest.er1
43827 grep -v '^ *+' conftest.er1
>conftest.err
43829 cat conftest.err
>&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); } && {
43832 test -z "$ac_cxx_werror_flag" ||
43833 test ! -s conftest.err
43834 } && test -s conftest.
$ac_objext; then
43835 wx_cv_type_getsockname3
=size_t
43837 echo "$as_me: failed program was:" >&5
43838 sed 's/^/| /' conftest.
$ac_ext >&5
43840 cat >conftest.
$ac_ext <<_ACEOF
43843 cat confdefs.h
>>conftest.
$ac_ext
43844 cat >>conftest.
$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43847 #include <sys/types.h>
43848 #include <sys/socket.h>
43855 getsockname(0, 0, &len);
43861 rm -f conftest.
$ac_objext
43862 if { (ac_try
="$ac_compile"
43863 case "(($ac_try" in
43864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43865 *) ac_try_echo=$ac_try;;
43867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43868 (eval "$ac_compile") 2>conftest.er1
43870 grep -v '^ *+' conftest.er1 >conftest.err
43872 cat conftest.err >&5
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); } && {
43875 test -z "$ac_cxx_werror_flag" ||
43876 test ! -s conftest.err
43877 } && test -s conftest.$ac_objext; then
43878 wx_cv_type_getsockname3=int
43880 echo "$as_me: failed program was:" >&5
43881 sed 's/^/| /' conftest.$ac_ext >&5
43883 wx_cv_type_getsockname3=unknown
43887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43893 CFLAGS="$CFLAGS_OLD"
43898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43900 ac_cpp='$CPP $CPPFLAGS'
43901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43907 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43908 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43910 if test "$wx_cv_type_getsockname3" = "unknown"; then
43912 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43913 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43915 cat >>confdefs.h <<_ACEOF
43916 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43920 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43921 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43922 if test "${wx_cv_type_getsockopt5+set}" = set; then
43923 echo $ECHO_N "(cached) $ECHO_C" >&6
43927 ac_cpp='$CXXCPP $CPPFLAGS'
43928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43932 cat >conftest.$ac_ext <<_ACEOF
43935 cat confdefs.h >>conftest.$ac_ext
43936 cat >>conftest.$ac_ext <<_ACEOF
43937 /* end confdefs.h. */
43939 #include <sys/types.h>
43940 #include <sys/socket.h>
43947 getsockopt(0, 0, 0, 0, &len);
43953 rm -f conftest.$ac_objext
43954 if { (ac_try="$ac_compile"
43955 case "(($ac_try" in
43956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43957 *) ac_try_echo
=$ac_try;;
43959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43960 (eval "$ac_compile") 2>conftest.er1
43962 grep -v '^ *+' conftest.er1
>conftest.err
43964 cat conftest.err
>&5
43965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966 (exit $ac_status); } && {
43967 test -z "$ac_cxx_werror_flag" ||
43968 test ! -s conftest.err
43969 } && test -s conftest.
$ac_objext; then
43970 wx_cv_type_getsockopt5
=socklen_t
43972 echo "$as_me: failed program was:" >&5
43973 sed 's/^/| /' conftest.
$ac_ext >&5
43976 cat >conftest.
$ac_ext <<_ACEOF
43979 cat confdefs.h
>>conftest.
$ac_ext
43980 cat >>conftest.
$ac_ext <<_ACEOF
43981 /* end confdefs.h. */
43983 #include <sys/types.h>
43984 #include <sys/socket.h>
43991 getsockopt(0, 0, 0, 0, &len);
43997 rm -f conftest.
$ac_objext
43998 if { (ac_try
="$ac_compile"
43999 case "(($ac_try" in
44000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44001 *) ac_try_echo=$ac_try;;
44003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44004 (eval "$ac_compile") 2>conftest.er1
44006 grep -v '^ *+' conftest.er1 >conftest.err
44008 cat conftest.err >&5
44009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010 (exit $ac_status); } && {
44011 test -z "$ac_cxx_werror_flag" ||
44012 test ! -s conftest.err
44013 } && test -s conftest.$ac_objext; then
44014 wx_cv_type_getsockopt5=size_t
44016 echo "$as_me: failed program was:" >&5
44017 sed 's/^/| /' conftest.$ac_ext >&5
44019 cat >conftest.$ac_ext <<_ACEOF
44022 cat confdefs.h >>conftest.$ac_ext
44023 cat >>conftest.$ac_ext <<_ACEOF
44024 /* end confdefs.h. */
44026 #include <sys/types.h>
44027 #include <sys/socket.h>
44034 getsockopt(0, 0, 0, 0, &len);
44040 rm -f conftest.$ac_objext
44041 if { (ac_try="$ac_compile"
44042 case "(($ac_try" in
44043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44044 *) ac_try_echo
=$ac_try;;
44046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44047 (eval "$ac_compile") 2>conftest.er1
44049 grep -v '^ *+' conftest.er1
>conftest.err
44051 cat conftest.err
>&5
44052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44053 (exit $ac_status); } && {
44054 test -z "$ac_cxx_werror_flag" ||
44055 test ! -s conftest.err
44056 } && test -s conftest.
$ac_objext; then
44057 wx_cv_type_getsockopt5
=int
44059 echo "$as_me: failed program was:" >&5
44060 sed 's/^/| /' conftest.
$ac_ext >&5
44062 wx_cv_type_getsockopt5
=unknown
44066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44077 ac_cpp
='$CPP $CPPFLAGS'
44078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44084 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44085 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44087 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44089 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44090 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44092 cat >>confdefs.h
<<_ACEOF
44093 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44100 if test "$wxUSE_SOCKETS" = "yes" ; then
44101 if test "$wxUSE_IPV6" = "yes"; then
44102 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44103 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44104 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44105 echo $ECHO_N "(cached) $ECHO_C" >&6
44108 cat >conftest.
$ac_ext <<_ACEOF
44111 cat confdefs.h
>>conftest.
$ac_ext
44112 cat >>conftest.
$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44115 #include <sys/types.h>
44116 #include <sys/socket.h>
44117 #include <netinet/in.h>
44123 struct sockaddr_in6 sa6;
44129 rm -f conftest.
$ac_objext
44130 if { (ac_try
="$ac_compile"
44131 case "(($ac_try" in
44132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44133 *) ac_try_echo=$ac_try;;
44135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44136 (eval "$ac_compile") 2>conftest.er1
44138 grep -v '^ *+' conftest.er1 >conftest.err
44140 cat conftest.err >&5
44141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142 (exit $ac_status); } && {
44143 test -z "$ac_c_werror_flag" ||
44144 test ! -s conftest.err
44145 } && test -s conftest.$ac_objext; then
44146 wx_cv_type_sockaddr_in6=yes
44148 echo "$as_me: failed program was:" >&5
44149 sed 's/^/| /' conftest.$ac_ext >&5
44151 wx_cv_type_sockaddr_in6=no
44155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44159 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44160 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44162 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44163 cat >>confdefs.h <<\_ACEOF
44164 #define wxUSE_IPV6 1
44168 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44169 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_SOCKETS 1
44177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44180 if test "$wxUSE_PROTOCOL" = "yes"; then
44181 if test "$wxUSE_SOCKETS" != "yes"; then
44182 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44183 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44188 if test "$wxUSE_PROTOCOL" = "yes"; then
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_PROTOCOL 1
44194 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44195 cat >>confdefs.h <<\_ACEOF
44196 #define wxUSE_PROTOCOL_HTTP 1
44200 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44201 cat >>confdefs.h <<\_ACEOF
44202 #define wxUSE_PROTOCOL_FTP 1
44206 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44207 cat >>confdefs.h <<\_ACEOF
44208 #define wxUSE_PROTOCOL_FILE 1
44213 if test "$wxUSE_FS_INET" = "yes"; then
44214 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44215 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44220 if test "$wxUSE_URL" = "yes"; then
44221 if test "$wxUSE_PROTOCOL" != "yes"; then
44222 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44223 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44226 if test "$wxUSE_URL" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_URL 1
44234 if test "$wxUSE_VARIANT" = "yes"; then
44235 cat >>confdefs.h <<\_ACEOF
44236 #define wxUSE_VARIANT 1
44241 if test "$wxUSE_FS_INET" = "yes"; then
44242 cat >>confdefs.h <<\_ACEOF
44243 #define wxUSE_FS_INET 1
44249 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44252 if test "$TOOLKIT" = "MSW"; then
44255 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44256 if test "$USE_DARWIN" = 1; then
44257 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44258 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44260 ac_cpp='$CXXCPP $CPPFLAGS'
44261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44265 cat >conftest.$ac_ext <<_ACEOF
44268 cat confdefs.h >>conftest.$ac_ext
44269 cat >>conftest.$ac_ext <<_ACEOF
44270 /* end confdefs.h. */
44271 #include <IOKit/hid/IOHIDLib.h>
44275 IOHIDQueueInterface *qi = NULL;
44276 IOHIDCallbackFunction cb = NULL;
44277 qi->setEventCallout(NULL, cb, NULL, NULL);
44282 rm -f conftest.$ac_objext
44283 if { (ac_try="$ac_compile"
44284 case "(($ac_try" in
44285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44286 *) ac_try_echo
=$ac_try;;
44288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44289 (eval "$ac_compile") 2>conftest.er1
44291 grep -v '^ *+' conftest.er1
>conftest.err
44293 cat conftest.err
>&5
44294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44295 (exit $ac_status); } && {
44296 test -z "$ac_cxx_werror_flag" ||
44297 test ! -s conftest.err
44298 } && test -s conftest.
$ac_objext; then
44302 echo "$as_me: failed program was:" >&5
44303 sed 's/^/| /' conftest.
$ac_ext >&5
44308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44310 ac_cpp
='$CPP $CPPFLAGS'
44311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44315 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44316 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44320 if test "$wxUSE_MGL" != 1; then
44322 for ac_header
in linux
/joystick.h
44324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44325 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44327 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44328 echo $ECHO_N "(cached) $ECHO_C" >&6
44330 cat >conftest.
$ac_ext <<_ACEOF
44333 cat confdefs.h
>>conftest.
$ac_ext
44334 cat >>conftest.
$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 $ac_includes_default
44338 #include <$ac_header>
44340 rm -f conftest.
$ac_objext
44341 if { (ac_try
="$ac_compile"
44342 case "(($ac_try" in
44343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44344 *) ac_try_echo=$ac_try;;
44346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44347 (eval "$ac_compile") 2>conftest.er1
44349 grep -v '^ *+' conftest.er1 >conftest.err
44351 cat conftest.err >&5
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); } && {
44354 test -z "$ac_c_werror_flag" ||
44355 test ! -s conftest.err
44356 } && test -s conftest.$ac_objext; then
44357 eval "$as_ac_Header=yes"
44359 echo "$as_me: failed program was:" >&5
44360 sed 's/^/| /' conftest.$ac_ext >&5
44362 eval "$as_ac_Header=no"
44365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44367 ac_res=`eval echo '${'$as_ac_Header'}'`
44368 { echo "$as_me:$LINENO: result: $ac_res" >&5
44369 echo "${ECHO_T}$ac_res" >&6; }
44370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44371 cat >>confdefs.h <<_ACEOF
44372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44382 if test "$wxUSE_JOYSTICK" = "yes"; then
44383 cat >>confdefs.h <<\_ACEOF
44384 #define wxUSE_JOYSTICK 1
44387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44389 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44390 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44396 if test "$wxUSE_FONTENUM" = "yes" ; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_FONTENUM 1
44403 if test "$wxUSE_FONTMAP" = "yes" ; then
44404 cat >>confdefs.h <<\_ACEOF
44405 #define wxUSE_FONTMAP 1
44410 if test "$wxUSE_UNICODE" = "yes" ; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_UNICODE 1
44416 if test "$USE_WIN32" != 1; then
44417 wxUSE_UNICODE_MSLU=no
44420 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44421 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44422 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44423 if test "${ac_cv_lib_unicows_main+set}" = set; then
44424 echo $ECHO_N "(cached) $ECHO_C" >&6
44426 ac_check_lib_save_LIBS=$LIBS
44427 LIBS="-lunicows $LIBS"
44428 cat >conftest.$ac_ext <<_ACEOF
44431 cat confdefs.h >>conftest.$ac_ext
44432 cat >>conftest.$ac_ext <<_ACEOF
44433 /* end confdefs.h. */
44444 rm -f conftest.$ac_objext conftest$ac_exeext
44445 if { (ac_try="$ac_link"
44446 case "(($ac_try" in
44447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44448 *) ac_try_echo
=$ac_try;;
44450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44451 (eval "$ac_link") 2>conftest.er1
44453 grep -v '^ *+' conftest.er1
>conftest.err
44455 cat conftest.err
>&5
44456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44457 (exit $ac_status); } && {
44458 test -z "$ac_c_werror_flag" ||
44459 test ! -s conftest.err
44460 } && test -s conftest
$ac_exeext &&
44461 $as_test_x conftest
$ac_exeext; then
44462 ac_cv_lib_unicows_main
=yes
44464 echo "$as_me: failed program was:" >&5
44465 sed 's/^/| /' conftest.
$ac_ext >&5
44467 ac_cv_lib_unicows_main
=no
44470 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44471 conftest
$ac_exeext conftest.
$ac_ext
44472 LIBS
=$ac_check_lib_save_LIBS
44474 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44475 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44476 if test $ac_cv_lib_unicows_main = yes; then
44478 cat >>confdefs.h
<<\_ACEOF
44479 #define wxUSE_UNICODE_MSLU 1
44485 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44486 Applications will only run on Windows NT/2000/XP!" >&5
44487 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44488 Applications will only run on Windows NT/2000/XP!" >&2;}
44489 wxUSE_UNICODE_MSLU
=no
44496 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_UNICODE_UTF8 1
44502 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44503 cat >>confdefs.h
<<\_ACEOF
44504 #define wxUSE_UTF8_LOCALE_ONLY 1
44511 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44512 cat >>confdefs.h
<<\_ACEOF
44513 #define wxUSE_CONSTRAINTS 1
44516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44519 if test "$wxUSE_MDI" = "yes"; then
44520 cat >>confdefs.h
<<\_ACEOF
44521 #define wxUSE_MDI 1
44525 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44526 cat >>confdefs.h
<<\_ACEOF
44527 #define wxUSE_MDI_ARCHITECTURE 1
44530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44534 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44535 cat >>confdefs.h
<<\_ACEOF
44536 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44540 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44545 if test "$wxUSE_HELP" = "yes"; then
44546 cat >>confdefs.h
<<\_ACEOF
44547 #define wxUSE_HELP 1
44550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44552 if test "$wxUSE_MSW" = 1; then
44553 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44554 cat >>confdefs.h
<<\_ACEOF
44555 #define wxUSE_MS_HTML_HELP 1
44561 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44562 if test "$wxUSE_HTML" = "yes"; then
44563 cat >>confdefs.h
<<\_ACEOF
44564 #define wxUSE_WXHTML_HELP 1
44568 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44569 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44570 wxUSE_WXHTML_HELP
=no
44575 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44576 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44577 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44578 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44580 cat >>confdefs.h
<<\_ACEOF
44581 #define wxUSE_PRINTING_ARCHITECTURE 1
44585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44588 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44589 cat >>confdefs.h
<<\_ACEOF
44590 #define wxUSE_POSTSCRIPT 1
44595 cat >>confdefs.h
<<\_ACEOF
44596 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44600 if test "$wxUSE_SVG" = "yes"; then
44601 cat >>confdefs.h
<<\_ACEOF
44602 #define wxUSE_SVG 1
44608 if test "$wxUSE_METAFILE" = "yes"; then
44609 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44610 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44611 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44617 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44618 -o "$wxUSE_CLIPBOARD" = "yes" \
44619 -o "$wxUSE_OLE" = "yes" \
44620 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44621 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44622 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44623 if test "${ac_cv_header_ole2_h+set}" = set; then
44624 echo $ECHO_N "(cached) $ECHO_C" >&6
44626 cat >conftest.
$ac_ext <<_ACEOF
44629 cat confdefs.h
>>conftest.
$ac_ext
44630 cat >>conftest.
$ac_ext <<_ACEOF
44631 /* end confdefs.h. */
44636 rm -f conftest.
$ac_objext
44637 if { (ac_try
="$ac_compile"
44638 case "(($ac_try" in
44639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44640 *) ac_try_echo=$ac_try;;
44642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44643 (eval "$ac_compile") 2>conftest.er1
44645 grep -v '^ *+' conftest.er1 >conftest.err
44647 cat conftest.err >&5
44648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649 (exit $ac_status); } && {
44650 test -z "$ac_c_werror_flag" ||
44651 test ! -s conftest.err
44652 } && test -s conftest.$ac_objext; then
44653 ac_cv_header_ole2_h=yes
44655 echo "$as_me: failed program was:" >&5
44656 sed 's/^/| /' conftest.$ac_ext >&5
44658 ac_cv_header_ole2_h=no
44661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44663 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44664 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44668 if test "$ac_cv_header_ole2_h" = "yes" ; then
44669 if test "$GCC" = yes ; then
44670 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44671 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44672 cat >conftest.$ac_ext <<_ACEOF
44675 cat confdefs.h >>conftest.$ac_ext
44676 cat >>conftest.$ac_ext <<_ACEOF
44677 /* end confdefs.h. */
44678 #include <windows.h>
44688 rm -f conftest.$ac_objext
44689 if { (ac_try="$ac_compile"
44690 case "(($ac_try" in
44691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44692 *) ac_try_echo
=$ac_try;;
44694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44695 (eval "$ac_compile") 2>conftest.er1
44697 grep -v '^ *+' conftest.er1
>conftest.err
44699 cat conftest.err
>&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } && {
44702 test -z "$ac_c_werror_flag" ||
44703 test ! -s conftest.err
44704 } && test -s conftest.
$ac_objext; then
44705 { echo "$as_me:$LINENO: result: no" >&5
44706 echo "${ECHO_T}no" >&6; }
44708 echo "$as_me: failed program was:" >&5
44709 sed 's/^/| /' conftest.
$ac_ext >&5
44711 { echo "$as_me:$LINENO: result: yes" >&5
44712 echo "${ECHO_T}yes" >&6; }
44713 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44717 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44718 if test "$wxUSE_OLE" = "yes" ; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_OLE 1
44723 cat >>confdefs.h
<<\_ACEOF
44724 #define wxUSE_OLE_AUTOMATION 1
44727 cat >>confdefs.h
<<\_ACEOF
44728 #define wxUSE_ACTIVEX 1
44731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44735 if test "$wxUSE_DATAOBJ" = "yes" ; then
44736 cat >>confdefs.h
<<\_ACEOF
44737 #define wxUSE_DATAOBJ 1
44742 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44743 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44746 wxUSE_DRAG_AND_DROP
=no
44751 if test "$wxUSE_METAFILE" = "yes"; then
44752 cat >>confdefs.h
<<\_ACEOF
44753 #define wxUSE_METAFILE 1
44757 cat >>confdefs.h
<<\_ACEOF
44758 #define wxUSE_ENH_METAFILE 1
44764 if test "$wxUSE_IPC" = "yes"; then
44765 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44766 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44767 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44771 if test "$wxUSE_IPC" = "yes"; then
44772 cat >>confdefs.h
<<\_ACEOF
44773 #define wxUSE_IPC 1
44776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44780 if test "$wxUSE_DATAOBJ" = "yes"; then
44781 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44782 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44783 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44786 cat >>confdefs.h
<<\_ACEOF
44787 #define wxUSE_DATAOBJ 1
44792 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44793 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44795 wxUSE_DRAG_AND_DROP
=no
44798 if test "$wxUSE_CLIPBOARD" = "yes"; then
44799 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44800 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44801 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44805 if test "$wxUSE_CLIPBOARD" = "yes"; then
44806 cat >>confdefs.h
<<\_ACEOF
44807 #define wxUSE_CLIPBOARD 1
44813 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44814 if test "$wxUSE_GTK" = 1; then
44815 if test "$WXGTK12" != 1; then
44816 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44817 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44818 wxUSE_DRAG_AND_DROP
=no
44822 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44823 "$wxUSE_DFB" = 1; then
44824 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44825 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44826 wxUSE_DRAG_AND_DROP
=no
44829 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44830 cat >>confdefs.h
<<\_ACEOF
44831 #define wxUSE_DRAG_AND_DROP 1
44838 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44842 if test "$wxUSE_SPLINES" = "yes" ; then
44843 cat >>confdefs.h
<<\_ACEOF
44844 #define wxUSE_SPLINES 1
44849 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44850 cat >>confdefs.h
<<\_ACEOF
44851 #define wxUSE_MOUSEWHEEL 1
44858 if test "$wxUSE_CONTROLS" = "yes"; then
44862 if test "$wxUSE_ACCEL" = "yes"; then
44863 cat >>confdefs.h
<<\_ACEOF
44864 #define wxUSE_ACCEL 1
44870 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44871 cat >>confdefs.h
<<\_ACEOF
44872 #define wxUSE_ANIMATIONCTRL 1
44876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44879 if test "$wxUSE_BUTTON" = "yes"; then
44880 cat >>confdefs.h
<<\_ACEOF
44881 #define wxUSE_BUTTON 1
44887 if test "$wxUSE_BMPBUTTON" = "yes"; then
44888 cat >>confdefs.h
<<\_ACEOF
44889 #define wxUSE_BMPBUTTON 1
44895 if test "$wxUSE_CALCTRL" = "yes"; then
44896 cat >>confdefs.h
<<\_ACEOF
44897 #define wxUSE_CALENDARCTRL 1
44901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44904 if test "$wxUSE_CARET" = "yes"; then
44905 cat >>confdefs.h
<<\_ACEOF
44906 #define wxUSE_CARET 1
44910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44913 if test "$wxUSE_COLLPANE" = "yes"; then
44914 cat >>confdefs.h
<<\_ACEOF
44915 #define wxUSE_COLLPANE 1
44919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44922 if test "$wxUSE_COMBOBOX" = "yes"; then
44923 cat >>confdefs.h
<<\_ACEOF
44924 #define wxUSE_COMBOBOX 1
44930 if test "$wxUSE_COMBOCTRL" = "yes"; then
44931 cat >>confdefs.h
<<\_ACEOF
44932 #define wxUSE_COMBOCTRL 1
44938 if test "$wxUSE_CHOICE" = "yes"; then
44939 cat >>confdefs.h
<<\_ACEOF
44940 #define wxUSE_CHOICE 1
44946 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44947 cat >>confdefs.h
<<\_ACEOF
44948 #define wxUSE_CHOICEBOOK 1
44954 if test "$wxUSE_CHECKBOX" = "yes"; then
44955 cat >>confdefs.h
<<\_ACEOF
44956 #define wxUSE_CHECKBOX 1
44962 if test "$wxUSE_CHECKLST" = "yes"; then
44963 cat >>confdefs.h
<<\_ACEOF
44964 #define wxUSE_CHECKLISTBOX 1
44970 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44971 cat >>confdefs.h
<<\_ACEOF
44972 #define wxUSE_COLOURPICKERCTRL 1
44978 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44979 cat >>confdefs.h
<<\_ACEOF
44980 #define wxUSE_DATEPICKCTRL 1
44986 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44987 cat >>confdefs.h
<<\_ACEOF
44988 #define wxUSE_DIRPICKERCTRL 1
44994 if test "$wxUSE_FILECTRL" = "yes"; then
44995 cat >>confdefs.h
<<\_ACEOF
44996 #define wxUSE_FILECTRL 1
45002 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45003 cat >>confdefs.h
<<\_ACEOF
45004 #define wxUSE_FILEPICKERCTRL 1
45010 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45011 cat >>confdefs.h
<<\_ACEOF
45012 #define wxUSE_FONTPICKERCTRL 1
45018 if test "$wxUSE_DISPLAY" = "yes"; then
45019 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45020 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45021 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45024 cat >>confdefs.h
<<\_ACEOF
45025 #define wxUSE_DISPLAY 1
45028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45032 if test "$wxUSE_DETECT_SM" = "yes"; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_DETECT_SM 1
45039 if test "$wxUSE_GAUGE" = "yes"; then
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_GAUGE 1
45047 if test "$wxUSE_GRID" = "yes"; then
45048 cat >>confdefs.h
<<\_ACEOF
45049 #define wxUSE_GRID 1
45053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45056 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45057 cat >>confdefs.h
<<\_ACEOF
45058 #define wxUSE_HYPERLINKCTRL 1
45064 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45065 cat >>confdefs.h
<<\_ACEOF
45066 #define wxUSE_BITMAPCOMBOBOX 1
45072 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45073 cat >>confdefs.h
<<\_ACEOF
45074 #define wxUSE_DATAVIEWCTRL 1
45078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45081 if test "$wxUSE_IMAGLIST" = "yes"; then
45082 cat >>confdefs.h
<<\_ACEOF
45083 #define wxUSE_IMAGLIST 1
45088 if test "$wxUSE_LISTBOOK" = "yes"; then
45089 cat >>confdefs.h
<<\_ACEOF
45090 #define wxUSE_LISTBOOK 1
45096 if test "$wxUSE_LISTBOX" = "yes"; then
45097 cat >>confdefs.h
<<\_ACEOF
45098 #define wxUSE_LISTBOX 1
45104 if test "$wxUSE_LISTCTRL" = "yes"; then
45105 if test "$wxUSE_IMAGLIST" = "yes"; then
45106 cat >>confdefs.h
<<\_ACEOF
45107 #define wxUSE_LISTCTRL 1
45111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45113 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45114 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45118 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_EDITABLELISTBOX 1
45124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45127 if test "$wxUSE_NOTEBOOK" = "yes"; then
45128 cat >>confdefs.h
<<\_ACEOF
45129 #define wxUSE_NOTEBOOK 1
45133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45136 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45137 cat >>confdefs.h
<<\_ACEOF
45138 #define wxUSE_ODCOMBOBOX 1
45142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45145 if test "$wxUSE_RADIOBOX" = "yes"; then
45146 cat >>confdefs.h
<<\_ACEOF
45147 #define wxUSE_RADIOBOX 1
45153 if test "$wxUSE_RADIOBTN" = "yes"; then
45154 cat >>confdefs.h
<<\_ACEOF
45155 #define wxUSE_RADIOBTN 1
45161 if test "$wxUSE_SASH" = "yes"; then
45162 cat >>confdefs.h
<<\_ACEOF
45163 #define wxUSE_SASH 1
45166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45169 if test "$wxUSE_SCROLLBAR" = "yes"; then
45170 cat >>confdefs.h
<<\_ACEOF
45171 #define wxUSE_SCROLLBAR 1
45175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45178 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45179 cat >>confdefs.h
<<\_ACEOF
45180 #define wxUSE_SEARCHCTRL 1
45186 if test "$wxUSE_SLIDER" = "yes"; then
45187 cat >>confdefs.h
<<\_ACEOF
45188 #define wxUSE_SLIDER 1
45194 if test "$wxUSE_SPINBTN" = "yes"; then
45195 cat >>confdefs.h
<<\_ACEOF
45196 #define wxUSE_SPINBTN 1
45202 if test "$wxUSE_SPINCTRL" = "yes"; then
45203 cat >>confdefs.h
<<\_ACEOF
45204 #define wxUSE_SPINCTRL 1
45210 if test "$wxUSE_SPLITTER" = "yes"; then
45211 cat >>confdefs.h
<<\_ACEOF
45212 #define wxUSE_SPLITTER 1
45215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45218 if test "$wxUSE_STATBMP" = "yes"; then
45219 cat >>confdefs.h
<<\_ACEOF
45220 #define wxUSE_STATBMP 1
45226 if test "$wxUSE_STATBOX" = "yes"; then
45227 cat >>confdefs.h
<<\_ACEOF
45228 #define wxUSE_STATBOX 1
45234 if test "$wxUSE_STATTEXT" = "yes"; then
45235 cat >>confdefs.h
<<\_ACEOF
45236 #define wxUSE_STATTEXT 1
45242 if test "$wxUSE_STATLINE" = "yes"; then
45243 cat >>confdefs.h
<<\_ACEOF
45244 #define wxUSE_STATLINE 1
45250 if test "$wxUSE_STATUSBAR" = "yes"; then
45251 cat >>confdefs.h
<<\_ACEOF
45252 #define wxUSE_NATIVE_STATUSBAR 1
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_STATUSBAR 1
45261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45264 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45265 cat >>confdefs.h
<<\_ACEOF
45266 #define wxUSE_TAB_DIALOG 1
45271 if test "$wxUSE_TEXTCTRL" = "yes"; then
45272 cat >>confdefs.h
<<\_ACEOF
45273 #define wxUSE_TEXTCTRL 1
45277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45280 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45281 if test "$wxUSE_COCOA" = 1 ; then
45282 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45283 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45287 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45288 cat >>confdefs.h
<<\_ACEOF
45289 #define wxUSE_TOGGLEBTN 1
45296 if test "$wxUSE_TOOLBAR" = "yes"; then
45297 cat >>confdefs.h
<<\_ACEOF
45298 #define wxUSE_TOOLBAR 1
45303 if test "$wxUSE_UNIVERSAL" = "yes"; then
45304 wxUSE_TOOLBAR_NATIVE
="no"
45306 wxUSE_TOOLBAR_NATIVE
="yes"
45307 cat >>confdefs.h
<<\_ACEOF
45308 #define wxUSE_TOOLBAR_NATIVE 1
45313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45316 if test "$wxUSE_TOOLTIPS" = "yes"; then
45317 if test "$wxUSE_MOTIF" = 1; then
45318 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45319 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45321 if test "$wxUSE_UNIVERSAL" = "yes"; then
45322 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45323 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45325 cat >>confdefs.h
<<\_ACEOF
45326 #define wxUSE_TOOLTIPS 1
45333 if test "$wxUSE_TREEBOOK" = "yes"; then
45334 cat >>confdefs.h
<<\_ACEOF
45335 #define wxUSE_TREEBOOK 1
45341 if test "$wxUSE_TOOLBOOK" = "yes"; then
45342 cat >>confdefs.h
<<\_ACEOF
45343 #define wxUSE_TOOLBOOK 1
45349 if test "$wxUSE_TREECTRL" = "yes"; then
45350 if test "$wxUSE_IMAGLIST" = "yes"; then
45351 cat >>confdefs.h
<<\_ACEOF
45352 #define wxUSE_TREECTRL 1
45356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45358 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45359 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45363 if test "$wxUSE_POPUPWIN" = "yes"; then
45364 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45365 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45366 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45368 if test "$wxUSE_PM" = 1; then
45369 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45370 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45372 cat >>confdefs.h
<<\_ACEOF
45373 #define wxUSE_POPUPWIN 1
45376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45383 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45384 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45385 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45386 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45388 cat >>confdefs.h
<<\_ACEOF
45389 #define wxUSE_DIALUP_MANAGER 1
45392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45396 if test "$wxUSE_TIPWINDOW" = "yes"; then
45397 if test "$wxUSE_PM" = 1; then
45398 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45399 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45401 cat >>confdefs.h
<<\_ACEOF
45402 #define wxUSE_TIPWINDOW 1
45408 if test "$USES_CONTROLS" = 1; then
45409 cat >>confdefs.h
<<\_ACEOF
45410 #define wxUSE_CONTROLS 1
45416 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45417 cat >>confdefs.h
<<\_ACEOF
45418 #define wxUSE_ACCESSIBILITY 1
45421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45424 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45425 cat >>confdefs.h
<<\_ACEOF
45426 #define wxUSE_DRAGIMAGE 1
45429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45432 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45433 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45434 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45435 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45437 cat >>confdefs.h
<<\_ACEOF
45438 #define wxUSE_EXCEPTIONS 1
45441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45446 if test "$wxUSE_HTML" = "yes"; then
45447 cat >>confdefs.h
<<\_ACEOF
45448 #define wxUSE_HTML 1
45452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45453 if test "$wxUSE_MAC" = 1; then
45454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45457 if test "$wxUSE_WEBKIT" = "yes"; then
45458 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45459 old_CPPFLAGS
="$CPPFLAGS"
45460 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45461 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45462 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45463 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45464 echo $ECHO_N "(cached) $ECHO_C" >&6
45466 cat >conftest.
$ac_ext <<_ACEOF
45469 cat confdefs.h
>>conftest.
$ac_ext
45470 cat >>conftest.
$ac_ext <<_ACEOF
45471 /* end confdefs.h. */
45473 #include <Carbon/Carbon.h>
45474 #include <WebKit/WebKit.h>
45477 #include <WebKit/HIWebView.h>
45479 rm -f conftest.
$ac_objext
45480 if { (ac_try
="$ac_compile"
45481 case "(($ac_try" in
45482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45483 *) ac_try_echo=$ac_try;;
45485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45486 (eval "$ac_compile") 2>conftest.er1
45488 grep -v '^ *+' conftest.er1 >conftest.err
45490 cat conftest.err >&5
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); } && {
45493 test -z "$ac_c_werror_flag" ||
45494 test ! -s conftest.err
45495 } && test -s conftest.$ac_objext; then
45496 ac_cv_header_WebKit_HIWebView_h=yes
45498 echo "$as_me: failed program was:" >&5
45499 sed 's/^/| /' conftest.$ac_ext >&5
45501 ac_cv_header_WebKit_HIWebView_h=no
45504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45506 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45507 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45508 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_WEBKIT 1
45514 WEBKIT_LINK="-framework WebKit"
45518 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45519 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45525 CPPFLAGS="$old_CPPFLAGS"
45526 elif test "$wxUSE_COCOA" = 1; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_WEBKIT 1
45537 if test "$wxUSE_XRC" = "yes"; then
45538 if test "$wxUSE_XML" != "yes"; then
45539 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45540 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_XRC 1
45548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45553 if test "$wxUSE_AUI" = "yes"; then
45554 cat >>confdefs.h <<\_ACEOF
45555 #define wxUSE_AUI 1
45559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45563 if test "$wxUSE_STC" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_STC 1
45569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45572 if test "$wxUSE_MENUS" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_MENUS 1
45577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45580 if test "$wxUSE_METAFILE" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_METAFILE 1
45587 if test "$wxUSE_MIMETYPE" = "yes"; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_MIMETYPE 1
45594 if test "$wxUSE_MINIFRAME" = "yes"; then
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_MINIFRAME 1
45601 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_SYSTEM_OPTIONS 1
45608 if test "$wxUSE_TASKBARICON" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_TASKBARICON 1
45613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45617 if test "$wxUSE_VALIDATORS" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_VALIDATORS 1
45622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45625 if test "$wxUSE_PALETTE" = "yes" ; then
45626 if test "$wxUSE_DFB" = 1; then
45627 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45628 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45631 cat >>confdefs.h <<\_ACEOF
45632 #define wxUSE_PALETTE 1
45638 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45639 LIBS=" -lunicows $LIBS"
45643 if test "$wxUSE_RICHTEXT" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_RICHTEXT 1
45649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45653 if test "$wxUSE_IMAGE" = "yes" ; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_IMAGE 1
45659 if test "$wxUSE_GIF" = "yes" ; then
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_GIF 1
45666 if test "$wxUSE_PCX" = "yes" ; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_PCX 1
45673 if test "$wxUSE_TGA" = "yes" ; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_TGA 1
45680 if test "$wxUSE_IFF" = "yes" ; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_IFF 1
45687 if test "$wxUSE_PNM" = "yes" ; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_PNM 1
45694 if test "$wxUSE_XPM" = "yes" ; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_XPM 1
45701 if test "$wxUSE_ICO_CUR" = "yes" ; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_ICO_CUR 1
45710 if test "$wxUSE_ABOUTDLG" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_ABOUTDLG 1
45717 if test "$wxUSE_CHOICEDLG" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_CHOICEDLG 1
45724 if test "$wxUSE_COLOURDLG" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_COLOURDLG 1
45731 if test "$wxUSE_FILEDLG" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_FILEDLG 1
45738 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_FINDREPLDLG 1
45745 if test "$wxUSE_FONTDLG" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_FONTDLG 1
45752 if test "$wxUSE_DIRDLG" = "yes"; then
45753 if test "$wxUSE_TREECTRL" != "yes"; then
45754 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45755 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_DIRDLG 1
45764 if test "$wxUSE_MSGDLG" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_MSGDLG 1
45771 if test "$wxUSE_NUMBERDLG" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_NUMBERDLG 1
45778 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45779 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45780 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45781 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_PROGRESSDLG 1
45790 if test "$wxUSE_SPLASH" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_SPLASH 1
45795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45798 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45799 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45800 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45801 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_STARTUP_TIPS 1
45810 if test "$wxUSE_TEXTDLG" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_TEXTDLG 1
45817 if test "$wxUSE_WIZARDDLG" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_WIZARDDLG 1
45822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45826 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45827 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_OWNER_DRAWN 1
45836 if test "$wxUSE_MSW" = 1 ; then
45838 if test "$wxUSE_DC_CACHEING" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_DC_CACHEING 1
45845 if test "$wxUSE_DIB" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_WXDIB 1
45852 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45859 if test "$wxUSE_UXTHEME" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_UXTHEME 1
45869 if test "$USE_WIN32" = 1 ; then
45870 if test "$wxUSE_INICONF" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_INICONF 1
45877 if test "$wxUSE_REGKEY" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_REGKEY 1
45886 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45887 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_GRAPHICS_CONTEXT 1
45892 elif test "$wxUSE_GTK" != 1; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_GRAPHICS_CONTEXT 1
45900 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45901 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45903 if test -n "$PKG_CONFIG"; then
45904 if test -n "$CAIRO_CFLAGS"; then
45905 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45907 if test -n "$PKG_CONFIG" && \
45908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45909 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912 (exit $ac_status); }; then
45913 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45921 if test -n "$PKG_CONFIG"; then
45922 if test -n "$CAIRO_LIBS"; then
45923 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45925 if test -n "$PKG_CONFIG" && \
45926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45927 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); }; then
45931 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45942 if test $pkg_failed = yes; then
45944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45945 _pkg_short_errors_supported=yes
45947 _pkg_short_errors_supported=no
45949 if test $_pkg_short_errors_supported = yes; then
45950 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45952 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45954 # Put the nasty error message in config.log where it belongs
45955 echo "$CAIRO_PKG_ERRORS" >&5
45957 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45958 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45960 elif test $pkg_failed = untried; then
45961 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45962 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45965 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45966 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45967 { echo "$as_me:$LINENO: result: yes" >&5
45968 echo "${ECHO_T}yes" >&6; }
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_GRAPHICS_CONTEXT 1
45980 if test "$wxUSE_MEDIACTRL" = "yes"; then
45983 if test "$wxUSE_GTK" = 1; then
45984 wxUSE_GSTREAMER="no"
45986 GST_VERSION_MAJOR=0
45987 GST_VERSION_MINOR=10
45988 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45990 if test "$wxUSE_GSTREAMER8" = "no"; then
45993 { echo "$as_me:$LINENO: checking for GST" >&5
45994 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45996 if test -n "$PKG_CONFIG"; then
45997 if test -n "$GST_CFLAGS"; then
45998 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46000 if test -n "$PKG_CONFIG" && \
46001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46002 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46005 (exit $ac_status); }; then
46006 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46014 if test -n "$PKG_CONFIG"; then
46015 if test -n "$GST_LIBS"; then
46016 pkg_cv_GST_LIBS="$GST_LIBS"
46018 if test -n "$PKG_CONFIG" && \
46019 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46020 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); }; then
46024 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46035 if test $pkg_failed = yes; then
46037 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46038 _pkg_short_errors_supported=yes
46040 _pkg_short_errors_supported=no
46042 if test $_pkg_short_errors_supported = yes; then
46043 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46045 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46047 # Put the nasty error message in config.log where it belongs
46048 echo "$GST_PKG_ERRORS" >&5
46051 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46052 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46053 GST_VERSION_MINOR=8
46056 elif test $pkg_failed = untried; then
46058 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46059 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46060 GST_VERSION_MINOR=8
46064 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46065 GST_LIBS=$pkg_cv_GST_LIBS
46066 { echo "$as_me:$LINENO: result: yes" >&5
46067 echo "${ECHO_T}yes" >&6; }
46069 wxUSE_GSTREAMER="yes"
46070 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46074 GST_VERSION_MINOR=8
46077 if test $GST_VERSION_MINOR = "8"; then
46078 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46081 { echo "$as_me:$LINENO: checking for GST" >&5
46082 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46084 if test -n "$PKG_CONFIG"; then
46085 if test -n "$GST_CFLAGS"; then
46086 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46088 if test -n "$PKG_CONFIG" && \
46089 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46090 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46093 (exit $ac_status); }; then
46094 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46102 if test -n "$PKG_CONFIG"; then
46103 if test -n "$GST_LIBS"; then
46104 pkg_cv_GST_LIBS="$GST_LIBS"
46106 if test -n "$PKG_CONFIG" && \
46107 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46108 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46111 (exit $ac_status); }; then
46112 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46123 if test $pkg_failed = yes; then
46125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46126 _pkg_short_errors_supported=yes
46128 _pkg_short_errors_supported=no
46130 if test $_pkg_short_errors_supported = yes; then
46131 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46133 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46135 # Put the nasty error message in config.log where it belongs
46136 echo "$GST_PKG_ERRORS" >&5
46139 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46140 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46142 elif test $pkg_failed = untried; then
46144 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46145 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46148 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46149 GST_LIBS=$pkg_cv_GST_LIBS
46150 { echo "$as_me:$LINENO: result: yes" >&5
46151 echo "${ECHO_T}yes" >&6; }
46152 wxUSE_GSTREAMER="yes"
46157 if test "$wxUSE_GSTREAMER" = "yes"; then
46158 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46159 EXTRALIBS_MEDIA="$GST_LIBS"
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_GSTREAMER 1
46170 if test $USE_MEDIA = 1; then
46171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_MEDIACTRL 1
46180 if test "$cross_compiling" = "yes"; then
46183 OSINFO=`uname
-s -r -m`
46184 OSINFO="\"$OSINFO\""
46187 cat >>confdefs.h <<_ACEOF
46188 #define WXWIN_OS_DESCRIPTION $OSINFO
46193 if test "x$prefix" != "xNONE"; then
46196 wxPREFIX=$ac_default_prefix
46199 cat >>confdefs.h <<_ACEOF
46200 #define wxINSTALL_PREFIX "$wxPREFIX"
46206 STD_BASE_LIBS="base"
46208 BUILT_WX_LIBS="base"
46209 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46211 if test "$wxUSE_SOCKETS" = "yes" ; then
46212 STD_BASE_LIBS="net $STD_BASE_LIBS"
46213 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46215 if test "$wxUSE_XML" = "yes" ; then
46216 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46217 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46220 if test "$wxUSE_GUI" = "yes"; then
46221 STD_GUI_LIBS="adv core"
46222 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46224 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46225 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46226 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46228 if test "$wxUSE_HTML" = "yes" ; then
46229 STD_GUI_LIBS="html $STD_GUI_LIBS"
46230 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46232 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46233 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46235 if test "$wxUSE_OPENGL" = "yes" ; then
46236 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46238 if test "$wxUSE_AUI" = "yes" ; then
46239 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46241 if test "$wxUSE_STC" = "yes" ; then
46242 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46244 if test "$wxUSE_XRC" = "yes" ; then
46245 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46246 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46257 if test "$wxUSE_MAC" = 1 ; then
46258 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46259 if test "$USE_DARWIN" = 1; then
46260 LDFLAGS="$LDFLAGS -framework QuickTime"
46262 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46265 if test "$USE_DARWIN" = 1; then
46266 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46268 LDFLAGS="$LDFLAGS -lCarbonLib"
46271 if test "$wxUSE_COCOA" = 1 ; then
46272 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46273 if test "$wxUSE_MEDIACTRL" = "yes"; then
46274 LDFLAGS="$LDFLAGS -framework QuickTime"
46277 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46278 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46281 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46283 if test "$wxUSE_GUI" = "yes"; then
46286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46287 erase event exec font image minimal mobile \
46288 mobile/wxedit mobile/styles render \
46289 shaped svg taborder vscroll widgets"
46291 if test "$wxUSE_MONOLITHIC" != "yes"; then
46292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46294 if test "$TOOLKIT" = "MSW"; then
46295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46296 if test "$wxUSE_UNIVERSAL" != "yes"; then
46297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46300 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46304 SAMPLES_SUBDIRS="console"
46308 if test "x$INTELCC" = "xyes" ; then
46309 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46310 elif test "$GCC" = yes ; then
46311 CWARNINGS="-Wall -Wundef"
46314 if test "x$INTELCXX" = "xyes" ; then
46315 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46316 elif test "$GXX" = yes ; then
46317 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46321 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46322 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46325 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46326 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46327 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46330 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46331 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46332 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46334 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46337 if test "x$MWCC" = "xyes"; then
46339 CC="$CC -cwd source -I-"
46340 CXX="$CXX -cwd source -I-"
46345 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46346 EXTRALIBS_XML="$EXPAT_LINK"
46347 EXTRALIBS_HTML="$MSPACK_LINK"
46348 EXTRALIBS_MEDIA="$GST_LIBS"
46349 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46350 if test "$wxUSE_GUI" = "yes"; then
46351 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46353 if test "$wxUSE_OPENGL" = "yes"; then
46354 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46357 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46359 WXCONFIG_LIBS="$LIBS"
46361 if test "$wxUSE_REGEX" = "builtin" ; then
46362 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46364 if test "$wxUSE_EXPAT" = "builtin" ; then
46365 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46367 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46368 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46370 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46371 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46373 if test "$wxUSE_LIBPNG" = "builtin" ; then
46374 wxconfig_3rdparty="png $wxconfig_3rdparty"
46376 if test "$wxUSE_ZLIB" = "builtin" ; then
46377 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46380 for i in $wxconfig_3rdparty ; do
46381 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46385 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46388 case "$wxUNIV_THEMES" in
46390 cat >>confdefs.h <<\_ACEOF
46391 #define wxUSE_ALL_THEMES 1
46397 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
46398 cat >>confdefs.h <<_ACEOF
46399 #define wxUSE_THEME_$t 1
46415 if test $wxUSE_MONOLITHIC = "yes" ; then
46421 if test $wxUSE_PLUGINS = "yes" ; then
46427 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46433 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46465 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A
-Z a
-z`
46476 TOOLKIT_DESC="GTK+"
46477 if test "$WXGTK2" = 1; then
46478 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46479 if test "$wxUSE_GTKPRINT" = "yes" ; then
46480 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46482 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46483 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46485 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46486 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46488 if test "$wxUSE_LIBHILDON" = "yes"; then
46489 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46492 if test "$TOOLKIT_EXTRA" != ""; then
46493 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46499 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46503 TOOLKIT_DESC="base only"
46507 if test "$wxUSE_WINE" = "yes"; then
46508 BAKEFILE_FORCE_PLATFORM=win32
46511 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46513 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46514 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46515 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46516 echo $ECHO_N "(cached) $ECHO_C" >&6
46519 echo '#include <stdio.h>
46520 const wchar_t test_var[] = L"awidetest";' > conftest.h
46522 echo '#include "conftest.h"
46525 printf("%ls", test_var);
46529 wx_cv_gcc_pch_bug="pch not supported"
46531 if $CXX conftest.h >/dev/null 2>&1
46535 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46537 if tr -dc a-z < conftest$PROGRAM_EXT |
46538 grep awidetest >/dev/null
46540 wx_cv_gcc_pch_bug=no
46542 wx_cv_gcc_pch_bug=yes
46547 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46550 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46551 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46553 if test "$wx_cv_gcc_pch_bug" = yes; then
46561 if test "x$BAKEFILE_HOST" = "x"; then
46562 if test "x${host}" = "x" ; then
46563 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46564 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46565 { (exit 1); exit 1; }; }
46568 BAKEFILE_HOST="${host}"
46571 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46573 if test -n "$ac_tool_prefix"; then
46574 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46575 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46578 if test "${ac_cv_prog_RANLIB+set}" = set; then
46579 echo $ECHO_N "(cached) $ECHO_C" >&6
46581 if test -n "$RANLIB"; then
46582 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46585 for as_dir in $PATH
46588 test -z "$as_dir" && as_dir=.
46589 for ac_exec_ext in '' $ac_executable_extensions; do
46590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46591 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46601 RANLIB=$ac_cv_prog_RANLIB
46602 if test -n "$RANLIB"; then
46603 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46604 echo "${ECHO_T}$RANLIB" >&6; }
46606 { echo "$as_me:$LINENO: result: no" >&5
46607 echo "${ECHO_T}no" >&6; }
46612 if test -z "$ac_cv_prog_RANLIB"; then
46613 ac_ct_RANLIB=$RANLIB
46614 # Extract the first word of "ranlib", so it can be a program name with args.
46615 set dummy ranlib; ac_word=$2
46616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46618 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46619 echo $ECHO_N "(cached) $ECHO_C" >&6
46621 if test -n "$ac_ct_RANLIB"; then
46622 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46625 for as_dir in $PATH
46628 test -z "$as_dir" && as_dir=.
46629 for ac_exec_ext in '' $ac_executable_extensions; do
46630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46631 ac_cv_prog_ac_ct_RANLIB="ranlib"
46632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46641 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46642 if test -n "$ac_ct_RANLIB"; then
46643 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46644 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46646 { echo "$as_me:$LINENO: result: no" >&5
46647 echo "${ECHO_T}no" >&6; }
46650 if test "x$ac_ct_RANLIB" = x; then
46653 case $cross_compiling:$ac_tool_warned in
46655 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46656 whose name does not start with the host triplet. If you think this
46657 configuration is useful to you, please write to autoconf@gnu.org." >&5
46658 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46659 whose name does not start with the host triplet. If you think this
46660 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46661 ac_tool_warned=yes ;;
46663 RANLIB=$ac_ct_RANLIB
46666 RANLIB="$ac_cv_prog_RANLIB"
46669 # Find a good install program. We prefer a C program (faster),
46670 # so one script is as good as another. But avoid the broken or
46671 # incompatible versions:
46672 # SysV /etc/install, /usr/sbin/install
46673 # SunOS /usr/etc/install
46674 # IRIX /sbin/install
46676 # AmigaOS /C/install, which installs bootblocks on floppy discs
46677 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46678 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46679 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46680 # OS/2's system install, which has a completely different semantic
46681 # ./install, which can be erroneously created by make from ./install.sh.
46682 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46683 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46684 if test -z "$INSTALL"; then
46685 if test "${ac_cv_path_install+set}" = set; then
46686 echo $ECHO_N "(cached) $ECHO_C" >&6
46688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46689 for as_dir in $PATH
46692 test -z "$as_dir" && as_dir=.
46693 # Account for people who put trailing slashes in PATH elements.
46695 ./ | .// | /cC/* | \
46696 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46697 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46700 # OSF1 and SCO ODT 3.0 have their own names for install.
46701 # Don't use installbsd from OSF since it installs stuff as root
46703 for ac_prog in ginstall scoinst install; do
46704 for ac_exec_ext in '' $ac_executable_extensions; do
46705 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46706 if test $ac_prog = install &&
46707 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46708 # AIX install. It has an incompatible calling convention.
46710 elif test $ac_prog = install &&
46711 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46712 # program-specific install script used by HP pwplus--don't use.
46715 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46728 if test "${ac_cv_path_install+set}" = set; then
46729 INSTALL=$ac_cv_path_install
46731 # As a last resort, use the slow shell script. Don't cache a
46732 # value for INSTALL within a source directory, because that will
46733 # break other packages using the cache if that directory is
46734 # removed, or if the value is a relative name.
46735 INSTALL=$ac_install_sh
46738 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46739 echo "${ECHO_T}$INSTALL" >&6; }
46741 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46742 # It thinks the first close brace ends the variable substitution.
46743 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46745 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46747 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46749 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46750 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46752 if test "$LN_S" = "ln -s"; then
46753 { echo "$as_me:$LINENO: result: yes" >&5
46754 echo "${ECHO_T}yes" >&6; }
46756 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46757 echo "${ECHO_T}no, using $LN_S" >&6; }
46761 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46763 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46764 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46765 echo $ECHO_N "(cached) $ECHO_C" >&6
46767 cat >conftest.make <<\_ACEOF
46770 @echo '@@@%%%=$(MAKE)=@@@%%%'
46772 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46773 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46774 *@@@%%%=?*=@@@%%%*)
46775 eval ac_cv_prog_make_${ac_make}_set=yes;;
46777 eval ac_cv_prog_make_${ac_make}_set=no;;
46779 rm -f conftest.make
46781 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46782 { echo "$as_me:$LINENO: result: yes" >&5
46783 echo "${ECHO_T}yes" >&6; }
46786 { echo "$as_me:$LINENO: result: no" >&5
46787 echo "${ECHO_T}no" >&6; }
46788 SET_MAKE="MAKE=${MAKE-make}"
46793 if test "x$SUNCXX" = "xyes"; then
46795 AROPTIONS="-xar -o"
46797 elif test "x$SGICC" = "xyes"; then
46802 if test -n "$ac_tool_prefix"; then
46803 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46804 set dummy ${ac_tool_prefix}ar; ac_word=$2
46805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46807 if test "${ac_cv_prog_AR+set}" = set; then
46808 echo $ECHO_N "(cached) $ECHO_C" >&6
46810 if test -n "$AR"; then
46811 ac_cv_prog_AR="$AR" # Let the user override the test.
46813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46814 for as_dir in $PATH
46817 test -z "$as_dir" && as_dir=.
46818 for ac_exec_ext in '' $ac_executable_extensions; do
46819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46820 ac_cv_prog_AR="${ac_tool_prefix}ar"
46821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46831 if test -n "$AR"; then
46832 { echo "$as_me:$LINENO: result: $AR" >&5
46833 echo "${ECHO_T}$AR" >&6; }
46835 { echo "$as_me:$LINENO: result: no" >&5
46836 echo "${ECHO_T}no" >&6; }
46841 if test -z "$ac_cv_prog_AR"; then
46843 # Extract the first word of "ar", so it can be a program name with args.
46844 set dummy ar; ac_word=$2
46845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46847 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46848 echo $ECHO_N "(cached) $ECHO_C" >&6
46850 if test -n "$ac_ct_AR"; then
46851 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46854 for as_dir in $PATH
46857 test -z "$as_dir" && as_dir=.
46858 for ac_exec_ext in '' $ac_executable_extensions; do
46859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46860 ac_cv_prog_ac_ct_AR="ar"
46861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46870 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46871 if test -n "$ac_ct_AR"; then
46872 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46873 echo "${ECHO_T}$ac_ct_AR" >&6; }
46875 { echo "$as_me:$LINENO: result: no" >&5
46876 echo "${ECHO_T}no" >&6; }
46879 if test "x$ac_ct_AR" = x; then
46882 case $cross_compiling:$ac_tool_warned in
46884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46885 whose name does not start with the host triplet. If you think this
46886 configuration is useful to you, please write to autoconf@gnu.org." >&5
46887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46888 whose name does not start with the host triplet. If you think this
46889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46890 ac_tool_warned=yes ;;
46895 AR="$ac_cv_prog_AR"
46902 if test -n "$ac_tool_prefix"; then
46903 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46904 set dummy ${ac_tool_prefix}strip; ac_word=$2
46905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46907 if test "${ac_cv_prog_STRIP+set}" = set; then
46908 echo $ECHO_N "(cached) $ECHO_C" >&6
46910 if test -n "$STRIP"; then
46911 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46914 for as_dir in $PATH
46917 test -z "$as_dir" && as_dir=.
46918 for ac_exec_ext in '' $ac_executable_extensions; do
46919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46920 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46930 STRIP=$ac_cv_prog_STRIP
46931 if test -n "$STRIP"; then
46932 { echo "$as_me:$LINENO: result: $STRIP" >&5
46933 echo "${ECHO_T}$STRIP" >&6; }
46935 { echo "$as_me:$LINENO: result: no" >&5
46936 echo "${ECHO_T}no" >&6; }
46941 if test -z "$ac_cv_prog_STRIP"; then
46943 # Extract the first word of "strip", so it can be a program name with args.
46944 set dummy strip; ac_word=$2
46945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46947 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46948 echo $ECHO_N "(cached) $ECHO_C" >&6
46950 if test -n "$ac_ct_STRIP"; then
46951 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46954 for as_dir in $PATH
46957 test -z "$as_dir" && as_dir=.
46958 for ac_exec_ext in '' $ac_executable_extensions; do
46959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46960 ac_cv_prog_ac_ct_STRIP="strip"
46961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46970 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46971 if test -n "$ac_ct_STRIP"; then
46972 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46973 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46975 { echo "$as_me:$LINENO: result: no" >&5
46976 echo "${ECHO_T}no" >&6; }
46979 if test "x$ac_ct_STRIP" = x; then
46982 case $cross_compiling:$ac_tool_warned in
46984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46985 whose name does not start with the host triplet. If you think this
46986 configuration is useful to you, please write to autoconf@gnu.org." >&5
46987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46988 whose name does not start with the host triplet. If you think this
46989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46990 ac_tool_warned=yes ;;
46995 STRIP="$ac_cv_prog_STRIP"
46998 if test -n "$ac_tool_prefix"; then
46999 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47000 set dummy ${ac_tool_prefix}nm; ac_word=$2
47001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47003 if test "${ac_cv_prog_NM+set}" = set; then
47004 echo $ECHO_N "(cached) $ECHO_C" >&6
47006 if test -n "$NM"; then
47007 ac_cv_prog_NM="$NM" # Let the user override the test.
47009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47010 for as_dir in $PATH
47013 test -z "$as_dir" && as_dir=.
47014 for ac_exec_ext in '' $ac_executable_extensions; do
47015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47016 ac_cv_prog_NM="${ac_tool_prefix}nm"
47017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47027 if test -n "$NM"; then
47028 { echo "$as_me:$LINENO: result: $NM" >&5
47029 echo "${ECHO_T}$NM" >&6; }
47031 { echo "$as_me:$LINENO: result: no" >&5
47032 echo "${ECHO_T}no" >&6; }
47037 if test -z "$ac_cv_prog_NM"; then
47039 # Extract the first word of "nm", so it can be a program name with args.
47040 set dummy nm; ac_word=$2
47041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47043 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47044 echo $ECHO_N "(cached) $ECHO_C" >&6
47046 if test -n "$ac_ct_NM"; then
47047 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47050 for as_dir in $PATH
47053 test -z "$as_dir" && as_dir=.
47054 for ac_exec_ext in '' $ac_executable_extensions; do
47055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47056 ac_cv_prog_ac_ct_NM="nm"
47057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47066 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47067 if test -n "$ac_ct_NM"; then
47068 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47069 echo "${ECHO_T}$ac_ct_NM" >&6; }
47071 { echo "$as_me:$LINENO: result: no" >&5
47072 echo "${ECHO_T}no" >&6; }
47075 if test "x$ac_ct_NM" = x; then
47078 case $cross_compiling:$ac_tool_warned in
47080 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47081 whose name does not start with the host triplet. If you think this
47082 configuration is useful to you, please write to autoconf@gnu.org." >&5
47083 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47084 whose name does not start with the host triplet. If you think this
47085 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47086 ac_tool_warned=yes ;;
47091 NM="$ac_cv_prog_NM"
47095 case ${BAKEFILE_HOST} in
47097 INSTALL_DIR="mkdir -p"
47100 INSTALL_DIR='$(INSTALL) -d'
47106 case ${BAKEFILE_HOST} in
47107 *-*-cygwin* | *-*-mingw32* )
47108 LDFLAGS_GUI="-mwindows"
47114 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47115 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47116 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47117 echo $ECHO_N "(cached) $ECHO_C" >&6
47120 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47121 egrep -s GNU > /dev/null); then
47122 bakefile_cv_prog_makeisgnu="yes"
47124 bakefile_cv_prog_makeisgnu="no"
47128 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47129 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47131 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47148 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47149 case "${BAKEFILE_HOST}" in
47156 *-pc-os2_emx | *-pc-os2-emx )
47166 powerpc-apple-macos* )
47175 case "$BAKEFILE_FORCE_PLATFORM" in
47210 # Check whether --enable-omf was given.
47211 if test "${enable_omf+set}" = set; then
47212 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47216 case "${BAKEFILE_HOST}" in
47218 if test "x$GCC" = "xyes"; then
47219 CFLAGS="$CFLAGS -fno-common"
47220 CXXFLAGS="$CXXFLAGS -fno-common"
47222 if test "x$XLCC" = "xyes"; then
47223 CFLAGS="$CFLAGS -qnocommon"
47224 CXXFLAGS="$CXXFLAGS -qnocommon"
47228 *-pc-os2_emx | *-pc-os2-emx )
47229 if test "x$bk_os2_use_omf" = "xyes" ; then
47232 LDFLAGS="-Zomf $LDFLAGS"
47233 CFLAGS="-Zomf $CFLAGS"
47234 CXXFLAGS="-Zomf $CXXFLAGS"
47242 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47248 SO_SUFFIX_MODULE="so"
47253 DLLPREFIX_MODULE=""
47257 case "${BAKEFILE_HOST}" in
47260 SO_SUFFIX_MODULE="sl"
47264 SO_SUFFIX_MODULE="a"
47268 SO_SUFFIX_MODULE="dll"
47269 DLLIMP_SUFFIX="dll.a"
47276 SO_SUFFIX_MODULE="dll"
47277 DLLIMP_SUFFIX="dll.a"
47287 *-pc-os2_emx | *-pc-os2-emx )
47289 SO_SUFFIX_MODULE="dll"
47290 DLLIMP_SUFFIX=$OS2_LIBEXT
47294 LIBEXT=".$OS2_LIBEXT"
47299 SO_SUFFIX_MODULE="bundle"
47303 if test "x$DLLIMP_SUFFIX" = "x" ; then
47304 DLLIMP_SUFFIX="$SO_SUFFIX"
47319 if test "x$GCC" = "xyes"; then
47323 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47324 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47327 case "${BAKEFILE_HOST}" in
47329 if test "x$GCC" != "xyes"; then
47330 LDFLAGS="$LDFLAGS -L/usr/lib"
47332 SHARED_LD_CC="${CC} -b -o"
47333 SHARED_LD_CXX="${CXX} -b -o"
47339 if test "$INTELCC" = "yes"; then
47341 elif test "x$SUNCXX" = "xyes"; then
47342 SHARED_LD_CC="${CC} -G -o"
47343 SHARED_LD_CXX="${CXX} -G -o"
47349 if test "x$SUNCXX" = xyes ; then
47350 SHARED_LD_CC="${CC} -G -o"
47351 SHARED_LD_CXX="${CXX} -G -o"
47359 cat <<EOF >shared-ld-sh
47361 #-----------------------------------------------------------------------------
47362 #-- Name: distrib/mac/shared-ld-sh
47363 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47364 #-- Author: Gilles Depeyrot
47365 #-- Copyright: (c) 2002 Gilles Depeyrot
47366 #-- Licence: any use permitted
47367 #-----------------------------------------------------------------------------
47372 linking_flag="-dynamiclib"
47373 ldargs="-r -keep_private_externs -nostdlib"
47375 while test ${D}# -gt 0; do
47382 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47383 # collect these options and values
47384 args="${D}{args} ${D}1 ${D}2"
47389 # collect these load args
47390 ldargs="${D}{ldargs} ${D}1"
47393 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47394 # collect these options
47395 args="${D}{args} ${D}1"
47398 -dynamiclib|-bundle)
47399 linking_flag="${D}1"
47403 echo "shared-ld: unhandled option '${D}1'"
47407 *.o | *.a | *.dylib)
47408 # collect object files
47409 objects="${D}{objects} ${D}1"
47413 echo "shared-ld: unhandled argument '${D}1'"
47424 # Link one module containing all the others
47426 if test ${D}{verbose} = 1; then
47427 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47429 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47433 # Link the shared library from the single module created, but only if the
47434 # previous command didn't fail:
47436 if test ${D}{status} = 0; then
47437 if test ${D}{verbose} = 1; then
47438 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47440 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47445 # Remove intermediate module
47447 rm -f master.${D}${D}.o
47452 chmod +x shared-ld-sh
47454 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47455 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47458 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47459 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47460 if test "${bakefile_cv_gcc31+set}" = set; then
47461 echo $ECHO_N "(cached) $ECHO_C" >&6
47464 cat >conftest.$ac_ext <<_ACEOF
47467 cat confdefs.h >>conftest.$ac_ext
47468 cat >>conftest.$ac_ext <<_ACEOF
47469 /* end confdefs.h. */
47475 #if (__GNUC__ < 3) || \
47476 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47484 rm -f conftest.$ac_objext
47485 if { (ac_try="$ac_compile"
47486 case "(($ac_try" in
47487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47488 *) ac_try_echo
=$ac_try;;
47490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47491 (eval "$ac_compile") 2>conftest.er1
47493 grep -v '^ *+' conftest.er1
>conftest.err
47495 cat conftest.err
>&5
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); } && {
47498 test -z "$ac_c_werror_flag" ||
47499 test ! -s conftest.err
47500 } && test -s conftest.
$ac_objext; then
47502 bakefile_cv_gcc31
=yes
47505 echo "$as_me: failed program was:" >&5
47506 sed 's/^/| /' conftest.
$ac_ext >&5
47509 bakefile_cv_gcc31
=no
47514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47517 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47518 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47519 if test "$bakefile_cv_gcc31" = "no"; then
47520 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47521 SHARED_LD_CXX
="$SHARED_LD_CC"
47523 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47524 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47527 if test "x$GCC" == "xyes"; then
47528 PIC_FLAG
="-dynamic -fPIC"
47530 if test "x$XLCC" = "xyes"; then
47531 PIC_FLAG
="-dynamic -DPIC"
47536 if test "x$GCC" = "xyes"; then
47539 case "${BAKEFILE_HOST}" in
47541 LD_EXPFULL
="-Wl,-bexpfull"
47545 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47546 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47548 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47549 set dummy makeC
++SharedLib
; ac_word
=$2
47550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47552 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47553 echo $ECHO_N "(cached) $ECHO_C" >&6
47555 if test -n "$AIX_CXX_LD"; then
47556 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47559 for as_dir
in $PATH
47562 test -z "$as_dir" && as_dir
=.
47563 for ac_exec_ext
in '' $ac_executable_extensions; do
47564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47565 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47573 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47576 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47577 if test -n "$AIX_CXX_LD"; then
47578 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47579 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47581 { echo "$as_me:$LINENO: result: no" >&5
47582 echo "${ECHO_T}no" >&6; }
47586 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47587 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47592 SHARED_LD_CC
="${LD} -nostart -o"
47593 SHARED_LD_CXX
="${LD} -nostart -o"
47597 if test "x$GCC" != "xyes"; then
47602 *-*-cygwin* | *-*-mingw32* )
47604 SHARED_LD_CC
="\$(CC) -shared -o"
47605 SHARED_LD_CXX
="\$(CXX) -shared -o"
47609 *-pc-os2_emx | *-pc-os2-emx )
47610 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47611 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47615 cat <<EOF >dllar.sh
47618 # dllar - a tool to build both a .dll and an .a file
47619 # from a set of object (.o) files for EMX/OS2.
47621 # Written by Andrew Zabolotny, bit@freya.etu.ru
47622 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47624 # This script will accept a set of files on the command line.
47625 # All the public symbols from the .o files will be exported into
47626 # a .DEF file, then linker will be run (through gcc) against them to
47627 # build a shared library consisting of all given .o files. All libraries
47628 # (.a) will be first decompressed into component .o files then act as
47629 # described above. You can optionally give a description (-d "description")
47630 # which will be put into .DLL. To see the list of accepted options (as well
47631 # as command-line format) simply run this program without options. The .DLL
47632 # is built to be imported by name (there is no guarantee that new versions
47633 # of the library you build will have same ordinals for same symbols).
47635 # dllar is free software; you can redistribute it and/or modify
47636 # it under the terms of the GNU General Public License as published by
47637 # the Free Software Foundation; either version 2, or (at your option)
47638 # any later version.
47640 # dllar is distributed in the hope that it will be useful,
47641 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47642 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47643 # GNU General Public License for more details.
47645 # You should have received a copy of the GNU General Public License
47646 # along with dllar; see the file COPYING. If not, write to the Free
47647 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47650 # To successfuly run this program you will need:
47651 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47652 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47654 # (used to build the .dll)
47656 # (used to create .def file from .o files)
47658 # (used to create .a file from .def file)
47659 # - GNU text utilites (cat, sort, uniq)
47660 # used to process emxexp output
47661 # - GNU file utilities (mv, rm)
47663 # - lxlite (optional, see flag below)
47664 # (used for general .dll cleanup)
47671 # basnam, variant of basename, which does _not_ remove the path, _iff_
47672 # second argument (suffix to remove) is given
47676 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47679 echo ${D}1 | sed 's/'${D}2'${D}//'
47682 echo "error in basnam ${D}*"
47688 # Cleanup temporary files and output
47691 for i in ${D}inputFiles ; do
47694 rm -rf \`basnam ${D}i !\`
47701 # Kill result in case of failure as there is just to many stupid make/nmake
47702 # things out there which doesn't do this.
47703 if [ ${D}# -eq 0 ]; then
47704 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47708 # Print usage and exit script with rc=1.
47710 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47711 echo ' [-name-mangler-script script.sh]'
47712 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47713 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47714 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47715 echo ' [*.o] [*.a]'
47716 echo '*> "output_file" should have no extension.'
47717 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47718 echo ' The import library name is derived from this and is set to "name".a,'
47719 echo ' unless overridden by -import'
47720 echo '*> "importlib_name" should have no extension.'
47721 echo ' If it has the .o, or .a extension, it is automatically removed.'
47722 echo ' This name is used as the import library name and may be longer and'
47723 echo ' more descriptive than the DLL name which has to follow the old '
47724 echo ' 8.3 convention of FAT.'
47725 echo '*> "script.sh may be given to override the output_file name by a'
47726 echo ' different name. It is mainly useful if the regular make process'
47727 echo ' of some package does not take into account OS/2 restriction of'
47728 echo ' DLL name lengths. It takes the importlib name as input and is'
47729 echo ' supposed to procude a shorter name as output. The script should'
47730 echo ' expect to get importlib_name without extension and should produce'
47731 echo ' a (max.) 8 letter name without extension.'
47732 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47733 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47734 echo ' These flags will be put at the start of GCC command line.'
47735 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47736 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47737 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47738 echo ' If the last character of a symbol is "*", all symbols beginning'
47739 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47740 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47741 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47742 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47743 echo ' C runtime DLLs.'
47744 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47745 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47746 echo ' unchanged to GCC at the end of command line.'
47747 echo '*> If you create a DLL from a library and you do not specify -o,'
47748 echo ' the basename for DLL and import library will be set to library name,'
47749 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47750 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47751 echo ' library will be renamed into gcc_s.a.'
47754 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47755 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47760 # Execute a command.
47761 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47762 # @Uses Whatever CleanUp() uses.
47768 if [ ${D}rcCmd -ne 0 ]; then
47769 echo "command failed, exit code="${D}rcCmd
47784 CFLAGS="-s -Zcrtdll"
47786 EXPORT_BY_ORDINALS=0
47791 case ${D}curDirS in
47795 curDirS=${D}{curDirS}"/"
47798 # Parse commandline
47801 while [ ${D}1 ]; do
47804 EXPORT_BY_ORDINALS=1;
47814 -name-mangler-script)
47835 exclude_symbols=${D}{exclude_symbols}${D}1" "
47839 library_flags=${D}{library_flags}${D}1" "
47858 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47861 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47862 if [ ${D}omfLinking -eq 1 ]; then
47863 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47865 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47870 if [ ${D}libsToLink -ne 0 ]; then
47871 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47873 for file in ${D}1 ; do
47874 if [ -f ${D}file ]; then
47875 inputFiles="${D}{inputFiles} ${D}file"
47879 if [ ${D}found -eq 0 ]; then
47880 echo "ERROR: No file(s) found: "${D}1
47887 done # iterate cmdline words
47890 if [ -z "${D}inputFiles" ]; then
47891 echo "dllar: no input files"
47895 # Now extract all .o files from .a files
47897 for file in ${D}inputFiles ; do
47908 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47913 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47915 if [ ${D}? -ne 0 ]; then
47916 echo "Failed to create subdirectory ./${D}dirname"
47920 # Append '!' to indicate archive
47921 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47922 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47925 for subfile in ${D}dirname/*.o* ; do
47926 if [ -f ${D}subfile ]; then
47928 if [ -s ${D}subfile ]; then
47929 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47930 newInputFiles="${D}newInputFiles ${D}subfile"
47934 if [ ${D}found -eq 0 ]; then
47935 echo "WARNING: there are no files in archive \\'${D}file\\'"
47939 newInputFiles="${D}{newInputFiles} ${D}file"
47943 inputFiles="${D}newInputFiles"
47945 # Output filename(s).
47947 if [ -z ${D}outFile ]; then
47949 set outFile ${D}inputFiles; outFile=${D}2
47952 # If it is an archive, remove the '!' and the '_%' suffixes
47953 case ${D}outFile in
47955 outFile=\`basnam ${D}outFile _%!\`
47960 case ${D}outFile in
47962 outFile=\`basnam ${D}outFile .dll\`
47965 outFile=\`basnam ${D}outFile .DLL\`
47968 outFile=\`basnam ${D}outFile .o\`
47971 outFile=\`basnam ${D}outFile .obj\`
47974 outFile=\`basnam ${D}outFile .a\`
47977 outFile=\`basnam ${D}outFile .lib\`
47982 case ${D}outimpFile in
47984 outimpFile=\`basnam ${D}outimpFile .a\`
47987 outimpFile=\`basnam ${D}outimpFile .lib\`
47992 if [ -z ${D}outimpFile ]; then
47993 outimpFile=${D}outFile
47995 defFile="${D}{outFile}.def"
47996 arcFile="${D}{outimpFile}.a"
47997 arcFile2="${D}{outimpFile}.lib"
47999 #create ${D}dllFile as something matching 8.3 restrictions,
48000 if [ -z ${D}renameScript ] ; then
48001 dllFile="${D}outFile"
48003 dllFile=\`${D}renameScript ${D}outimpFile\`
48006 if [ ${D}do_backup -ne 0 ] ; then
48007 if [ -f ${D}arcFile ] ; then
48008 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48010 if [ -f ${D}arcFile2 ] ; then
48011 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48015 # Extract public symbols from all the object files.
48016 tmpdefFile=${D}{defFile}_%
48017 rm -f ${D}tmpdefFile
48018 for file in ${D}inputFiles ; do
48023 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48028 # Create the def file.
48030 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48031 dllFile="${D}{dllFile}.dll"
48032 if [ ! -z ${D}description ]; then
48033 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48035 echo "EXPORTS" >> ${D}defFile
48037 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48038 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48040 # Checks if the export is ok or not.
48041 for word in ${D}exclude_symbols; do
48042 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48043 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48047 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48048 sed "=" < ${D}tmpdefFile | \\
48052 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48054 ' > ${D}{tmpdefFile}%
48055 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48057 rm -f ${D}{tmpdefFile}%
48059 cat ${D}tmpdefFile >> ${D}defFile
48060 rm -f ${D}tmpdefFile
48062 # Do linking, create implib, and apply lxlite.
48064 for file in ${D}inputFiles ; do
48069 gccCmdl="${D}gccCmdl ${D}file"
48073 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48074 touch "${D}{outFile}.dll"
48076 doCommand "emximp -o ${D}arcFile ${D}defFile"
48077 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48079 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48082 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48084 doCommand "emxomf -s -l ${D}arcFile"
48094 powerpc
-apple-macos* | \
48095 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48105 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48106 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48107 { (exit 1); exit 1; }; }
48110 if test "x$PIC_FLAG" != "x" ; then
48111 PIC_FLAG
="$PIC_FLAG -DPIC"
48114 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48115 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48117 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48118 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48137 case "${BAKEFILE_HOST}" in
48138 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48139 if test "x$SUNCXX" = "xyes"; then
48142 SONAME_FLAG
="-Wl,-soname,"
48177 # Check whether --enable-dependency-tracking was given.
48178 if test "${enable_dependency_tracking+set}" = set; then
48179 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48183 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48184 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48187 if test "x$bk_use_trackdeps" = "xno" ; then
48189 { echo "$as_me:$LINENO: result: disabled" >&5
48190 echo "${ECHO_T}disabled" >&6; }
48194 if test "x$GCC" = "xyes"; then
48196 case "${BAKEFILE_HOST}" in
48198 DEPSFLAG
="-no-cpp-precomp -MMD"
48204 { echo "$as_me:$LINENO: result: gcc" >&5
48205 echo "${ECHO_T}gcc" >&6; }
48206 elif test "x$MWCC" = "xyes"; then
48209 { echo "$as_me:$LINENO: result: mwcc" >&5
48210 echo "${ECHO_T}mwcc" >&6; }
48211 elif test "x$SUNCC" = "xyes"; then
48214 { echo "$as_me:$LINENO: result: Sun cc" >&5
48215 echo "${ECHO_T}Sun cc" >&6; }
48216 elif test "x$SGICC" = "xyes"; then
48219 { echo "$as_me:$LINENO: result: SGI cc" >&5
48220 echo "${ECHO_T}SGI cc" >&6; }
48221 elif test "x$HPCC" = "xyes"; then
48224 { echo "$as_me:$LINENO: result: HP cc" >&5
48225 echo "${ECHO_T}HP cc" >&6; }
48226 elif test "x$COMPAQCC" = "xyes"; then
48229 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48230 echo "${ECHO_T}Compaq cc" >&6; }
48233 { echo "$as_me:$LINENO: result: none" >&5
48234 echo "${ECHO_T}none" >&6; }
48237 if test $DEPS_TRACKING = 1 ; then
48243 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48244 # script. It is used to track C/C++ files dependencies in portable way.
48246 # Permission is given to use this file in any way.
48248 DEPSMODE=${DEPSMODE}
48250 DEPSFLAG="${DEPSFLAG}"
48252 mkdir -p ${D}DEPSDIR
48254 if test ${D}DEPSMODE = gcc ; then
48255 ${D}* ${D}{DEPSFLAG}
48257 if test ${D}{status} != 0 ; then
48260 # move created file to the location we want it in:
48261 while test ${D}# -gt 0; do
48275 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48276 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48277 if test -f ${D}depfile ; then
48278 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48281 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48282 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48283 if test ! -f ${D}depfile ; then
48284 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48285 depfile="${D}objfile.d"
48287 if test -f ${D}depfile ; then
48288 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48293 elif test ${D}DEPSMODE = mwcc ; then
48294 ${D}* || exit ${D}?
48295 # Run mwcc again with -MM and redirect into the dep file we want
48296 # NOTE: We can't use shift here because we need ${D}* to be valid
48298 for arg in ${D}* ; do
48299 if test "${D}prevarg" = "-o"; then
48312 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48314 elif test ${D}DEPSMODE = unixcc; then
48315 ${D}* || exit ${D}?
48316 # Run compiler again with deps flag and redirect into the dep file.
48317 # It doesn't work if the '-o FILE' option is used, but without it the
48318 # dependency file will contain the wrong name for the object. So it is
48319 # removed from the command line, and the dep file is fixed with sed.
48321 while test ${D}# -gt 0; do
48328 eval arg${D}#=\\${D}1
48329 cmd="${D}cmd \\${D}arg${D}#"
48334 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48343 BK_DEPS
="`pwd`/bk-deps"
48351 case ${BAKEFILE_HOST} in
48352 *-*-cygwin* | *-*-mingw32* )
48353 if test -n "$ac_tool_prefix"; then
48354 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48355 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48358 if test "${ac_cv_prog_WINDRES+set}" = set; then
48359 echo $ECHO_N "(cached) $ECHO_C" >&6
48361 if test -n "$WINDRES"; then
48362 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48365 for as_dir
in $PATH
48368 test -z "$as_dir" && as_dir
=.
48369 for ac_exec_ext
in '' $ac_executable_extensions; do
48370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48371 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48381 WINDRES
=$ac_cv_prog_WINDRES
48382 if test -n "$WINDRES"; then
48383 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48384 echo "${ECHO_T}$WINDRES" >&6; }
48386 { echo "$as_me:$LINENO: result: no" >&5
48387 echo "${ECHO_T}no" >&6; }
48392 if test -z "$ac_cv_prog_WINDRES"; then
48393 ac_ct_WINDRES
=$WINDRES
48394 # Extract the first word of "windres", so it can be a program name with args.
48395 set dummy windres
; ac_word
=$2
48396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48398 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48399 echo $ECHO_N "(cached) $ECHO_C" >&6
48401 if test -n "$ac_ct_WINDRES"; then
48402 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48405 for as_dir
in $PATH
48408 test -z "$as_dir" && as_dir
=.
48409 for ac_exec_ext
in '' $ac_executable_extensions; do
48410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48411 ac_cv_prog_ac_ct_WINDRES
="windres"
48412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48421 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48422 if test -n "$ac_ct_WINDRES"; then
48423 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48424 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48426 { echo "$as_me:$LINENO: result: no" >&5
48427 echo "${ECHO_T}no" >&6; }
48430 if test "x$ac_ct_WINDRES" = x
; then
48433 case $cross_compiling:$ac_tool_warned in
48435 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48436 whose name does not start with the host triplet. If you think this
48437 configuration is useful to you, please write to autoconf@gnu.org." >&5
48438 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48439 whose name does not start with the host triplet. If you think this
48440 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48441 ac_tool_warned
=yes ;;
48443 WINDRES
=$ac_ct_WINDRES
48446 WINDRES
="$ac_cv_prog_WINDRES"
48451 *-*-darwin* | powerpc
-apple-macos* )
48452 # Extract the first word of "Rez", so it can be a program name with args.
48453 set dummy Rez
; ac_word
=$2
48454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48456 if test "${ac_cv_prog_REZ+set}" = set; then
48457 echo $ECHO_N "(cached) $ECHO_C" >&6
48459 if test -n "$REZ"; then
48460 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48463 for as_dir
in $PATH
48466 test -z "$as_dir" && as_dir
=.
48467 for ac_exec_ext
in '' $ac_executable_extensions; do
48468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48469 ac_cv_prog_REZ
="Rez"
48470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48477 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48480 REZ
=$ac_cv_prog_REZ
48481 if test -n "$REZ"; then
48482 { echo "$as_me:$LINENO: result: $REZ" >&5
48483 echo "${ECHO_T}$REZ" >&6; }
48485 { echo "$as_me:$LINENO: result: no" >&5
48486 echo "${ECHO_T}no" >&6; }
48490 # Extract the first word of "SetFile", so it can be a program name with args.
48491 set dummy SetFile
; ac_word
=$2
48492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48494 if test "${ac_cv_prog_SETFILE+set}" = set; then
48495 echo $ECHO_N "(cached) $ECHO_C" >&6
48497 if test -n "$SETFILE"; then
48498 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48501 for as_dir
in $PATH
48504 test -z "$as_dir" && as_dir
=.
48505 for ac_exec_ext
in '' $ac_executable_extensions; do
48506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48507 ac_cv_prog_SETFILE
="SetFile"
48508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48515 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48518 SETFILE
=$ac_cv_prog_SETFILE
48519 if test -n "$SETFILE"; then
48520 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48521 echo "${ECHO_T}$SETFILE" >&6; }
48523 { echo "$as_me:$LINENO: result: no" >&5
48524 echo "${ECHO_T}no" >&6; }
48536 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48539 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48543 # Check whether --enable-precomp-headers was given.
48544 if test "${enable_precomp_headers+set}" = set; then
48545 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48554 case ${BAKEFILE_HOST} in
48560 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48561 if test "x$GCC" = "xyes"; then
48562 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48563 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48564 cat >conftest.
$ac_ext <<_ACEOF
48567 cat confdefs.h
>>conftest.
$ac_ext
48568 cat >>conftest.
$ac_ext <<_ACEOF
48569 /* end confdefs.h. */
48575 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48576 There is no PCH support
48579 There is no PCH support
48581 #if (__GNUC__ == 3) && \
48582 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48583 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48584 ( defined(__INTEL_COMPILER) )
48585 There is no PCH support
48592 rm -f conftest.
$ac_objext
48593 if { (ac_try
="$ac_compile"
48594 case "(($ac_try" in
48595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48596 *) ac_try_echo=$ac_try;;
48598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48599 (eval "$ac_compile") 2>conftest.er1
48601 grep -v '^ *+' conftest.er1 >conftest.err
48603 cat conftest.err >&5
48604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48605 (exit $ac_status); } && {
48606 test -z "$ac_c_werror_flag" ||
48607 test ! -s conftest.err
48608 } && test -s conftest.$ac_objext; then
48610 { echo "$as_me:$LINENO: result: yes" >&5
48611 echo "${ECHO_T}yes" >&6; }
48615 echo "$as_me: failed program was:" >&5
48616 sed 's/^/| /' conftest.$ac_ext >&5
48619 cat >conftest.$ac_ext <<_ACEOF
48622 cat confdefs.h >>conftest.$ac_ext
48623 cat >>conftest.$ac_ext <<_ACEOF
48624 /* end confdefs.h. */
48630 #if !defined(__INTEL_COMPILER) || \
48631 (__INTEL_COMPILER < 800)
48632 There is no PCH support
48639 rm -f conftest.$ac_objext
48640 if { (ac_try="$ac_compile"
48641 case "(($ac_try" in
48642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48643 *) ac_try_echo
=$ac_try;;
48645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48646 (eval "$ac_compile") 2>conftest.er1
48648 grep -v '^ *+' conftest.er1
>conftest.err
48650 cat conftest.err
>&5
48651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48652 (exit $ac_status); } && {
48653 test -z "$ac_c_werror_flag" ||
48654 test ! -s conftest.err
48655 } && test -s conftest.
$ac_objext; then
48657 { echo "$as_me:$LINENO: result: yes" >&5
48658 echo "${ECHO_T}yes" >&6; }
48662 echo "$as_me: failed program was:" >&5
48663 sed 's/^/| /' conftest.
$ac_ext >&5
48666 { echo "$as_me:$LINENO: result: no" >&5
48667 echo "${ECHO_T}no" >&6; }
48671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48676 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48680 cat <<EOF >bk-make-pch
48683 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48684 # script. It is used to generated precompiled headers.
48686 # Permission is given to use this file in any way.
48696 while test ${D}{#} -gt 0; do
48700 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48701 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48702 headerfile="${D}{incdir}/${D}{header}"
48705 -use-pch|-use_pch )
48710 if test ${D}add_to_cmdline = 1 ; then
48711 compiler="${D}{compiler} ${D}{1}"
48716 if test "x${D}{headerfile}" = "x" ; then
48717 echo "error: can't find header ${D}{header} in include paths" >&2
48719 if test -f ${D}{outfile} ; then
48720 rm -f ${D}{outfile}
48722 mkdir -p \`dirname ${D}{outfile}\`
48724 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48726 if test "x${GCC_PCH}" = "x1" ; then
48727 # can do this because gcc is >= 3.4:
48728 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48729 elif test "x${ICC_PCH}" = "x1" ; then
48730 filename=pch_gen-${D}${D}
48731 file=${D}{filename}.c
48732 dfile=${D}{filename}.d
48733 cat > ${D}file <<EOT
48734 #include "${D}header"
48736 # using -MF icc complains about differing command lines in creation/use
48737 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48738 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48739 rm -f ${D}file ${D}dfile ${D}{filename}.o
48745 chmod +x bk
-make-pch
48746 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48755 COND_BUILD_DEBUG
="#"
48756 if test "x$BUILD" = "xdebug" ; then
48757 COND_BUILD_DEBUG
=""
48760 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48761 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48762 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48765 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48766 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48767 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48770 COND_BUILD_DEBUG_UNICODE_0
="#"
48771 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48772 COND_BUILD_DEBUG_UNICODE_0
=""
48775 COND_BUILD_DEBUG_UNICODE_1
="#"
48776 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48777 COND_BUILD_DEBUG_UNICODE_1
=""
48780 COND_BUILD_RELEASE
="#"
48781 if test "x$BUILD" = "xrelease" ; then
48782 COND_BUILD_RELEASE
=""
48785 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48786 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48787 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48790 COND_BUILD_RELEASE_UNICODE_0
="#"
48791 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48792 COND_BUILD_RELEASE_UNICODE_0
=""
48795 COND_BUILD_RELEASE_UNICODE_1
="#"
48796 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48797 COND_BUILD_RELEASE_UNICODE_1
=""
48800 COND_DEBUG_FLAG_1
="#"
48801 if test "x$DEBUG_FLAG" = "x1" ; then
48802 COND_DEBUG_FLAG_1
=""
48805 COND_DEBUG_INFO_0
="#"
48806 if test "x$DEBUG_INFO" = "x0" ; then
48807 COND_DEBUG_INFO_0
=""
48810 COND_DEBUG_INFO_1
="#"
48811 if test "x$DEBUG_INFO" = "x1" ; then
48812 COND_DEBUG_INFO_1
=""
48815 COND_DEPS_TRACKING_0
="#"
48816 if test "x$DEPS_TRACKING" = "x0" ; then
48817 COND_DEPS_TRACKING_0
=""
48820 COND_DEPS_TRACKING_1
="#"
48821 if test "x$DEPS_TRACKING" = "x1" ; then
48822 COND_DEPS_TRACKING_1
=""
48826 if test "x$GCC_PCH" = "x1" ; then
48831 if test "x$ICC_PCH" = "x1" ; then
48835 COND_MONOLITHIC_0
="#"
48836 if test "x$MONOLITHIC" = "x0" ; then
48837 COND_MONOLITHIC_0
=""
48840 COND_MONOLITHIC_0_SHARED_0
="#"
48841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48842 COND_MONOLITHIC_0_SHARED_0
=""
48845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48857 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48867 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48870 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48872 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48875 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48877 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48880 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48882 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48885 COND_MONOLITHIC_0_SHARED_1
="#"
48886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48887 COND_MONOLITHIC_0_SHARED_1
=""
48890 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48892 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48902 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48910 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48912 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48915 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48917 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48920 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48922 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48925 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48927 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48930 COND_MONOLITHIC_0_USE_AUI_1
="#"
48931 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48932 COND_MONOLITHIC_0_USE_AUI_1
=""
48935 COND_MONOLITHIC_0_USE_GUI_1
="#"
48936 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48937 COND_MONOLITHIC_0_USE_GUI_1
=""
48940 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48941 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48942 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48945 COND_MONOLITHIC_0_USE_HTML_1
="#"
48946 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48947 COND_MONOLITHIC_0_USE_HTML_1
=""
48950 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48951 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48952 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48955 COND_MONOLITHIC_0_USE_QA_1
="#"
48956 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48957 COND_MONOLITHIC_0_USE_QA_1
=""
48960 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48961 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48962 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48965 COND_MONOLITHIC_0_USE_STC_1
="#"
48966 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48967 COND_MONOLITHIC_0_USE_STC_1
=""
48970 COND_MONOLITHIC_0_USE_XRC_1
="#"
48971 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48972 COND_MONOLITHIC_0_USE_XRC_1
=""
48975 COND_MONOLITHIC_1
="#"
48976 if test "x$MONOLITHIC" = "x1" ; then
48977 COND_MONOLITHIC_1
=""
48980 COND_MONOLITHIC_1_SHARED_0
="#"
48981 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48982 COND_MONOLITHIC_1_SHARED_0
=""
48985 COND_MONOLITHIC_1_SHARED_1
="#"
48986 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48987 COND_MONOLITHIC_1_SHARED_1
=""
48990 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48991 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48992 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48995 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48996 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48997 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49000 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49001 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49002 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49005 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49006 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49007 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49010 COND_PLATFORM_MACOSX_1
="#"
49011 if test "x$PLATFORM_MACOSX" = "x1" ; then
49012 COND_PLATFORM_MACOSX_1
=""
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49016 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49017 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49022 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49027 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49031 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49032 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49035 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49040 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49041 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49042 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49045 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49046 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49047 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49050 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49052 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49055 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49057 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49060 COND_PLATFORM_MACOS_1
="#"
49061 if test "x$PLATFORM_MACOS" = "x1" ; then
49062 COND_PLATFORM_MACOS_1
=""
49065 COND_PLATFORM_MAC_1
="#"
49066 if test "x$PLATFORM_MAC" = "x1" ; then
49067 COND_PLATFORM_MAC_1
=""
49070 COND_PLATFORM_MSDOS_1
="#"
49071 if test "x$PLATFORM_MSDOS" = "x1" ; then
49072 COND_PLATFORM_MSDOS_1
=""
49075 COND_PLATFORM_OS2_1
="#"
49076 if test "x$PLATFORM_OS2" = "x1" ; then
49077 COND_PLATFORM_OS2_1
=""
49080 COND_PLATFORM_UNIX_0
="#"
49081 if test "x$PLATFORM_UNIX" = "x0" ; then
49082 COND_PLATFORM_UNIX_0
=""
49085 COND_PLATFORM_UNIX_1
="#"
49086 if test "x$PLATFORM_UNIX" = "x1" ; then
49087 COND_PLATFORM_UNIX_1
=""
49090 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49091 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49092 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49095 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49096 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49097 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49100 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49101 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49102 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49105 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49106 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49107 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49110 COND_PLATFORM_WIN32_0
="#"
49111 if test "x$PLATFORM_WIN32" = "x0" ; then
49112 COND_PLATFORM_WIN32_0
=""
49115 COND_PLATFORM_WIN32_1
="#"
49116 if test "x$PLATFORM_WIN32" = "x1" ; then
49117 COND_PLATFORM_WIN32_1
=""
49121 if test "x$SHARED" = "x0" ; then
49125 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49126 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49127 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49130 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49131 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49132 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49135 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49136 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49137 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49140 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49141 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49142 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49145 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49146 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49147 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49150 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49151 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49152 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49156 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49160 COND_SHARED_0_USE_STC_1
="#"
49161 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49162 COND_SHARED_0_USE_STC_1
=""
49165 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49166 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49167 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49170 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49171 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49172 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49175 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49176 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49177 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49181 if test "x$SHARED" = "x1" ; then
49185 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49186 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49187 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49191 if test "x$TOOLKIT" = "x" ; then
49195 COND_TOOLKIT_COCOA
="#"
49196 if test "x$TOOLKIT" = "xCOCOA" ; then
49197 COND_TOOLKIT_COCOA
=""
49200 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49201 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49202 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49205 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49206 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49207 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49210 COND_TOOLKIT_DFB
="#"
49211 if test "x$TOOLKIT" = "xDFB" ; then
49212 COND_TOOLKIT_DFB
=""
49215 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49216 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49217 COND_TOOLKIT_DFB_USE_GUI_1
=""
49220 COND_TOOLKIT_GTK
="#"
49221 if test "x$TOOLKIT" = "xGTK" ; then
49222 COND_TOOLKIT_GTK
=""
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49226 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49231 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49232 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49236 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49237 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49240 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49241 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49242 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49246 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49250 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49251 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49252 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49255 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49256 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49257 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49260 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49261 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49262 COND_TOOLKIT_GTK_USE_GUI_1
=""
49265 COND_TOOLKIT_MAC
="#"
49266 if test "x$TOOLKIT" = "xMAC" ; then
49267 COND_TOOLKIT_MAC
=""
49270 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49271 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49272 COND_TOOLKIT_MAC_USE_GUI_1
=""
49275 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49276 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49277 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49280 COND_TOOLKIT_MGL
="#"
49281 if test "x$TOOLKIT" = "xMGL" ; then
49282 COND_TOOLKIT_MGL
=""
49285 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49286 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49287 COND_TOOLKIT_MGL_USE_GUI_1
=""
49290 COND_TOOLKIT_MOTIF
="#"
49291 if test "x$TOOLKIT" = "xMOTIF" ; then
49292 COND_TOOLKIT_MOTIF
=""
49295 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49296 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49297 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49300 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49301 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49302 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49305 COND_TOOLKIT_MSW
="#"
49306 if test "x$TOOLKIT" = "xMSW" ; then
49307 COND_TOOLKIT_MSW
=""
49310 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49311 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49312 COND_TOOLKIT_MSW_USE_GUI_1
=""
49315 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49316 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49317 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49320 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49321 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49322 COND_TOOLKIT_MSW_WXUNIV_0
=""
49325 COND_TOOLKIT_PM
="#"
49326 if test "x$TOOLKIT" = "xPM" ; then
49330 COND_TOOLKIT_PM_USE_GUI_1
="#"
49331 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49332 COND_TOOLKIT_PM_USE_GUI_1
=""
49335 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49336 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49337 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49340 COND_TOOLKIT_WINCE
="#"
49341 if test "x$TOOLKIT" = "xWINCE" ; then
49342 COND_TOOLKIT_WINCE
=""
49345 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49346 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49347 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49350 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49351 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49352 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49355 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49356 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49357 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49360 COND_TOOLKIT_X11
="#"
49361 if test "x$TOOLKIT" = "xX11" ; then
49362 COND_TOOLKIT_X11
=""
49365 COND_TOOLKIT_X11_USE_GUI_1
="#"
49366 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49367 COND_TOOLKIT_X11_USE_GUI_1
=""
49371 if test "x$UNICODE" = "x1" ; then
49375 COND_USE_EXCEPTIONS_0
="#"
49376 if test "x$USE_EXCEPTIONS" = "x0" ; then
49377 COND_USE_EXCEPTIONS_0
=""
49380 COND_USE_EXCEPTIONS_1
="#"
49381 if test "x$USE_EXCEPTIONS" = "x1" ; then
49382 COND_USE_EXCEPTIONS_1
=""
49386 if test "x$USE_GUI" = "x0" ; then
49391 if test "x$USE_GUI" = "x1" ; then
49395 COND_USE_GUI_1_USE_OPENGL_1
="#"
49396 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49397 COND_USE_GUI_1_USE_OPENGL_1
=""
49400 COND_USE_GUI_1_WXUNIV_0
="#"
49401 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49402 COND_USE_GUI_1_WXUNIV_0
=""
49405 COND_USE_GUI_1_WXUNIV_1
="#"
49406 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49407 COND_USE_GUI_1_WXUNIV_1
=""
49410 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49411 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49412 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49415 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49416 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49417 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49420 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49421 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49422 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49426 if test "x$USE_PCH" = "x1" ; then
49430 COND_USE_PLUGINS_0
="#"
49431 if test "x$USE_PLUGINS" = "x0" ; then
49432 COND_USE_PLUGINS_0
=""
49435 COND_USE_RTTI_0
="#"
49436 if test "x$USE_RTTI" = "x0" ; then
49440 COND_USE_RTTI_1
="#"
49441 if test "x$USE_RTTI" = "x1" ; then
49445 COND_USE_SOSYMLINKS_1
="#"
49446 if test "x$USE_SOSYMLINKS" = "x1" ; then
49447 COND_USE_SOSYMLINKS_1
=""
49450 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49451 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49452 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49455 COND_USE_SOVERLINUX_1
="#"
49456 if test "x$USE_SOVERLINUX" = "x1" ; then
49457 COND_USE_SOVERLINUX_1
=""
49460 COND_USE_SOVERSION_0
="#"
49461 if test "x$USE_SOVERSION" = "x0" ; then
49462 COND_USE_SOVERSION_0
=""
49465 COND_USE_SOVERSOLARIS_1
="#"
49466 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49467 COND_USE_SOVERSOLARIS_1
=""
49471 if test "x$USE_STC" = "x1" ; then
49475 COND_USE_THREADS_0
="#"
49476 if test "x$USE_THREADS" = "x0" ; then
49477 COND_USE_THREADS_0
=""
49480 COND_USE_THREADS_1
="#"
49481 if test "x$USE_THREADS" = "x1" ; then
49482 COND_USE_THREADS_1
=""
49486 if test "x$USE_XRC" = "x1" ; then
49490 COND_WINDOWS_IMPLIB_1
="#"
49491 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49492 COND_WINDOWS_IMPLIB_1
=""
49495 COND_WITH_PLUGIN_SDL_1
="#"
49496 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49497 COND_WITH_PLUGIN_SDL_1
=""
49501 if test "x$WXUNIV" = "x0" ; then
49506 if test "x$WXUNIV" = "x1" ; then
49510 COND_WXUSE_EXPAT_BUILTIN
="#"
49511 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49512 COND_WXUSE_EXPAT_BUILTIN
=""
49515 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49516 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49517 COND_WXUSE_LIBJPEG_BUILTIN
=""
49520 COND_WXUSE_LIBPNG_BUILTIN
="#"
49521 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49522 COND_WXUSE_LIBPNG_BUILTIN
=""
49525 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49526 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49527 COND_WXUSE_LIBTIFF_BUILTIN
=""
49530 COND_WXUSE_REGEX_BUILTIN
="#"
49531 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49532 COND_WXUSE_REGEX_BUILTIN
=""
49535 COND_WXUSE_ZLIB_BUILTIN
="#"
49536 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49537 COND_WXUSE_ZLIB_BUILTIN
=""
49542 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49543 { { 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
49544 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;}
49545 { (exit 1); exit 1; }; }
49548 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49549 { { 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
49550 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;}
49551 { (exit 1); exit 1; }; }
49558 ?
:* ) # Drive letter, considered as absolute.
49561 INSTALL
=`pwd`/${INSTALL} ;;
49564 if test "$wxUSE_GUI" = "yes"; then
49566 if test "$wxUSE_MSW" = 1 ; then
49567 if test "x$WINDRES" = "x"; then
49568 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49569 echo "$as_me: error: Required windres program not found" >&2;}
49570 { (exit 1); exit 1; }; }
49576 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49577 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49578 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49580 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49582 # Extract the first word of "DeRez", so it can be a program name with args.
49583 set dummy DeRez
; ac_word
=$2
49584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49586 if test "${ac_cv_prog_DEREZ+set}" = set; then
49587 echo $ECHO_N "(cached) $ECHO_C" >&6
49589 if test -n "$DEREZ"; then
49590 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49593 for as_dir
in $PATH
49596 test -z "$as_dir" && as_dir
=.
49597 for ac_exec_ext
in '' $ac_executable_extensions; do
49598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49599 ac_cv_prog_DEREZ
="DeRez"
49600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49607 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49610 DEREZ
=$ac_cv_prog_DEREZ
49611 if test -n "$DEREZ"; then
49612 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49613 echo "${ECHO_T}$DEREZ" >&6; }
49615 { echo "$as_me:$LINENO: result: no" >&5
49616 echo "${ECHO_T}no" >&6; }
49621 MACSETFILE
="\$(SETFILE)"
49623 if test "$wxUSE_MAC" = 1; then
49624 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49626 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49628 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49629 RESCOMP
="cat /dev/null \| $REZ"
49630 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49636 if test "$wxUSE_PM" = 1; then
49638 WXCONFIG_RESFLAGS
="-ep"
49640 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49642 POSTLINK_COMMAND
="@true"
49649 if test $GCC_PCH = 1
49651 if test "$wx_cv_gcc_pch_bug" = yes; then
49652 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49653 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49654 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49655 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49656 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49657 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49660 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49664 if test "$wxUSE_MAC" = 1 ; then
49665 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49666 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49672 if test "$wxUSE_SHARED" = "yes"; then
49674 *-pc-os2_emx | *-pc-os2-emx )
49675 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49676 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49677 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49678 cp -p ${srcdir}/src
/os
2/dllar.sh .
49682 if test "$wxUSE_OMF" = "yes"; then
49684 *-pc-os2_emx | *-pc-os2-emx )
49685 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49686 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49687 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49692 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49697 if test "$GCC" = yes; then
49698 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49699 LIBS
=`echo $LIBS | sed 's/-mt//'`
49700 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49705 if test "x$SUNCXX" = xyes
; then
49706 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49707 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49708 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49713 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49714 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49716 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49777 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49778 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49779 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49780 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49781 echo $ECHO_N "(cached) $ECHO_C" >&6
49783 cat >conftest.
make <<\_ACEOF
49786 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49788 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49789 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49790 *@@@
%%%=?
*=@@@
%%%*)
49791 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49793 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49795 rm -f conftest.
make
49797 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49798 { echo "$as_me:$LINENO: result: yes" >&5
49799 echo "${ECHO_T}yes" >&6; }
49802 { echo "$as_me:$LINENO: result: no" >&5
49803 echo "${ECHO_T}no" >&6; }
49804 SET_MAKE
="MAKE=${MAKE-make}"
49809 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49812 if test "$USE_WIN32" = 1; then
49813 ac_config_commands
="$ac_config_commands
49819 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49822 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49825 if test "$wx_cv_version_script" = "yes"; then
49826 ac_config_files
="$ac_config_files version-script"
49829 ac_config_files
="$ac_config_files Makefile"
49832 ac_config_commands
="$ac_config_commands wx-config"
49836 if test "$wxWITH_SUBDIRS" != "no"; then
49837 if test "$wxUSE_GUI" = "yes"; then
49838 SUBDIRS
="samples demos utils"
49840 SUBDIRS
="samples utils"
49845 # Check whether --with-cppunit-prefix was given.
49846 if test "${with_cppunit_prefix+set}" = set; then
49847 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49849 cppunit_config_prefix
=""
49853 # Check whether --with-cppunit-exec-prefix was given.
49854 if test "${with_cppunit_exec_prefix+set}" = set; then
49855 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49857 cppunit_config_exec_prefix
=""
49861 if test x
$cppunit_config_exec_prefix != x
; then
49862 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49863 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49864 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49867 if test x
$cppunit_config_prefix != x
; then
49868 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49869 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49870 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49874 # Extract the first word of "cppunit-config", so it can be a program name with args.
49875 set dummy cppunit
-config; ac_word
=$2
49876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49878 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49879 echo $ECHO_N "(cached) $ECHO_C" >&6
49881 case $CPPUNIT_CONFIG in
49883 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49887 for as_dir
in $PATH
49890 test -z "$as_dir" && as_dir
=.
49891 for ac_exec_ext
in '' $ac_executable_extensions; do
49892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49893 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49901 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49905 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49906 if test -n "$CPPUNIT_CONFIG"; then
49907 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49908 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49910 { echo "$as_me:$LINENO: result: no" >&5
49911 echo "${ECHO_T}no" >&6; }
49915 cppunit_version_min
=1.8.0
49917 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49918 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49920 if test "$CPPUNIT_CONFIG" = "no" ; then
49921 { echo "$as_me:$LINENO: result: no" >&5
49922 echo "${ECHO_T}no" >&6; }
49925 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49926 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49927 cppunit_version
=`$CPPUNIT_CONFIG --version`
49929 cppunit_major_version
=`echo $cppunit_version | \
49930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49931 cppunit_minor_version
=`echo $cppunit_version | \
49932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49933 cppunit_micro_version
=`echo $cppunit_version | \
49934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49936 cppunit_major_min
=`echo $cppunit_version_min | \
49937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49938 cppunit_minor_min
=`echo $cppunit_version_min | \
49939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49940 cppunit_micro_min
=`echo $cppunit_version_min | \
49941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49943 cppunit_version_proper
=`expr \
49944 $cppunit_major_version \> $cppunit_major_min \| \
49945 $cppunit_major_version \= $cppunit_major_min \& \
49946 $cppunit_minor_version \> $cppunit_minor_min \| \
49947 $cppunit_major_version \= $cppunit_major_min \& \
49948 $cppunit_minor_version \= $cppunit_minor_min \& \
49949 $cppunit_micro_version \>= $cppunit_micro_min `
49951 if test "$cppunit_version_proper" = "1" ; then
49952 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49953 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49955 { echo "$as_me:$LINENO: result: no" >&5
49956 echo "${ECHO_T}no" >&6; }
49961 if test "x$no_cppunit" = x
; then
49962 SUBDIRS
="$SUBDIRS tests"
49973 for subdir
in $SUBDIRS; do
49974 if test -d ${srcdir}/${subdir} ; then
49975 if test "$wxUSE_GUI" = "yes"; then
49976 if test ${subdir} = "samples"; then
49977 makefiles
="samples/Makefile.in $makefiles"
49978 for sample
in $SAMPLES_SUBDIRS; do
49979 if test -d $srcdir/samples
/$sample; then
49980 makefiles
="samples/$sample/Makefile.in $makefiles"
49984 disabled_var
=DISABLED_
`echo $subdir | tr a-z A-Z`
49985 eval "disabled=\$$disabled_var"
49986 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49987 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49990 if test ${subdir} = "samples"; then
49991 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49992 elif test ${subdir} = "utils"; then
49994 for util
in HelpGen tex2rtf
; do
49995 if test -d $srcdir/utils
/$util ; then
49996 makefiles
="utils/$util/Makefile.in \
49997 utils/$util/src/Makefile.in \
50002 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50006 for mkin
in $makefiles ; do
50007 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50008 ac_config_files
="$ac_config_files $mk"
50014 cat >confcache
<<\_ACEOF
50015 # This file is a shell script that caches the results of configure
50016 # tests run on this system so they can be shared between configure
50017 # scripts and configure runs, see configure's option --config-cache.
50018 # It is not useful on other systems. If it contains results you don't
50019 # want to keep, you may remove or edit it.
50021 # config.status only pays attention to the cache file if you give it
50022 # the --recheck option to rerun configure.
50024 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50025 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50026 # following values.
50030 # The following way of writing the cache mishandles newlines in values,
50031 # but we know of no workaround that is simple, portable, and efficient.
50032 # So, we kill variables containing newlines.
50033 # Ultrix sh set writes to stderr and can't be redirected directly,
50034 # and sets the high bit in the cache file unless we assign to the vars.
50036 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50037 eval ac_val
=\$
$ac_var
50041 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50042 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50045 _
| IFS
| as_nl
) ;; #(
50046 *) $as_unset $ac_var ;;
50052 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50053 *${as_nl}ac_space
=\
*)
50054 # `set' does not quote correctly, so add quotes (double-quote
50055 # substitution turns \\\\ into \\, and sed turns \\ into \).
50058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50061 # `set' quotes correctly as required by POSIX, so do not add quotes.
50062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50071 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50073 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50075 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50076 if test -w "$cache_file"; then
50077 test "x$cache_file" != "x/dev/null" &&
50078 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50079 echo "$as_me: updating cache $cache_file" >&6;}
50080 cat confcache
>$cache_file
50082 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50083 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50088 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50089 # Let make expand exec_prefix.
50090 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50092 DEFS
=-DHAVE_CONFIG_H
50096 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50097 # 1. Remove the extension, and $U if already installed.
50098 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50099 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50100 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50101 # will be set to the directory where LIBOBJS objects are built.
50102 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50103 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50105 LIBOBJS
=$ac_libobjs
50107 LTLIBOBJS
=$ac_ltlibobjs
50111 : ${CONFIG_STATUS=./config.status}
50112 ac_clean_files_save
=$ac_clean_files
50113 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50114 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50115 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50116 cat >$CONFIG_STATUS <<_ACEOF
50118 # Generated by $as_me.
50119 # Run this file to recreate the current configuration.
50120 # Compiler output produced by configure, useful for debugging
50121 # configure, is in config.log if it exists.
50124 ac_cs_recheck=false
50126 SHELL=\${CONFIG_SHELL-$SHELL}
50129 cat >>$CONFIG_STATUS <<\_ACEOF
50130 ## --------------------- ##
50131 ## M4sh Initialization. ##
50132 ## --------------------- ##
50134 # Be more Bourne compatible
50135 DUALCASE
=1; export DUALCASE
# for MKS sh
50136 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50139 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50140 # is contrary to our usage. Disable this feature.
50141 alias -g '${1+"$@"}'='"$@"'
50142 setopt NO_GLOB_SUBST
50144 case `(set -o) 2>/dev/null` in
50145 *posix
*) set -o posix
;;
50154 # Avoid depending upon Character Ranges.
50155 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50156 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50157 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50158 as_cr_digits
='0123456789'
50159 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50161 # The user is always right.
50162 if test "${PATH_SEPARATOR+set}" != set; then
50163 echo "#! /bin/sh" >conf$$.sh
50164 echo "exit 0" >>conf$$.sh
50166 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50174 # Support unset when possible.
50175 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50183 # We need space, tab and new line, in precisely that order. Quoting is
50184 # there to prevent editors from complaining about space-tab.
50185 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50186 # splitting by setting IFS to empty value.)
50191 # Find who we are. Look in the path if we contain no directory separator.
50193 *[\\/]* ) as_myself
=$0 ;;
50194 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50195 for as_dir
in $PATH
50198 test -z "$as_dir" && as_dir
=.
50199 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50205 # We did not find ourselves, most probably we were run as `sh COMMAND'
50206 # in which case we are not to be found in the path.
50207 if test "x$as_myself" = x
; then
50210 if test ! -f "$as_myself"; then
50211 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50212 { (exit 1); exit 1; }
50215 # Work around bugs in pre-3.0 UWIN ksh.
50216 for as_var
in ENV MAIL MAILPATH
50217 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50227 LC_TELEPHONE LC_TIME
50229 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50230 eval $as_var=C
; export $as_var
50232 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50236 # Required to use basename.
50237 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50238 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50244 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50245 as_basename
=basename
50251 # Name of the executable.
50252 as_me
=`$as_basename -- "$0" ||
50253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50254 X"$0" : 'X\(//\)$' \| \
50255 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50257 sed '/^.*\/\([^/][^/]*\)\/*$/{
50276 as_lineno_1
=$LINENO
50277 as_lineno_2
=$LINENO
50278 test "x$as_lineno_1" != "x$as_lineno_2" &&
50279 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50281 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50282 # uniformly replaced by the line number. The first 'sed' inserts a
50283 # line-number line after each line using $LINENO; the second 'sed'
50284 # does the real work. The second script uses 'N' to pair each
50285 # line-number line with the line containing $LINENO, and appends
50286 # trailing '-' during substitution so that $LINENO is not a special
50287 # case at line end.
50288 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50289 # scripts with optimization help from Paolo Bonzini. Blame Lee
50290 # E. McMahon (1931-1989) for sed's syntax. :-)
50302 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50305 ' >$as_me.lineno
&&
50306 chmod +x
"$as_me.lineno" ||
50307 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50308 { (exit 1); exit 1; }; }
50310 # Don't try to exec as it changes $[0], causing all sort of problems
50311 # (the dirname of $[0] is not the place where we might find the
50312 # original and so on. Autoconf is especially sensitive to this).
50313 .
"./$as_me.lineno"
50314 # Exit status is that of the last command.
50319 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50325 ECHO_C
= ECHO_N
= ECHO_T
=
50326 case `echo -n x` in
50328 case `echo 'x\c'` in
50329 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50336 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50337 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50343 rm -f conf$$ conf$$.exe conf$$.
file
50344 if test -d conf$$.dir
; then
50345 rm -f conf$$.dir
/conf$$.
file
50351 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50353 # ... but there are two gotchas:
50354 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50355 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50356 # In both cases, we have to default to `cp -p'.
50357 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50359 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50364 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50365 rmdir conf$$.dir
2>/dev
/null
50367 if mkdir -p .
2>/dev
/null
; then
50370 test -d .
/-p && rmdir .
/-p
50374 if test -x / >/dev
/null
2>&1; then
50375 as_test_x
='test -x'
50377 if ls -dL / >/dev
/null
2>&1; then
50384 if test -d "$1"; then
50390 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50391 ???[sx]*):;;*)false;;esac;fi
50395 as_executable_p
=$as_test_x
50397 # Sed expression to map a string onto a valid CPP name.
50398 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50400 # Sed expression to map a string onto a valid variable name.
50401 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50406 # Save the log message, to keep $[0] and so on meaningful, and to
50407 # report actual input values of CONFIG_FILES etc. instead of their
50408 # values after options handling.
50410 This file was extended by wxWidgets $as_me 2.9.0, which was
50411 generated by GNU Autoconf 2.61. Invocation command line was
50413 CONFIG_FILES = $CONFIG_FILES
50414 CONFIG_HEADERS = $CONFIG_HEADERS
50415 CONFIG_LINKS = $CONFIG_LINKS
50416 CONFIG_COMMANDS = $CONFIG_COMMANDS
50419 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50424 cat >>$CONFIG_STATUS <<_ACEOF
50425 # Files that config.status was made for.
50426 config_files="$ac_config_files"
50427 config_headers="$ac_config_headers"
50428 config_commands="$ac_config_commands"
50432 cat >>$CONFIG_STATUS <<\_ACEOF
50434 \`$as_me' instantiates files from templates according to the
50435 current configuration.
50437 Usage: $0 [OPTIONS] [FILE]...
50439 -h, --help print this help, then exit
50440 -V, --version print version number and configuration settings, then exit
50441 -q, --quiet do not print progress messages
50442 -d, --debug don't remove temporary files
50443 --recheck update $as_me by reconfiguring in the same conditions
50444 --file=FILE[:TEMPLATE]
50445 instantiate the configuration file FILE
50446 --header=FILE[:TEMPLATE]
50447 instantiate the configuration header FILE
50449 Configuration files:
50452 Configuration headers:
50455 Configuration commands:
50458 Report bugs to <bug-autoconf@gnu.org>."
50461 cat >>$CONFIG_STATUS <<_ACEOF
50463 wxWidgets config.status 2.9.0
50464 configured by $0, generated by GNU Autoconf 2.61,
50465 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50467 Copyright (C) 2006 Free Software Foundation, Inc.
50468 This config.status script is free software; the Free Software Foundation
50469 gives unlimited permission to copy, distribute and modify it."
50476 cat >>$CONFIG_STATUS <<\_ACEOF
50477 # If no file are specified by the user, then we need to provide default
50478 # value. By we need to know if files were specified by the user.
50484 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50485 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50496 # Handling of the options.
50497 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50499 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50500 echo "$ac_cs_version"; exit ;;
50501 --debug | --debu | --deb | --de | --d | -d )
50503 --file | --fil | --fi | --f )
50505 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50506 ac_need_defaults
=false
;;
50507 --header | --heade | --head | --hea )
50509 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50510 ac_need_defaults
=false
;;
50512 # Conflict between --help and --header
50513 { echo "$as_me: error: ambiguous option: $1
50514 Try \`$0 --help' for more information." >&2
50515 { (exit 1); exit 1; }; };;
50516 --help | --hel | -h )
50517 echo "$ac_cs_usage"; exit ;;
50518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50522 # This is an error.
50523 -*) { echo "$as_me: error: unrecognized option: $1
50524 Try \`$0 --help' for more information." >&2
50525 { (exit 1); exit 1; }; } ;;
50527 *) ac_config_targets
="$ac_config_targets $1"
50528 ac_need_defaults
=false
;;
50534 ac_configure_extra_args
=
50536 if $ac_cs_silent; then
50538 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50542 cat >>$CONFIG_STATUS <<_ACEOF
50543 if \$ac_cs_recheck; then
50544 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50545 CONFIG_SHELL=$SHELL
50546 export CONFIG_SHELL
50547 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50551 cat >>$CONFIG_STATUS <<\_ACEOF
50555 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50556 ## Running $as_me. ##
50562 cat >>$CONFIG_STATUS <<_ACEOF
50568 infile="$srcdir/include/wx/msw/genrcdefs.h"
50569 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50572 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50573 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50574 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50580 cat >>$CONFIG_STATUS <<\_ACEOF
50582 # Handling of arguments.
50583 for ac_config_target
in $ac_config_targets
50585 case $ac_config_target in
50586 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50587 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50588 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50589 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50590 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50591 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50592 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50593 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50595 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50596 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50597 { (exit 1); exit 1; }; };;
50602 # If the user did not use the arguments to specify the items to instantiate,
50603 # then the envvar interface is used. Set only those that are not.
50604 # We use the long form for the default assignment because of an extremely
50605 # bizarre bug on SunOS 4.1.3.
50606 if $ac_need_defaults; then
50607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50608 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50609 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50612 # Have a temporary directory for convenience. Make it in the build tree
50613 # simply because there is no reason against having it here, and in addition,
50614 # creating and moving files from /tmp can sometimes cause problems.
50615 # Hook for its removal unless debugging.
50616 # Note that there is a small window in which the directory will not be cleaned:
50617 # after its creation but before its name has been assigned to `$tmp'.
50621 trap 'exit_status=$?
50622 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50624 trap '{ (exit 1); exit 1; }' 1 2 13 15
50626 # Create a (secure) tmp directory for tmp files.
50629 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50630 test -n "$tmp" && test -d "$tmp"
50633 tmp
=.
/conf$$
-$RANDOM
50634 (umask 077 && mkdir "$tmp")
50637 echo "$me: cannot create a temporary directory in ." >&2
50638 { (exit 1); exit 1; }
50642 # Set up the sed scripts for CONFIG_FILES section.
50645 # No need to generate the scripts if there are no CONFIG_FILES.
50646 # This happens for instance when ./config.status config.h
50647 if test -n "$CONFIG_FILES"; then
50654 for ac_last_try
in false false false false false
:; do
50655 cat >conf$
$subs.
sed <<_ACEOF
50656 SHELL!$SHELL$ac_delim
50657 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50658 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50659 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50660 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50661 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50662 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50663 exec_prefix!$exec_prefix$ac_delim
50664 prefix!$prefix$ac_delim
50665 program_transform_name!$program_transform_name$ac_delim
50666 bindir!$bindir$ac_delim
50667 sbindir!$sbindir$ac_delim
50668 libexecdir!$libexecdir$ac_delim
50669 datarootdir!$datarootdir$ac_delim
50670 datadir!$datadir$ac_delim
50671 sysconfdir!$sysconfdir$ac_delim
50672 sharedstatedir!$sharedstatedir$ac_delim
50673 localstatedir!$localstatedir$ac_delim
50674 includedir!$includedir$ac_delim
50675 oldincludedir!$oldincludedir$ac_delim
50676 docdir!$docdir$ac_delim
50677 infodir!$infodir$ac_delim
50678 htmldir!$htmldir$ac_delim
50679 dvidir!$dvidir$ac_delim
50680 pdfdir!$pdfdir$ac_delim
50681 psdir!$psdir$ac_delim
50682 libdir!$libdir$ac_delim
50683 localedir!$localedir$ac_delim
50684 mandir!$mandir$ac_delim
50685 DEFS!$DEFS$ac_delim
50686 ECHO_C!$ECHO_C$ac_delim
50687 ECHO_N!$ECHO_N$ac_delim
50688 ECHO_T!$ECHO_T$ac_delim
50689 LIBS!$LIBS$ac_delim
50690 build_alias!$build_alias$ac_delim
50691 host_alias!$host_alias$ac_delim
50692 target_alias!$target_alias$ac_delim
50693 build!$build$ac_delim
50694 build_cpu!$build_cpu$ac_delim
50695 build_vendor!$build_vendor$ac_delim
50696 build_os!$build_os$ac_delim
50697 host!$host$ac_delim
50698 host_cpu!$host_cpu$ac_delim
50699 host_vendor!$host_vendor$ac_delim
50700 host_os!$host_os$ac_delim
50701 target!$target$ac_delim
50702 target_cpu!$target_cpu$ac_delim
50703 target_vendor!$target_vendor$ac_delim
50704 target_os!$target_os$ac_delim
50705 wx_top_builddir!$wx_top_builddir$ac_delim
50707 CFLAGS!$CFLAGS$ac_delim
50708 LDFLAGS!$LDFLAGS$ac_delim
50709 CPPFLAGS!$CPPFLAGS$ac_delim
50710 ac_ct_CC!$ac_ct_CC$ac_delim
50711 EXEEXT!$EXEEXT$ac_delim
50712 OBJEXT!$OBJEXT$ac_delim
50714 GREP!$GREP$ac_delim
50715 EGREP!$EGREP$ac_delim
50717 CXXFLAGS!$CXXFLAGS$ac_delim
50718 ac_ct_CXX!$ac_ct_CXX$ac_delim
50720 subdirs!$subdirs$ac_delim
50721 PKG_CONFIG!$PKG_CONFIG$ac_delim
50722 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50723 GTK_LIBS!$GTK_LIBS$ac_delim
50724 GTK_CONFIG!$GTK_CONFIG$ac_delim
50725 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50726 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50727 XMKMF!$XMKMF$ac_delim
50728 X_CFLAGS!$X_CFLAGS$ac_delim
50729 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50730 X_LIBS!$X_LIBS$ac_delim
50731 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50732 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50733 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50734 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50735 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50736 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50737 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50738 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50739 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50740 LIBICONV!$LIBICONV$ac_delim
50741 SDL_CONFIG!$SDL_CONFIG$ac_delim
50742 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50743 SDL_LIBS!$SDL_LIBS$ac_delim
50744 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50745 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50746 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50747 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50748 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50749 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50750 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50751 HILDON_LIBS!$HILDON_LIBS$ac_delim
50752 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50755 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50757 elif $ac_last_try; then
50758 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50759 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50760 { (exit 1); exit 1; }; }
50762 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50766 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50767 if test -n "$ac_eof"; then
50768 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50769 ac_eof
=`expr $ac_eof + 1`
50772 cat >>$CONFIG_STATUS <<_ACEOF
50773 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50777 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50778 s/^/s,@/; s/!/@,|#_!!_#|/
50781 s/'"$ac_delim"'$/,g/; t
50783 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50784 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50785 rm -f conf$
$subs.
sed
50786 cat >>$CONFIG_STATUS <<_ACEOF
50792 for ac_last_try
in false false false false false
:; do
50793 cat >conf$
$subs.
sed <<_ACEOF
50794 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50795 GST_CFLAGS!$GST_CFLAGS$ac_delim
50796 GST_LIBS!$GST_LIBS$ac_delim
50797 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50798 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50799 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50800 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50801 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50802 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50803 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50804 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50805 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50806 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50807 VENDOR!$VENDOR$ac_delim
50808 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50809 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50810 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50811 WXUNIV!$WXUNIV$ac_delim
50812 MONOLITHIC!$MONOLITHIC$ac_delim
50813 USE_PLUGINS!$USE_PLUGINS$ac_delim
50814 CXXWARNINGS!$CXXWARNINGS$ac_delim
50815 EXTRALIBS!$EXTRALIBS$ac_delim
50816 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50817 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50818 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50819 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50820 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50821 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50822 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50823 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50824 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50825 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50826 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50827 UNICODE!$UNICODE$ac_delim
50828 BUILD!$BUILD$ac_delim
50829 DEBUG_INFO!$DEBUG_INFO$ac_delim
50830 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50831 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50832 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50833 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50834 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50835 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50836 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50837 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50838 RANLIB!$RANLIB$ac_delim
50839 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50840 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50841 INSTALL_DATA!$INSTALL_DATA$ac_delim
50842 LN_S!$LN_S$ac_delim
50843 SET_MAKE!$SET_MAKE$ac_delim
50844 MAKE_SET!$MAKE_SET$ac_delim
50845 AROPTIONS!$AROPTIONS$ac_delim
50846 STRIP!$STRIP$ac_delim
50848 INSTALL_DIR!$INSTALL_DIR$ac_delim
50849 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50850 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50851 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50852 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50853 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50854 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50855 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50856 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50857 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50858 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50859 SO_SUFFIX!$SO_SUFFIX$ac_delim
50860 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50861 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50862 LIBPREFIX!$LIBPREFIX$ac_delim
50863 LIBEXT!$LIBEXT$ac_delim
50864 DLLPREFIX!$DLLPREFIX$ac_delim
50865 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50866 dlldir!$dlldir$ac_delim
50867 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50868 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50869 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50870 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50871 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50872 PIC_FLAG!$PIC_FLAG$ac_delim
50873 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50874 USE_SOVERSION!$USE_SOVERSION$ac_delim
50875 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50876 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50877 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50878 USE_MACVERSION!$USE_MACVERSION$ac_delim
50879 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50880 SONAME_FLAG!$SONAME_FLAG$ac_delim
50881 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50882 BK_DEPS!$BK_DEPS$ac_delim
50883 WINDRES!$WINDRES$ac_delim
50885 SETFILE!$SETFILE$ac_delim
50886 GCC_PCH!$GCC_PCH$ac_delim
50887 ICC_PCH!$ICC_PCH$ac_delim
50888 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50889 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50890 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50893 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50895 elif $ac_last_try; then
50896 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50897 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50898 { (exit 1); exit 1; }; }
50900 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50904 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50905 if test -n "$ac_eof"; then
50906 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50907 ac_eof
=`expr $ac_eof + 1`
50910 cat >>$CONFIG_STATUS <<_ACEOF
50911 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50912 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50915 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50916 s/^/s,@/; s/!/@,|#_!!_#|/
50919 s/'"$ac_delim"'$/,g/; t
50921 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50922 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50923 rm -f conf$
$subs.
sed
50924 cat >>$CONFIG_STATUS <<_ACEOF
50930 for ac_last_try
in false false false false false
:; do
50931 cat >conf$
$subs.
sed <<_ACEOF
50932 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50933 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50934 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50935 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50936 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50937 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50938 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50939 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50940 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50941 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50942 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50943 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50944 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50945 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50946 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50947 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50948 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50949 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50950 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50951 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50953 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50954 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50955 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50956 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50957 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50962 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50963 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50964 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50965 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50966 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50967 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50968 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50969 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50970 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50971 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50972 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50973 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50974 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50975 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50976 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50977 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50978 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50979 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50980 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50981 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50982 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50983 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50984 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50985 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50986 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50987 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50988 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50989 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50990 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50991 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50992 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50993 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50994 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50995 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50996 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50997 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50998 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50999 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51000 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51001 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51002 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51003 COND_SHARED_0!$COND_SHARED_0$ac_delim
51004 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51005 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51006 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51007 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51008 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51009 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51010 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51011 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51012 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51013 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51014 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51015 COND_SHARED_1!$COND_SHARED_1$ac_delim
51016 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51017 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51018 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51019 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51020 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51021 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51022 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51023 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51024 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51025 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51026 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51027 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51028 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51031 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51033 elif $ac_last_try; then
51034 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51035 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51036 { (exit 1); exit 1; }; }
51038 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51042 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51043 if test -n "$ac_eof"; then
51044 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51045 ac_eof
=`expr $ac_eof + 1`
51048 cat >>$CONFIG_STATUS <<_ACEOF
51049 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51053 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51054 s/^/s,@/; s/!/@,|#_!!_#|/
51057 s/'"$ac_delim"'$/,g/; t
51059 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51060 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51061 rm -f conf$
$subs.
sed
51062 cat >>$CONFIG_STATUS <<_ACEOF
51068 for ac_last_try
in false false false false false
:; do
51069 cat >conf$
$subs.
sed <<_ACEOF
51070 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51071 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51072 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51073 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51074 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51075 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51076 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51077 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51078 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51079 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51080 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51081 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51082 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51083 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51084 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51085 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51086 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51087 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51088 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51089 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51090 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51091 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51092 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51093 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51094 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51095 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51096 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51097 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51098 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51099 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51100 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51101 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51102 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51103 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51104 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51105 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51106 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51107 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51108 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51109 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51110 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51111 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51112 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51113 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51114 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51115 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51116 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51117 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51118 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51119 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51120 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51121 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51122 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51123 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51124 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51125 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51126 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51127 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51128 DEREZ!$DEREZ$ac_delim
51129 SHARED!$SHARED$ac_delim
51130 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51131 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51132 USE_GUI!$USE_GUI$ac_delim
51133 AFMINSTALL!$AFMINSTALL$ac_delim
51134 WIN32INSTALL!$WIN32INSTALL$ac_delim
51135 TOOLKIT!$TOOLKIT$ac_delim
51136 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51137 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51138 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51139 cross_compiling!$cross_compiling$ac_delim
51140 WIDGET_SET!$WIDGET_SET$ac_delim
51141 WX_RELEASE!$WX_RELEASE$ac_delim
51142 WX_VERSION!$WX_VERSION$ac_delim
51143 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51144 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51145 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51146 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51147 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51148 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51149 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51150 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51151 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51152 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51153 GUIDIST!$GUIDIST$ac_delim
51154 DISTDIR!$DISTDIR$ac_delim
51155 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51156 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51157 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51158 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51159 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51160 RESCOMP!$RESCOMP$ac_delim
51161 RESFLAGS!$RESFLAGS$ac_delim
51162 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51163 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51164 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51165 LIBWXMACRES!$LIBWXMACRES$ac_delim
51166 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51169 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51171 elif $ac_last_try; then
51172 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51173 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51174 { (exit 1); exit 1; }; }
51176 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51180 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51181 if test -n "$ac_eof"; then
51182 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51183 ac_eof
=`expr $ac_eof + 1`
51186 cat >>$CONFIG_STATUS <<_ACEOF
51187 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51191 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51192 s/^/s,@/; s/!/@,|#_!!_#|/
51195 s/'"$ac_delim"'$/,g/; t
51197 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51198 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51199 rm -f conf$
$subs.
sed
51200 cat >>$CONFIG_STATUS <<_ACEOF
51206 for ac_last_try
in false false false false false
:; do
51207 cat >conf$
$subs.
sed <<_ACEOF
51208 MACSETFILE!$MACSETFILE$ac_delim
51210 DLLTOOL!$DLLTOOL$ac_delim
51211 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51212 LIBOBJS!$LIBOBJS$ac_delim
51213 LTLIBOBJS!$LTLIBOBJS$ac_delim
51216 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51218 elif $ac_last_try; then
51219 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51220 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51221 { (exit 1); exit 1; }; }
51223 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51227 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51228 if test -n "$ac_eof"; then
51229 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51230 ac_eof
=`expr $ac_eof + 1`
51233 cat >>$CONFIG_STATUS <<_ACEOF
51234 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51235 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51238 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51239 s/^/s,@/; s/!/@,|#_!!_#|/
51242 s/'"$ac_delim"'$/,g/; t
51244 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51245 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51246 rm -f conf$
$subs.
sed
51247 cat >>$CONFIG_STATUS <<_ACEOF
51254 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51255 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51256 # trailing colons and then remove the whole line if VPATH becomes empty
51257 # (actually we leave an empty line to preserve line numbers).
51258 if test "x$srcdir" = x.
; then
51259 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51260 s/:*\$(srcdir):*/:/
51261 s/:*\${srcdir}:*/:/
51263 s/^\([^=]*=[ ]*\):*/\1/
51269 cat >>$CONFIG_STATUS <<\_ACEOF
51270 fi # test -n "$CONFIG_FILES"
51273 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51276 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51278 case $ac_mode$ac_tag in
51280 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51281 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51282 { (exit 1); exit 1; }; };;
51283 :[FH
]-) ac_tag
=-:-;;
51284 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51301 -) ac_f
="$tmp/stdin";;
51302 *) # Look for the file first in the build tree, then in the source tree
51303 # (if the path is not absolute). The absolute path cannot be DOS-style,
51304 # because $ac_f cannot contain `:'.
51308 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51310 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51311 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51312 { (exit 1); exit 1; }; };;
51314 ac_file_inputs
="$ac_file_inputs $ac_f"
51317 # Let's still pretend it is `configure' which instantiates (i.e., don't
51318 # use $as_me), people would be surprised to read:
51319 # /* config.h. Generated by config.status. */
51320 configure_input
="Generated from "`IFS=:
51321 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51322 if test x
"$ac_file" != x
-; then
51323 configure_input
="$ac_file. $configure_input"
51324 { echo "$as_me:$LINENO: creating $ac_file" >&5
51325 echo "$as_me: creating $ac_file" >&6;}
51329 *:-:* | *:-) cat >"$tmp/stdin";;
51334 ac_dir
=`$as_dirname -- "$ac_file" ||
51335 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51336 X"$ac_file" : 'X\(//\)[^/]' \| \
51337 X"$ac_file" : 'X\(//\)$' \| \
51338 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51344 /^X\(\/\/\)[^/].*/{
51359 -*) as_dir
=.
/$as_dir;;
51361 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51365 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51366 *) as_qdir
=$as_dir;;
51368 as_dirs
="'$as_qdir' $as_dirs"
51369 as_dir
=`$as_dirname -- "$as_dir" ||
51370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51371 X"$as_dir" : 'X\(//\)[^/]' \| \
51372 X"$as_dir" : 'X\(//\)$' \| \
51373 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51379 /^X\(\/\/\)[^/].*/{
51392 test -d "$as_dir" && break
51394 test -z "$as_dirs" || eval "mkdir $as_dirs"
51395 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51396 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51397 { (exit 1); exit 1; }; }; }
51401 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51403 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51404 # A ".." for each directory in $ac_dir_suffix.
51405 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51406 case $ac_top_builddir_sub in
51407 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51408 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51411 ac_abs_top_builddir
=$ac_pwd
51412 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51413 # for backward compatibility:
51414 ac_top_builddir
=$ac_top_build_prefix
51417 .
) # We are building in place.
51419 ac_top_srcdir
=$ac_top_builddir_sub
51420 ac_abs_top_srcdir
=$ac_pwd ;;
51421 [\\/]* | ?
:[\\/]* ) # Absolute name.
51422 ac_srcdir
=$srcdir$ac_dir_suffix;
51423 ac_top_srcdir
=$srcdir
51424 ac_abs_top_srcdir
=$srcdir ;;
51425 *) # Relative name.
51426 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51427 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51428 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51430 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51440 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51441 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51445 cat >>$CONFIG_STATUS <<\_ACEOF
51446 # If the template does not know about datarootdir, expand it.
51447 # FIXME: This hack should be removed a few years after 2.60.
51448 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51450 case `sed -n '/datarootdir/ {
51459 ' $ac_file_inputs` in
51460 *datarootdir
*) ac_datarootdir_seen
=yes;;
51461 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51462 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51463 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51465 cat >>$CONFIG_STATUS <<_ACEOF
51466 ac_datarootdir_hack='
51467 s&@datadir@&$datadir&g
51468 s&@docdir@&$docdir&g
51469 s&@infodir@&$infodir&g
51470 s&@localedir@&$localedir&g
51471 s&@mandir@&$mandir&g
51472 s&\\\${datarootdir}&$datarootdir&g' ;;
51476 # Neutralize VPATH when `$srcdir' = `.'.
51477 # Shell code in configure.ac might set extrasub.
51478 # FIXME: do we really want to maintain this feature?
51479 cat >>$CONFIG_STATUS <<_ACEOF
51483 cat >>$CONFIG_STATUS <<\_ACEOF
51485 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51486 s
&@configure_input@
&$configure_input&;t t
51487 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51488 s
&@srcdir@
&$ac_srcdir&;t t
51489 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51490 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51491 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51492 s
&@builddir@
&$ac_builddir&;t t
51493 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51494 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51495 s
&@INSTALL@
&$ac_INSTALL&;t t
51496 $ac_datarootdir_hack
51497 " $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
51499 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51500 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51501 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51502 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51503 which seems to be undefined. Please make sure it is defined." >&5
51504 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51505 which seems to be undefined. Please make sure it is defined." >&2;}
51509 -) cat "$tmp/out"; rm -f "$tmp/out";;
51510 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51519 # Transform confdefs.h into a sed script `conftest.defines', that
51520 # substitutes the proper values into config.h.in to produce config.h.
51521 rm -f conftest.defines conftest.
tail
51522 # First, append a space to every undef/define line, to ease matching.
51523 echo 's/$/ /' >conftest.defines
51524 # Then, protect against being on the right side of a sed subst, or in
51525 # an unquoted here document, in config.status. If some macros were
51526 # called several times there might be several #defines for the same
51527 # symbol, which is useless. But do not sort them, since the last
51528 # AC_DEFINE must be honored.
51529 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51530 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51531 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51532 # PARAMS is the parameter list in the macro definition--in most cases, it's
51533 # just an empty string.
51534 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51535 ac_dB
='\\)[ (].*,\\1define\\2'
51543 s/^[ ]*#[ ]*define[ ][ ]*//
51548 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51549 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51550 ' >>conftest.defines
51552 # Remove the space that was appended to ease matching.
51553 # Then replace #undef with comments. This is necessary, for
51554 # example, in the case of _POSIX_SOURCE, which is predefined and required
51555 # on some systems where configure will not decide to define it.
51556 # (The regexp can be short, since the line contains either #define or #undef.)
51558 s,^[ #]*u.*,/* & */,' >>conftest.defines
51560 # Break up conftest.defines:
51561 ac_max_sed_lines
=50
51563 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51564 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51565 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51567 ac_in
='$ac_file_inputs'
51568 ac_out
='"$tmp/out1"'
51569 ac_nxt
='"$tmp/out2"'
51573 # Write a here document:
51574 cat >>$CONFIG_STATUS <<_ACEOF
51575 # First, check the format of the line:
51576 cat >"\$tmp/defines.sed" <<\\CEOF
51577 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51578 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51582 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51584 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51585 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51586 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51587 grep . conftest.
tail >/dev
/null
|| break
51588 rm -f conftest.defines
51589 mv conftest.
tail conftest.defines
51591 rm -f conftest.defines conftest.
tail
51593 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51594 cat >>$CONFIG_STATUS <<\_ACEOF
51595 if test x
"$ac_file" != x
-; then
51596 echo "/* $configure_input */" >"$tmp/config.h"
51597 cat "$ac_result" >>"$tmp/config.h"
51598 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51599 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51600 echo "$as_me: $ac_file is unchanged" >&6;}
51603 mv "$tmp/config.h" $ac_file
51606 echo "/* $configure_input */"
51612 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51613 echo "$as_me: executing $ac_file commands" >&6;}
51618 case $ac_file$ac_mode in
51620 mkdir -p $outdir &&
51621 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51623 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51624 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51625 "wx-config":C
) rm -f wx
-config
51626 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51633 { (exit 0); exit 0; }
51635 chmod +x
$CONFIG_STATUS
51636 ac_clean_files
=$ac_clean_files_save
51639 # configure is writing to config.log, and then calls config.status.
51640 # config.status does its own redirection, appending to config.log.
51641 # Unfortunately, on DOS this fails, as config.log is still kept open
51642 # by configure, so config.status won't be able to write to it; its
51643 # output is simply discarded. So we exec the FD to /dev/null,
51644 # effectively closing config.log, so it can be properly (re)opened and
51645 # appended to by config.status. When coming back to configure, we
51646 # need to make the FD available again.
51647 if test "$no_create" != yes; then
51649 ac_config_status_args
=
51650 test "$silent" = yes &&
51651 ac_config_status_args
="$ac_config_status_args --quiet"
51653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51656 # would make configure fail if this is the last instruction.
51657 $ac_cs_success || { (exit 1); exit 1; }
51661 # CONFIG_SUBDIRS section.
51663 if test "$no_recursion" != yes; then
51665 # Remove --cache-file and --srcdir arguments so they do not pile up.
51666 ac_sub_configure_args
=
51668 eval "set x $ac_configure_args"
51672 if test -n "$ac_prev"; then
51677 -cache-file | --cache-file | --cache-fil | --cache-fi \
51678 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51679 ac_prev
=cache_file
;;
51680 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51681 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51684 --config-cache | -C)
51686 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51688 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51690 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51692 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51696 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51698 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51702 # Always prepend --prefix to ensure using the same prefix
51703 # in subdir configurations.
51704 ac_arg
="--prefix=$prefix"
51706 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51708 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51711 if test "$silent" = yes; then
51712 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51716 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51718 # Do not complain, so a configure script can configure whichever
51719 # parts of a large source tree are present.
51720 test -d "$srcdir/$ac_dir" || continue
51722 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51723 echo "$as_me:$LINENO: $ac_msg" >&5
51727 -*) as_dir
=.
/$as_dir;;
51729 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51733 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51734 *) as_qdir
=$as_dir;;
51736 as_dirs
="'$as_qdir' $as_dirs"
51737 as_dir
=`$as_dirname -- "$as_dir" ||
51738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51739 X"$as_dir" : 'X\(//\)[^/]' \| \
51740 X"$as_dir" : 'X\(//\)$' \| \
51741 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51747 /^X\(\/\/\)[^/].*/{
51760 test -d "$as_dir" && break
51762 test -z "$as_dirs" || eval "mkdir $as_dirs"
51763 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51764 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51765 { (exit 1); exit 1; }; }; }
51769 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51771 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51772 # A ".." for each directory in $ac_dir_suffix.
51773 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51774 case $ac_top_builddir_sub in
51775 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51776 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51779 ac_abs_top_builddir
=$ac_pwd
51780 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51781 # for backward compatibility:
51782 ac_top_builddir
=$ac_top_build_prefix
51785 .
) # We are building in place.
51787 ac_top_srcdir
=$ac_top_builddir_sub
51788 ac_abs_top_srcdir
=$ac_pwd ;;
51789 [\\/]* | ?
:[\\/]* ) # Absolute name.
51790 ac_srcdir
=$srcdir$ac_dir_suffix;
51791 ac_top_srcdir
=$srcdir
51792 ac_abs_top_srcdir
=$srcdir ;;
51793 *) # Relative name.
51794 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51795 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51796 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51798 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51803 # Check for guested configure; otherwise get Cygnus style configure.
51804 if test -f "$ac_srcdir/configure.gnu"; then
51805 ac_sub_configure
=$ac_srcdir/configure.gnu
51806 elif test -f "$ac_srcdir/configure"; then
51807 ac_sub_configure
=$ac_srcdir/configure
51808 elif test -f "$ac_srcdir/configure.in"; then
51809 # This should be Cygnus configure.
51810 ac_sub_configure
=$ac_aux_dir/configure
51812 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51813 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51817 # The recursion is here.
51818 if test -n "$ac_sub_configure"; then
51819 # Make the cache file name correct relative to the subdirectory.
51820 case $cache_file in
51821 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51822 *) # Relative name.
51823 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51826 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51827 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51828 # The eval makes quoting arguments work.
51829 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51830 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51831 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51832 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51833 { (exit 1); exit 1; }; }
51842 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51844 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51845 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51847 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51848 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51849 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51850 if test "$wxUSE_UNICODE" = "yes"; then
51851 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51852 echo " (using UTF-8)"
51854 echo " (using wchar_t)"
51860 echo " What level of wxWidgets compatibility should be enabled?"
51861 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51862 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51864 echo " Which libraries should wxWidgets use?"
51865 echo " STL ${wxUSE_STL}"
51866 echo " jpeg ${wxUSE_LIBJPEG-none}"
51867 echo " png ${wxUSE_LIBPNG-none}"
51868 echo " regex ${wxUSE_REGEX}"
51869 echo " tiff ${wxUSE_LIBTIFF-none}"
51870 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51871 echo " xpm ${wxUSE_LIBXPM-none}"
51873 echo " zlib ${wxUSE_ZLIB}"
51874 echo " expat ${wxUSE_EXPAT}"
51875 echo " libmspack ${wxUSE_LIBMSPACK}"
51876 echo " sdl ${wxUSE_LIBSDL}"