2 # From configure.in Id: configure.in 50135 2007-11-21 14:24:40Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
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-notifmsg use wxNotificationMessage class
1785 --enable-odcombobox use wxOwnerDrawnComboBox class
1786 --enable-radiobox use wxRadioBox class
1787 --enable-radiobtn use wxRadioButton class
1788 --enable-sash use wxSashWindow class
1789 --enable-scrollbar use wxScrollBar class and scrollable windows
1790 --enable-searchctrl use wxSearchCtrl class
1791 --enable-slider use wxSlider class
1792 --enable-spinbtn use wxSpinButton class
1793 --enable-spinctrl use wxSpinCtrl class
1794 --enable-splitter use wxSplitterWindow class
1795 --enable-statbmp use wxStaticBitmap class
1796 --enable-statbox use wxStaticBox class
1797 --enable-statline use wxStaticLine class
1798 --enable-stattext use wxStaticText class
1799 --enable-statusbar use wxStatusBar class
1800 --enable-tabdialog use wxTabControl class
1801 --enable-taskbaricon use wxTaskBarIcon class
1802 --enable-textctrl use wxTextCtrl class
1803 --enable-togglebtn use wxToggleButton class
1804 --enable-toolbar use wxToolBar class
1805 --enable-tbarnative use native wxToolBar class
1806 --enable-treebook use wxTreebook class
1807 --enable-toolbook use wxToolbook class
1808 --enable-treectrl use wxTreeCtrl class
1809 --enable-tipwindow use wxTipWindow class
1810 --enable-popupwin use wxPopUpWindow class
1811 --enable-commondlg use all common dialogs
1812 --enable-aboutdlg use wxAboutBox
1813 --enable-choicedlg use wxChoiceDialog
1814 --enable-coldlg use wxColourDialog
1815 --enable-filedlg use wxFileDialog
1816 --enable-finddlg use wxFindReplaceDialog
1817 --enable-fontdlg use wxFontDialog
1818 --enable-dirdlg use wxDirDialog
1819 --enable-msgdlg use wxMessageDialog
1820 --enable-numberdlg use wxNumberEntryDialog
1821 --enable-splash use wxSplashScreen
1822 --enable-textdlg use wxTextDialog
1823 --enable-tipdlg use startup tips
1824 --enable-progressdlg use wxProgressDialog
1825 --enable-wizarddlg use wxWizard
1826 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1827 --enable-miniframe use wxMiniFrame class
1828 --enable-tooltips use wxToolTip class
1829 --enable-splines use spline drawing code
1830 --enable-mousewheel use mousewheel
1831 --enable-validators use wxValidator and derived classes
1832 --enable-busyinfo use wxBusyInfo
1833 --enable-joystick use wxJoystick
1834 --enable-metafiles use wxMetaFile
(Win32 only
)
1835 --enable-dragimage use wxDragImage
1836 --enable-accessibility enable accessibility support
1837 --enable-palette use wxPalette class
1838 --enable-image use wxImage class
1839 --enable-gif use gif images
(GIF
file format
)
1840 --enable-pcx use pcx images
(PCX
file format
)
1841 --enable-tga use tga images
(TGA
file format
)
1842 --enable-iff use iff images
(IFF
file format
)
1843 --enable-pnm use pnm images
(PNM
file format
)
1844 --enable-xpm use xpm images
(XPM
file format
)
1845 --enable-icocur use Windows ICO and CUR formats
1846 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1847 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1848 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1849 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1850 --enable-wxdib use wxDIB class
(Win32 only
)
1851 --disable-largefile omit support
for large files
1852 --disable-gtktest do not try to compile and run a
test GTK
+ program
1853 --disable-gtktest Do not try to compile and run a
test GTK program
1854 --disable-sdltest Do not try to compile and run a
test SDL program
1855 --enable-omf use OMF object format
(OS
/2)
1856 --disable-dependency-tracking
1857 don
't use dependency tracking even if the compiler
1859 --disable-precomp-headers
1860 don't use precompiled headers even
if compiler can
1863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1865 --without-subdirs don
't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gtkprint don't use GTK printing support
1885 --without-gnomeprint don
't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-expat enable XML support using expat parser
1894 --with-macosx-sdk=PATH use an OS X SDK at PATH
1895 --with-macosx-version-min=VER build binaries which require at least this OS X version
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1918 C compiler flags for DIRECTFB, overriding pkg-config
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1926 C compiler flags for PANGOFT2, overriding pkg-config
1928 linker flags for PANGOFT2, overriding pkg-config
1930 C compiler flags for PANGOXFT, overriding pkg-config
1932 linker flags for PANGOXFT, overriding pkg-config
1934 C compiler flags for GTKPRINT, overriding pkg-config
1936 linker flags for GTKPRINT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1944 linker flags for GNOMEVFS, overriding pkg-config
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1954 Use these variables to override the choices made by `configure' or to
help
1955 it to
find libraries and programs with nonstandard names
/locations.
1957 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1965 test -d "$ac_dir" || continue
1969 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1971 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1976 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1979 ac_abs_top_builddir
=$ac_pwd
1980 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir
=$ac_top_build_prefix
1985 .
) # We are building in place.
1987 ac_top_srcdir
=$ac_top_builddir_sub
1988 ac_abs_top_srcdir
=$ac_pwd ;;
1989 [\\/]* | ?
:[\\/]* ) # Absolute name.
1990 ac_srcdir
=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir
=$srcdir
1992 ac_abs_top_srcdir
=$srcdir ;;
1994 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1998 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2000 cd "$ac_dir" || { ac_status
=$?
; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 cd "$ac_pwd" || { ac_status
=$?
; break; }
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2018 wxWidgets configure
2.9.0
2019 generated by GNU Autoconf
2.61
2021 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2023 This configure
script is free software
; the Free Software Foundation
2024 gives unlimited permission to copy
, distribute and modify it.
2028 cat >config.log
<<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir
=.
2069 echo "PATH: $as_dir"
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_must_keep_next
=false
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2104 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2109 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true
; then
2111 ac_must_keep_next
=false
# Got value, back to normal.
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 -* ) ac_must_keep_next
=true
;;
2125 ac_configure_args
="$ac_configure_args '$ac_arg'"
2130 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2131 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2149 # The following way of writing the cache mishandles newlines in values,
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2203 for ac_var
in $ac_subst_files
2205 eval ac_val
=\$
$ac_var
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 echo "$ac_var='\''$ac_val'\''"
2214 if test -s confdefs.h; then
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2232 for ac_signal
in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest
* confdefs.h
2240 # Predefined preprocessor variables.
2242 cat >>confdefs.h
<<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 cat >>confdefs.h
<<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x
"$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE
; then
2272 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2274 set x
"$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2295 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2296 *) .
"./$cache_file";;
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2305 # Check that the precious variables saved in the cache have kept the same
2307 ac_cache_corrupted
=false
2308 for ac_var
in $ac_precious_vars; do
2309 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2310 eval ac_new_set
=\
$ac_env_${ac_var}_set
2311 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2312 eval ac_new_val
=\
$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted
=: ;;
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted
=: ;;
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted
=:
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2337 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg
=$ac_var=$ac_new_val ;;
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2379 ac_cpp
='$CPP $CPPFLAGS'
2380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2389 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2392 ac_install_sh
="$ac_aux_dir/install-sh -c"
2394 elif test -f "$ac_dir/install.sh"; then
2396 ac_install_sh
="$ac_aux_dir/install.sh -c"
2398 elif test -f "$ac_dir/shtool"; then
2400 ac_install_sh
="$ac_aux_dir/shtool install -c"
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 ac_build_alias
=$build_alias
2431 test "x$ac_build_alias" = x
&&
2432 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x
&&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2452 ac_save_IFS
=$IFS; IFS
='-'
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2462 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test "x$host_alias" = x
; then
2471 ac_cv_host
=$ac_cv_build
2473 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS
=$IFS; IFS
='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$target_alias" = x
; then
2508 ac_cv_target
=$ac_cv_host
2510 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2525 target
=$ac_cv_target
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2544 program_prefix
=${target_alias}-
2548 wx_major_version_number
=2
2549 wx_minor_version_number
=9
2551 wx_subrelease_number
=0
2553 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2554 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2555 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2557 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560 wx_top_builddir
="`pwd`"
2573 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2579 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2587 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589 DEFAULT_wxUSE_COCOA
=0
2593 DEFAULT_wxUSE_MICROWIN
=0
2594 DEFAULT_wxUSE_MOTIF
=0
2600 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2601 DEFAULT_DEFAULT_wxUSE_GTK
=0
2602 DEFAULT_DEFAULT_wxUSE_MAC
=0
2603 DEFAULT_DEFAULT_wxUSE_MGL
=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2606 DEFAULT_DEFAULT_wxUSE_MSW
=0
2607 DEFAULT_DEFAULT_wxUSE_PM
=0
2608 DEFAULT_DEFAULT_wxUSE_X11
=0
2609 DEFAULT_DEFAULT_wxUSE_DFB
=0
2614 SAMPLES_RPATH_POSTLINK
=
2616 DEFAULT_STD_FLAG
=yes
2621 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2624 cat >>confdefs.h
<<\_ACEOF
2629 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2633 cat >>confdefs.h
<<\_ACEOF
2638 if test "x$TMP" = "xalpha"; then
2640 cat >>confdefs.h
<<\_ACEOF
2645 DEFAULT_DEFAULT_wxUSE_GTK
=1
2647 *-*-gnu* | *-*-k*bsd
*-gnu )
2650 if test "x$TMP" = "xalpha"; then
2652 cat >>confdefs.h
<<\_ACEOF
2657 DEFAULT_DEFAULT_wxUSE_GTK
=1
2659 *-*-irix5* | *-*-irix6* )
2662 cat >>confdefs.h
<<\_ACEOF
2666 cat >>confdefs.h
<<\_ACEOF
2670 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2676 cat >>confdefs.h
<<\_ACEOF
2680 cat >>confdefs.h
<<\_ACEOF
2681 #define __SOLARIS__ 1
2684 cat >>confdefs.h
<<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2695 cat >>confdefs.h
<<\_ACEOF
2699 cat >>confdefs.h
<<\_ACEOF
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2712 cat >>confdefs.h
<<\_ACEOF
2713 #define __FREEBSD__ 1
2716 cat >>confdefs.h
<<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_GTK
=1
2722 *-*-openbsd*|*-*-mirbsd*)
2725 cat >>confdefs.h
<<\_ACEOF
2726 #define __OPENBSD__ 1
2729 cat >>confdefs.h
<<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_GTK
=1
2738 cat >>confdefs.h
<<\_ACEOF
2739 #define __NETBSD__ 1
2742 cat >>confdefs.h
<<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_GTK
=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2749 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2754 cat >>confdefs.h
<<\_ACEOF
2758 cat >>confdefs.h
<<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2768 cat >>confdefs.h
<<\_ACEOF
2772 cat >>confdefs.h
<<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2781 cat >>confdefs.h
<<\_ACEOF
2785 cat >>confdefs.h
<<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2796 cat >>confdefs.h
<<\_ACEOF
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2815 cat >>confdefs.h
<<\_ACEOF
2816 #define __UNIXWARE__ 1
2821 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW
=1
2830 cat >>confdefs.h
<<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL
=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h
<<\_ACEOF
2844 cat >>confdefs.h
<<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM
=1
2851 LDFLAGS
="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions
=".exe"
2853 export ac_executable_extensions
2857 for ac_dir
in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH
="$ac_dir"
2862 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2865 export PATH
="$ac_TEMP_PATH"
2874 cat >>confdefs.h
<<\_ACEOF
2878 cat >>confdefs.h
<<\_ACEOF
2879 #define __DARWIN__ 1
2882 cat >>confdefs.h
<<\_ACEOF
2883 #define TARGET_CARBON 1
2886 DEFAULT_DEFAULT_wxUSE_MAC
=1
2889 powerpc
-apple-macos* )
2891 ac_cv_c_bigendian
=yes
2893 DEFAULT_DEFAULT_wxUSE_MAC
=1
2899 cat >>confdefs.h
<<\_ACEOF
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911 DEFAULT_DEFAULT_wxUSE_X11
=1
2912 DEFAULT_wxUSE_SHARED
=no
2917 DEFAULT_wxUSE_ALL_FEATURES
=yes
2919 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_DMALLOC
=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2924 DEFAULT_wxUSE_LIBHILDON
=no
2925 DEFAULT_wxUSE_LIBMSPACK
=no
2926 DEFAULT_wxUSE_LIBSDL
=no
2927 DEFAULT_wxUSE_OPENGL
=no
2929 DEFAULT_wxUSE_ACCESSIBILITY
=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2932 DEFAULT_wxUSE_IPV6
=no
2933 DEFAULT_wxUSE_MEDIACTRL
=no
2934 DEFAULT_wxUSE_TAB_DIALOG
=no
2935 DEFAULT_wxUSE_GSTREAMER8
=no
2937 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2940 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2942 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2944 DEFAULT_wxUSE_GTK2
=yes
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2952 enablestring
=disable
2954 if test -z "$defaultval"; then
2955 if test x
"$enablestring" = xdisable
; then
2962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2963 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2964 # Check whether --enable-gui was given.
2965 if test "${enable_gui+set}" = set; then
2966 enableval
=$enable_gui;
2967 if test "$enableval" = yes; then
2968 wx_cv_use_gui
='wxUSE_GUI=yes'
2970 wx_cv_use_gui
='wxUSE_GUI=no'
2975 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2980 eval "$wx_cv_use_gui"
2982 if test x"$enablestring" = xdisable; then
2983 if test $wxUSE_GUI = yes; then
2992 { echo "$as_me:$LINENO: result: $result" >&5
2993 echo "${ECHO_T}$result" >&6; }
2998 if test -z "$defaultval"; then
2999 if test x"$enablestring" = xdisable; then
3006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3007 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3008 # Check whether --enable-monolithic was given.
3009 if test "${enable_monolithic+set}" = set; then
3010 enableval=$enable_monolithic;
3011 if test "$enableval" = yes; then
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3024 eval "$wx_cv_use_monolithic"
3026 if test x"$enablestring" = xdisable; then
3027 if test $wxUSE_MONOLITHIC = yes; then
3033 result=$wxUSE_MONOLITHIC
3036 { echo "$as_me:$LINENO: result
: $result" >&5
3037 echo "${ECHO_T}$result" >&6; }
3042 if test -z "$defaultval"; then
3043 if test x"$enablestring" = xdisable; then
3050 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3051 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3052 # Check whether --enable-plugins was given.
3053 if test "${enable_plugins+set}" = set; then
3054 enableval=$enable_plugins;
3055 if test "$enableval" = yes; then
3056 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3058 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3063 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3068 eval "$wx_cv_use_plugins"
3070 if test x
"$enablestring" = xdisable
; then
3071 if test $wxUSE_PLUGINS = yes; then
3077 result
=$wxUSE_PLUGINS
3080 { echo "$as_me:$LINENO: result: $result" >&5
3081 echo "${ECHO_T}$result" >&6; }
3085 defaultval
=$wxUSE_ALL_FEATURES
3086 if test -z "$defaultval"; then
3087 if test x
"$withstring" = xwithout
; then
3093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3096 # Check whether --with-subdirs was given.
3097 if test "${with_subdirs+set}" = set; then
3098 withval
=$with_subdirs;
3099 if test "$withval" = yes; then
3100 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3102 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3107 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3112 eval "$wx_cv_use_subdirs"
3114 if test x"$withstring" = xwithout; then
3115 if test $wxWITH_SUBDIRS = yes; then
3121 result=$wxWITH_SUBDIRS
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3128 # Check whether --with-flavour was given.
3129 if test "${with_flavour+set}" = set; then
3130 withval=$with_flavour; WX_FLAVOUR="$withval"
3136 if test -z "$defaultval"; then
3137 if test x"$enablestring" = xdisable; then
3144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3145 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3146 # Check whether --enable-official_build was given.
3147 if test "${enable_official_build+set}" = set; then
3148 enableval=$enable_official_build;
3149 if test "$enableval" = yes; then
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3162 eval "$wx_cv_use_official_build"
3164 if test x"$enablestring" = xdisable; then
3165 if test $wxUSE_OFFICIAL_BUILD = yes; then
3171 result=$wxUSE_OFFICIAL_BUILD
3174 { echo "$as_me:$LINENO: result
: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3177 # Check whether --enable-vendor was given.
3178 if test "${enable_vendor+set}" = set; then
3179 enableval=$enable_vendor; VENDOR="$enableval"
3182 if test "x
$VENDOR" = "x
"; then
3187 enablestring=disable
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3198 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3199 # Check whether --enable-all-features was given.
3200 if test "${enable_all_features+set}" = set; then
3201 enableval=$enable_all_features;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3215 eval "$wx_cv_use_all_features"
3217 if test x
"$enablestring" = xdisable
; then
3218 if test $wxUSE_ALL_FEATURES = yes; then
3224 result
=$wxUSE_ALL_FEATURES
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3232 if test "$wxUSE_GUI" = "yes"; then
3237 if test -z "$defaultval"; then
3238 if test x
"$enablestring" = xdisable
; then
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval
=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3258 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3263 eval "$wx_cv_use_universal"
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3272 result=$wxUSE_UNIVERSAL
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3300 # Check whether --with-mac was given.
3301 if test "${with_mac+set}" = set; then
3302 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-cocoa was given.
3307 if test "${with_cocoa+set}" = set; then
3308 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-wine was given.
3313 if test "${with_wine+set}" = set; then
3314 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3318 # Check whether --with-msw was given.
3319 if test "${with_msw+set}" = set; then
3320 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-pm was given.
3325 if test "${with_pm+set}" = set; then
3326 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-mgl was given.
3331 if test "${with_mgl+set}" = set; then
3332 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-directfb was given.
3337 if test "${with_directfb+set}" = set; then
3338 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-microwin was given.
3343 if test "${with_microwin+set}" = set; then
3344 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-x11 was given.
3349 if test "${with_x11+set}" = set; then
3350 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3366 # Check whether --enable-nanox was given.
3367 if test "${enable_nanox+set}" = set; then
3368 enableval=$enable_nanox;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3372 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3377 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3382 eval "$wx_cv_use_nanox"
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_NANOX = yes; then
3394 { echo "$as_me:$LINENO: result
: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3398 # Check whether --enable-gtk2 was given.
3399 if test "${enable_gtk2+set}" = set; then
3400 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3406 if test -z "$defaultval"; then
3407 if test x"$enablestring" = xdisable; then
3414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3415 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3416 # Check whether --enable-gpe was given.
3417 if test "${enable_gpe+set}" = set; then
3418 enableval=$enable_gpe;
3419 if test "$enableval" = yes; then
3420 wx_cv_use_gpe='wxUSE_GPE=yes'
3422 wx_cv_use_gpe='wxUSE_GPE=no'
3427 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3432 eval "$wx_cv_use_gpe"
3434 if test x
"$enablestring" = xdisable
; then
3435 if test $wxUSE_GPE = yes; then
3444 { echo "$as_me:$LINENO: result: $result" >&5
3445 echo "${ECHO_T}$result" >&6; }
3450 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3451 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3453 # Check whether --with-libpng was given.
3454 if test "${with_libpng+set}" = set; then
3455 withval
=$with_libpng;
3456 if test "$withval" = yes; then
3457 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3458 elif test "$withval" = no
; then
3459 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3460 elif test "$withval" = sys
; then
3461 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3462 elif test "$withval" = builtin; then
3463 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3465 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3466 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3467 { (exit 1); exit 1; }; }
3472 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3477 eval "$wx_cv_use_libpng"
3479 if test "$wxUSE_LIBPNG" = yes; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 elif test "$wxUSE_LIBPNG" = no; then
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3485 elif test "$wxUSE_LIBPNG" = sys; then
3486 { echo "$as_me:$LINENO: result: system version" >&5
3487 echo "${ECHO_T}system version" >&6; }
3488 elif test "$wxUSE_LIBPNG" = builtin; then
3489 { echo "$as_me:$LINENO: result: builtin version" >&5
3490 echo "${ECHO_T}builtin version" >&6; }
3492 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3493 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3494 { (exit 1); exit 1; }; }
3498 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3499 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3501 # Check whether --with-libjpeg was given.
3502 if test "${with_libjpeg+set}" = set; then
3503 withval=$with_libjpeg;
3504 if test "$withval" = yes; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3506 elif test "$withval" = no; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3508 elif test "$withval" = sys; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3510 elif test "$withval" = builtin; then
3511 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3520 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3525 eval "$wx_cv_use_libjpeg"
3527 if test "$wxUSE_LIBJPEG" = yes; then
3528 { echo "$as_me:$LINENO: result
: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 elif test "$wxUSE_LIBJPEG" = no; then
3531 { echo "$as_me:$LINENO: result
: no
" >&5
3532 echo "${ECHO_T}no
" >&6; }
3533 elif test "$wxUSE_LIBJPEG" = sys; then
3534 { echo "$as_me:$LINENO: result
: system version
" >&5
3535 echo "${ECHO_T}system version
" >&6; }
3536 elif test "$wxUSE_LIBJPEG" = builtin; then
3537 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3538 echo "${ECHO_T}builtin version
" >&6; }
3540 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3541 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3546 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3547 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3549 # Check whether --with-libtiff was given.
3550 if test "${with_libtiff+set}" = set; then
3551 withval=$with_libtiff;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3561 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3562 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3568 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3573 eval "$wx_cv_use_libtiff"
3575 if test "$wxUSE_LIBTIFF" = yes; then
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3578 elif test "$wxUSE_LIBTIFF" = no
; then
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3581 elif test "$wxUSE_LIBTIFF" = sys
; then
3582 { echo "$as_me:$LINENO: result: system version" >&5
3583 echo "${ECHO_T}system version" >&6; }
3584 elif test "$wxUSE_LIBTIFF" = builtin; then
3585 { echo "$as_me:$LINENO: result: builtin version" >&5
3586 echo "${ECHO_T}builtin version" >&6; }
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3594 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3595 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3597 # Check whether --with-libxpm was given.
3598 if test "${with_libxpm+set}" = set; then
3599 withval
=$with_libxpm;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3602 elif test "$withval" = no
; then
3603 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3604 elif test "$withval" = sys
; then
3605 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3616 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3621 eval "$wx_cv_use_libxpm"
3623 if test "$wxUSE_LIBXPM" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBXPM" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBXPM" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBXPM" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3643 defaultval=$wxUSE_ALL_FEATURES
3644 if test -z "$defaultval"; then
3645 if test x"$withstring" = xwithout; then
3651 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3652 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3654 # Check whether --with-libmspack was given.
3655 if test "${with_libmspack+set}" = set; then
3656 withval=$with_libmspack;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3660 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3665 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3670 eval "$wx_cv_use_libmspack"
3672 if test x"$withstring" = xwithout; then
3673 if test $wxUSE_LIBMSPACK = yes; then
3679 result=$wxUSE_LIBMSPACK
3682 { echo "$as_me:$LINENO: result
: $result" >&5
3683 echo "${ECHO_T}$result" >&6; }
3687 defaultval=$wxUSE_ALL_FEATURES
3688 if test -z "$defaultval"; then
3689 if test x"$withstring" = xwithout; then
3695 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3696 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3698 # Check whether --with-gtkprint was given.
3699 if test "${with_gtkprint+set}" = set; then
3700 withval=$with_gtkprint;
3701 if test "$withval" = yes; then
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3704 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3709 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3714 eval "$wx_cv_use_gtkprint"
3716 if test x
"$withstring" = xwithout
; then
3717 if test $wxUSE_GTKPRINT = yes; then
3723 result
=$wxUSE_GTKPRINT
3726 { echo "$as_me:$LINENO: result: $result" >&5
3727 echo "${ECHO_T}$result" >&6; }
3731 defaultval
=$wxUSE_ALL_FEATURES
3732 if test -z "$defaultval"; then
3733 if test x
"$withstring" = xwithout
; then
3739 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3740 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3742 # Check whether --with-gnomeprint was given.
3743 if test "${with_gnomeprint+set}" = set; then
3744 withval
=$with_gnomeprint;
3745 if test "$withval" = yes; then
3746 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3748 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3753 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3758 eval "$wx_cv_use_gnomeprint"
3760 if test x"$withstring" = xwithout; then
3761 if test $wxUSE_LIBGNOMEPRINT = yes; then
3767 result=$wxUSE_LIBGNOMEPRINT
3770 { echo "$as_me:$LINENO: result: $result" >&5
3771 echo "${ECHO_T}$result" >&6; }
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3786 # Check whether --with-gnomevfs was given.
3787 if test "${with_gnomevfs+set}" = set; then
3788 withval=$with_gnomevfs;
3789 if test "$withval" = yes; then
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3792 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3797 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3802 eval "$wx_cv_use_gnomevfs"
3804 if test x"$withstring" = xwithout; then
3805 if test $wxUSE_LIBGNOMEVFS = yes; then
3811 result=$wxUSE_LIBGNOMEVFS
3814 { echo "$as_me:$LINENO: result
: $result" >&5
3815 echo "${ECHO_T}$result" >&6; }
3819 defaultval=$wxUSE_ALL_FEATURES
3820 if test -z "$defaultval"; then
3821 if test x"$withstring" = xwithout; then
3827 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
3828 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
3830 # Check whether --with-hildon was given.
3831 if test "${with_hildon+set}" = set; then
3832 withval=$with_hildon;
3833 if test "$withval" = yes; then
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3836 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3841 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3846 eval "$wx_cv_use_hildon"
3848 if test x
"$withstring" = xwithout
; then
3849 if test $wxUSE_LIBHILDON = yes; then
3855 result
=$wxUSE_LIBHILDON
3858 { echo "$as_me:$LINENO: result: $result" >&5
3859 echo "${ECHO_T}$result" >&6; }
3863 defaultval
=$wxUSE_ALL_FEATURES
3864 if test -z "$defaultval"; then
3865 if test x
"$withstring" = xwithout
; then
3871 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3872 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3874 # Check whether --with-opengl was given.
3875 if test "${with_opengl+set}" = set; then
3876 withval
=$with_opengl;
3877 if test "$withval" = yes; then
3878 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
3880 wx_cv_use_opengl
='wxUSE_OPENGL=no'
3885 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3890 eval "$wx_cv_use_opengl"
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_OPENGL = yes; then
3899 result=$wxUSE_OPENGL
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3921 # Check whether --with-dmalloc was given.
3922 if test "${with_dmalloc+set}" = set; then
3923 withval=$with_dmalloc;
3924 if test "$withval" = yes; then
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3927 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3932 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3937 eval "$wx_cv_use_dmalloc"
3939 if test x"$withstring" = xwithout; then
3940 if test $wxUSE_DMALLOC = yes; then
3946 result=$wxUSE_DMALLOC
3949 { echo "$as_me:$LINENO: result
: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3954 defaultval=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x"$withstring" = xwithout; then
3962 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
3963 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
3965 # Check whether --with-sdl was given.
3966 if test "${with_sdl+set}" = set; then
3968 if test "$withval" = yes; then
3969 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3971 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3976 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3981 eval "$wx_cv_use_sdl"
3983 if test x
"$withstring" = xwithout
; then
3984 if test $wxUSE_LIBSDL = yes; then
3990 result
=$wxUSE_LIBSDL
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3997 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3998 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4000 # Check whether --with-regex was given.
4001 if test "${with_regex+set}" = set; then
4002 withval
=$with_regex;
4003 if test "$withval" = yes; then
4004 wx_cv_use_regex
='wxUSE_REGEX=yes'
4005 elif test "$withval" = no
; then
4006 wx_cv_use_regex
='wxUSE_REGEX=no'
4007 elif test "$withval" = sys
; then
4008 wx_cv_use_regex
='wxUSE_REGEX=sys'
4009 elif test "$withval" = builtin; then
4010 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4012 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4013 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4014 { (exit 1); exit 1; }; }
4019 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4024 eval "$wx_cv_use_regex"
4026 if test "$wxUSE_REGEX" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 elif test "$wxUSE_REGEX" = no; then
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 elif test "$wxUSE_REGEX" = sys; then
4033 { echo "$as_me:$LINENO: result: system version" >&5
4034 echo "${ECHO_T}system version" >&6; }
4035 elif test "$wxUSE_REGEX" = builtin; then
4036 { echo "$as_me:$LINENO: result: builtin version" >&5
4037 echo "${ECHO_T}builtin version" >&6; }
4039 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4040 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4041 { (exit 1); exit 1; }; }
4045 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4046 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4048 # Check whether --with-zlib was given.
4049 if test "${with_zlib+set}" = set; then
4051 if test "$withval" = yes; then
4052 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4053 elif test "$withval" = no; then
4054 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4055 elif test "$withval" = sys; then
4056 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4057 elif test "$withval" = builtin; then
4058 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4060 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4061 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4062 { (exit 1); exit 1; }; }
4067 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4072 eval "$wx_cv_use_zlib"
4074 if test "$wxUSE_ZLIB" = yes; then
4075 { echo "$as_me:$LINENO: result
: yes" >&5
4076 echo "${ECHO_T}yes" >&6; }
4077 elif test "$wxUSE_ZLIB" = no; then
4078 { echo "$as_me:$LINENO: result
: no
" >&5
4079 echo "${ECHO_T}no
" >&6; }
4080 elif test "$wxUSE_ZLIB" = sys; then
4081 { echo "$as_me:$LINENO: result
: system version
" >&5
4082 echo "${ECHO_T}system version
" >&6; }
4083 elif test "$wxUSE_ZLIB" = builtin; then
4084 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4085 echo "${ECHO_T}builtin version
" >&6; }
4087 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4088 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4089 { (exit 1); exit 1; }; }
4093 { echo "$as_me:$LINENO: checking
for --with-expat" >&5
4094 echo $ECHO_N "checking
for --with-expat...
$ECHO_C" >&6; }
4096 # Check whether --with-expat was given.
4097 if test "${with_expat+set}" = set; then
4098 withval=$with_expat;
4099 if test "$withval" = yes; then
4100 wx_cv_use_expat='wxUSE_EXPAT=yes'
4101 elif test "$withval" = no; then
4102 wx_cv_use_expat='wxUSE_EXPAT=no'
4103 elif test "$withval" = sys; then
4104 wx_cv_use_expat='wxUSE_EXPAT=sys'
4105 elif test "$withval" = builtin; then
4106 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4108 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&5
4109 echo "$as_me: error
: Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" >&2;}
4110 { (exit 1); exit 1; }; }
4115 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4120 eval "$wx_cv_use_expat"
4122 if test "$wxUSE_EXPAT" = yes; then
4123 { echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6; }
4125 elif test "$wxUSE_EXPAT" = no
; then
4126 { echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6; }
4128 elif test "$wxUSE_EXPAT" = sys
; then
4129 { echo "$as_me:$LINENO: result: system version" >&5
4130 echo "${ECHO_T}system version" >&6; }
4131 elif test "$wxUSE_EXPAT" = builtin; then
4132 { echo "$as_me:$LINENO: result: builtin version" >&5
4133 echo "${ECHO_T}builtin version" >&6; }
4135 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4136 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4137 { (exit 1); exit 1; }; }
4141 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4142 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4144 # Check whether --with-macosx-sdk was given.
4145 if test "${with_macosx_sdk+set}" = set; then
4146 withval
=$with_macosx_sdk;
4147 wxUSE_MACOSX_SDK
=$withval
4148 wx_cv_use_macosx_sdk
="wxUSE_MACOSX_SDK=$withval"
4152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4153 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4155 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4156 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4158 # Check whether --with-macosx-version-min was given.
4159 if test "${with_macosx_version_min+set}" = set; then
4160 withval
=$with_macosx_version_min;
4161 wxUSE_MACOSX_VERSION_MIN
=$withval
4162 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4166 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4167 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4171 enablestring
=disable
4173 if test -z "$defaultval"; then
4174 if test x
"$enablestring" = xdisable
; then
4181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4183 # Check whether --enable-shared was given.
4184 if test "${enable_shared+set}" = set; then
4185 enableval
=$enable_shared;
4186 if test "$enableval" = yes; then
4187 wx_cv_use_shared
='wxUSE_SHARED=yes'
4189 wx_cv_use_shared
='wxUSE_SHARED=no'
4194 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4199 eval "$wx_cv_use_shared"
4201 if test x"$enablestring" = xdisable; then
4202 if test $wxUSE_SHARED = yes; then
4208 result=$wxUSE_SHARED
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4215 enablestring=disable
4217 if test -z "$defaultval"; then
4218 if test x"$enablestring" = xdisable; then
4225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4227 # Check whether --enable-optimise was given.
4228 if test "${enable_optimise+set}" = set; then
4229 enableval=$enable_optimise;
4230 if test "$enableval" = yes; then
4231 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4233 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4238 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4243 eval "$wx_cv_use_optimise"
4245 if test x"$enablestring" = xdisable; then
4246 if test $wxUSE_OPTIMISE = yes; then
4252 result=$wxUSE_OPTIMISE
4255 { echo "$as_me:$LINENO: result
: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4261 if test -z "$defaultval"; then
4262 if test x"$enablestring" = xdisable; then
4269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4270 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4271 # Check whether --enable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval=$enable_debug;
4274 if test "$enableval" = yes; then
4275 wx_cv_use_debug='wxUSE_DEBUG=yes'
4277 wx_cv_use_debug='wxUSE_DEBUG=no'
4282 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4287 eval "$wx_cv_use_debug"
4289 if test x
"$enablestring" = xdisable
; then
4290 if test $wxUSE_DEBUG = yes; then
4299 { echo "$as_me:$LINENO: result: $result" >&5
4300 echo "${ECHO_T}$result" >&6; }
4305 if test -z "$defaultval"; then
4306 if test x
"$enablestring" = xdisable
; then
4313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4315 # Check whether --enable-stl was given.
4316 if test "${enable_stl+set}" = set; then
4317 enableval
=$enable_stl;
4318 if test "$enableval" = yes; then
4319 wx_cv_use_stl
='wxUSE_STL=yes'
4321 wx_cv_use_stl
='wxUSE_STL=no'
4326 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4331 eval "$wx_cv_use_stl"
4333 if test x"$enablestring" = xdisable; then
4334 if test $wxUSE_STL = yes; then
4343 { echo "$as_me:$LINENO: result: $result" >&5
4344 echo "${ECHO_T}$result" >&6; }
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4359 # Check whether --enable-std_iostreams was given.
4360 if test "${enable_std_iostreams+set}" = set; then
4361 enableval=$enable_std_iostreams;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4365 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4370 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4375 eval "$wx_cv_use_std_iostreams"
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_STD_IOSTREAM = yes; then
4384 result=$wxUSE_STD_IOSTREAM
4387 { echo "$as_me:$LINENO: result
: $result" >&5
4388 echo "${ECHO_T}$result" >&6; }
4393 if test -z "$defaultval"; then
4394 if test x"$enablestring" = xdisable; then
4401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4402 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4403 # Check whether --enable-std_string was given.
4404 if test "${enable_std_string+set}" = set; then
4405 enableval=$enable_std_string;
4406 if test "$enableval" = yes; then
4407 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4409 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4414 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4419 eval "$wx_cv_use_std_string"
4421 if test x
"$enablestring" = xdisable
; then
4422 if test $wxUSE_STD_STRING = yes; then
4428 result
=$wxUSE_STD_STRING
4431 { echo "$as_me:$LINENO: result: $result" >&5
4432 echo "${ECHO_T}$result" >&6; }
4435 enablestring
=disable
4437 if test -z "$defaultval"; then
4438 if test x
"$enablestring" = xdisable
; then
4445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4447 # Check whether --enable-unicode was given.
4448 if test "${enable_unicode+set}" = set; then
4449 enableval
=$enable_unicode;
4450 if test "$enableval" = yes; then
4451 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4453 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4458 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4463 eval "$wx_cv_use_unicode"
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_UNICODE = yes; then
4472 result=$wxUSE_UNICODE
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4491 # Check whether --enable-mslu was given.
4492 if test "${enable_mslu+set}" = set; then
4493 enableval=$enable_mslu;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4497 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4502 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4507 eval "$wx_cv_use_mslu"
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_UNICODE_MSLU = yes; then
4516 result=$wxUSE_UNICODE_MSLU
4519 { echo "$as_me:$LINENO: result
: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4525 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4526 # Check whether --enable-utf8 was given.
4527 if test "${enable_utf8+set}" = set; then
4528 enableval=$enable_utf8;
4529 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4533 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4538 eval "$wx_cv_use_utf8"
4540 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4541 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4546 if test -z "$defaultval"; then
4547 if test x"$enablestring" = xdisable; then
4554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4555 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4556 # Check whether --enable-utf8only was given.
4557 if test "${enable_utf8only+set}" = set; then
4558 enableval=$enable_utf8only;
4559 if test "$enableval" = yes; then
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4562 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4567 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4572 eval "$wx_cv_use_utf8only"
4574 if test x
"$enablestring" = xdisable
; then
4575 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4581 result
=$wxUSE_UNICODE_UTF8_LOCALE
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4590 if test -z "$defaultval"; then
4591 if test x
"$enablestring" = xdisable
; then
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4600 # Check whether --enable-extended_rtti was given.
4601 if test "${enable_extended_rtti+set}" = set; then
4602 enableval
=$enable_extended_rtti;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4606 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4611 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4616 eval "$wx_cv_use_extended_rtti"
4618 if test x"$enablestring" = xdisable; then
4619 if test $wxUSE_EXTENDED_RTTI = yes; then
4625 result=$wxUSE_EXTENDED_RTTI
4628 { echo "$as_me:$LINENO: result: $result" >&5
4629 echo "${ECHO_T}$result" >&6; }
4631 if test "$USE_OS2" = 1; then
4632 DEFAULT_wxUSE_OMF=no
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4646 # Check whether --enable-omf was given.
4647 if test "${enable_omf+set}" = set; then
4648 enableval=$enable_omf;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_omf='wxUSE_OMF
=yes'
4652 wx_cv_use_omf='wxUSE_OMF
=no
'
4657 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4662 eval "$wx_cv_use_omf"
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_OMF = yes; then
4674 { echo "$as_me:$LINENO: result
: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4679 if test "$wxUSE_DEBUG" = "yes"; then
4680 DEFAULT_wxUSE_DEBUG_FLAG=yes
4681 DEFAULT_wxUSE_DEBUG_INFO=yes
4683 elif test "$wxUSE_DEBUG" = "no
"; then
4684 DEFAULT_wxUSE_DEBUG_FLAG=no
4685 DEFAULT_wxUSE_DEBUG_INFO=no
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4701 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4702 # Check whether --enable-debug_flag was given.
4703 if test "${enable_debug_flag+set}" = set; then
4704 enableval=$enable_debug_flag;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4708 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4718 eval "$wx_cv_use_debug_flag"
4720 if test x
"$enablestring" = xdisable
; then
4721 if test $wxUSE_DEBUG_FLAG = yes; then
4727 result
=$wxUSE_DEBUG_FLAG
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x
"$enablestring" = xdisable
; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4746 # Check whether --enable-debug_info was given.
4747 if test "${enable_debug_info+set}" = set; then
4748 enableval
=$enable_debug_info;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4752 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4757 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4762 eval "$wx_cv_use_debug_info"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_DEBUG_INFO = yes; then
4771 result=$wxUSE_DEBUG_INFO
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4790 # Check whether --enable-debug_gdb was given.
4791 if test "${enable_debug_gdb+set}" = set; then
4792 enableval=$enable_debug_gdb;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4796 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4806 eval "$wx_cv_use_debug_gdb"
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_DEBUG_GDB = yes; then
4815 result=$wxUSE_DEBUG_GDB
4818 { echo "$as_me:$LINENO: result
: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4832 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
4834 # Check whether --enable-debug_cntxt was given.
4835 if test "${enable_debug_cntxt+set}" = set; then
4836 enableval=$enable_debug_cntxt;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4840 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4850 eval "$wx_cv_use_debug_cntxt"
4852 if test x
"$enablestring" = xdisable
; then
4853 if test $wxUSE_DEBUG_CONTEXT = yes; then
4859 result
=$wxUSE_DEBUG_CONTEXT
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4868 if test -z "$defaultval"; then
4869 if test x
"$enablestring" = xdisable
; then
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4878 # Check whether --enable-mem_tracing was given.
4879 if test "${enable_mem_tracing+set}" = set; then
4880 enableval
=$enable_mem_tracing;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4884 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4889 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4894 eval "$wx_cv_use_mem_tracing"
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_MEM_TRACING = yes; then
4903 result=$wxUSE_MEM_TRACING
4906 { echo "$as_me:$LINENO: result: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4922 # Check whether --enable-profile was given.
4923 if test "${enable_profile+set}" = set; then
4924 enableval=$enable_profile;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_profile='wxUSE_PROFILE
=yes'
4928 wx_cv_use_profile='wxUSE_PROFILE
=no
'
4933 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4938 eval "$wx_cv_use_profile"
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_PROFILE = yes; then
4947 result=$wxUSE_PROFILE
4950 { echo "$as_me:$LINENO: result
: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4956 if test -z "$defaultval"; then
4957 if test x"$enablestring" = xdisable; then
4964 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
4965 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
4966 # Check whether --enable-no_rtti was given.
4967 if test "${enable_no_rtti+set}" = set; then
4968 enableval=$enable_no_rtti;
4969 if test "$enableval" = yes; then
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4972 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4982 eval "$wx_cv_use_no_rtti"
4984 if test x
"$enablestring" = xdisable
; then
4985 if test $wxUSE_NO_RTTI = yes; then
4991 result
=$wxUSE_NO_RTTI
4994 { echo "$as_me:$LINENO: result: $result" >&5
4995 echo "${ECHO_T}$result" >&6; }
5000 if test -z "$defaultval"; then
5001 if test x
"$enablestring" = xdisable
; then
5008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5009 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval
=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5016 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5021 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5026 eval "$wx_cv_use_no_exceptions"
5028 if test x"$enablestring" = xdisable; then
5029 if test $wxUSE_NO_EXCEPTIONS = yes; then
5035 result=$wxUSE_NO_EXCEPTIONS
5038 { echo "$as_me:$LINENO: result: $result" >&5
5039 echo "${ECHO_T}$result" >&6; }
5044 if test -z "$defaultval"; then
5045 if test x"$enablestring" = xdisable; then
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5060 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5070 eval "$wx_cv_use_permissive"
5072 if test x"$enablestring" = xdisable; then
5073 if test $wxUSE_PERMISSIVE = yes; then
5079 result=$wxUSE_PERMISSIVE
5082 { echo "$as_me:$LINENO: result
: $result" >&5
5083 echo "${ECHO_T}$result" >&6; }
5088 if test -z "$defaultval"; then
5089 if test x"$enablestring" = xdisable; then
5096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5097 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5104 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5114 eval "$wx_cv_use_no_deps"
5116 if test x
"$enablestring" = xdisable
; then
5117 if test $wxUSE_NO_DEPS = yes; then
5123 result
=$wxUSE_NO_DEPS
5126 { echo "$as_me:$LINENO: result: $result" >&5
5127 echo "${ECHO_T}$result" >&6; }
5130 enablestring
=disable
5132 if test -z "$defaultval"; then
5133 if test x
"$enablestring" = xdisable
; then
5140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5142 # Check whether --enable-vararg_macros was given.
5143 if test "${enable_vararg_macros+set}" = set; then
5144 enableval
=$enable_vararg_macros;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5148 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5153 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5158 eval "$wx_cv_use_vararg_macros"
5160 if test x"$enablestring" = xdisable; then
5161 if test $wxUSE_VARARG_MACROS = yes; then
5167 result=$wxUSE_VARARG_MACROS
5170 { echo "$as_me:$LINENO: result: $result" >&5
5171 echo "${ECHO_T}$result" >&6; }
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5189 eval "$wx_cv_use_universal_binary"
5191 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5192 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5208 # Check whether --enable-compat26 was given.
5209 if test "${enable_compat26+set}" = set; then
5210 enableval=$enable_compat26;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5214 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5224 eval "$wx_cv_use_compat26"
5226 if test x"$enablestring" = xdisable; then
5227 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5233 result=$WXWIN_COMPATIBILITY_2_6
5236 { echo "$as_me:$LINENO: result
: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5240 enablestring=disable
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5251 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5252 # Check whether --enable-compat28 was given.
5253 if test "${enable_compat28+set}" = set; then
5254 enableval=$enable_compat28;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5258 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5268 eval "$wx_cv_use_compat28"
5270 if test x
"$enablestring" = xdisable
; then
5271 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5277 result
=$WXWIN_COMPATIBILITY_2_8
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5285 enablestring
=disable
5287 if test -z "$defaultval"; then
5288 if test x
"$enablestring" = xdisable
; then
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5297 # Check whether --enable-rpath was given.
5298 if test "${enable_rpath+set}" = set; then
5299 enableval
=$enable_rpath;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5303 wx_cv_use_rpath
='wxUSE_RPATH=no'
5308 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5313 eval "$wx_cv_use_rpath"
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_RPATH = yes; then
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5342 # Check whether --enable-objc_uniquifying was given.
5343 if test "${enable_objc_uniquifying+set}" = set; then
5344 enableval=$enable_objc_uniquifying;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5348 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5358 eval "$wx_cv_use_objc_uniquifying"
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5367 result=$wxUSE_OBJC_UNIQUIFYING
5370 { echo "$as_me:$LINENO: result
: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5375 enablestring=disable
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5385 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5386 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5387 # Check whether --enable-visibility was given.
5388 if test "${enable_visibility+set}" = set; then
5389 enableval=$enable_visibility;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5393 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5403 eval "$wx_cv_use_visibility"
5405 if test x
"$enablestring" = xdisable
; then
5406 if test $wxUSE_VISIBILITY = yes; then
5412 result
=$wxUSE_VISIBILITY
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5422 defaultval
=$wxUSE_ALL_FEATURES
5423 if test -z "$defaultval"; then
5424 if test x
"$enablestring" = xdisable
; then
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5433 # Check whether --enable-intl was given.
5434 if test "${enable_intl+set}" = set; then
5435 enableval
=$enable_intl;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_intl
='wxUSE_INTL=yes'
5439 wx_cv_use_intl
='wxUSE_INTL=no'
5444 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5449 eval "$wx_cv_use_intl"
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_INTL = yes; then
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5466 defaultval=$wxUSE_ALL_FEATURES
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5477 # Check whether --enable-config was given.
5478 if test "${enable_config+set}" = set; then
5479 enableval=$enable_config;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_config='wxUSE_CONFIG
=yes'
5483 wx_cv_use_config='wxUSE_CONFIG
=no
'
5488 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5493 eval "$wx_cv_use_config"
5495 if test x"$enablestring" = xdisable; then
5496 if test $wxUSE_CONFIG = yes; then
5502 result=$wxUSE_CONFIG
5505 { echo "$as_me:$LINENO: result
: $result" >&5
5506 echo "${ECHO_T}$result" >&6; }
5511 defaultval=$wxUSE_ALL_FEATURES
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5520 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5521 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5522 # Check whether --enable-protocols was given.
5523 if test "${enable_protocols+set}" = set; then
5524 enableval=$enable_protocols;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5528 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5538 eval "$wx_cv_use_protocols"
5540 if test x
"$enablestring" = xdisable
; then
5541 if test $wxUSE_PROTOCOL = yes; then
5547 result
=$wxUSE_PROTOCOL
5550 { echo "$as_me:$LINENO: result: $result" >&5
5551 echo "${ECHO_T}$result" >&6; }
5555 defaultval
=$wxUSE_ALL_FEATURES
5556 if test -z "$defaultval"; then
5557 if test x
"$enablestring" = xdisable
; then
5564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5566 # Check whether --enable-ftp was given.
5567 if test "${enable_ftp+set}" = set; then
5568 enableval
=$enable_ftp;
5569 if test "$enableval" = yes; then
5570 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5572 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5577 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5582 eval "$wx_cv_use_ftp"
5584 if test x"$enablestring" = xdisable; then
5585 if test $wxUSE_PROTOCOL_FTP = yes; then
5591 result=$wxUSE_PROTOCOL_FTP
5594 { echo "$as_me:$LINENO: result: $result" >&5
5595 echo "${ECHO_T}$result" >&6; }
5599 defaultval=$wxUSE_ALL_FEATURES
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5610 # Check whether --enable-http was given.
5611 if test "${enable_http+set}" = set; then
5612 enableval=$enable_http;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5616 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5626 eval "$wx_cv_use_http"
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_PROTOCOL_HTTP = yes; then
5635 result=$wxUSE_PROTOCOL_HTTP
5638 { echo "$as_me:$LINENO: result
: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5643 defaultval=$wxUSE_ALL_FEATURES
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5652 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5653 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5654 # Check whether --enable-fileproto was given.
5655 if test "${enable_fileproto+set}" = set; then
5656 enableval=$enable_fileproto;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5660 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5670 eval "$wx_cv_use_fileproto"
5672 if test x
"$enablestring" = xdisable
; then
5673 if test $wxUSE_PROTOCOL_FILE = yes; then
5679 result
=$wxUSE_PROTOCOL_FILE
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5687 defaultval
=$wxUSE_ALL_FEATURES
5688 if test -z "$defaultval"; then
5689 if test x
"$enablestring" = xdisable
; then
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5698 # Check whether --enable-sockets was given.
5699 if test "${enable_sockets+set}" = set; then
5700 enableval
=$enable_sockets;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5704 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5709 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5714 eval "$wx_cv_use_sockets"
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_SOCKETS = yes; then
5723 result=$wxUSE_SOCKETS
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5731 defaultval=$wxUSE_ALL_FEATURES
5732 if test -z "$defaultval"; then
5733 if test x"$enablestring" = xdisable; then
5740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5741 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5742 # Check whether --enable-ipv6 was given.
5743 if test "${enable_ipv6+set}" = set; then
5744 enableval=$enable_ipv6;
5745 if test "$enableval" = yes; then
5746 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5748 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
5753 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5758 eval "$wx_cv_use_ipv6"
5760 if test x"$enablestring" = xdisable; then
5761 if test $wxUSE_IPV6 = yes; then
5770 { echo "$as_me:$LINENO: result
: $result" >&5
5771 echo "${ECHO_T}$result" >&6; }
5775 defaultval=$wxUSE_ALL_FEATURES
5776 if test -z "$defaultval"; then
5777 if test x"$enablestring" = xdisable; then
5784 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
5785 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
5786 # Check whether --enable-ole was given.
5787 if test "${enable_ole+set}" = set; then
5788 enableval=$enable_ole;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_ole='wxUSE_OLE=yes'
5792 wx_cv_use_ole='wxUSE_OLE=no'
5797 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5802 eval "$wx_cv_use_ole"
5804 if test x
"$enablestring" = xdisable
; then
5805 if test $wxUSE_OLE = yes; then
5814 { echo "$as_me:$LINENO: result: $result" >&5
5815 echo "${ECHO_T}$result" >&6; }
5819 defaultval
=$wxUSE_ALL_FEATURES
5820 if test -z "$defaultval"; then
5821 if test x
"$enablestring" = xdisable
; then
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5830 # Check whether --enable-dataobj was given.
5831 if test "${enable_dataobj+set}" = set; then
5832 enableval
=$enable_dataobj;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
5836 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
5841 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5846 eval "$wx_cv_use_dataobj"
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_DATAOBJ = yes; then
5855 result=$wxUSE_DATAOBJ
5858 { echo "$as_me:$LINENO: result: $result" >&5
5859 echo "${ECHO_T}$result" >&6; }
5864 defaultval=$wxUSE_ALL_FEATURES
5865 if test -z "$defaultval"; then
5866 if test x"$enablestring" = xdisable; then
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5875 # Check whether --enable-ipc was given.
5876 if test "${enable_ipc+set}" = set; then
5877 enableval=$enable_ipc;
5878 if test "$enableval" = yes; then
5879 wx_cv_use_ipc='wxUSE_IPC
=yes'
5881 wx_cv_use_ipc='wxUSE_IPC
=no
'
5886 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5891 eval "$wx_cv_use_ipc"
5893 if test x"$enablestring" = xdisable; then
5894 if test $wxUSE_IPC = yes; then
5903 { echo "$as_me:$LINENO: result
: $result" >&5
5904 echo "${ECHO_T}$result" >&6; }
5909 defaultval=$wxUSE_ALL_FEATURES
5910 if test -z "$defaultval"; then
5911 if test x"$enablestring" = xdisable; then
5918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
5919 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
5920 # Check whether --enable-baseevtloop was given.
5921 if test "${enable_baseevtloop+set}" = set; then
5922 enableval=$enable_baseevtloop;
5923 if test "$enableval" = yes; then
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5926 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5936 eval "$wx_cv_use_baseevtloop"
5938 if test x
"$enablestring" = xdisable
; then
5939 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5945 result
=$wxUSE_CONSOLE_EVENTLOOP
5948 { echo "$as_me:$LINENO: result: $result" >&5
5949 echo "${ECHO_T}$result" >&6; }
5953 defaultval
=$wxUSE_ALL_FEATURES
5954 if test -z "$defaultval"; then
5955 if test x
"$enablestring" = xdisable
; then
5962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5963 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5964 # Check whether --enable-epollloop was given.
5965 if test "${enable_epollloop+set}" = set; then
5966 enableval
=$enable_epollloop;
5967 if test "$enableval" = yes; then
5968 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
5970 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
5975 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5980 eval "$wx_cv_use_epollloop"
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5989 result=$wxUSE_EPOLL_DISPATCHER
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6008 # Check whether --enable-selectloop was given.
6009 if test "${enable_selectloop+set}" = set; then
6010 enableval=$enable_selectloop;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6014 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6024 eval "$wx_cv_use_selectloop"
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_SELECT_DISPATCHER = yes; then
6033 result=$wxUSE_SELECT_DISPATCHER
6036 { echo "$as_me:$LINENO: result
: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6052 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6053 # Check whether --enable-apple_ieee was given.
6054 if test "${enable_apple_ieee+set}" = set; then
6055 enableval=$enable_apple_ieee;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6059 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6069 eval "$wx_cv_use_apple_ieee"
6071 if test x
"$enablestring" = xdisable
; then
6072 if test $wxUSE_APPLE_IEEE = yes; then
6078 result
=$wxUSE_APPLE_IEEE
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6086 defaultval
=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x
"$enablestring" = xdisable
; then
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6097 # Check whether --enable-arcstream was given.
6098 if test "${enable_arcstream+set}" = set; then
6099 enableval
=$enable_arcstream;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6103 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6108 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6113 eval "$wx_cv_use_arcstream"
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6122 result=$wxUSE_ARCHIVE_STREAMS
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6141 # Check whether --enable-base64 was given.
6142 if test "${enable_base64+set}" = set; then
6143 enableval=$enable_base64;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_base64='wxUSE_BASE64
=yes'
6147 wx_cv_use_base64='wxUSE_BASE64
=no
'
6152 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6157 eval "$wx_cv_use_base64"
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_BASE64 = yes; then
6166 result=$wxUSE_BASE64
6169 { echo "$as_me:$LINENO: result
: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6183 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6184 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6185 # Check whether --enable-backtrace was given.
6186 if test "${enable_backtrace+set}" = set; then
6187 enableval=$enable_backtrace;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6191 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6201 eval "$wx_cv_use_backtrace"
6203 if test x
"$enablestring" = xdisable
; then
6204 if test $wxUSE_STACKWALKER = yes; then
6210 result
=$wxUSE_STACKWALKER
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6218 defaultval
=$wxUSE_ALL_FEATURES
6219 if test -z "$defaultval"; then
6220 if test x
"$enablestring" = xdisable
; then
6227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6229 # Check whether --enable-catch_segvs was given.
6230 if test "${enable_catch_segvs+set}" = set; then
6231 enableval
=$enable_catch_segvs;
6232 if test "$enableval" = yes; then
6233 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6235 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6240 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6245 eval "$wx_cv_use_catch_segvs"
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6254 result=$wxUSE_ON_FATAL_EXCEPTION
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6262 defaultval=$wxUSE_ALL_FEATURES
6263 if test -z "$defaultval"; then
6264 if test x"$enablestring" = xdisable; then
6271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6273 # Check whether --enable-cmdline was given.
6274 if test "${enable_cmdline+set}" = set; then
6275 enableval=$enable_cmdline;
6276 if test "$enableval" = yes; then
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6279 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6289 eval "$wx_cv_use_cmdline"
6291 if test x"$enablestring" = xdisable; then
6292 if test $wxUSE_CMDLINE_PARSER = yes; then
6298 result=$wxUSE_CMDLINE_PARSER
6301 { echo "$as_me:$LINENO: result
: $result" >&5
6302 echo "${ECHO_T}$result" >&6; }
6306 defaultval=$wxUSE_ALL_FEATURES
6307 if test -z "$defaultval"; then
6308 if test x"$enablestring" = xdisable; then
6315 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6316 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6317 # Check whether --enable-datetime was given.
6318 if test "${enable_datetime+set}" = set; then
6319 enableval=$enable_datetime;
6320 if test "$enableval" = yes; then
6321 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6323 wx_cv_use_datetime='wxUSE_DATETIME=no'
6328 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6333 eval "$wx_cv_use_datetime"
6335 if test x
"$enablestring" = xdisable
; then
6336 if test $wxUSE_DATETIME = yes; then
6342 result
=$wxUSE_DATETIME
6345 { echo "$as_me:$LINENO: result: $result" >&5
6346 echo "${ECHO_T}$result" >&6; }
6350 defaultval
=$wxUSE_ALL_FEATURES
6351 if test -z "$defaultval"; then
6352 if test x
"$enablestring" = xdisable
; then
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6361 # Check whether --enable-debugreport was given.
6362 if test "${enable_debugreport+set}" = set; then
6363 enableval
=$enable_debugreport;
6364 if test "$enableval" = yes; then
6365 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6367 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6372 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6377 eval "$wx_cv_use_debugreport"
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_DEBUGREPORT = yes; then
6386 result=$wxUSE_DEBUGREPORT
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6405 # Check whether --enable-dialupman was given.
6406 if test "${enable_dialupman+set}" = set; then
6407 enableval=$enable_dialupman;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6411 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6421 eval "$wx_cv_use_dialupman"
6423 if test x"$enablestring" = xdisable; then
6424 if test $wxUSE_DIALUP_MANAGER = yes; then
6430 result=$wxUSE_DIALUP_MANAGER
6433 { echo "$as_me:$LINENO: result
: $result" >&5
6434 echo "${ECHO_T}$result" >&6; }
6438 defaultval=$wxUSE_ALL_FEATURES
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6447 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6448 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6449 # Check whether --enable-dynlib was given.
6450 if test "${enable_dynlib+set}" = set; then
6451 enableval=$enable_dynlib;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6455 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6465 eval "$wx_cv_use_dynlib"
6467 if test x
"$enablestring" = xdisable
; then
6468 if test $wxUSE_DYNLIB_CLASS = yes; then
6474 result
=$wxUSE_DYNLIB_CLASS
6477 { echo "$as_me:$LINENO: result: $result" >&5
6478 echo "${ECHO_T}$result" >&6; }
6482 defaultval
=$wxUSE_ALL_FEATURES
6483 if test -z "$defaultval"; then
6484 if test x
"$enablestring" = xdisable
; then
6491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6493 # Check whether --enable-dynamicloader was given.
6494 if test "${enable_dynamicloader+set}" = set; then
6495 enableval
=$enable_dynamicloader;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6499 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6504 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6509 eval "$wx_cv_use_dynamicloader"
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_DYNAMIC_LOADER = yes; then
6518 result=$wxUSE_DYNAMIC_LOADER
6521 { echo "$as_me:$LINENO: result: $result" >&5
6522 echo "${ECHO_T}$result" >&6; }
6526 defaultval=$wxUSE_ALL_FEATURES
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6537 # Check whether --enable-exceptions was given.
6538 if test "${enable_exceptions+set}" = set; then
6539 enableval=$enable_exceptions;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6543 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6553 eval "$wx_cv_use_exceptions"
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_EXCEPTIONS = yes; then
6562 result=$wxUSE_EXCEPTIONS
6565 { echo "$as_me:$LINENO: result
: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6579 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6580 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6581 # Check whether --enable-ffile was given.
6582 if test "${enable_ffile+set}" = set; then
6583 enableval=$enable_ffile;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ffile='wxUSE_FFILE=yes'
6587 wx_cv_use_ffile='wxUSE_FFILE=no'
6592 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6597 eval "$wx_cv_use_ffile"
6599 if test x
"$enablestring" = xdisable
; then
6600 if test $wxUSE_FFILE = yes; then
6609 { echo "$as_me:$LINENO: result: $result" >&5
6610 echo "${ECHO_T}$result" >&6; }
6614 defaultval
=$wxUSE_ALL_FEATURES
6615 if test -z "$defaultval"; then
6616 if test x
"$enablestring" = xdisable
; then
6623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6625 # Check whether --enable-file was given.
6626 if test "${enable_file+set}" = set; then
6627 enableval
=$enable_file;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_file
='wxUSE_FILE=yes'
6631 wx_cv_use_file
='wxUSE_FILE=no'
6636 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6641 eval "$wx_cv_use_file"
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_FILE = yes; then
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6658 defaultval=$wxUSE_ALL_FEATURES
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6669 # Check whether --enable-filesystem was given.
6670 if test "${enable_filesystem+set}" = set; then
6671 enableval=$enable_filesystem;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6675 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6685 eval "$wx_cv_use_filesystem"
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_FILESYSTEM = yes; then
6694 result=$wxUSE_FILESYSTEM
6697 { echo "$as_me:$LINENO: result
: $result" >&5
6698 echo "${ECHO_T}$result" >&6; }
6702 defaultval=$wxUSE_ALL_FEATURES
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6711 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6712 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6713 # Check whether --enable-fontenum was given.
6714 if test "${enable_fontenum+set}" = set; then
6715 enableval=$enable_fontenum;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6719 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6729 eval "$wx_cv_use_fontenum"
6731 if test x
"$enablestring" = xdisable
; then
6732 if test $wxUSE_FONTENUM = yes; then
6738 result
=$wxUSE_FONTENUM
6741 { echo "$as_me:$LINENO: result: $result" >&5
6742 echo "${ECHO_T}$result" >&6; }
6746 defaultval
=$wxUSE_ALL_FEATURES
6747 if test -z "$defaultval"; then
6748 if test x
"$enablestring" = xdisable
; then
6755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6757 # Check whether --enable-fontmap was given.
6758 if test "${enable_fontmap+set}" = set; then
6759 enableval
=$enable_fontmap;
6760 if test "$enableval" = yes; then
6761 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
6763 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
6768 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6773 eval "$wx_cv_use_fontmap"
6775 if test x"$enablestring" = xdisable; then
6776 if test $wxUSE_FONTMAP = yes; then
6782 result=$wxUSE_FONTMAP
6785 { echo "$as_me:$LINENO: result: $result" >&5
6786 echo "${ECHO_T}$result" >&6; }
6790 defaultval=$wxUSE_ALL_FEATURES
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6801 # Check whether --enable-fs_archive was given.
6802 if test "${enable_fs_archive+set}" = set; then
6803 enableval=$enable_fs_archive;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
6807 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6817 eval "$wx_cv_use_fs_archive"
6819 if test x"$enablestring" = xdisable; then
6820 if test $wxUSE_FS_ARCHIVE = yes; then
6826 result=$wxUSE_FS_ARCHIVE
6829 { echo "$as_me:$LINENO: result
: $result" >&5
6830 echo "${ECHO_T}$result" >&6; }
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
6844 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
6845 # Check whether --enable-fs_inet was given.
6846 if test "${enable_fs_inet+set}" = set; then
6847 enableval=$enable_fs_inet;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6851 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6861 eval "$wx_cv_use_fs_inet"
6863 if test x
"$enablestring" = xdisable
; then
6864 if test $wxUSE_FS_INET = yes; then
6870 result
=$wxUSE_FS_INET
6873 { echo "$as_me:$LINENO: result: $result" >&5
6874 echo "${ECHO_T}$result" >&6; }
6878 defaultval
=$wxUSE_ALL_FEATURES
6879 if test -z "$defaultval"; then
6880 if test x
"$enablestring" = xdisable
; then
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6889 # Check whether --enable-fs_zip was given.
6890 if test "${enable_fs_zip+set}" = set; then
6891 enableval
=$enable_fs_zip;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
6895 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
6900 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6905 eval "$wx_cv_use_fs_zip"
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_FS_ZIP = yes; then
6914 result=$wxUSE_FS_ZIP
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6933 # Check whether --enable-geometry was given.
6934 if test "${enable_geometry+set}" = set; then
6935 enableval=$enable_geometry;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
6939 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
6944 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6949 eval "$wx_cv_use_geometry"
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_GEOMETRY = yes; then
6958 result=$wxUSE_GEOMETRY
6961 { echo "$as_me:$LINENO: result
: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
6976 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
6977 # Check whether --enable-log was given.
6978 if test "${enable_log+set}" = set; then
6979 enableval=$enable_log;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_log='wxUSE_LOG=yes'
6983 wx_cv_use_log='wxUSE_LOG=no'
6988 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6993 eval "$wx_cv_use_log"
6995 if test x
"$enablestring" = xdisable
; then
6996 if test $wxUSE_LOG = yes; then
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7010 defaultval
=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x
"$enablestring" = xdisable
; then
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7021 # Check whether --enable-longlong was given.
7022 if test "${enable_longlong+set}" = set; then
7023 enableval
=$enable_longlong;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7027 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7032 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7037 eval "$wx_cv_use_longlong"
7039 if test x"$enablestring" = xdisable; then
7040 if test $wxUSE_LONGLONG = yes; then
7046 result=$wxUSE_LONGLONG
7049 { echo "$as_me:$LINENO: result: $result" >&5
7050 echo "${ECHO_T}$result" >&6; }
7054 defaultval=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x"$enablestring" = xdisable; then
7063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7065 # Check whether --enable-mimetype was given.
7066 if test "${enable_mimetype+set}" = set; then
7067 enableval=$enable_mimetype;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7071 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7081 eval "$wx_cv_use_mimetype"
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_MIMETYPE = yes; then
7090 result=$wxUSE_MIMETYPE
7093 { echo "$as_me:$LINENO: result
: $result" >&5
7094 echo "${ECHO_T}$result" >&6; }
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7108 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7109 # Check whether --enable-snglinst was given.
7110 if test "${enable_snglinst+set}" = set; then
7111 enableval=$enable_snglinst;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7115 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7125 eval "$wx_cv_use_snglinst"
7127 if test x
"$enablestring" = xdisable
; then
7128 if test $wxUSE_SNGLINST_CHECKER = yes; then
7134 result
=$wxUSE_SNGLINST_CHECKER
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7142 defaultval
=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x
"$enablestring" = xdisable
; then
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7153 # Check whether --enable-stdpaths was given.
7154 if test "${enable_stdpaths+set}" = set; then
7155 enableval
=$enable_stdpaths;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7159 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7164 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7169 eval "$wx_cv_use_stdpaths"
7171 if test x"$enablestring" = xdisable; then
7172 if test $wxUSE_STDPATHS = yes; then
7178 result=$wxUSE_STDPATHS
7181 { echo "$as_me:$LINENO: result: $result" >&5
7182 echo "${ECHO_T}$result" >&6; }
7186 defaultval=$wxUSE_ALL_FEATURES
7187 if test -z "$defaultval"; then
7188 if test x"$enablestring" = xdisable; then
7195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7197 # Check whether --enable-stopwatch was given.
7198 if test "${enable_stopwatch+set}" = set; then
7199 enableval=$enable_stopwatch;
7200 if test "$enableval" = yes; then
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7203 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7213 eval "$wx_cv_use_stopwatch"
7215 if test x"$enablestring" = xdisable; then
7216 if test $wxUSE_STOPWATCH = yes; then
7222 result=$wxUSE_STOPWATCH
7225 { echo "$as_me:$LINENO: result
: $result" >&5
7226 echo "${ECHO_T}$result" >&6; }
7230 defaultval=$wxUSE_ALL_FEATURES
7231 if test -z "$defaultval"; then
7232 if test x"$enablestring" = xdisable; then
7239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7240 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7241 # Check whether --enable-streams was given.
7242 if test "${enable_streams+set}" = set; then
7243 enableval=$enable_streams;
7244 if test "$enableval" = yes; then
7245 wx_cv_use_streams='wxUSE_STREAMS=yes'
7247 wx_cv_use_streams='wxUSE_STREAMS=no'
7252 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7257 eval "$wx_cv_use_streams"
7259 if test x
"$enablestring" = xdisable
; then
7260 if test $wxUSE_STREAMS = yes; then
7266 result
=$wxUSE_STREAMS
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7274 defaultval
=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x
"$enablestring" = xdisable
; then
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7285 # Check whether --enable-system_options was given.
7286 if test "${enable_system_options+set}" = set; then
7287 enableval
=$enable_system_options;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
7291 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
7296 wx_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7301 eval "$wx_cv_use_system_options"
7303 if test x"$enablestring" = xdisable; then
7304 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7310 result=$wxUSE_SYSTEM_OPTIONS
7313 { echo "$as_me:$LINENO: result: $result" >&5
7314 echo "${ECHO_T}$result" >&6; }
7318 defaultval=$wxUSE_ALL_FEATURES
7319 if test -z "$defaultval"; then
7320 if test x"$enablestring" = xdisable; then
7327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7329 # Check whether --enable-tarstream was given.
7330 if test "${enable_tarstream+set}" = set; then
7331 enableval=$enable_tarstream;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7335 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7345 eval "$wx_cv_use_tarstream"
7347 if test x"$enablestring" = xdisable; then
7348 if test $wxUSE_TARSTREAM = yes; then
7354 result=$wxUSE_TARSTREAM
7357 { echo "$as_me:$LINENO: result
: $result" >&5
7358 echo "${ECHO_T}$result" >&6; }
7362 defaultval=$wxUSE_ALL_FEATURES
7363 if test -z "$defaultval"; then
7364 if test x"$enablestring" = xdisable; then
7371 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7372 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7373 # Check whether --enable-textbuf was given.
7374 if test "${enable_textbuf+set}" = set; then
7375 enableval=$enable_textbuf;
7376 if test "$enableval" = yes; then
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7379 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7389 eval "$wx_cv_use_textbuf"
7391 if test x
"$enablestring" = xdisable
; then
7392 if test $wxUSE_TEXTBUFFER = yes; then
7398 result
=$wxUSE_TEXTBUFFER
7401 { echo "$as_me:$LINENO: result: $result" >&5
7402 echo "${ECHO_T}$result" >&6; }
7406 defaultval
=$wxUSE_ALL_FEATURES
7407 if test -z "$defaultval"; then
7408 if test x
"$enablestring" = xdisable
; then
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7417 # Check whether --enable-textfile was given.
7418 if test "${enable_textfile+set}" = set; then
7419 enableval
=$enable_textfile;
7420 if test "$enableval" = yes; then
7421 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7423 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7428 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7433 eval "$wx_cv_use_textfile"
7435 if test x"$enablestring" = xdisable; then
7436 if test $wxUSE_TEXTFILE = yes; then
7442 result=$wxUSE_TEXTFILE
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7450 defaultval=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x"$enablestring" = xdisable; then
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7461 # Check whether --enable-timer was given.
7462 if test "${enable_timer+set}" = set; then
7463 enableval=$enable_timer;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_timer='wxUSE_TIMER
=yes'
7467 wx_cv_use_timer='wxUSE_TIMER
=no
'
7472 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7477 eval "$wx_cv_use_timer"
7479 if test x"$enablestring" = xdisable; then
7480 if test $wxUSE_TIMER = yes; then
7489 { echo "$as_me:$LINENO: result
: $result" >&5
7490 echo "${ECHO_T}$result" >&6; }
7494 defaultval=$wxUSE_ALL_FEATURES
7495 if test -z "$defaultval"; then
7496 if test x"$enablestring" = xdisable; then
7503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7504 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7505 # Check whether --enable-sound was given.
7506 if test "${enable_sound+set}" = set; then
7507 enableval=$enable_sound;
7508 if test "$enableval" = yes; then
7509 wx_cv_use_sound='wxUSE_SOUND=yes'
7511 wx_cv_use_sound='wxUSE_SOUND=no'
7516 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7521 eval "$wx_cv_use_sound"
7523 if test x
"$enablestring" = xdisable
; then
7524 if test $wxUSE_SOUND = yes; then
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7538 defaultval
=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x
"$enablestring" = xdisable
; then
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7549 # Check whether --enable-mediactrl was given.
7550 if test "${enable_mediactrl+set}" = set; then
7551 enableval
=$enable_mediactrl;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
7555 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
7560 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7565 eval "$wx_cv_use_mediactrl"
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_MEDIACTRL = yes; then
7574 result=$wxUSE_MEDIACTRL
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7593 # Check whether --enable-gstreamer8 was given.
7594 if test "${enable_gstreamer8+set}" = set; then
7595 enableval=$enable_gstreamer8;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
7599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7609 eval "$wx_cv_use_gstreamer8"
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_GSTREAMER8 = yes; then
7618 result=$wxUSE_GSTREAMER8
7621 { echo "$as_me:$LINENO: result
: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7635 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7636 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7637 # Check whether --enable-printfposparam was given.
7638 if test "${enable_printfposparam+set}" = set; then
7639 enableval=$enable_printfposparam;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7643 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7653 eval "$wx_cv_use_printfposparam"
7655 if test x
"$enablestring" = xdisable
; then
7656 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7662 result
=$wxUSE_PRINTF_POS_PARAMS
7665 { echo "$as_me:$LINENO: result: $result" >&5
7666 echo "${ECHO_T}$result" >&6; }
7670 defaultval
=$wxUSE_ALL_FEATURES
7671 if test -z "$defaultval"; then
7672 if test x
"$enablestring" = xdisable
; then
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7681 # Check whether --enable-zipstream was given.
7682 if test "${enable_zipstream+set}" = set; then
7683 enableval
=$enable_zipstream;
7684 if test "$enableval" = yes; then
7685 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7687 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7692 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7697 eval "$wx_cv_use_zipstream"
7699 if test x"$enablestring" = xdisable; then
7700 if test $wxUSE_ZIPSTREAM = yes; then
7706 result=$wxUSE_ZIPSTREAM
7709 { echo "$as_me:$LINENO: result: $result" >&5
7710 echo "${ECHO_T}$result" >&6; }
7715 defaultval=$wxUSE_ALL_FEATURES
7716 if test -z "$defaultval"; then
7717 if test x"$enablestring" = xdisable; then
7724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7726 # Check whether --enable-url was given.
7727 if test "${enable_url+set}" = set; then
7728 enableval=$enable_url;
7729 if test "$enableval" = yes; then
7730 wx_cv_use_url='wxUSE_URL
=yes'
7732 wx_cv_use_url='wxUSE_URL
=no
'
7737 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
7742 eval "$wx_cv_use_url"
7744 if test x"$enablestring" = xdisable; then
7745 if test $wxUSE_URL = yes; then
7754 { echo "$as_me:$LINENO: result
: $result" >&5
7755 echo "${ECHO_T}$result" >&6; }
7759 defaultval=$wxUSE_ALL_FEATURES
7760 if test -z "$defaultval"; then
7761 if test x"$enablestring" = xdisable; then
7768 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7769 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7770 # Check whether --enable-variant was given.
7771 if test "${enable_variant+set}" = set; then
7772 enableval=$enable_variant;
7773 if test "$enableval" = yes; then
7774 wx_cv_use_variant='wxUSE_VARIANT=yes'
7776 wx_cv_use_variant='wxUSE_VARIANT=no'
7781 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7786 eval "$wx_cv_use_variant"
7788 if test x
"$enablestring" = xdisable
; then
7789 if test $wxUSE_VARIANT = yes; then
7795 result
=$wxUSE_VARIANT
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7803 defaultval
=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x
"$enablestring" = xdisable
; then
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7814 # Check whether --enable-protocol was given.
7815 if test "${enable_protocol+set}" = set; then
7816 enableval
=$enable_protocol;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7820 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7825 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7830 eval "$wx_cv_use_protocol"
7832 if test x"$enablestring" = xdisable; then
7833 if test $wxUSE_PROTOCOL = yes; then
7839 result=$wxUSE_PROTOCOL
7842 { echo "$as_me:$LINENO: result: $result" >&5
7843 echo "${ECHO_T}$result" >&6; }
7847 defaultval=$wxUSE_ALL_FEATURES
7848 if test -z "$defaultval"; then
7849 if test x"$enablestring" = xdisable; then
7856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7857 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7858 # Check whether --enable-protocol_http was given.
7859 if test "${enable_protocol_http+set}" = set; then
7860 enableval=$enable_protocol_http;
7861 if test "$enableval" = yes; then
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7864 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7874 eval "$wx_cv_use_protocol_http"
7876 if test x"$enablestring" = xdisable; then
7877 if test $wxUSE_PROTOCOL_HTTP = yes; then
7883 result=$wxUSE_PROTOCOL_HTTP
7886 { echo "$as_me:$LINENO: result
: $result" >&5
7887 echo "${ECHO_T}$result" >&6; }
7891 defaultval=$wxUSE_ALL_FEATURES
7892 if test -z "$defaultval"; then
7893 if test x"$enablestring" = xdisable; then
7900 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
7901 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
7902 # Check whether --enable-protocol_ftp was given.
7903 if test "${enable_protocol_ftp+set}" = set; then
7904 enableval=$enable_protocol_ftp;
7905 if test "$enableval" = yes; then
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7908 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7918 eval "$wx_cv_use_protocol_ftp"
7920 if test x
"$enablestring" = xdisable
; then
7921 if test $wxUSE_PROTOCOL_FTP = yes; then
7927 result
=$wxUSE_PROTOCOL_FTP
7930 { echo "$as_me:$LINENO: result: $result" >&5
7931 echo "${ECHO_T}$result" >&6; }
7935 defaultval
=$wxUSE_ALL_FEATURES
7936 if test -z "$defaultval"; then
7937 if test x
"$enablestring" = xdisable
; then
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7946 # Check whether --enable-protocol_file was given.
7947 if test "${enable_protocol_file+set}" = set; then
7948 enableval
=$enable_protocol_file;
7949 if test "$enableval" = yes; then
7950 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
7952 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
7957 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7962 eval "$wx_cv_use_protocol_file"
7964 if test x"$enablestring" = xdisable; then
7965 if test $wxUSE_PROTOCOL_FILE = yes; then
7971 result=$wxUSE_PROTOCOL_FILE
7974 { echo "$as_me:$LINENO: result: $result" >&5
7975 echo "${ECHO_T}$result" >&6; }
7980 defaultval=$wxUSE_ALL_FEATURES
7981 if test -z "$defaultval"; then
7982 if test x"$enablestring" = xdisable; then
7989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7991 # Check whether --enable-threads was given.
7992 if test "${enable_threads+set}" = set; then
7993 enableval=$enable_threads;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_threads='wxUSE_THREADS
=yes'
7997 wx_cv_use_threads='wxUSE_THREADS
=no
'
8002 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8007 eval "$wx_cv_use_threads"
8009 if test x"$enablestring" = xdisable; then
8010 if test $wxUSE_THREADS = yes; then
8016 result=$wxUSE_THREADS
8019 { echo "$as_me:$LINENO: result
: $result" >&5
8020 echo "${ECHO_T}$result" >&6; }
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8034 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8035 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8036 # Check whether --enable-iniconf was given.
8037 if test "${enable_iniconf+set}" = set; then
8038 enableval=$enable_iniconf;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8042 wx_cv_use_iniconf='wxUSE_INICONF=no'
8047 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8052 eval "$wx_cv_use_iniconf"
8054 if test x
"$enablestring" = xdisable
; then
8055 if test $wxUSE_INICONF = yes; then
8061 result
=$wxUSE_INICONF
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8069 defaultval
=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x
"$enablestring" = xdisable
; then
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8080 # Check whether --enable-regkey was given.
8081 if test "${enable_regkey+set}" = set; then
8082 enableval
=$enable_regkey;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8086 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8091 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8096 eval "$wx_cv_use_regkey"
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_REGKEY = yes; then
8105 result=$wxUSE_REGKEY
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8112 if test "$wxUSE_GUI" = "yes"; then
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8128 # Check whether --enable-docview was given.
8129 if test "${enable_docview+set}" = set; then
8130 enableval=$enable_docview;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8134 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8144 eval "$wx_cv_use_docview"
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8153 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8156 { echo "$as_me:$LINENO: result
: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8170 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8171 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8172 # Check whether --enable-help was given.
8173 if test "${enable_help+set}" = set; then
8174 enableval=$enable_help;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_help='wxUSE_HELP=yes'
8178 wx_cv_use_help='wxUSE_HELP=no'
8183 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8188 eval "$wx_cv_use_help"
8190 if test x
"$enablestring" = xdisable
; then
8191 if test $wxUSE_HELP = yes; then
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8205 defaultval
=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x
"$enablestring" = xdisable
; then
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8216 # Check whether --enable-mshtmlhelp was given.
8217 if test "${enable_mshtmlhelp+set}" = set; then
8218 enableval
=$enable_mshtmlhelp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8222 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8227 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8232 eval "$wx_cv_use_mshtmlhelp"
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_MS_HTML_HELP = yes; then
8241 result=$wxUSE_MS_HTML_HELP
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8260 # Check whether --enable-html was given.
8261 if test "${enable_html+set}" = set; then
8262 enableval=$enable_html;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_html='wxUSE_HTML
=yes'
8266 wx_cv_use_html='wxUSE_HTML
=no
'
8271 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8276 eval "$wx_cv_use_html"
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_HTML = yes; then
8288 { echo "$as_me:$LINENO: result
: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8302 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8303 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8304 # Check whether --enable-htmlhelp was given.
8305 if test "${enable_htmlhelp+set}" = set; then
8306 enableval=$enable_htmlhelp;
8307 if test "$enableval" = yes; then
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8310 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8320 eval "$wx_cv_use_htmlhelp"
8322 if test x
"$enablestring" = xdisable
; then
8323 if test $wxUSE_WXHTML_HELP = yes; then
8329 result
=$wxUSE_WXHTML_HELP
8332 { echo "$as_me:$LINENO: result: $result" >&5
8333 echo "${ECHO_T}$result" >&6; }
8337 defaultval
=$wxUSE_ALL_FEATURES
8338 if test -z "$defaultval"; then
8339 if test x
"$enablestring" = xdisable
; then
8346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8348 # Check whether --enable-xrc was given.
8349 if test "${enable_xrc+set}" = set; then
8350 enableval
=$enable_xrc;
8351 if test "$enableval" = yes; then
8352 wx_cv_use_xrc
='wxUSE_XRC=yes'
8354 wx_cv_use_xrc
='wxUSE_XRC=no'
8359 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8364 eval "$wx_cv_use_xrc"
8366 if test x"$enablestring" = xdisable; then
8367 if test $wxUSE_XRC = yes; then
8376 { echo "$as_me:$LINENO: result: $result" >&5
8377 echo "${ECHO_T}$result" >&6; }
8381 defaultval=$wxUSE_ALL_FEATURES
8382 if test -z "$defaultval"; then
8383 if test x"$enablestring" = xdisable; then
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8392 # Check whether --enable-aui was given.
8393 if test "${enable_aui+set}" = set; then
8394 enableval=$enable_aui;
8395 if test "$enableval" = yes; then
8396 wx_cv_use_aui='wxUSE_AUI
=yes'
8398 wx_cv_use_aui='wxUSE_AUI
=no
'
8403 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8408 eval "$wx_cv_use_aui"
8410 if test x"$enablestring" = xdisable; then
8411 if test $wxUSE_AUI = yes; then
8420 { echo "$as_me:$LINENO: result
: $result" >&5
8421 echo "${ECHO_T}$result" >&6; }
8425 defaultval=$wxUSE_ALL_FEATURES
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8435 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8436 # Check whether --enable-stc was given.
8437 if test "${enable_stc+set}" = set; then
8438 enableval=$enable_stc;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_stc='wxUSE_STC=yes'
8442 wx_cv_use_stc='wxUSE_STC=no'
8447 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8452 eval "$wx_cv_use_stc"
8454 if test x
"$enablestring" = xdisable
; then
8455 if test $wxUSE_STC = yes; then
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8469 defaultval
=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x
"$enablestring" = xdisable
; then
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8480 # Check whether --enable-constraints was given.
8481 if test "${enable_constraints+set}" = set; then
8482 enableval
=$enable_constraints;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8486 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8491 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8496 eval "$wx_cv_use_constraints"
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_CONSTRAINTS = yes; then
8505 result=$wxUSE_CONSTRAINTS
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8513 defaultval=$wxUSE_ALL_FEATURES
8514 if test -z "$defaultval"; then
8515 if test x"$enablestring" = xdisable; then
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8524 # Check whether --enable-printarch was given.
8525 if test "${enable_printarch+set}" = set; then
8526 enableval=$enable_printarch;
8527 if test "$enableval" = yes; then
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
8530 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8540 eval "$wx_cv_use_printarch"
8542 if test x"$enablestring" = xdisable; then
8543 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8549 result=$wxUSE_PRINTING_ARCHITECTURE
8552 { echo "$as_me:$LINENO: result
: $result" >&5
8553 echo "${ECHO_T}$result" >&6; }
8557 defaultval=$wxUSE_ALL_FEATURES
8558 if test -z "$defaultval"; then
8559 if test x"$enablestring" = xdisable; then
8566 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8567 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8568 # Check whether --enable-mdi was given.
8569 if test "${enable_mdi+set}" = set; then
8570 enableval=$enable_mdi;
8571 if test "$enableval" = yes; then
8572 wx_cv_use_mdi='wxUSE_MDI=yes'
8574 wx_cv_use_mdi='wxUSE_MDI=no'
8579 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8584 eval "$wx_cv_use_mdi"
8586 if test x
"$enablestring" = xdisable
; then
8587 if test $wxUSE_MDI = yes; then
8596 { echo "$as_me:$LINENO: result: $result" >&5
8597 echo "${ECHO_T}$result" >&6; }
8601 defaultval
=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x
"$enablestring" = xdisable
; then
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8612 # Check whether --enable-mdidoc was given.
8613 if test "${enable_mdidoc+set}" = set; then
8614 enableval
=$enable_mdidoc;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8618 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8623 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8628 eval "$wx_cv_use_mdidoc"
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8637 result=$wxUSE_MDI_ARCHITECTURE
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8656 # Check whether --enable-loggui was given.
8657 if test "${enable_loggui+set}" = set; then
8658 enableval=$enable_loggui;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8662 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8667 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8672 eval "$wx_cv_use_loggui"
8674 if test x"$enablestring" = xdisable; then
8675 if test $wxUSE_LOGGUI = yes; then
8681 result=$wxUSE_LOGGUI
8684 { echo "$as_me:$LINENO: result
: $result" >&5
8685 echo "${ECHO_T}$result" >&6; }
8689 defaultval=$wxUSE_ALL_FEATURES
8690 if test -z "$defaultval"; then
8691 if test x"$enablestring" = xdisable; then
8698 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8699 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8700 # Check whether --enable-logwin was given.
8701 if test "${enable_logwin+set}" = set; then
8702 enableval=$enable_logwin;
8703 if test "$enableval" = yes; then
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8706 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8716 eval "$wx_cv_use_logwin"
8718 if test x
"$enablestring" = xdisable
; then
8719 if test $wxUSE_LOGWINDOW = yes; then
8725 result
=$wxUSE_LOGWINDOW
8728 { echo "$as_me:$LINENO: result: $result" >&5
8729 echo "${ECHO_T}$result" >&6; }
8733 defaultval
=$wxUSE_ALL_FEATURES
8734 if test -z "$defaultval"; then
8735 if test x
"$enablestring" = xdisable
; then
8742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8744 # Check whether --enable-logdialog was given.
8745 if test "${enable_logdialog+set}" = set; then
8746 enableval
=$enable_logdialog;
8747 if test "$enableval" = yes; then
8748 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8750 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8755 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8760 eval "$wx_cv_use_logdialog"
8762 if test x"$enablestring" = xdisable; then
8763 if test $wxUSE_LOGDIALOG = yes; then
8769 result=$wxUSE_LOGDIALOG
8772 { echo "$as_me:$LINENO: result: $result" >&5
8773 echo "${ECHO_T}$result" >&6; }
8777 defaultval=$wxUSE_ALL_FEATURES
8778 if test -z "$defaultval"; then
8779 if test x"$enablestring" = xdisable; then
8786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8788 # Check whether --enable-webkit was given.
8789 if test "${enable_webkit+set}" = set; then
8790 enableval=$enable_webkit;
8791 if test "$enableval" = yes; then
8792 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
8794 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
8799 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8804 eval "$wx_cv_use_webkit"
8806 if test x"$enablestring" = xdisable; then
8807 if test $wxUSE_WEBKIT = yes; then
8813 result=$wxUSE_WEBKIT
8816 { echo "$as_me:$LINENO: result
: $result" >&5
8817 echo "${ECHO_T}$result" >&6; }
8821 defaultval=$wxUSE_ALL_FEATURES
8822 if test -z "$defaultval"; then
8823 if test x"$enablestring" = xdisable; then
8830 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
8831 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
8832 # Check whether --enable-richtext was given.
8833 if test "${enable_richtext+set}" = set; then
8834 enableval=$enable_richtext;
8835 if test "$enableval" = yes; then
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8838 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8848 eval "$wx_cv_use_richtext"
8850 if test x
"$enablestring" = xdisable
; then
8851 if test $wxUSE_RICHTEXT = yes; then
8857 result
=$wxUSE_RICHTEXT
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8865 defaultval
=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x
"$enablestring" = xdisable
; then
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8876 # Check whether --enable-graphics_ctx was given.
8877 if test "${enable_graphics_ctx+set}" = set; then
8878 enableval
=$enable_graphics_ctx;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
8882 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
8887 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8892 eval "$wx_cv_use_graphics_ctx"
8894 if test x"$enablestring" = xdisable; then
8895 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8901 result=$wxUSE_GRAPHICS_CONTEXT
8904 { echo "$as_me:$LINENO: result: $result" >&5
8905 echo "${ECHO_T}$result" >&6; }
8909 defaultval=$wxUSE_ALL_FEATURES
8910 if test -z "$defaultval"; then
8911 if test x"$enablestring" = xdisable; then
8918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8920 # Check whether --enable-postscript was given.
8921 if test "${enable_postscript+set}" = set; then
8922 enableval=$enable_postscript;
8923 if test "$enableval" = yes; then
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
8926 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8936 eval "$wx_cv_use_postscript"
8938 if test x"$enablestring" = xdisable; then
8939 if test $wxUSE_POSTSCRIPT = yes; then
8945 result=$wxUSE_POSTSCRIPT
8948 { echo "$as_me:$LINENO: result
: $result" >&5
8949 echo "${ECHO_T}$result" >&6; }
8953 defaultval=$wxUSE_ALL_FEATURES
8954 if test -z "$defaultval"; then
8955 if test x"$enablestring" = xdisable; then
8962 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
8963 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
8964 # Check whether --enable-svg was given.
8965 if test "${enable_svg+set}" = set; then
8966 enableval=$enable_svg;
8967 if test "$enableval" = yes; then
8968 wx_cv_use_svg='wxUSE_SVG=yes'
8970 wx_cv_use_svg='wxUSE_SVG=no'
8975 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8980 eval "$wx_cv_use_svg"
8982 if test x
"$enablestring" = xdisable
; then
8983 if test $wxUSE_SVG = yes; then
8992 { echo "$as_me:$LINENO: result: $result" >&5
8993 echo "${ECHO_T}$result" >&6; }
8999 defaultval
=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x
"$enablestring" = xdisable
; then
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9010 # Check whether --enable-clipboard was given.
9011 if test "${enable_clipboard+set}" = set; then
9012 enableval
=$enable_clipboard;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9016 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9021 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9026 eval "$wx_cv_use_clipboard"
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_CLIPBOARD = yes; then
9035 result=$wxUSE_CLIPBOARD
9038 { echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6; }
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9054 # Check whether --enable-dnd was given.
9055 if test "${enable_dnd+set}" = set; then
9056 enableval=$enable_dnd;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9060 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9070 eval "$wx_cv_use_dnd"
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_DRAG_AND_DROP = yes; then
9079 result=$wxUSE_DRAG_AND_DROP
9082 { echo "$as_me:$LINENO: result
: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9097 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9098 # Check whether --enable-metafile was given.
9099 if test "${enable_metafile+set}" = set; then
9100 enableval=$enable_metafile;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9104 wx_cv_use_metafile='wxUSE_METAFILE=no'
9109 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9114 eval "$wx_cv_use_metafile"
9116 if test x
"$enablestring" = xdisable
; then
9117 if test $wxUSE_METAFILE = yes; then
9123 result
=$wxUSE_METAFILE
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9131 DEFAULT_wxUSE_CONTROLS
=none
9133 enablestring
=disable
9135 if test -z "$defaultval"; then
9136 if test x
"$enablestring" = xdisable
; then
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9145 # Check whether --enable-controls was given.
9146 if test "${enable_controls+set}" = set; then
9147 enableval
=$enable_controls;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9151 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9156 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9161 eval "$wx_cv_use_controls"
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_CONTROLS = yes; then
9170 result=$wxUSE_CONTROLS
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9177 if test "$wxUSE_CONTROLS" = "yes"; then
9178 DEFAULT_wxUSE_ACCEL=yes
9179 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9180 DEFAULT_wxUSE_BMPBUTTON=yes
9181 DEFAULT_wxUSE_BUTTON=yes
9182 DEFAULT_wxUSE_CALCTRL=yes
9183 DEFAULT_wxUSE_CARET=yes
9184 DEFAULT_wxUSE_COMBOBOX=yes
9185 DEFAULT_wxUSE_CHECKBOX=yes
9186 DEFAULT_wxUSE_CHECKLISTBOX=yes
9187 DEFAULT_wxUSE_CHOICE=yes
9188 DEFAULT_wxUSE_CHOICEBOOK=yes
9189 DEFAULT_wxUSE_COLLPANE=yes
9190 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_DATEPICKCTRL=yes
9193 DEFAULT_wxUSE_DISPLAY=yes
9194 DEFAULT_wxUSE_DETECT_SM=yes
9195 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9196 DEFAULT_wxUSE_FILECTRL=yes
9197 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9198 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9199 DEFAULT_wxUSE_GAUGE=yes
9200 DEFAULT_wxUSE_GRID=yes
9201 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9202 DEFAULT_wxUSE_DATAVIEWCTRL=no
9203 DEFAULT_wxUSE_IMAGLIST=yes
9204 DEFAULT_wxUSE_LISTBOOK=yes
9205 DEFAULT_wxUSE_LISTBOX=yes
9206 DEFAULT_wxUSE_LISTCTRL=yes
9207 DEFAULT_wxUSE_NOTEBOOK=yes
9208 DEFAULT_wxUSE_RADIOBOX=yes
9209 DEFAULT_wxUSE_RADIOBTN=yes
9210 DEFAULT_wxUSE_SASH=yes
9211 DEFAULT_wxUSE_SCROLLBAR=yes
9212 DEFAULT_wxUSE_SEARCHCTRL=yes
9213 DEFAULT_wxUSE_SLIDER=yes
9214 DEFAULT_wxUSE_SPINBTN=yes
9215 DEFAULT_wxUSE_SPINCTRL=yes
9216 DEFAULT_wxUSE_SPLITTER=yes
9217 DEFAULT_wxUSE_STATBMP=yes
9218 DEFAULT_wxUSE_STATBOX=yes
9219 DEFAULT_wxUSE_STATLINE=yes
9220 DEFAULT_wxUSE_STATUSBAR=yes
9221 DEFAULT_wxUSE_TAB_DIALOG=yes
9222 DEFAULT_wxUSE_TOGGLEBTN=yes
9223 DEFAULT_wxUSE_TOOLBAR=yes
9224 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9225 DEFAULT_wxUSE_TOOLTIPS=yes
9226 DEFAULT_wxUSE_TREEBOOK=yes
9227 DEFAULT_wxUSE_TOOLBOOK=yes
9228 DEFAULT_wxUSE_TREECTRL=yes
9229 DEFAULT_wxUSE_POPUPWIN=yes
9230 DEFAULT_wxUSE_TIPWINDOW=yes
9231 elif test "$wxUSE_CONTROLS" = "no"; then
9232 DEFAULT_wxUSE_ACCEL=no
9233 DEFAULT_wxUSE_ANIMATIONCTRL=no
9234 DEFAULT_wxUSE_BMPBUTTON=no
9235 DEFAULT_wxUSE_BUTTON=no
9236 DEFAULT_wxUSE_CALCTRL=no
9237 DEFAULT_wxUSE_CARET=no
9238 DEFAULT_wxUSE_COLLPANE=no
9239 DEFAULT_wxUSE_COMBOBOX=no
9240 DEFAULT_wxUSE_CHECKBOX=no
9241 DEFAULT_wxUSE_CHECKLISTBOX=no
9242 DEFAULT_wxUSE_CHOICE=no
9243 DEFAULT_wxUSE_CHOICEBOOK=no
9244 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_DATEPICKCTRL=no
9247 DEFAULT_wxUSE_DISPLAY=no
9248 DEFAULT_wxUSE_DETECT_SM=no
9249 DEFAULT_wxUSE_DIRPICKERCTRL=no
9250 DEFAULT_wxUSE_FILECTRL=no
9251 DEFAULT_wxUSE_FILEPICKERCTRL=no
9252 DEFAULT_wxUSE_FONTPICKERCTRL=no
9253 DEFAULT_wxUSE_GAUGE=no
9254 DEFAULT_wxUSE_GRID=no
9255 DEFAULT_wxUSE_HYPERLINKCTRL=no
9256 DEFAULT_wxUSE_DATAVIEWCTRL=no
9257 DEFAULT_wxUSE_IMAGLIST=no
9258 DEFAULT_wxUSE_LISTBOOK=no
9259 DEFAULT_wxUSE_LISTBOX=no
9260 DEFAULT_wxUSE_LISTCTRL=no
9261 DEFAULT_wxUSE_NOTEBOOK=no
9262 DEFAULT_wxUSE_RADIOBOX=no
9263 DEFAULT_wxUSE_RADIOBTN=no
9264 DEFAULT_wxUSE_SASH=no
9265 DEFAULT_wxUSE_SCROLLBAR=no
9266 DEFAULT_wxUSE_SEARCHCTRL=no
9267 DEFAULT_wxUSE_SLIDER=no
9268 DEFAULT_wxUSE_SPINBTN=no
9269 DEFAULT_wxUSE_SPINCTRL=no
9270 DEFAULT_wxUSE_SPLITTER=no
9271 DEFAULT_wxUSE_STATBMP=no
9272 DEFAULT_wxUSE_STATBOX=no
9273 DEFAULT_wxUSE_STATLINE=no
9274 DEFAULT_wxUSE_STATUSBAR=no
9275 DEFAULT_wxUSE_TAB_DIALOG=no
9276 DEFAULT_wxUSE_TOGGLEBTN=no
9277 DEFAULT_wxUSE_TOOLBAR=no
9278 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9279 DEFAULT_wxUSE_TOOLTIPS=no
9280 DEFAULT_wxUSE_TREEBOOK=no
9281 DEFAULT_wxUSE_TOOLBOOK=no
9282 DEFAULT_wxUSE_TREECTRL=no
9283 DEFAULT_wxUSE_POPUPWIN=no
9284 DEFAULT_wxUSE_TIPWINDOW=no
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9300 # Check whether --enable-accel was given.
9301 if test "${enable_accel+set}" = set; then
9302 enableval=$enable_accel;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9306 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9311 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9316 eval "$wx_cv_use_accel"
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_ACCEL = yes; then
9328 { echo "$as_me:$LINENO: result
: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9343 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9344 # Check whether --enable-animatectrl was given.
9345 if test "${enable_animatectrl+set}" = set; then
9346 enableval=$enable_animatectrl;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9350 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9360 eval "$wx_cv_use_animatectrl"
9362 if test x
"$enablestring" = xdisable
; then
9363 if test $wxUSE_ANIMATIONCTRL = yes; then
9369 result
=$wxUSE_ANIMATIONCTRL
9372 { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9377 defaultval
=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x
"$enablestring" = xdisable
; then
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9388 # Check whether --enable-button was given.
9389 if test "${enable_button+set}" = set; then
9390 enableval
=$enable_button;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_button
='wxUSE_BUTTON=yes'
9394 wx_cv_use_button
='wxUSE_BUTTON=no'
9399 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9404 eval "$wx_cv_use_button"
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_BUTTON = yes; then
9413 result=$wxUSE_BUTTON
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9432 # Check whether --enable-bmpbutton was given.
9433 if test "${enable_bmpbutton+set}" = set; then
9434 enableval=$enable_bmpbutton;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9438 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9448 eval "$wx_cv_use_bmpbutton"
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_BMPBUTTON = yes; then
9457 result=$wxUSE_BMPBUTTON
9460 { echo "$as_me:$LINENO: result
: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9465 defaultval=$wxUSE_ALL_FEATURES
9466 if test -z "$defaultval"; then
9467 if test x"$enablestring" = xdisable; then
9474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9475 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9476 # Check whether --enable-bmpcombobox was given.
9477 if test "${enable_bmpcombobox+set}" = set; then
9478 enableval=$enable_bmpcombobox;
9479 if test "$enableval" = yes; then
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9482 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9492 eval "$wx_cv_use_bmpcombobox"
9494 if test x
"$enablestring" = xdisable
; then
9495 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9501 result
=$wxUSE_BITMAPCOMBOBOX
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9509 defaultval
=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x
"$enablestring" = xdisable
; then
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9520 # Check whether --enable-calendar was given.
9521 if test "${enable_calendar+set}" = set; then
9522 enableval
=$enable_calendar;
9523 if test "$enableval" = yes; then
9524 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9526 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9531 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9536 eval "$wx_cv_use_calendar"
9538 if test x"$enablestring" = xdisable; then
9539 if test $wxUSE_CALCTRL = yes; then
9545 result=$wxUSE_CALCTRL
9548 { echo "$as_me:$LINENO: result: $result" >&5
9549 echo "${ECHO_T}$result" >&6; }
9553 defaultval=$wxUSE_ALL_FEATURES
9554 if test -z "$defaultval"; then
9555 if test x"$enablestring" = xdisable; then
9562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9563 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9564 # Check whether --enable-caret was given.
9565 if test "${enable_caret+set}" = set; then
9566 enableval=$enable_caret;
9567 if test "$enableval" = yes; then
9568 wx_cv_use_caret='wxUSE_CARET
=yes'
9570 wx_cv_use_caret='wxUSE_CARET
=no
'
9575 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9580 eval "$wx_cv_use_caret"
9582 if test x"$enablestring" = xdisable; then
9583 if test $wxUSE_CARET = yes; then
9592 { echo "$as_me:$LINENO: result
: $result" >&5
9593 echo "${ECHO_T}$result" >&6; }
9597 defaultval=$wxUSE_ALL_FEATURES
9598 if test -z "$defaultval"; then
9599 if test x"$enablestring" = xdisable; then
9606 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9607 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9608 # Check whether --enable-checkbox was given.
9609 if test "${enable_checkbox+set}" = set; then
9610 enableval=$enable_checkbox;
9611 if test "$enableval" = yes; then
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9614 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9624 eval "$wx_cv_use_checkbox"
9626 if test x
"$enablestring" = xdisable
; then
9627 if test $wxUSE_CHECKBOX = yes; then
9633 result
=$wxUSE_CHECKBOX
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9641 defaultval
=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x
"$enablestring" = xdisable
; then
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9652 # Check whether --enable-checklst was given.
9653 if test "${enable_checklst+set}" = set; then
9654 enableval
=$enable_checklst;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9658 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9663 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9668 eval "$wx_cv_use_checklst"
9670 if test x"$enablestring" = xdisable; then
9671 if test $wxUSE_CHECKLST = yes; then
9677 result=$wxUSE_CHECKLST
9680 { echo "$as_me:$LINENO: result: $result" >&5
9681 echo "${ECHO_T}$result" >&6; }
9685 defaultval=$wxUSE_ALL_FEATURES
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9696 # Check whether --enable-choice was given.
9697 if test "${enable_choice+set}" = set; then
9698 enableval=$enable_choice;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9702 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9707 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9712 eval "$wx_cv_use_choice"
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CHOICE = yes; then
9721 result=$wxUSE_CHOICE
9724 { echo "$as_me:$LINENO: result
: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9738 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9739 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9740 # Check whether --enable-choicebook was given.
9741 if test "${enable_choicebook+set}" = set; then
9742 enableval=$enable_choicebook;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9746 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9756 eval "$wx_cv_use_choicebook"
9758 if test x
"$enablestring" = xdisable
; then
9759 if test $wxUSE_CHOICEBOOK = yes; then
9765 result
=$wxUSE_CHOICEBOOK
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9773 defaultval
=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x
"$enablestring" = xdisable
; then
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9784 # Check whether --enable-collpane was given.
9785 if test "${enable_collpane+set}" = set; then
9786 enableval
=$enable_collpane;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
9790 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
9795 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9800 eval "$wx_cv_use_collpane"
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_COLLPANE = yes; then
9809 result=$wxUSE_COLLPANE
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9828 # Check whether --enable-colourpicker was given.
9829 if test "${enable_colourpicker+set}" = set; then
9830 enableval=$enable_colourpicker;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
9834 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9844 eval "$wx_cv_use_colourpicker"
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_COLOURPICKERCTRL = yes; then
9853 result=$wxUSE_COLOURPICKERCTRL
9856 { echo "$as_me:$LINENO: result
: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
9871 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
9872 # Check whether --enable-combobox was given.
9873 if test "${enable_combobox+set}" = set; then
9874 enableval=$enable_combobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9878 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9888 eval "$wx_cv_use_combobox"
9890 if test x
"$enablestring" = xdisable
; then
9891 if test $wxUSE_COMBOBOX = yes; then
9897 result
=$wxUSE_COMBOBOX
9900 { echo "$as_me:$LINENO: result: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9905 defaultval
=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x
"$enablestring" = xdisable
; then
9914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9916 # Check whether --enable-comboctrl was given.
9917 if test "${enable_comboctrl+set}" = set; then
9918 enableval
=$enable_comboctrl;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
9922 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
9927 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9932 eval "$wx_cv_use_comboctrl"
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_COMBOCTRL = yes; then
9941 result=$wxUSE_COMBOCTRL
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9960 # Check whether --enable-datepick was given.
9961 if test "${enable_datepick+set}" = set; then
9962 enableval=$enable_datepick;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
9966 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9976 eval "$wx_cv_use_datepick"
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_DATEPICKCTRL = yes; then
9985 result=$wxUSE_DATEPICKCTRL
9988 { echo "$as_me:$LINENO: result
: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
10002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10003 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10004 # Check whether --enable-dirpicker was given.
10005 if test "${enable_dirpicker+set}" = set; then
10006 enableval=$enable_dirpicker;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10010 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10020 eval "$wx_cv_use_dirpicker"
10022 if test x
"$enablestring" = xdisable
; then
10023 if test $wxUSE_DIRPICKERCTRL = yes; then
10029 result
=$wxUSE_DIRPICKERCTRL
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10037 defaultval
=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x
"$enablestring" = xdisable
; then
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10048 # Check whether --enable-display was given.
10049 if test "${enable_display+set}" = set; then
10050 enableval
=$enable_display;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10054 wx_cv_use_display
='wxUSE_DISPLAY=no'
10059 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10064 eval "$wx_cv_use_display"
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_DISPLAY = yes; then
10073 result=$wxUSE_DISPLAY
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10092 # Check whether --enable-detect_sm was given.
10093 if test "${enable_detect_sm+set}" = set; then
10094 enableval=$enable_detect_sm;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10098 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10108 eval "$wx_cv_use_detect_sm"
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_DETECT_SM = yes; then
10117 result=$wxUSE_DETECT_SM
10120 { echo "$as_me:$LINENO: result
: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10135 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10136 # Check whether --enable-editablebox was given.
10137 if test "${enable_editablebox+set}" = set; then
10138 enableval=$enable_editablebox;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10142 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10152 eval "$wx_cv_use_editablebox"
10154 if test x
"$enablestring" = xdisable
; then
10155 if test $wxUSE_EDITABLELISTBOX = yes; then
10161 result
=$wxUSE_EDITABLELISTBOX
10164 { echo "$as_me:$LINENO: result: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10169 defaultval
=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x
"$enablestring" = xdisable
; then
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10180 # Check whether --enable-filepicker was given.
10181 if test "${enable_filepicker+set}" = set; then
10182 enableval
=$enable_filepicker;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10186 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10191 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10196 eval "$wx_cv_use_filepicker"
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_FILEPICKERCTRL = yes; then
10205 result=$wxUSE_FILEPICKERCTRL
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10224 # Check whether --enable-filectrl was given.
10225 if test "${enable_filectrl+set}" = set; then
10226 enableval=$enable_filectrl;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10230 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10235 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10240 eval "$wx_cv_use_filectrl"
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_FILECTRL = yes; then
10249 result=$wxUSE_FILECTRL
10252 { echo "$as_me:$LINENO: result
: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10267 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10268 # Check whether --enable-fontpicker was given.
10269 if test "${enable_fontpicker+set}" = set; then
10270 enableval=$enable_fontpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10274 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10284 eval "$wx_cv_use_fontpicker"
10286 if test x
"$enablestring" = xdisable
; then
10287 if test $wxUSE_FONTPICKERCTRL = yes; then
10293 result
=$wxUSE_FONTPICKERCTRL
10296 { echo "$as_me:$LINENO: result: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10301 defaultval
=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x
"$enablestring" = xdisable
; then
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10312 # Check whether --enable-gauge was given.
10313 if test "${enable_gauge+set}" = set; then
10314 enableval
=$enable_gauge;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10318 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10323 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10328 eval "$wx_cv_use_gauge"
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_GAUGE = yes; then
10337 result=$wxUSE_GAUGE
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10356 # Check whether --enable-grid was given.
10357 if test "${enable_grid+set}" = set; then
10358 enableval=$enable_grid;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_grid='wxUSE_GRID
=yes'
10362 wx_cv_use_grid='wxUSE_GRID
=no
'
10367 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10372 eval "$wx_cv_use_grid"
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_GRID = yes; then
10384 { echo "$as_me:$LINENO: result
: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10416 eval "$wx_cv_use_dataviewctrl"
10418 if test x
"$enablestring" = xdisable
; then
10419 if test $wxUSE_DATAVIEWCTRL = yes; then
10425 result
=$wxUSE_DATAVIEWCTRL
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10433 defaultval
=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x
"$enablestring" = xdisable
; then
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10444 # Check whether --enable-hyperlink was given.
10445 if test "${enable_hyperlink+set}" = set; then
10446 enableval
=$enable_hyperlink;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10450 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10455 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10460 eval "$wx_cv_use_hyperlink"
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_HYPERLINKCTRL = yes; then
10469 result=$wxUSE_HYPERLINKCTRL
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10488 # Check whether --enable-imaglist was given.
10489 if test "${enable_imaglist+set}" = set; then
10490 enableval=$enable_imaglist;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10494 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10504 eval "$wx_cv_use_imaglist"
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_IMAGLIST = yes; then
10513 result=$wxUSE_IMAGLIST
10516 { echo "$as_me:$LINENO: result
: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10530 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10531 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10532 # Check whether --enable-listbook was given.
10533 if test "${enable_listbook+set}" = set; then
10534 enableval=$enable_listbook;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10538 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10548 eval "$wx_cv_use_listbook"
10550 if test x
"$enablestring" = xdisable
; then
10551 if test $wxUSE_LISTBOOK = yes; then
10557 result
=$wxUSE_LISTBOOK
10560 { echo "$as_me:$LINENO: result: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10565 defaultval
=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x
"$enablestring" = xdisable
; then
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10576 # Check whether --enable-listbox was given.
10577 if test "${enable_listbox+set}" = set; then
10578 enableval
=$enable_listbox;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10582 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10587 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10592 eval "$wx_cv_use_listbox"
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_LISTBOX = yes; then
10601 result=$wxUSE_LISTBOX
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10620 # Check whether --enable-listctrl was given.
10621 if test "${enable_listctrl+set}" = set; then
10622 enableval=$enable_listctrl;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10626 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10636 eval "$wx_cv_use_listctrl"
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_LISTCTRL = yes; then
10645 result=$wxUSE_LISTCTRL
10648 { echo "$as_me:$LINENO: result
: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10662 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10663 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10664 # Check whether --enable-notebook was given.
10665 if test "${enable_notebook+set}" = set; then
10666 enableval=$enable_notebook;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10670 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10680 eval "$wx_cv_use_notebook"
10682 if test x
"$enablestring" = xdisable
; then
10683 if test $wxUSE_NOTEBOOK = yes; then
10689 result
=$wxUSE_NOTEBOOK
10692 { echo "$as_me:$LINENO: result: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10697 defaultval
=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x
"$enablestring" = xdisable
; then
10706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10708 # Check whether --enable-notifmsg was given.
10709 if test "${enable_notifmsg+set}" = set; then
10710 enableval
=$enable_notifmsg;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
10714 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
10719 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10724 eval "$wx_cv_use_notifmsg"
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10733 result=$wxUSE_NOTIFICATION_MESSAGE
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10752 # Check whether --enable-odcombobox was given.
10753 if test "${enable_odcombobox+set}" = set; then
10754 enableval=$enable_odcombobox;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
10758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10768 eval "$wx_cv_use_odcombobox"
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_ODCOMBOBOX = yes; then
10777 result=$wxUSE_ODCOMBOBOX
10780 { echo "$as_me:$LINENO: result
: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10794 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
10795 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
10796 # Check whether --enable-radiobox was given.
10797 if test "${enable_radiobox+set}" = set; then
10798 enableval=$enable_radiobox;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10802 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10812 eval "$wx_cv_use_radiobox"
10814 if test x
"$enablestring" = xdisable
; then
10815 if test $wxUSE_RADIOBOX = yes; then
10821 result
=$wxUSE_RADIOBOX
10824 { echo "$as_me:$LINENO: result: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10829 defaultval
=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x
"$enablestring" = xdisable
; then
10838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10839 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10840 # Check whether --enable-radiobtn was given.
10841 if test "${enable_radiobtn+set}" = set; then
10842 enableval
=$enable_radiobtn;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
10846 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
10851 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10856 eval "$wx_cv_use_radiobtn"
10858 if test x"$enablestring" = xdisable; then
10859 if test $wxUSE_RADIOBTN = yes; then
10865 result=$wxUSE_RADIOBTN
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10873 defaultval=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x"$enablestring" = xdisable; then
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10884 # Check whether --enable-sash was given.
10885 if test "${enable_sash+set}" = set; then
10886 enableval=$enable_sash;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_sash='wxUSE_SASH
=yes'
10890 wx_cv_use_sash='wxUSE_SASH
=no
'
10895 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10900 eval "$wx_cv_use_sash"
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_SASH = yes; then
10912 { echo "$as_me:$LINENO: result
: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10926 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
10927 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
10928 # Check whether --enable-scrollbar was given.
10929 if test "${enable_scrollbar+set}" = set; then
10930 enableval=$enable_scrollbar;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10934 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10944 eval "$wx_cv_use_scrollbar"
10946 if test x
"$enablestring" = xdisable
; then
10947 if test $wxUSE_SCROLLBAR = yes; then
10953 result
=$wxUSE_SCROLLBAR
10956 { echo "$as_me:$LINENO: result: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10961 defaultval
=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x
"$enablestring" = xdisable
; then
10970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10972 # Check whether --enable-searchctrl was given.
10973 if test "${enable_searchctrl+set}" = set; then
10974 enableval
=$enable_searchctrl;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
10978 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
10983 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10988 eval "$wx_cv_use_searchctrl"
10990 if test x"$enablestring" = xdisable; then
10991 if test $wxUSE_SEARCHCTRL = yes; then
10997 result=$wxUSE_SEARCHCTRL
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11016 # Check whether --enable-slider was given.
11017 if test "${enable_slider+set}" = set; then
11018 enableval=$enable_slider;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11022 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11027 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11032 eval "$wx_cv_use_slider"
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_SLIDER = yes; then
11041 result=$wxUSE_SLIDER
11044 { echo "$as_me:$LINENO: result
: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11059 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11060 # Check whether --enable-spinbtn was given.
11061 if test "${enable_spinbtn+set}" = set; then
11062 enableval=$enable_spinbtn;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11066 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11076 eval "$wx_cv_use_spinbtn"
11078 if test x
"$enablestring" = xdisable
; then
11079 if test $wxUSE_SPINBTN = yes; then
11085 result
=$wxUSE_SPINBTN
11088 { echo "$as_me:$LINENO: result: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11093 defaultval
=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x
"$enablestring" = xdisable
; then
11102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11104 # Check whether --enable-spinctrl was given.
11105 if test "${enable_spinctrl+set}" = set; then
11106 enableval
=$enable_spinctrl;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11110 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11115 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11120 eval "$wx_cv_use_spinctrl"
11122 if test x"$enablestring" = xdisable; then
11123 if test $wxUSE_SPINCTRL = yes; then
11129 result=$wxUSE_SPINCTRL
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11148 # Check whether --enable-splitter was given.
11149 if test "${enable_splitter+set}" = set; then
11150 enableval=$enable_splitter;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11154 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11159 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11164 eval "$wx_cv_use_splitter"
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_SPLITTER = yes; then
11173 result=$wxUSE_SPLITTER
11176 { echo "$as_me:$LINENO: result
: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11191 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11192 # Check whether --enable-statbmp was given.
11193 if test "${enable_statbmp+set}" = set; then
11194 enableval=$enable_statbmp;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11198 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11203 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11208 eval "$wx_cv_use_statbmp"
11210 if test x
"$enablestring" = xdisable
; then
11211 if test $wxUSE_STATBMP = yes; then
11217 result
=$wxUSE_STATBMP
11220 { echo "$as_me:$LINENO: result: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11225 defaultval
=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x
"$enablestring" = xdisable
; then
11234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11235 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11236 # Check whether --enable-statbox was given.
11237 if test "${enable_statbox+set}" = set; then
11238 enableval
=$enable_statbox;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11242 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11247 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11252 eval "$wx_cv_use_statbox"
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_STATBOX = yes; then
11261 result=$wxUSE_STATBOX
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11280 # Check whether --enable-statline was given.
11281 if test "${enable_statline+set}" = set; then
11282 enableval=$enable_statline;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11286 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11291 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11296 eval "$wx_cv_use_statline"
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_STATLINE = yes; then
11305 result=$wxUSE_STATLINE
11308 { echo "$as_me:$LINENO: result
: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11323 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11324 # Check whether --enable-stattext was given.
11325 if test "${enable_stattext+set}" = set; then
11326 enableval=$enable_stattext;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11330 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11335 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11340 eval "$wx_cv_use_stattext"
11342 if test x
"$enablestring" = xdisable
; then
11343 if test $wxUSE_STATTEXT = yes; then
11349 result
=$wxUSE_STATTEXT
11352 { echo "$as_me:$LINENO: result: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11357 defaultval
=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x
"$enablestring" = xdisable
; then
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11368 # Check whether --enable-statusbar was given.
11369 if test "${enable_statusbar+set}" = set; then
11370 enableval
=$enable_statusbar;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11374 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11379 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11384 eval "$wx_cv_use_statusbar"
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_STATUSBAR = yes; then
11393 result=$wxUSE_STATUSBAR
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11412 # Check whether --enable-tabdialog was given.
11413 if test "${enable_tabdialog+set}" = set; then
11414 enableval=$enable_tabdialog;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11418 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11428 eval "$wx_cv_use_tabdialog"
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_TAB_DIALOG = yes; then
11437 result=$wxUSE_TAB_DIALOG
11440 { echo "$as_me:$LINENO: result
: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11454 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11455 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11456 # Check whether --enable-taskbaricon was given.
11457 if test "${enable_taskbaricon+set}" = set; then
11458 enableval=$enable_taskbaricon;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11462 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11472 eval "$wx_cv_use_taskbaricon"
11474 if test x
"$enablestring" = xdisable
; then
11475 if test $wxUSE_TASKBARICON = yes; then
11481 result
=$wxUSE_TASKBARICON
11484 { echo "$as_me:$LINENO: result: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11489 defaultval
=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x
"$enablestring" = xdisable
; then
11498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11499 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11500 # Check whether --enable-textctrl was given.
11501 if test "${enable_textctrl+set}" = set; then
11502 enableval
=$enable_textctrl;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11506 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11511 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11516 eval "$wx_cv_use_textctrl"
11518 if test x"$enablestring" = xdisable; then
11519 if test $wxUSE_TEXTCTRL = yes; then
11525 result=$wxUSE_TEXTCTRL
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11533 defaultval=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x"$enablestring" = xdisable; then
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11544 # Check whether --enable-togglebtn was given.
11545 if test "${enable_togglebtn+set}" = set; then
11546 enableval=$enable_togglebtn;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11550 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11560 eval "$wx_cv_use_togglebtn"
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_TOGGLEBTN = yes; then
11569 result=$wxUSE_TOGGLEBTN
11572 { echo "$as_me:$LINENO: result
: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11587 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11588 # Check whether --enable-toolbar was given.
11589 if test "${enable_toolbar+set}" = set; then
11590 enableval=$enable_toolbar;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11594 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11604 eval "$wx_cv_use_toolbar"
11606 if test x
"$enablestring" = xdisable
; then
11607 if test $wxUSE_TOOLBAR = yes; then
11613 result
=$wxUSE_TOOLBAR
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11621 defaultval
=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x
"$enablestring" = xdisable
; then
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11632 # Check whether --enable-tbarnative was given.
11633 if test "${enable_tbarnative+set}" = set; then
11634 enableval
=$enable_tbarnative;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11638 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11643 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11648 eval "$wx_cv_use_tbarnative"
11650 if test x"$enablestring" = xdisable; then
11651 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11657 result=$wxUSE_TOOLBAR_NATIVE
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11665 defaultval=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x"$enablestring" = xdisable; then
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11676 # Check whether --enable-treebook was given.
11677 if test "${enable_treebook+set}" = set; then
11678 enableval=$enable_treebook;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11682 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11687 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11692 eval "$wx_cv_use_treebook"
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_TREEBOOK = yes; then
11701 result=$wxUSE_TREEBOOK
11704 { echo "$as_me:$LINENO: result
: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11718 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
11719 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
11720 # Check whether --enable-toolbook was given.
11721 if test "${enable_toolbook+set}" = set; then
11722 enableval=$enable_toolbook;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11726 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11736 eval "$wx_cv_use_toolbook"
11738 if test x
"$enablestring" = xdisable
; then
11739 if test $wxUSE_TOOLBOOK = yes; then
11745 result
=$wxUSE_TOOLBOOK
11748 { echo "$as_me:$LINENO: result: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11753 defaultval
=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x
"$enablestring" = xdisable
; then
11762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11763 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11764 # Check whether --enable-treectrl was given.
11765 if test "${enable_treectrl+set}" = set; then
11766 enableval
=$enable_treectrl;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
11770 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
11775 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11780 eval "$wx_cv_use_treectrl"
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_TREECTRL = yes; then
11789 result=$wxUSE_TREECTRL
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11808 # Check whether --enable-tipwindow was given.
11809 if test "${enable_tipwindow+set}" = set; then
11810 enableval=$enable_tipwindow;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11814 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11824 eval "$wx_cv_use_tipwindow"
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_TIPWINDOW = yes; then
11833 result=$wxUSE_TIPWINDOW
11836 { echo "$as_me:$LINENO: result
: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11850 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11851 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11852 # Check whether --enable-popupwin was given.
11853 if test "${enable_popupwin+set}" = set; then
11854 enableval=$enable_popupwin;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11858 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11868 eval "$wx_cv_use_popupwin"
11870 if test x
"$enablestring" = xdisable
; then
11871 if test $wxUSE_POPUPWIN = yes; then
11877 result
=$wxUSE_POPUPWIN
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11887 defaultval
=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x
"$enablestring" = xdisable
; then
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11898 # Check whether --enable-commondlg was given.
11899 if test "${enable_commondlg+set}" = set; then
11900 enableval
=$enable_commondlg;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
11904 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
11909 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11914 eval "$wx_cv_use_commondlg"
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_COMMONDLGS = yes; then
11923 result=$wxUSE_COMMONDLGS
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11942 # Check whether --enable-aboutdlg was given.
11943 if test "${enable_aboutdlg+set}" = set; then
11944 enableval=$enable_aboutdlg;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
11948 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11958 eval "$wx_cv_use_aboutdlg"
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_ABOUTDLG = yes; then
11967 result=$wxUSE_ABOUTDLG
11970 { echo "$as_me:$LINENO: result
: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11984 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
11985 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
11986 # Check whether --enable-choicedlg was given.
11987 if test "${enable_choicedlg+set}" = set; then
11988 enableval=$enable_choicedlg;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11992 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12002 eval "$wx_cv_use_choicedlg"
12004 if test x
"$enablestring" = xdisable
; then
12005 if test $wxUSE_CHOICEDLG = yes; then
12011 result
=$wxUSE_CHOICEDLG
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12019 defaultval
=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x
"$enablestring" = xdisable
; then
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12030 # Check whether --enable-coldlg was given.
12031 if test "${enable_coldlg+set}" = set; then
12032 enableval
=$enable_coldlg;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12036 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12041 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12046 eval "$wx_cv_use_coldlg"
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_COLOURDLG = yes; then
12055 result=$wxUSE_COLOURDLG
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12074 # Check whether --enable-filedlg was given.
12075 if test "${enable_filedlg+set}" = set; then
12076 enableval=$enable_filedlg;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12080 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12085 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12090 eval "$wx_cv_use_filedlg"
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_FILEDLG = yes; then
12099 result=$wxUSE_FILEDLG
12102 { echo "$as_me:$LINENO: result
: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12116 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12117 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12118 # Check whether --enable-finddlg was given.
12119 if test "${enable_finddlg+set}" = set; then
12120 enableval=$enable_finddlg;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12124 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12134 eval "$wx_cv_use_finddlg"
12136 if test x
"$enablestring" = xdisable
; then
12137 if test $wxUSE_FINDREPLDLG = yes; then
12143 result
=$wxUSE_FINDREPLDLG
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12151 defaultval
=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x
"$enablestring" = xdisable
; then
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12162 # Check whether --enable-fontdlg was given.
12163 if test "${enable_fontdlg+set}" = set; then
12164 enableval
=$enable_fontdlg;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12168 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12173 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12178 eval "$wx_cv_use_fontdlg"
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_FONTDLG = yes; then
12187 result=$wxUSE_FONTDLG
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12206 # Check whether --enable-dirdlg was given.
12207 if test "${enable_dirdlg+set}" = set; then
12208 enableval=$enable_dirdlg;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12212 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12222 eval "$wx_cv_use_dirdlg"
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_DIRDLG = yes; then
12231 result=$wxUSE_DIRDLG
12234 { echo "$as_me:$LINENO: result
: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12248 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12249 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12250 # Check whether --enable-msgdlg was given.
12251 if test "${enable_msgdlg+set}" = set; then
12252 enableval=$enable_msgdlg;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12256 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12266 eval "$wx_cv_use_msgdlg"
12268 if test x
"$enablestring" = xdisable
; then
12269 if test $wxUSE_MSGDLG = yes; then
12275 result
=$wxUSE_MSGDLG
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval
=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x
"$enablestring" = xdisable
; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12294 # Check whether --enable-numberdlg was given.
12295 if test "${enable_numberdlg+set}" = set; then
12296 enableval
=$enable_numberdlg;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12300 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12305 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12310 eval "$wx_cv_use_numberdlg"
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_NUMBERDLG = yes; then
12319 result=$wxUSE_NUMBERDLG
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12338 # Check whether --enable-splash was given.
12339 if test "${enable_splash+set}" = set; then
12340 enableval=$enable_splash;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12344 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12349 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12354 eval "$wx_cv_use_splash"
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_SPLASH = yes; then
12363 result=$wxUSE_SPLASH
12366 { echo "$as_me:$LINENO: result
: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12380 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12381 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12382 # Check whether --enable-textdlg was given.
12383 if test "${enable_textdlg+set}" = set; then
12384 enableval=$enable_textdlg;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12388 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12398 eval "$wx_cv_use_textdlg"
12400 if test x
"$enablestring" = xdisable
; then
12401 if test $wxUSE_TEXTDLG = yes; then
12407 result
=$wxUSE_TEXTDLG
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12415 defaultval
=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x
"$enablestring" = xdisable
; then
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12426 # Check whether --enable-tipdlg was given.
12427 if test "${enable_tipdlg+set}" = set; then
12428 enableval
=$enable_tipdlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12432 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12437 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12442 eval "$wx_cv_use_tipdlg"
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_STARTUP_TIPS = yes; then
12451 result=$wxUSE_STARTUP_TIPS
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-progressdlg was given.
12471 if test "${enable_progressdlg+set}" = set; then
12472 enableval=$enable_progressdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12476 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12486 eval "$wx_cv_use_progressdlg"
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_PROGRESSDLG = yes; then
12495 result=$wxUSE_PROGRESSDLG
12498 { echo "$as_me:$LINENO: result
: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12513 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12514 # Check whether --enable-wizarddlg was given.
12515 if test "${enable_wizarddlg+set}" = set; then
12516 enableval=$enable_wizarddlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12520 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12530 eval "$wx_cv_use_wizarddlg"
12532 if test x
"$enablestring" = xdisable
; then
12533 if test $wxUSE_WIZARDDLG = yes; then
12539 result
=$wxUSE_WIZARDDLG
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12549 defaultval
=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x
"$enablestring" = xdisable
; then
12558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12559 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12560 # Check whether --enable-menus was given.
12561 if test "${enable_menus+set}" = set; then
12562 enableval
=$enable_menus;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_menus
='wxUSE_MENUS=yes'
12566 wx_cv_use_menus
='wxUSE_MENUS=no'
12571 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12576 eval "$wx_cv_use_menus"
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_MENUS = yes; then
12585 result=$wxUSE_MENUS
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12593 defaultval=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x"$enablestring" = xdisable; then
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12604 # Check whether --enable-miniframe was given.
12605 if test "${enable_miniframe+set}" = set; then
12606 enableval=$enable_miniframe;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12610 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12620 eval "$wx_cv_use_miniframe"
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_MINIFRAME = yes; then
12629 result=$wxUSE_MINIFRAME
12632 { echo "$as_me:$LINENO: result
: $result" >&5
12633 echo "${ECHO_T}$result" >&6; }
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12647 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12648 # Check whether --enable-tooltips was given.
12649 if test "${enable_tooltips+set}" = set; then
12650 enableval=$enable_tooltips;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12654 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12664 eval "$wx_cv_use_tooltips"
12666 if test x
"$enablestring" = xdisable
; then
12667 if test $wxUSE_TOOLTIPS = yes; then
12673 result
=$wxUSE_TOOLTIPS
12676 { echo "$as_me:$LINENO: result: $result" >&5
12677 echo "${ECHO_T}$result" >&6; }
12681 defaultval
=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x
"$enablestring" = xdisable
; then
12690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12691 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12692 # Check whether --enable-splines was given.
12693 if test "${enable_splines+set}" = set; then
12694 enableval
=$enable_splines;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12698 wx_cv_use_splines
='wxUSE_SPLINES=no'
12703 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12708 eval "$wx_cv_use_splines"
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_SPLINES = yes; then
12717 result=$wxUSE_SPLINES
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12736 # Check whether --enable-mousewheel was given.
12737 if test "${enable_mousewheel+set}" = set; then
12738 enableval=$enable_mousewheel;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
12742 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12752 eval "$wx_cv_use_mousewheel"
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_MOUSEWHEEL = yes; then
12761 result=$wxUSE_MOUSEWHEEL
12764 { echo "$as_me:$LINENO: result
: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12778 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
12779 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
12780 # Check whether --enable-validators was given.
12781 if test "${enable_validators+set}" = set; then
12782 enableval=$enable_validators;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12786 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12791 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12796 eval "$wx_cv_use_validators"
12798 if test x
"$enablestring" = xdisable
; then
12799 if test $wxUSE_VALIDATORS = yes; then
12805 result
=$wxUSE_VALIDATORS
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12813 defaultval
=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x
"$enablestring" = xdisable
; then
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12824 # Check whether --enable-busyinfo was given.
12825 if test "${enable_busyinfo+set}" = set; then
12826 enableval
=$enable_busyinfo;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
12830 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
12835 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12840 eval "$wx_cv_use_busyinfo"
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_BUSYINFO = yes; then
12849 result=$wxUSE_BUSYINFO
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12868 # Check whether --enable-joystick was given.
12869 if test "${enable_joystick+set}" = set; then
12870 enableval=$enable_joystick;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
12874 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
12879 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12884 eval "$wx_cv_use_joystick"
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_JOYSTICK = yes; then
12893 result=$wxUSE_JOYSTICK
12896 { echo "$as_me:$LINENO: result
: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12910 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
12911 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
12912 # Check whether --enable-metafile was given.
12913 if test "${enable_metafile+set}" = set; then
12914 enableval=$enable_metafile;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12918 wx_cv_use_metafile='wxUSE_METAFILE=no'
12923 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12928 eval "$wx_cv_use_metafile"
12930 if test x
"$enablestring" = xdisable
; then
12931 if test $wxUSE_METAFILE = yes; then
12937 result
=$wxUSE_METAFILE
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12945 defaultval
=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x
"$enablestring" = xdisable
; then
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12956 # Check whether --enable-dragimage was given.
12957 if test "${enable_dragimage+set}" = set; then
12958 enableval
=$enable_dragimage;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
12962 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
12967 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12972 eval "$wx_cv_use_dragimage"
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_DRAGIMAGE = yes; then
12981 result=$wxUSE_DRAGIMAGE
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13000 # Check whether --enable-accessibility was given.
13001 if test "${enable_accessibility+set}" = set; then
13002 enableval=$enable_accessibility;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13006 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13016 eval "$wx_cv_use_accessibility"
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_ACCESSIBILITY = yes; then
13025 result=$wxUSE_ACCESSIBILITY
13028 { echo "$as_me:$LINENO: result
: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13044 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13045 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13046 # Check whether --enable-palette was given.
13047 if test "${enable_palette+set}" = set; then
13048 enableval=$enable_palette;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_palette='wxUSE_PALETTE=yes'
13052 wx_cv_use_palette='wxUSE_PALETTE=no'
13057 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13062 eval "$wx_cv_use_palette"
13064 if test x
"$enablestring" = xdisable
; then
13065 if test $wxUSE_PALETTE = yes; then
13071 result
=$wxUSE_PALETTE
13074 { echo "$as_me:$LINENO: result: $result" >&5
13075 echo "${ECHO_T}$result" >&6; }
13079 defaultval
=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x
"$enablestring" = xdisable
; then
13088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13089 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13090 # Check whether --enable-image was given.
13091 if test "${enable_image+set}" = set; then
13092 enableval
=$enable_image;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_image
='wxUSE_IMAGE=yes'
13096 wx_cv_use_image
='wxUSE_IMAGE=no'
13101 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13106 eval "$wx_cv_use_image"
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_IMAGE = yes; then
13115 result=$wxUSE_IMAGE
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13134 # Check whether --enable-gif was given.
13135 if test "${enable_gif+set}" = set; then
13136 enableval=$enable_gif;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_gif='wxUSE_GIF
=yes'
13140 wx_cv_use_gif='wxUSE_GIF
=no
'
13145 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13150 eval "$wx_cv_use_gif"
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_GIF = yes; then
13162 { echo "$as_me:$LINENO: result
: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13176 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13177 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13178 # Check whether --enable-pcx was given.
13179 if test "${enable_pcx+set}" = set; then
13180 enableval=$enable_pcx;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_pcx='wxUSE_PCX=yes'
13184 wx_cv_use_pcx='wxUSE_PCX=no'
13189 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13194 eval "$wx_cv_use_pcx"
13196 if test x
"$enablestring" = xdisable
; then
13197 if test $wxUSE_PCX = yes; then
13206 { echo "$as_me:$LINENO: result: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13211 defaultval
=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x
"$enablestring" = xdisable
; then
13220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13221 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13222 # Check whether --enable-tga was given.
13223 if test "${enable_tga+set}" = set; then
13224 enableval
=$enable_tga;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_tga
='wxUSE_TGA=yes'
13228 wx_cv_use_tga
='wxUSE_TGA=no'
13233 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13238 eval "$wx_cv_use_tga"
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_TGA = yes; then
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13266 # Check whether --enable-iff was given.
13267 if test "${enable_iff+set}" = set; then
13268 enableval=$enable_iff;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_iff='wxUSE_IFF
=yes'
13272 wx_cv_use_iff='wxUSE_IFF
=no
'
13277 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13282 eval "$wx_cv_use_iff"
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_IFF = yes; then
13294 { echo "$as_me:$LINENO: result
: $result" >&5
13295 echo "${ECHO_T}$result" >&6; }
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13308 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13309 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13310 # Check whether --enable-pnm was given.
13311 if test "${enable_pnm+set}" = set; then
13312 enableval=$enable_pnm;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_pnm='wxUSE_PNM=yes'
13316 wx_cv_use_pnm='wxUSE_PNM=no'
13321 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13326 eval "$wx_cv_use_pnm"
13328 if test x
"$enablestring" = xdisable
; then
13329 if test $wxUSE_PNM = yes; then
13338 { echo "$as_me:$LINENO: result: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13343 defaultval
=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x
"$enablestring" = xdisable
; then
13352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13354 # Check whether --enable-xpm was given.
13355 if test "${enable_xpm+set}" = set; then
13356 enableval
=$enable_xpm;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_xpm
='wxUSE_XPM=yes'
13360 wx_cv_use_xpm
='wxUSE_XPM=no'
13365 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13370 eval "$wx_cv_use_xpm"
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_XPM = yes; then
13382 { echo "$as_me:$LINENO: result: $result" >&5
13383 echo "${ECHO_T}$result" >&6; }
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13398 # Check whether --enable-ico_cur was given.
13399 if test "${enable_ico_cur+set}" = set; then
13400 enableval=$enable_ico_cur;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13404 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13414 eval "$wx_cv_use_ico_cur"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_ICO_CUR = yes; then
13423 result=$wxUSE_ICO_CUR
13426 { echo "$as_me:$LINENO: result
: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13442 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13443 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13444 # Check whether --enable-dccache was given.
13445 if test "${enable_dccache+set}" = set; then
13446 enableval=$enable_dccache;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13450 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13460 eval "$wx_cv_use_dccache"
13462 if test x
"$enablestring" = xdisable
; then
13463 if test $wxUSE_DC_CACHEING = yes; then
13469 result
=$wxUSE_DC_CACHEING
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13477 defaultval
=$wxUSE_ALL_FEATURES
13478 if test -z "$defaultval"; then
13479 if test x
"$enablestring" = xdisable
; then
13486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13487 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13488 # Check whether --enable-ps-in-msw was given.
13489 if test "${enable_ps_in_msw+set}" = set; then
13490 enableval
=$enable_ps_in_msw;
13491 if test "$enableval" = yes; then
13492 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13494 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13499 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13504 eval "$wx_cv_use_ps_in_msw"
13506 if test x"$enablestring" = xdisable; then
13507 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13513 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13516 { echo "$as_me:$LINENO: result: $result" >&5
13517 echo "${ECHO_T}$result" >&6; }
13521 defaultval=$wxUSE_ALL_FEATURES
13522 if test -z "$defaultval"; then
13523 if test x"$enablestring" = xdisable; then
13530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13531 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13532 # Check whether --enable-ownerdrawn was given.
13533 if test "${enable_ownerdrawn+set}" = set; then
13534 enableval=$enable_ownerdrawn;
13535 if test "$enableval" = yes; then
13536 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13538 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13548 eval "$wx_cv_use_ownerdrawn"
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_OWNER_DRAWN = yes; then
13557 result=$wxUSE_OWNER_DRAWN
13560 { echo "$as_me:$LINENO: result
: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13574 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13575 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13576 # Check whether --enable-uxtheme was given.
13577 if test "${enable_uxtheme+set}" = set; then
13578 enableval=$enable_uxtheme;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13582 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13592 eval "$wx_cv_use_uxtheme"
13594 if test x
"$enablestring" = xdisable
; then
13595 if test $wxUSE_UXTHEME = yes; then
13601 result
=$wxUSE_UXTHEME
13604 { echo "$as_me:$LINENO: result: $result" >&5
13605 echo "${ECHO_T}$result" >&6; }
13609 defaultval
=$wxUSE_ALL_FEATURES
13610 if test -z "$defaultval"; then
13611 if test x
"$enablestring" = xdisable
; then
13618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13619 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13620 # Check whether --enable-wxdib was given.
13621 if test "${enable_wxdib+set}" = set; then
13622 enableval
=$enable_wxdib;
13623 if test "$enableval" = yes; then
13624 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13626 wx_cv_use_wxdib
='wxUSE_DIB=no'
13631 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13636 eval "$wx_cv_use_wxdib"
13638 if test x"$enablestring" = xdisable; then
13639 if test $wxUSE_DIB = yes; then
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13655 { echo "$as_me:$LINENO: checking for toolkit" >&5
13656 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13658 # In Wine, we need to default to MSW, not GTK or MOTIF
13659 if test "$wxUSE_WINE" = "yes"; then
13660 DEFAULT_DEFAULT_wxUSE_GTK=0
13661 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13662 DEFAULT_DEFAULT_wxUSE_MSW=1
13665 CXX=${CXX:-wineg++}
13669 if test "$wxUSE_GUI" = "yes"; then
13671 if test "$USE_BEOS" = 1; then
13672 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13673 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13674 { (exit 1); exit 1; }; }
13677 if test "$TOOLKIT_GIVEN" = 1; then
13678 for toolkit in $ALL_TOOLKITS; do
13680 eval "value=\$${var}"
13681 if test "x$value" = "xno"; then
13683 elif test "x$value" != "x"; then
13687 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13688 eval "wx${toolkit}_VERSION=$value"
13692 for toolkit in $ALL_TOOLKITS; do
13693 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13694 eval "wxUSE_$toolkit=\$${var}"
13698 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13699 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13700 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13703 *-pc-os2_emx | *-pc-os2-emx )
13704 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13707 case "$NUM_TOOLKITS" in
13711 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13712 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13713 { (exit 1); exit 1; }; }
13716 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13717 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13718 { (exit 1); exit 1; }; }
13721 # to be removed when --disable-gtk2 isn't needed
13722 if test "x$wxUSE_GTK2" = "xyes"; then
13724 elif test "x$wxUSE_GTK2" = "xno"; then
13728 for toolkit
in $ALL_TOOLKITS; do
13730 eval "value=\$${var}"
13731 if test "$value" = 1; then
13732 toolkit_echo
=`echo $toolkit | tr A-Z a-z`
13733 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13734 echo "${ECHO_T}$toolkit_echo" >&6; }
13738 if test "x$host_alias" != "x"; then
13739 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13740 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13742 { echo "$as_me:$LINENO: result: base only" >&5
13743 echo "${ECHO_T}base only" >&6; }
13748 cat >confcache
<<\_ACEOF
13749 # This file is a shell script that caches the results of configure
13750 # tests run on this system so they can be shared between configure
13751 # scripts and configure runs, see configure's option --config-cache.
13752 # It is not useful on other systems. If it contains results you don't
13753 # want to keep, you may remove or edit it.
13755 # config.status only pays attention to the cache file if you give it
13756 # the --recheck option to rerun configure.
13758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13760 # following values.
13764 # The following way of writing the cache mishandles newlines in values,
13765 # but we know of no workaround that is simple, portable, and efficient.
13766 # So, we kill variables containing newlines.
13767 # Ultrix sh set writes to stderr and can't be redirected directly,
13768 # and sets the high bit in the cache file unless we assign to the vars.
13770 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13771 eval ac_val
=\$
$ac_var
13775 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13779 _
| IFS
| as_nl
) ;; #(
13780 *) $as_unset $ac_var ;;
13786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13787 *${as_nl}ac_space
=\
*)
13788 # `set' does not quote correctly, so add quotes (double-quote
13789 # substitution turns \\\\ into \\, and sed turns \\ into \).
13792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13795 # `set' quotes correctly as required by POSIX, so do not add quotes.
13796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13809 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13810 if test -w "$cache_file"; then
13811 test "x$cache_file" != "x/dev/null" &&
13812 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13813 echo "$as_me: updating cache $cache_file" >&6;}
13814 cat confcache
>$cache_file
13816 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13817 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13827 ac_cpp
='$CPP $CPPFLAGS'
13828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13831 if test -n "$ac_tool_prefix"; then
13832 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13833 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13836 if test "${ac_cv_prog_CC+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 if test -n "$CC"; then
13840 ac_cv_prog_CC
="$CC" # Let the user override the test.
13842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13843 for as_dir
in $PATH
13846 test -z "$as_dir" && as_dir
=.
13847 for ac_exec_ext
in '' $ac_executable_extensions; do
13848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13849 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13860 if test -n "$CC"; then
13861 { echo "$as_me:$LINENO: result: $CC" >&5
13862 echo "${ECHO_T}$CC" >&6; }
13864 { echo "$as_me:$LINENO: result: no" >&5
13865 echo "${ECHO_T}no" >&6; }
13870 if test -z "$ac_cv_prog_CC"; then
13872 # Extract the first word of "gcc", so it can be a program name with args.
13873 set dummy gcc
; ac_word
=$2
13874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 if test -n "$ac_ct_CC"; then
13880 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13883 for as_dir
in $PATH
13886 test -z "$as_dir" && as_dir
=.
13887 for ac_exec_ext
in '' $ac_executable_extensions; do
13888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13889 ac_cv_prog_ac_ct_CC
="gcc"
13890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13900 if test -n "$ac_ct_CC"; then
13901 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13902 echo "${ECHO_T}$ac_ct_CC" >&6; }
13904 { echo "$as_me:$LINENO: result: no" >&5
13905 echo "${ECHO_T}no" >&6; }
13908 if test "x$ac_ct_CC" = x
; then
13911 case $cross_compiling:$ac_tool_warned in
13913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13914 whose name does not start with the host triplet. If you think this
13915 configuration is useful to you, please write to autoconf@gnu.org." >&5
13916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13917 whose name does not start with the host triplet. If you think this
13918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13919 ac_tool_warned
=yes ;;
13924 CC
="$ac_cv_prog_CC"
13927 if test -z "$CC"; then
13928 if test -n "$ac_tool_prefix"; then
13929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13930 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 if test -n "$CC"; then
13937 ac_cv_prog_CC
="$CC" # Let the user override the test.
13939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13940 for as_dir
in $PATH
13943 test -z "$as_dir" && as_dir
=.
13944 for ac_exec_ext
in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13957 if test -n "$CC"; then
13958 { echo "$as_me:$LINENO: result: $CC" >&5
13959 echo "${ECHO_T}$CC" >&6; }
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13968 if test -z "$CC"; then
13969 # Extract the first word of "cc", so it can be a program name with args.
13970 set dummy cc
; ac_word
=$2
13971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13973 if test "${ac_cv_prog_CC+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 if test -n "$CC"; then
13977 ac_cv_prog_CC
="$CC" # Let the user override the test.
13979 ac_prog_rejected
=no
13980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13981 for as_dir
in $PATH
13984 test -z "$as_dir" && as_dir
=.
13985 for ac_exec_ext
in '' $ac_executable_extensions; do
13986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13988 ac_prog_rejected
=yes
13992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13999 if test $ac_prog_rejected = yes; then
14000 # We found a bogon in the path, so make sure we never use it.
14001 set dummy
$ac_cv_prog_CC
14003 if test $# != 0; then
14004 # We chose a different compiler from the bogus one.
14005 # However, it has the same basename, so the bogon will be chosen
14006 # first if we set CC to just the basename; use the full file name.
14008 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14024 if test -z "$CC"; then
14025 if test -n "$ac_tool_prefix"; then
14026 for ac_prog
in cl.exe
14028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14029 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 if test -n "$CC"; then
14036 ac_cv_prog_CC
="$CC" # Let the user override the test.
14038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14039 for as_dir
in $PATH
14042 test -z "$as_dir" && as_dir
=.
14043 for ac_exec_ext
in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 if test -n "$CC"; then
14057 { echo "$as_me:$LINENO: result: $CC" >&5
14058 echo "${ECHO_T}$CC" >&6; }
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14065 test -n "$CC" && break
14068 if test -z "$CC"; then
14070 for ac_prog
in cl.exe
14072 # Extract the first word of "$ac_prog", so it can be a program name with args.
14073 set dummy
$ac_prog; ac_word
=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 if test -n "$ac_ct_CC"; then
14080 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14083 for as_dir
in $PATH
14086 test -z "$as_dir" && as_dir
=.
14087 for ac_exec_ext
in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_ac_ct_CC
="$ac_prog"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14100 if test -n "$ac_ct_CC"; then
14101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14102 echo "${ECHO_T}$ac_ct_CC" >&6; }
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14109 test -n "$ac_ct_CC" && break
14112 if test "x$ac_ct_CC" = x
; then
14115 case $cross_compiling:$ac_tool_warned in
14117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14118 whose name does not start with the host triplet. If you think this
14119 configuration is useful to you, please write to autoconf@gnu.org." >&5
14120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14121 whose name does not start with the host triplet. If you think this
14122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14123 ac_tool_warned
=yes ;;
14132 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14133 See \`config.log' for more details." >&5
14134 echo "$as_me: error: no acceptable C compiler found in \$PATH
14135 See \`config.log' for more details." >&2;}
14136 { (exit 1); exit 1; }; }
14138 # Provide some information about the compiler.
14139 echo "$as_me:$LINENO: checking for C compiler version" >&5
14140 ac_compiler
=`set X $ac_compile; echo $2`
14141 { (ac_try
="$ac_compiler --version >&5"
14142 case "(($ac_try" in
14143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_compiler --version >&5") 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }
14151 { (ac_try="$ac_compiler -v >&5"
14152 case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14154 *) ac_try_echo
=$ac_try;;
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_compiler -v >&5") 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }
14161 { (ac_try
="$ac_compiler -V >&5"
14162 case "(($ac_try" in
14163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_compiler -V >&5") 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }
14172 cat >conftest.$ac_ext <<_ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14187 ac_clean_files_save=$ac_clean_files
14188 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14189 # Try to create an executable without -o first, disregard a.out.
14190 # It will help us diagnose broken compilers, and finding out an intuition
14192 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14193 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14194 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14196 # List of possible output files, starting from the most likely.
14197 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14198 # only as a last resort. b.out is created by i960 compilers.
14199 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14201 # The IRIX 6 linker writes into existing files which may not be
14202 # executable, retaining their permissions. Remove them first so a
14203 # subsequent execution test works.
14205 for ac_file in $ac_files
14208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14209 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14214 if { (ac_try="$ac_link_default"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_link_default") 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; then
14224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14226 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14227 # so that the user can short-circuit this test for compilers unknown to
14229 for ac_file
in $ac_files ''
14231 test -f "$ac_file" || continue
14233 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14236 # We found the default executable, but exeext='' is most
14240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14242 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14244 # We set ac_cv_exeext here because the later test for it is not
14245 # safe: cross compilers may not add the suffix if given an `-o'
14246 # argument, so we may need to know it at that point already.
14247 # Even if this section looks crufty: it has the advantage of
14248 # actually working.
14254 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14260 { echo "$as_me:$LINENO: result: $ac_file" >&5
14261 echo "${ECHO_T}$ac_file" >&6; }
14262 if test -z "$ac_file"; then
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.
$ac_ext >&5
14266 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14267 See \`config.log' for more details." >&5
14268 echo "$as_me: error: C compiler cannot create executables
14269 See \`config.log' for more details." >&2;}
14270 { (exit 77); exit 77; }; }
14273 ac_exeext
=$ac_cv_exeext
14275 # Check that the compiler produces executables we can run. If not, either
14276 # the compiler is broken, or we cross compile.
14277 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14278 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14279 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14280 # If not cross compiling, check that we can run a simple program.
14281 if test "$cross_compiling" != yes; then
14282 if { ac_try
='./$ac_file'
14283 { (case "(($ac_try" in
14284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14285 *) ac_try_echo=$ac_try;;
14287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14288 (eval "$ac_try") 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14294 if test "$cross_compiling" = maybe; then
14295 cross_compiling=yes
14297 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14298 If you meant to cross compile, use \`--host'.
14299 See \`config.log' for more details.
" >&5
14300 echo "$as_me: error
: cannot run C compiled programs.
14301 If you meant to cross compile
, use \
`--host'.
14302 See \`config.log
' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14307 { echo "$as_me:$LINENO: result: yes" >&5
14308 echo "${ECHO_T}yes" >&6; }
14310 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14311 ac_clean_files=$ac_clean_files_save
14312 # Check that the compiler produces executables we can run. If not, either
14313 # the compiler is broken, or we cross compile.
14314 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14315 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14316 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14317 echo "${ECHO_T}$cross_compiling" >&6; }
14319 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14320 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; then
14331 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14332 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14333 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14335 for ac_file
in conftest.exe conftest conftest.
*; do
14336 test -f "$ac_file" || continue
14338 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14339 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14345 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14346 See \`config.log' for more details." >&5
14347 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14348 See \`config.log' for more details." >&2;}
14349 { (exit 1); exit 1; }; }
14352 rm -f conftest
$ac_cv_exeext
14353 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14354 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14356 rm -f conftest.
$ac_ext
14357 EXEEXT
=$ac_cv_exeext
14359 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14360 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14361 if test "${ac_cv_objext+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 cat >conftest.
$ac_ext <<_ACEOF
14367 cat confdefs.h
>>conftest.
$ac_ext
14368 cat >>conftest.
$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14379 rm -f conftest.o conftest.obj
14380 if { (ac_try
="$ac_compile"
14381 case "(($ac_try" in
14382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_compile") 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; then
14390 for ac_file in conftest.o conftest.obj conftest.*; do
14391 test -f "$ac_file" || continue;
14393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14403 See \`config.log
' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14405 See \`config.log' for more details.
" >&2;}
14406 { (exit 1); exit 1; }; }
14409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14411 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14412 echo "${ECHO_T}$ac_cv_objext" >&6; }
14413 OBJEXT=$ac_cv_objext
14415 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14416 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14418 echo $ECHO_N "(cached
) $ECHO_C" >&6
14420 cat >conftest.$ac_ext <<_ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14438 rm -f conftest.$ac_objext
14439 if { (ac_try="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14447 grep -v '^ *+' conftest.er1 >conftest.err
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_compiler_gnu=yes
14457 echo "$as_me: failed program was
:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14467 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14468 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14469 GCC=`test $ac_compiler_gnu = yes && echo yes`
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14473 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14474 if test "${ac_cv_prog_cc_g+set}" = set; then
14475 echo $ECHO_N "(cached
) $ECHO_C" >&6
14477 ac_save_c_werror_flag=$ac_c_werror_flag
14478 ac_c_werror_flag=yes
14481 cat >conftest.$ac_ext <<_ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14496 rm -f conftest.$ac_objext
14497 if { (ac_try="$ac_compile"
14498 case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_compile") 2>conftest.er1
14505 grep -v '^ *+' conftest.er1 >conftest.err
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14509 (exit $ac_status); } && {
14510 test -z "$ac_c_werror_flag" ||
14511 test ! -s conftest.err
14512 } && test -s conftest.$ac_objext; then
14513 ac_cv_prog_cc_g=yes
14515 echo "$as_me: failed program was
:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14519 cat >conftest.$ac_ext <<_ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14543 grep -v '^ *+' conftest.er1 >conftest.err
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14547 (exit $ac_status); } && {
14548 test -z "$ac_c_werror_flag" ||
14549 test ! -s conftest.err
14550 } && test -s conftest.$ac_objext; then
14553 echo "$as_me: failed program was
:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14556 ac_c_werror_flag=$ac_save_c_werror_flag
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14573 rm -f conftest.$ac_objext
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>conftest.er1
14582 grep -v '^ *+' conftest.er1 >conftest.err
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14586 (exit $ac_status); } && {
14587 test -z "$ac_c_werror_flag" ||
14588 test ! -s conftest.err
14589 } && test -s conftest.$ac_objext; then
14590 ac_cv_prog_cc_g=yes
14592 echo "$as_me: failed program was
:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 ac_c_werror_flag=$ac_save_c_werror_flag
14607 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14608 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14609 if test "$ac_test_CFLAGS" = set; then
14610 CFLAGS=$ac_save_CFLAGS
14611 elif test $ac_cv_prog_cc_g = yes; then
14612 if test "$GCC" = yes; then
14618 if test "$GCC" = yes; then
14624 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14625 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14626 if test "${ac_cv_prog_cc_c89+set}" = set; then
14627 echo $ECHO_N "(cached
) $ECHO_C" >&6
14629 ac_cv_prog_cc_c89=no
14631 cat >conftest.$ac_ext <<_ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 #include <stdarg.h>
14639 #include <sys/types.h>
14640 #include <sys/stat.h>
14641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14642 struct buf { int x; };
14643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14644 static char *e (p, i)
14650 static char *f (char * (*g) (char **, int), char **p, ...)
14655 s = g (p, va_arg (v,int));
14660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14661 function prototypes and stuff, but not '\xHH' hex character constants.
14662 These don't provoke an error unfortunately, instead are silently treated
14663 as 'x'. The following induces an error, until -std is added to get
14664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14665 array size at least. It's necessary to write '\x00'==0 to get something
14666 that's true only with -std. */
14667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14670 inside strings and character constants. */
14672 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14674 int test (int i, double x);
14675 struct s1 {int (*f) (int a);};
14676 struct s2 {int (*f) (double a);};
14677 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14688 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14691 CC="$ac_save_CC $ac_arg"
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14698 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14701 grep -v '^ *+' conftest.er1 >conftest.err
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_prog_cc_c89=$ac_arg
14711 echo "$as_me: failed program was
:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14717 rm -f core conftest.err conftest.$ac_objext
14718 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14720 rm -f conftest.$ac_ext
14725 case "x
$ac_cv_prog_cc_c89" in
14727 { echo "$as_me:$LINENO: result
: none needed
" >&5
14728 echo "${ECHO_T}none needed
" >&6; } ;;
14730 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14731 echo "${ECHO_T}unsupported
" >&6; } ;;
14733 CC="$CC $ac_cv_prog_cc_c89"
14734 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14735 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14740 ac_cpp='$CPP $CPPFLAGS'
14741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14754 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14755 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14756 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14757 echo $ECHO_N "(cached
) $ECHO_C" >&6
14759 cat >conftest.$ac_ext <<_ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14770 #ifndef __INTEL_COMPILER
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14787 grep -v '^ *+' conftest.er1 >conftest.err
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14795 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14797 echo "$as_me: failed program was
:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14800 bakefile_cv_c_compiler___INTEL_COMPILER=no
14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14808 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14809 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14810 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14816 ac_cpp='$CPP $CPPFLAGS'
14817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14824 if test "x
$GCC" != "xyes
"; then
14825 if test "xCC
" = "xC
"; then
14826 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14827 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14828 if test "${bakefile_cv_c_exto+set}" = set; then
14829 echo $ECHO_N "(cached
) $ECHO_C" >&6
14831 cat >conftest.$ac_ext <<_ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14846 rm -f conftest.$ac_objext conftest.$ac_ext.o
14847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14848 (eval $ac_compile) 2>&5
14850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14851 (exit $ac_status); }; then
14852 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14854 conftest.$ac_ext.o)
14855 bakefile_cv_c_exto="-ext o
"
14862 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14863 See \
`config.log' for more details." >&5
14864 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14865 See \`config.log
' for more details." >&2;}
14866 { (exit 1); exit 1; }; }
14870 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14873 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14874 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14875 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14876 if test "c" = "c"; then
14877 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14879 if test "c" = "cxx"; then
14880 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14884 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14885 unset ac_cv_prog_cc_g
14886 ac_test_CFLAGS=${CFLAGS+set}
14887 ac_save_CFLAGS=$CFLAGS
14888 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14890 if test "${ac_cv_prog_cc_g+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 ac_save_c_werror_flag=$ac_c_werror_flag
14894 ac_c_werror_flag=yes
14897 cat >conftest.$ac_ext <<_ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14912 rm -f conftest.$ac_objext
14913 if { (ac_try="$ac_compile"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_compile") 2>conftest.er1
14921 grep -v '^
*+' conftest.er1 >conftest.err
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } && {
14926 test -z "$ac_c_werror_flag" ||
14927 test ! -s conftest.err
14928 } && test -s conftest.$ac_objext; then
14929 ac_cv_prog_cc_g=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's
/^
/| /' conftest.$ac_ext >&5
14935 cat >conftest.$ac_ext <<_ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14950 rm -f conftest.$ac_objext
14951 if { (ac_try="$ac_compile"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_compile") 2>conftest.er1
14959 grep -v '^
*+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest.$ac_objext; then
14969 echo "$as_me: failed program was:" >&5
14970 sed 's
/^
/| /' conftest.$ac_ext >&5
14972 ac_c_werror_flag=$ac_save_c_werror_flag
14974 cat >conftest.$ac_ext <<_ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14989 rm -f conftest.$ac_objext
14990 if { (ac_try="$ac_compile"
14991 case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_compile") 2>conftest.er1
14998 grep -v '^
*+' conftest.er1 >conftest.err
15000 cat conftest.err >&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && {
15003 test -z "$ac_c_werror_flag" ||
15004 test ! -s conftest.err
15005 } && test -s conftest.$ac_objext; then
15006 ac_cv_prog_cc_g=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's
/^
/| /' conftest.$ac_ext >&5
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 ac_c_werror_flag=$ac_save_c_werror_flag
15023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15025 if test "$ac_test_CFLAGS" = set; then
15026 CFLAGS=$ac_save_CFLAGS
15027 elif test $ac_cv_prog_cc_g = yes; then
15028 if test "$GCC" = yes; then
15034 if test "$GCC" = yes; then
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15050 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15053 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15055 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 cat >conftest.$ac_ext <<_ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15086 grep -v '^
*+' conftest.er1 >conftest.err
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 bakefile_cv_c_compiler___xlC__=yes
15096 echo "$as_me: failed program was:" >&5
15097 sed 's
/^
/| /' conftest.$ac_ext >&5
15099 bakefile_cv_c_compiler___xlC__=no
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15108 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15109 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15117 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15128 ac_cpp='$CPP $CPPFLAGS'
15129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15130 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15133 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15134 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15135 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 cat >conftest.$ac_ext <<_ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15157 rm -f conftest.$ac_objext
15158 if { (ac_try="$ac_compile"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15166 grep -v '^
*+' conftest.er1 >conftest.err
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 bakefile_cv_c_compiler___MWERKS__=yes
15176 echo "$as_me: failed program was:" >&5
15177 sed 's
/^
/| /' conftest.$ac_ext >&5
15179 bakefile_cv_c_compiler___MWERKS__=no
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15188 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15189 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15195 ac_cpp='$CPP $CPPFLAGS'
15196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15197 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15207 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15210 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15211 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15212 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 cat >conftest.$ac_ext <<_ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15243 grep -v '^
*+' conftest.er1 >conftest.err
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.$ac_objext; then
15251 bakefile_cv_c_compiler___xlC__=yes
15253 echo "$as_me: failed program was:" >&5
15254 sed 's
/^
/| /' conftest.$ac_ext >&5
15256 bakefile_cv_c_compiler___xlC__=no
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15264 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15265 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15266 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15290 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15306 #ifndef _SGI_COMPILER_VERSION
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15323 grep -v '^
*+' conftest.er1 >conftest.err
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15333 echo "$as_me: failed program was:" >&5
15334 sed 's
/^
/| /' conftest.$ac_ext >&5
15336 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15346 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15354 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15367 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15370 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15371 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15372 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 cat >conftest.$ac_ext <<_ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15403 grep -v '^
*+' conftest.er1 >conftest.err
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 bakefile_cv_c_compiler___SUNPRO_C=yes
15413 echo "$as_me: failed program was:" >&5
15414 sed 's
/^
/| /' conftest.$ac_ext >&5
15416 bakefile_cv_c_compiler___SUNPRO_C=no
15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15425 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15426 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15445 ac_cpp='$CPP $CPPFLAGS'
15446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15447 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 cat >conftest.$ac_ext <<_ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15474 rm -f conftest.$ac_objext
15475 if { (ac_try="$ac_compile"
15476 case "(($ac_try" in
15477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 *) ac_try_echo=$ac_try;;
15480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15481 (eval "$ac_compile") 2>conftest.er1
15483 grep -v '^
*+' conftest.er1 >conftest.err
15485 cat conftest.err >&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } && {
15488 test -z "$ac_c_werror_flag" ||
15489 test ! -s conftest.err
15490 } && test -s conftest.$ac_objext; then
15491 bakefile_cv_c_compiler___HP_cc=yes
15493 echo "$as_me: failed program was:" >&5
15494 sed 's
/^
/| /' conftest.$ac_ext >&5
15496 bakefile_cv_c_compiler___HP_cc=no
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15514 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15525 ac_cpp='$CPP $CPPFLAGS'
15526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15527 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 cat >conftest.$ac_ext <<_ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15563 grep -v '^
*+' conftest.er1 >conftest.err
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 bakefile_cv_c_compiler___DECC=yes
15573 echo "$as_me: failed program was:" >&5
15574 sed 's
/^
/| /' conftest.$ac_ext >&5
15576 bakefile_cv_c_compiler___DECC=no
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15594 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15607 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 cat >conftest.$ac_ext <<_ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15643 grep -v '^
*+' conftest.er1 >conftest.err
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___SUNPRO_C=yes
15653 echo "$as_me: failed program was:" >&5
15654 sed 's
/^
/| /' conftest.$ac_ext >&5
15656 bakefile_cv_c_compiler___SUNPRO_C=no
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15674 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15688 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15692 # On Suns, sometimes $CPP names a directory.
15693 if test -n "$CPP" && test -d "$CPP"; then
15696 if test -z "$CPP"; then
15697 if test "${ac_cv_prog_CPP+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 # Double quotes because CPP needs to be expanded
15701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15703 ac_preproc_ok=false
15704 for ac_c_preproc_warn_flag in '' yes
15706 # Use a header file that comes with gcc, so configuring glibc
15707 # with a fresh cross-compiler works.
15708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709 # <limits.h> exists even on freestanding compilers.
15710 # On the NeXT, cc -E runs the code through the compiler's parser
,
15711 # not just through cpp. "Syntax error" is here to catch this case.
15712 cat >conftest.
$ac_ext <<_ACEOF
15715 cat confdefs.h
>>conftest.
$ac_ext
15716 cat >>conftest.
$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15719 # include <limits.h>
15721 # include <assert.h>
15725 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15726 case "(($ac_try" in
15727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;;
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15733 grep -v '^ *+' conftest.er1 >conftest.err
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } >/dev/null && {
15738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15739 test ! -s conftest.err
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15746 # Broken: fails on valid input.
15750 rm -f conftest.err conftest.$ac_ext
15752 # OK, works on sane cases. Now check whether nonexistent headers
15753 # can be detected and how.
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 #include <ac_nonexistent.h>
15762 if { (ac_try="$ac_cpp conftest.$ac_ext"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15765 *) ac_try_echo
=$ac_try;;
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15770 grep -v '^ *+' conftest.er1
>conftest.err
15772 cat conftest.err
>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } >/dev
/null
&& {
15775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15778 # Broken: success on invalid input.
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.
$ac_ext >&5
15784 # Passes both tests.
15789 rm -f conftest.err conftest.
$ac_ext
15792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15793 rm -f conftest.err conftest.
$ac_ext
15794 if $ac_preproc_ok; then
15799 ac_cv_prog_CPP
=$CPP
15802 CPP
=$ac_cv_prog_CPP
15804 ac_cv_prog_CPP
=$CPP
15806 { echo "$as_me:$LINENO: result: $CPP" >&5
15807 echo "${ECHO_T}$CPP" >&6; }
15808 ac_preproc_ok
=false
15809 for ac_c_preproc_warn_flag
in '' yes
15811 # Use a header file that comes with gcc, so configuring glibc
15812 # with a fresh cross-compiler works.
15813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15814 # <limits.h> exists even on freestanding compilers.
15815 # On the NeXT, cc -E runs the code through the compiler's parser,
15816 # not just through cpp. "Syntax error" is here to catch this case.
15817 cat >conftest.
$ac_ext <<_ACEOF
15820 cat confdefs.h
>>conftest.
$ac_ext
15821 cat >>conftest.
$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15824 # include <limits.h>
15826 # include <assert.h>
15830 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15831 case "(($ac_try" in
15832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15838 grep -v '^ *+' conftest.er1 >conftest.err
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } >/dev/null && {
15843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 # Broken: fails on valid input.
15855 rm -f conftest.err conftest.$ac_ext
15857 # OK, works on sane cases. Now check whether nonexistent headers
15858 # can be detected and how.
15859 cat >conftest.$ac_ext <<_ACEOF
15862 cat confdefs.h >>conftest.$ac_ext
15863 cat >>conftest.$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 #include <ac_nonexistent.h>
15867 if { (ac_try="$ac_cpp conftest.$ac_ext"
15868 case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15870 *) ac_try_echo
=$ac_try;;
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15875 grep -v '^ *+' conftest.er1
>conftest.err
15877 cat conftest.err
>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } >/dev
/null
&& {
15880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15883 # Broken: success on invalid input.
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.
$ac_ext >&5
15889 # Passes both tests.
15894 rm -f conftest.err conftest.
$ac_ext
15897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15898 rm -f conftest.err conftest.
$ac_ext
15899 if $ac_preproc_ok; then
15902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15910 ac_cpp
='$CPP $CPPFLAGS'
15911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15918 if test "${ac_cv_path_GREP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 # Extract the first word of "grep ggrep" to use in msg output
15922 if test -z "$GREP"; then
15923 set dummy
grep ggrep
; ac_prog_name
=$2
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 ac_path_GREP_found
=false
15928 # Loop through the user's path and test for each of PROGNAME-LIST
15929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15930 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15933 test -z "$as_dir" && as_dir
=.
15934 for ac_prog
in grep ggrep
; do
15935 for ac_exec_ext
in '' $ac_executable_extensions; do
15936 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15938 # Check for GNU ac_path_GREP and select it if it is found.
15939 # Check for GNU $ac_path_GREP
15940 case `"$ac_path_GREP" --version 2>&1` in
15942 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15948 cat "conftest.in" "conftest.in" >"conftest.tmp"
15949 mv "conftest.tmp" "conftest.in"
15950 cp "conftest.in" "conftest.nl"
15951 echo 'GREP' >> "conftest.nl"
15952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15953 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15954 ac_count
=`expr $ac_count + 1`
15955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15956 # Best one so far, save it but keep looking for a better one
15957 ac_cv_path_GREP
="$ac_path_GREP"
15958 ac_path_GREP_max
=$ac_count
15960 # 10*(2^10) chars as input seems more than enough
15961 test $ac_count -gt 10 && break
15963 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15967 $ac_path_GREP_found && break 3
15977 GREP
="$ac_cv_path_GREP"
15978 if test -z "$GREP"; then
15979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15981 { (exit 1); exit 1; }; }
15985 ac_cv_path_GREP
=$GREP
15990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15992 GREP
="$ac_cv_path_GREP"
15995 { echo "$as_me:$LINENO: checking for egrep" >&5
15996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15997 if test "${ac_cv_path_EGREP+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16001 then ac_cv_path_EGREP
="$GREP -E"
16003 # Extract the first word of "egrep" to use in msg output
16004 if test -z "$EGREP"; then
16005 set dummy
egrep; ac_prog_name
=$2
16006 if test "${ac_cv_path_EGREP+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 ac_path_EGREP_found
=false
16010 # Loop through the user's path and test for each of PROGNAME-LIST
16011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16012 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16015 test -z "$as_dir" && as_dir
=.
16016 for ac_prog
in egrep; do
16017 for ac_exec_ext
in '' $ac_executable_extensions; do
16018 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16020 # Check for GNU ac_path_EGREP and select it if it is found.
16021 # Check for GNU $ac_path_EGREP
16022 case `"$ac_path_EGREP" --version 2>&1` in
16024 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16030 cat "conftest.in" "conftest.in" >"conftest.tmp"
16031 mv "conftest.tmp" "conftest.in"
16032 cp "conftest.in" "conftest.nl"
16033 echo 'EGREP' >> "conftest.nl"
16034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16035 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16036 ac_count
=`expr $ac_count + 1`
16037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16038 # Best one so far, save it but keep looking for a better one
16039 ac_cv_path_EGREP
="$ac_path_EGREP"
16040 ac_path_EGREP_max
=$ac_count
16042 # 10*(2^10) chars as input seems more than enough
16043 test $ac_count -gt 10 && break
16045 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16049 $ac_path_EGREP_found && break 3
16059 EGREP
="$ac_cv_path_EGREP"
16060 if test -z "$EGREP"; then
16061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16063 { (exit 1); exit 1; }; }
16067 ac_cv_path_EGREP
=$EGREP
16073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16075 EGREP
="$ac_cv_path_EGREP"
16078 if test $ac_cv_c_compiler_gnu = yes; then
16079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 ac_pattern
="Autoconf.*'x'"
16085 cat >conftest.
$ac_ext <<_ACEOF
16088 cat confdefs.h
>>conftest.
$ac_ext
16089 cat >>conftest.
$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16095 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16096 ac_cv_prog_gcc_traditional
=yes
16098 ac_cv_prog_gcc_traditional
=no
16103 if test $ac_cv_prog_gcc_traditional = no
; then
16104 cat >conftest.
$ac_ext <<_ACEOF
16107 cat confdefs.h
>>conftest.
$ac_ext
16108 cat >>conftest.
$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #include <termio.h>
16113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16114 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16115 ac_cv_prog_gcc_traditional
=yes
16121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16123 if test $ac_cv_prog_gcc_traditional = yes; then
16124 CC
="$CC -traditional"
16129 CXXFLAGS
=${CXXFLAGS:=}
16134 ac_cpp
='$CXXCPP $CPPFLAGS'
16135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16138 if test -z "$CXX"; then
16139 if test -n "$CCC"; then
16142 if test -n "$ac_tool_prefix"; then
16143 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16146 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16149 if test "${ac_cv_prog_CXX+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 if test -n "$CXX"; then
16153 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16156 for as_dir
in $PATH
16159 test -z "$as_dir" && as_dir
=.
16160 for ac_exec_ext
in '' $ac_executable_extensions; do
16161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16162 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16172 CXX
=$ac_cv_prog_CXX
16173 if test -n "$CXX"; then
16174 { echo "$as_me:$LINENO: result: $CXX" >&5
16175 echo "${ECHO_T}$CXX" >&6; }
16177 { echo "$as_me:$LINENO: result: no" >&5
16178 echo "${ECHO_T}no" >&6; }
16182 test -n "$CXX" && break
16185 if test -z "$CXX"; then
16187 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16189 # Extract the first word of "$ac_prog", so it can be a program name with args.
16190 set dummy
$ac_prog; ac_word
=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 if test -n "$ac_ct_CXX"; then
16197 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16200 for as_dir
in $PATH
16203 test -z "$as_dir" && as_dir
=.
16204 for ac_exec_ext
in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16216 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16217 if test -n "$ac_ct_CXX"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16219 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16226 test -n "$ac_ct_CXX" && break
16229 if test "x$ac_ct_CXX" = x
; then
16232 case $cross_compiling:$ac_tool_warned in
16234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16235 whose name does not start with the host triplet. If you think this
16236 configuration is useful to you, please write to autoconf@gnu.org." >&5
16237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16238 whose name does not start with the host triplet. If you think this
16239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16240 ac_tool_warned
=yes ;;
16248 # Provide some information about the compiler.
16249 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16250 ac_compiler
=`set X $ac_compile; echo $2`
16251 { (ac_try
="$ac_compiler --version >&5"
16252 case "(($ac_try" in
16253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16257 (eval "$ac_compiler --version >&5") 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }
16261 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }
16271 { (ac_try
="$ac_compiler -V >&5"
16272 case "(($ac_try" in
16273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16274 *) ac_try_echo=$ac_try;;
16276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16277 (eval "$ac_compiler -V >&5") 2>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }
16282 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16283 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 cat >conftest.$ac_ext <<_ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16305 rm -f conftest.$ac_objext
16306 if { (ac_try="$ac_compile"
16307 case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16309 *) ac_try_echo
=$ac_try;;
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_compile") 2>conftest.er1
16314 grep -v '^ *+' conftest.er1
>conftest.err
16316 cat conftest.err
>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && {
16319 test -z "$ac_cxx_werror_flag" ||
16320 test ! -s conftest.err
16321 } && test -s conftest.
$ac_objext; then
16322 ac_compiler_gnu
=yes
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.
$ac_ext >&5
16330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16331 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16334 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16336 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16337 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16338 ac_save_CXXFLAGS
=$CXXFLAGS
16339 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16340 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16341 if test "${ac_cv_prog_cxx_g+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16345 ac_cxx_werror_flag
=yes
16346 ac_cv_prog_cxx_g
=no
16348 cat >conftest.
$ac_ext <<_ACEOF
16351 cat confdefs.h
>>conftest.
$ac_ext
16352 cat >>conftest.
$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16363 rm -f conftest.
$ac_objext
16364 if { (ac_try
="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16372 grep -v '^ *+' conftest.er1 >conftest.err
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_cxx_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 ac_cv_prog_cxx_g=yes
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16386 cat >conftest.$ac_ext <<_ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16401 rm -f conftest.$ac_objext
16402 if { (ac_try="$ac_compile"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16405 *) ac_try_echo
=$ac_try;;
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compile") 2>conftest.er1
16410 grep -v '^ *+' conftest.er1
>conftest.err
16412 cat conftest.err
>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_cxx_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest.
$ac_objext; then
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.
$ac_ext >&5
16423 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16425 cat >conftest.
$ac_ext <<_ACEOF
16428 cat confdefs.h
>>conftest.
$ac_ext
16429 cat >>conftest.
$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16440 rm -f conftest.
$ac_objext
16441 if { (ac_try
="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16449 grep -v '^ *+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_cxx_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16457 ac_cv_prog_cxx_g=yes
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16476 if test "$ac_test_CXXFLAGS" = set; then
16477 CXXFLAGS=$ac_save_CXXFLAGS
16478 elif test $ac_cv_prog_cxx_g = yes; then
16479 if test "$GXX" = yes; then
16485 if test "$GXX" = yes; then
16492 ac_cpp='$CPP $CPPFLAGS'
16493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16506 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16507 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16508 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 cat >conftest.$ac_ext <<_ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16522 #ifndef __INTEL_COMPILER
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16534 *) ac_try_echo
=$ac_try;;
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16539 grep -v '^ *+' conftest.er1
>conftest.err
16541 cat conftest.err
>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_cxx_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.
$ac_objext; then
16547 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.
$ac_ext >&5
16552 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16560 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16561 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16562 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16568 ac_cpp
='$CPP $CPPFLAGS'
16569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16576 if test "x$GCXX" != "xyes"; then
16577 if test "xCXX" = "xC"; then
16578 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16579 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16580 if test "${bakefile_cv_c_exto+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 cat >conftest.
$ac_ext <<_ACEOF
16586 cat confdefs.h
>>conftest.
$ac_ext
16587 cat >>conftest.
$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16598 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; then
16604 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16606 conftest.
$ac_ext.o
)
16607 bakefile_cv_c_exto
="-ext o"
16614 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16615 See \`config.log' for more details." >&5
16616 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16617 See \`config.log' for more details." >&2;}
16618 { (exit 1); exit 1; }; }
16622 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16626 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16628 if test "c" = "c"; then
16629 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16631 if test "c" = "cxx"; then
16632 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16636 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16637 unset ac_cv_prog_cc_g
16638 ac_test_CFLAGS
=${CFLAGS+set}
16639 ac_save_CFLAGS
=$CFLAGS
16640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16642 if test "${ac_cv_prog_cc_g+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 ac_save_c_werror_flag
=$ac_c_werror_flag
16646 ac_c_werror_flag
=yes
16649 cat >conftest.
$ac_ext <<_ACEOF
16652 cat confdefs.h
>>conftest.
$ac_ext
16653 cat >>conftest.
$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16664 rm -f conftest.
$ac_objext
16665 if { (ac_try
="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16673 grep -v '^ *+' conftest.er1 >conftest.err
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_prog_cc_g=yes
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16687 cat >conftest.$ac_ext <<_ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16702 rm -f conftest.$ac_objext
16703 if { (ac_try="$ac_compile"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16706 *) ac_try_echo
=$ac_try;;
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compile") 2>conftest.er1
16711 grep -v '^ *+' conftest.er1
>conftest.err
16713 cat conftest.err
>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } && {
16716 test -z "$ac_c_werror_flag" ||
16717 test ! -s conftest.err
16718 } && test -s conftest.
$ac_objext; then
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.
$ac_ext >&5
16724 ac_c_werror_flag
=$ac_save_c_werror_flag
16726 cat >conftest.
$ac_ext <<_ACEOF
16729 cat confdefs.h
>>conftest.
$ac_ext
16730 cat >>conftest.
$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16741 rm -f conftest.
$ac_objext
16742 if { (ac_try
="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16750 grep -v '^ *+' conftest.er1 >conftest.err
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 ac_c_werror_flag=$ac_save_c_werror_flag
16775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16777 if test "$ac_test_CFLAGS" = set; then
16778 CFLAGS=$ac_save_CFLAGS
16779 elif test $ac_cv_prog_cc_g = yes; then
16780 if test "$GCC" = yes; then
16786 if test "$GCC" = yes; then
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16805 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16806 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16807 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 cat >conftest.$ac_ext <<_ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16829 rm -f conftest.$ac_objext
16830 if { (ac_try="$ac_compile"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16833 *) ac_try_echo
=$ac_try;;
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_compile") 2>conftest.er1
16838 grep -v '^ *+' conftest.er1
>conftest.err
16840 cat conftest.err
>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && {
16843 test -z "$ac_cxx_werror_flag" ||
16844 test ! -s conftest.err
16845 } && test -s conftest.
$ac_objext; then
16846 bakefile_cv_cxx_compiler___xlC__
=yes
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.
$ac_ext >&5
16851 bakefile_cv_cxx_compiler___xlC__
=no
16855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16859 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16860 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16867 ac_cpp
='$CPP $CPPFLAGS'
16868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16880 ac_cpp
='$CXXCPP $CPPFLAGS'
16881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16885 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16886 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16887 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 cat >conftest.
$ac_ext <<_ACEOF
16893 cat confdefs.h
>>conftest.
$ac_ext
16894 cat >>conftest.
$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16909 rm -f conftest.
$ac_objext
16910 if { (ac_try
="$ac_compile"
16911 case "(($ac_try" in
16912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_compile") 2>conftest.er1
16918 grep -v '^ *+' conftest.er1 >conftest.err
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } && {
16923 test -z "$ac_cxx_werror_flag" ||
16924 test ! -s conftest.err
16925 } && test -s conftest.$ac_objext; then
16926 bakefile_cv_cxx_compiler___MWERKS__=yes
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 bakefile_cv_cxx_compiler___MWERKS__=no
16935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16940 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16941 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16947 ac_cpp='$CPP $CPPFLAGS'
16948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957 ac_cpp='$CXXCPP $CPPFLAGS'
16958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16962 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16963 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.$ac_ext <<_ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16990 *) ac_try_echo
=$ac_try;;
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16995 grep -v '^ *+' conftest.er1
>conftest.err
16997 cat conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_cxx_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.
$ac_objext; then
17003 bakefile_cv_cxx_compiler___xlC__
=yes
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 bakefile_cv_cxx_compiler___xlC__
=no
17012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17018 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17024 ac_cpp
='$CPP $CPPFLAGS'
17025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17037 ac_cpp
='$CXXCPP $CPPFLAGS'
17038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17042 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17058 #ifndef _SGI_COMPILER_VERSION
17066 rm -f conftest.
$ac_objext
17067 if { (ac_try
="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_cxx_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17096 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17104 ac_cpp='$CPP $CPPFLAGS'
17105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17122 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17123 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17124 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 cat >conftest.$ac_ext <<_ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17138 #ifndef __SUNPRO_CC
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17150 *) ac_try_echo
=$ac_try;;
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_compile") 2>conftest.er1
17155 grep -v '^ *+' conftest.er1
>conftest.err
17157 cat conftest.err
>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } && {
17160 test -z "$ac_cxx_werror_flag" ||
17161 test ! -s conftest.err
17162 } && test -s conftest.
$ac_objext; then
17163 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.
$ac_ext >&5
17168 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17176 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17177 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17178 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17184 ac_cpp
='$CPP $CPPFLAGS'
17185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17197 ac_cpp
='$CXXCPP $CPPFLAGS'
17198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 cat >conftest.
$ac_ext <<_ACEOF
17210 cat confdefs.h
>>conftest.
$ac_ext
17211 cat >>conftest.
$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17226 rm -f conftest.
$ac_objext
17227 if { (ac_try
="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17235 grep -v '^ *+' conftest.er1 >conftest.err
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_cxx_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 bakefile_cv_cxx_compiler___HP_aCC=yes
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17248 bakefile_cv_cxx_compiler___HP_aCC=no
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17264 ac_cpp='$CPP $CPPFLAGS'
17265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 cat >conftest.$ac_ext <<_ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17310 *) ac_try_echo
=$ac_try;;
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17315 grep -v '^ *+' conftest.er1
>conftest.err
17317 cat conftest.err
>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_cxx_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.
$ac_objext; then
17323 bakefile_cv_cxx_compiler___DECCXX
=yes
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.
$ac_ext >&5
17328 bakefile_cv_cxx_compiler___DECCXX
=no
17332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17344 ac_cpp
='$CPP $CPPFLAGS'
17345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17357 ac_cpp
='$CXXCPP $CPPFLAGS'
17358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 cat >conftest.
$ac_ext <<_ACEOF
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17378 #ifndef __SUNPRO_CC
17386 rm -f conftest.
$ac_objext
17387 if { (ac_try
="$ac_compile"
17388 case "(($ac_try" in
17389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17390 *) ac_try_echo=$ac_try;;
17392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393 (eval "$ac_compile") 2>conftest.er1
17395 grep -v '^ *+' conftest.er1 >conftest.err
17397 cat conftest.err >&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } && {
17400 test -z "$ac_cxx_werror_flag" ||
17401 test ! -s conftest.err
17402 } && test -s conftest.$ac_objext; then
17403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17440 { (exit 1); exit 1; }; }
17443 if test "x$SUNCXX" != xyes; then
17444 if test -n "$ac_tool_prefix"; then
17445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17446 set dummy ${ac_tool_prefix}ar; ac_word=$2
17447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17449 if test "${ac_cv_prog_AR+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 if test -n "$AR"; then
17453 ac_cv_prog_AR="$AR" # Let the user override the test.
17455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17456 for as_dir in $PATH
17459 test -z "$as_dir" && as_dir=.
17460 for ac_exec_ext in '' $ac_executable_extensions; do
17461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17462 ac_cv_prog_AR="${ac_tool_prefix}ar"
17463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17473 if test -n "$AR"; then
17474 { echo "$as_me:$LINENO: result: $AR" >&5
17475 echo "${ECHO_T}$AR" >&6; }
17477 { echo "$as_me:$LINENO: result: no" >&5
17478 echo "${ECHO_T}no" >&6; }
17483 if test -z "$ac_cv_prog_AR"; then
17485 # Extract the first word of "ar", so it can be a program name with args.
17486 set dummy ar; ac_word=$2
17487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17492 if test -n "$ac_ct_AR"; then
17493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17496 for as_dir in $PATH
17499 test -z "$as_dir" && as_dir=.
17500 for ac_exec_ext in '' $ac_executable_extensions; do
17501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17502 ac_cv_prog_ac_ct_AR="ar"
17503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17513 if test -n "$ac_ct_AR"; then
17514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17515 echo "${ECHO_T}$ac_ct_AR" >&6; }
17517 { echo "$as_me:$LINENO: result: no" >&5
17518 echo "${ECHO_T}no" >&6; }
17521 if test "x$ac_ct_AR" = x; then
17524 case $cross_compiling:$ac_tool_warned in
17526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17527 whose name does not start with the host triplet. If you think this
17528 configuration is useful to you, please write to autoconf@gnu.org." >&5
17529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17530 whose name does not start with the host triplet. If you think this
17531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17532 ac_tool_warned=yes ;;
17537 AR="$ac_cv_prog_AR"
17540 if test "x$AR" = "x" ; then
17541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17547 retest_macosx_linking=no
17549 #if test "$wxUSE_MAC" = 1; then
17550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17552 # Implicitly turn on the new --with-macosx-sdk using the default
17553 # SDK which provides the behavior this option has always had.
17554 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17555 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17556 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17557 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17558 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17559 wxUSE_MACOSX_SDK=yes
17562 # Complain to user if he specified an argument to --enable-universal_binary
17563 # and also 1) specified --with-macosx-sdk using the default (yes) or
17564 # 2) specified --with-macosx-sdk using a path or 3) specified
17565 # --without-macosx-sdk (no).
17566 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17567 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17568 See \`config.log
' for more details." >&5
17569 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17570 See \`config.log' for more details.
" >&2;}
17571 { (exit 1); exit 1; }; }
17573 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17574 # special-case the empty string because the below test simply
17575 # converts "no
" to the empty string anyway.
17576 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17577 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17578 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17581 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17585 retest_macosx_linking=yes
17587 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17588 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17593 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17595 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17596 # TODO: Search for most recent SDK and use it.
17597 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17601 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17602 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17603 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17604 if ! test -d "$wxUSE_MACOSX_SDK"; then
17605 { { echo "$as_me:$LINENO: error
: not found
17606 See \
`config.log' for more details." >&5
17607 echo "$as_me: error: not found
17608 See \`config.log
' for more details." >&2;}
17609 { (exit 1); exit 1; }; }
17611 { echo "$as_me:$LINENO: result: exists" >&5
17612 echo "${ECHO_T}exists" >&6; }
17614 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17615 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17616 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17617 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17618 retest_macosx_linking=yes
17621 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17622 wxUSE_MACOSX_VERSION_MIN=
17623 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17624 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17625 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17626 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17628 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/'`
17630 # If that failed, try again with the new key
17631 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17633 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/'`
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17638 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17639 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17640 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17642 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17643 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17644 wxUSE_MACOSX_VERSION_MIN=
17647 wxUSE_MACOSX_VERSION_MIN=
17651 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17652 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17653 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17654 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17655 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17656 retest_macosx_linking=yes
17659 if test "x$retest_macosx_linking" = "xyes"; then
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17663 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17666 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17667 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17668 cat >conftest.$ac_ext <<_ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17692 grep -v '^
*+' conftest.er1 >conftest.err
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 { echo "$as_me:$LINENO: result: yes" >&5
17702 echo "${ECHO_T}yes" >&6; }
17704 echo "$as_me: failed program was:" >&5
17705 sed 's
/^
/| /' conftest.$ac_ext >&5
17707 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17708 See \`config.log' for more details.
" >&5
17709 echo "$as_me: error
: no. Try a different SDK
17710 See \
`config.log' for more details." >&2;}
17711 { (exit 1); exit 1; }; }; exit 1
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17729 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17730 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17731 cat >conftest.$ac_ext <<_ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (ac_try="$ac_link"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17750 *) ac_try_echo
=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_link") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1
>conftest.err
17757 cat conftest.err
>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest
$ac_exeext &&
17763 $as_test_x conftest
$ac_exeext; then
17764 { echo "$as_me:$LINENO: result: yes" >&5
17765 echo "${ECHO_T}yes" >&6; }
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.
$ac_ext >&5
17770 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17771 See \`config.log' for more details." >&5
17772 echo "$as_me: error: no. Try a different SDK
17773 See \`config.log' for more details." >&2;}
17774 { (exit 1); exit 1; }; }; exit 1
17777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17778 conftest
$ac_exeext conftest.
$ac_ext
17780 ac_cpp
='$CPP $CPPFLAGS'
17781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17791 INSTALL_PROGRAM
="cp -fp"
17792 INSTALL_DATA
="cp -fp"
17799 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17800 CXXFLAGS
="-qunique $CXXFLAGS"
17804 powerpc
-*-darwin* )
17805 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17806 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17807 cat >conftest.
$ac_ext <<_ACEOF
17810 cat confdefs.h
>>conftest.
$ac_ext
17811 cat >>conftest.
$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17817 #ifndef __POWERPC__
17818 choke me for lack of PowerPC
17825 rm -f conftest.
$ac_objext
17826 if { (ac_try
="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17834 grep -v '^ *+' conftest.er1 >conftest.err
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_c_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 { echo "$as_me:$LINENO: result: yes" >&5
17843 echo "${ECHO_T}yes" >&6; }
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17848 { echo "$as_me:$LINENO: result: no" >&5
17849 echo "${ECHO_T}no" >&6; }
17850 cat >>confdefs.h <<\_ACEOF
17851 #define __POWERPC__ 1
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17864 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17865 cat >conftest.$ac_ext <<_ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <CoreFoundation/CFBase.h>
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17885 *) ac_try_echo
=$ac_try;;
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17890 grep -v '^ *+' conftest.er1
>conftest.err
17892 cat conftest.err
>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.
$ac_objext; then
17898 { echo "$as_me:$LINENO: result: yes" >&5
17899 echo "${ECHO_T}yes" >&6; }
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.
$ac_ext >&5
17904 { echo "$as_me:$LINENO: result: no" >&5
17905 echo "${ECHO_T}no" >&6; }
17906 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17907 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17908 cat >conftest.
$ac_ext <<_ACEOF
17911 cat confdefs.h
>>conftest.
$ac_ext
17912 cat >>conftest.
$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 #define __CF_USE_FRAMEWORK_INCLUDES__
17915 #include <CoreFoundation/CFBase.h>
17925 rm -f conftest.
$ac_objext
17926 if { (ac_try
="$ac_compile"
17927 case "(($ac_try" in
17928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17934 grep -v '^ *+' conftest.er1 >conftest.err
17936 cat conftest.err >&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } && {
17939 test -z "$ac_c_werror_flag" ||
17940 test ! -s conftest.err
17941 } && test -s conftest.$ac_objext; then
17942 { echo "$as_me:$LINENO: result: yes" >&5
17943 echo "${ECHO_T}yes" >&6; }
17944 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17950 See \`config.log
' for more details." >&5
17951 echo "$as_me: error: no. CoreFoundation not available.
17952 See \`config.log' for more details.
" >&2;}
17953 { (exit 1); exit 1; }; }
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 doesnt_want_win32=0
17970 if test "$wxUSE_MSW" = 1 ; then
17973 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17974 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17975 if test "${wx_cv_nocygwin+set}" = set; then
17976 echo $ECHO_N "(cached
) $ECHO_C" >&6
17979 cat >conftest.$ac_ext <<_ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17998 rm -f conftest.$ac_objext
17999 if { (ac_try="$ac_compile"
18000 case "(($ac_try" in
18001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18002 *) ac_try_echo=$ac_try;;
18004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18005 (eval "$ac_compile") 2>conftest.er1
18007 grep -v '^ *+' conftest.er1 >conftest.err
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18011 (exit $ac_status); } && {
18012 test -z "$ac_c_werror_flag" ||
18013 test ! -s conftest.err
18014 } && test -s conftest.$ac_objext; then
18017 echo "$as_me: failed program was
:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18029 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18031 if test "$wx_cv_nocygwin" = "yes"; then
18034 doesnt_want_win32=1
18037 if test "$wants_win32" = 1 ; then
18038 BAKEFILE_FORCE_PLATFORM=win32
18046 if test "$wxUSE_WINE" = "yes"; then
18048 LDFLAGS_GUI="-mwindows"
18051 if test "$wants_win32" = 1 ; then
18054 cat >>confdefs.h <<\_ACEOF
18055 #define __WIN32__ 1
18058 cat >>confdefs.h <<\_ACEOF
18059 #define __WIN95__ 1
18062 cat >>confdefs.h <<\_ACEOF
18063 #define __WINDOWS__ 1
18066 cat >>confdefs.h <<\_ACEOF
18067 #define __GNUWIN32__ 1
18070 cat >>confdefs.h <<\_ACEOF
18075 if test "$doesnt_want_win32" = 1 ; then
18080 if test "$USE_UNIX" = 1 ; then
18082 cat >>confdefs.h <<\_ACEOF
18089 *-pc-os2_emx | *-pc-os2-emx )
18090 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18091 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18092 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18093 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18094 echo $ECHO_N "(cached
) $ECHO_C" >&6
18096 ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lcExt $LIBS"
18098 cat >conftest.$ac_ext <<_ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18120 rm -f conftest.$ac_objext conftest$ac_exeext
18121 if { (ac_try="$ac_link"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_link") 2>conftest.er1
18129 grep -v '^ *+' conftest.er1 >conftest.err
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest$ac_exeext &&
18137 $as_test_x conftest$ac_exeext; then
18138 ac_cv_lib_cExt_drand48=yes
18140 echo "$as_me: failed program was
:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18143 ac_cv_lib_cExt_drand48=no
18146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18150 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18151 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18152 if test $ac_cv_lib_cExt_drand48 = yes; then
18153 LIBS="$LIBS -lcExt"
18157 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18159 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18160 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18161 if test "${wx_cv_gccversion+set}" = set; then
18162 echo $ECHO_N "(cached
) $ECHO_C" >&6
18165 if test "$cross_compiling" = yes; then
18166 wx_cv_gccversion="EMX2
"
18169 cat >conftest.$ac_ext <<_ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18180 FILE *f=fopen("conftestval
", "w
");
18185 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18187 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18197 rm -f conftest$ac_exeext
18198 if { (ac_try="$ac_link"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_link") 2>&5
18206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18208 { (case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 wx_cv_gccversion=`cat conftestval`
18219 echo "$as_me: program exited with status
$ac_status" >&5
18220 echo "$as_me: failed program was
:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18223 ( exit $ac_status )
18224 wx_cv_gccversion="EMX2
"
18226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18232 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18233 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18234 if test "$wx_cv_gccversion" = "EMX2
"; then
18235 LIBS="$LIBS -lstdcpp"
18236 LDFLAGS="$LDFLAGS -Zsysv-signals"
18238 if test "$wx_cv_gccversion" = "EMX3
"; then
18239 LIBS="$LIBS -lstdcxx -lgcc"
18240 LDFLAGS="$LDFLAGS -Zsysv-signals"
18242 LIBS="$LIBS -lstdc++"
18245 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18246 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18247 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18254 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18255 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18256 if test "${ac_cv_string_strcasecmp+set}" = set; then
18257 echo $ECHO_N "(cached
) $ECHO_C" >&6
18260 cat >conftest.$ac_ext <<_ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18267 #include <string.h>
18273 strcasecmp("foo
", "bar
");
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_link") 2>conftest.er1
18288 grep -v '^ *+' conftest.er1 >conftest.err
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest$ac_exeext &&
18296 $as_test_x conftest$ac_exeext; then
18297 ac_cv_string_strcasecmp=yes
18299 echo "$as_me: failed program was
:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18302 ac_cv_string_strcasecmp=no
18306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18307 conftest$ac_exeext conftest.$ac_ext
18310 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18313 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18314 cat >>confdefs.h <<\_ACEOF
18315 #define HAVE_STRCASECMP_IN_STRING_H 1
18319 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18320 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18322 echo $ECHO_N "(cached
) $ECHO_C" >&6
18325 cat >conftest.$ac_ext <<_ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18332 #include <strings.h>
18338 strcasecmp("foo
", "bar
");
18344 rm -f conftest.$ac_objext conftest$ac_exeext
18345 if { (ac_try="$ac_link"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_link") 2>conftest.er1
18353 grep -v '^ *+' conftest.er1 >conftest.err
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest$ac_exeext &&
18361 $as_test_x conftest$ac_exeext; then
18362 ac_cv_strings_strcasecmp=yes
18364 echo "$as_me: failed program was
:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18367 ac_cv_strings_strcasecmp=no
18371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18372 conftest$ac_exeext conftest.$ac_ext
18375 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18376 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18378 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18379 cat >>confdefs.h <<\_ACEOF
18380 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18384 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18385 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18386 { (exit 1); exit 1; }; }
18394 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18395 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18396 if test "${ac_cv_header_stdc+set}" = set; then
18397 echo $ECHO_N "(cached
) $ECHO_C" >&6
18399 cat >conftest.$ac_ext <<_ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <stdlib.h>
18406 #include <stdarg.h>
18407 #include <string.h>
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18424 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18427 grep -v '^ *+' conftest.er1 >conftest.err
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_header_stdc=yes
18437 echo "$as_me: failed program was
:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18440 ac_cv_header_stdc=no
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18445 if test $ac_cv_header_stdc = yes; then
18446 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18447 cat >conftest.$ac_ext <<_ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <string.h>
18456 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18457 $EGREP "memchr
" >/dev/null 2>&1; then
18460 ac_cv_header_stdc=no
18466 if test $ac_cv_header_stdc = yes; then
18467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18468 cat >conftest.$ac_ext <<_ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #include <stdlib.h>
18477 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18478 $EGREP "free
" >/dev/null 2>&1; then
18481 ac_cv_header_stdc=no
18487 if test $ac_cv_header_stdc = yes; then
18488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18489 if test "$cross_compiling" = yes; then
18492 cat >conftest.$ac_ext <<_ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18499 #include <stdlib.h>
18500 #if ((' ' & 0x0FF) == 0x020)
18501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18504 # define ISLOWER(c) \
18505 (('a' <= (c) && (c) <= 'i') \
18506 || ('j' <= (c) && (c) <= 'r') \
18507 || ('s' <= (c) && (c) <= 'z'))
18508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18516 for (i = 0; i < 256; i++)
18517 if (XOR (islower (i), ISLOWER (i))
18518 || toupper (i) != TOUPPER (i))
18523 rm -f conftest$ac_exeext
18524 if { (ac_try="$ac_link"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18529 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_link") 2>&5
18532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18534 { (case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_try") 2>&5
18541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18542 (exit $ac_status); }; }; then
18545 echo "$as_me: program exited with status
$ac_status" >&5
18546 echo "$as_me: failed program was
:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18549 ( exit $ac_status )
18550 ac_cv_header_stdc=no
18552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18558 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18559 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18560 if test $ac_cv_header_stdc = yes; then
18562 cat >>confdefs.h <<\_ACEOF
18563 #define STDC_HEADERS 1
18568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18579 inttypes.h stdint.h unistd.h
18581 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18582 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18583 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18584 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18585 echo $ECHO_N "(cached
) $ECHO_C" >&6
18587 cat >conftest.$ac_ext <<_ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18595 #include <$ac_header>
18597 rm -f conftest.$ac_objext
18598 if { (ac_try="$ac_compile"
18599 case "(($ac_try" in
18600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18601 *) ac_try_echo=$ac_try;;
18603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18604 (eval "$ac_compile") 2>conftest.er1
18606 grep -v '^ *+' conftest.er1 >conftest.err
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18610 (exit $ac_status); } && {
18611 test -z "$ac_c_werror_flag" ||
18612 test ! -s conftest.err
18613 } && test -s conftest.$ac_objext; then
18614 eval "$as_ac_Header=yes"
18616 echo "$as_me: failed program was
:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18619 eval "$as_ac_Header=no
"
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624 ac_res=`eval echo '${'$as_ac_Header'}'`
18625 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18626 echo "${ECHO_T}$ac_res" >&6; }
18627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18639 for ac_header in langinfo.h wchar.h
18641 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18642 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18643 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18644 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18645 echo $ECHO_N "(cached
) $ECHO_C" >&6
18647 cat >conftest.$ac_ext <<_ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 $ac_includes_default
18655 #include <$ac_header>
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18666 grep -v '^ *+' conftest.er1 >conftest.err
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 eval "$as_ac_Header=yes"
18676 echo "$as_me: failed program was
:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18679 eval "$as_ac_Header=no
"
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 ac_res=`eval echo '${'$as_ac_Header'}'`
18685 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18686 echo "${ECHO_T}$ac_res" >&6; }
18687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18697 if test "$ac_cv_header_wchar_h" != "yes"; then
18699 for ac_header in wcstr.h
18701 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18702 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18703 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18704 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18705 echo $ECHO_N "(cached
) $ECHO_C" >&6
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18715 #include <$ac_header>
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18726 grep -v '^ *+' conftest.er1 >conftest.err
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 eval "$as_ac_Header=yes"
18736 echo "$as_me: failed program was
:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18739 eval "$as_ac_Header=no
"
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 ac_res=`eval echo '${'$as_ac_Header'}'`
18745 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18746 echo "${ECHO_T}$ac_res" >&6; }
18747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18759 *-pc-os2_emx | *-pc-os2-emx )
18760 if test $ac_cv_header_langinfo_h = "yes" \
18761 -a \( "$wx_cv_gccversion" = "EMX2
" \
18762 -o "$wx_cv_gccversion" = "EMX3
" \
18763 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18764 LIBS="$LIBS -lintl"
18769 if test "$USE_UNIX" = 1 ; then
18771 for ac_header in sys/select.h
18773 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18774 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18775 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18776 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18777 echo $ECHO_N "(cached
) $ECHO_C" >&6
18779 cat >conftest.$ac_ext <<_ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18787 #include <$ac_header>
18789 rm -f conftest.$ac_objext
18790 if { (ac_try="$ac_compile"
18791 case "(($ac_try" in
18792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18793 *) ac_try_echo=$ac_try;;
18795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18796 (eval "$ac_compile") 2>conftest.er1
18798 grep -v '^ *+' conftest.er1 >conftest.err
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18802 (exit $ac_status); } && {
18803 test -z "$ac_c_werror_flag" ||
18804 test ! -s conftest.err
18805 } && test -s conftest.$ac_objext; then
18806 eval "$as_ac_Header=yes"
18808 echo "$as_me: failed program was
:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 eval "$as_ac_Header=no
"
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 ac_res=`eval echo '${'$as_ac_Header'}'`
18817 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18818 echo "${ECHO_T}$ac_res" >&6; }
18819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18831 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18832 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18833 if test "${ac_cv_c_const+set}" = set; then
18834 echo $ECHO_N "(cached
) $ECHO_C" >&6
18836 cat >conftest.$ac_ext <<_ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18846 /* FIXME: Include the comments suggested by Paul. */
18847 #ifndef __cplusplus
18848 /* Ultrix mips cc rejects this. */
18849 typedef int charset[2];
18851 /* SunOS 4.1.1 cc rejects this. */
18852 char const *const *pcpcc;
18854 /* NEC SVR4.0.2 mips cc rejects this. */
18855 struct point {int x, y;};
18856 static struct point const zero = {0,0};
18857 /* AIX XL C 1.02.0.0 rejects this.
18858 It does not let you subtract one const X* pointer from another in
18859 an arm of an if-expression whose if-part is not a constant
18861 const char *g = "string
";
18862 pcpcc = &g + (g ? g-g : 0);
18863 /* HPUX 7.0 cc rejects these. */
18865 ppc = (char**) pcpcc;
18866 pcpcc = (char const *const *) ppc;
18867 { /* SCO 3.2v4 cc rejects this. */
18869 char const *s = 0 ? (char *) 0 : (char const *) 0;
18874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18875 int x[] = {25, 17};
18876 const int *foo = &x[0];
18879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18880 typedef const int *iptr;
18884 { /* AIX XL C 1.02.0.0 rejects this saying
18885 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18886 struct s { int j; const int *ap[3]; };
18887 struct s *b; b->j = 5;
18889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18890 const int foo = 10;
18891 if (!foo) return 0;
18893 return !cs[0] && !zero.x;
18900 rm -f conftest.$ac_objext
18901 if { (ac_try="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18909 grep -v '^ *+' conftest.er1 >conftest.err
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18919 echo "$as_me: failed program was
:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18929 if test $ac_cv_c_const = no; then
18931 cat >>confdefs.h <<\_ACEOF
18937 { echo "$as_me:$LINENO: checking
for inline
" >&5
18938 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18939 if test "${ac_cv_c_inline+set}" = set; then
18940 echo $ECHO_N "(cached
) $ECHO_C" >&6
18943 for ac_kw in inline __inline__ __inline; do
18944 cat >conftest.$ac_ext <<_ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifndef __cplusplus
18952 static $ac_kw foo_t static_foo () {return 0; }
18953 $ac_kw foo_t foo () {return 0; }
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18966 grep -v '^ *+' conftest.er1 >conftest.err
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_c_inline=$ac_kw
18976 echo "$as_me: failed program was
:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 test "$ac_cv_c_inline" != no && break
18987 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18988 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18991 case $ac_cv_c_inline in
18994 case $ac_cv_c_inline in
18996 *) ac_val=$ac_cv_c_inline;;
18998 cat >>confdefs.h <<_ACEOF
18999 #ifndef __cplusplus
19000 #define inline $ac_val
19007 { echo "$as_me:$LINENO: checking
for short
" >&5
19008 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19009 if test "${ac_cv_type_short+set}" = set; then
19010 echo $ECHO_N "(cached
) $ECHO_C" >&6
19012 cat >conftest.$ac_ext <<_ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef short ac__type_new_;
19023 if ((ac__type_new_ *) 0)
19025 if (sizeof (ac__type_new_))
19031 rm -f conftest.$ac_objext
19032 if { (ac_try="$ac_compile"
19033 case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19038 (eval "$ac_compile") 2>conftest.er1
19040 grep -v '^ *+' conftest.er1 >conftest.err
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19044 (exit $ac_status); } && {
19045 test -z "$ac_c_werror_flag" ||
19046 test ! -s conftest.err
19047 } && test -s conftest.$ac_objext; then
19048 ac_cv_type_short=yes
19050 echo "$as_me: failed program was
:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5
19053 ac_cv_type_short=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19059 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19061 # The cast to long int works around a bug in the HP C Compiler
19062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19064 # This bug is HP SR number 8606223364.
19065 { echo "$as_me:$LINENO: checking size of short
" >&5
19066 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19067 if test "${ac_cv_sizeof_short+set}" = set; then
19068 echo $ECHO_N "(cached
) $ECHO_C" >&6
19070 if test "$cross_compiling" = yes; then
19071 # Depending upon the size, compute the lo and hi bounds.
19072 cat >conftest.$ac_ext <<_ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 typedef short ac__type_sizeof_;
19083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19090 rm -f conftest.$ac_objext
19091 if { (ac_try="$ac_compile"
19092 case "(($ac_try" in
19093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19094 *) ac_try_echo=$ac_try;;
19096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19097 (eval "$ac_compile") 2>conftest.er1
19099 grep -v '^ *+' conftest.er1 >conftest.err
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19103 (exit $ac_status); } && {
19104 test -z "$ac_c_werror_flag" ||
19105 test ! -s conftest.err
19106 } && test -s conftest.$ac_objext; then
19109 cat >conftest.$ac_ext <<_ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 typedef short ac__type_sizeof_;
19120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19127 rm -f conftest.$ac_objext
19128 if { (ac_try="$ac_compile"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compile") 2>conftest.er1
19136 grep -v '^ *+' conftest.er1 >conftest.err
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest.$ac_objext; then
19144 ac_hi=$ac_mid; break
19146 echo "$as_me: failed program was
:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19149 ac_lo=`expr $ac_mid + 1`
19150 if test $ac_lo -le $ac_mid; then
19154 ac_mid=`expr 2 '*' $ac_mid + 1`
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160 echo "$as_me: failed program was
:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19163 cat >conftest.$ac_ext <<_ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 typedef short ac__type_sizeof_;
19174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19190 grep -v '^ *+' conftest.er1 >conftest.err
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_c_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19200 cat >conftest.$ac_ext <<_ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_sizeof_;
19211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19227 grep -v '^ *+' conftest.er1 >conftest.err
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_lo=$ac_mid; break
19237 echo "$as_me: failed program was
:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19240 ac_hi=`expr '(' $ac_mid ')' - 1`
19241 if test $ac_mid -le $ac_hi; then
19245 ac_mid=`expr 2 '*' $ac_mid`
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19251 echo "$as_me: failed program was
:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 # Binary search between lo and hi bounds.
19262 while test "x
$ac_lo" != "x
$ac_hi"; do
19263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19264 cat >conftest.$ac_ext <<_ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 $ac_includes_default
19271 typedef short ac__type_sizeof_;
19275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19291 grep -v '^ *+' conftest.er1 >conftest.err
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19301 echo "$as_me: failed program was
:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19304 ac_lo=`expr '(' $ac_mid ')' + 1`
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19310 ?*) ac_cv_sizeof_short=$ac_lo;;
19311 '') if test "$ac_cv_type_short" = yes; then
19312 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19313 See \
`config.log' for more details." >&5
19314 echo "$as_me: error: cannot compute sizeof (short)
19315 See \`config.log
' for more details." >&2;}
19316 { (exit 77); exit 77; }; }
19318 ac_cv_sizeof_short=0
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 typedef short ac__type_sizeof_;
19330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19333 #include <stdlib.h>
19338 FILE *f = fopen ("conftest.val", "w");
19341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19343 long int i = longval ();
19344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19346 fprintf (f, "%ld\n", i);
19350 unsigned long int i = ulongval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19353 fprintf (f, "%lu\n", i);
19355 return ferror (f) || fclose (f) != 0;
19361 rm -f conftest$ac_exeext
19362 if { (ac_try="$ac_link"
19363 case "(($ac_try" in
19364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365 *) ac_try_echo=$ac_try;;
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368 (eval "$ac_link") 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_cv_sizeof_short=`cat conftest.val`
19383 echo "$as_me: program exited with status $ac_status" >&5
19384 echo "$as_me: failed program was:" >&5
19385 sed 's
/^
/| /' conftest.$ac_ext >&5
19387 ( exit $ac_status )
19388 if test "$ac_cv_type_short" = yes; then
19389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19390 See \`config.log' for more details.
" >&5
19391 echo "$as_me: error
: cannot compute sizeof
(short
)
19392 See \
`config.log' for more details." >&2;}
19393 { (exit 77); exit 77; }; }
19395 ac_cv_sizeof_short=0
19398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19403 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19407 cat >>confdefs.h <<_ACEOF
19408 #define SIZEOF_SHORT $ac_cv_sizeof_short
19412 { echo "$as_me:$LINENO: checking for void *" >&5
19413 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19414 if test "${ac_cv_type_void_p+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef void * ac__type_new_;
19428 if ((ac__type_new_ *) 0)
19430 if (sizeof (ac__type_new_))
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19440 *) ac_try_echo
=$ac_try;;
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19445 grep -v '^ *+' conftest.er1
>conftest.err
19447 cat conftest.err
>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.
$ac_objext; then
19453 ac_cv_type_void_p
=yes
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.
$ac_ext >&5
19458 ac_cv_type_void_p
=no
19461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19463 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19464 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19466 # The cast to long int works around a bug in the HP C Compiler
19467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19469 # This bug is HP SR number 8606223364.
19470 { echo "$as_me:$LINENO: checking size of void *" >&5
19471 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19472 if test "${ac_cv_sizeof_void_p+set}" = set; then
19473 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 if test "$cross_compiling" = yes; then
19476 # Depending upon the size, compute the lo and hi bounds.
19477 cat >conftest.
$ac_ext <<_ACEOF
19480 cat confdefs.h
>>conftest.
$ac_ext
19481 cat >>conftest.
$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 typedef void * ac__type_sizeof_;
19488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19495 rm -f conftest.
$ac_objext
19496 if { (ac_try
="$ac_compile"
19497 case "(($ac_try" in
19498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19499 *) ac_try_echo=$ac_try;;
19501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19502 (eval "$ac_compile") 2>conftest.er1
19504 grep -v '^ *+' conftest.er1 >conftest.err
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && {
19509 test -z "$ac_c_werror_flag" ||
19510 test ! -s conftest.err
19511 } && test -s conftest.$ac_objext; then
19514 cat >conftest.$ac_ext <<_ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 typedef void * ac__type_sizeof_;
19525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19536 *) ac_try_echo
=$ac_try;;
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19541 grep -v '^ *+' conftest.er1
>conftest.err
19543 cat conftest.err
>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.
$ac_objext; then
19549 ac_hi
=$ac_mid; break
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.
$ac_ext >&5
19554 ac_lo
=`expr $ac_mid + 1`
19555 if test $ac_lo -le $ac_mid; then
19559 ac_mid
=`expr 2 '*' $ac_mid + 1`
19562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.
$ac_ext >&5
19568 cat >conftest.
$ac_ext <<_ACEOF
19571 cat confdefs.h
>>conftest.
$ac_ext
19572 cat >>conftest.
$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 typedef void * ac__type_sizeof_;
19579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19586 rm -f conftest.
$ac_objext
19587 if { (ac_try
="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19595 grep -v '^ *+' conftest.er1 >conftest.err
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19627 *) ac_try_echo
=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1
>conftest.err
19634 cat conftest.err
>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.
$ac_objext; then
19640 ac_lo
=$ac_mid; break
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.
$ac_ext >&5
19645 ac_hi
=`expr '(' $ac_mid ')' - 1`
19646 if test $ac_mid -le $ac_hi; then
19650 ac_mid
=`expr 2 '*' $ac_mid`
19653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19666 # Binary search between lo and hi bounds.
19667 while test "x$ac_lo" != "x$ac_hi"; do
19668 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19669 cat >conftest.
$ac_ext <<_ACEOF
19672 cat confdefs.h
>>conftest.
$ac_ext
19673 cat >>conftest.
$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 typedef void * ac__type_sizeof_;
19680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19687 rm -f conftest.
$ac_objext
19688 if { (ac_try
="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19696 grep -v '^ *+' conftest.er1 >conftest.err
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } && {
19701 test -z "$ac_c_werror_flag" ||
19702 test ! -s conftest.err
19703 } && test -s conftest.$ac_objext; then
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19709 ac_lo=`expr '(' $ac_mid ')' + 1`
19712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19716 '') if test "$ac_cv_type_void_p" = yes; then
19717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19718 See \`config.log
' for more details." >&5
19719 echo "$as_me: error: cannot compute sizeof (void *)
19720 See \`config.log' for more details.
" >&2;}
19721 { (exit 77); exit 77; }; }
19723 ac_cv_sizeof_void_p=0
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef void * ac__type_sizeof_;
19735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19738 #include <stdlib.h>
19743 FILE *f = fopen ("conftest.val
", "w
");
19746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19748 long int i = longval ();
19749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19751 fprintf (f, "%ld
\n", i);
19755 unsigned long int i = ulongval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19758 fprintf (f, "%lu
\n", i);
19760 return ferror (f) || fclose (f) != 0;
19766 rm -f conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>&5
19775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19777 { (case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_sizeof_void_p=`cat conftest.val`
19788 echo "$as_me: program exited with status
$ac_status" >&5
19789 echo "$as_me: failed program was
:" >&5
19790 sed 's/^/| /' conftest.$ac_ext >&5
19792 ( exit $ac_status )
19793 if test "$ac_cv_type_void_p" = yes; then
19794 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19795 See \
`config.log' for more details." >&5
19796 echo "$as_me: error: cannot compute sizeof (void *)
19797 See \`config.log
' for more details." >&2;}
19798 { (exit 77); exit 77; }; }
19800 ac_cv_sizeof_void_p=0
19803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19808 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19812 cat >>confdefs.h <<_ACEOF
19813 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19817 { echo "$as_me:$LINENO: checking for int" >&5
19818 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19819 if test "${ac_cv_type_int+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 cat >conftest.$ac_ext <<_ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef int ac__type_new_;
19833 if ((ac__type_new_ *) 0)
19835 if (sizeof (ac__type_new_))
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19850 grep -v '^
*+' conftest.er1 >conftest.err
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.$ac_objext; then
19860 echo "$as_me: failed program was:" >&5
19861 sed 's
/^
/| /' conftest.$ac_ext >&5
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19868 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19869 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19871 # The cast to long int works around a bug in the HP C Compiler
19872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19874 # This bug is HP SR number 8606223364.
19875 { echo "$as_me:$LINENO: checking size of int" >&5
19876 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19877 if test "${ac_cv_sizeof_int+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 if test "$cross_compiling" = yes; then
19881 # Depending upon the size, compute the lo and hi bounds.
19882 cat >conftest.
$ac_ext <<_ACEOF
19885 cat confdefs.h
>>conftest.
$ac_ext
19886 cat >>conftest.
$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 $ac_includes_default
19889 typedef int ac__type_sizeof_;
19893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19900 rm -f conftest.
$ac_objext
19901 if { (ac_try
="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19909 grep -v '^ *+' conftest.er1 >conftest.err
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19919 cat >conftest.$ac_ext <<_ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 typedef int ac__type_sizeof_;
19930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19937 rm -f conftest.$ac_objext
19938 if { (ac_try="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19941 *) ac_try_echo
=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest.
$ac_objext; then
19954 ac_hi
=$ac_mid; break
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.
$ac_ext >&5
19959 ac_lo
=`expr $ac_mid + 1`
19960 if test $ac_lo -le $ac_mid; then
19964 ac_mid
=`expr 2 '*' $ac_mid + 1`
19967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.
$ac_ext >&5
19973 cat >conftest.
$ac_ext <<_ACEOF
19976 cat confdefs.h
>>conftest.
$ac_ext
19977 cat >>conftest.
$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 $ac_includes_default
19980 typedef int ac__type_sizeof_;
19984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19991 rm -f conftest.
$ac_objext
19992 if { (ac_try
="$ac_compile"
19993 case "(($ac_try" in
19994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_compile") 2>conftest.er1
20000 grep -v '^ *+' conftest.er1 >conftest.err
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then
20010 cat >conftest.$ac_ext <<_ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_sizeof_;
20021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20032 *) ac_try_echo
=$ac_try;;
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20037 grep -v '^ *+' conftest.er1
>conftest.err
20039 cat conftest.err
>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.
$ac_objext; then
20045 ac_lo
=$ac_mid; break
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.
$ac_ext >&5
20050 ac_hi
=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20055 ac_mid
=`expr 2 '*' $ac_mid`
20058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.
$ac_ext >&5
20067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20071 # Binary search between lo and hi bounds.
20072 while test "x$ac_lo" != "x$ac_hi"; do
20073 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20074 cat >conftest.
$ac_ext <<_ACEOF
20077 cat confdefs.h
>>conftest.
$ac_ext
20078 cat >>conftest.
$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20081 typedef int ac__type_sizeof_;
20085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20092 rm -f conftest.
$ac_objext
20093 if { (ac_try
="$ac_compile"
20094 case "(($ac_try" in
20095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20101 grep -v '^ *+' conftest.er1 >conftest.err
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20114 ac_lo=`expr '(' $ac_mid ')' + 1`
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 ?*) ac_cv_sizeof_int=$ac_lo;;
20121 '') if test "$ac_cv_type_int" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20123 See \`config.log
' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (int)
20125 See \`config.log' for more details.
" >&2;}
20126 { (exit 77); exit 77; }; }
20132 cat >conftest.$ac_ext <<_ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef int ac__type_sizeof_;
20140 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20141 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20143 #include <stdlib.h>
20148 FILE *f = fopen ("conftest.val
", "w
");
20151 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20153 long int i = longval ();
20154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20156 fprintf (f, "%ld
\n", i);
20160 unsigned long int i = ulongval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20163 fprintf (f, "%lu
\n", i);
20165 return ferror (f) || fclose (f) != 0;
20171 rm -f conftest$ac_exeext
20172 if { (ac_try="$ac_link"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_link") 2>&5
20180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20182 { (case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_try") 2>&5
20189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sizeof_int=`cat conftest.val`
20193 echo "$as_me: program exited with status
$ac_status" >&5
20194 echo "$as_me: failed program was
:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20197 ( exit $ac_status )
20198 if test "$ac_cv_type_int" = yes; then
20199 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20200 See \
`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (int)
20202 See \`config.log
' for more details." >&2;}
20203 { (exit 77); exit 77; }; }
20208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20212 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20213 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20217 cat >>confdefs.h <<_ACEOF
20218 #define SIZEOF_INT $ac_cv_sizeof_int
20222 { echo "$as_me:$LINENO: checking for long" >&5
20223 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20224 if test "${ac_cv_type_long+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 cat >conftest.$ac_ext <<_ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef long ac__type_new_;
20238 if ((ac__type_new_ *) 0)
20240 if (sizeof (ac__type_new_))
20246 rm -f conftest.$ac_objext
20247 if { (ac_try="$ac_compile"
20248 case "(($ac_try" in
20249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250 *) ac_try_echo=$ac_try;;
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_compile") 2>conftest.er1
20255 grep -v '^
*+' conftest.er1 >conftest.err
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } && {
20260 test -z "$ac_c_werror_flag" ||
20261 test ! -s conftest.err
20262 } && test -s conftest.$ac_objext; then
20263 ac_cv_type_long=yes
20265 echo "$as_me: failed program was:" >&5
20266 sed 's
/^
/| /' conftest.$ac_ext >&5
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20273 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20274 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20276 # The cast to long int works around a bug in the HP C Compiler
20277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20279 # This bug is HP SR number 8606223364.
20280 { echo "$as_me:$LINENO: checking size of long" >&5
20281 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20282 if test "${ac_cv_sizeof_long+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 if test "$cross_compiling" = yes; then
20286 # Depending upon the size, compute the lo and hi bounds.
20287 cat >conftest.
$ac_ext <<_ACEOF
20290 cat confdefs.h
>>conftest.
$ac_ext
20291 cat >>conftest.
$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef long ac__type_sizeof_;
20298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20305 rm -f conftest.
$ac_objext
20306 if { (ac_try
="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20314 grep -v '^ *+' conftest.er1 >conftest.err
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20324 cat >conftest.$ac_ext <<_ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 $ac_includes_default
20331 typedef long ac__type_sizeof_;
20335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20342 rm -f conftest.$ac_objext
20343 if { (ac_try="$ac_compile"
20344 case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20346 *) ac_try_echo
=$ac_try;;
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_compile") 2>conftest.er1
20351 grep -v '^ *+' conftest.er1
>conftest.err
20353 cat conftest.err
>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest.
$ac_objext; then
20359 ac_hi
=$ac_mid; break
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.
$ac_ext >&5
20364 ac_lo
=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20369 ac_mid
=`expr 2 '*' $ac_mid + 1`
20372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.
$ac_ext >&5
20378 cat >conftest.
$ac_ext <<_ACEOF
20381 cat confdefs.h
>>conftest.
$ac_ext
20382 cat >>conftest.
$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 typedef long ac__type_sizeof_;
20389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20396 rm -f conftest.
$ac_objext
20397 if { (ac_try
="$ac_compile"
20398 case "(($ac_try" in
20399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20400 *) ac_try_echo=$ac_try;;
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403 (eval "$ac_compile") 2>conftest.er1
20405 grep -v '^ *+' conftest.er1 >conftest.err
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } && {
20410 test -z "$ac_c_werror_flag" ||
20411 test ! -s conftest.err
20412 } && test -s conftest.$ac_objext; then
20415 cat >conftest.$ac_ext <<_ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_sizeof_;
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20437 *) ac_try_echo
=$ac_try;;
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20442 grep -v '^ *+' conftest.er1
>conftest.err
20444 cat conftest.err
>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.
$ac_objext; then
20450 ac_lo
=$ac_mid; break
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.
$ac_ext >&5
20455 ac_hi
=`expr '(' $ac_mid ')' - 1`
20456 if test $ac_mid -le $ac_hi; then
20460 ac_mid
=`expr 2 '*' $ac_mid`
20463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.
$ac_ext >&5
20472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.
$ac_ext <<_ACEOF
20482 cat confdefs.h
>>conftest.
$ac_ext
20483 cat >>conftest.
$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 typedef long ac__type_sizeof_;
20490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20497 rm -f conftest.
$ac_objext
20498 if { (ac_try
="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20506 grep -v '^ *+' conftest.er1 >conftest.err
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 ac_lo=`expr '(' $ac_mid ')' + 1`
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 ?*) ac_cv_sizeof_long=$ac_lo;;
20526 '') if test "$ac_cv_type_long" = yes; then
20527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20528 See \`config.log
' for more details." >&5
20529 echo "$as_me: error: cannot compute sizeof (long)
20530 See \`config.log' for more details.
" >&2;}
20531 { (exit 77); exit 77; }; }
20533 ac_cv_sizeof_long=0
20537 cat >conftest.$ac_ext <<_ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef long ac__type_sizeof_;
20545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20548 #include <stdlib.h>
20553 FILE *f = fopen ("conftest.val
", "w
");
20556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20558 long int i = longval ();
20559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20561 fprintf (f, "%ld
\n", i);
20565 unsigned long int i = ulongval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20568 fprintf (f, "%lu
\n", i);
20570 return ferror (f) || fclose (f) != 0;
20576 rm -f conftest$ac_exeext
20577 if { (ac_try="$ac_link"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_link") 2>&5
20585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20587 { (case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_try") 2>&5
20594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long=`cat conftest.val`
20598 echo "$as_me: program exited with status
$ac_status" >&5
20599 echo "$as_me: failed program was
:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20602 ( exit $ac_status )
20603 if test "$ac_cv_type_long" = yes; then
20604 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20605 See \
`config.log' for more details." >&5
20606 echo "$as_me: error: cannot compute sizeof (long)
20607 See \`config.log
' for more details." >&2;}
20608 { (exit 77); exit 77; }; }
20610 ac_cv_sizeof_long=0
20613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20622 cat >>confdefs.h <<_ACEOF
20623 #define SIZEOF_LONG $ac_cv_sizeof_long
20627 { echo "$as_me:$LINENO: checking for size_t" >&5
20628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20629 if test "${ac_cv_type_size_t+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 cat >conftest.$ac_ext <<_ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef size_t ac__type_new_;
20643 if ((ac__type_new_ *) 0)
20645 if (sizeof (ac__type_new_))
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20660 grep -v '^
*+' conftest.er1 >conftest.err
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_cv_type_size_t=yes
20670 echo "$as_me: failed program was:" >&5
20671 sed 's
/^
/| /' conftest.$ac_ext >&5
20673 ac_cv_type_size_t=no
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20681 # The cast to long int works around a bug in the HP C Compiler
20682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20684 # This bug is HP SR number 8606223364.
20685 { echo "$as_me:$LINENO: checking size of size_t" >&5
20686 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20687 if test "${ac_cv_sizeof_size_t+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20690 if test "$cross_compiling" = yes; then
20691 # Depending upon the size, compute the lo and hi bounds.
20692 cat >conftest.
$ac_ext <<_ACEOF
20695 cat confdefs.h
>>conftest.
$ac_ext
20696 cat >>conftest.
$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 typedef size_t ac__type_sizeof_;
20703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20710 rm -f conftest.
$ac_objext
20711 if { (ac_try
="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20719 grep -v '^ *+' conftest.er1 >conftest.err
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20729 cat >conftest.$ac_ext <<_ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 typedef size_t ac__type_sizeof_;
20740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20751 *) ac_try_echo
=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20756 grep -v '^ *+' conftest.er1
>conftest.err
20758 cat conftest.err
>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.
$ac_objext; then
20764 ac_hi
=$ac_mid; break
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.
$ac_ext >&5
20769 ac_lo
=`expr $ac_mid + 1`
20770 if test $ac_lo -le $ac_mid; then
20774 ac_mid
=`expr 2 '*' $ac_mid + 1`
20777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.
$ac_ext >&5
20783 cat >conftest.
$ac_ext <<_ACEOF
20786 cat confdefs.h
>>conftest.
$ac_ext
20787 cat >>conftest.
$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef size_t ac__type_sizeof_;
20794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20801 rm -f conftest.
$ac_objext
20802 if { (ac_try
="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20810 grep -v '^ *+' conftest.er1 >conftest.err
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_sizeof_;
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20842 *) ac_try_echo
=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.
$ac_objext; then
20855 ac_lo
=$ac_mid; break
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.
$ac_ext >&5
20860 ac_hi
=`expr '(' $ac_mid ')' - 1`
20861 if test $ac_mid -le $ac_hi; then
20865 ac_mid
=`expr 2 '*' $ac_mid`
20868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20881 # Binary search between lo and hi bounds.
20882 while test "x$ac_lo" != "x$ac_hi"; do
20883 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20884 cat >conftest.
$ac_ext <<_ACEOF
20887 cat confdefs.h
>>conftest.
$ac_ext
20888 cat >>conftest.
$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890 $ac_includes_default
20891 typedef size_t ac__type_sizeof_;
20895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20902 rm -f conftest.
$ac_objext
20903 if { (ac_try
="$ac_compile"
20904 case "(($ac_try" in
20905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20906 *) ac_try_echo=$ac_try;;
20908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20909 (eval "$ac_compile") 2>conftest.er1
20911 grep -v '^ *+' conftest.er1 >conftest.err
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } && {
20916 test -z "$ac_c_werror_flag" ||
20917 test ! -s conftest.err
20918 } && test -s conftest.$ac_objext; then
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20924 ac_lo=`expr '(' $ac_mid ')' + 1`
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20930 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20931 '') if test "$ac_cv_type_size_t" = yes; then
20932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20933 See \`config.log
' for more details." >&5
20934 echo "$as_me: error: cannot compute sizeof (size_t)
20935 See \`config.log' for more details.
" >&2;}
20936 { (exit 77); exit 77; }; }
20938 ac_cv_sizeof_size_t=0
20942 cat >conftest.$ac_ext <<_ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef size_t ac__type_sizeof_;
20950 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20951 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20953 #include <stdlib.h>
20958 FILE *f = fopen ("conftest.val
", "w
");
20961 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20963 long int i = longval ();
20964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20966 fprintf (f, "%ld
\n", i);
20970 unsigned long int i = ulongval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20973 fprintf (f, "%lu
\n", i);
20975 return ferror (f) || fclose (f) != 0;
20981 rm -f conftest$ac_exeext
20982 if { (ac_try="$ac_link"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_link") 2>&5
20990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20992 { (case "(($ac_try" in
20993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20994 *) ac_try_echo=$ac_try;;
20996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20997 (eval "$ac_try") 2>&5
20999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_sizeof_size_t=`cat conftest.val`
21003 echo "$as_me: program exited with status
$ac_status" >&5
21004 echo "$as_me: failed program was
:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21007 ( exit $ac_status )
21008 if test "$ac_cv_type_size_t" = yes; then
21009 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21010 See \
`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (size_t)
21012 See \`config.log
' for more details." >&2;}
21013 { (exit 77); exit 77; }; }
21015 ac_cv_sizeof_size_t=0
21018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21022 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21023 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21027 cat >>confdefs.h <<_ACEOF
21028 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21035 { echo "$as_me:$LINENO: checking for long long" >&5
21036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21037 if test "${ac_cv_type_long_long+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 cat >conftest.$ac_ext <<_ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_new_;
21051 if ((ac__type_new_ *) 0)
21053 if (sizeof (ac__type_new_))
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21068 grep -v '^
*+' conftest.er1 >conftest.err
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_type_long_long=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's
/^
/| /' conftest.$ac_ext >&5
21081 ac_cv_type_long_long=no
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21086 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21087 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21089 # The cast to long int works around a bug in the HP C Compiler
21090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21092 # This bug is HP SR number 8606223364.
21093 { echo "$as_me:$LINENO: checking size of long long" >&5
21094 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21095 if test "${ac_cv_sizeof_long_long+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21098 if test "$cross_compiling" = yes; then
21099 # Depending upon the size, compute the lo and hi bounds.
21100 cat >conftest.
$ac_ext <<_ACEOF
21103 cat confdefs.h
>>conftest.
$ac_ext
21104 cat >>conftest.
$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef long long ac__type_sizeof_;
21111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21118 rm -f conftest.
$ac_objext
21119 if { (ac_try
="$ac_compile"
21120 case "(($ac_try" in
21121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21122 *) ac_try_echo=$ac_try;;
21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 (eval "$ac_compile") 2>conftest.er1
21127 grep -v '^ *+' conftest.er1 >conftest.err
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest.$ac_objext; then
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef long long ac__type_sizeof_;
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21159 *) ac_try_echo
=$ac_try;;
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21164 grep -v '^ *+' conftest.er1
>conftest.err
21166 cat conftest.err
>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.
$ac_objext; then
21172 ac_hi
=$ac_mid; break
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.
$ac_ext >&5
21177 ac_lo
=`expr $ac_mid + 1`
21178 if test $ac_lo -le $ac_mid; then
21182 ac_mid
=`expr 2 '*' $ac_mid + 1`
21185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 cat >conftest.
$ac_ext <<_ACEOF
21194 cat confdefs.h
>>conftest.
$ac_ext
21195 cat >>conftest.
$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long long ac__type_sizeof_;
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21209 rm -f conftest.
$ac_objext
21210 if { (ac_try
="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21218 grep -v '^ *+' conftest.er1 >conftest.err
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_sizeof_;
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21250 *) ac_try_echo
=$ac_try;;
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21255 grep -v '^ *+' conftest.er1
>conftest.err
21257 cat conftest.err
>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.
$ac_objext; then
21263 ac_lo
=$ac_mid; break
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 ac_hi
=`expr '(' $ac_mid ')' - 1`
21269 if test $ac_mid -le $ac_hi; then
21273 ac_mid
=`expr 2 '*' $ac_mid`
21276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.
$ac_ext >&5
21285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21289 # Binary search between lo and hi bounds.
21290 while test "x$ac_lo" != "x$ac_hi"; do
21291 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21292 cat >conftest.
$ac_ext <<_ACEOF
21295 cat confdefs.h
>>conftest.
$ac_ext
21296 cat >>conftest.
$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 typedef long long ac__type_sizeof_;
21303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21310 rm -f conftest.
$ac_objext
21311 if { (ac_try
="$ac_compile"
21312 case "(($ac_try" in
21313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_compile") 2>conftest.er1
21319 grep -v '^ *+' conftest.er1 >conftest.err
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } && {
21324 test -z "$ac_c_werror_flag" ||
21325 test ! -s conftest.err
21326 } && test -s conftest.$ac_objext; then
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21332 ac_lo=`expr '(' $ac_mid ')' + 1`
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21338 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21339 '') if test "$ac_cv_type_long_long" = yes; then
21340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21341 See \`config.log
' for more details." >&5
21342 echo "$as_me: error: cannot compute sizeof (long long)
21343 See \`config.log' for more details.
" >&2;}
21344 { (exit 77); exit 77; }; }
21346 ac_cv_sizeof_long_long=0
21350 cat >conftest.$ac_ext <<_ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef long long ac__type_sizeof_;
21358 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21359 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21361 #include <stdlib.h>
21366 FILE *f = fopen ("conftest.val
", "w
");
21369 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21371 long int i = longval ();
21372 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21374 fprintf (f, "%ld
\n", i);
21378 unsigned long int i = ulongval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21381 fprintf (f, "%lu
\n", i);
21383 return ferror (f) || fclose (f) != 0;
21389 rm -f conftest$ac_exeext
21390 if { (ac_try="$ac_link"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_link") 2>&5
21398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21400 { (case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_try") 2>&5
21407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_sizeof_long_long=`cat conftest.val`
21411 echo "$as_me: program exited with status
$ac_status" >&5
21412 echo "$as_me: failed program was
:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21415 ( exit $ac_status )
21416 if test "$ac_cv_type_long_long" = yes; then
21417 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21418 See \
`config.log' for more details." >&5
21419 echo "$as_me: error: cannot compute sizeof (long long)
21420 See \`config.log
' for more details." >&2;}
21421 { (exit 77); exit 77; }; }
21423 ac_cv_sizeof_long_long=0
21426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21430 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21431 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21435 cat >>confdefs.h <<_ACEOF
21436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21442 { echo "$as_me:$LINENO: checking for long long" >&5
21443 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21444 if test "${ac_cv_type_long_long+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 cat >conftest.$ac_ext <<_ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 $ac_includes_default
21454 typedef long long ac__type_new_;
21458 if ((ac__type_new_ *) 0)
21460 if (sizeof (ac__type_new_))
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21475 grep -v '^
*+' conftest.er1 >conftest.err
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21483 ac_cv_type_long_long=yes
21485 echo "$as_me: failed program was:" >&5
21486 sed 's
/^
/| /' conftest.$ac_ext >&5
21488 ac_cv_type_long_long=no
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21494 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21496 # The cast to long int works around a bug in the HP C Compiler
21497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21499 # This bug is HP SR number 8606223364.
21500 { echo "$as_me:$LINENO: checking size of long long" >&5
21501 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21502 if test "${ac_cv_sizeof_long_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 if test "$cross_compiling" = yes; then
21506 # Depending upon the size, compute the lo and hi bounds.
21507 cat >conftest.
$ac_ext <<_ACEOF
21510 cat confdefs.h
>>conftest.
$ac_ext
21511 cat >>conftest.
$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef long long ac__type_sizeof_;
21518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21525 rm -f conftest.
$ac_objext
21526 if { (ac_try
="$ac_compile"
21527 case "(($ac_try" in
21528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_compile") 2>conftest.er1
21534 grep -v '^ *+' conftest.er1 >conftest.err
21536 cat conftest.err >&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } && {
21539 test -z "$ac_c_werror_flag" ||
21540 test ! -s conftest.err
21541 } && test -s conftest.$ac_objext; then
21544 cat >conftest.$ac_ext <<_ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 typedef long long ac__type_sizeof_;
21555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21562 rm -f conftest.$ac_objext
21563 if { (ac_try="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21566 *) ac_try_echo
=$ac_try;;
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21571 grep -v '^ *+' conftest.er1
>conftest.err
21573 cat conftest.err
>&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } && {
21576 test -z "$ac_c_werror_flag" ||
21577 test ! -s conftest.err
21578 } && test -s conftest.
$ac_objext; then
21579 ac_hi
=$ac_mid; break
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.
$ac_ext >&5
21584 ac_lo
=`expr $ac_mid + 1`
21585 if test $ac_lo -le $ac_mid; then
21589 ac_mid
=`expr 2 '*' $ac_mid + 1`
21592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.
$ac_ext >&5
21598 cat >conftest.
$ac_ext <<_ACEOF
21601 cat confdefs.h
>>conftest.
$ac_ext
21602 cat >>conftest.
$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21605 typedef long long ac__type_sizeof_;
21609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21616 rm -f conftest.
$ac_objext
21617 if { (ac_try
="$ac_compile"
21618 case "(($ac_try" in
21619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_compile") 2>conftest.er1
21625 grep -v '^ *+' conftest.er1 >conftest.err
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest.$ac_objext; then
21635 cat >conftest.$ac_ext <<_ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_sizeof_;
21646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21657 *) ac_try_echo
=$ac_try;;
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21662 grep -v '^ *+' conftest.er1
>conftest.err
21664 cat conftest.err
>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.
$ac_objext; then
21670 ac_lo
=$ac_mid; break
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21675 ac_hi
=`expr '(' $ac_mid ')' - 1`
21676 if test $ac_mid -le $ac_hi; then
21680 ac_mid
=`expr 2 '*' $ac_mid`
21683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.
$ac_ext >&5
21692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21696 # Binary search between lo and hi bounds.
21697 while test "x$ac_lo" != "x$ac_hi"; do
21698 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21699 cat >conftest.
$ac_ext <<_ACEOF
21702 cat confdefs.h
>>conftest.
$ac_ext
21703 cat >>conftest.
$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef long long ac__type_sizeof_;
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21717 rm -f conftest.
$ac_objext
21718 if { (ac_try
="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21726 grep -v '^ *+' conftest.er1 >conftest.err
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21739 ac_lo=`expr '(' $ac_mid ')' + 1`
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21745 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21746 '') if test "$ac_cv_type_long_long" = yes; then
21747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21748 See \`config.log
' for more details." >&5
21749 echo "$as_me: error: cannot compute sizeof (long long)
21750 See \`config.log' for more details.
" >&2;}
21751 { (exit 77); exit 77; }; }
21753 ac_cv_sizeof_long_long=0
21757 cat >conftest.$ac_ext <<_ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long long ac__type_sizeof_;
21765 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21766 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21768 #include <stdlib.h>
21773 FILE *f = fopen ("conftest.val
", "w
");
21776 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21778 long int i = longval ();
21779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21781 fprintf (f, "%ld
\n", i);
21785 unsigned long int i = ulongval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21788 fprintf (f, "%lu
\n", i);
21790 return ferror (f) || fclose (f) != 0;
21796 rm -f conftest$ac_exeext
21797 if { (ac_try="$ac_link"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_link") 2>&5
21805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21807 { (case "(($ac_try" in
21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21809 *) ac_try_echo=$ac_try;;
21811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_try") 2>&5
21814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_sizeof_long_long=`cat conftest.val`
21818 echo "$as_me: program exited with status
$ac_status" >&5
21819 echo "$as_me: failed program was
:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21822 ( exit $ac_status )
21823 if test "$ac_cv_type_long_long" = yes; then
21824 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21825 See \
`config.log' for more details." >&5
21826 echo "$as_me: error: cannot compute sizeof (long long)
21827 See \`config.log
' for more details." >&2;}
21828 { (exit 77); exit 77; }; }
21830 ac_cv_sizeof_long_long=0
21833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21837 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21838 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21842 cat >>confdefs.h <<_ACEOF
21843 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21847 if test "$ac_cv_sizeof_long_long" != 0; then
21848 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21852 { echo "$as_me:$LINENO: checking for long long" >&5
21853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21854 if test "${ac_cv_type_long_long+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21857 cat >conftest.$ac_ext <<_ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_new_;
21868 if ((ac__type_new_ *) 0)
21870 if (sizeof (ac__type_new_))
21876 rm -f conftest.$ac_objext
21877 if { (ac_try="$ac_compile"
21878 case "(($ac_try" in
21879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880 *) ac_try_echo=$ac_try;;
21882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883 (eval "$ac_compile") 2>conftest.er1
21885 grep -v '^
*+' conftest.er1 >conftest.err
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } && {
21890 test -z "$ac_c_werror_flag" ||
21891 test ! -s conftest.err
21892 } && test -s conftest.$ac_objext; then
21893 ac_cv_type_long_long=yes
21895 echo "$as_me: failed program was:" >&5
21896 sed 's
/^
/| /' conftest.$ac_ext >&5
21898 ac_cv_type_long_long=no
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21906 # The cast to long int works around a bug in the HP C Compiler
21907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21909 # This bug is HP SR number 8606223364.
21910 { echo "$as_me:$LINENO: checking size of long long" >&5
21911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21912 if test "${ac_cv_sizeof_long_long+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21915 if test "$cross_compiling" = yes; then
21916 # Depending upon the size, compute the lo and hi bounds.
21917 cat >conftest.
$ac_ext <<_ACEOF
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21935 rm -f conftest.
$ac_objext
21936 if { (ac_try
="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21944 grep -v '^ *+' conftest.er1 >conftest.err
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21954 cat >conftest.$ac_ext <<_ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21976 *) ac_try_echo
=$ac_try;;
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21981 grep -v '^ *+' conftest.er1
>conftest.err
21983 cat conftest.err
>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } && {
21986 test -z "$ac_c_werror_flag" ||
21987 test ! -s conftest.err
21988 } && test -s conftest.
$ac_objext; then
21989 ac_hi
=$ac_mid; break
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.
$ac_ext >&5
21994 ac_lo
=`expr $ac_mid + 1`
21995 if test $ac_lo -le $ac_mid; then
21999 ac_mid
=`expr 2 '*' $ac_mid + 1`
22002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.
$ac_ext >&5
22008 cat >conftest.
$ac_ext <<_ACEOF
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22026 rm -f conftest.
$ac_objext
22027 if { (ac_try
="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22035 grep -v '^ *+' conftest.er1 >conftest.err
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22045 cat >conftest.$ac_ext <<_ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_sizeof_;
22056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22067 *) ac_try_echo
=$ac_try;;
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.
$ac_objext; then
22080 ac_lo
=$ac_mid; break
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.
$ac_ext >&5
22085 ac_hi
=`expr '(' $ac_mid ')' - 1`
22086 if test $ac_mid -le $ac_hi; then
22090 ac_mid
=`expr 2 '*' $ac_mid`
22093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.
$ac_ext >&5
22102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22106 # Binary search between lo and hi bounds.
22107 while test "x$ac_lo" != "x$ac_hi"; do
22108 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22109 cat >conftest.
$ac_ext <<_ACEOF
22112 cat confdefs.h
>>conftest.
$ac_ext
22113 cat >>conftest.
$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef long long ac__type_sizeof_;
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 rm -f conftest.
$ac_objext
22128 if { (ac_try
="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22136 grep -v '^ *+' conftest.er1 >conftest.err
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22149 ac_lo=`expr '(' $ac_mid ')' + 1`
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22156 '') if test "$ac_cv_type_long_long" = yes; then
22157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22158 See \`config.log
' for more details." >&5
22159 echo "$as_me: error: cannot compute sizeof (long long)
22160 See \`config.log' for more details.
" >&2;}
22161 { (exit 77); exit 77; }; }
22163 ac_cv_sizeof_long_long=0
22167 cat >conftest.$ac_ext <<_ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long long ac__type_sizeof_;
22175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22178 #include <stdlib.h>
22183 FILE *f = fopen ("conftest.val
", "w
");
22186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22188 long int i = longval ();
22189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22191 fprintf (f, "%ld
\n", i);
22195 unsigned long int i = ulongval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22198 fprintf (f, "%lu
\n", i);
22200 return ferror (f) || fclose (f) != 0;
22206 rm -f conftest$ac_exeext
22207 if { (ac_try="$ac_link"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_link") 2>&5
22215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_try") 2>&5
22224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_sizeof_long_long=`cat conftest.val`
22228 echo "$as_me: program exited with status
$ac_status" >&5
22229 echo "$as_me: failed program was
:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22232 ( exit $ac_status )
22233 if test "$ac_cv_type_long_long" = yes; then
22234 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22235 See \
`config.log' for more details." >&5
22236 echo "$as_me: error: cannot compute sizeof (long long)
22237 See \`config.log
' for more details." >&2;}
22238 { (exit 77); exit 77; }; }
22240 ac_cv_sizeof_long_long=0
22243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22252 cat >>confdefs.h <<_ACEOF
22253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22259 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22260 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22261 if test "${ac_cv_type_wchar_t+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 cat >conftest.$ac_ext <<_ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22271 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22272 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22273 # error "fake wchar_t"
22275 #ifdef HAVE_WCHAR_H
22277 # include <stddef.h>
22279 # include <wchar.h>
22281 #ifdef HAVE_STDLIB_H
22282 # include <stdlib.h>
22288 typedef wchar_t ac__type_new_
;
22292 if ((ac__type_new_
*) 0)
22294 if (sizeof
(ac__type_new_
))
22300 rm -f conftest.
$ac_objext
22301 if { (ac_try
="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22309 grep -v '^ *+' conftest.er1 >conftest.err
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22317 ac_cv_type_wchar_t=yes
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22322 ac_cv_type_wchar_t=no
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22327 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22328 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22330 # The cast to long int works around a bug in the HP C Compiler
22331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22332 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22333 # This bug is HP SR number 8606223364.
22334 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22335 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22336 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 if test "$cross_compiling" = yes; then
22340 # Depending upon the size, compute the lo and hi bounds.
22341 cat >conftest.$ac_ext <<_ACEOF
22344 cat confdefs.h >>conftest.$ac_ext
22345 cat >>conftest.$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22348 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22350 # error "fake wchar_t"
22352 #ifdef HAVE_WCHAR_H
22354 # include <stddef.h>
22356 # include <wchar.h>
22358 #ifdef HAVE_STDLIB_H
22359 # include <stdlib.h>
22365 typedef wchar_t ac__type_sizeof_
;
22369 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22376 rm -f conftest.
$ac_objext
22377 if { (ac_try
="$ac_compile"
22378 case "(($ac_try" in
22379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_compile") 2>conftest.er1
22385 grep -v '^ *+' conftest.er1 >conftest.err
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && {
22390 test -z "$ac_c_werror_flag" ||
22391 test ! -s conftest.err
22392 } && test -s conftest.$ac_objext; then
22395 cat >conftest.$ac_ext <<_ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22402 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22403 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22404 # error "fake wchar_t"
22406 #ifdef HAVE_WCHAR_H
22408 # include <stddef.h>
22410 # include <wchar.h>
22412 #ifdef HAVE_STDLIB_H
22413 # include <stdlib.h>
22419 typedef wchar_t ac__type_sizeof_;
22423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22430 rm -f conftest.$ac_objext
22431 if { (ac_try="$ac_compile"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22434 *) ac_try_echo
=$ac_try;;
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_compile") 2>conftest.er1
22439 grep -v '^ *+' conftest.er1
>conftest.err
22441 cat conftest.err
>&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); } && {
22444 test -z "$ac_c_werror_flag" ||
22445 test ! -s conftest.err
22446 } && test -s conftest.
$ac_objext; then
22447 ac_hi
=$ac_mid; break
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.
$ac_ext >&5
22452 ac_lo
=`expr $ac_mid + 1`
22453 if test $ac_lo -le $ac_mid; then
22457 ac_mid
=`expr 2 '*' $ac_mid + 1`
22460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.
$ac_ext >&5
22466 cat >conftest.
$ac_ext <<_ACEOF
22469 cat confdefs.h
>>conftest.
$ac_ext
22470 cat >>conftest.
$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22475 # error "fake wchar_t"
22477 #ifdef HAVE_WCHAR_H
22479 # include <stddef.h>
22481 # include <wchar.h>
22483 #ifdef HAVE_STDLIB_H
22484 # include <stdlib.h>
22490 typedef wchar_t ac__type_sizeof_;
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22501 rm -f conftest.
$ac_objext
22502 if { (ac_try
="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22510 grep -v '^ *+' conftest.er1 >conftest.err
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22520 cat >conftest.$ac_ext <<_ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22527 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22528 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22529 # error "fake wchar_t"
22531 #ifdef HAVE_WCHAR_H
22533 # include <stddef.h>
22535 # include <wchar.h>
22537 #ifdef HAVE_STDLIB_H
22538 # include <stdlib.h>
22544 typedef wchar_t ac__type_sizeof_;
22548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22559 *) ac_try_echo
=$ac_try;;
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22564 grep -v '^ *+' conftest.er1
>conftest.err
22566 cat conftest.err
>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.
$ac_objext; then
22572 ac_lo
=$ac_mid; break
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.
$ac_ext >&5
22577 ac_hi
=`expr '(' $ac_mid ')' - 1`
22578 if test $ac_mid -le $ac_hi; then
22582 ac_mid
=`expr 2 '*' $ac_mid`
22585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.
$ac_ext >&5
22594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22598 # Binary search between lo and hi bounds.
22599 while test "x$ac_lo" != "x$ac_hi"; do
22600 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22601 cat >conftest.
$ac_ext <<_ACEOF
22604 cat confdefs.h
>>conftest.
$ac_ext
22605 cat >>conftest.
$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22608 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22609 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22610 # error "fake wchar_t"
22612 #ifdef HAVE_WCHAR_H
22614 # include <stddef.h>
22616 # include <wchar.h>
22618 #ifdef HAVE_STDLIB_H
22619 # include <stdlib.h>
22625 typedef wchar_t ac__type_sizeof_;
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22636 rm -f conftest.
$ac_objext
22637 if { (ac_try
="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22645 grep -v '^ *+' conftest.er1 >conftest.err
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22658 ac_lo=`expr '(' $ac_mid ')' + 1`
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22665 '') if test "$ac_cv_type_wchar_t" = yes; then
22666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22667 See \`config.log
' for more details." >&5
22668 echo "$as_me: error: cannot compute sizeof (wchar_t)
22669 See \`config.log' for more details.
" >&2;}
22670 { (exit 77); exit 77; }; }
22672 ac_cv_sizeof_wchar_t=0
22676 cat >conftest.$ac_ext <<_ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22683 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22684 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22685 # error "fake wchar_t
"
22687 #ifdef HAVE_WCHAR_H
22689 # include <stddef.h>
22691 # include <wchar.h>
22693 #ifdef HAVE_STDLIB_H
22694 # include <stdlib.h>
22700 typedef wchar_t ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22704 #include <stdlib.h>
22709 FILE *f = fopen ("conftest.val
", "w
");
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22717 fprintf (f, "%ld
\n", i);
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 fprintf (f, "%lu
\n", i);
22726 return ferror (f) || fclose (f) != 0;
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_wchar_t=`cat conftest.val`
22754 echo "$as_me: program exited with status
$ac_status" >&5
22755 echo "$as_me: failed program was
:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_wchar_t" = yes; then
22760 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22761 See \
`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (wchar_t)
22763 See \`config.log
' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22766 ac_cv_sizeof_wchar_t=0
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22783 if test "$ac_cv_sizeof_wchar_t" != 0; then
22789 { echo "$as_me:$LINENO: checking for va_copy" >&5
22790 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22791 if test "${wx_cv_func_va_copy+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22798 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22801 cat >conftest.$ac_ext <<_ACEOF
22803 #include <stdarg.h>
22804 void foo(char *f, ...)
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (ac_try="$ac_link"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_link") 2>conftest.er1
22827 grep -v '^
*+' conftest.er1 >conftest.err
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_cxx_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest$ac_exeext &&
22835 $as_test_x conftest$ac_exeext; then
22836 wx_cv_func_va_copy=yes
22838 echo "$as_me: failed program was:" >&5
22839 sed 's
/^
/| /' conftest.$ac_ext >&5
22841 wx_cv_func_va_copy=no
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22850 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22856 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22857 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22859 if test $wx_cv_func_va_copy = "yes"; then
22860 cat >>confdefs.h <<\_ACEOF
22861 #define HAVE_VA_COPY 1
22865 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22866 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22867 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22871 if test "$cross_compiling" = yes; then
22872 wx_cv_type_va_list_lvalue=yes
22875 cat >conftest.$ac_ext <<_ACEOF
22877 #include <stdarg.h>
22878 int foo(char *f, ...)
22883 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22891 return foo("hi", 17);
22894 rm -f conftest$ac_exeext
22895 if { (ac_try="$ac_link"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_link") 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 wx_cv_type_va_list_lvalue=yes
22916 echo "$as_me: program exited with status $ac_status" >&5
22917 echo "$as_me: failed program was:" >&5
22918 sed 's
/^
/| /' conftest.$ac_ext >&5
22920 ( exit $ac_status )
22921 wx_cv_type_va_list_lvalue=no
22923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22930 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22931 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22933 if test $wx_cv_type_va_list_lvalue != "yes"; then
22934 cat >>confdefs.h <<\_ACEOF
22935 #define VA_LIST_IS_ARRAY 1
22941 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22943 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22944 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22945 if test "${wx_cv_have_variadic_macros+set}" = set; then
22946 echo $ECHO_N "(cached) $ECHO_C" >&6
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22952 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat >conftest.$ac_ext <<_ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22963 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22969 test("%s %d %p", "test", 1, 0);
22976 rm -f conftest.$ac_objext
22977 if { (ac_try="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22985 grep -v '^
*+' conftest.er1 >conftest.err
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22993 wx_cv_have_variadic_macros=yes
22995 echo "$as_me: failed program was:" >&5
22996 sed 's
/^
/| /' conftest.$ac_ext >&5
22998 wx_cv_have_variadic_macros=no
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 ac_cpp='$CPP $CPPFLAGS'
23005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23006 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23012 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23013 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23015 if test $wx_cv_have_variadic_macros = "yes"; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_VARIADIC_MACROS 1
23023 # Check whether --enable-largefile was given.
23024 if test "${enable_largefile+set}" = set; then
23025 enableval=$enable_largefile;
23028 if test "$enable_largefile" != no; then
23031 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23032 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23033 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 cat >conftest.$ac_ext <<_ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 #define _FILE_OFFSET_BITS 64
23044 #include <sys/types.h>
23049 unsigned int field: sizeof(off_t) == 8;
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23065 grep -v '^
*+' conftest.er1 >conftest.err
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_c_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_sys_file_offset_bits=64
23075 echo "$as_me: failed program was:" >&5
23076 sed 's
/^
/| /' conftest.$ac_ext >&5
23078 ac_cv_sys_file_offset_bits=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23086 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23088 if test "$ac_cv_sys_file_offset_bits" != no; then
23090 cat >>confdefs.h <<_ACEOF
23091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23096 if test "x$wx_largefile" != "xyes"; then
23098 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23099 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23100 if test "${ac_cv_sys_large_files+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 cat >conftest.$ac_ext <<_ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #define _LARGE_FILES 1
23111 #include <sys/types.h>
23116 unsigned int field: sizeof(off_t) == 8;
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23132 grep -v '^
*+' conftest.er1 >conftest.err
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_sys_large_files=1
23142 echo "$as_me: failed program was:" >&5
23143 sed 's
/^
/| /' conftest.$ac_ext >&5
23145 ac_cv_sys_large_files=no
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23153 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23155 if test "$ac_cv_sys_large_files" != no; then
23157 cat >>confdefs.h <<_ACEOF
23158 #define _LARGE_FILES $ac_cv_sys_large_files
23165 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23166 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23167 if test "x$wx_largefile" = "xyes"; then
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_LARGEFILE_SUPPORT 1
23173 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23174 echo "${ECHO_T}$wx_largefile" >&6; }
23178 if test "x$wx_largefile" = "xyes"; then
23179 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23182 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23183 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23184 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23185 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 ac_cpp='$CXXCPP $CPPFLAGS'
23191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23192 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195 cat >conftest.$ac_ext <<_ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23206 #ifndef __STDC_EXT__
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23223 grep -v '^
*+' conftest.er1 >conftest.err
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_cxx_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 wx_cv_STDC_EXT_required=no
23233 echo "$as_me: failed program was:" >&5
23234 sed 's
/^
/| /' conftest.$ac_ext >&5
23236 wx_cv_STDC_EXT_required=yes
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 ac_cpp='$CPP $CPPFLAGS'
23243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23244 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23251 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23252 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23257 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23259 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23260 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23261 if test "${ac_cv_sys_largefile_source+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 cat >conftest.$ac_ext <<_ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #include <sys/types.h> /* for off_t */
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23291 grep -v '^
*+' conftest.er1 >conftest.err
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=no; break
23302 echo "$as_me: failed program was:" >&5
23303 sed 's
/^
/| /' conftest.$ac_ext >&5
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 cat >conftest.$ac_ext <<_ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 #define _LARGEFILE_SOURCE 1
23317 #include <sys/types.h> /* for off_t */
23322 int (*fp) (FILE *, off_t, int) = fseeko;
23323 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23337 grep -v '^
*+' conftest.er1 >conftest.err
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest$ac_exeext &&
23345 $as_test_x conftest$ac_exeext; then
23346 ac_cv_sys_largefile_source=1; break
23348 echo "$as_me: failed program was:" >&5
23349 sed 's
/^
/| /' conftest.$ac_ext >&5
23354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23355 conftest$ac_exeext conftest.$ac_ext
23356 ac_cv_sys_largefile_source=unknown
23360 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23361 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23362 case $ac_cv_sys_largefile_source in #(
23365 cat >>confdefs.h <<_ACEOF
23366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23373 # in glibc 2.1.3, but that breaks too many other things.
23374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23375 if test $ac_cv_sys_largefile_source != unknown; then
23377 cat >>confdefs.h <<\_ACEOF
23378 #define HAVE_FSEEKO 1
23383 if test "$ac_cv_sys_largefile_source" != no; then
23384 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23388 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23389 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23390 if test "${ac_cv_c_bigendian+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 ac_cv_c_bigendian=unknown
23394 # See if sys/param.h defines the BYTE_ORDER macro.
23395 cat >conftest.$ac_ext <<_ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <sys/types.h>
23402 #include <sys/param.h>
23407 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23408 bogus endian macros
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23423 grep -v '^
*+' conftest.er1 >conftest.err
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23431 # It does; now see whether it defined to BIG_ENDIAN or not.
23432 cat >conftest.$ac_ext <<_ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <sys/types.h>
23439 #include <sys/param.h>
23444 #if BYTE_ORDER != BIG_ENDIAN
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23460 grep -v '^
*+' conftest.er1 >conftest.err
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_cv_c_bigendian=yes
23470 echo "$as_me: failed program was:" >&5
23471 sed 's
/^
/| /' conftest.$ac_ext >&5
23473 ac_cv_c_bigendian=no
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23478 echo "$as_me: failed program was:" >&5
23479 sed 's
/^
/| /' conftest.$ac_ext >&5
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 if test $ac_cv_c_bigendian = unknown; then
23486 if test "$cross_compiling" = yes; then
23487 ac_cv_c_bigendian=unknown
23489 cat >conftest.$ac_ext <<_ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23496 /* Are we little or big endian? From Harbison&Steele. */
23500 char c[sizeof (long)];
23503 exit (u.c[sizeof (long) - 1] == 1);
23506 rm -f conftest$ac_exeext
23507 if { (ac_try="$ac_link"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_link") 2>&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23517 { (case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_try") 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_c_bigendian=no
23528 echo "$as_me: program exited with status $ac_status" >&5
23529 echo "$as_me: failed program was:" >&5
23530 sed 's
/^
/| /' conftest.$ac_ext >&5
23532 ( exit $ac_status )
23533 ac_cv_c_bigendian=yes
23535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23541 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23542 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23543 if test $ac_cv_c_bigendian = unknown; then
23544 { 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
23545 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;}
23547 if test $ac_cv_c_bigendian = yes; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define WORDS_BIGENDIAN 1
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23560 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23565 for ac_header in iostream
23567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 cat >conftest.$ac_ext <<_ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23581 #include <$ac_header>
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23592 grep -v '^
*+' conftest.er1 >conftest.err
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_cxx_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 eval "$as_ac_Header=yes"
23602 echo "$as_me: failed program was:" >&5
23603 sed 's
/^
/| /' conftest.$ac_ext >&5
23605 eval "$as_ac_Header=no"
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_res=`eval echo '${'$as_ac_Header'}'`
23611 { echo "$as_me:$LINENO: result: $ac_res" >&5
23612 echo "${ECHO_T}$ac_res" >&6; }
23613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23614 cat >>confdefs.h <<_ACEOF
23615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23623 if test "$ac_cv_header_iostream" = "yes" ; then
23626 cat >>confdefs.h <<\_ACEOF
23627 #define wxUSE_IOSTREAMH 1
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23635 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23641 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23642 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23643 if test "${wx_cv_cpp_bool+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23651 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655 cat >conftest.$ac_ext <<_ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23675 rm -f conftest.$ac_objext
23676 if { (ac_try="$ac_compile"
23677 case "(($ac_try" in
23678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23679 *) ac_try_echo=$ac_try;;
23681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682 (eval "$ac_compile") 2>conftest.er1
23684 grep -v '^
*+' conftest.er1 >conftest.err
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } && {
23689 test -z "$ac_cxx_werror_flag" ||
23690 test ! -s conftest.err
23691 } && test -s conftest.$ac_objext; then
23696 echo "$as_me: failed program was:" >&5
23697 sed 's
/^
/| /' conftest.$ac_ext >&5
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23710 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23715 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23716 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23718 if test "$wx_cv_cpp_bool" = "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define HAVE_BOOL 1
23727 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23728 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23729 if test "${wx_cv_explicit+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23737 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23741 cat >conftest.$ac_ext <<_ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23748 class Foo { public: explicit Foo(int) {} };
23760 rm -f conftest.$ac_objext
23761 if { (ac_try="$ac_compile"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_compile") 2>conftest.er1
23769 grep -v '^
*+' conftest.er1 >conftest.err
23771 cat conftest.err >&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && {
23774 test -z "$ac_cxx_werror_flag" ||
23775 test ! -s conftest.err
23776 } && test -s conftest.$ac_objext; then
23778 cat >conftest.$ac_ext <<_ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23785 class Foo { public: explicit Foo(int) {} };
23786 static void TakeFoo(const Foo& foo) { }
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23808 grep -v '^
*+' conftest.er1 >conftest.err
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_cxx_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23818 echo "$as_me: failed program was:" >&5
23819 sed 's
/^
/| /' conftest.$ac_ext >&5
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23828 echo "$as_me: failed program was:" >&5
23829 sed 's
/^
/| /' conftest.$ac_ext >&5
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23838 ac_cpp='$CPP $CPPFLAGS'
23839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23840 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23845 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23846 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23848 if test "$wx_cv_explicit" = "yes"; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_EXPLICIT 1
23856 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23857 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23858 if test "${ac_cv_cxx_const_cast+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 ac_cpp='$CXXCPP $CPPFLAGS'
23864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23865 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23868 cat >conftest.$ac_ext <<_ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23878 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23883 rm -f conftest.$ac_objext
23884 if { (ac_try="$ac_compile"
23885 case "(($ac_try" in
23886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23887 *) ac_try_echo=$ac_try;;
23889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23890 (eval "$ac_compile") 2>conftest.er1
23892 grep -v '^
*+' conftest.er1 >conftest.err
23894 cat conftest.err >&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); } && {
23897 test -z "$ac_cxx_werror_flag" ||
23898 test ! -s conftest.err
23899 } && test -s conftest.$ac_objext; then
23900 ac_cv_cxx_const_cast=yes
23902 echo "$as_me: failed program was:" >&5
23903 sed 's
/^
/| /' conftest.$ac_ext >&5
23905 ac_cv_cxx_const_cast=no
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23912 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23918 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23919 if test "$ac_cv_cxx_const_cast" = yes; then
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_CONST_CAST
23927 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23928 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23929 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23936 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23939 cat >conftest.$ac_ext <<_ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <typeinfo>
23946 class Base { public : Base () {} virtual void f () = 0;};
23947 class Derived : public Base { public : Derived () {} virtual void f () {} };
23948 class Unrelated { public : Unrelated () {} };
23949 int g (Unrelated&) { return 0; }
23954 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23968 grep -v '^
*+' conftest.er1 >conftest.err
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_cxx_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 ac_cv_cxx_reinterpret_cast=yes
23978 echo "$as_me: failed program was:" >&5
23979 sed 's
/^
/| /' conftest.$ac_ext >&5
23981 ac_cv_cxx_reinterpret_cast=no
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23988 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23993 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23994 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23995 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23997 cat >>confdefs.h <<\_ACEOF
23998 #define HAVE_REINTERPRET_CAST
24003 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24004 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24005 if test "${ac_cv_cxx_static_cast+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24012 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <typeinfo>
24022 class Base { public : Base () {} virtual void f () = 0; };
24023 class Derived : public Base { public : Derived () {} virtual void f () {} };
24024 int g (Derived&) { return 0; }
24029 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24034 rm -f conftest.$ac_objext
24035 if { (ac_try="$ac_compile"
24036 case "(($ac_try" in
24037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24038 *) ac_try_echo=$ac_try;;
24040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24041 (eval "$ac_compile") 2>conftest.er1
24043 grep -v '^
*+' conftest.er1 >conftest.err
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } && {
24048 test -z "$ac_cxx_werror_flag" ||
24049 test ! -s conftest.err
24050 } && test -s conftest.$ac_objext; then
24051 ac_cv_cxx_static_cast=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's
/^
/| /' conftest.$ac_ext >&5
24056 ac_cv_cxx_static_cast=no
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24063 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24068 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24069 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24070 if test "$ac_cv_cxx_static_cast" = yes; then
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_STATIC_CAST
24079 if test "x$SUNCXX" = xyes; then
24080 CXXFLAGS="-features=tmplife $CXXFLAGS"
24083 if test "x$SUNCC" = xyes; then
24084 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24087 if test "x$SGICC" = "xyes"; then
24088 CFLAGS="-woff 3970 $CFLAGS"
24090 if test "x$SGICXX" = "xyes"; then
24091 CXXFLAGS="-woff 3970 $CXXFLAGS"
24094 if test "x$HPCC" = "xyes"; then
24095 CFLAGS="+W 2011,2450 $CFLAGS"
24097 if test "x$HPCXX" = "xyes"; then
24098 CXXFLAGS="+W 2340 $CXXFLAGS"
24101 if test "x$COMPAQCXX" = "xyes"; then
24102 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24106 ac_cpp='$CXXCPP $CPPFLAGS'
24107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24108 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24112 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24113 if test "$wxUSE_UNICODE" = "yes"; then
24114 std_string="std::wstring"
24115 char_type="wchar_t"
24117 std_string="std::string"
24121 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24122 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdstring+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 cat >conftest.$ac_ext <<_ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24151 grep -v '^
*+' conftest.er1 >conftest.err
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 wx_cv_class_stdstring=yes
24161 echo "$as_me: failed program was:" >&5
24162 sed 's
/^
/| /' conftest.$ac_ext >&5
24164 wx_cv_class_stdstring=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24175 if test "$wx_cv_class_stdstring" = yes; then
24176 if test "$wxUSE_UNICODE" = "yes"; then
24177 cat >>confdefs.h <<\_ACEOF
24178 #define HAVE_STD_WSTRING 1
24183 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24184 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 cat >conftest.$ac_ext <<_ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24196 #ifdef HAVE_WCHAR_H
24198 # include <stddef.h>
24200 # include <wchar.h>
24202 #ifdef HAVE_STDLIB_H
24203 # include <stdlib.h>
24211 std::basic_string<$char_type> foo;
24212 const $char_type* dummy = foo.c_str();
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24226 grep -v '^
*+' conftest.er1 >conftest.err
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_class_stdbasicstring=yes
24236 echo "$as_me: failed program was:" >&5
24237 sed 's
/^
/| /' conftest.$ac_ext >&5
24239 wx_cv_class_stdbasicstring=no
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24248 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24250 if test "$wx_cv_class_stdbasicstring" != yes; then
24251 if test "$wxUSE_STL" = "yes"; then
24252 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24253 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24254 { (exit 1); exit 1; }; }
24255 elif test "$wxUSE_STD_STRING" = "yes"; then
24256 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24257 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24258 { (exit 1); exit 1; }; }
24260 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24261 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24262 wxUSE_STD_STRING=no
24268 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24269 { echo "$as_me:$LINENO: checking for std::istream" >&5
24270 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24271 if test "${ac_cv_type_std__istream+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.$ac_ext <<_ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <iostream>
24282 typedef std::istream ac__type_new_;
24286 if ((ac__type_new_ *) 0)
24288 if (sizeof (ac__type_new_))
24294 rm -f conftest.$ac_objext
24295 if { (ac_try="$ac_compile"
24296 case "(($ac_try" in
24297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298 *) ac_try_echo=$ac_try;;
24300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24301 (eval "$ac_compile") 2>conftest.er1
24303 grep -v '^
*+' conftest.er1 >conftest.err
24305 cat conftest.err >&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } && {
24308 test -z "$ac_cxx_werror_flag" ||
24309 test ! -s conftest.err
24310 } && test -s conftest.$ac_objext; then
24311 ac_cv_type_std__istream=yes
24313 echo "$as_me: failed program was:" >&5
24314 sed 's
/^
/| /' conftest.$ac_ext >&5
24316 ac_cv_type_std__istream=no
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24322 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24323 if test $ac_cv_type_std__istream = yes; then
24325 cat >>confdefs.h <<_ACEOF
24326 #define HAVE_STD__ISTREAM 1
24331 wxUSE_STD_IOSTREAM=no
24333 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24334 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24335 if test "${ac_cv_type_std__ostream+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24338 cat >conftest.$ac_ext <<_ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <iostream>
24346 typedef std::ostream ac__type_new_;
24350 if ((ac__type_new_ *) 0)
24352 if (sizeof (ac__type_new_))
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24367 grep -v '^
*+' conftest.er1 >conftest.err
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_cxx_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_cv_type_std__ostream=yes
24377 echo "$as_me: failed program was:" >&5
24378 sed 's
/^
/| /' conftest.$ac_ext >&5
24380 ac_cv_type_std__ostream=no
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24385 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24386 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24387 if test $ac_cv_type_std__ostream = yes; then
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_STD__OSTREAM 1
24395 wxUSE_STD_IOSTREAM=no
24399 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24400 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24401 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24402 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24403 { (exit 1); exit 1; }; }
24405 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24406 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24411 if test "$wxUSE_STL" = "yes"; then
24412 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24413 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24414 if test "${wx_cv_lib_stl+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 cat >conftest.$ac_ext <<_ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24424 #include <functional>
24425 #include <algorithm>
24431 std::vector<int> moo;
24432 std::list<int> foo;
24433 std::vector<int>::iterator it =
24434 std::find_if(moo.begin(), moo.end(),
24435 std::bind2nd(std::less<int>(), 3));
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24449 grep -v '^
*+' conftest.er1 >conftest.err
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_cxx_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24459 echo "$as_me: failed program was:" >&5
24460 sed 's
/^
/| /' conftest.$ac_ext >&5
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24470 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24472 if test "$wx_cv_lib_stl" != yes; then
24473 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24474 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24475 { (exit 1); exit 1; }; }
24478 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24479 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24480 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 cat >conftest.$ac_ext <<_ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24493 std::string foo, bar;
24495 foo.compare(1, 1, bar);
24496 foo.compare(1, 1, bar, 1, 1);
24498 foo.compare(1, 1, "");
24499 foo.compare(1, 1, "", 2);
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24513 grep -v '^
*+' conftest.er1 >conftest.err
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_cxx_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 wx_cv_func_stdstring_compare=yes
24523 echo "$as_me: failed program was:" >&5
24524 sed 's
/^
/| /' conftest.$ac_ext >&5
24526 wx_cv_func_stdstring_compare=no
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24534 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24536 if test "$wx_cv_func_stdstring_compare" = yes; then
24537 cat >>confdefs.h <<\_ACEOF
24538 #define HAVE_STD_STRING_COMPARE 1
24543 { echo "$as_me:$LINENO: checking for hash_map" >&5
24544 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24545 if test "${ac_cv_header_hash_map+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 cat >conftest.$ac_ext <<_ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24557 #include <hash_map>
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24568 grep -v '^
*+' conftest.er1 >conftest.err
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_header_hash_map=yes
24578 echo "$as_me: failed program was:" >&5
24579 sed 's
/^
/| /' conftest.$ac_ext >&5
24581 ac_cv_header_hash_map=no
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24587 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24588 if test $ac_cv_header_hash_map = yes; then
24589 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24590 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24591 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 cat >conftest.$ac_ext <<_ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <hash_map>
24601 #include <hash_set>
24605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24620 grep -v '^
*+' conftest.er1 >conftest.err
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_cxx_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24628 wx_cv_class_stdhashmapset=yes
24630 echo "$as_me: failed program was:" >&5
24631 sed 's
/^
/| /' conftest.$ac_ext >&5
24633 wx_cv_class_stdhashmapset=no
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24640 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24641 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24646 if test "$wx_cv_class_stdhashmapset" = yes; then
24647 cat >>confdefs.h <<\_ACEOF
24648 #define HAVE_HASH_MAP 1
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_STD_HASH_MAP 1
24657 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 cat >conftest.$ac_ext <<_ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24671 #include <ext/hash_map>
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24682 grep -v '^
*+' conftest.er1 >conftest.err
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 ac_cv_header_ext_hash_map=yes
24692 echo "$as_me: failed program was:" >&5
24693 sed 's
/^
/| /' conftest.$ac_ext >&5
24695 ac_cv_header_ext_hash_map=no
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24701 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24702 if test $ac_cv_header_ext_hash_map = yes; then
24703 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24704 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24705 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 cat >conftest.$ac_ext <<_ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 #include <ext/hash_map>
24715 #include <ext/hash_set>
24719 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24720 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24734 grep -v '^
*+' conftest.er1 >conftest.err
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } && {
24739 test -z "$ac_cxx_werror_flag" ||
24740 test ! -s conftest.err
24741 } && test -s conftest.$ac_objext; then
24742 wx_cv_class_gnuhashmapset=yes
24744 echo "$as_me: failed program was:" >&5
24745 sed 's
/^
/| /' conftest.$ac_ext >&5
24747 wx_cv_class_gnuhashmapset=no
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24755 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24760 if test "$wx_cv_class_gnuhashmapset" = yes; then
24761 cat >>confdefs.h <<\_ACEOF
24762 #define HAVE_EXT_HASH_MAP 1
24765 cat >>confdefs.h <<\_ACEOF
24766 #define HAVE_GNU_CXX_HASH_MAP 1
24774 if test -n "$GCC"; then
24775 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24776 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24777 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24781 cat >conftest.$ac_ext <<_ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24793 __sync_fetch_and_add(&value, 1);
24794 __sync_sub_and_fetch(&value, 1);
24800 rm -f conftest.$ac_objext
24801 if { (ac_try="$ac_compile"
24802 case "(($ac_try" in
24803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24804 *) ac_try_echo=$ac_try;;
24806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24807 (eval "$ac_compile") 2>conftest.er1
24809 grep -v '^
*+' conftest.er1 >conftest.err
24811 cat conftest.err >&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } && {
24814 test -z "$ac_cxx_werror_flag" ||
24815 test ! -s conftest.err
24816 } && test -s conftest.$ac_objext; then
24817 wx_cv_cc_gcc_atomic_builtins=yes
24819 echo "$as_me: failed program was:" >&5
24820 sed 's
/^
/| /' conftest.$ac_ext >&5
24822 wx_cv_cc_gcc_atomic_builtins=no
24825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24830 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24831 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_GCC_ATOMIC_BUILTINS 1
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24843 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24849 /usr/local/include \
24851 /usr/Motif-2.1/include \
24852 /usr/Motif-1.2/include \
24853 /usr/include/Motif1.2 \
24856 /usr/openwin/include \
24860 /usr/X11R6/include \
24861 /usr/X11R6.4/include \
24862 /usr/X11R5/include \
24863 /usr/X11R4/include \
24865 /usr/include/X11R6 \
24866 /usr/include/X11R5 \
24867 /usr/include/X11R4 \
24869 /usr/local/X11R6/include \
24870 /usr/local/X11R5/include \
24871 /usr/local/X11R4/include \
24873 /usr/local/include/X11R6 \
24874 /usr/local/include/X11R5 \
24875 /usr/local/include/X11R4 \
24879 /usr/local/X11/include \
24880 /usr/local/include/X11 \
24882 /usr/XFree86/include/X11 \
24885 /usr/openwin/share/include"
24887 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24888 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24892 if test "${wx_cv_std_libpath+set}" = set; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24896 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24897 for e in a so sl dylib dll.a; do
24899 if test -f $libc; then
24902 cat >conftest.$ac_ext <<_ACEOF
24903 int main() { return 0; }
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24914 grep -v '^
*+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24925 echo "$as_me: failed program was:" >&5
24926 sed 's
/^
/| /' conftest.$ac_ext >&5
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24934 if test "x$wx_cv_std_libpath" != "x"; then
24940 if test "x$wx_cv_std_libpath" = "x"; then
24941 wx_cv_std_libpath="lib"
24950 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24951 wx_cv_std_libpath="lib/64"
24953 wx_cv_std_libpath="lib"
24958 if test "$ac_cv_sizeof_void_p" = 8 -a \
24959 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24960 wx_cv_std_libpath="lib64"
24962 wx_cv_std_libpath="lib"
24967 wx_cv_std_libpath="lib";
24971 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24972 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24974 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24976 if test "$build" != "$host" -a "$GCC" = yes; then
24977 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24978 cross_root=`dirname $cross_root`
24979 cross_root=`dirname $cross_root`
24981 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24982 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24983 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24985 if test -z "$PKG_CONFIG_PATH"; then
24986 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24987 export PKG_CONFIG_PATH
24990 if test -z "$x_includes" -o "$x_includes" = NONE; then
24993 for ac_dir in $SEARCH_INCLUDE /usr/include;
24995 if test -f "$ac_dir/X11/Intrinsic.h"; then
24996 ac_find_includes=$ac_dir
25001 x_includes=$ac_find_includes
25003 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25006 for ac_dir in $SEARCH_LIB;
25008 for ac_extension in a so sl dylib dll.a; do
25009 if test -f "$ac_dir/libXt.$ac_extension"; then
25010 ac_find_libraries=$ac_dir
25016 x_libraries=$ac_find_libraries
25022 cat >confcache <<\_ACEOF
25023 # This file is a shell script that caches the results of configure
25024 # tests run on this system so they can be shared between configure
25025 # scripts and configure runs, see configure's option
--config-cache.
25026 # It is not useful on other systems. If it contains results you don't
25027 # want to keep, you may remove or edit it.
25029 # config.status only pays attention to the cache file if you give it
25030 # the --recheck option to rerun configure.
25032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25034 # following values.
25038 # The following way of writing the cache mishandles newlines in values,
25039 # but we know of no workaround that is simple, portable, and efficient.
25040 # So, we kill variables containing newlines.
25041 # Ultrix sh set writes to stderr and can't be redirected directly,
25042 # and sets the high bit in the cache file unless we assign to the vars.
25044 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25045 eval ac_val
=\$
$ac_var
25049 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25050 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25053 _
| IFS
| as_nl
) ;; #(
25054 *) $as_unset $ac_var ;;
25060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25061 *${as_nl}ac_space
=\
*)
25062 # `set' does not quote correctly, so add quotes (double-quote
25063 # substitution turns \\\\ into \\, and sed turns \\ into \).
25066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25069 # `set' quotes correctly as required by POSIX, so do not add quotes.
25070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25083 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25084 if test -w "$cache_file"; then
25085 test "x$cache_file" != "x/dev/null" &&
25086 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25087 echo "$as_me: updating cache $cache_file" >&6;}
25088 cat confcache
>$cache_file
25090 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25091 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25096 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25097 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25098 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25099 if test "${wx_cv_lib_glibc21+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 cat >conftest.
$ac_ext <<_ACEOF
25106 cat confdefs.h
>>conftest.
$ac_ext
25107 cat >>conftest.
$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 #include <features.h>
25114 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25122 rm -f conftest.
$ac_objext
25123 if { (ac_try
="$ac_compile"
25124 case "(($ac_try" in
25125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_compile") 2>conftest.er1
25131 grep -v '^ *+' conftest.er1 >conftest.err
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } && {
25136 test -z "$ac_c_werror_flag" ||
25137 test ! -s conftest.err
25138 } && test -s conftest.$ac_objext; then
25140 wx_cv_lib_glibc21=yes
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25147 wx_cv_lib_glibc21=no
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25156 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25157 if test "$wx_cv_lib_glibc21" = "yes"; then
25158 cat >>confdefs.h <<\_ACEOF
25159 #define wxHAVE_GLIBC2 1
25165 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25166 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define _GNU_SOURCE 1
25179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 cat >conftest.$ac_ext <<_ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25193 #define $ac_func innocuous_$ac_func
25195 /* System header to define __stub macros and hopefully few prototypes,
25196 which can conflict with char $ac_func (); below.
25197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25198 <limits.h> exists even on freestanding compilers. */
25201 # include <limits.h>
25203 # include <assert.h>
25208 /* Override any GCC internal prototype to avoid an error.
25209 Use char because int might match the return type of a GCC
25210 builtin and then its argument prototype would still apply. */
25215 /* The GNU C library defines this for functions which it implements
25216 to always fail with ENOSYS. Some functions are actually named
25217 something starting with __ and the normal name is an alias. */
25218 #if defined __stub_$ac_func || defined __stub___$ac_func
25225 return $ac_func ();
25230 rm -f conftest.$ac_objext conftest$ac_exeext
25231 if { (ac_try="$ac_link"
25232 case "(($ac_try" in
25233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25234 *) ac_try_echo
=$ac_try;;
25236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25237 (eval "$ac_link") 2>conftest.er1
25239 grep -v '^ *+' conftest.er1
>conftest.err
25241 cat conftest.err
>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); } && {
25244 test -z "$ac_c_werror_flag" ||
25245 test ! -s conftest.err
25246 } && test -s conftest
$ac_exeext &&
25247 $as_test_x conftest
$ac_exeext; then
25248 eval "$as_ac_var=yes"
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.
$ac_ext >&5
25253 eval "$as_ac_var=no"
25256 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25257 conftest
$ac_exeext conftest.
$ac_ext
25259 ac_res
=`eval echo '${'$as_ac_var'}'`
25260 { echo "$as_me:$LINENO: result: $ac_res" >&5
25261 echo "${ECHO_T}$ac_res" >&6; }
25262 if test `eval echo '${'$as_ac_var'}'` = yes; then
25263 cat >>confdefs.h
<<_ACEOF
25264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25271 for ac_func
in floor
25273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25276 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 cat >conftest.
$ac_ext <<_ACEOF
25282 cat confdefs.h
>>conftest.
$ac_ext
25283 cat >>conftest.
$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25295 # include <limits.h>
25297 # include <assert.h>
25302 /* Override any GCC internal prototype to avoid an error.
25303 Use char because int might match the return type of a GCC
25304 builtin and then its argument prototype would still apply. */
25309 /* The GNU C library defines this for functions which it implements
25310 to always fail with ENOSYS. Some functions are actually named
25311 something starting with __ and the normal name is an alias. */
25312 #if defined __stub_$ac_func || defined __stub___$ac_func
25319 return $ac_func ();
25324 rm -f conftest.
$ac_objext conftest
$ac_exeext
25325 if { (ac_try
="$ac_link"
25326 case "(($ac_try" in
25327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_link") 2>conftest.er1
25333 grep -v '^ *+' conftest.er1 >conftest.err
25335 cat conftest.err >&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } && {
25338 test -z "$ac_c_werror_flag" ||
25339 test ! -s conftest.err
25340 } && test -s conftest$ac_exeext &&
25341 $as_test_x conftest$ac_exeext; then
25342 eval "$as_ac_var=yes"
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25347 eval "$as_ac_var=no"
25350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25351 conftest$ac_exeext conftest.$ac_ext
25353 ac_res=`eval echo '${'$as_ac_var'}'`
25354 { echo "$as_me:$LINENO: result: $ac_res" >&5
25355 echo "${ECHO_T}$ac_res" >&6; }
25356 if test `eval echo '${'$as_ac_var'}'` = yes; then
25357 cat >>confdefs.h <<_ACEOF
25358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25364 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25365 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25366 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25367 { echo "$as_me:$LINENO: result: yes" >&5
25368 echo "${ECHO_T}yes" >&6; }
25370 { echo "$as_me:$LINENO: result: no" >&5
25371 echo "${ECHO_T}no" >&6; }
25373 # use different functions to avoid configure caching
25379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 cat >conftest.$ac_ext <<_ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25393 #define $ac_func innocuous_$ac_func
25395 /* System header to define __stub macros and hopefully few prototypes,
25396 which can conflict with char $ac_func (); below.
25397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25398 <limits.h> exists even on freestanding compilers. */
25401 # include <limits.h>
25403 # include <assert.h>
25408 /* Override any GCC internal prototype to avoid an error.
25409 Use char because int might match the return type of a GCC
25410 builtin and then its argument prototype would still apply. */
25415 /* The GNU C library defines this for functions which it implements
25416 to always fail with ENOSYS. Some functions are actually named
25417 something starting with __ and the normal name is an alias. */
25418 #if defined __stub_$ac_func || defined __stub___$ac_func
25425 return $ac_func ();
25430 rm -f conftest.$ac_objext conftest$ac_exeext
25431 if { (ac_try="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25434 *) ac_try_echo
=$ac_try;;
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25439 grep -v '^ *+' conftest.er1
>conftest.err
25441 cat conftest.err
>&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_c_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest
$ac_exeext &&
25447 $as_test_x conftest
$ac_exeext; then
25448 eval "$as_ac_var=yes"
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.
$ac_ext >&5
25453 eval "$as_ac_var=no"
25456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25457 conftest
$ac_exeext conftest.
$ac_ext
25459 ac_res
=`eval echo '${'$as_ac_var'}'`
25460 { echo "$as_me:$LINENO: result: $ac_res" >&5
25461 echo "${ECHO_T}$ac_res" >&6; }
25462 if test `eval echo '${'$as_ac_var'}'` = yes; then
25463 cat >>confdefs.h
<<_ACEOF
25464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25471 for ac_func
in ceil
25473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25476 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 cat >conftest.
$ac_ext <<_ACEOF
25482 cat confdefs.h
>>conftest.
$ac_ext
25483 cat >>conftest.
$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25487 #define $ac_func innocuous_$ac_func
25489 /* System header to define __stub macros and hopefully few prototypes,
25490 which can conflict with char $ac_func (); below.
25491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25492 <limits.h> exists even on freestanding compilers. */
25495 # include <limits.h>
25497 # include <assert.h>
25502 /* Override any GCC internal prototype to avoid an error.
25503 Use char because int might match the return type of a GCC
25504 builtin and then its argument prototype would still apply. */
25509 /* The GNU C library defines this for functions which it implements
25510 to always fail with ENOSYS. Some functions are actually named
25511 something starting with __ and the normal name is an alias. */
25512 #if defined __stub_$ac_func || defined __stub___$ac_func
25519 return $ac_func ();
25524 rm -f conftest.
$ac_objext conftest
$ac_exeext
25525 if { (ac_try
="$ac_link"
25526 case "(($ac_try" in
25527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25528 *) ac_try_echo=$ac_try;;
25530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25531 (eval "$ac_link") 2>conftest.er1
25533 grep -v '^ *+' conftest.er1 >conftest.err
25535 cat conftest.err >&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } && {
25538 test -z "$ac_c_werror_flag" ||
25539 test ! -s conftest.err
25540 } && test -s conftest$ac_exeext &&
25541 $as_test_x conftest$ac_exeext; then
25542 eval "$as_ac_var=yes"
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25547 eval "$as_ac_var=no"
25550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25551 conftest$ac_exeext conftest.$ac_ext
25553 ac_res=`eval echo '${'$as_ac_var'}'`
25554 { echo "$as_me:$LINENO: result: $ac_res" >&5
25555 echo "${ECHO_T}$ac_res" >&6; }
25556 if test `eval echo '${'$as_ac_var'}'` = yes; then
25557 cat >>confdefs.h <<_ACEOF
25558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25564 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25565 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25566 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25567 { echo "$as_me:$LINENO: result: yes" >&5
25568 echo "${ECHO_T}yes" >&6; }
25570 { echo "$as_me:$LINENO: result: no" >&5
25571 echo "${ECHO_T}no" >&6; }
25572 # not sure we should warn the user, crash, etc.
25577 ac_cpp='$CXXCPP $CPPFLAGS'
25578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25582 if test "wxUSE_UNICODE" = "yes"; then
25584 for wx_func in wcstoull
25586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 cat >conftest.$ac_ext <<_ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25601 $ac_includes_default
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (ac_try="$ac_link"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25621 *) ac_try_echo
=$ac_try;;
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_link") 2>conftest.er1
25626 grep -v '^ *+' conftest.er1
>conftest.err
25628 cat conftest.err
>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest
$ac_exeext &&
25634 $as_test_x conftest
$ac_exeext; then
25635 eval wx_cv_func_
$wx_func=yes
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.
$ac_ext >&5
25640 eval wx_cv_func_
$wx_func=no
25643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25644 conftest
$ac_exeext conftest.
$ac_ext
25647 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25648 { echo "$as_me:$LINENO: result: $ac_res" >&5
25649 echo "${ECHO_T}$ac_res" >&6; }
25651 if eval test \
$wx_cv_func_$wx_func = yes
25653 cat >>confdefs.h
<<_ACEOF
25654 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25666 for wx_func
in strtoull
25668 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25669 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25670 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 cat >conftest.
$ac_ext <<_ACEOF
25678 cat confdefs.h
>>conftest.
$ac_ext
25679 cat >>conftest.
$ac_ext <<_ACEOF
25680 /* end confdefs.h. */
25683 $ac_includes_default
25699 rm -f conftest.
$ac_objext conftest
$ac_exeext
25700 if { (ac_try
="$ac_link"
25701 case "(($ac_try" in
25702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_link") 2>conftest.er1
25708 grep -v '^ *+' conftest.er1 >conftest.err
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest$ac_exeext &&
25716 $as_test_x conftest$ac_exeext; then
25717 eval wx_cv_func_$wx_func=yes
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25722 eval wx_cv_func_$wx_func=no
25725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25726 conftest$ac_exeext conftest.$ac_ext
25729 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25730 { echo "$as_me:$LINENO: result: $ac_res" >&5
25731 echo "${ECHO_T}$ac_res" >&6; }
25733 if eval test \$wx_cv_func_$wx_func = yes
25735 cat >>confdefs.h <<_ACEOF
25736 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25748 ac_cpp='$CPP $CPPFLAGS'
25749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25756 if test "$wxUSE_REGEX" != "no"; then
25757 cat >>confdefs.h <<\_ACEOF
25758 #define wxUSE_REGEX 1
25762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25763 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25764 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25765 wxUSE_REGEX=builtin
25768 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25769 { echo "$as_me:$LINENO: checking for regex.h" >&5
25770 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25771 if test "${ac_cv_header_regex_h+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25774 cat >conftest.$ac_ext <<_ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25784 rm -f conftest.$ac_objext
25785 if { (ac_try="$ac_compile"
25786 case "(($ac_try" in
25787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25788 *) ac_try_echo
=$ac_try;;
25790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25791 (eval "$ac_compile") 2>conftest.er1
25793 grep -v '^ *+' conftest.er1
>conftest.err
25795 cat conftest.err
>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); } && {
25798 test -z "$ac_c_werror_flag" ||
25799 test ! -s conftest.err
25800 } && test -s conftest.
$ac_objext; then
25801 ac_cv_header_regex_h
=yes
25803 echo "$as_me: failed program was:" >&5
25804 sed 's/^/| /' conftest.
$ac_ext >&5
25806 ac_cv_header_regex_h
=no
25809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25811 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25812 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25813 if test $ac_cv_header_regex_h = yes; then
25816 for ac_func
in regcomp re_search
25818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25821 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 cat >conftest.
$ac_ext <<_ACEOF
25827 cat confdefs.h
>>conftest.
$ac_ext
25828 cat >>conftest.
$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25832 #define $ac_func innocuous_$ac_func
25834 /* System header to define __stub macros and hopefully few prototypes,
25835 which can conflict with char $ac_func (); below.
25836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25837 <limits.h> exists even on freestanding compilers. */
25840 # include <limits.h>
25842 # include <assert.h>
25847 /* Override any GCC internal prototype to avoid an error.
25848 Use char because int might match the return type of a GCC
25849 builtin and then its argument prototype would still apply. */
25854 /* The GNU C library defines this for functions which it implements
25855 to always fail with ENOSYS. Some functions are actually named
25856 something starting with __ and the normal name is an alias. */
25857 #if defined __stub_$ac_func || defined __stub___$ac_func
25864 return $ac_func ();
25869 rm -f conftest.
$ac_objext conftest
$ac_exeext
25870 if { (ac_try
="$ac_link"
25871 case "(($ac_try" in
25872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_link") 2>conftest.er1
25878 grep -v '^ *+' conftest.er1 >conftest.err
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } && {
25883 test -z "$ac_c_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest$ac_exeext &&
25886 $as_test_x conftest$ac_exeext; then
25887 eval "$as_ac_var=yes"
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25892 eval "$as_ac_var=no"
25895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25896 conftest$ac_exeext conftest.$ac_ext
25898 ac_res=`eval echo '${'$as_ac_var'}'`
25899 { echo "$as_me:$LINENO: result: $ac_res" >&5
25900 echo "${ECHO_T}$ac_res" >&6; }
25901 if test `eval echo '${'$as_ac_var'}'` = yes; then
25902 cat >>confdefs.h <<_ACEOF
25903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25913 if test "x$ac_cv_func_regcomp" != "xyes"; then
25914 if test "$wxUSE_REGEX" = "sys" ; then
25915 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25916 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25917 { (exit 1); exit 1; }; }
25919 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25920 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25921 wxUSE_REGEX=builtin
25925 cat >>confdefs.h <<\_ACEOF
25926 #define WX_NO_REGEX_ADVANCED 1
25935 if test "$wxUSE_ZLIB" != "no" ; then
25936 cat >>confdefs.h <<\_ACEOF
25937 #define wxUSE_ZLIB 1
25941 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25942 if test "$USE_DARWIN" = 1; then
25943 system_zlib_h_ok="yes"
25945 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25946 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25947 if test "${ac_cv_header_zlib_h+set}" = set; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 if test "$cross_compiling" = yes; then
25951 unset ac_cv_header_zlib_h
25954 cat >conftest.$ac_ext <<_ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25966 FILE *f=fopen("conftestval", "w");
25969 ZLIB_VERSION[0] == '1' &&
25970 (ZLIB_VERSION[2] > '1' ||
25971 (ZLIB_VERSION[2] == '1' &&
25972 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25977 rm -f conftest$ac_exeext
25978 if { (ac_try="$ac_link"
25979 case "(($ac_try" in
25980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25981 *) ac_try_echo
=$ac_try;;
25983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25984 (eval "$ac_link") 2>&5
25986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25988 { (case "(($ac_try" in
25989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25990 *) ac_try_echo=$ac_try;;
25992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25993 (eval "$ac_try") 2>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; }; then
25997 ac_cv_header_zlib_h=`cat conftestval
`
25999 echo "$as_me: program exited with status $ac_status" >&5
26000 echo "$as_me: failed program was:" >&5
26001 sed 's/^/| /' conftest.$ac_ext >&5
26003 ( exit $ac_status )
26004 ac_cv_header_zlib_h=no
26006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26012 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26013 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26014 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26015 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26016 if test "${ac_cv_header_zlib_h+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26019 cat >conftest.$ac_ext <<_ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26033 *) ac_try_echo
=$ac_try;;
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26038 grep -v '^ *+' conftest.er1
>conftest.err
26040 cat conftest.err
>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.
$ac_objext; then
26046 ac_cv_header_zlib_h
=yes
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.
$ac_ext >&5
26051 ac_cv_header_zlib_h
=no
26054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26056 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26057 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26061 system_zlib_h_ok
=$ac_cv_header_zlib_h
26064 if test "$system_zlib_h_ok" = "yes"; then
26065 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26066 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26067 if test "${ac_cv_lib_z_deflate+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 ac_check_lib_save_LIBS
=$LIBS
26072 cat >conftest.
$ac_ext <<_ACEOF
26075 cat confdefs.h
>>conftest.
$ac_ext
26076 cat >>conftest.
$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26079 /* Override any GCC internal prototype to avoid an error.
26080 Use char because int might match the return type of a GCC
26081 builtin and then its argument prototype would still apply. */
26094 rm -f conftest.
$ac_objext conftest
$ac_exeext
26095 if { (ac_try
="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26103 grep -v '^ *+' conftest.er1 >conftest.err
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 ac_cv_lib_z_deflate=yes
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26117 ac_cv_lib_z_deflate=no
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26122 LIBS=$ac_check_lib_save_LIBS
26124 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26125 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26126 if test $ac_cv_lib_z_deflate = yes; then
26132 if test "x$ZLIB_LINK" = "x" ; then
26133 if test "$wxUSE_ZLIB" = "sys" ; then
26134 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26135 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26136 { (exit 1); exit 1; }; }
26138 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26139 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26150 if test "$wxUSE_LIBPNG" != "no" ; then
26151 cat >>confdefs.h <<\_ACEOF
26152 #define wxUSE_LIBPNG 1
26156 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26157 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26158 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26162 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26163 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26164 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26165 wxUSE_LIBPNG=builtin
26168 if test "$wxUSE_MGL" != 1 ; then
26169 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26170 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26171 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26172 if test "${ac_cv_header_png_h+set}" = set; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26175 if test "$cross_compiling" = yes; then
26176 unset ac_cv_header_png_h
26179 cat >conftest.$ac_ext <<_ACEOF
26182 cat confdefs.h >>conftest.$ac_ext
26183 cat >>conftest.$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26191 FILE *f=fopen("conftestval", "w");
26194 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26199 rm -f conftest$ac_exeext
26200 if { (ac_try="$ac_link"
26201 case "(($ac_try" in
26202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26203 *) ac_try_echo
=$ac_try;;
26205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26206 (eval "$ac_link") 2>&5
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26210 { (case "(($ac_try" in
26211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_try") 2>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_header_png_h=`cat conftestval
`
26221 echo "$as_me: program exited with status $ac_status" >&5
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26225 ( exit $ac_status )
26226 ac_cv_header_png_h=no
26228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26234 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26235 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26236 { echo "$as_me:$LINENO: checking for png.h" >&5
26237 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26238 if test "${ac_cv_header_png_h+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
26241 cat >conftest.$ac_ext <<_ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26251 rm -f conftest.$ac_objext
26252 if { (ac_try="$ac_compile"
26253 case "(($ac_try" in
26254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26255 *) ac_try_echo
=$ac_try;;
26257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26258 (eval "$ac_compile") 2>conftest.er1
26260 grep -v '^ *+' conftest.er1
>conftest.err
26262 cat conftest.err
>&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } && {
26265 test -z "$ac_c_werror_flag" ||
26266 test ! -s conftest.err
26267 } && test -s conftest.
$ac_objext; then
26268 ac_cv_header_png_h
=yes
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.
$ac_ext >&5
26273 ac_cv_header_png_h
=no
26276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26278 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26279 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26283 if test "$ac_cv_header_png_h" = "yes"; then
26284 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26285 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26286 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 ac_check_lib_save_LIBS
=$LIBS
26290 LIBS
="-lpng -lz -lm $LIBS"
26291 cat >conftest.
$ac_ext <<_ACEOF
26294 cat confdefs.h
>>conftest.
$ac_ext
26295 cat >>conftest.
$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26298 /* Override any GCC internal prototype to avoid an error.
26299 Use char because int might match the return type of a GCC
26300 builtin and then its argument prototype would still apply. */
26304 char png_check_sig ();
26308 return png_check_sig ();
26313 rm -f conftest.
$ac_objext conftest
$ac_exeext
26314 if { (ac_try
="$ac_link"
26315 case "(($ac_try" in
26316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26317 *) ac_try_echo=$ac_try;;
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_link") 2>conftest.er1
26322 grep -v '^ *+' conftest.er1 >conftest.err
26324 cat conftest.err >&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); } && {
26327 test -z "$ac_c_werror_flag" ||
26328 test ! -s conftest.err
26329 } && test -s conftest$ac_exeext &&
26330 $as_test_x conftest$ac_exeext; then
26331 ac_cv_lib_png_png_check_sig=yes
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.$ac_ext >&5
26336 ac_cv_lib_png_png_check_sig=no
26339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26340 conftest$ac_exeext conftest.$ac_ext
26341 LIBS=$ac_check_lib_save_LIBS
26343 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26344 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26345 if test $ac_cv_lib_png_png_check_sig = yes; then
26346 PNG_LINK=" -lpng -lz"
26351 if test "x$PNG_LINK" = "x" ; then
26352 if test "$wxUSE_LIBPNG" = "sys" ; then
26353 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26354 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26355 { (exit 1); exit 1; }; }
26357 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26358 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26359 wxUSE_LIBPNG=builtin
26370 if test "$wxUSE_LIBJPEG" != "no" ; then
26371 cat >>confdefs.h <<\_ACEOF
26372 #define wxUSE_LIBJPEG 1
26376 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26377 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26378 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26382 if test "$wxUSE_MGL" != 1 ; then
26383 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26384 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26385 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26386 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26387 echo $ECHO_N "(cached) $ECHO_C" >&6
26389 cat >conftest.$ac_ext <<_ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26396 #undef HAVE_STDLIB_H
26398 #include <jpeglib.h>
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26413 *) ac_try_echo
=$ac_try;;
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26418 grep -v '^ *+' conftest.er1
>conftest.err
26420 cat conftest.err
>&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_c_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.
$ac_objext; then
26426 ac_cv_header_jpeglib_h
=yes
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.
$ac_ext >&5
26431 ac_cv_header_jpeglib_h
=no
26435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26439 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26442 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26443 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26444 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26445 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 ac_check_lib_save_LIBS
=$LIBS
26449 LIBS
="-ljpeg $LIBS"
26450 cat >conftest.
$ac_ext <<_ACEOF
26453 cat confdefs.h
>>conftest.
$ac_ext
26454 cat >>conftest.
$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26457 /* Override any GCC internal prototype to avoid an error.
26458 Use char because int might match the return type of a GCC
26459 builtin and then its argument prototype would still apply. */
26463 char jpeg_read_header ();
26467 return jpeg_read_header ();
26472 rm -f conftest.
$ac_objext conftest
$ac_exeext
26473 if { (ac_try
="$ac_link"
26474 case "(($ac_try" in
26475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26476 *) ac_try_echo=$ac_try;;
26478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26479 (eval "$ac_link") 2>conftest.er1
26481 grep -v '^ *+' conftest.er1 >conftest.err
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } && {
26486 test -z "$ac_c_werror_flag" ||
26487 test ! -s conftest.err
26488 } && test -s conftest$ac_exeext &&
26489 $as_test_x conftest$ac_exeext; then
26490 ac_cv_lib_jpeg_jpeg_read_header=yes
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26495 ac_cv_lib_jpeg_jpeg_read_header=no
26498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26499 conftest$ac_exeext conftest.$ac_ext
26500 LIBS=$ac_check_lib_save_LIBS
26502 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26503 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26504 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26505 JPEG_LINK=" -ljpeg"
26510 if test "x$JPEG_LINK" = "x" ; then
26511 if test "$wxUSE_LIBJPEG" = "sys" ; then
26512 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26513 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26514 { (exit 1); exit 1; }; }
26516 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26517 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26518 wxUSE_LIBJPEG=builtin
26523 if test "$wxUSE_MSW" = 1; then
26524 { echo "$as_me:$LINENO: checking for boolean" >&5
26525 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26526 if test "${ac_cv_type_boolean+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 cat >conftest.$ac_ext <<_ACEOF
26532 cat confdefs.h >>conftest.$ac_ext
26533 cat >>conftest.$ac_ext <<_ACEOF
26534 /* end confdefs.h. */
26535 #include <windows.h>
26537 typedef boolean ac__type_new_;
26541 if ((ac__type_new_ *) 0)
26543 if (sizeof (ac__type_new_))
26549 rm -f conftest.$ac_objext
26550 if { (ac_try="$ac_compile"
26551 case "(($ac_try" in
26552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26553 *) ac_try_echo
=$ac_try;;
26555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26556 (eval "$ac_compile") 2>conftest.er1
26558 grep -v '^ *+' conftest.er1
>conftest.err
26560 cat conftest.err
>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } && {
26563 test -z "$ac_c_werror_flag" ||
26564 test ! -s conftest.err
26565 } && test -s conftest.
$ac_objext; then
26566 ac_cv_type_boolean
=yes
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.
$ac_ext >&5
26571 ac_cv_type_boolean
=no
26574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26576 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26577 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26578 if test $ac_cv_type_boolean = yes; then
26580 cat >>confdefs.h
<<_ACEOF
26581 #define HAVE_BOOLEAN 1
26585 { echo "$as_me:$LINENO: checking for boolean" >&5
26586 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26587 if test "${ac_cv_type_boolean+set}" = set; then
26588 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 cat >conftest.
$ac_ext <<_ACEOF
26593 cat confdefs.h
>>conftest.
$ac_ext
26594 cat >>conftest.
$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26597 #undef HAVE_BOOLEAN
26599 #include <jpeglib.h>
26602 typedef boolean ac__type_new_;
26606 if ((ac__type_new_ *) 0)
26608 if (sizeof (ac__type_new_))
26614 rm -f conftest.
$ac_objext
26615 if { (ac_try
="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26623 grep -v '^ *+' conftest.er1 >conftest.err
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.$ac_objext; then
26631 ac_cv_type_boolean=yes
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26636 ac_cv_type_boolean=no
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26641 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26642 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26644 # The cast to long int works around a bug in the HP C Compiler
26645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26646 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26647 # This bug is HP SR number 8606223364.
26648 { echo "$as_me:$LINENO: checking size of boolean" >&5
26649 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26650 if test "${ac_cv_sizeof_boolean+set}" = set; then
26651 echo $ECHO_N "(cached) $ECHO_C" >&6
26653 if test "$cross_compiling" = yes; then
26654 # Depending upon the size, compute the lo and hi bounds.
26655 cat >conftest.$ac_ext <<_ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26662 #undef HAVE_BOOLEAN
26664 #include <jpeglib.h>
26667 typedef boolean ac__type_sizeof_;
26671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26678 rm -f conftest.$ac_objext
26679 if { (ac_try="$ac_compile"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_compile") 2>conftest.er1
26687 grep -v '^
*+' conftest.er1 >conftest.err
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_c_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest.$ac_objext; then
26697 cat >conftest.$ac_ext <<_ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26704 #undef HAVE_BOOLEAN
26706 #include <jpeglib.h>
26709 typedef boolean ac__type_sizeof_;
26713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26720 rm -f conftest.$ac_objext
26721 if { (ac_try="$ac_compile"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_compile") 2>conftest.er1
26729 grep -v '^
*+' conftest.er1 >conftest.err
26731 cat conftest.err >&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } && {
26734 test -z "$ac_c_werror_flag" ||
26735 test ! -s conftest.err
26736 } && test -s conftest.$ac_objext; then
26737 ac_hi=$ac_mid; break
26739 echo "$as_me: failed program was:" >&5
26740 sed 's
/^
/| /' conftest.$ac_ext >&5
26742 ac_lo=`expr $ac_mid + 1`
26743 if test $ac_lo -le $ac_mid; then
26747 ac_mid=`expr 2 '*' $ac_mid + 1`
26750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26753 echo "$as_me: failed program was:" >&5
26754 sed 's
/^
/| /' conftest.$ac_ext >&5
26756 cat >conftest.$ac_ext <<_ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26763 #undef HAVE_BOOLEAN
26765 #include <jpeglib.h>
26768 typedef boolean ac__type_sizeof_;
26772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26779 rm -f conftest.$ac_objext
26780 if { (ac_try="$ac_compile"
26781 case "(($ac_try" in
26782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_compile") 2>conftest.er1
26788 grep -v '^
*+' conftest.er1 >conftest.err
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_c_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest.$ac_objext; then
26798 cat >conftest.$ac_ext <<_ACEOF
26801 cat confdefs.h >>conftest.$ac_ext
26802 cat >>conftest.$ac_ext <<_ACEOF
26803 /* end confdefs.h. */
26805 #undef HAVE_BOOLEAN
26807 #include <jpeglib.h>
26810 typedef boolean ac__type_sizeof_;
26814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26821 rm -f conftest.$ac_objext
26822 if { (ac_try="$ac_compile"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26825 *) ac_try_echo=$ac_try;;
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_compile") 2>conftest.er1
26830 grep -v '^
*+' conftest.er1 >conftest.err
26832 cat conftest.err >&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && {
26835 test -z "$ac_c_werror_flag" ||
26836 test ! -s conftest.err
26837 } && test -s conftest.$ac_objext; then
26838 ac_lo=$ac_mid; break
26840 echo "$as_me: failed program was:" >&5
26841 sed 's
/^
/| /' conftest.$ac_ext >&5
26843 ac_hi=`expr '(' $ac_mid ')' - 1`
26844 if test $ac_mid -le $ac_hi; then
26848 ac_mid=`expr 2 '*' $ac_mid`
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26854 echo "$as_me: failed program was:" >&5
26855 sed 's
/^
/| /' conftest.$ac_ext >&5
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26864 # Binary search between lo and hi bounds.
26865 while test "x$ac_lo" != "x$ac_hi"; do
26866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26867 cat >conftest.$ac_ext <<_ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26874 #undef HAVE_BOOLEAN
26876 #include <jpeglib.h>
26879 typedef boolean ac__type_sizeof_;
26883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26899 grep -v '^
*+' conftest.er1 >conftest.err
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_c_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26909 echo "$as_me: failed program was:" >&5
26910 sed 's
/^
/| /' conftest.$ac_ext >&5
26912 ac_lo=`expr '(' $ac_mid ')' + 1`
26915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26918 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26919 '') if test "$ac_cv_type_boolean" = yes; then
26920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26921 See \`config.log' for more details.
" >&5
26922 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26923 See \
`config.log' for more details." >&2;}
26924 { (exit 77); exit 77; }; }
26926 ac_cv_sizeof_boolean=0
26930 cat >conftest.$ac_ext <<_ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26937 #undef HAVE_BOOLEAN
26939 #include <jpeglib.h>
26942 typedef boolean ac__type_sizeof_;
26943 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26944 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26946 #include <stdlib.h>
26951 FILE *f = fopen ("conftest.val", "w");
26954 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26956 long int i = longval ();
26957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26959 fprintf (f, "%ld\n", i);
26963 unsigned long int i = ulongval ();
26964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26966 fprintf (f, "%lu\n", i);
26968 return ferror (f) || fclose (f) != 0;
26974 rm -f conftest$ac_exeext
26975 if { (ac_try="$ac_link"
26976 case "(($ac_try" in
26977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26978 *) ac_try_echo
=$ac_try;;
26980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26981 (eval "$ac_link") 2>&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26985 { (case "(($ac_try" in
26986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26987 *) ac_try_echo=$ac_try;;
26989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26990 (eval "$ac_try") 2>&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; }; then
26994 ac_cv_sizeof_boolean=`cat conftest.val
`
26996 echo "$as_me: program exited with status $ac_status" >&5
26997 echo "$as_me: failed program was:" >&5
26998 sed 's/^/| /' conftest.$ac_ext >&5
27000 ( exit $ac_status )
27001 if test "$ac_cv_type_boolean" = yes; then
27002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27003 See \`config.log
' for more details." >&5
27004 echo "$as_me: error: cannot compute sizeof (boolean)
27005 See \`config.log' for more details.
" >&2;}
27006 { (exit 77); exit 77; }; }
27008 ac_cv_sizeof_boolean=0
27011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27015 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27016 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27020 cat >>confdefs.h <<_ACEOF
27021 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27025 cat >>confdefs.h <<_ACEOF
27026 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27040 TIFF_PREREQ_LINKS=-lm
27041 if test "$wxUSE_LIBTIFF" != "no
" ; then
27042 cat >>confdefs.h <<\_ACEOF
27043 #define wxUSE_LIBTIFF 1
27047 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27048 if test "$wxUSE_LIBJPEG" = "sys
"; then
27049 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27051 if test "$wxUSE_ZLIB" = "sys
"; then
27052 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27054 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27055 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27056 if test "${ac_cv_header_tiffio_h+set}" = set; then
27057 echo $ECHO_N "(cached
) $ECHO_C" >&6
27059 cat >conftest.$ac_ext <<_ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27068 #include <tiffio.h>
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27074 *) ac_try_echo=$ac_try;;
27076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27079 grep -v '^ *+' conftest.er1 >conftest.err
27081 cat conftest.err >&5
27082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.$ac_objext; then
27087 ac_cv_header_tiffio_h=yes
27089 echo "$as_me: failed program was
:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27092 ac_cv_header_tiffio_h=no
27095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27097 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27099 if test $ac_cv_header_tiffio_h = yes; then
27101 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27102 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27103 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27104 echo $ECHO_N "(cached
) $ECHO_C" >&6
27106 ac_check_lib_save_LIBS=$LIBS
27107 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27108 cat >conftest.$ac_ext <<_ACEOF
27111 cat confdefs.h >>conftest.$ac_ext
27112 cat >>conftest.$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27115 /* Override any GCC internal prototype to avoid an error.
27116 Use char because int might match the return type of a GCC
27117 builtin and then its argument prototype would still apply. */
27125 return TIFFError ();
27130 rm -f conftest.$ac_objext conftest$ac_exeext
27131 if { (ac_try="$ac_link"
27132 case "(($ac_try" in
27133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27134 *) ac_try_echo=$ac_try;;
27136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27137 (eval "$ac_link") 2>conftest.er1
27139 grep -v '^ *+' conftest.er1 >conftest.err
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27143 (exit $ac_status); } && {
27144 test -z "$ac_c_werror_flag" ||
27145 test ! -s conftest.err
27146 } && test -s conftest$ac_exeext &&
27147 $as_test_x conftest$ac_exeext; then
27148 ac_cv_lib_tiff_TIFFError=yes
27150 echo "$as_me: failed program was
:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27153 ac_cv_lib_tiff_TIFFError=no
27156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27157 conftest$ac_exeext conftest.$ac_ext
27158 LIBS=$ac_check_lib_save_LIBS
27160 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27161 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27162 if test $ac_cv_lib_tiff_TIFFError = yes; then
27163 TIFF_LINK=" -ltiff"
27171 if test "x
$TIFF_LINK" = "x
" ; then
27172 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27173 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27174 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27175 { (exit 1); exit 1; }; }
27177 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27178 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27179 wxUSE_LIBTIFF=builtin
27185 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27186 if test "$wxUSE_LIBJPEG" = "no
"; then
27187 ac_configure_args="$ac_configure_args --disable-jpeg"
27189 subdirs="$subdirs src
/tiff
"
27195 if test "$wxUSE_WCHAR_T" != "yes"; then
27196 if test "$wxUSE_EXPAT" != "no
"; then
27197 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27198 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27201 if test "$wxUSE_XML" != "no
"; then
27202 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27203 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27208 if test "$wxUSE_EXPAT" != "no
"; then
27210 cat >>confdefs.h <<\_ACEOF
27211 #define wxUSE_EXPAT 1
27214 cat >>confdefs.h <<\_ACEOF
27215 #define wxUSE_XML 1
27219 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27220 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27221 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27222 if test "${ac_cv_header_expat_h+set}" = set; then
27223 echo $ECHO_N "(cached
) $ECHO_C" >&6
27225 cat >conftest.$ac_ext <<_ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27244 grep -v '^ *+' conftest.er1 >conftest.err
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_c_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27252 ac_cv_header_expat_h=yes
27254 echo "$as_me: failed program was
:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27257 ac_cv_header_expat_h=no
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27262 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27263 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27264 if test $ac_cv_header_expat_h = yes; then
27269 if test "x
$found_expat_h" = "x1
"; then
27270 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27271 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27272 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27273 echo $ECHO_N "(cached
) $ECHO_C" >&6
27277 ac_cpp='$CXXCPP $CPPFLAGS'
27278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27282 cat >conftest.$ac_ext <<_ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27306 grep -v '^ *+' conftest.er1 >conftest.err
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_cxx_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 wx_cv_expat_is_not_broken=yes
27316 echo "$as_me: failed program was
:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27319 wx_cv_expat_is_not_broken=no
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27333 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27334 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27335 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27336 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27337 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27338 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27339 echo $ECHO_N "(cached
) $ECHO_C" >&6
27341 ac_check_lib_save_LIBS=$LIBS
27342 LIBS="-lexpat $LIBS"
27343 cat >conftest.$ac_ext <<_ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27350 /* Override any GCC internal prototype to avoid an error.
27351 Use char because int might match the return type of a GCC
27352 builtin and then its argument prototype would still apply. */
27356 char XML_ParserCreate ();
27360 return XML_ParserCreate ();
27365 rm -f conftest.$ac_objext conftest$ac_exeext
27366 if { (ac_try="$ac_link"
27367 case "(($ac_try" in
27368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27369 *) ac_try_echo=$ac_try;;
27371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27372 (eval "$ac_link") 2>conftest.er1
27374 grep -v '^ *+' conftest.er1 >conftest.err
27376 cat conftest.err >&5
27377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27378 (exit $ac_status); } && {
27379 test -z "$ac_c_werror_flag" ||
27380 test ! -s conftest.err
27381 } && test -s conftest$ac_exeext &&
27382 $as_test_x conftest$ac_exeext; then
27383 ac_cv_lib_expat_XML_ParserCreate=yes
27385 echo "$as_me: failed program was
:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27388 ac_cv_lib_expat_XML_ParserCreate=no
27391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27392 conftest$ac_exeext conftest.$ac_ext
27393 LIBS=$ac_check_lib_save_LIBS
27395 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27396 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27397 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27398 EXPAT_LINK=" -lexpat"
27403 if test "x
$EXPAT_LINK" = "x
" ; then
27404 if test "$wxUSE_EXPAT" = "sys
" ; then
27405 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27406 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27407 { (exit 1); exit 1; }; }
27409 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27410 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27411 wxUSE_EXPAT=builtin
27417 if test "$wxUSE_EXPAT" = "builtin" ; then
27418 subdirs="$subdirs src
/expat
"
27425 if test "$wxUSE_LIBMSPACK" != "no
"; then
27426 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27427 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27428 if test "${ac_cv_header_mspack_h+set}" = set; then
27429 echo $ECHO_N "(cached
) $ECHO_C" >&6
27431 cat >conftest.$ac_ext <<_ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27439 #include <mspack.h>
27441 rm -f conftest.$ac_objext
27442 if { (ac_try="$ac_compile"
27443 case "(($ac_try" in
27444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27445 *) ac_try_echo=$ac_try;;
27447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27448 (eval "$ac_compile") 2>conftest.er1
27450 grep -v '^ *+' conftest.er1 >conftest.err
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27454 (exit $ac_status); } && {
27455 test -z "$ac_c_werror_flag" ||
27456 test ! -s conftest.err
27457 } && test -s conftest.$ac_objext; then
27458 ac_cv_header_mspack_h=yes
27460 echo "$as_me: failed program was
:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27463 ac_cv_header_mspack_h=no
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27468 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27469 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27470 if test $ac_cv_header_mspack_h = yes; then
27475 if test "x
$found_mspack_h" = "x1
"; then
27476 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27477 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27478 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27479 echo $ECHO_N "(cached
) $ECHO_C" >&6
27481 ac_check_lib_save_LIBS=$LIBS
27482 LIBS="-lmspack $LIBS"
27483 cat >conftest.$ac_ext <<_ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27490 /* Override any GCC internal prototype to avoid an error.
27491 Use char because int might match the return type of a GCC
27492 builtin and then its argument prototype would still apply. */
27496 char mspack_create_chm_decompressor ();
27500 return mspack_create_chm_decompressor ();
27505 rm -f conftest.$ac_objext conftest$ac_exeext
27506 if { (ac_try="$ac_link"
27507 case "(($ac_try" in
27508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27509 *) ac_try_echo=$ac_try;;
27511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27512 (eval "$ac_link") 2>conftest.er1
27514 grep -v '^ *+' conftest.er1 >conftest.err
27516 cat conftest.err >&5
27517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27518 (exit $ac_status); } && {
27519 test -z "$ac_c_werror_flag" ||
27520 test ! -s conftest.err
27521 } && test -s conftest$ac_exeext &&
27522 $as_test_x conftest$ac_exeext; then
27523 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27525 echo "$as_me: failed program was
:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27528 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27535 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27536 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27537 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27538 MSPACK_LINK=" -lmspack"
27542 if test "x
$MSPACK_LINK" = "x
" ; then
27547 if test "$wxUSE_LIBMSPACK" != "no
"; then
27548 cat >>confdefs.h <<\_ACEOF
27549 #define wxUSE_LIBMSPACK 1
27563 if test "$USE_WIN32" = 1 ; then
27565 for ac_header in w32api.h
27567 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27568 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27569 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27570 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27571 echo $ECHO_N "(cached
) $ECHO_C" >&6
27573 cat >conftest.$ac_ext <<_ACEOF
27576 cat confdefs.h >>conftest.$ac_ext
27577 cat >>conftest.$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27581 #include <$ac_header>
27583 rm -f conftest.$ac_objext
27584 if { (ac_try="$ac_compile"
27585 case "(($ac_try" in
27586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27587 *) ac_try_echo=$ac_try;;
27589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27590 (eval "$ac_compile") 2>conftest.er1
27592 grep -v '^ *+' conftest.er1 >conftest.err
27594 cat conftest.err >&5
27595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27596 (exit $ac_status); } && {
27597 test -z "$ac_c_werror_flag" ||
27598 test ! -s conftest.err
27599 } && test -s conftest.$ac_objext; then
27600 eval "$as_ac_Header=yes"
27602 echo "$as_me: failed program was
:" >&5
27603 sed 's/^/| /' conftest.$ac_ext >&5
27605 eval "$as_ac_Header=no
"
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27610 ac_res=`eval echo '${'$as_ac_Header'}'`
27611 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27612 echo "${ECHO_T}$ac_res" >&6; }
27613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27614 cat >>confdefs.h <<_ACEOF
27615 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27622 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27623 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27624 if test "${ac_cv_header_windows_h+set}" = set; then
27625 echo $ECHO_N "(cached
) $ECHO_C" >&6
27627 cat >conftest.$ac_ext <<_ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27635 #include <windows.h>
27637 rm -f conftest.$ac_objext
27638 if { (ac_try="$ac_compile"
27639 case "(($ac_try" in
27640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27641 *) ac_try_echo=$ac_try;;
27643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27644 (eval "$ac_compile") 2>conftest.er1
27646 grep -v '^ *+' conftest.er1 >conftest.err
27648 cat conftest.err >&5
27649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27650 (exit $ac_status); } && {
27651 test -z "$ac_c_werror_flag" ||
27652 test ! -s conftest.err
27653 } && test -s conftest.$ac_objext; then
27654 ac_cv_header_windows_h=yes
27656 echo "$as_me: failed program was
:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27659 ac_cv_header_windows_h=no
27662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27664 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27665 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27666 if test $ac_cv_header_windows_h = yes; then
27670 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27671 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27672 { (exit 1); exit 1; }; }
27678 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27680 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27681 LIBS="$LIBS -loleacc"
27686 LIBS="$LIBS -lkernel32 -luser32"
27689 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27690 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27692 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27694 WIN32INSTALL=win32install
27696 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27697 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27698 if test "${ac_cv_header_pbt_h+set}" = set; then
27699 echo $ECHO_N "(cached
) $ECHO_C" >&6
27701 cat >conftest.$ac_ext <<_ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27711 rm -f conftest.$ac_objext
27712 if { (ac_try="$ac_compile"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_compile") 2>conftest.er1
27720 grep -v '^ *+' conftest.er1 >conftest.err
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest.$ac_objext; then
27728 ac_cv_header_pbt_h=yes
27730 echo "$as_me: failed program was
:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27733 ac_cv_header_pbt_h=no
27736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27738 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27739 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27740 if test $ac_cv_header_pbt_h = yes; then
27743 cat >>confdefs.h <<\_ACEOF
27744 #define NEED_PBT_H 1
27752 if test "$wxUSE_GUI" = "yes"; then
27762 if test "$wxUSE_COCOA" = 1 ; then
27763 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27764 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27765 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27766 wxUSE_PRINTING_ARCHITECTURE=no
27768 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27769 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27770 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27771 wxUSE_DRAG_AND_DROP=no
27773 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27774 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27775 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27780 if test "$wxUSE_MSW" = 1 ; then
27786 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27790 if test "$wxUSE_GTK" = 1; then
27791 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27792 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27794 gtk_version_cached=1
27795 if test "${wx_cv_lib_gtk+set}" = set; then
27796 echo $ECHO_N "(cached
) $ECHO_C" >&6
27799 gtk_version_cached=0
27800 { echo "$as_me:$LINENO: result
: " >&5
27801 echo "${ECHO_T}" >&6; }
27804 if test "$wxUSE_THREADS" = "yes"; then
27805 GTK_MODULES=gthread
27809 if test "x
$wxGTK_VERSION" != "x1
"
27813 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27818 # Check whether --enable-gtktest was given.
27819 if test "${enable_gtktest+set}" = set; then
27820 enableval=$enable_gtktest;
27826 pkg_config_args=gtk+-2.0
27827 for module in . $GTK_MODULES
27831 pkg_config_args="$pkg_config_args gthread
-2.0
"
27838 # Extract the first word of "pkg
-config", so it can be a program name with args.
27839 set dummy pkg-config; ac_word=$2
27840 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27841 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27842 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27843 echo $ECHO_N "(cached
) $ECHO_C" >&6
27845 case $PKG_CONFIG in
27847 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851 for as_dir in $PATH
27854 test -z "$as_dir" && as_dir=.
27855 for ac_exec_ext in '' $ac_executable_extensions; do
27856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27857 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27858 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27870 if test -n "$PKG_CONFIG"; then
27871 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27872 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27874 { echo "$as_me:$LINENO: result
: no
" >&5
27875 echo "${ECHO_T}no
" >&6; }
27880 if test x$PKG_CONFIG != xno ; then
27881 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27884 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27892 min_gtk_version=2.4.0
27893 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27894 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27896 if test x$PKG_CONFIG != xno ; then
27897 ## don't try to run the test against uninstalled libtool libs
27898 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27899 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27903 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27910 if test x"$no_gtk" = x ; then
27911 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27912 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27913 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27915 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27917 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27919 if test "x
$enable_gtktest" = "xyes
" ; then
27920 ac_save_CFLAGS="$CFLAGS"
27921 ac_save_LIBS="$LIBS"
27922 CFLAGS="$CFLAGS $GTK_CFLAGS"
27923 LIBS="$GTK_LIBS $LIBS"
27925 if test "$cross_compiling" = yes; then
27926 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27928 cat >conftest.$ac_ext <<_ACEOF
27931 cat confdefs.h >>conftest.$ac_ext
27932 cat >>conftest.$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27935 #include <gtk/gtk.h>
27937 #include <stdlib.h>
27942 int major, minor, micro;
27945 system ("touch conf.gtktest
");
27947 /* HP/UX 9 (%@#!) writes to sscanf strings */
27948 tmp_version = g_strdup("$min_gtk_version");
27949 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27950 printf("%s
, bad version string
\n", "$min_gtk_version");
27954 if ((gtk_major_version != $gtk_config_major_version) ||
27955 (gtk_minor_version != $gtk_config_minor_version) ||
27956 (gtk_micro_version != $gtk_config_micro_version))
27958 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27959 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27960 gtk_major_version, gtk_minor_version, gtk_micro_version);
27961 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27962 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27963 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27964 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27965 printf("*** required on your system.
\n");
27966 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27967 printf("*** to point to the correct configuration files
\n");
27969 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27970 (gtk_minor_version != GTK_MINOR_VERSION) ||
27971 (gtk_micro_version != GTK_MICRO_VERSION))
27973 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27974 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27975 printf("*** library
(version
%d.
%d.
%d
)\n",
27976 gtk_major_version, gtk_minor_version, gtk_micro_version);
27980 if ((gtk_major_version > major) ||
27981 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27982 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27988 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27989 gtk_major_version, gtk_minor_version, gtk_micro_version);
27990 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27991 major, minor, micro);
27992 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27994 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27995 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27996 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27997 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27998 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27999 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28000 printf("*** so that the correct libraries are found
at run
-time))\n");
28007 rm -f conftest$ac_exeext
28008 if { (ac_try="$ac_link"
28009 case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_link") 2>&5
28016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28018 { (case "(($ac_try" in
28019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28020 *) ac_try_echo=$ac_try;;
28022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28023 (eval "$ac_try") 2>&5
28025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28026 (exit $ac_status); }; }; then
28029 echo "$as_me: program exited with status
$ac_status" >&5
28030 echo "$as_me: failed program was
:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28033 ( exit $ac_status )
28036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28040 CFLAGS="$ac_save_CFLAGS"
28041 LIBS="$ac_save_LIBS"
28044 if test "x
$no_gtk" = x ; then
28045 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28046 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28049 { echo "$as_me:$LINENO: result
: no
" >&5
28050 echo "${ECHO_T}no
" >&6; }
28051 if test "$PKG_CONFIG" = "no
" ; then
28052 echo "*** A new enough version of pkg
-config was not found.
"
28053 echo "*** See http
://pkgconfig.sourceforge.net
"
28055 if test -f conf.gtktest ; then
28058 echo "*** Could not run GTK
+ test program
, checking why...
"
28059 ac_save_CFLAGS="$CFLAGS"
28060 ac_save_LIBS="$LIBS"
28061 CFLAGS="$CFLAGS $GTK_CFLAGS"
28062 LIBS="$LIBS $GTK_LIBS"
28063 cat >conftest.$ac_ext <<_ACEOF
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28070 #include <gtk/gtk.h>
28076 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28081 rm -f conftest.$ac_objext conftest$ac_exeext
28082 if { (ac_try="$ac_link"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_link") 2>conftest.er1
28090 grep -v '^ *+' conftest.er1 >conftest.err
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest$ac_exeext &&
28098 $as_test_x conftest$ac_exeext; then
28099 echo "*** The
test program compiled
, but did not run. This usually means
"
28100 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28101 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28102 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28103 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28104 echo "*** is required on your system"
28106 echo "*** If you have an old version installed, it is best to remove it, although"
28107 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28109 echo "$as_me: failed program was:" >&5
28110 sed 's
/^
/| /' conftest.$ac_ext >&5
28112 echo "*** The test program failed to compile or link. See the file config.log for the"
28113 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28117 conftest$ac_exeext conftest.$ac_ext
28118 CFLAGS="$ac_save_CFLAGS"
28119 LIBS="$ac_save_LIBS"
28133 if test "$wxUSE_SHARED" != "yes"; then
28134 GTK_LIBS="$GTK_LIBS -lX11"
28139 if test -z "$wx_cv_lib_gtk"; then
28140 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28142 # Check whether --with-gtk-prefix was given.
28143 if test "${with_gtk_prefix+set}" = set; then
28144 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28146 gtk_config_prefix=""
28150 # Check whether --with-gtk-exec-prefix was given.
28151 if test "${with_gtk_exec_prefix+set}" = set; then
28152 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28154 gtk_config_exec_prefix=""
28157 # Check whether --enable-gtktest was given.
28158 if test "${enable_gtktest+set}" = set; then
28159 enableval=$enable_gtktest;
28165 for module in . $GTK_MODULES
28169 gtk_config_args="$gtk_config_args gthread"
28174 if test x$gtk_config_exec_prefix != x ; then
28175 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28176 if test x${GTK_CONFIG+set} != xset ; then
28177 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28180 if test x$gtk_config_prefix != x ; then
28181 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28182 if test x${GTK_CONFIG+set} != xset ; then
28183 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28187 # Extract the first word of "gtk-config", so it can be a program name with args.
28188 set dummy gtk-config; ac_word=$2
28189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28191 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28192 echo $ECHO_N "(cached) $ECHO_C" >&6
28194 case $GTK_CONFIG in
28196 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28200 for as_dir in $PATH
28203 test -z "$as_dir" && as_dir=.
28204 for ac_exec_ext in '' $ac_executable_extensions; do
28205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28206 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28214 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28218 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28219 if test -n "$GTK_CONFIG"; then
28220 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28221 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28223 { echo "$as_me:$LINENO: result: no" >&5
28224 echo "${ECHO_T}no" >&6; }
28228 min_gtk_version=1.2.7
28229 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28230 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28232 if test "$GTK_CONFIG" = "no" ; then
28235 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28236 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28237 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28238 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28239 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28240 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28241 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28242 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28243 if test "x$enable_gtktest" = "xyes" ; then
28244 ac_save_CFLAGS="$CFLAGS"
28245 ac_save_LIBS="$LIBS"
28246 CFLAGS="$CFLAGS $GTK_CFLAGS"
28247 LIBS="$GTK_LIBS $LIBS"
28249 if test "$cross_compiling" = yes; then
28250 echo $ac_n "cross compiling; assumed OK... $ac_c"
28252 cat >conftest.$ac_ext <<_ACEOF
28255 cat confdefs.h >>conftest.$ac_ext
28256 cat >>conftest.$ac_ext <<_ACEOF
28257 /* end confdefs.h. */
28259 #include <gtk/gtk.h>
28261 #include <stdlib.h>
28266 int major, minor, micro;
28269 system ("touch conf.gtktest");
28271 /* HP/UX 9 (%@#!) writes to sscanf strings */
28272 tmp_version = g_strdup("$min_gtk_version");
28273 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28274 printf("%s, bad version string\n", "$min_gtk_version");
28278 if ((gtk_major_version != $gtk_config_major_version) ||
28279 (gtk_minor_version != $gtk_config_minor_version) ||
28280 (gtk_micro_version != $gtk_config_micro_version))
28282 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28283 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28284 gtk_major_version, gtk_minor_version, gtk_micro_version);
28285 printf ("*** was found! If gtk-config was correct, then it is best\n");
28286 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28287 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28288 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28289 printf("*** required on your system.\n");
28290 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28291 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28292 printf("*** before re-running configure\n");
28294 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28295 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28296 (gtk_minor_version != GTK_MINOR_VERSION) ||
28297 (gtk_micro_version != GTK_MICRO_VERSION))
28299 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28300 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28301 printf("*** library (version %d.%d.%d)\n",
28302 gtk_major_version, gtk_minor_version, gtk_micro_version);
28304 #endif /* defined (GTK_MAJOR_VERSION) ... */
28307 if ((gtk_major_version > major) ||
28308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28316 gtk_major_version, gtk_minor_version, gtk_micro_version);
28317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28318 major, minor, micro);
28319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28321 printf("*** If you have already installed a sufficiently new version, this error\n");
28322 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28324 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28325 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28327 printf("*** so that the correct libraries are found at run-time))\n");
28334 rm -f conftest$ac_exeext
28335 if { (ac_try="$ac_link"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_link") 2>&5
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28345 { (case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_try") 2>&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28356 echo "$as_me: program exited with status $ac_status" >&5
28357 echo "$as_me: failed program was:" >&5
28358 sed 's
/^
/| /' conftest.$ac_ext >&5
28360 ( exit $ac_status )
28363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28367 CFLAGS="$ac_save_CFLAGS"
28368 LIBS="$ac_save_LIBS"
28371 if test "x$no_gtk" = x ; then
28372 { echo "$as_me:$LINENO: result: yes" >&5
28373 echo "${ECHO_T}yes" >&6; }
28374 wx_cv_lib_gtk=1.2.7
28376 { echo "$as_me:$LINENO: result: no" >&5
28377 echo "${ECHO_T}no" >&6; }
28378 if test "$GTK_CONFIG" = "no" ; then
28379 echo "*** The gtk-config script installed by GTK could not be found"
28380 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28381 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28382 echo "*** full path to gtk-config."
28384 if test -f conf.gtktest ; then
28387 echo "*** Could not run GTK test program, checking why..."
28388 CFLAGS="$CFLAGS $GTK_CFLAGS"
28389 LIBS="$LIBS $GTK_LIBS"
28390 cat >conftest.$ac_ext <<_ACEOF
28393 cat confdefs.h >>conftest.$ac_ext
28394 cat >>conftest.$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28397 #include <gtk/gtk.h>
28403 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28408 rm -f conftest.$ac_objext conftest$ac_exeext
28409 if { (ac_try="$ac_link"
28410 case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_link") 2>conftest.er1
28417 grep -v '^
*+' conftest.er1 >conftest.err
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } && {
28422 test -z "$ac_c_werror_flag" ||
28423 test ! -s conftest.err
28424 } && test -s conftest$ac_exeext &&
28425 $as_test_x conftest$ac_exeext; then
28426 echo "*** The test program compiled, but did not run. This usually means"
28427 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28428 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28429 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28430 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28431 echo "*** is required on your system
"
28433 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28436 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28437 echo "*** came with the system with the
command"
28439 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28441 echo "$as_me: failed program was
:" >&5
28442 sed 's/^/| /' conftest.$ac_ext >&5
28444 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28445 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28446 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28447 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28451 conftest$ac_exeext conftest.$ac_ext
28452 CFLAGS="$ac_save_CFLAGS"
28453 LIBS="$ac_save_LIBS"
28465 if test -z "$wx_cv_lib_gtk"; then
28467 # Check whether --with-gtk-prefix was given.
28468 if test "${with_gtk_prefix+set}" = set; then
28469 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28471 gtk_config_prefix=""
28475 # Check whether --with-gtk-exec-prefix was given.
28476 if test "${with_gtk_exec_prefix+set}" = set; then
28477 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28479 gtk_config_exec_prefix=""
28482 # Check whether --enable-gtktest was given.
28483 if test "${enable_gtktest+set}" = set; then
28484 enableval=$enable_gtktest;
28490 for module in . $GTK_MODULES
28494 gtk_config_args="$gtk_config_args gthread
"
28499 if test x$gtk_config_exec_prefix != x ; then
28500 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28501 if test x${GTK_CONFIG+set} != xset ; then
28502 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28505 if test x$gtk_config_prefix != x ; then
28506 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28507 if test x${GTK_CONFIG+set} != xset ; then
28508 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28512 # Extract the first word of "gtk
-config", so it can be a program name with args.
28513 set dummy gtk-config; ac_word=$2
28514 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28515 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28516 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28517 echo $ECHO_N "(cached
) $ECHO_C" >&6
28519 case $GTK_CONFIG in
28521 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28525 for as_dir in $PATH
28528 test -z "$as_dir" && as_dir=.
28529 for ac_exec_ext in '' $ac_executable_extensions; do
28530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28531 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28532 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28539 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28543 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28544 if test -n "$GTK_CONFIG"; then
28545 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28546 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28548 { echo "$as_me:$LINENO: result
: no
" >&5
28549 echo "${ECHO_T}no
" >&6; }
28553 min_gtk_version=1.2.3
28554 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28555 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28557 if test "$GTK_CONFIG" = "no
" ; then
28560 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28561 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28562 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28564 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28566 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28568 if test "x
$enable_gtktest" = "xyes
" ; then
28569 ac_save_CFLAGS="$CFLAGS"
28570 ac_save_LIBS="$LIBS"
28571 CFLAGS="$CFLAGS $GTK_CFLAGS"
28572 LIBS="$GTK_LIBS $LIBS"
28574 if test "$cross_compiling" = yes; then
28575 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28577 cat >conftest.$ac_ext <<_ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28584 #include <gtk/gtk.h>
28586 #include <stdlib.h>
28591 int major, minor, micro;
28594 system ("touch conf.gtktest
");
28596 /* HP/UX 9 (%@#!) writes to sscanf strings */
28597 tmp_version = g_strdup("$min_gtk_version");
28598 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28599 printf("%s
, bad version string
\n", "$min_gtk_version");
28603 if ((gtk_major_version != $gtk_config_major_version) ||
28604 (gtk_minor_version != $gtk_config_minor_version) ||
28605 (gtk_micro_version != $gtk_config_micro_version))
28607 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28608 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28609 gtk_major_version, gtk_minor_version, gtk_micro_version);
28610 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28611 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28612 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28613 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28614 printf("*** required on your system.
\n");
28615 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28616 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28617 printf("*** before re
-running configure
\n");
28619 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28620 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28621 (gtk_minor_version != GTK_MINOR_VERSION) ||
28622 (gtk_micro_version != GTK_MICRO_VERSION))
28624 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28625 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28626 printf("*** library
(version
%d.
%d.
%d
)\n",
28627 gtk_major_version, gtk_minor_version, gtk_micro_version);
28629 #endif /* defined (GTK_MAJOR_VERSION) ... */
28632 if ((gtk_major_version > major) ||
28633 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28634 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28640 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28641 gtk_major_version, gtk_minor_version, gtk_micro_version);
28642 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28643 major, minor, micro);
28644 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28646 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28647 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28648 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28649 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28650 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28651 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28652 printf("*** so that the correct libraries are found
at run
-time))\n");
28659 rm -f conftest$ac_exeext
28660 if { (ac_try="$ac_link"
28661 case "(($ac_try" in
28662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28663 *) ac_try_echo=$ac_try;;
28665 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28666 (eval "$ac_link") 2>&5
28668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28670 { (case "(($ac_try" in
28671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28672 *) ac_try_echo=$ac_try;;
28674 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28675 (eval "$ac_try") 2>&5
28677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28678 (exit $ac_status); }; }; then
28681 echo "$as_me: program exited with status
$ac_status" >&5
28682 echo "$as_me: failed program was
:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28685 ( exit $ac_status )
28688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28692 CFLAGS="$ac_save_CFLAGS"
28693 LIBS="$ac_save_LIBS"
28696 if test "x
$no_gtk" = x ; then
28697 { echo "$as_me:$LINENO: result
: yes" >&5
28698 echo "${ECHO_T}yes" >&6; }
28699 wx_cv_lib_gtk=1.2.3
28701 { echo "$as_me:$LINENO: result
: no
" >&5
28702 echo "${ECHO_T}no
" >&6; }
28703 if test "$GTK_CONFIG" = "no
" ; then
28704 echo "*** The gtk
-config script installed by GTK could not be found
"
28705 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28706 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28707 echo "*** full path to gtk
-config.
"
28709 if test -f conf.gtktest ; then
28712 echo "*** Could not run GTK
test program
, checking why...
"
28713 CFLAGS="$CFLAGS $GTK_CFLAGS"
28714 LIBS="$LIBS $GTK_LIBS"
28715 cat >conftest.$ac_ext <<_ACEOF
28718 cat confdefs.h >>conftest.$ac_ext
28719 cat >>conftest.$ac_ext <<_ACEOF
28720 /* end confdefs.h. */
28722 #include <gtk/gtk.h>
28728 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (ac_try="$ac_link"
28735 case "(($ac_try" in
28736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28737 *) ac_try_echo=$ac_try;;
28739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28740 (eval "$ac_link") 2>conftest.er1
28742 grep -v '^ *+' conftest.er1 >conftest.err
28744 cat conftest.err >&5
28745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28746 (exit $ac_status); } && {
28747 test -z "$ac_c_werror_flag" ||
28748 test ! -s conftest.err
28749 } && test -s conftest$ac_exeext &&
28750 $as_test_x conftest$ac_exeext; then
28751 echo "*** The
test program compiled
, but did not run. This usually means
"
28752 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28753 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28754 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28755 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28756 echo "*** is required on your system"
28758 echo "*** If you have an old version installed, it is best to remove it, although"
28759 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28761 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28762 echo "*** came with the system with the command"
28764 echo "*** rpm --erase --nodeps gtk gtk-devel"
28766 echo "$as_me: failed program was:" >&5
28767 sed 's
/^
/| /' conftest.$ac_ext >&5
28769 echo "*** The test program failed to compile or link. See the file config.log for the"
28770 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28771 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28772 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28776 conftest$ac_exeext conftest.$ac_ext
28777 CFLAGS="$ac_save_CFLAGS"
28778 LIBS="$ac_save_LIBS"
28793 if test -z "$wx_cv_lib_gtk"; then
28796 wx_cv_cflags_gtk=$GTK_CFLAGS
28797 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28804 if test "$gtk_version_cached" = 1; then
28805 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28806 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28809 case "$wx_cv_lib_gtk" in
28818 *) { { echo "$as_me:$LINENO: error:
28819 The development files for GTK+ were not found. For GTK+ 2, please
28820 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28821 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28822 and that the version is 1.2.3 or above. Also check that the
28823 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28824 --libs' are in the LD_LIBRARY_PATH or equivalent.
28826 echo "$as_me: error:
28827 The development files for GTK+ were not found. For GTK+ 2, please
28828 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28829 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28830 and that the version is 1.2.3 or above. Also check that the
28831 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28832 --libs' are in the LD_LIBRARY_PATH or equivalent.
28834 { (exit 1); exit 1; }; }
28838 if test "$WXGTK2" = 1; then
28839 save_CFLAGS="$CFLAGS"
28841 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28842 LIBS="$LIBS $wx_cv_libs_gtk"
28844 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28845 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28846 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28847 echo $ECHO_N "(cached) $ECHO_C" >&6
28849 cat >conftest.$ac_ext <<_ACEOF
28852 cat confdefs.h >>conftest.$ac_ext
28853 cat >>conftest.$ac_ext <<_ACEOF
28854 /* end confdefs.h. */
28855 #include <gtk/gtk.h>
28860 #ifndef gtk_icon_size_lookup
28861 (void) gtk_icon_size_lookup;
28868 rm -f conftest.$ac_objext
28869 if { (ac_try="$ac_compile"
28870 case "(($ac_try" in
28871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28872 *) ac_try_echo=$ac_try;;
28874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28875 (eval "$ac_compile") 2>conftest.er1
28877 grep -v '^
*+' conftest.er1 >conftest.err
28879 cat conftest.err >&5
28880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28881 (exit $ac_status); } && {
28882 test -z "$ac_c_werror_flag" ||
28883 test ! -s conftest.err
28884 } && test -s conftest.$ac_objext; then
28885 ac_cv_have_decl_gtk_icon_size_lookup=yes
28887 echo "$as_me: failed program was:" >&5
28888 sed 's
/^
/| /' conftest.$ac_ext >&5
28890 ac_cv_have_decl_gtk_icon_size_lookup=no
28893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28895 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28896 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28897 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28899 cat >>confdefs.h <<_ACEOF
28900 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28905 cat >>confdefs.h <<_ACEOF
28906 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28909 cat >>confdefs.h <<\_ACEOF
28910 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28918 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28919 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28920 cat >conftest.$ac_ext <<_ACEOF
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28927 #include <gtk/gtk.h>
28933 #if !GTK_CHECK_VERSION(2,10,0)
28941 rm -f conftest.$ac_objext
28942 if { (ac_try="$ac_compile"
28943 case "(($ac_try" in
28944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28945 *) ac_try_echo=$ac_try;;
28947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28948 (eval "$ac_compile") 2>conftest.er1
28950 grep -v '^
*+' conftest.er1 >conftest.err
28952 cat conftest.err >&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); } && {
28955 test -z "$ac_c_werror_flag" ||
28956 test ! -s conftest.err
28957 } && test -s conftest.$ac_objext; then
28959 cat >>confdefs.h <<\_ACEOF
28960 #define __WXGTK210__ 1
28963 cat >>confdefs.h <<\_ACEOF
28964 #define __WXGTK26__ 1
28967 { echo "$as_me:$LINENO: result: yes" >&5
28968 echo "${ECHO_T}yes" >&6; }
28972 echo "$as_me: failed program was:" >&5
28973 sed 's
/^
/| /' conftest.$ac_ext >&5
28976 { echo "$as_me:$LINENO: result: no" >&5
28977 echo "${ECHO_T}no" >&6; }
28982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28984 if test "$ac_wxgtk210" = 0; then
28985 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28986 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28987 cat >conftest.$ac_ext <<_ACEOF
28990 cat confdefs.h >>conftest.$ac_ext
28991 cat >>conftest.$ac_ext <<_ACEOF
28992 /* end confdefs.h. */
28994 #include <gtk/gtk.h>
29000 #if !GTK_CHECK_VERSION(2,6,0)
29008 rm -f conftest.$ac_objext
29009 if { (ac_try="$ac_compile"
29010 case "(($ac_try" in
29011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29012 *) ac_try_echo=$ac_try;;
29014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29015 (eval "$ac_compile") 2>conftest.er1
29017 grep -v '^
*+' conftest.er1 >conftest.err
29019 cat conftest.err >&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } && {
29022 test -z "$ac_c_werror_flag" ||
29023 test ! -s conftest.err
29024 } && test -s conftest.$ac_objext; then
29026 cat >>confdefs.h <<\_ACEOF
29027 #define __WXGTK26__ 1
29030 { echo "$as_me:$LINENO: result: yes" >&5
29031 echo "${ECHO_T}yes" >&6; }
29035 echo "$as_me: failed program was:" >&5
29036 sed 's
/^
/| /' conftest.$ac_ext >&5
29039 { echo "$as_me:$LINENO: result: no" >&5
29040 echo "${ECHO_T}no" >&6; }
29045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29048 CFLAGS="$save_CFLAGS"
29051 if test "$wxUSE_UNICODE" = "yes"; then
29052 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29053 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29057 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29058 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29059 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 ac_check_lib_save_LIBS=$LIBS
29064 cat >conftest.$ac_ext <<_ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29071 /* Override any GCC internal prototype to avoid an error.
29072 Use char because int might match the return type of a GCC
29073 builtin and then its argument prototype would still apply. */
29077 char gdk_im_open ();
29081 return gdk_im_open ();
29086 rm -f conftest.$ac_objext conftest$ac_exeext
29087 if { (ac_try="$ac_link"
29088 case "(($ac_try" in
29089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29090 *) ac_try_echo=$ac_try;;
29092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29093 (eval "$ac_link") 2>conftest.er1
29095 grep -v '^
*+' conftest.er1 >conftest.err
29097 cat conftest.err >&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } && {
29100 test -z "$ac_c_werror_flag" ||
29101 test ! -s conftest.err
29102 } && test -s conftest$ac_exeext &&
29103 $as_test_x conftest$ac_exeext; then
29104 ac_cv_lib_gdk_gdk_im_open=yes
29106 echo "$as_me: failed program was:" >&5
29107 sed 's
/^
/| /' conftest.$ac_ext >&5
29109 ac_cv_lib_gdk_gdk_im_open=no
29112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29113 conftest$ac_exeext conftest.$ac_ext
29114 LIBS=$ac_check_lib_save_LIBS
29116 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29117 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29118 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29119 cat >>confdefs.h <<\_ACEOF
29126 if test "$USE_DARWIN" != 1; then
29128 for ac_func in poll
29130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29136 cat >conftest.$ac_ext <<_ACEOF
29139 cat confdefs.h >>conftest.$ac_ext
29140 cat >>conftest.$ac_ext <<_ACEOF
29141 /* end confdefs.h. */
29142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29144 #define $ac_func innocuous_$ac_func
29146 /* System header to define __stub macros and hopefully few prototypes,
29147 which can conflict with char $ac_func (); below.
29148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29149 <limits.h> exists even on freestanding compilers. */
29152 # include <limits.h>
29154 # include <assert.h>
29159 /* Override any GCC internal prototype to avoid an error.
29160 Use char because int might match the return type of a GCC
29161 builtin and then its argument prototype would still apply. */
29166 /* The GNU C library defines this for functions which it implements
29167 to always fail with ENOSYS. Some functions are actually named
29168 something starting with __ and the normal name is an alias. */
29169 #if defined __stub_$ac_func || defined __stub___$ac_func
29176 return $ac_func ();
29181 rm -f conftest.$ac_objext conftest$ac_exeext
29182 if { (ac_try="$ac_link"
29183 case "(($ac_try" in
29184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29185 *) ac_try_echo=$ac_try;;
29187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29188 (eval "$ac_link") 2>conftest.er1
29190 grep -v '^
*+' conftest.er1 >conftest.err
29192 cat conftest.err >&5
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); } && {
29195 test -z "$ac_c_werror_flag" ||
29196 test ! -s conftest.err
29197 } && test -s conftest$ac_exeext &&
29198 $as_test_x conftest$ac_exeext; then
29199 eval "$as_ac_var=yes"
29201 echo "$as_me: failed program was:" >&5
29202 sed 's
/^
/| /' conftest.$ac_ext >&5
29204 eval "$as_ac_var=no"
29207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29208 conftest$ac_exeext conftest.$ac_ext
29210 ac_res=`eval echo '${'$as_ac_var'}'`
29211 { echo "$as_me:$LINENO: result: $ac_res" >&5
29212 echo "${ECHO_T}$ac_res" >&6; }
29213 if test `eval echo '${'$as_ac_var'}'` = yes; then
29214 cat >>confdefs.h <<_ACEOF
29215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29224 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29225 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29227 AFMINSTALL=afminstall
29231 if test "$wxUSE_GPE" = "yes"; then
29232 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29233 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29236 for ac_dir in $SEARCH_LIB;
29238 for ac_extension in a so sl dylib dll.a; do
29239 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29240 ac_find_libraries=$ac_dir
29246 if test "$ac_find_libraries" != "" ; then
29248 if test "$ac_find_libraries" = "default location"; then
29251 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29253 if test $result = 0; then
29256 ac_path_to_link=" -L$ac_find_libraries"
29260 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29262 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29263 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29265 { echo "$as_me:$LINENO: result: not found" >&5
29266 echo "${ECHO_T}not found" >&6; }
29272 if test "$wxUSE_MGL" = 1; then
29273 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29274 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29275 if test "x$MGL_ROOT" = x ; then
29276 { echo "$as_me:$LINENO: result: not found" >&5
29277 echo "${ECHO_T}not found" >&6; }
29278 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29279 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29280 { (exit 1); exit 1; }; }
29282 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29283 echo "${ECHO_T}$MGL_ROOT" >&6; }
29286 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29287 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29290 if test "x$wxUSE_SHARED" = xyes ; then
29291 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29293 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29297 mgl_os_candidates="dos32/dj2"
29300 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29301 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29302 { (exit 1); exit 1; }; }
29308 for mgl_os_i in $mgl_os_candidates ; do
29309 if test "x$mgl_os" = x ; then
29310 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29311 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29312 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29317 if test "x$mgl_lib_type" = x ; then
29318 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29319 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29320 mgl_lib_type=release
29327 if test "x$mgl_os" = x ; then
29328 { echo "$as_me:$LINENO: result: not found" >&5
29329 echo "${ECHO_T}not found" >&6; }
29330 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29331 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29332 { (exit 1); exit 1; }; }
29334 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29335 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29337 wxUSE_UNIVERSAL="yes"
29339 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29340 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29342 AFMINSTALL=afminstall
29347 if test "$wxUSE_DFB" = 1; then
29350 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29351 if test -n "$ac_tool_prefix"; then
29352 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29353 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29356 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29357 echo $ECHO_N "(cached) $ECHO_C" >&6
29359 case $PKG_CONFIG in
29361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29365 for as_dir in $PATH
29368 test -z "$as_dir" && as_dir=.
29369 for ac_exec_ext in '' $ac_executable_extensions; do
29370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29371 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29382 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29383 if test -n "$PKG_CONFIG"; then
29384 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29385 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29387 { echo "$as_me:$LINENO: result: no" >&5
29388 echo "${ECHO_T}no" >&6; }
29393 if test -z "$ac_cv_path_PKG_CONFIG"; then
29394 ac_pt_PKG_CONFIG=$PKG_CONFIG
29395 # Extract the first word of "pkg-config", so it can be a program name with args.
29396 set dummy pkg-config; ac_word=$2
29397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29399 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29402 case $ac_pt_PKG_CONFIG in
29404 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29408 for as_dir in $PATH
29411 test -z "$as_dir" && as_dir=.
29412 for ac_exec_ext in '' $ac_executable_extensions; do
29413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29414 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29425 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29426 if test -n "$ac_pt_PKG_CONFIG"; then
29427 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29428 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29430 { echo "$as_me:$LINENO: result: no" >&5
29431 echo "${ECHO_T}no" >&6; }
29434 if test "x$ac_pt_PKG_CONFIG" = x; then
29437 case $cross_compiling:$ac_tool_warned in
29439 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29440 whose name does not start with the host triplet. If you think this
29441 configuration is useful to you, please write to autoconf@gnu.org." >&5
29442 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29443 whose name does not start with the host triplet. If you think this
29444 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29445 ac_tool_warned=yes ;;
29447 PKG_CONFIG=$ac_pt_PKG_CONFIG
29450 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29454 if test -n "$PKG_CONFIG"; then
29455 _pkg_min_version=0.9.0
29456 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29457 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29458 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29459 { echo "$as_me:$LINENO: result: yes" >&5
29460 echo "${ECHO_T}yes" >&6; }
29462 { echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6; }
29471 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29472 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29474 if test -n "$PKG_CONFIG"; then
29475 if test -n "$DIRECTFB_CFLAGS"; then
29476 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29478 if test -n "$PKG_CONFIG" && \
29479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29480 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; then
29484 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29492 if test -n "$PKG_CONFIG"; then
29493 if test -n "$DIRECTFB_LIBS"; then
29494 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29496 if test -n "$PKG_CONFIG" && \
29497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29498 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; then
29502 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29513 if test $pkg_failed = yes; then
29515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29516 _pkg_short_errors_supported=yes
29518 _pkg_short_errors_supported=no
29520 if test $_pkg_short_errors_supported = yes; then
29521 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29523 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29525 # Put the nasty error message in config.log where it belongs
29526 echo "$DIRECTFB_PKG_ERRORS" >&5
29529 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29530 echo "$as_me: error: DirectFB not found." >&2;}
29531 { (exit 1); exit 1; }; }
29534 elif test $pkg_failed = untried; then
29536 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29537 echo "$as_me: error: DirectFB not found." >&2;}
29538 { (exit 1); exit 1; }; }
29542 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29543 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29544 { echo "$as_me:$LINENO: result: yes" >&5
29545 echo "${ECHO_T}yes" >&6; }
29547 wxUSE_UNIVERSAL="yes"
29548 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29549 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29556 if test "$wxUSE_MICROWIN" = 1; then
29557 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29558 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29559 if test "x$MICROWINDOWS" = x ; then
29560 { echo "$as_me:$LINENO: result: not found" >&5
29561 echo "${ECHO_T}not found" >&6; }
29562 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29563 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29564 { (exit 1); exit 1; }; }
29566 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29567 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29570 if test -f $MICROWINDOWS/lib/libmwin.a; then
29571 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29572 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29574 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29575 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29576 { (exit 1); exit 1; }; }
29579 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29580 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29582 wxUSE_UNIVERSAL="yes"
29584 AFMINSTALL=afminstall
29586 GUIDIST=MICROWIN_DIST
29588 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29591 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29592 { echo "$as_me:$LINENO: checking for X" >&5
29593 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29596 # Check whether --with-x was given.
29597 if test "${with_x+set}" = set; then
29601 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29602 if test "x$with_x" = xno; then
29603 # The user explicitly disabled X.
29606 case $x_includes,$x_libraries in #(
29607 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29608 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29609 { (exit 1); exit 1; }; };; #(
29610 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29611 echo $ECHO_N "(cached) $ECHO_C" >&6
29613 # One or both of the vars are not set, and there is no cached value.
29614 ac_x_includes=no ac_x_libraries=no
29615 rm -f -r conftest.dir
29616 if mkdir conftest.dir; then
29618 cat >Imakefile <<'_ACEOF'
29620 @echo incroot='${INCROOT}'
29622 @echo usrlibdir='${USRLIBDIR}'
29624 @echo libdir='${LIBDIR}'
29626 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29627 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29628 for ac_var in incroot usrlibdir libdir; do
29629 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29631 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29632 for ac_extension in a so sl; do
29633 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29634 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29635 ac_im_usrlibdir=$ac_im_libdir; break
29638 # Screen out bogus values from the imake configuration. They are
29639 # bogus both because they are the default anyway, and because
29640 # using them would break gcc on systems where it needs fixed includes.
29641 case $ac_im_incroot in
29642 /usr/include) ac_x_includes= ;;
29643 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29645 case $ac_im_usrlibdir in
29646 /usr/lib | /lib) ;;
29647 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29651 rm -f -r conftest.dir
29654 # Standard set of common directories for X headers.
29655 # Check X11 before X11Rn because it is often a symlink to the current release.
29667 /usr
/local
/X
11/include
29668 /usr
/local
/X
11R
6/include
29669 /usr
/local
/X
11R
5/include
29670 /usr
/local
/X
11R
4/include
29672 /usr
/local
/include
/X11
29673 /usr
/local
/include
/X11R6
29674 /usr
/local
/include
/X11R5
29675 /usr
/local
/include
/X11R4
29679 /usr
/XFree
86/include
/X11
29683 /usr
/unsupported
/include
29684 /usr
/athena
/include
29685 /usr
/local
/x
11r
5/include
29686 /usr
/lpp
/Xamples
/include
29688 /usr
/openwin
/include
29689 /usr
/openwin
/share
/include
'
29691 if test "$ac_x_includes" = no; then
29692 # Guess where to find include files, by looking for Xlib.h.
29693 # First, try using that file with no special directory specified.
29694 cat >conftest.$ac_ext <<_ACEOF
29697 cat confdefs.h >>conftest.$ac_ext
29698 cat >>conftest.$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700 #include <X11/Xlib.h>
29702 if { (ac_try="$ac_cpp conftest.$ac_ext"
29703 case "(($ac_try" in
29704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29705 *) ac_try_echo=$ac_try;;
29707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29710 grep -v '^
*+' conftest.er1 >conftest.err
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } >/dev/null && {
29715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29716 test ! -s conftest.err
29718 # We can compile using X headers with no special include directory.
29721 echo "$as_me: failed program was:" >&5
29722 sed 's
/^
/| /' conftest.$ac_ext >&5
29724 for ac_dir in $ac_x_header_dirs; do
29725 if test -r "$ac_dir/X11/Xlib.h"; then
29726 ac_x_includes=$ac_dir
29732 rm -f conftest.err conftest.$ac_ext
29733 fi # $ac_x_includes = no
29735 if test "$ac_x_libraries" = no; then
29736 # Check for the libraries.
29737 # See if we find them without any special options.
29738 # Don't add to
$LIBS permanently.
29741 cat >conftest.
$ac_ext <<_ACEOF
29744 cat confdefs.h
>>conftest.
$ac_ext
29745 cat >>conftest.
$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29747 #include <X11/Xlib.h>
29756 rm -f conftest.
$ac_objext conftest
$ac_exeext
29757 if { (ac_try
="$ac_link"
29758 case "(($ac_try" in
29759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29760 *) ac_try_echo=$ac_try;;
29762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29763 (eval "$ac_link") 2>conftest.er1
29765 grep -v '^ *+' conftest.er1 >conftest.err
29767 cat conftest.err >&5
29768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 (exit $ac_status); } && {
29770 test -z "$ac_c_werror_flag" ||
29771 test ! -s conftest.err
29772 } && test -s conftest$ac_exeext &&
29773 $as_test_x conftest$ac_exeext; then
29775 # We can link X programs with no special library path.
29778 echo "$as_me: failed program was:" >&5
29779 sed 's/^/| /' conftest.$ac_ext >&5
29782 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29784 # Don't even attempt the hair of trying to link an X program!
29785 for ac_extension in a so sl; do
29786 if test -r "$ac_dir/libX11.$ac_extension"; then
29787 ac_x_libraries=$ac_dir
29794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29795 conftest$ac_exeext conftest.$ac_ext
29796 fi # $ac_x_libraries = no
29798 case $ac_x_includes,$ac_x_libraries in #(
29799 no,* | *,no | *\'*)
29800 # Didn't find X, or a directory has "'" in its name.
29801 ac_cv_have_x="have_x=no";; #(
29803 # Record where we found X for the cache.
29804 ac_cv_have_x="have_x=yes\
29805 ac_x_includes='$ac_x_includes'\
29806 ac_x_libraries='$ac_x_libraries'"
29812 eval "$ac_cv_have_x"
29815 if test "$have_x" != yes; then
29816 { echo "$as_me:$LINENO: result: $have_x" >&5
29817 echo "${ECHO_T}$have_x" >&6; }
29820 # If each of the values was on the command line, it overrides each guess.
29821 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29822 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29823 # Update the cache value to reflect the command line values.
29824 ac_cv_have_x="have_x=yes\
29825 ac_x_includes='$x_includes'\
29826 ac_x_libraries='$x_libraries'"
29827 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29828 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29831 if test "$no_x" = yes; then
29832 # Not all programs may use this symbol, but it does not hurt to define it.
29834 cat >>confdefs.h <<\_ACEOF
29835 #define X_DISPLAY_MISSING 1
29838 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29840 if test -n "$x_includes"; then
29841 X_CFLAGS="$X_CFLAGS -I$x_includes"
29844 # It would also be nice to do this for all -L options, not just this one.
29845 if test -n "$x_libraries"; then
29846 X_LIBS="$X_LIBS -L$x_libraries"
29847 # For Solaris; some versions of Sun CC require a space after -R and
29848 # others require no space. Words are not sufficient . . . .
29849 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29850 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29851 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29852 ac_xsave_c_werror_flag=$ac_c_werror_flag
29853 ac_c_werror_flag=yes
29854 cat >conftest.$ac_ext <<_ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29869 rm -f conftest.$ac_objext conftest$ac_exeext
29870 if { (ac_try="$ac_link"
29871 case "(($ac_try" in
29872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29873 *) ac_try_echo
=$ac_try;;
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_link") 2>conftest.er1
29878 grep -v '^ *+' conftest.er1
>conftest.err
29880 cat conftest.err
>&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); } && {
29883 test -z "$ac_c_werror_flag" ||
29884 test ! -s conftest.err
29885 } && test -s conftest
$ac_exeext &&
29886 $as_test_x conftest
$ac_exeext; then
29887 { echo "$as_me:$LINENO: result: no" >&5
29888 echo "${ECHO_T}no" >&6; }
29889 X_LIBS
="$X_LIBS -R$x_libraries"
29891 echo "$as_me: failed program was:" >&5
29892 sed 's/^/| /' conftest.
$ac_ext >&5
29894 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29895 cat >conftest.
$ac_ext <<_ACEOF
29898 cat confdefs.h
>>conftest.
$ac_ext
29899 cat >>conftest.
$ac_ext <<_ACEOF
29900 /* end confdefs.h. */
29910 rm -f conftest.
$ac_objext conftest
$ac_exeext
29911 if { (ac_try
="$ac_link"
29912 case "(($ac_try" in
29913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_link") 2>conftest.er1
29919 grep -v '^ *+' conftest.er1 >conftest.err
29921 cat conftest.err >&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); } && {
29924 test -z "$ac_c_werror_flag" ||
29925 test ! -s conftest.err
29926 } && test -s conftest$ac_exeext &&
29927 $as_test_x conftest$ac_exeext; then
29928 { echo "$as_me:$LINENO: result: yes" >&5
29929 echo "${ECHO_T}yes" >&6; }
29930 X_LIBS="$X_LIBS -R $x_libraries"
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29935 { echo "$as_me:$LINENO: result: neither works" >&5
29936 echo "${ECHO_T}neither works" >&6; }
29939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29940 conftest$ac_exeext conftest.$ac_ext
29943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29944 conftest$ac_exeext conftest.$ac_ext
29945 ac_c_werror_flag=$ac_xsave_c_werror_flag
29946 LIBS=$ac_xsave_LIBS
29949 # Check for system-dependent libraries X programs must link with.
29950 # Do this before checking for the system-independent R6 libraries
29951 # (-lICE), since we may need -lsocket or whatever for X linking.
29953 if test "$ISC" = yes; then
29954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29956 # Martyn Johnson says this is needed for Ultrix, if the X
29957 # libraries were built with DECnet support. And Karl Berry says
29958 # the Alpha needs dnet_stub (dnet does not exist).
29959 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29960 cat >conftest.$ac_ext <<_ACEOF
29963 cat confdefs.h >>conftest.$ac_ext
29964 cat >>conftest.$ac_ext <<_ACEOF
29965 /* end confdefs.h. */
29967 /* Override any GCC internal prototype to avoid an error.
29968 Use char because int might match the return type of a GCC
29969 builtin and then its argument prototype would still apply. */
29973 char XOpenDisplay ();
29977 return XOpenDisplay ();
29982 rm -f conftest.$ac_objext conftest$ac_exeext
29983 if { (ac_try="$ac_link"
29984 case "(($ac_try" in
29985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29986 *) ac_try_echo
=$ac_try;;
29988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29989 (eval "$ac_link") 2>conftest.er1
29991 grep -v '^ *+' conftest.er1
>conftest.err
29993 cat conftest.err
>&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); } && {
29996 test -z "$ac_c_werror_flag" ||
29997 test ! -s conftest.err
29998 } && test -s conftest
$ac_exeext &&
29999 $as_test_x conftest
$ac_exeext; then
30002 echo "$as_me: failed program was:" >&5
30003 sed 's/^/| /' conftest.
$ac_ext >&5
30005 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30006 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30007 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30008 echo $ECHO_N "(cached) $ECHO_C" >&6
30010 ac_check_lib_save_LIBS
=$LIBS
30011 LIBS
="-ldnet $LIBS"
30012 cat >conftest.
$ac_ext <<_ACEOF
30015 cat confdefs.h
>>conftest.
$ac_ext
30016 cat >>conftest.
$ac_ext <<_ACEOF
30017 /* end confdefs.h. */
30019 /* Override any GCC internal prototype to avoid an error.
30020 Use char because int might match the return type of a GCC
30021 builtin and then its argument prototype would still apply. */
30029 return dnet_ntoa ();
30034 rm -f conftest.
$ac_objext conftest
$ac_exeext
30035 if { (ac_try
="$ac_link"
30036 case "(($ac_try" in
30037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_link") 2>conftest.er1
30043 grep -v '^ *+' conftest.er1 >conftest.err
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } && {
30048 test -z "$ac_c_werror_flag" ||
30049 test ! -s conftest.err
30050 } && test -s conftest$ac_exeext &&
30051 $as_test_x conftest$ac_exeext; then
30052 ac_cv_lib_dnet_dnet_ntoa=yes
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.$ac_ext >&5
30057 ac_cv_lib_dnet_dnet_ntoa=no
30060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30061 conftest$ac_exeext conftest.$ac_ext
30062 LIBS=$ac_check_lib_save_LIBS
30064 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30065 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30066 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30067 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30070 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30071 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30072 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30073 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30074 echo $ECHO_N "(cached) $ECHO_C" >&6
30076 ac_check_lib_save_LIBS=$LIBS
30077 LIBS="-ldnet_stub $LIBS"
30078 cat >conftest.$ac_ext <<_ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30085 /* Override any GCC internal prototype to avoid an error.
30086 Use char because int might match the return type of a GCC
30087 builtin and then its argument prototype would still apply. */
30095 return dnet_ntoa ();
30100 rm -f conftest.$ac_objext conftest$ac_exeext
30101 if { (ac_try="$ac_link"
30102 case "(($ac_try" in
30103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30104 *) ac_try_echo
=$ac_try;;
30106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30107 (eval "$ac_link") 2>conftest.er1
30109 grep -v '^ *+' conftest.er1
>conftest.err
30111 cat conftest.err
>&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); } && {
30114 test -z "$ac_c_werror_flag" ||
30115 test ! -s conftest.err
30116 } && test -s conftest
$ac_exeext &&
30117 $as_test_x conftest
$ac_exeext; then
30118 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30120 echo "$as_me: failed program was:" >&5
30121 sed 's/^/| /' conftest.
$ac_ext >&5
30123 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30126 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30127 conftest
$ac_exeext conftest.
$ac_ext
30128 LIBS
=$ac_check_lib_save_LIBS
30130 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30131 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30132 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30133 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30139 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30140 conftest
$ac_exeext conftest.
$ac_ext
30141 LIBS
="$ac_xsave_LIBS"
30143 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30144 # to get the SysV transport functions.
30145 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30147 # The nsl library prevents programs from opening the X display
30148 # on Irix 5.2, according to T.E. Dickey.
30149 # The functions gethostbyname, getservbyname, and inet_addr are
30150 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30151 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30152 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30153 if test "${ac_cv_func_gethostbyname+set}" = set; then
30154 echo $ECHO_N "(cached) $ECHO_C" >&6
30156 cat >conftest.
$ac_ext <<_ACEOF
30159 cat confdefs.h
>>conftest.
$ac_ext
30160 cat >>conftest.
$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30162 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30164 #define gethostbyname innocuous_gethostbyname
30166 /* System header to define __stub macros and hopefully few prototypes,
30167 which can conflict with char gethostbyname (); below.
30168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30169 <limits.h> exists even on freestanding compilers. */
30172 # include <limits.h>
30174 # include <assert.h>
30177 #undef gethostbyname
30179 /* Override any GCC internal prototype to avoid an error.
30180 Use char because int might match the return type of a GCC
30181 builtin and then its argument prototype would still apply. */
30185 char gethostbyname ();
30186 /* The GNU C library defines this for functions which it implements
30187 to always fail with ENOSYS. Some functions are actually named
30188 something starting with __ and the normal name is an alias. */
30189 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30196 return gethostbyname ();
30201 rm -f conftest.
$ac_objext conftest
$ac_exeext
30202 if { (ac_try
="$ac_link"
30203 case "(($ac_try" in
30204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30205 *) ac_try_echo=$ac_try;;
30207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30208 (eval "$ac_link") 2>conftest.er1
30210 grep -v '^ *+' conftest.er1 >conftest.err
30212 cat conftest.err >&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } && {
30215 test -z "$ac_c_werror_flag" ||
30216 test ! -s conftest.err
30217 } && test -s conftest$ac_exeext &&
30218 $as_test_x conftest$ac_exeext; then
30219 ac_cv_func_gethostbyname=yes
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.$ac_ext >&5
30224 ac_cv_func_gethostbyname=no
30227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30228 conftest$ac_exeext conftest.$ac_ext
30230 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30231 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30233 if test $ac_cv_func_gethostbyname = no; then
30234 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30235 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30236 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30239 ac_check_lib_save_LIBS=$LIBS
30241 cat >conftest.$ac_ext <<_ACEOF
30244 cat confdefs.h >>conftest.$ac_ext
30245 cat >>conftest.$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30248 /* Override any GCC internal prototype to avoid an error.
30249 Use char because int might match the return type of a GCC
30250 builtin and then its argument prototype would still apply. */
30254 char gethostbyname ();
30258 return gethostbyname ();
30263 rm -f conftest.$ac_objext conftest$ac_exeext
30264 if { (ac_try="$ac_link"
30265 case "(($ac_try" in
30266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30267 *) ac_try_echo
=$ac_try;;
30269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30270 (eval "$ac_link") 2>conftest.er1
30272 grep -v '^ *+' conftest.er1
>conftest.err
30274 cat conftest.err
>&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); } && {
30277 test -z "$ac_c_werror_flag" ||
30278 test ! -s conftest.err
30279 } && test -s conftest
$ac_exeext &&
30280 $as_test_x conftest
$ac_exeext; then
30281 ac_cv_lib_nsl_gethostbyname
=yes
30283 echo "$as_me: failed program was:" >&5
30284 sed 's/^/| /' conftest.
$ac_ext >&5
30286 ac_cv_lib_nsl_gethostbyname
=no
30289 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30290 conftest
$ac_exeext conftest.
$ac_ext
30291 LIBS
=$ac_check_lib_save_LIBS
30293 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30294 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30295 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30296 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30299 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30300 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30301 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30302 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30305 ac_check_lib_save_LIBS
=$LIBS
30307 cat >conftest.
$ac_ext <<_ACEOF
30310 cat confdefs.h
>>conftest.
$ac_ext
30311 cat >>conftest.
$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30314 /* Override any GCC internal prototype to avoid an error.
30315 Use char because int might match the return type of a GCC
30316 builtin and then its argument prototype would still apply. */
30320 char gethostbyname ();
30324 return gethostbyname ();
30329 rm -f conftest.
$ac_objext conftest
$ac_exeext
30330 if { (ac_try
="$ac_link"
30331 case "(($ac_try" in
30332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30333 *) ac_try_echo=$ac_try;;
30335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30336 (eval "$ac_link") 2>conftest.er1
30338 grep -v '^ *+' conftest.er1 >conftest.err
30340 cat conftest.err >&5
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); } && {
30343 test -z "$ac_c_werror_flag" ||
30344 test ! -s conftest.err
30345 } && test -s conftest$ac_exeext &&
30346 $as_test_x conftest$ac_exeext; then
30347 ac_cv_lib_bsd_gethostbyname=yes
30349 echo "$as_me: failed program was:" >&5
30350 sed 's/^/| /' conftest.$ac_ext >&5
30352 ac_cv_lib_bsd_gethostbyname=no
30355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30356 conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30359 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30360 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30361 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30362 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30368 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30369 # socket/setsockopt and other routines are undefined under SCO ODT
30370 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30371 # on later versions), says Simon Leinen: it contains gethostby*
30372 # variants that don't use the name server (or something). -lsocket
30373 # must be given before -lnsl if both are needed. We assume that
30374 # if connect needs -lnsl, so does gethostbyname.
30375 { echo "$as_me:$LINENO: checking for connect" >&5
30376 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30377 if test "${ac_cv_func_connect+set}" = set; then
30378 echo $ECHO_N "(cached) $ECHO_C" >&6
30380 cat >conftest.$ac_ext <<_ACEOF
30383 cat confdefs.h >>conftest.$ac_ext
30384 cat >>conftest.$ac_ext <<_ACEOF
30385 /* end confdefs.h. */
30386 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30388 #define connect innocuous_connect
30390 /* System header to define __stub macros and hopefully few prototypes,
30391 which can conflict with char connect (); below.
30392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30393 <limits.h> exists even on freestanding compilers. */
30396 # include <limits.h>
30398 # include <assert.h>
30403 /* Override any GCC internal prototype to avoid an error.
30404 Use char because int might match the return type of a GCC
30405 builtin and then its argument prototype would still apply. */
30410 /* The GNU C library defines this for functions which it implements
30411 to always fail with ENOSYS. Some functions are actually named
30412 something starting with __ and the normal name is an alias. */
30413 #if defined __stub_connect || defined __stub___connect
30425 rm -f conftest.$ac_objext conftest$ac_exeext
30426 if { (ac_try="$ac_link"
30427 case "(($ac_try" in
30428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30429 *) ac_try_echo
=$ac_try;;
30431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30432 (eval "$ac_link") 2>conftest.er1
30434 grep -v '^ *+' conftest.er1
>conftest.err
30436 cat conftest.err
>&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } && {
30439 test -z "$ac_c_werror_flag" ||
30440 test ! -s conftest.err
30441 } && test -s conftest
$ac_exeext &&
30442 $as_test_x conftest
$ac_exeext; then
30443 ac_cv_func_connect
=yes
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.
$ac_ext >&5
30448 ac_cv_func_connect
=no
30451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30452 conftest
$ac_exeext conftest.
$ac_ext
30454 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30455 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30457 if test $ac_cv_func_connect = no
; then
30458 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30459 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30460 if test "${ac_cv_lib_socket_connect+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30463 ac_check_lib_save_LIBS
=$LIBS
30464 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30465 cat >conftest.
$ac_ext <<_ACEOF
30468 cat confdefs.h
>>conftest.
$ac_ext
30469 cat >>conftest.
$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30472 /* Override any GCC internal prototype to avoid an error.
30473 Use char because int might match the return type of a GCC
30474 builtin and then its argument prototype would still apply. */
30487 rm -f conftest.
$ac_objext conftest
$ac_exeext
30488 if { (ac_try
="$ac_link"
30489 case "(($ac_try" in
30490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30491 *) ac_try_echo=$ac_try;;
30493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30494 (eval "$ac_link") 2>conftest.er1
30496 grep -v '^ *+' conftest.er1 >conftest.err
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } && {
30501 test -z "$ac_c_werror_flag" ||
30502 test ! -s conftest.err
30503 } && test -s conftest$ac_exeext &&
30504 $as_test_x conftest$ac_exeext; then
30505 ac_cv_lib_socket_connect=yes
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30510 ac_cv_lib_socket_connect=no
30513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30514 conftest$ac_exeext conftest.$ac_ext
30515 LIBS=$ac_check_lib_save_LIBS
30517 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30518 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30519 if test $ac_cv_lib_socket_connect = yes; then
30520 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30525 # Guillermo Gomez says -lposix is necessary on A/UX.
30526 { echo "$as_me:$LINENO: checking for remove" >&5
30527 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30528 if test "${ac_cv_func_remove+set}" = set; then
30529 echo $ECHO_N "(cached) $ECHO_C" >&6
30531 cat >conftest.$ac_ext <<_ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30537 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30539 #define remove innocuous_remove
30541 /* System header to define __stub macros and hopefully few prototypes,
30542 which can conflict with char remove (); below.
30543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30544 <limits.h> exists even on freestanding compilers. */
30547 # include <limits.h>
30549 # include <assert.h>
30554 /* Override any GCC internal prototype to avoid an error.
30555 Use char because int might match the return type of a GCC
30556 builtin and then its argument prototype would still apply. */
30561 /* The GNU C library defines this for functions which it implements
30562 to always fail with ENOSYS. Some functions are actually named
30563 something starting with __ and the normal name is an alias. */
30564 #if defined __stub_remove || defined __stub___remove
30576 rm -f conftest.$ac_objext conftest$ac_exeext
30577 if { (ac_try="$ac_link"
30578 case "(($ac_try" in
30579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30580 *) ac_try_echo
=$ac_try;;
30582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30583 (eval "$ac_link") 2>conftest.er1
30585 grep -v '^ *+' conftest.er1
>conftest.err
30587 cat conftest.err
>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } && {
30590 test -z "$ac_c_werror_flag" ||
30591 test ! -s conftest.err
30592 } && test -s conftest
$ac_exeext &&
30593 $as_test_x conftest
$ac_exeext; then
30594 ac_cv_func_remove
=yes
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.
$ac_ext >&5
30599 ac_cv_func_remove
=no
30602 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30603 conftest
$ac_exeext conftest.
$ac_ext
30605 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30606 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30608 if test $ac_cv_func_remove = no
; then
30609 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30610 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30611 if test "${ac_cv_lib_posix_remove+set}" = set; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30614 ac_check_lib_save_LIBS
=$LIBS
30615 LIBS
="-lposix $LIBS"
30616 cat >conftest.
$ac_ext <<_ACEOF
30619 cat confdefs.h
>>conftest.
$ac_ext
30620 cat >>conftest.
$ac_ext <<_ACEOF
30621 /* end confdefs.h. */
30623 /* Override any GCC internal prototype to avoid an error.
30624 Use char because int might match the return type of a GCC
30625 builtin and then its argument prototype would still apply. */
30638 rm -f conftest.
$ac_objext conftest
$ac_exeext
30639 if { (ac_try
="$ac_link"
30640 case "(($ac_try" in
30641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30642 *) ac_try_echo=$ac_try;;
30644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30645 (eval "$ac_link") 2>conftest.er1
30647 grep -v '^ *+' conftest.er1 >conftest.err
30649 cat conftest.err >&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } && {
30652 test -z "$ac_c_werror_flag" ||
30653 test ! -s conftest.err
30654 } && test -s conftest$ac_exeext &&
30655 $as_test_x conftest$ac_exeext; then
30656 ac_cv_lib_posix_remove=yes
30658 echo "$as_me: failed program was:" >&5
30659 sed 's/^/| /' conftest.$ac_ext >&5
30661 ac_cv_lib_posix_remove=no
30664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30665 conftest$ac_exeext conftest.$ac_ext
30666 LIBS=$ac_check_lib_save_LIBS
30668 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30669 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30670 if test $ac_cv_lib_posix_remove = yes; then
30671 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30676 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30677 { echo "$as_me:$LINENO: checking for shmat" >&5
30678 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30679 if test "${ac_cv_func_shmat+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30682 cat >conftest.$ac_ext <<_ACEOF
30685 cat confdefs.h >>conftest.$ac_ext
30686 cat >>conftest.$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30690 #define shmat innocuous_shmat
30692 /* System header to define __stub macros and hopefully few prototypes,
30693 which can conflict with char shmat (); below.
30694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30695 <limits.h> exists even on freestanding compilers. */
30698 # include <limits.h>
30700 # include <assert.h>
30705 /* Override any GCC internal prototype to avoid an error.
30706 Use char because int might match the return type of a GCC
30707 builtin and then its argument prototype would still apply. */
30712 /* The GNU C library defines this for functions which it implements
30713 to always fail with ENOSYS. Some functions are actually named
30714 something starting with __ and the normal name is an alias. */
30715 #if defined __stub_shmat || defined __stub___shmat
30727 rm -f conftest.$ac_objext conftest$ac_exeext
30728 if { (ac_try="$ac_link"
30729 case "(($ac_try" in
30730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30731 *) ac_try_echo
=$ac_try;;
30733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30734 (eval "$ac_link") 2>conftest.er1
30736 grep -v '^ *+' conftest.er1
>conftest.err
30738 cat conftest.err
>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } && {
30741 test -z "$ac_c_werror_flag" ||
30742 test ! -s conftest.err
30743 } && test -s conftest
$ac_exeext &&
30744 $as_test_x conftest
$ac_exeext; then
30745 ac_cv_func_shmat
=yes
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.
$ac_ext >&5
30750 ac_cv_func_shmat
=no
30753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30754 conftest
$ac_exeext conftest.
$ac_ext
30756 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30757 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30759 if test $ac_cv_func_shmat = no
; then
30760 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30761 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30762 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30763 echo $ECHO_N "(cached) $ECHO_C" >&6
30765 ac_check_lib_save_LIBS
=$LIBS
30767 cat >conftest.
$ac_ext <<_ACEOF
30770 cat confdefs.h
>>conftest.
$ac_ext
30771 cat >>conftest.
$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30774 /* Override any GCC internal prototype to avoid an error.
30775 Use char because int might match the return type of a GCC
30776 builtin and then its argument prototype would still apply. */
30789 rm -f conftest.
$ac_objext conftest
$ac_exeext
30790 if { (ac_try
="$ac_link"
30791 case "(($ac_try" in
30792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30793 *) ac_try_echo=$ac_try;;
30795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30796 (eval "$ac_link") 2>conftest.er1
30798 grep -v '^ *+' conftest.er1 >conftest.err
30800 cat conftest.err >&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } && {
30803 test -z "$ac_c_werror_flag" ||
30804 test ! -s conftest.err
30805 } && test -s conftest$ac_exeext &&
30806 $as_test_x conftest$ac_exeext; then
30807 ac_cv_lib_ipc_shmat=yes
30809 echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.$ac_ext >&5
30812 ac_cv_lib_ipc_shmat=no
30815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30816 conftest$ac_exeext conftest.$ac_ext
30817 LIBS=$ac_check_lib_save_LIBS
30819 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30820 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30821 if test $ac_cv_lib_ipc_shmat = yes; then
30822 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30828 # Check for libraries that X11R6 Xt/Xaw programs need.
30829 ac_save_LDFLAGS=$LDFLAGS
30830 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30831 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30832 # check for ICE first), but we must link in the order -lSM -lICE or
30833 # we get undefined symbols. So assume we have SM if we have ICE.
30834 # These have to be linked with before -lX11, unlike the other
30835 # libraries we check for below, so use a different variable.
30836 # John Interrante, Karl Berry
30837 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30838 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30839 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30840 echo $ECHO_N "(cached) $ECHO_C" >&6
30842 ac_check_lib_save_LIBS=$LIBS
30843 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30844 cat >conftest.$ac_ext <<_ACEOF
30847 cat confdefs.h >>conftest.$ac_ext
30848 cat >>conftest.$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30851 /* Override any GCC internal prototype to avoid an error.
30852 Use char because int might match the return type of a GCC
30853 builtin and then its argument prototype would still apply. */
30857 char IceConnectionNumber ();
30861 return IceConnectionNumber ();
30866 rm -f conftest.$ac_objext conftest$ac_exeext
30867 if { (ac_try="$ac_link"
30868 case "(($ac_try" in
30869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30870 *) ac_try_echo
=$ac_try;;
30872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30873 (eval "$ac_link") 2>conftest.er1
30875 grep -v '^ *+' conftest.er1
>conftest.err
30877 cat conftest.err
>&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } && {
30880 test -z "$ac_c_werror_flag" ||
30881 test ! -s conftest.err
30882 } && test -s conftest
$ac_exeext &&
30883 $as_test_x conftest
$ac_exeext; then
30884 ac_cv_lib_ICE_IceConnectionNumber
=yes
30886 echo "$as_me: failed program was:" >&5
30887 sed 's/^/| /' conftest.
$ac_ext >&5
30889 ac_cv_lib_ICE_IceConnectionNumber
=no
30892 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30893 conftest
$ac_exeext conftest.
$ac_ext
30894 LIBS
=$ac_check_lib_save_LIBS
30896 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30897 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30898 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30899 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30902 LDFLAGS
=$ac_save_LDFLAGS
30907 if test "$no_x" = "yes"; then
30908 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30909 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30910 { (exit 1); exit 1; }; }
30913 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30914 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30915 AFMINSTALL
=afminstall
30916 COMPILED_X_PROGRAM
=0
30920 if test "$wxUSE_X11" = 1; then
30921 if test "$wxUSE_NANOX" = "yes"; then
30922 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30923 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30924 if test "x$MICROWIN" = x
; then
30925 { echo "$as_me:$LINENO: result: not found" >&5
30926 echo "${ECHO_T}not found" >&6; }
30927 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30928 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30929 { (exit 1); exit 1; }; }
30931 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30932 echo "${ECHO_T}$MICROWIN" >&6; }
30933 cat >>confdefs.h
<<\_ACEOF
30934 #define wxUSE_NANOX 1
30940 if test "$wxUSE_UNICODE" = "yes"; then
30943 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30944 if test -n "$ac_tool_prefix"; then
30945 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30946 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30949 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30952 case $PKG_CONFIG in
30954 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30958 for as_dir
in $PATH
30961 test -z "$as_dir" && as_dir
=.
30962 for ac_exec_ext
in '' $ac_executable_extensions; do
30963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30964 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30975 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30976 if test -n "$PKG_CONFIG"; then
30977 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30978 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30980 { echo "$as_me:$LINENO: result: no" >&5
30981 echo "${ECHO_T}no" >&6; }
30986 if test -z "$ac_cv_path_PKG_CONFIG"; then
30987 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30988 # Extract the first word of "pkg-config", so it can be a program name with args.
30989 set dummy pkg
-config; ac_word
=$2
30990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30992 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30993 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 case $ac_pt_PKG_CONFIG in
30997 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31001 for as_dir
in $PATH
31004 test -z "$as_dir" && as_dir
=.
31005 for ac_exec_ext
in '' $ac_executable_extensions; do
31006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31007 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31018 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31019 if test -n "$ac_pt_PKG_CONFIG"; then
31020 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31021 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31023 { echo "$as_me:$LINENO: result: no" >&5
31024 echo "${ECHO_T}no" >&6; }
31027 if test "x$ac_pt_PKG_CONFIG" = x
; then
31030 case $cross_compiling:$ac_tool_warned in
31032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31033 whose name does not start with the host triplet. If you think this
31034 configuration is useful to you, please write to autoconf@gnu.org." >&5
31035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31036 whose name does not start with the host triplet. If you think this
31037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31038 ac_tool_warned
=yes ;;
31040 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31043 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31047 if test -n "$PKG_CONFIG"; then
31048 _pkg_min_version
=0.9.0
31049 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31050 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31051 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31052 { echo "$as_me:$LINENO: result: yes" >&5
31053 echo "${ECHO_T}yes" >&6; }
31055 { echo "$as_me:$LINENO: result: no" >&5
31056 echo "${ECHO_T}no" >&6; }
31064 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31065 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31067 if test -n "$PKG_CONFIG"; then
31068 if test -n "$PANGOX_CFLAGS"; then
31069 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31071 if test -n "$PKG_CONFIG" && \
31072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31073 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; then
31077 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31085 if test -n "$PKG_CONFIG"; then
31086 if test -n "$PANGOX_LIBS"; then
31087 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31089 if test -n "$PKG_CONFIG" && \
31090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31091 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); }; then
31095 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31106 if test $pkg_failed = yes; then
31108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31109 _pkg_short_errors_supported
=yes
31111 _pkg_short_errors_supported
=no
31113 if test $_pkg_short_errors_supported = yes; then
31114 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31116 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31118 # Put the nasty error message in config.log where it belongs
31119 echo "$PANGOX_PKG_ERRORS" >&5
31122 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31123 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31124 { (exit 1); exit 1; }; }
31127 elif test $pkg_failed = untried
; then
31129 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31130 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31131 { (exit 1); exit 1; }; }
31135 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31136 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31137 { echo "$as_me:$LINENO: result: yes" >&5
31138 echo "${ECHO_T}yes" >&6; }
31140 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31141 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31142 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31147 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31148 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31150 if test -n "$PKG_CONFIG"; then
31151 if test -n "$PANGOFT2_CFLAGS"; then
31152 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31154 if test -n "$PKG_CONFIG" && \
31155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31156 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; then
31160 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31168 if test -n "$PKG_CONFIG"; then
31169 if test -n "$PANGOFT2_LIBS"; then
31170 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31172 if test -n "$PKG_CONFIG" && \
31173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31174 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; then
31178 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31189 if test $pkg_failed = yes; then
31191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31192 _pkg_short_errors_supported
=yes
31194 _pkg_short_errors_supported
=no
31196 if test $_pkg_short_errors_supported = yes; then
31197 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31199 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31201 # Put the nasty error message in config.log where it belongs
31202 echo "$PANGOFT2_PKG_ERRORS" >&5
31205 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31206 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31207 wxUSE_PRINTING_ARCHITECTURE
="no"
31210 elif test $pkg_failed = untried
; then
31212 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31213 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31214 wxUSE_PRINTING_ARCHITECTURE
="no"
31218 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31219 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31220 { echo "$as_me:$LINENO: result: yes" >&5
31221 echo "${ECHO_T}yes" >&6; }
31223 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31224 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31225 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31230 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31231 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31233 if test -n "$PKG_CONFIG"; then
31234 if test -n "$PANGOXFT_CFLAGS"; then
31235 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31237 if test -n "$PKG_CONFIG" && \
31238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31239 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; then
31243 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31251 if test -n "$PKG_CONFIG"; then
31252 if test -n "$PANGOXFT_LIBS"; then
31253 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31255 if test -n "$PKG_CONFIG" && \
31256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31257 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; then
31261 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31272 if test $pkg_failed = yes; then
31274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31275 _pkg_short_errors_supported
=yes
31277 _pkg_short_errors_supported
=no
31279 if test $_pkg_short_errors_supported = yes; then
31280 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31282 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31284 # Put the nasty error message in config.log where it belongs
31285 echo "$PANGOXFT_PKG_ERRORS" >&5
31288 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31289 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31292 elif test $pkg_failed = untried
; then
31294 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31295 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31299 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31300 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31301 { echo "$as_me:$LINENO: result: yes" >&5
31302 echo "${ECHO_T}yes" >&6; }
31304 cat >>confdefs.h
<<\_ACEOF
31305 #define HAVE_PANGO_XFT 1
31308 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31309 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31310 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31314 LIBS
="$LIBS $PANGOX_LIBS"
31316 for ac_func
in pango_font_family_is_monospace
31318 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31321 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31322 echo $ECHO_N "(cached) $ECHO_C" >&6
31324 cat >conftest.
$ac_ext <<_ACEOF
31327 cat confdefs.h
>>conftest.
$ac_ext
31328 cat >>conftest.
$ac_ext <<_ACEOF
31329 /* end confdefs.h. */
31330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31332 #define $ac_func innocuous_$ac_func
31334 /* System header to define __stub macros and hopefully few prototypes,
31335 which can conflict with char $ac_func (); below.
31336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31337 <limits.h> exists even on freestanding compilers. */
31340 # include <limits.h>
31342 # include <assert.h>
31347 /* Override any GCC internal prototype to avoid an error.
31348 Use char because int might match the return type of a GCC
31349 builtin and then its argument prototype would still apply. */
31354 /* The GNU C library defines this for functions which it implements
31355 to always fail with ENOSYS. Some functions are actually named
31356 something starting with __ and the normal name is an alias. */
31357 #if defined __stub_$ac_func || defined __stub___$ac_func
31364 return $ac_func ();
31369 rm -f conftest.
$ac_objext conftest
$ac_exeext
31370 if { (ac_try
="$ac_link"
31371 case "(($ac_try" in
31372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31373 *) ac_try_echo=$ac_try;;
31375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31376 (eval "$ac_link") 2>conftest.er1
31378 grep -v '^ *+' conftest.er1 >conftest.err
31380 cat conftest.err >&5
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); } && {
31383 test -z "$ac_c_werror_flag" ||
31384 test ! -s conftest.err
31385 } && test -s conftest$ac_exeext &&
31386 $as_test_x conftest$ac_exeext; then
31387 eval "$as_ac_var=yes"
31389 echo "$as_me: failed program was:" >&5
31390 sed 's/^/| /' conftest.$ac_ext >&5
31392 eval "$as_ac_var=no"
31395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31396 conftest$ac_exeext conftest.$ac_ext
31398 ac_res=`eval echo '${'$as_ac_var'}'`
31399 { echo "$as_me:$LINENO: result: $ac_res" >&5
31400 echo "${ECHO_T}$ac_res" >&6; }
31401 if test `eval echo '${'$as_ac_var'}'` = yes; then
31402 cat >>confdefs.h <<_ACEOF
31403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31412 wxUSE_UNIVERSAL="yes"
31414 if test "$wxUSE_NANOX" = "yes"; then
31415 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31416 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"
31417 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31419 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31426 if test "$wxUSE_MOTIF" = 1; then
31427 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31428 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31431 for ac_dir in $SEARCH_INCLUDE /usr/include;
31433 if test -f "$ac_dir/Xm/Xm.h"; then
31434 ac_find_includes=$ac_dir
31439 if test "$ac_find_includes" != "" ; then
31440 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31441 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31443 if test "x$ac_find_includes" = "x/usr/include"; then
31444 ac_path_to_include=""
31446 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31448 if test $result = 0; then
31449 ac_path_to_include=""
31451 ac_path_to_include=" -I$ac_find_includes"
31455 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31457 save_CFLAGS=$CFLAGS
31458 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31460 cat >conftest.$ac_ext <<_ACEOF
31463 cat confdefs.h >>conftest.$ac_ext
31464 cat >>conftest.$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31474 version = xmUseVersion;
31480 rm -f conftest.$ac_objext
31481 if { (ac_try="$ac_compile"
31482 case "(($ac_try" in
31483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31484 *) ac_try_echo
=$ac_try;;
31486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31487 (eval "$ac_compile") 2>conftest.er1
31489 grep -v '^ *+' conftest.er1
>conftest.err
31491 cat conftest.err
>&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } && {
31494 test -z "$ac_c_werror_flag" ||
31495 test ! -s conftest.err
31496 } && test -s conftest.
$ac_objext; then
31498 { echo "$as_me:$LINENO: result: found in default search path" >&5
31499 echo "${ECHO_T}found in default search path" >&6; }
31500 COMPILED_X_PROGRAM
=1
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.
$ac_ext >&5
31507 { echo "$as_me:$LINENO: result: no" >&5
31508 echo "${ECHO_T}no" >&6; }
31509 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31510 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31511 { (exit 1); exit 1; }; }
31516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31518 CFLAGS
=$save_CFLAGS
31522 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31523 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31526 for ac_dir
in $SEARCH_LIB;
31528 for ac_extension
in a so sl dylib dll.a
; do
31529 if test -f "$ac_dir/libXm.$ac_extension"; then
31530 ac_find_libraries
=$ac_dir
31537 if test "x$ac_find_libraries" != "x" ; then
31538 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31539 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31542 if test "$ac_find_libraries" = "default location"; then
31545 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31547 if test $result = 0; then
31550 ac_path_to_link
=" -L$ac_find_libraries"
31554 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31556 save_CFLAGS
=$CFLAGS
31557 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31559 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31561 cat >conftest.
$ac_ext <<_ACEOF
31564 cat confdefs.h
>>conftest.
$ac_ext
31565 cat >>conftest.
$ac_ext <<_ACEOF
31566 /* end confdefs.h. */
31575 version = xmUseVersion;
31581 rm -f conftest.
$ac_objext conftest
$ac_exeext
31582 if { (ac_try
="$ac_link"
31583 case "(($ac_try" in
31584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31585 *) ac_try_echo=$ac_try;;
31587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31588 (eval "$ac_link") 2>conftest.er1
31590 grep -v '^ *+' conftest.er1 >conftest.err
31592 cat conftest.err >&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } && {
31595 test -z "$ac_c_werror_flag" ||
31596 test ! -s conftest.err
31597 } && test -s conftest$ac_exeext &&
31598 $as_test_x conftest$ac_exeext; then
31600 { echo "$as_me:$LINENO: result: found in default search path" >&5
31601 echo "${ECHO_T}found in default search path" >&6; }
31602 COMPILED_X_PROGRAM=1
31605 echo "$as_me: failed program was:" >&5
31606 sed 's/^/| /' conftest.$ac_ext >&5
31609 { echo "$as_me:$LINENO: result: no" >&5
31610 echo "${ECHO_T}no" >&6; }
31611 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31612 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31613 { (exit 1); exit 1; }; }
31618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31619 conftest$ac_exeext conftest.$ac_ext
31621 CFLAGS=$save_CFLAGS
31625 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31626 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31630 for libp in "" " -lXp"; do
31631 if test "$libs_found" = 0; then
31632 for libsm_ice in "" " -lSM -lICE"; do
31633 if test "$libs_found" = 0; then
31635 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31636 save_CFLAGS=$CFLAGS
31637 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31639 cat >conftest.$ac_ext <<_ACEOF
31642 cat confdefs.h >>conftest.$ac_ext
31643 cat >>conftest.$ac_ext <<_ACEOF
31644 /* end confdefs.h. */
31647 #include <Xm/List.h>
31653 XmString string = NULL;
31656 XmListAddItem(w, string, position);
31662 rm -f conftest.$ac_objext conftest$ac_exeext
31663 if { (ac_try="$ac_link"
31664 case "(($ac_try" in
31665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31666 *) ac_try_echo
=$ac_try;;
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_link") 2>conftest.er1
31671 grep -v '^ *+' conftest.er1
>conftest.err
31673 cat conftest.err
>&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } && {
31676 test -z "$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31678 } && test -s conftest
$ac_exeext &&
31679 $as_test_x conftest
$ac_exeext; then
31682 libsm_ice_link
="$libsm_ice"
31683 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31684 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.
$ac_ext >&5
31695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31696 conftest
$ac_exeext conftest.
$ac_ext
31699 CFLAGS
=$save_CFLAGS
31705 if test "$libs_found" = 0; then
31706 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31707 echo "${ECHO_T}can't find the right libraries" >&6; }
31708 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31709 echo "$as_me: error: can't link a simple motif program" >&2;}
31710 { (exit 1); exit 1; }; }
31713 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31714 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31715 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31718 ac_check_lib_save_LIBS
=$LIBS
31720 cat >conftest.
$ac_ext <<_ACEOF
31723 cat confdefs.h
>>conftest.
$ac_ext
31724 cat >>conftest.
$ac_ext <<_ACEOF
31725 /* end confdefs.h. */
31727 /* Override any GCC internal prototype to avoid an error.
31728 Use char because int might match the return type of a GCC
31729 builtin and then its argument prototype would still apply. */
31733 char SgCreateList ();
31737 return SgCreateList ();
31742 rm -f conftest.
$ac_objext conftest
$ac_exeext
31743 if { (ac_try
="$ac_link"
31744 case "(($ac_try" in
31745 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31746 *) ac_try_echo=$ac_try;;
31748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31749 (eval "$ac_link") 2>conftest.er1
31751 grep -v '^ *+' conftest.er1 >conftest.err
31753 cat conftest.err >&5
31754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755 (exit $ac_status); } && {
31756 test -z "$ac_c_werror_flag" ||
31757 test ! -s conftest.err
31758 } && test -s conftest$ac_exeext &&
31759 $as_test_x conftest$ac_exeext; then
31760 ac_cv_lib_Sgm_SgCreateList=yes
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.$ac_ext >&5
31765 ac_cv_lib_Sgm_SgCreateList=no
31768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31769 conftest$ac_exeext conftest.$ac_ext
31770 LIBS=$ac_check_lib_save_LIBS
31772 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31773 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31774 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31775 libsgm_link=" -lSgm"
31779 save_CFLAGS=$CFLAGS
31780 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31782 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31783 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31784 if test "${wx_cv_lib_motif2+set}" = set; then
31785 echo $ECHO_N "(cached) $ECHO_C" >&6
31787 cat >conftest.$ac_ext <<_ACEOF
31790 cat confdefs.h >>conftest.$ac_ext
31791 cat >>conftest.$ac_ext <<_ACEOF
31792 /* end confdefs.h. */
31800 #if XmVersion < 2000
31808 rm -f conftest.$ac_objext
31809 if { (ac_try="$ac_compile"
31810 case "(($ac_try" in
31811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31812 *) ac_try_echo
=$ac_try;;
31814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31815 (eval "$ac_compile") 2>conftest.er1
31817 grep -v '^ *+' conftest.er1
>conftest.err
31819 cat conftest.err
>&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } && {
31822 test -z "$ac_c_werror_flag" ||
31823 test ! -s conftest.err
31824 } && test -s conftest.
$ac_objext; then
31825 wx_cv_lib_motif2
="yes"
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.
$ac_ext >&5
31830 wx_cv_lib_motif2
="no"
31833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31835 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31836 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31837 if test "$wx_cv_lib_motif2" = "yes"; then
31838 cat >>confdefs.h
<<\_ACEOF
31839 #define __WXMOTIF20__ 1
31843 cat >>confdefs.h
<<\_ACEOF
31844 #define __WXMOTIF20__ 0
31849 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31850 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31851 if test "${wx_cv_lib_lesstif+set}" = set; then
31852 echo $ECHO_N "(cached) $ECHO_C" >&6
31854 cat >conftest.
$ac_ext <<_ACEOF
31857 cat confdefs.h
>>conftest.
$ac_ext
31858 cat >>conftest.
$ac_ext <<_ACEOF
31859 /* end confdefs.h. */
31867 #if !defined(LesstifVersion) || LesstifVersion <= 0
31875 rm -f conftest.
$ac_objext
31876 if { (ac_try
="$ac_compile"
31877 case "(($ac_try" in
31878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31879 *) ac_try_echo=$ac_try;;
31881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31882 (eval "$ac_compile") 2>conftest.er1
31884 grep -v '^ *+' conftest.er1 >conftest.err
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } && {
31889 test -z "$ac_c_werror_flag" ||
31890 test ! -s conftest.err
31891 } && test -s conftest.$ac_objext; then
31892 wx_cv_lib_lesstif="yes"
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.$ac_ext >&5
31897 wx_cv_lib_lesstif="no"
31900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31903 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31904 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31905 if test "$wx_cv_lib_lesstif" = "yes"; then
31906 cat >>confdefs.h <<\_ACEOF
31907 #define __WXLESSTIF__ 1
31911 cat >>confdefs.h <<\_ACEOF
31912 #define __WXLESSTIF__ 0
31917 CFLAGS=$save_CFLAGS
31919 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31924 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31925 if test "$wxUSE_LIBXPM" = "sys"; then
31926 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31927 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31930 for ac_dir in $SEARCH_LIB;
31932 for ac_extension in a so sl dylib dll.a; do
31933 if test -f "$ac_dir/libXpm.$ac_extension"; then
31934 ac_find_libraries=$ac_dir
31940 if test "$ac_find_libraries" != "" ; then
31942 if test "$ac_find_libraries" = "default location"; then
31945 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31947 if test $result = 0; then
31950 ac_path_to_link=" -L$ac_find_libraries"
31954 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31955 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31956 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31958 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31959 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31960 if test "${wx_cv_x11_xpm_h+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31964 save_CFLAGS=$CFLAGS
31965 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31967 cat >conftest.$ac_ext <<_ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31974 #include <X11/xpm.h>
31981 version = XpmLibraryVersion();
31987 rm -f conftest.$ac_objext
31988 if { (ac_try="$ac_compile"
31989 case "(($ac_try" in
31990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31991 *) ac_try_echo
=$ac_try;;
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_compile") 2>conftest.er1
31996 grep -v '^ *+' conftest.er1
>conftest.err
31998 cat conftest.err
>&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest.
$ac_objext; then
32004 wx_cv_x11_xpm_h
=yes
32006 echo "$as_me: failed program was:" >&5
32007 sed 's/^/| /' conftest.
$ac_ext >&5
32013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32015 CFLAGS
=$save_CFLAGS
32019 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32020 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32022 if test $wx_cv_x11_xpm_h = "yes"; then
32023 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32024 cat >>confdefs.h
<<\_ACEOF
32025 #define wxHAVE_LIB_XPM 1
32029 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32030 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32036 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32037 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32038 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32039 echo $ECHO_N "(cached) $ECHO_C" >&6
32041 ac_check_lib_save_LIBS
=$LIBS
32042 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32043 cat >conftest.
$ac_ext <<_ACEOF
32046 cat confdefs.h
>>conftest.
$ac_ext
32047 cat >>conftest.
$ac_ext <<_ACEOF
32048 /* end confdefs.h. */
32050 /* Override any GCC internal prototype to avoid an error.
32051 Use char because int might match the return type of a GCC
32052 builtin and then its argument prototype would still apply. */
32056 char XShapeQueryExtension ();
32060 return XShapeQueryExtension ();
32065 rm -f conftest.
$ac_objext conftest
$ac_exeext
32066 if { (ac_try
="$ac_link"
32067 case "(($ac_try" in
32068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32069 *) ac_try_echo=$ac_try;;
32071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32072 (eval "$ac_link") 2>conftest.er1
32074 grep -v '^ *+' conftest.er1 >conftest.err
32076 cat conftest.err >&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); } && {
32079 test -z "$ac_c_werror_flag" ||
32080 test ! -s conftest.err
32081 } && test -s conftest$ac_exeext &&
32082 $as_test_x conftest$ac_exeext; then
32083 ac_cv_lib_Xext_XShapeQueryExtension=yes
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.$ac_ext >&5
32088 ac_cv_lib_Xext_XShapeQueryExtension=no
32091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32092 conftest$ac_exeext conftest.$ac_ext
32093 LIBS=$ac_check_lib_save_LIBS
32095 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32096 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32097 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32099 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32105 if test "$wxHAVE_XEXT_LIB" = 1; then
32106 save_CFLAGS="$CFLAGS"
32107 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32109 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32110 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32111 cat >conftest.$ac_ext <<_ACEOF
32114 cat confdefs.h >>conftest.$ac_ext
32115 cat >>conftest.$ac_ext <<_ACEOF
32116 /* end confdefs.h. */
32118 #include <X11/Xlib.h>
32119 #include <X11/extensions/shape.h>
32125 int dummy1, dummy2;
32126 XShapeQueryExtension((Display*)NULL,
32127 (int*)NULL, (int*)NULL);
32133 rm -f conftest.$ac_objext
32134 if { (ac_try="$ac_compile"
32135 case "(($ac_try" in
32136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32137 *) ac_try_echo
=$ac_try;;
32139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32140 (eval "$ac_compile") 2>conftest.er1
32142 grep -v '^ *+' conftest.er1
>conftest.err
32144 cat conftest.err
>&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); } && {
32147 test -z "$ac_c_werror_flag" ||
32148 test ! -s conftest.err
32149 } && test -s conftest.
$ac_objext; then
32151 cat >>confdefs.h
<<\_ACEOF
32152 #define HAVE_XSHAPE 1
32155 { echo "$as_me:$LINENO: result: found" >&5
32156 echo "${ECHO_T}found" >&6; }
32159 echo "$as_me: failed program was:" >&5
32160 sed 's/^/| /' conftest.
$ac_ext >&5
32163 { echo "$as_me:$LINENO: result: not found" >&5
32164 echo "${ECHO_T}not found" >&6; }
32168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32169 CFLAGS
="$save_CFLAGS"
32174 if test "$wxUSE_MAC" = 1; then
32175 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32176 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32177 if test "$GCC" = yes; then
32178 { echo "$as_me:$LINENO: result: gcc" >&5
32179 echo "${ECHO_T}gcc" >&6; }
32180 CPPFLAGS_PASCAL
="-fpascal-strings"
32181 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32182 { echo "$as_me:$LINENO: result: xlc" >&5
32183 echo "${ECHO_T}xlc" >&6; }
32184 CPPFLAGS_PASCAL
="-qmacpstr"
32186 { echo "$as_me:$LINENO: result: none" >&5
32187 echo "${ECHO_T}none" >&6; }
32190 if test "x$wxUSE_UNIX" = "xyes"; then
32191 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32193 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32198 WXBASEPORT
="_carbon"
32201 if test "$wxUSE_COCOA" = 1; then
32206 if test "$wxUSE_PM" = 1; then
32209 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32210 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32211 if test "${wx_cv_spbcdata+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32215 cat >conftest.
$ac_ext <<_ACEOF
32218 cat confdefs.h
>>conftest.
$ac_ext
32219 cat >>conftest.
$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32235 rm -f conftest.
$ac_objext
32236 if { (ac_try
="$ac_compile"
32237 case "(($ac_try" in
32238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32239 *) ac_try_echo=$ac_try;;
32241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32242 (eval "$ac_compile") 2>conftest.er1
32244 grep -v '^ *+' conftest.er1 >conftest.err
32246 cat conftest.err >&5
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); } && {
32249 test -z "$ac_c_werror_flag" ||
32250 test ! -s conftest.err
32251 } && test -s conftest.$ac_objext; then
32254 echo "$as_me: failed program was:" >&5
32255 sed 's/^/| /' conftest.$ac_ext >&5
32261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32265 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32266 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32268 if test $wx_cv_spbcdata = "yes"; then
32269 cat >>confdefs.h <<\_ACEOF
32270 #define HAVE_SPBCDATA 1
32276 if test "$TOOLKIT" = "PM" ; then
32279 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A
-Z a
-z`
32282 if test "$wxUSE_UNIVERSAL" = "yes"; then
32283 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32287 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32288 DISTDIR="wx\$(TOOLKIT)"
32294 if test "$USE_WIN32" = 1 ; then
32298 GUIDIST="BASE_DIST"
32304 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32305 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32306 wxUSE_UNICODE_UTF8=yes
32307 elif test "$USE_OS2" = 1 ; then
32308 wxUSE_UNICODE_UTF8=yes
32310 wxUSE_UNICODE_UTF8=no
32315 if test "$wxUSE_GUI" = "yes"; then
32316 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32318 for ac_header in X11/Xlib.h
32320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 cat >conftest.$ac_ext <<_ACEOF
32329 cat confdefs.h >>conftest.$ac_ext
32330 cat >>conftest.$ac_ext <<_ACEOF
32331 /* end confdefs.h. */
32334 #include <$ac_header>
32336 rm -f conftest.$ac_objext
32337 if { (ac_try="$ac_compile"
32338 case "(($ac_try" in
32339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32340 *) ac_try_echo
=$ac_try;;
32342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32343 (eval "$ac_compile") 2>conftest.er1
32345 grep -v '^ *+' conftest.er1
>conftest.err
32347 cat conftest.err
>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && {
32350 test -z "$ac_c_werror_flag" ||
32351 test ! -s conftest.err
32352 } && test -s conftest.
$ac_objext; then
32353 eval "$as_ac_Header=yes"
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.
$ac_ext >&5
32358 eval "$as_ac_Header=no"
32361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32363 ac_res
=`eval echo '${'$as_ac_Header'}'`
32364 { echo "$as_me:$LINENO: result: $ac_res" >&5
32365 echo "${ECHO_T}$ac_res" >&6; }
32366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32367 cat >>confdefs.h
<<_ACEOF
32368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32376 for ac_header
in X
11/XKBlib.h
32378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32381 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32384 cat >conftest.
$ac_ext <<_ACEOF
32387 cat confdefs.h
>>conftest.
$ac_ext
32388 cat >>conftest.
$ac_ext <<_ACEOF
32389 /* end confdefs.h. */
32391 #if HAVE_X11_XLIB_H
32392 #include <X11/Xlib.h>
32396 #include <$ac_header>
32398 rm -f conftest.
$ac_objext
32399 if { (ac_try
="$ac_compile"
32400 case "(($ac_try" in
32401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32402 *) ac_try_echo=$ac_try;;
32404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32405 (eval "$ac_compile") 2>conftest.er1
32407 grep -v '^ *+' conftest.er1 >conftest.err
32409 cat conftest.err >&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); } && {
32412 test -z "$ac_c_werror_flag" ||
32413 test ! -s conftest.err
32414 } && test -s conftest.$ac_objext; then
32415 eval "$as_ac_Header=yes"
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32420 eval "$as_ac_Header=no"
32423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32425 ac_res=`eval echo '${'$as_ac_Header'}'`
32426 { echo "$as_me:$LINENO: result: $ac_res" >&5
32427 echo "${ECHO_T}$ac_res" >&6; }
32428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32429 cat >>confdefs.h <<_ACEOF
32430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32442 if test "$wxUSE_DISPLAY" = "yes"; then
32443 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32444 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32445 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32448 for ac_dir in $SEARCH_LIB;
32450 for ac_extension in a so sl dylib dll.a; do
32451 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32452 ac_find_libraries=$ac_dir
32458 if test "$ac_find_libraries" != "" ; then
32460 if test "$ac_find_libraries" = "default location"; then
32463 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32465 if test $result = 0; then
32468 ac_path_to_link=" -L$ac_find_libraries"
32472 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32473 LDFLAGS="$LDFLAGS $ac_path_to_link"
32475 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32476 { echo "$as_me:$LINENO: result: yes" >&5
32477 echo "${ECHO_T}yes" >&6; }
32479 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32480 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32483 for ac_dir in $SEARCH_LIB;
32485 for ac_extension in a so sl dylib dll.a; do
32486 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32487 ac_find_libraries=$ac_dir
32493 if test "$ac_find_libraries" != "" ; then
32494 { echo "$as_me:$LINENO: result: yes" >&5
32495 echo "${ECHO_T}yes" >&6; }
32497 for ac_header in X11/extensions/xf86vmode.h
32499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32503 echo $ECHO_N "(cached) $ECHO_C" >&6
32505 cat >conftest.$ac_ext <<_ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32512 #if HAVE_X11_XLIB_H
32513 #include <X11/Xlib.h>
32517 #include <$ac_header>
32519 rm -f conftest.$ac_objext
32520 if { (ac_try="$ac_compile"
32521 case "(($ac_try" in
32522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32523 *) ac_try_echo
=$ac_try;;
32525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32526 (eval "$ac_compile") 2>conftest.er1
32528 grep -v '^ *+' conftest.er1
>conftest.err
32530 cat conftest.err
>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } && {
32533 test -z "$ac_c_werror_flag" ||
32534 test ! -s conftest.err
32535 } && test -s conftest.
$ac_objext; then
32536 eval "$as_ac_Header=yes"
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.
$ac_ext >&5
32541 eval "$as_ac_Header=no"
32544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32546 ac_res
=`eval echo '${'$as_ac_Header'}'`
32547 { echo "$as_me:$LINENO: result: $ac_res" >&5
32548 echo "${ECHO_T}$ac_res" >&6; }
32549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32550 cat >>confdefs.h
<<_ACEOF
32551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32554 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32561 { echo "$as_me:$LINENO: result: no" >&5
32562 echo "${ECHO_T}no" >&6; }
32566 { echo "$as_me:$LINENO: result: no" >&5
32567 echo "${ECHO_T}no" >&6; }
32568 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32569 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32572 elif test "$wxUSE_MSW" = 1; then
32573 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32574 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32575 if test "${ac_cv_header_ddraw_h+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 cat >conftest.
$ac_ext <<_ACEOF
32581 cat confdefs.h
>>conftest.
$ac_ext
32582 cat >>conftest.
$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32584 #include <windows.h>
32588 rm -f conftest.
$ac_objext
32589 if { (ac_try
="$ac_compile"
32590 case "(($ac_try" in
32591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32592 *) ac_try_echo=$ac_try;;
32594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32595 (eval "$ac_compile") 2>conftest.er1
32597 grep -v '^ *+' conftest.er1 >conftest.err
32599 cat conftest.err >&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); } && {
32602 test -z "$ac_c_werror_flag" ||
32603 test ! -s conftest.err
32604 } && test -s conftest.$ac_objext; then
32605 ac_cv_header_ddraw_h=yes
32607 echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.$ac_ext >&5
32610 ac_cv_header_ddraw_h=no
32613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32616 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32622 if test "$wxUSE_DETECT_SM" = "yes"; then
32623 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32624 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32625 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32628 for ac_dir in $SEARCH_LIB;
32630 for ac_extension in a so sl dylib dll.a; do
32631 if test -f "$ac_dir/libSM.$ac_extension"; then
32632 ac_find_libraries=$ac_dir
32638 if test "$ac_find_libraries" != "" ; then
32640 if test "$ac_find_libraries" = "default location"; then
32643 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32645 if test $result = 0; then
32648 ac_path_to_link=" -L$ac_find_libraries"
32652 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32653 LDFLAGS="$LDFLAGS $ac_path_to_link"
32655 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32656 { echo "$as_me:$LINENO: result: yes" >&5
32657 echo "${ECHO_T}yes" >&6; }
32659 { echo "$as_me:$LINENO: result: no" >&5
32660 echo "${ECHO_T}no" >&6; }
32661 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32662 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32663 wxUSE_DETECT_SM="no"
32666 wxUSE_DETECT_SM="no"
32673 if test "$wxUSE_OPENGL" = "yes"; then
32674 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32675 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32676 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32678 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32679 OPENGL_LIBS="-framework OpenGL -framework AGL"
32680 elif test "$wxUSE_MSW" = 1; then
32681 OPENGL_LIBS="-lopengl32 -lglu32"
32683 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32684 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32687 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32689 if test -f "$ac_dir/GL/gl.h"; then
32690 ac_find_includes=$ac_dir
32695 if test "$ac_find_includes" != "" ; then
32696 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32697 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32699 if test "x$ac_find_includes" = "x/usr/include"; then
32700 ac_path_to_include=""
32702 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32704 if test $result = 0; then
32705 ac_path_to_include=""
32707 ac_path_to_include=" -I$ac_find_includes"
32711 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32713 { echo "$as_me:$LINENO: result: not found" >&5
32714 echo "${ECHO_T}not found" >&6; }
32717 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32718 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32719 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 cat >conftest.$ac_ext <<_ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32732 rm -f conftest.$ac_objext
32733 if { (ac_try="$ac_compile"
32734 case "(($ac_try" in
32735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32736 *) ac_try_echo
=$ac_try;;
32738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32739 (eval "$ac_compile") 2>conftest.er1
32741 grep -v '^ *+' conftest.er1
>conftest.err
32743 cat conftest.err
>&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); } && {
32746 test -z "$ac_c_werror_flag" ||
32747 test ! -s conftest.err
32748 } && test -s conftest.
$ac_objext; then
32749 ac_cv_header_GL_gl_h
=yes
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.
$ac_ext >&5
32754 ac_cv_header_GL_gl_h
=no
32757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32759 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32760 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32761 if test $ac_cv_header_GL_gl_h = yes; then
32763 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32764 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32765 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32766 echo $ECHO_N "(cached) $ECHO_C" >&6
32768 cat >conftest.
$ac_ext <<_ACEOF
32771 cat confdefs.h
>>conftest.
$ac_ext
32772 cat >>conftest.
$ac_ext <<_ACEOF
32773 /* end confdefs.h. */
32776 #include <GL/glu.h>
32778 rm -f conftest.
$ac_objext
32779 if { (ac_try
="$ac_compile"
32780 case "(($ac_try" in
32781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32782 *) ac_try_echo=$ac_try;;
32784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32785 (eval "$ac_compile") 2>conftest.er1
32787 grep -v '^ *+' conftest.er1 >conftest.err
32789 cat conftest.err >&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); } && {
32792 test -z "$ac_c_werror_flag" ||
32793 test ! -s conftest.err
32794 } && test -s conftest.$ac_objext; then
32795 ac_cv_header_GL_glu_h=yes
32797 echo "$as_me: failed program was:" >&5
32798 sed 's/^/| /' conftest.$ac_ext >&5
32800 ac_cv_header_GL_glu_h=no
32803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32805 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32806 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32807 if test $ac_cv_header_GL_glu_h = yes; then
32811 { echo "$as_me:$LINENO: checking for -lGL" >&5
32812 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32815 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32817 for ac_extension in a so sl dylib dll.a; do
32818 if test -f "$ac_dir/libGL.$ac_extension"; then
32819 ac_find_libraries=$ac_dir
32825 if test "$ac_find_libraries" != "" ; then
32826 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32827 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32830 if test "$ac_find_libraries" = "default location"; then
32833 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32835 if test $result = 0; then
32838 ac_path_to_link=" -L$ac_find_libraries"
32842 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32843 LDFLAGS_GL="$ac_path_to_link"
32846 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32847 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32850 for ac_dir in $SEARCH_LIB;
32852 for ac_extension in a so sl dylib dll.a; do
32853 if test -f "$ac_dir/libGLU.$ac_extension"; then
32854 ac_find_libraries=$ac_dir
32860 if test "$ac_find_libraries" != "" ; then
32862 if test "$ac_find_libraries" = "default location"; then
32865 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32867 if test $result = 0; then
32870 ac_path_to_link=" -L$ac_find_libraries"
32874 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32875 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32876 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32880 OPENGL_LIBS="-lGL -lGLU"
32881 { echo "$as_me:$LINENO: result: yes" >&5
32882 echo "${ECHO_T}yes" >&6; }
32884 { echo "$as_me:$LINENO: result: no" >&5
32885 echo "${ECHO_T}no" >&6; }
32888 { echo "$as_me:$LINENO: result: no" >&5
32889 echo "${ECHO_T}no" >&6; }
32892 if test "$found_gl" != 1; then
32893 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32894 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32897 for ac_dir in $SEARCH_LIB;
32899 for ac_extension in a so sl dylib dll.a; do
32900 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32901 ac_find_libraries=$ac_dir
32907 if test "$ac_find_libraries" != "" ; then
32909 if test "$ac_find_libraries" = "default location"; then
32912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32914 if test $result = 0; then
32917 ac_path_to_link=" -L$ac_find_libraries"
32921 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32922 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32923 { echo "$as_me:$LINENO: result: yes" >&5
32924 echo "${ECHO_T}yes" >&6; }
32926 { echo "$as_me:$LINENO: result: no" >&5
32927 echo "${ECHO_T}no" >&6; }
32939 if test "x$OPENGL_LIBS" = "x"; then
32940 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32941 echo "$as_me: error: OpenGL libraries not available" >&2;}
32942 { (exit 1); exit 1; }; }
32946 if test "$wxUSE_OPENGL" = "yes"; then
32948 cat >>confdefs.h <<\_ACEOF
32949 #define wxUSE_OPENGL 1
32952 cat >>confdefs.h <<\_ACEOF
32953 #define wxUSE_GLCANVAS 1
32956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32961 if test -n "$TOOLKIT" ; then
32962 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32967 if test "$wxUSE_SHARED" = "yes"; then
32971 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32972 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32977 if test "$wxUSE_SHARED" = "yes"; then
32981 *-*-cygwin* | *-*-mingw* )
32982 wx_cv_version_script=no
32986 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32987 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32988 if test "${wx_cv_version_script+set}" = set; then
32989 echo $ECHO_N "(cached) $ECHO_C" >&6
32992 echo "VER_1 { *; };" >conftest.sym
32993 echo "int main() { return 0; }" >conftest.cpp
32996 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32997 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; } ; then
33003 if test -s conftest.stderr ; then
33004 wx_cv_version_script=no
33006 wx_cv_version_script=yes
33009 wx_cv_version_script=no
33012 if test $wx_cv_version_script = yes
33014 echo "struct B { virtual ~B() { } }; \
33015 struct D : public B { }; \
33016 void F() { D d; }" > conftest.cpp
33019 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33020 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33022 (eval $ac_try) 2>&5
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); }; } &&
33027 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33028 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33030 (eval $ac_try) 2>&5
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); }; }
33036 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33037 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; }
33044 wx_cv_version_script=yes
33046 wx_cv_version_script=no
33051 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33052 rm -f conftest1.output conftest2.output conftest3.output
33055 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33056 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33058 if test $wx_cv_version_script = yes ; then
33059 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33065 if test "$wxUSE_VISIBILITY" != "no"; then
33068 if test -n "$GCC"; then
33069 CFLAGS_VISIBILITY="-fvisibility=hidden"
33070 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33071 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33072 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33073 if test "${wx_cv_cc_visibility+set}" = set; then
33074 echo $ECHO_N "(cached) $ECHO_C" >&6
33077 wx_save_CXXFLAGS="$CXXFLAGS"
33078 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33080 ac_cpp='$CXXCPP $CPPFLAGS'
33081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33085 cat >conftest.$ac_ext <<_ACEOF
33088 cat confdefs.h >>conftest.$ac_ext
33089 cat >>conftest.$ac_ext <<_ACEOF
33090 /* end confdefs.h. */
33092 /* we need gcc >= 4.0, older versions with visibility support
33093 didn't have class visibility: */
33094 #if defined(__GNUC__) && __GNUC__ < 4
33095 error this gcc is too old;
33098 /* visibility only makes sense for ELF shared libs: */
33099 #if !defined(__ELF__) && !defined(__APPLE__)
33100 error this platform has no visibility;
33103 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33104 extern __attribute__((__visibility__("default"))) int exportedvar;
33105 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33106 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33107 class __attribute__((__visibility__("default"))) Foo {
33119 rm -f conftest.$ac_objext
33120 if { (ac_try="$ac_compile"
33121 case "(($ac_try" in
33122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33123 *) ac_try_echo
=$ac_try;;
33125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33126 (eval "$ac_compile") 2>conftest.er1
33128 grep -v '^ *+' conftest.er1
>conftest.err
33130 cat conftest.err
>&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } && {
33133 test -z "$ac_cxx_werror_flag" ||
33134 test ! -s conftest.err
33135 } && test -s conftest.
$ac_objext; then
33136 wx_cv_cc_visibility
=yes
33138 echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.
$ac_ext >&5
33141 wx_cv_cc_visibility
=no
33144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33146 ac_cpp
='$CPP $CPPFLAGS'
33147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33151 CXXFLAGS
="$wx_save_CXXFLAGS"
33154 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33155 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33156 if test $wx_cv_cc_visibility = yes; then
33157 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33158 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33159 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 wx_save_CXXFLAGS
="$CXXFLAGS"
33164 wx_save_LDFLAGS
="$LDFLAGS"
33165 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33166 LDFLAGS
="$LDFLAGS -shared -fPIC"
33168 ac_cpp
='$CXXCPP $CPPFLAGS'
33169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33173 cat >conftest.
$ac_ext <<_ACEOF
33176 cat confdefs.h
>>conftest.
$ac_ext
33177 cat >>conftest.
$ac_ext <<_ACEOF
33178 /* end confdefs.h. */
33186 std::string s("hello");
33193 rm -f conftest.
$ac_objext conftest
$ac_exeext
33194 if { (ac_try
="$ac_link"
33195 case "(($ac_try" in
33196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33197 *) ac_try_echo=$ac_try;;
33199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33200 (eval "$ac_link") 2>conftest.er1
33202 grep -v '^ *+' conftest.er1 >conftest.err
33204 cat conftest.err >&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); } && {
33207 test -z "$ac_cxx_werror_flag" ||
33208 test ! -s conftest.err
33209 } && test -s conftest$ac_exeext &&
33210 $as_test_x conftest$ac_exeext; then
33211 wx_cv_cc_broken_libstdcxx_visibility=no
33213 echo "$as_me: failed program was:" >&5
33214 sed 's/^/| /' conftest.$ac_ext >&5
33216 wx_cv_cc_broken_libstdcxx_visibility=yes
33219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33220 conftest$ac_exeext conftest.$ac_ext
33222 ac_cpp='$CPP $CPPFLAGS'
33223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33227 CXXFLAGS="$wx_save_CXXFLAGS"
33228 LDFLAGS="$wx_save_LDFLAGS"
33231 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33232 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33234 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33235 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33236 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33237 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33238 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 ac_cpp='$CXXCPP $CPPFLAGS'
33243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33247 cat >conftest.$ac_ext <<_ACEOF
33250 cat confdefs.h >>conftest.$ac_ext
33251 cat >>conftest.$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33254 #pragma GCC visibility push(default)
33256 #pragma GCC visibility pop
33262 std::string s("hello");
33269 rm -f conftest.$ac_objext conftest$ac_exeext
33270 if { (ac_try="$ac_link"
33271 case "(($ac_try" in
33272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33273 *) ac_try_echo
=$ac_try;;
33275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33276 (eval "$ac_link") 2>conftest.er1
33278 grep -v '^ *+' conftest.er1
>conftest.err
33280 cat conftest.err
>&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); } && {
33283 test -z "$ac_cxx_werror_flag" ||
33284 test ! -s conftest.err
33285 } && test -s conftest
$ac_exeext &&
33286 $as_test_x conftest
$ac_exeext; then
33287 wx_cv_cc_visibility_workaround
=no
33289 echo "$as_me: failed program was:" >&5
33290 sed 's/^/| /' conftest.
$ac_ext >&5
33292 wx_cv_cc_visibility_workaround
=yes
33295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33296 conftest
$ac_exeext conftest.
$ac_ext
33298 ac_cpp
='$CPP $CPPFLAGS'
33299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33306 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33307 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33309 if test $wx_cv_cc_visibility_workaround = no
; then
33310 wx_cv_cc_visibility
=no
33315 if test $wx_cv_cc_visibility = yes; then
33316 cat >>confdefs.h
<<\_ACEOF
33317 #define HAVE_VISIBILITY 1
33320 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33321 cat >>confdefs.h
<<\_ACEOF
33322 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33327 CFLAGS_VISIBILITY
=""
33328 CXXFLAGS_VISIBILITY
=""
33336 if test "x$SUNCXX" = xyes
; then
33337 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33338 WXCONFIG_RPATH
="-R\$libdir"
33341 *-*-linux* | *-*-gnu* )
33342 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33343 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33348 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33350 saveLdflags
="$LDFLAGS"
33351 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33352 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33353 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33354 cat >conftest.
$ac_ext <<_ACEOF
33357 cat confdefs.h
>>conftest.
$ac_ext
33358 cat >>conftest.
$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33369 rm -f conftest.
$ac_objext conftest
$ac_exeext
33370 if { (ac_try
="$ac_link"
33371 case "(($ac_try" in
33372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33373 *) ac_try_echo=$ac_try;;
33375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33376 (eval "$ac_link") 2>conftest.er1
33378 grep -v '^ *+' conftest.er1 >conftest.err
33380 cat conftest.err >&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); } && {
33383 test -z "$ac_c_werror_flag" ||
33384 test ! -s conftest.err
33385 } && test -s conftest$ac_exeext &&
33386 $as_test_x conftest$ac_exeext; then
33388 { echo "$as_me:$LINENO: result: yes" >&5
33389 echo "${ECHO_T}yes" >&6; }
33390 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33391 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.$ac_ext >&5
33398 { echo "$as_me:$LINENO: result: no" >&5
33399 echo "${ECHO_T}no" >&6; }
33400 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33401 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33402 LDFLAGS="$saveLdflags -Wl,-R,/"
33403 cat >conftest.$ac_ext <<_ACEOF
33406 cat confdefs.h >>conftest.$ac_ext
33407 cat >>conftest.$ac_ext <<_ACEOF
33408 /* end confdefs.h. */
33418 rm -f conftest.$ac_objext conftest$ac_exeext
33419 if { (ac_try="$ac_link"
33420 case "(($ac_try" in
33421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33422 *) ac_try_echo
=$ac_try;;
33424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33425 (eval "$ac_link") 2>conftest.er1
33427 grep -v '^ *+' conftest.er1
>conftest.err
33429 cat conftest.err
>&5
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); } && {
33432 test -z "$ac_c_werror_flag" ||
33433 test ! -s conftest.err
33434 } && test -s conftest
$ac_exeext &&
33435 $as_test_x conftest
$ac_exeext; then
33437 { echo "$as_me:$LINENO: result: yes" >&5
33438 echo "${ECHO_T}yes" >&6; }
33439 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33440 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33443 echo "$as_me: failed program was:" >&5
33444 sed 's/^/| /' conftest.
$ac_ext >&5
33447 { echo "$as_me:$LINENO: result: no" >&5
33448 echo "${ECHO_T}no" >&6; }
33452 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33453 conftest
$ac_exeext conftest.
$ac_ext
33457 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33458 conftest
$ac_exeext conftest.
$ac_ext
33459 LDFLAGS
="$saveLdflags"
33463 install_name_tool
=`which install_name_tool`
33464 if test "$install_name_tool" -a -x "$install_name_tool"; then
33465 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33466 cat <<EOF >change-install-names
33468 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33469 inst_cmd="install_name_tool "
33470 for i in \${libnames} ; do
33471 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33475 chmod +x change
-install-names
33479 *-*-cygwin* | *-*-mingw32* )
33483 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33484 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33490 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33492 if test $wxUSE_RPATH = "no"; then
33493 SAMPLES_RPATH_FLAG
=''
33494 SAMPLES_RPATH_POSTLINK
=''
33502 config_linkage_component
="-static"
33509 lib_unicode_suffix
=
33511 if test "$wxUSE_UNICODE" = "yes"; then
33512 lib_unicode_suffix
=u
33513 WX_CHARTYPE
="unicode"
33518 WX_DEBUGTYPE
="release"
33520 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33522 WX_DEBUGTYPE
="debug"
33526 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33527 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33530 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33534 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
33536 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33538 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33540 if test "$cross_compiling" = "yes"; then
33541 HOST_SUFFIX
="-$host_alias"
33542 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33543 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33546 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33547 if test "${TOOLKIT_DIR}" = "os2"; then
33548 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33550 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33555 if test "$wxUSE_COCOA" = 1; then
33558 ac_cpp
='$CPP $CPPFLAGS'
33559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33565 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33566 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33567 cat >conftest.
$ac_ext <<_ACEOF
33570 cat confdefs.h
>>conftest.
$ac_ext
33571 cat >>conftest.
$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
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: no" >&5
33602 echo "${ECHO_T}no" >&6; }
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.$ac_ext >&5
33607 { echo "$as_me:$LINENO: result: yes" >&5
33608 echo "${ECHO_T}yes" >&6; }
33609 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33610 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33611 cat >conftest.$ac_ext <<_ACEOF
33614 cat confdefs.h >>conftest.$ac_ext
33615 cat >>conftest.$ac_ext <<_ACEOF
33616 /* end confdefs.h. */
33617 #define __Point__ 1
33618 #include <AppKit/NSEvent.h>
33619 #include <CoreFoundation/CoreFoundation.h>
33629 rm -f conftest.$ac_objext
33630 if { (ac_try="$ac_compile"
33631 case "(($ac_try" in
33632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33633 *) ac_try_echo
=$ac_try;;
33635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33636 (eval "$ac_compile") 2>conftest.er1
33638 grep -v '^ *+' conftest.er1
>conftest.err
33640 cat conftest.err
>&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } && {
33643 test -z "$ac_c_werror_flag" ||
33644 test ! -s conftest.err
33645 } && test -s conftest.
$ac_objext; then
33646 { echo "$as_me:$LINENO: result: yes" >&5
33647 echo "${ECHO_T}yes" >&6; }
33648 cat >>confdefs.h
<<\_ACEOF
33649 #define __Point__ 1
33654 echo "$as_me: failed program was:" >&5
33655 sed 's/^/| /' conftest.
$ac_ext >&5
33657 { { echo "$as_me:$LINENO: error: no
33658 See \`config.log' for more details." >&5
33659 echo "$as_me: error: no
33660 See \`config.log' for more details." >&2;}
33661 { (exit 1); exit 1; }; }
33665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33671 ac_cpp
='$CPP $CPPFLAGS'
33672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33679 { echo "$as_me:$LINENO: checking for mode_t" >&5
33680 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33681 if test "${ac_cv_type_mode_t+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 cat >conftest.
$ac_ext <<_ACEOF
33687 cat confdefs.h
>>conftest.
$ac_ext
33688 cat >>conftest.
$ac_ext <<_ACEOF
33689 /* end confdefs.h. */
33690 $ac_includes_default
33691 typedef mode_t ac__type_new_;
33695 if ((ac__type_new_ *) 0)
33697 if (sizeof (ac__type_new_))
33703 rm -f conftest.
$ac_objext
33704 if { (ac_try
="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33712 grep -v '^ *+' conftest.er1 >conftest.err
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.$ac_objext; then
33720 ac_cv_type_mode_t=yes
33722 echo "$as_me: failed program was:" >&5
33723 sed 's/^/| /' conftest.$ac_ext >&5
33725 ac_cv_type_mode_t=no
33728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33731 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33732 if test $ac_cv_type_mode_t = yes; then
33736 cat >>confdefs.h <<_ACEOF
33742 { echo "$as_me:$LINENO: checking for off_t" >&5
33743 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33744 if test "${ac_cv_type_off_t+set}" = set; then
33745 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 cat >conftest.$ac_ext <<_ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h. */
33753 $ac_includes_default
33754 typedef off_t ac__type_new_;
33758 if ((ac__type_new_ *) 0)
33760 if (sizeof (ac__type_new_))
33766 rm -f conftest.$ac_objext
33767 if { (ac_try="$ac_compile"
33768 case "(($ac_try" in
33769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33770 *) ac_try_echo
=$ac_try;;
33772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33773 (eval "$ac_compile") 2>conftest.er1
33775 grep -v '^ *+' conftest.er1
>conftest.err
33777 cat conftest.err
>&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); } && {
33780 test -z "$ac_c_werror_flag" ||
33781 test ! -s conftest.err
33782 } && test -s conftest.
$ac_objext; then
33783 ac_cv_type_off_t
=yes
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.
$ac_ext >&5
33788 ac_cv_type_off_t
=no
33791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33793 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33794 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33795 if test $ac_cv_type_off_t = yes; then
33799 cat >>confdefs.h
<<_ACEOF
33800 #define off_t long int
33805 { echo "$as_me:$LINENO: checking for pid_t" >&5
33806 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33807 if test "${ac_cv_type_pid_t+set}" = set; then
33808 echo $ECHO_N "(cached) $ECHO_C" >&6
33810 cat >conftest.
$ac_ext <<_ACEOF
33813 cat confdefs.h
>>conftest.
$ac_ext
33814 cat >>conftest.
$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816 $ac_includes_default
33817 typedef pid_t ac__type_new_;
33821 if ((ac__type_new_ *) 0)
33823 if (sizeof (ac__type_new_))
33829 rm -f conftest.
$ac_objext
33830 if { (ac_try
="$ac_compile"
33831 case "(($ac_try" in
33832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33833 *) ac_try_echo=$ac_try;;
33835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33836 (eval "$ac_compile") 2>conftest.er1
33838 grep -v '^ *+' conftest.er1 >conftest.err
33840 cat conftest.err >&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); } && {
33843 test -z "$ac_c_werror_flag" ||
33844 test ! -s conftest.err
33845 } && test -s conftest.$ac_objext; then
33846 ac_cv_type_pid_t=yes
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33851 ac_cv_type_pid_t=no
33854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33857 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33858 if test $ac_cv_type_pid_t = yes; then
33862 cat >>confdefs.h <<_ACEOF
33868 { echo "$as_me:$LINENO: checking for size_t" >&5
33869 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33870 if test "${ac_cv_type_size_t+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 cat >conftest.$ac_ext <<_ACEOF
33876 cat confdefs.h >>conftest.$ac_ext
33877 cat >>conftest.$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33879 $ac_includes_default
33880 typedef size_t ac__type_new_;
33884 if ((ac__type_new_ *) 0)
33886 if (sizeof (ac__type_new_))
33892 rm -f conftest.$ac_objext
33893 if { (ac_try="$ac_compile"
33894 case "(($ac_try" in
33895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33896 *) ac_try_echo
=$ac_try;;
33898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33899 (eval "$ac_compile") 2>conftest.er1
33901 grep -v '^ *+' conftest.er1
>conftest.err
33903 cat conftest.err
>&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } && {
33906 test -z "$ac_c_werror_flag" ||
33907 test ! -s conftest.err
33908 } && test -s conftest.
$ac_objext; then
33909 ac_cv_type_size_t
=yes
33911 echo "$as_me: failed program was:" >&5
33912 sed 's/^/| /' conftest.
$ac_ext >&5
33914 ac_cv_type_size_t
=no
33917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33919 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33920 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33921 if test $ac_cv_type_size_t = yes; then
33925 cat >>confdefs.h
<<_ACEOF
33926 #define size_t unsigned int
33932 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33933 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33934 if test "${ac_cv_type_ssize_t+set}" = set; then
33935 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 cat >conftest.
$ac_ext <<_ACEOF
33940 cat confdefs.h
>>conftest.
$ac_ext
33941 cat >>conftest.
$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 $ac_includes_default
33944 typedef ssize_t ac__type_new_;
33948 if ((ac__type_new_ *) 0)
33950 if (sizeof (ac__type_new_))
33956 rm -f conftest.
$ac_objext
33957 if { (ac_try
="$ac_compile"
33958 case "(($ac_try" in
33959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33960 *) ac_try_echo=$ac_try;;
33962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33963 (eval "$ac_compile") 2>conftest.er1
33965 grep -v '^ *+' conftest.er1 >conftest.err
33967 cat conftest.err >&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } && {
33970 test -z "$ac_c_werror_flag" ||
33971 test ! -s conftest.err
33972 } && test -s conftest.$ac_objext; then
33973 ac_cv_type_ssize_t=yes
33975 echo "$as_me: failed program was:" >&5
33976 sed 's/^/| /' conftest.$ac_ext >&5
33978 ac_cv_type_ssize_t=no
33981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33983 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33984 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33985 if test $ac_cv_type_ssize_t = yes; then
33987 cat >>confdefs.h <<_ACEOF
33988 #define HAVE_SSIZE_T 1
33996 ac_cpp='$CXXCPP $CPPFLAGS'
33997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34000 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34001 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34002 if test "${wx_cv_size_t_is_uint+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34006 cat >conftest.$ac_ext <<_ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34012 #include <stddef.h>
34019 struct Foo { void foo(size_t); void foo(unsigned int); };
34027 rm -f conftest.$ac_objext
34028 if { (ac_try="$ac_compile"
34029 case "(($ac_try" in
34030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34031 *) ac_try_echo
=$ac_try;;
34033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34034 (eval "$ac_compile") 2>conftest.er1
34036 grep -v '^ *+' conftest.er1
>conftest.err
34038 cat conftest.err
>&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } && {
34041 test -z "$ac_cxx_werror_flag" ||
34042 test ! -s conftest.err
34043 } && test -s conftest.
$ac_objext; then
34044 wx_cv_size_t_is_uint
=no
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.
$ac_ext >&5
34049 wx_cv_size_t_is_uint
=yes
34053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34057 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34058 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34060 if test "$wx_cv_size_t_is_uint" = "yes"; then
34061 cat >>confdefs.h
<<\_ACEOF
34062 #define wxSIZE_T_IS_UINT 1
34066 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34067 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34068 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34069 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 cat >conftest.
$ac_ext <<_ACEOF
34074 cat confdefs.h
>>conftest.
$ac_ext
34075 cat >>conftest.
$ac_ext <<_ACEOF
34076 /* end confdefs.h. */
34077 #include <stddef.h>
34084 struct Foo { void foo(size_t); void foo(unsigned long); };
34092 rm -f conftest.
$ac_objext
34093 if { (ac_try
="$ac_compile"
34094 case "(($ac_try" in
34095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34096 *) ac_try_echo=$ac_try;;
34098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34099 (eval "$ac_compile") 2>conftest.er1
34101 grep -v '^ *+' conftest.er1 >conftest.err
34103 cat conftest.err >&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); } && {
34106 test -z "$ac_cxx_werror_flag" ||
34107 test ! -s conftest.err
34108 } && test -s conftest.$ac_objext; then
34109 wx_cv_size_t_is_ulong=no
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.$ac_ext >&5
34114 wx_cv_size_t_is_ulong=yes
34118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34121 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34122 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34124 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34125 cat >>confdefs.h <<\_ACEOF
34126 #define wxSIZE_T_IS_ULONG 1
34132 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34133 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34134 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34137 cat >conftest.$ac_ext <<_ACEOF
34140 cat confdefs.h >>conftest.$ac_ext
34141 cat >>conftest.$ac_ext <<_ACEOF
34142 /* end confdefs.h. */
34150 struct Foo { void foo(wchar_t);
34151 void foo(unsigned short);
34152 void foo(unsigned int);
34153 void foo(unsigned long); };
34161 rm -f conftest.$ac_objext
34162 if { (ac_try="$ac_compile"
34163 case "(($ac_try" in
34164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34165 *) ac_try_echo
=$ac_try;;
34167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34168 (eval "$ac_compile") 2>conftest.er1
34170 grep -v '^ *+' conftest.er1
>conftest.err
34172 cat conftest.err
>&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } && {
34175 test -z "$ac_cxx_werror_flag" ||
34176 test ! -s conftest.err
34177 } && test -s conftest.
$ac_objext; then
34178 wx_cv_wchar_t_is_separate_type
=yes
34180 echo "$as_me: failed program was:" >&5
34181 sed 's/^/| /' conftest.
$ac_ext >&5
34183 wx_cv_wchar_t_is_separate_type
=no
34187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34190 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34191 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34193 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34194 cat >>confdefs.h
<<\_ACEOF
34195 #define wxWCHAR_T_IS_REAL_TYPE 1
34199 cat >>confdefs.h
<<\_ACEOF
34200 #define wxWCHAR_T_IS_REAL_TYPE 0
34206 ac_cpp
='$CPP $CPPFLAGS'
34207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34212 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34213 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34214 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34218 cat >conftest.
$ac_ext <<_ACEOF
34221 cat confdefs.h
>>conftest.
$ac_ext
34222 cat >>conftest.
$ac_ext <<_ACEOF
34223 /* end confdefs.h. */
34237 rm -f conftest.
$ac_objext
34238 if { (ac_try
="$ac_compile"
34239 case "(($ac_try" in
34240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34241 *) ac_try_echo=$ac_try;;
34243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34244 (eval "$ac_compile") 2>conftest.er1
34246 grep -v '^ *+' conftest.er1 >conftest.err
34248 cat conftest.err >&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); } && {
34251 test -z "$ac_c_werror_flag" ||
34252 test ! -s conftest.err
34253 } && test -s conftest.$ac_objext; then
34255 wx_cv_struct_pw_gecos=yes
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.$ac_ext >&5
34262 wx_cv_struct_pw_gecos=no
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34272 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34274 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34275 cat >>confdefs.h <<\_ACEOF
34276 #define HAVE_PW_GECOS 1
34282 if test "$wxUSE_WCHAR_T" = "yes"; then
34283 cat >>confdefs.h <<\_ACEOF
34284 #define wxUSE_WCHAR_T 1
34291 for ac_func in wcslen
34293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 cat >conftest.$ac_ext <<_ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34307 #define $ac_func innocuous_$ac_func
34309 /* System header to define __stub macros and hopefully few prototypes,
34310 which can conflict with char $ac_func (); below.
34311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34312 <limits.h> exists even on freestanding compilers. */
34315 # include <limits.h>
34317 # include <assert.h>
34322 /* Override any GCC internal prototype to avoid an error.
34323 Use char because int might match the return type of a GCC
34324 builtin and then its argument prototype would still apply. */
34329 /* The GNU C library defines this for functions which it implements
34330 to always fail with ENOSYS. Some functions are actually named
34331 something starting with __ and the normal name is an alias. */
34332 #if defined __stub_$ac_func || defined __stub___$ac_func
34339 return $ac_func ();
34344 rm -f conftest.$ac_objext conftest$ac_exeext
34345 if { (ac_try="$ac_link"
34346 case "(($ac_try" in
34347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34348 *) ac_try_echo
=$ac_try;;
34350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34351 (eval "$ac_link") 2>conftest.er1
34353 grep -v '^ *+' conftest.er1
>conftest.err
34355 cat conftest.err
>&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } && {
34358 test -z "$ac_c_werror_flag" ||
34359 test ! -s conftest.err
34360 } && test -s conftest
$ac_exeext &&
34361 $as_test_x conftest
$ac_exeext; then
34362 eval "$as_ac_var=yes"
34364 echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.
$ac_ext >&5
34367 eval "$as_ac_var=no"
34370 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34371 conftest
$ac_exeext conftest.
$ac_ext
34373 ac_res
=`eval echo '${'$as_ac_var'}'`
34374 { echo "$as_me:$LINENO: result: $ac_res" >&5
34375 echo "${ECHO_T}$ac_res" >&6; }
34376 if test `eval echo '${'$as_ac_var'}'` = yes; then
34377 cat >>confdefs.h
<<_ACEOF
34378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34385 if test "$WCSLEN_FOUND" = 0; then
34386 if test "$TOOLKIT" = "MSW"; then
34387 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34388 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34389 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 ac_check_lib_save_LIBS
=$LIBS
34393 LIBS
="-lmsvcrt $LIBS"
34394 cat >conftest.
$ac_ext <<_ACEOF
34397 cat confdefs.h
>>conftest.
$ac_ext
34398 cat >>conftest.
$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34401 /* Override any GCC internal prototype to avoid an error.
34402 Use char because int might match the return type of a GCC
34403 builtin and then its argument prototype would still apply. */
34416 rm -f conftest.
$ac_objext conftest
$ac_exeext
34417 if { (ac_try
="$ac_link"
34418 case "(($ac_try" in
34419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34420 *) ac_try_echo=$ac_try;;
34422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34423 (eval "$ac_link") 2>conftest.er1
34425 grep -v '^ *+' conftest.er1 >conftest.err
34427 cat conftest.err >&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } && {
34430 test -z "$ac_c_werror_flag" ||
34431 test ! -s conftest.err
34432 } && test -s conftest$ac_exeext &&
34433 $as_test_x conftest$ac_exeext; then
34434 ac_cv_lib_msvcrt_wcslen=yes
34436 echo "$as_me: failed program was:" >&5
34437 sed 's/^/| /' conftest.$ac_ext >&5
34439 ac_cv_lib_msvcrt_wcslen=no
34442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34443 conftest$ac_exeext conftest.$ac_ext
34444 LIBS=$ac_check_lib_save_LIBS
34446 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34447 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34448 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34453 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34454 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34455 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34456 echo $ECHO_N "(cached) $ECHO_C" >&6
34458 ac_check_lib_save_LIBS=$LIBS
34460 cat >conftest.$ac_ext <<_ACEOF
34463 cat confdefs.h >>conftest.$ac_ext
34464 cat >>conftest.$ac_ext <<_ACEOF
34465 /* end confdefs.h. */
34467 /* Override any GCC internal prototype to avoid an error.
34468 Use char because int might match the return type of a GCC
34469 builtin and then its argument prototype would still apply. */
34482 rm -f conftest.$ac_objext conftest$ac_exeext
34483 if { (ac_try="$ac_link"
34484 case "(($ac_try" in
34485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34486 *) ac_try_echo
=$ac_try;;
34488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34489 (eval "$ac_link") 2>conftest.er1
34491 grep -v '^ *+' conftest.er1
>conftest.err
34493 cat conftest.err
>&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } && {
34496 test -z "$ac_c_werror_flag" ||
34497 test ! -s conftest.err
34498 } && test -s conftest
$ac_exeext &&
34499 $as_test_x conftest
$ac_exeext; then
34500 ac_cv_lib_w_wcslen
=yes
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.
$ac_ext >&5
34505 ac_cv_lib_w_wcslen
=no
34508 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34509 conftest
$ac_exeext conftest.
$ac_ext
34510 LIBS
=$ac_check_lib_save_LIBS
34512 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34513 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34514 if test $ac_cv_lib_w_wcslen = yes; then
34524 if test "$WCSLEN_FOUND" = 1; then
34525 cat >>confdefs.h
<<\_ACEOF
34526 #define HAVE_WCSLEN 1
34532 for ac_func
in wcsdup
34534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34537 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 cat >conftest.
$ac_ext <<_ACEOF
34543 cat confdefs.h
>>conftest.
$ac_ext
34544 cat >>conftest.
$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34548 #define $ac_func innocuous_$ac_func
34550 /* System header to define __stub macros and hopefully few prototypes,
34551 which can conflict with char $ac_func (); below.
34552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34553 <limits.h> exists even on freestanding compilers. */
34556 # include <limits.h>
34558 # include <assert.h>
34563 /* Override any GCC internal prototype to avoid an error.
34564 Use char because int might match the return type of a GCC
34565 builtin and then its argument prototype would still apply. */
34570 /* The GNU C library defines this for functions which it implements
34571 to always fail with ENOSYS. Some functions are actually named
34572 something starting with __ and the normal name is an alias. */
34573 #if defined __stub_$ac_func || defined __stub___$ac_func
34580 return $ac_func ();
34585 rm -f conftest.
$ac_objext conftest
$ac_exeext
34586 if { (ac_try
="$ac_link"
34587 case "(($ac_try" in
34588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34589 *) ac_try_echo=$ac_try;;
34591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34592 (eval "$ac_link") 2>conftest.er1
34594 grep -v '^ *+' conftest.er1 >conftest.err
34596 cat conftest.err >&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } && {
34599 test -z "$ac_c_werror_flag" ||
34600 test ! -s conftest.err
34601 } && test -s conftest$ac_exeext &&
34602 $as_test_x conftest$ac_exeext; then
34603 eval "$as_ac_var=yes"
34605 echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.$ac_ext >&5
34608 eval "$as_ac_var=no"
34611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34612 conftest$ac_exeext conftest.$ac_ext
34614 ac_res=`eval echo '${'$as_ac_var'}'`
34615 { echo "$as_me:$LINENO: result: $ac_res" >&5
34616 echo "${ECHO_T}$ac_res" >&6; }
34617 if test `eval echo '${'$as_ac_var'}'` = yes; then
34618 cat >>confdefs.h <<_ACEOF
34619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34626 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34627 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34630 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34631 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34632 if test "${ac_cv_type_mbstate_t+set}" = set; then
34633 echo $ECHO_N "(cached) $ECHO_C" >&6
34635 cat >conftest.$ac_ext <<_ACEOF
34638 cat confdefs.h >>conftest.$ac_ext
34639 cat >>conftest.$ac_ext <<_ACEOF
34640 /* end confdefs.h. */
34643 typedef mbstate_t ac__type_new_;
34647 if ((ac__type_new_ *) 0)
34649 if (sizeof (ac__type_new_))
34655 rm -f conftest.$ac_objext
34656 if { (ac_try="$ac_compile"
34657 case "(($ac_try" in
34658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34659 *) ac_try_echo
=$ac_try;;
34661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34662 (eval "$ac_compile") 2>conftest.er1
34664 grep -v '^ *+' conftest.er1
>conftest.err
34666 cat conftest.err
>&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } && {
34669 test -z "$ac_c_werror_flag" ||
34670 test ! -s conftest.err
34671 } && test -s conftest.
$ac_objext; then
34672 ac_cv_type_mbstate_t
=yes
34674 echo "$as_me: failed program was:" >&5
34675 sed 's/^/| /' conftest.
$ac_ext >&5
34677 ac_cv_type_mbstate_t
=no
34680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34682 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34683 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34684 if test $ac_cv_type_mbstate_t = yes; then
34686 cat >>confdefs.h
<<_ACEOF
34687 #define HAVE_MBSTATE_T 1
34691 for ac_func
in wcsrtombs
34693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34696 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34697 echo $ECHO_N "(cached) $ECHO_C" >&6
34699 cat >conftest.
$ac_ext <<_ACEOF
34702 cat confdefs.h
>>conftest.
$ac_ext
34703 cat >>conftest.
$ac_ext <<_ACEOF
34704 /* end confdefs.h. */
34705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34707 #define $ac_func innocuous_$ac_func
34709 /* System header to define __stub macros and hopefully few prototypes,
34710 which can conflict with char $ac_func (); below.
34711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34712 <limits.h> exists even on freestanding compilers. */
34715 # include <limits.h>
34717 # include <assert.h>
34722 /* Override any GCC internal prototype to avoid an error.
34723 Use char because int might match the return type of a GCC
34724 builtin and then its argument prototype would still apply. */
34729 /* The GNU C library defines this for functions which it implements
34730 to always fail with ENOSYS. Some functions are actually named
34731 something starting with __ and the normal name is an alias. */
34732 #if defined __stub_$ac_func || defined __stub___$ac_func
34739 return $ac_func ();
34744 rm -f conftest.
$ac_objext conftest
$ac_exeext
34745 if { (ac_try
="$ac_link"
34746 case "(($ac_try" in
34747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34748 *) ac_try_echo=$ac_try;;
34750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34751 (eval "$ac_link") 2>conftest.er1
34753 grep -v '^ *+' conftest.er1 >conftest.err
34755 cat conftest.err >&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); } && {
34758 test -z "$ac_c_werror_flag" ||
34759 test ! -s conftest.err
34760 } && test -s conftest$ac_exeext &&
34761 $as_test_x conftest$ac_exeext; then
34762 eval "$as_ac_var=yes"
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34767 eval "$as_ac_var=no"
34770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34771 conftest$ac_exeext conftest.$ac_ext
34773 ac_res=`eval echo '${'$as_ac_var'}'`
34774 { echo "$as_me:$LINENO: result: $ac_res" >&5
34775 echo "${ECHO_T}$ac_res" >&6; }
34776 if test `eval echo '${'$as_ac_var'}'` = yes; then
34777 cat >>confdefs.h <<_ACEOF
34778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34787 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34788 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34793 for ac_func in snprintf vsnprintf
34795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34799 echo $ECHO_N "(cached) $ECHO_C" >&6
34801 cat >conftest.$ac_ext <<_ACEOF
34804 cat confdefs.h >>conftest.$ac_ext
34805 cat >>conftest.$ac_ext <<_ACEOF
34806 /* end confdefs.h. */
34807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34809 #define $ac_func innocuous_$ac_func
34811 /* System header to define __stub macros and hopefully few prototypes,
34812 which can conflict with char $ac_func (); below.
34813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34814 <limits.h> exists even on freestanding compilers. */
34817 # include <limits.h>
34819 # include <assert.h>
34824 /* Override any GCC internal prototype to avoid an error.
34825 Use char because int might match the return type of a GCC
34826 builtin and then its argument prototype would still apply. */
34831 /* The GNU C library defines this for functions which it implements
34832 to always fail with ENOSYS. Some functions are actually named
34833 something starting with __ and the normal name is an alias. */
34834 #if defined __stub_$ac_func || defined __stub___$ac_func
34841 return $ac_func ();
34846 rm -f conftest.$ac_objext conftest$ac_exeext
34847 if { (ac_try="$ac_link"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34850 *) ac_try_echo
=$ac_try;;
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_link") 2>conftest.er1
34855 grep -v '^ *+' conftest.er1
>conftest.err
34857 cat conftest.err
>&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_c_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest
$ac_exeext &&
34863 $as_test_x conftest
$ac_exeext; then
34864 eval "$as_ac_var=yes"
34866 echo "$as_me: failed program was:" >&5
34867 sed 's/^/| /' conftest.
$ac_ext >&5
34869 eval "$as_ac_var=no"
34872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34873 conftest
$ac_exeext conftest.
$ac_ext
34875 ac_res
=`eval echo '${'$as_ac_var'}'`
34876 { echo "$as_me:$LINENO: result: $ac_res" >&5
34877 echo "${ECHO_T}$ac_res" >&6; }
34878 if test `eval echo '${'$as_ac_var'}'` = yes; then
34879 cat >>confdefs.h
<<_ACEOF
34880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34887 if test "$ac_cv_func_vsnprintf" = "yes"; then
34888 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34889 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34890 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34891 echo $ECHO_N "(cached) $ECHO_C" >&6
34894 cat >conftest.
$ac_ext <<_ACEOF
34897 cat confdefs.h
>>conftest.
$ac_ext
34898 cat >>conftest.
$ac_ext <<_ACEOF
34899 /* end confdefs.h. */
34902 #include <stdarg.h>
34904 #if __MSL__ >= 0x6000
34906 using namespace std;
34916 vsnprintf(buf, 10u, "%s", ap);
34922 rm -f conftest.
$ac_objext
34923 if { (ac_try
="$ac_compile"
34924 case "(($ac_try" in
34925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34926 *) ac_try_echo=$ac_try;;
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_compile") 2>conftest.er1
34931 grep -v '^ *+' conftest.er1 >conftest.err
34933 cat conftest.err >&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } && {
34936 test -z "$ac_c_werror_flag" ||
34937 test ! -s conftest.err
34938 } && test -s conftest.$ac_objext; then
34939 wx_cv_func_vsnprintf_decl=yes
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.$ac_ext >&5
34944 wx_cv_func_vsnprintf_decl=no
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34952 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34953 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34955 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34956 cat >>confdefs.h <<\_ACEOF
34957 #define HAVE_VSNPRINTF_DECL 1
34961 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34962 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34963 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 cat >conftest.$ac_ext <<_ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34975 #include <stdarg.h>
34977 #if __MSL__ >= 0x6000
34979 using namespace std;
34989 const char *fmt = "%s";
34990 vsnprintf(buf, 10u, fmt, ap);
34996 rm -f conftest.$ac_objext
34997 if { (ac_try="$ac_compile"
34998 case "(($ac_try" in
34999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35000 *) ac_try_echo
=$ac_try;;
35002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35003 (eval "$ac_compile") 2>conftest.er1
35005 grep -v '^ *+' conftest.er1
>conftest.err
35007 cat conftest.err
>&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } && {
35010 test -z "$ac_c_werror_flag" ||
35011 test ! -s conftest.err
35012 } && test -s conftest.
$ac_objext; then
35013 wx_cv_func_broken_vsnprintf_decl
=no
35015 echo "$as_me: failed program was:" >&5
35016 sed 's/^/| /' conftest.
$ac_ext >&5
35018 wx_cv_func_broken_vsnprintf_decl
=yes
35022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35026 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35027 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35029 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35030 cat >>confdefs.h
<<\_ACEOF
35031 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35038 if test "$ac_cv_func_snprintf" = "yes"; then
35039 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35040 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35041 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35042 echo $ECHO_N "(cached) $ECHO_C" >&6
35045 cat >conftest.
$ac_ext <<_ACEOF
35048 cat confdefs.h
>>conftest.
$ac_ext
35049 cat >>conftest.
$ac_ext <<_ACEOF
35050 /* end confdefs.h. */
35053 #include <stdarg.h>
35055 #if __MSL__ >= 0x6000
35057 using namespace std;
35066 snprintf(buf, 10u, "%s", "wx");
35072 rm -f conftest.
$ac_objext
35073 if { (ac_try
="$ac_compile"
35074 case "(($ac_try" in
35075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35076 *) ac_try_echo=$ac_try;;
35078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35079 (eval "$ac_compile") 2>conftest.er1
35081 grep -v '^ *+' conftest.er1 >conftest.err
35083 cat conftest.err >&5
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); } && {
35086 test -z "$ac_c_werror_flag" ||
35087 test ! -s conftest.err
35088 } && test -s conftest.$ac_objext; then
35089 wx_cv_func_snprintf_decl=yes
35091 echo "$as_me: failed program was:" >&5
35092 sed 's/^/| /' conftest.$ac_ext >&5
35094 wx_cv_func_snprintf_decl=no
35098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35103 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35105 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35106 cat >>confdefs.h <<\_ACEOF
35107 #define HAVE_SNPRINTF_DECL 1
35112 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35114 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35115 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35116 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35117 echo $ECHO_N "(cached) $ECHO_C" >&6
35120 if test "$cross_compiling" = yes; then
35122 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35123 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35124 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35125 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35126 wx_cv_func_snprintf_pos_params=no
35130 cat >conftest.$ac_ext <<_ACEOF
35133 cat confdefs.h >>conftest.$ac_ext
35134 cat >>conftest.$ac_ext <<_ACEOF
35135 /* end confdefs.h. */
35142 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35143 if (strcmp ("2 3 1", buffer) == 0)
35149 rm -f conftest$ac_exeext
35150 if { (ac_try="$ac_link"
35151 case "(($ac_try" in
35152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35153 *) ac_try_echo
=$ac_try;;
35155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35156 (eval "$ac_link") 2>&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35160 { (case "(($ac_try" in
35161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35162 *) ac_try_echo=$ac_try;;
35164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35165 (eval "$ac_try") 2>&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; }; then
35169 wx_cv_func_snprintf_pos_params=no
35171 echo "$as_me: program exited with status $ac_status" >&5
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.$ac_ext >&5
35175 ( exit $ac_status )
35176 wx_cv_func_snprintf_pos_params=yes
35178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35185 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35186 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35188 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35189 cat >>confdefs.h <<\_ACEOF
35190 #define HAVE_UNIX98_PRINTF 1
35197 if test "$wxUSE_UNICODE" = yes; then
35199 wchar_headers="#include <stdio.h>
35200 #include <wchar.h>"
35204 for ac_header in widec.h
35206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35207 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 cat >conftest.$ac_ext <<_ACEOF
35215 cat confdefs.h >>conftest.$ac_ext
35216 cat >>conftest.$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35218 $ac_includes_default
35220 #include <$ac_header>
35222 rm -f conftest.$ac_objext
35223 if { (ac_try="$ac_compile"
35224 case "(($ac_try" in
35225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35226 *) ac_try_echo
=$ac_try;;
35228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35229 (eval "$ac_compile") 2>conftest.er1
35231 grep -v '^ *+' conftest.er1
>conftest.err
35233 cat conftest.err
>&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } && {
35236 test -z "$ac_c_werror_flag" ||
35237 test ! -s conftest.err
35238 } && test -s conftest.
$ac_objext; then
35239 eval "$as_ac_Header=yes"
35241 echo "$as_me: failed program was:" >&5
35242 sed 's/^/| /' conftest.
$ac_ext >&5
35244 eval "$as_ac_Header=no"
35247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35249 ac_res
=`eval echo '${'$as_ac_Header'}'`
35250 { echo "$as_me:$LINENO: result: $ac_res" >&5
35251 echo "${ECHO_T}$ac_res" >&6; }
35252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35253 cat >>confdefs.h
<<_ACEOF
35254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35261 if test "$ac_cv_header_widec_h" = "yes"; then
35262 wchar_headers
="$wchar_headers
35263 #include <widec.h>"
35268 for wx_func
in putws fputws wprintf vswprintf
35270 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35271 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35272 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35276 cat >conftest.
$ac_ext <<_ACEOF
35280 cat confdefs.h
>>conftest.
$ac_ext
35281 cat >>conftest.
$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35285 $ac_includes_default
35301 rm -f conftest.
$ac_objext conftest
$ac_exeext
35302 if { (ac_try
="$ac_link"
35303 case "(($ac_try" in
35304 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35305 *) ac_try_echo=$ac_try;;
35307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35308 (eval "$ac_link") 2>conftest.er1
35310 grep -v '^ *+' conftest.er1 >conftest.err
35312 cat conftest.err >&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); } && {
35315 test -z "$ac_c_werror_flag" ||
35316 test ! -s conftest.err
35317 } && test -s conftest$ac_exeext &&
35318 $as_test_x conftest$ac_exeext; then
35319 eval wx_cv_func_$wx_func=yes
35321 echo "$as_me: failed program was:" >&5
35322 sed 's/^/| /' conftest.$ac_ext >&5
35324 eval wx_cv_func_$wx_func=no
35327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35328 conftest$ac_exeext conftest.$ac_ext
35331 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35332 { echo "$as_me:$LINENO: result: $ac_res" >&5
35333 echo "${ECHO_T}$ac_res" >&6; }
35335 if eval test \$wx_cv_func_$wx_func = yes
35337 cat >>confdefs.h <<_ACEOF
35338 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35349 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35350 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35351 cat >conftest.$ac_ext <<_ACEOF
35354 cat confdefs.h >>conftest.$ac_ext
35355 cat >>conftest.$ac_ext <<_ACEOF
35356 /* end confdefs.h. */
35366 rm -f conftest.$ac_objext
35367 if { (ac_try="$ac_compile"
35368 case "(($ac_try" in
35369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35370 *) ac_try_echo
=$ac_try;;
35372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35373 (eval "$ac_compile") 2>conftest.er1
35375 grep -v '^ *+' conftest.er1
>conftest.err
35377 cat conftest.err
>&5
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); } && {
35380 test -z "$ac_c_werror_flag" ||
35381 test ! -s conftest.err
35382 } && test -s conftest.
$ac_objext; then
35383 { echo "$as_me:$LINENO: result: yes" >&5
35384 echo "${ECHO_T}yes" >&6; }
35385 cat >>confdefs.h
<<\_ACEOF
35386 #define HAVE__VSNWPRINTF 1
35390 echo "$as_me: failed program was:" >&5
35391 sed 's/^/| /' conftest.
$ac_ext >&5
35393 { echo "$as_me:$LINENO: result: no" >&5
35394 echo "${ECHO_T}no" >&6; }
35397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35400 if test "$wxUSE_FILE" = "yes"; then
35402 for wx_func
in fsync
35404 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35405 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35406 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35407 echo $ECHO_N "(cached) $ECHO_C" >&6
35410 cat >conftest.
$ac_ext <<_ACEOF
35414 cat confdefs.h
>>conftest.
$ac_ext
35415 cat >>conftest.
$ac_ext <<_ACEOF
35416 /* end confdefs.h. */
35419 $ac_includes_default
35435 rm -f conftest.
$ac_objext conftest
$ac_exeext
35436 if { (ac_try
="$ac_link"
35437 case "(($ac_try" in
35438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35439 *) ac_try_echo=$ac_try;;
35441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35442 (eval "$ac_link") 2>conftest.er1
35444 grep -v '^ *+' conftest.er1 >conftest.err
35446 cat conftest.err >&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); } && {
35449 test -z "$ac_c_werror_flag" ||
35450 test ! -s conftest.err
35451 } && test -s conftest$ac_exeext &&
35452 $as_test_x conftest$ac_exeext; then
35453 eval wx_cv_func_$wx_func=yes
35455 echo "$as_me: failed program was:" >&5
35456 sed 's/^/| /' conftest.$ac_ext >&5
35458 eval wx_cv_func_$wx_func=no
35461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35462 conftest$ac_exeext conftest.$ac_ext
35465 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35466 { echo "$as_me:$LINENO: result: $ac_res" >&5
35467 echo "${ECHO_T}$ac_res" >&6; }
35469 if eval test \$wx_cv_func_$wx_func = yes
35471 cat >>confdefs.h <<_ACEOF
35472 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35485 ac_cpp='$CXXCPP $CPPFLAGS'
35486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35491 for wx_func in round
35493 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35494 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35495 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35496 echo $ECHO_N "(cached) $ECHO_C" >&6
35499 cat >conftest.$ac_ext <<_ACEOF
35503 cat confdefs.h >>conftest.$ac_ext
35504 cat >>conftest.$ac_ext <<_ACEOF
35505 /* end confdefs.h. */
35508 $ac_includes_default
35524 rm -f conftest.$ac_objext conftest$ac_exeext
35525 if { (ac_try="$ac_link"
35526 case "(($ac_try" in
35527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35528 *) ac_try_echo
=$ac_try;;
35530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35531 (eval "$ac_link") 2>conftest.er1
35533 grep -v '^ *+' conftest.er1
>conftest.err
35535 cat conftest.err
>&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); } && {
35538 test -z "$ac_cxx_werror_flag" ||
35539 test ! -s conftest.err
35540 } && test -s conftest
$ac_exeext &&
35541 $as_test_x conftest
$ac_exeext; then
35542 eval wx_cv_func_
$wx_func=yes
35544 echo "$as_me: failed program was:" >&5
35545 sed 's/^/| /' conftest.
$ac_ext >&5
35547 eval wx_cv_func_
$wx_func=no
35550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35551 conftest
$ac_exeext conftest.
$ac_ext
35554 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35555 { echo "$as_me:$LINENO: result: $ac_res" >&5
35556 echo "${ECHO_T}$ac_res" >&6; }
35558 if eval test \
$wx_cv_func_$wx_func = yes
35560 cat >>confdefs.h
<<_ACEOF
35561 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35572 ac_cpp
='$CPP $CPPFLAGS'
35573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35578 if test "$TOOLKIT" != "MSW"; then
35584 # Check whether --with-libiconv-prefix was given.
35585 if test "${with_libiconv_prefix+set}" = set; then
35586 withval
=$with_libiconv_prefix;
35587 for dir
in `echo "$withval" | tr : ' '`; do
35588 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35589 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35595 { echo "$as_me:$LINENO: checking for iconv" >&5
35596 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35597 if test "${am_cv_func_iconv+set}" = set; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 am_cv_func_iconv
="no, consider installing GNU libiconv"
35603 cat >conftest.
$ac_ext <<_ACEOF
35606 cat confdefs.h
>>conftest.
$ac_ext
35607 cat >>conftest.
$ac_ext <<_ACEOF
35608 /* end confdefs.h. */
35609 #include <stdlib.h>
35614 iconv_t cd = iconv_open("","");
35615 iconv(cd,NULL,NULL,NULL,NULL);
35621 rm -f conftest.
$ac_objext conftest
$ac_exeext
35622 if { (ac_try
="$ac_link"
35623 case "(($ac_try" in
35624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35625 *) ac_try_echo=$ac_try;;
35627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35628 (eval "$ac_link") 2>conftest.er1
35630 grep -v '^ *+' conftest.er1 >conftest.err
35632 cat conftest.err >&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } && {
35635 test -z "$ac_c_werror_flag" ||
35636 test ! -s conftest.err
35637 } && test -s conftest$ac_exeext &&
35638 $as_test_x conftest$ac_exeext; then
35639 am_cv_func_iconv=yes
35641 echo "$as_me: failed program was:" >&5
35642 sed 's/^/| /' conftest.$ac_ext >&5
35647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35648 conftest$ac_exeext conftest.$ac_ext
35649 if test "$am_cv_func_iconv" != yes; then
35650 am_save_LIBS="$LIBS"
35651 LIBS="$LIBS -liconv"
35652 cat >conftest.$ac_ext <<_ACEOF
35655 cat confdefs.h >>conftest.$ac_ext
35656 cat >>conftest.$ac_ext <<_ACEOF
35657 /* end confdefs.h. */
35658 #include <stdlib.h>
35663 iconv_t cd = iconv_open("","");
35664 iconv(cd,NULL,NULL,NULL,NULL);
35670 rm -f conftest.$ac_objext conftest$ac_exeext
35671 if { (ac_try="$ac_link"
35672 case "(($ac_try" in
35673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35674 *) ac_try_echo
=$ac_try;;
35676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35677 (eval "$ac_link") 2>conftest.er1
35679 grep -v '^ *+' conftest.er1
>conftest.err
35681 cat conftest.err
>&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); } && {
35684 test -z "$ac_c_werror_flag" ||
35685 test ! -s conftest.err
35686 } && test -s conftest
$ac_exeext &&
35687 $as_test_x conftest
$ac_exeext; then
35688 am_cv_lib_iconv
=yes
35689 am_cv_func_iconv
=yes
35691 echo "$as_me: failed program was:" >&5
35692 sed 's/^/| /' conftest.
$ac_ext >&5
35697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35698 conftest
$ac_exeext conftest.
$ac_ext
35699 LIBS
="$am_save_LIBS"
35703 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35704 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35705 if test "$am_cv_func_iconv" = yes; then
35707 cat >>confdefs.h
<<\_ACEOF
35708 #define HAVE_ICONV 1
35711 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35712 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35713 if test "${wx_cv_func_iconv_const+set}" = set; then
35714 echo $ECHO_N "(cached) $ECHO_C" >&6
35716 cat >conftest.
$ac_ext <<_ACEOF
35719 cat confdefs.h
>>conftest.
$ac_ext
35720 cat >>conftest.
$ac_ext <<_ACEOF
35721 /* end confdefs.h. */
35723 #include <stdlib.h>
35729 #if defined(__STDC__) || defined(__cplusplus)
35730 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35743 rm -f conftest.
$ac_objext
35744 if { (ac_try
="$ac_compile"
35745 case "(($ac_try" in
35746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35747 *) ac_try_echo=$ac_try;;
35749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35750 (eval "$ac_compile") 2>conftest.er1
35752 grep -v '^ *+' conftest.er1 >conftest.err
35754 cat conftest.err >&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); } && {
35757 test -z "$ac_c_werror_flag" ||
35758 test ! -s conftest.err
35759 } && test -s conftest.$ac_objext; then
35760 wx_cv_func_iconv_const="no"
35762 echo "$as_me: failed program was:" >&5
35763 sed 's/^/| /' conftest.$ac_ext >&5
35765 wx_cv_func_iconv_const="yes"
35769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35773 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35776 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35777 iconv_const="const"
35781 cat >>confdefs.h <<_ACEOF
35782 #define ICONV_CONST $iconv_const
35787 if test "$am_cv_lib_iconv" = yes; then
35792 LIBS="$LIBICONV $LIBS"
35794 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35796 for ac_func in sigaction
35798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35802 echo $ECHO_N "(cached) $ECHO_C" >&6
35804 cat >conftest.$ac_ext <<_ACEOF
35807 cat confdefs.h >>conftest.$ac_ext
35808 cat >>conftest.$ac_ext <<_ACEOF
35809 /* end confdefs.h. */
35810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35812 #define $ac_func innocuous_$ac_func
35814 /* System header to define __stub macros and hopefully few prototypes,
35815 which can conflict with char $ac_func (); below.
35816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35817 <limits.h> exists even on freestanding compilers. */
35820 # include <limits.h>
35822 # include <assert.h>
35827 /* Override any GCC internal prototype to avoid an error.
35828 Use char because int might match the return type of a GCC
35829 builtin and then its argument prototype would still apply. */
35834 /* The GNU C library defines this for functions which it implements
35835 to always fail with ENOSYS. Some functions are actually named
35836 something starting with __ and the normal name is an alias. */
35837 #if defined __stub_$ac_func || defined __stub___$ac_func
35844 return $ac_func ();
35849 rm -f conftest.$ac_objext conftest$ac_exeext
35850 if { (ac_try="$ac_link"
35851 case "(($ac_try" in
35852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35853 *) ac_try_echo
=$ac_try;;
35855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35856 (eval "$ac_link") 2>conftest.er1
35858 grep -v '^ *+' conftest.er1
>conftest.err
35860 cat conftest.err
>&5
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); } && {
35863 test -z "$ac_c_werror_flag" ||
35864 test ! -s conftest.err
35865 } && test -s conftest
$ac_exeext &&
35866 $as_test_x conftest
$ac_exeext; then
35867 eval "$as_ac_var=yes"
35869 echo "$as_me: failed program was:" >&5
35870 sed 's/^/| /' conftest.
$ac_ext >&5
35872 eval "$as_ac_var=no"
35875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35876 conftest
$ac_exeext conftest.
$ac_ext
35878 ac_res
=`eval echo '${'$as_ac_var'}'`
35879 { echo "$as_me:$LINENO: result: $ac_res" >&5
35880 echo "${ECHO_T}$ac_res" >&6; }
35881 if test `eval echo '${'$as_ac_var'}'` = yes; then
35882 cat >>confdefs.h
<<_ACEOF
35883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35890 if test "$ac_cv_func_sigaction" = "no"; then
35891 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35892 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35893 wxUSE_ON_FATAL_EXCEPTION
=no
35896 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35897 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35898 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35899 if test "${wx_cv_type_sa_handler+set}" = set; then
35900 echo $ECHO_N "(cached) $ECHO_C" >&6
35904 ac_cpp
='$CXXCPP $CPPFLAGS'
35905 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35909 cat >conftest.
$ac_ext <<_ACEOF
35912 cat confdefs.h
>>conftest.
$ac_ext
35913 cat >>conftest.
$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915 #include <signal.h>
35920 extern void testSigHandler(int);
35922 struct sigaction sa;
35923 sa.sa_handler = testSigHandler;
35929 rm -f conftest.
$ac_objext
35930 if { (ac_try
="$ac_compile"
35931 case "(($ac_try" in
35932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35933 *) ac_try_echo=$ac_try;;
35935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35936 (eval "$ac_compile") 2>conftest.er1
35938 grep -v '^ *+' conftest.er1 >conftest.err
35940 cat conftest.err >&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } && {
35943 test -z "$ac_cxx_werror_flag" ||
35944 test ! -s conftest.err
35945 } && test -s conftest.$ac_objext; then
35947 wx_cv_type_sa_handler=int
35950 echo "$as_me: failed program was:" >&5
35951 sed 's/^/| /' conftest.$ac_ext >&5
35954 wx_cv_type_sa_handler=void
35958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35960 ac_cpp='$CPP $CPPFLAGS'
35961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35967 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35968 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35970 cat >>confdefs.h <<_ACEOF
35971 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35977 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35978 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35979 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35980 if test "${wx_cv_func_backtrace+set}" = set; then
35981 echo $ECHO_N "(cached) $ECHO_C" >&6
35985 ac_cpp='$CXXCPP $CPPFLAGS'
35986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35990 cat >conftest.$ac_ext <<_ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 #include <execinfo.h>
36004 backtrace(trace, 1);
36005 messages = backtrace_symbols(trace, 1);
36011 rm -f conftest.$ac_objext
36012 if { (ac_try="$ac_compile"
36013 case "(($ac_try" in
36014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36015 *) ac_try_echo
=$ac_try;;
36017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36018 (eval "$ac_compile") 2>conftest.er1
36020 grep -v '^ *+' conftest.er1
>conftest.err
36022 cat conftest.err
>&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } && {
36025 test -z "$ac_cxx_werror_flag" ||
36026 test ! -s conftest.err
36027 } && test -s conftest.
$ac_objext; then
36028 wx_cv_func_backtrace
=yes
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.
$ac_ext >&5
36033 wx_cv_func_backtrace
=no
36037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36039 ac_cpp
='$CPP $CPPFLAGS'
36040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36047 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36048 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36051 if test "$wx_cv_func_backtrace" = "no"; then
36052 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36053 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36054 wxUSE_STACKWALKER
=no
36056 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36057 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36058 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 ac_cpp
='$CXXCPP $CPPFLAGS'
36064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36068 cat >conftest.
$ac_ext <<_ACEOF
36071 cat confdefs.h
>>conftest.
$ac_ext
36072 cat >>conftest.
$ac_ext <<_ACEOF
36073 /* end confdefs.h. */
36074 #include <cxxabi.h>
36080 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36086 rm -f conftest.
$ac_objext conftest
$ac_exeext
36087 if { (ac_try
="$ac_link"
36088 case "(($ac_try" in
36089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_link") 2>conftest.er1
36095 grep -v '^ *+' conftest.er1 >conftest.err
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } && {
36100 test -z "$ac_cxx_werror_flag" ||
36101 test ! -s conftest.err
36102 } && test -s conftest$ac_exeext &&
36103 $as_test_x conftest$ac_exeext; then
36104 wx_cv_func_cxa_demangle=yes
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36109 wx_cv_func_cxa_demangle=no
36113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36114 conftest$ac_exeext conftest.$ac_ext
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36125 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36127 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36128 cat >>confdefs.h <<\_ACEOF
36129 #define HAVE_CXA_DEMANGLE 1
36136 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36137 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36138 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36139 wxUSE_STACKWALKER=no
36145 for ac_func in mkstemp mktemp
36147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36151 echo $ECHO_N "(cached) $ECHO_C" >&6
36153 cat >conftest.$ac_ext <<_ACEOF
36156 cat confdefs.h >>conftest.$ac_ext
36157 cat >>conftest.$ac_ext <<_ACEOF
36158 /* end confdefs.h. */
36159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36161 #define $ac_func innocuous_$ac_func
36163 /* System header to define __stub macros and hopefully few prototypes,
36164 which can conflict with char $ac_func (); below.
36165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36166 <limits.h> exists even on freestanding compilers. */
36169 # include <limits.h>
36171 # include <assert.h>
36176 /* Override any GCC internal prototype to avoid an error.
36177 Use char because int might match the return type of a GCC
36178 builtin and then its argument prototype would still apply. */
36183 /* The GNU C library defines this for functions which it implements
36184 to always fail with ENOSYS. Some functions are actually named
36185 something starting with __ and the normal name is an alias. */
36186 #if defined __stub_$ac_func || defined __stub___$ac_func
36193 return $ac_func ();
36198 rm -f conftest.$ac_objext conftest$ac_exeext
36199 if { (ac_try="$ac_link"
36200 case "(($ac_try" in
36201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36202 *) ac_try_echo
=$ac_try;;
36204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36205 (eval "$ac_link") 2>conftest.er1
36207 grep -v '^ *+' conftest.er1
>conftest.err
36209 cat conftest.err
>&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } && {
36212 test -z "$ac_c_werror_flag" ||
36213 test ! -s conftest.err
36214 } && test -s conftest
$ac_exeext &&
36215 $as_test_x conftest
$ac_exeext; then
36216 eval "$as_ac_var=yes"
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.
$ac_ext >&5
36221 eval "$as_ac_var=no"
36224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36225 conftest
$ac_exeext conftest.
$ac_ext
36227 ac_res
=`eval echo '${'$as_ac_var'}'`
36228 { echo "$as_me:$LINENO: result: $ac_res" >&5
36229 echo "${ECHO_T}$ac_res" >&6; }
36230 if test `eval echo '${'$as_ac_var'}'` = yes; then
36231 cat >>confdefs.h
<<_ACEOF
36232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36239 { echo "$as_me:$LINENO: checking for statfs" >&5
36240 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36241 if test "${wx_cv_func_statfs+set}" = set; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36244 cat >conftest.
$ac_ext <<_ACEOF
36247 cat confdefs.h
>>conftest.
$ac_ext
36248 cat >>conftest.
$ac_ext <<_ACEOF
36249 /* end confdefs.h. */
36251 #if defined(__BSD__)
36252 #include <sys/param.h>
36253 #include <sys/mount.h>
36255 #include <sys/vfs.h>
36273 rm -f conftest.
$ac_objext
36274 if { (ac_try
="$ac_compile"
36275 case "(($ac_try" in
36276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36277 *) ac_try_echo=$ac_try;;
36279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36280 (eval "$ac_compile") 2>conftest.er1
36282 grep -v '^ *+' conftest.er1 >conftest.err
36284 cat conftest.err >&5
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); } && {
36287 test -z "$ac_c_werror_flag" ||
36288 test ! -s conftest.err
36289 } && test -s conftest.$ac_objext; then
36290 wx_cv_func_statfs=yes
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.$ac_ext >&5
36295 wx_cv_func_statfs=no
36299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36302 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36303 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36305 if test "$wx_cv_func_statfs" = "yes"; then
36306 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36307 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36308 if test "${wx_cv_func_statfs_decl+set}" = set; then
36309 echo $ECHO_N "(cached) $ECHO_C" >&6
36312 ac_cpp='$CXXCPP $CPPFLAGS'
36313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36317 cat >conftest.$ac_ext <<_ACEOF
36320 cat confdefs.h >>conftest.$ac_ext
36321 cat >>conftest.$ac_ext <<_ACEOF
36322 /* end confdefs.h. */
36324 #if defined(__BSD__)
36325 #include <sys/param.h>
36326 #include <sys/mount.h>
36328 #include <sys/vfs.h>
36342 rm -f conftest.$ac_objext
36343 if { (ac_try="$ac_compile"
36344 case "(($ac_try" in
36345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36346 *) ac_try_echo
=$ac_try;;
36348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36349 (eval "$ac_compile") 2>conftest.er1
36351 grep -v '^ *+' conftest.er1
>conftest.err
36353 cat conftest.err
>&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); } && {
36356 test -z "$ac_cxx_werror_flag" ||
36357 test ! -s conftest.err
36358 } && test -s conftest.
$ac_objext; then
36359 wx_cv_func_statfs_decl
=yes
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.
$ac_ext >&5
36364 wx_cv_func_statfs_decl
=no
36368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36370 ac_cpp
='$CPP $CPPFLAGS'
36371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36377 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36378 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36380 if test "$wx_cv_func_statfs_decl" = "yes"; then
36381 cat >>confdefs.h
<<\_ACEOF
36382 #define HAVE_STATFS_DECL 1
36387 wx_cv_type_statvfs_t
="struct statfs"
36388 cat >>confdefs.h
<<\_ACEOF
36389 #define HAVE_STATFS 1
36393 { echo "$as_me:$LINENO: checking for statvfs" >&5
36394 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36395 if test "${wx_cv_func_statvfs+set}" = set; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 cat >conftest.
$ac_ext <<_ACEOF
36401 cat confdefs.h
>>conftest.
$ac_ext
36402 cat >>conftest.
$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36405 #include <stddef.h>
36406 #include <sys/statvfs.h>
36412 statvfs("/", NULL);
36418 rm -f conftest.
$ac_objext
36419 if { (ac_try
="$ac_compile"
36420 case "(($ac_try" in
36421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36422 *) ac_try_echo=$ac_try;;
36424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36425 (eval "$ac_compile") 2>conftest.er1
36427 grep -v '^ *+' conftest.er1 >conftest.err
36429 cat conftest.err >&5
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); } && {
36432 test -z "$ac_c_werror_flag" ||
36433 test ! -s conftest.err
36434 } && test -s conftest.$ac_objext; then
36435 wx_cv_func_statvfs=yes
36437 echo "$as_me: failed program was:" >&5
36438 sed 's/^/| /' conftest.$ac_ext >&5
36440 wx_cv_func_statvfs=no
36444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36447 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36448 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36450 if test "$wx_cv_func_statvfs" = "yes"; then
36451 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36452 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36453 if test "${wx_cv_type_statvfs_t+set}" = set; then
36454 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 ac_cpp='$CXXCPP $CPPFLAGS'
36458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36462 cat >conftest.$ac_ext <<_ACEOF
36465 cat confdefs.h >>conftest.$ac_ext
36466 cat >>conftest.$ac_ext <<_ACEOF
36467 /* end confdefs.h. */
36469 #include <sys/statvfs.h>
36486 rm -f conftest.$ac_objext
36487 if { (ac_try="$ac_compile"
36488 case "(($ac_try" in
36489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36490 *) ac_try_echo
=$ac_try;;
36492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36493 (eval "$ac_compile") 2>conftest.er1
36495 grep -v '^ *+' conftest.er1
>conftest.err
36497 cat conftest.err
>&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); } && {
36500 test -z "$ac_cxx_werror_flag" ||
36501 test ! -s conftest.err
36502 } && test -s conftest.
$ac_objext; then
36503 wx_cv_type_statvfs_t
=statvfs_t
36505 echo "$as_me: failed program was:" >&5
36506 sed 's/^/| /' conftest.
$ac_ext >&5
36509 cat >conftest.
$ac_ext <<_ACEOF
36512 cat confdefs.h
>>conftest.
$ac_ext
36513 cat >>conftest.
$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36516 #include <sys/statvfs.h>
36533 rm -f conftest.
$ac_objext
36534 if { (ac_try
="$ac_compile"
36535 case "(($ac_try" in
36536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36537 *) ac_try_echo=$ac_try;;
36539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36540 (eval "$ac_compile") 2>conftest.er1
36542 grep -v '^ *+' conftest.er1 >conftest.err
36544 cat conftest.err >&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); } && {
36547 test -z "$ac_cxx_werror_flag" ||
36548 test ! -s conftest.err
36549 } && test -s conftest.$ac_objext; then
36550 wx_cv_type_statvfs_t="struct statvfs"
36552 echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36555 wx_cv_type_statvfs_t="unknown"
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36573 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36574 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36576 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36577 cat >>confdefs.h <<\_ACEOF
36578 #define HAVE_STATVFS 1
36583 wx_cv_type_statvfs_t="unknown"
36587 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36588 cat >>confdefs.h <<_ACEOF
36589 #define WX_STATFS_T $wx_cv_type_statvfs_t
36593 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36594 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36597 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36600 for ac_func in fcntl flock
36602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36606 echo $ECHO_N "(cached) $ECHO_C" >&6
36608 cat >conftest.$ac_ext <<_ACEOF
36611 cat confdefs.h >>conftest.$ac_ext
36612 cat >>conftest.$ac_ext <<_ACEOF
36613 /* end confdefs.h. */
36614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36616 #define $ac_func innocuous_$ac_func
36618 /* System header to define __stub macros and hopefully few prototypes,
36619 which can conflict with char $ac_func (); below.
36620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36621 <limits.h> exists even on freestanding compilers. */
36624 # include <limits.h>
36626 # include <assert.h>
36631 /* Override any GCC internal prototype to avoid an error.
36632 Use char because int might match the return type of a GCC
36633 builtin and then its argument prototype would still apply. */
36638 /* The GNU C library defines this for functions which it implements
36639 to always fail with ENOSYS. Some functions are actually named
36640 something starting with __ and the normal name is an alias. */
36641 #if defined __stub_$ac_func || defined __stub___$ac_func
36648 return $ac_func ();
36653 rm -f conftest.$ac_objext conftest$ac_exeext
36654 if { (ac_try="$ac_link"
36655 case "(($ac_try" in
36656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36657 *) ac_try_echo
=$ac_try;;
36659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36660 (eval "$ac_link") 2>conftest.er1
36662 grep -v '^ *+' conftest.er1
>conftest.err
36664 cat conftest.err
>&5
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); } && {
36667 test -z "$ac_c_werror_flag" ||
36668 test ! -s conftest.err
36669 } && test -s conftest
$ac_exeext &&
36670 $as_test_x conftest
$ac_exeext; then
36671 eval "$as_ac_var=yes"
36673 echo "$as_me: failed program was:" >&5
36674 sed 's/^/| /' conftest.
$ac_ext >&5
36676 eval "$as_ac_var=no"
36679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36680 conftest
$ac_exeext conftest.
$ac_ext
36682 ac_res
=`eval echo '${'$as_ac_var'}'`
36683 { echo "$as_me:$LINENO: result: $ac_res" >&5
36684 echo "${ECHO_T}$ac_res" >&6; }
36685 if test `eval echo '${'$as_ac_var'}'` = yes; then
36686 cat >>confdefs.h
<<_ACEOF
36687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36694 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36695 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36696 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36697 wxUSE_SNGLINST_CHECKER
=no
36703 for ac_func
in setenv putenv
36705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36708 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36709 echo $ECHO_N "(cached) $ECHO_C" >&6
36711 cat >conftest.
$ac_ext <<_ACEOF
36714 cat confdefs.h
>>conftest.
$ac_ext
36715 cat >>conftest.
$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36719 #define $ac_func innocuous_$ac_func
36721 /* System header to define __stub macros and hopefully few prototypes,
36722 which can conflict with char $ac_func (); below.
36723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36724 <limits.h> exists even on freestanding compilers. */
36727 # include <limits.h>
36729 # include <assert.h>
36734 /* Override any GCC internal prototype to avoid an error.
36735 Use char because int might match the return type of a GCC
36736 builtin and then its argument prototype would still apply. */
36741 /* The GNU C library defines this for functions which it implements
36742 to always fail with ENOSYS. Some functions are actually named
36743 something starting with __ and the normal name is an alias. */
36744 #if defined __stub_$ac_func || defined __stub___$ac_func
36751 return $ac_func ();
36756 rm -f conftest.
$ac_objext conftest
$ac_exeext
36757 if { (ac_try
="$ac_link"
36758 case "(($ac_try" in
36759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36760 *) ac_try_echo=$ac_try;;
36762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36763 (eval "$ac_link") 2>conftest.er1
36765 grep -v '^ *+' conftest.er1 >conftest.err
36767 cat conftest.err >&5
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); } && {
36770 test -z "$ac_c_werror_flag" ||
36771 test ! -s conftest.err
36772 } && test -s conftest$ac_exeext &&
36773 $as_test_x conftest$ac_exeext; then
36774 eval "$as_ac_var=yes"
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36779 eval "$as_ac_var=no"
36782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36783 conftest$ac_exeext conftest.$ac_ext
36785 ac_res=`eval echo '${'$as_ac_var'}'`
36786 { echo "$as_me:$LINENO: result: $ac_res" >&5
36787 echo "${ECHO_T}$ac_res" >&6; }
36788 if test `eval echo '${'$as_ac_var'}'` = yes; then
36789 cat >>confdefs.h <<_ACEOF
36790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36796 if test "$ac_cv_func_setenv" = "yes"; then
36798 for ac_func in unsetenv
36800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36804 echo $ECHO_N "(cached) $ECHO_C" >&6
36806 cat >conftest.$ac_ext <<_ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36814 #define $ac_func innocuous_$ac_func
36816 /* System header to define __stub macros and hopefully few prototypes,
36817 which can conflict with char $ac_func (); below.
36818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36819 <limits.h> exists even on freestanding compilers. */
36822 # include <limits.h>
36824 # include <assert.h>
36829 /* Override any GCC internal prototype to avoid an error.
36830 Use char because int might match the return type of a GCC
36831 builtin and then its argument prototype would still apply. */
36836 /* The GNU C library defines this for functions which it implements
36837 to always fail with ENOSYS. Some functions are actually named
36838 something starting with __ and the normal name is an alias. */
36839 #if defined __stub_$ac_func || defined __stub___$ac_func
36846 return $ac_func ();
36851 rm -f conftest.$ac_objext conftest$ac_exeext
36852 if { (ac_try="$ac_link"
36853 case "(($ac_try" in
36854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36855 *) ac_try_echo
=$ac_try;;
36857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36858 (eval "$ac_link") 2>conftest.er1
36860 grep -v '^ *+' conftest.er1
>conftest.err
36862 cat conftest.err
>&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } && {
36865 test -z "$ac_c_werror_flag" ||
36866 test ! -s conftest.err
36867 } && test -s conftest
$ac_exeext &&
36868 $as_test_x conftest
$ac_exeext; then
36869 eval "$as_ac_var=yes"
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.
$ac_ext >&5
36874 eval "$as_ac_var=no"
36877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36878 conftest
$ac_exeext conftest.
$ac_ext
36880 ac_res
=`eval echo '${'$as_ac_var'}'`
36881 { echo "$as_me:$LINENO: result: $ac_res" >&5
36882 echo "${ECHO_T}$ac_res" >&6; }
36883 if test `eval echo '${'$as_ac_var'}'` = yes; then
36884 cat >>confdefs.h
<<_ACEOF
36885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36893 HAVE_SOME_SLEEP_FUNC
=0
36894 if test "$USE_BEOS" = 1; then
36895 cat >>confdefs.h
<<\_ACEOF
36896 #define HAVE_SLEEP 1
36899 HAVE_SOME_SLEEP_FUNC
=1
36902 if test "$USE_DARWIN" = 1; then
36903 cat >>confdefs.h
<<\_ACEOF
36904 #define HAVE_USLEEP 1
36907 HAVE_SOME_SLEEP_FUNC
=1
36910 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36913 for ac_func
in nanosleep
36915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36918 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36919 echo $ECHO_N "(cached) $ECHO_C" >&6
36921 cat >conftest.
$ac_ext <<_ACEOF
36924 cat confdefs.h
>>conftest.
$ac_ext
36925 cat >>conftest.
$ac_ext <<_ACEOF
36926 /* end confdefs.h. */
36927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36929 #define $ac_func innocuous_$ac_func
36931 /* System header to define __stub macros and hopefully few prototypes,
36932 which can conflict with char $ac_func (); below.
36933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36934 <limits.h> exists even on freestanding compilers. */
36937 # include <limits.h>
36939 # include <assert.h>
36944 /* Override any GCC internal prototype to avoid an error.
36945 Use char because int might match the return type of a GCC
36946 builtin and then its argument prototype would still apply. */
36951 /* The GNU C library defines this for functions which it implements
36952 to always fail with ENOSYS. Some functions are actually named
36953 something starting with __ and the normal name is an alias. */
36954 #if defined __stub_$ac_func || defined __stub___$ac_func
36961 return $ac_func ();
36966 rm -f conftest.
$ac_objext conftest
$ac_exeext
36967 if { (ac_try
="$ac_link"
36968 case "(($ac_try" in
36969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36970 *) ac_try_echo=$ac_try;;
36972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36973 (eval "$ac_link") 2>conftest.er1
36975 grep -v '^ *+' conftest.er1 >conftest.err
36977 cat conftest.err >&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } && {
36980 test -z "$ac_c_werror_flag" ||
36981 test ! -s conftest.err
36982 } && test -s conftest$ac_exeext &&
36983 $as_test_x conftest$ac_exeext; then
36984 eval "$as_ac_var=yes"
36986 echo "$as_me: failed program was:" >&5
36987 sed 's/^/| /' conftest.$ac_ext >&5
36989 eval "$as_ac_var=no"
36992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36993 conftest$ac_exeext conftest.$ac_ext
36995 ac_res=`eval echo '${'$as_ac_var'}'`
36996 { echo "$as_me:$LINENO: result: $ac_res" >&5
36997 echo "${ECHO_T}$ac_res" >&6; }
36998 if test `eval echo '${'$as_ac_var'}'` = yes; then
36999 cat >>confdefs.h <<_ACEOF
37000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37002 cat >>confdefs.h <<\_ACEOF
37003 #define HAVE_NANOSLEEP 1
37008 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37009 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37010 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37013 ac_check_lib_save_LIBS=$LIBS
37014 LIBS="-lposix4 $LIBS"
37015 cat >conftest.$ac_ext <<_ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37022 /* Override any GCC internal prototype to avoid an error.
37023 Use char because int might match the return type of a GCC
37024 builtin and then its argument prototype would still apply. */
37032 return nanosleep ();
37037 rm -f conftest.$ac_objext conftest$ac_exeext
37038 if { (ac_try="$ac_link"
37039 case "(($ac_try" in
37040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37041 *) ac_try_echo
=$ac_try;;
37043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37044 (eval "$ac_link") 2>conftest.er1
37046 grep -v '^ *+' conftest.er1
>conftest.err
37048 cat conftest.err
>&5
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); } && {
37051 test -z "$ac_c_werror_flag" ||
37052 test ! -s conftest.err
37053 } && test -s conftest
$ac_exeext &&
37054 $as_test_x conftest
$ac_exeext; then
37055 ac_cv_lib_posix4_nanosleep
=yes
37057 echo "$as_me: failed program was:" >&5
37058 sed 's/^/| /' conftest.
$ac_ext >&5
37060 ac_cv_lib_posix4_nanosleep
=no
37063 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37064 conftest
$ac_exeext conftest.
$ac_ext
37065 LIBS
=$ac_check_lib_save_LIBS
37067 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37068 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37069 if test $ac_cv_lib_posix4_nanosleep = yes; then
37071 cat >>confdefs.h
<<\_ACEOF
37072 #define HAVE_NANOSLEEP 1
37075 POSIX4_LINK
=" -lposix4"
37080 for wx_func
in usleep
37082 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37083 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37084 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37085 echo $ECHO_N "(cached) $ECHO_C" >&6
37088 cat >conftest.
$ac_ext <<_ACEOF
37092 cat confdefs.h
>>conftest.
$ac_ext
37093 cat >>conftest.
$ac_ext <<_ACEOF
37094 /* end confdefs.h. */
37097 $ac_includes_default
37113 rm -f conftest.
$ac_objext conftest
$ac_exeext
37114 if { (ac_try
="$ac_link"
37115 case "(($ac_try" in
37116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37117 *) ac_try_echo=$ac_try;;
37119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37120 (eval "$ac_link") 2>conftest.er1
37122 grep -v '^ *+' conftest.er1 >conftest.err
37124 cat conftest.err >&5
37125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126 (exit $ac_status); } && {
37127 test -z "$ac_c_werror_flag" ||
37128 test ! -s conftest.err
37129 } && test -s conftest$ac_exeext &&
37130 $as_test_x conftest$ac_exeext; then
37131 eval wx_cv_func_$wx_func=yes
37133 echo "$as_me: failed program was:" >&5
37134 sed 's/^/| /' conftest.$ac_ext >&5
37136 eval wx_cv_func_$wx_func=no
37139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37140 conftest$ac_exeext conftest.$ac_ext
37143 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37144 { echo "$as_me:$LINENO: result: $ac_res" >&5
37145 echo "${ECHO_T}$ac_res" >&6; }
37147 if eval test \$wx_cv_func_$wx_func = yes
37149 cat >>confdefs.h <<_ACEOF
37150 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37156 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37157 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37174 for wx_func in uname
37176 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37177 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37178 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37179 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 cat >conftest.$ac_ext <<_ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h. */
37190 #include <sys/utsname.h>
37191 $ac_includes_default
37207 rm -f conftest.$ac_objext conftest$ac_exeext
37208 if { (ac_try="$ac_link"
37209 case "(($ac_try" in
37210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37211 *) ac_try_echo
=$ac_try;;
37213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37214 (eval "$ac_link") 2>conftest.er1
37216 grep -v '^ *+' conftest.er1
>conftest.err
37218 cat conftest.err
>&5
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); } && {
37221 test -z "$ac_c_werror_flag" ||
37222 test ! -s conftest.err
37223 } && test -s conftest
$ac_exeext &&
37224 $as_test_x conftest
$ac_exeext; then
37225 eval wx_cv_func_
$wx_func=yes
37227 echo "$as_me: failed program was:" >&5
37228 sed 's/^/| /' conftest.
$ac_ext >&5
37230 eval wx_cv_func_
$wx_func=no
37233 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37234 conftest
$ac_exeext conftest.
$ac_ext
37237 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37238 { echo "$as_me:$LINENO: result: $ac_res" >&5
37239 echo "${ECHO_T}$ac_res" >&6; }
37241 if eval test \
$wx_cv_func_$wx_func = yes
37243 cat >>confdefs.h
<<_ACEOF
37244 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37254 if test "$wx_cv_func_uname" != yes; then
37256 for wx_func
in gethostname
37258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37260 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37261 echo $ECHO_N "(cached) $ECHO_C" >&6
37264 cat >conftest.
$ac_ext <<_ACEOF
37268 cat confdefs.h
>>conftest.
$ac_ext
37269 cat >>conftest.
$ac_ext <<_ACEOF
37270 /* end confdefs.h. */
37273 $ac_includes_default
37289 rm -f conftest.
$ac_objext conftest
$ac_exeext
37290 if { (ac_try
="$ac_link"
37291 case "(($ac_try" in
37292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37293 *) ac_try_echo=$ac_try;;
37295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37296 (eval "$ac_link") 2>conftest.er1
37298 grep -v '^ *+' conftest.er1 >conftest.err
37300 cat conftest.err >&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); } && {
37303 test -z "$ac_c_werror_flag" ||
37304 test ! -s conftest.err
37305 } && test -s conftest$ac_exeext &&
37306 $as_test_x conftest$ac_exeext; then
37307 eval wx_cv_func_$wx_func=yes
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37312 eval wx_cv_func_$wx_func=no
37315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37316 conftest$ac_exeext conftest.$ac_ext
37319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37320 { echo "$as_me:$LINENO: result: $ac_res" >&5
37321 echo "${ECHO_T}$ac_res" >&6; }
37323 if eval test \$wx_cv_func_$wx_func = yes
37325 cat >>confdefs.h <<_ACEOF
37326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37339 for wx_func in strtok_r
37341 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37343 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37347 cat >conftest.$ac_ext <<_ACEOF
37351 cat confdefs.h >>conftest.$ac_ext
37352 cat >>conftest.$ac_ext <<_ACEOF
37353 /* end confdefs.h. */
37356 $ac_includes_default
37372 rm -f conftest.$ac_objext conftest$ac_exeext
37373 if { (ac_try="$ac_link"
37374 case "(($ac_try" in
37375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37376 *) ac_try_echo
=$ac_try;;
37378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37379 (eval "$ac_link") 2>conftest.er1
37381 grep -v '^ *+' conftest.er1
>conftest.err
37383 cat conftest.err
>&5
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); } && {
37386 test -z "$ac_c_werror_flag" ||
37387 test ! -s conftest.err
37388 } && test -s conftest
$ac_exeext &&
37389 $as_test_x conftest
$ac_exeext; then
37390 eval wx_cv_func_
$wx_func=yes
37392 echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.
$ac_ext >&5
37395 eval wx_cv_func_
$wx_func=no
37398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37399 conftest
$ac_exeext conftest.
$ac_ext
37402 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37403 { echo "$as_me:$LINENO: result: $ac_res" >&5
37404 echo "${ECHO_T}$ac_res" >&6; }
37406 if eval test \
$wx_cv_func_$wx_func = yes
37408 cat >>confdefs.h
<<_ACEOF
37409 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37422 for ac_func
in inet_addr
37424 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37425 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37427 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37428 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 cat >conftest.
$ac_ext <<_ACEOF
37433 cat confdefs.h
>>conftest.
$ac_ext
37434 cat >>conftest.
$ac_ext <<_ACEOF
37435 /* end confdefs.h. */
37436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37438 #define $ac_func innocuous_$ac_func
37440 /* System header to define __stub macros and hopefully few prototypes,
37441 which can conflict with char $ac_func (); below.
37442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37443 <limits.h> exists even on freestanding compilers. */
37446 # include <limits.h>
37448 # include <assert.h>
37453 /* Override any GCC internal prototype to avoid an error.
37454 Use char because int might match the return type of a GCC
37455 builtin and then its argument prototype would still apply. */
37460 /* The GNU C library defines this for functions which it implements
37461 to always fail with ENOSYS. Some functions are actually named
37462 something starting with __ and the normal name is an alias. */
37463 #if defined __stub_$ac_func || defined __stub___$ac_func
37470 return $ac_func ();
37475 rm -f conftest.
$ac_objext conftest
$ac_exeext
37476 if { (ac_try
="$ac_link"
37477 case "(($ac_try" in
37478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37479 *) ac_try_echo=$ac_try;;
37481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37482 (eval "$ac_link") 2>conftest.er1
37484 grep -v '^ *+' conftest.er1 >conftest.err
37486 cat conftest.err >&5
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); } && {
37489 test -z "$ac_c_werror_flag" ||
37490 test ! -s conftest.err
37491 } && test -s conftest$ac_exeext &&
37492 $as_test_x conftest$ac_exeext; then
37493 eval "$as_ac_var=yes"
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37498 eval "$as_ac_var=no"
37501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37502 conftest$ac_exeext conftest.$ac_ext
37504 ac_res=`eval echo '${'$as_ac_var'}'`
37505 { echo "$as_me:$LINENO: result: $ac_res" >&5
37506 echo "${ECHO_T}$ac_res" >&6; }
37507 if test `eval echo '${'$as_ac_var'}'` = yes; then
37508 cat >>confdefs.h <<_ACEOF
37509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37511 cat >>confdefs.h <<\_ACEOF
37512 #define HAVE_INET_ADDR 1
37517 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37518 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37519 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37520 echo $ECHO_N "(cached) $ECHO_C" >&6
37522 ac_check_lib_save_LIBS=$LIBS
37524 cat >conftest.$ac_ext <<_ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37531 /* Override any GCC internal prototype to avoid an error.
37532 Use char because int might match the return type of a GCC
37533 builtin and then its argument prototype would still apply. */
37541 return inet_addr ();
37546 rm -f conftest.$ac_objext conftest$ac_exeext
37547 if { (ac_try="$ac_link"
37548 case "(($ac_try" in
37549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37550 *) ac_try_echo
=$ac_try;;
37552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37553 (eval "$ac_link") 2>conftest.er1
37555 grep -v '^ *+' conftest.er1
>conftest.err
37557 cat conftest.err
>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); } && {
37560 test -z "$ac_c_werror_flag" ||
37561 test ! -s conftest.err
37562 } && test -s conftest
$ac_exeext &&
37563 $as_test_x conftest
$ac_exeext; then
37564 ac_cv_lib_nsl_inet_addr
=yes
37566 echo "$as_me: failed program was:" >&5
37567 sed 's/^/| /' conftest.
$ac_ext >&5
37569 ac_cv_lib_nsl_inet_addr
=no
37572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37573 conftest
$ac_exeext conftest.
$ac_ext
37574 LIBS
=$ac_check_lib_save_LIBS
37576 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37577 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37578 if test $ac_cv_lib_nsl_inet_addr = yes; then
37582 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37583 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37584 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37587 ac_check_lib_save_LIBS
=$LIBS
37588 LIBS
="-lresolv $LIBS"
37589 cat >conftest.
$ac_ext <<_ACEOF
37592 cat confdefs.h
>>conftest.
$ac_ext
37593 cat >>conftest.
$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37596 /* Override any GCC internal prototype to avoid an error.
37597 Use char because int might match the return type of a GCC
37598 builtin and then its argument prototype would still apply. */
37606 return inet_addr ();
37611 rm -f conftest.
$ac_objext conftest
$ac_exeext
37612 if { (ac_try
="$ac_link"
37613 case "(($ac_try" in
37614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37615 *) ac_try_echo=$ac_try;;
37617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37618 (eval "$ac_link") 2>conftest.er1
37620 grep -v '^ *+' conftest.er1 >conftest.err
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } && {
37625 test -z "$ac_c_werror_flag" ||
37626 test ! -s conftest.err
37627 } && test -s conftest$ac_exeext &&
37628 $as_test_x conftest$ac_exeext; then
37629 ac_cv_lib_resolv_inet_addr=yes
37631 echo "$as_me: failed program was:" >&5
37632 sed 's/^/| /' conftest.$ac_ext >&5
37634 ac_cv_lib_resolv_inet_addr=no
37637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37638 conftest$ac_exeext conftest.$ac_ext
37639 LIBS=$ac_check_lib_save_LIBS
37641 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37642 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37643 if test $ac_cv_lib_resolv_inet_addr = yes; then
37647 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37648 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37649 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37652 ac_check_lib_save_LIBS=$LIBS
37653 LIBS="-lsocket $LIBS"
37654 cat >conftest.$ac_ext <<_ACEOF
37657 cat confdefs.h >>conftest.$ac_ext
37658 cat >>conftest.$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37661 /* Override any GCC internal prototype to avoid an error.
37662 Use char because int might match the return type of a GCC
37663 builtin and then its argument prototype would still apply. */
37671 return inet_addr ();
37676 rm -f conftest.$ac_objext conftest$ac_exeext
37677 if { (ac_try="$ac_link"
37678 case "(($ac_try" in
37679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37680 *) ac_try_echo
=$ac_try;;
37682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37683 (eval "$ac_link") 2>conftest.er1
37685 grep -v '^ *+' conftest.er1
>conftest.err
37687 cat conftest.err
>&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); } && {
37690 test -z "$ac_c_werror_flag" ||
37691 test ! -s conftest.err
37692 } && test -s conftest
$ac_exeext &&
37693 $as_test_x conftest
$ac_exeext; then
37694 ac_cv_lib_socket_inet_addr
=yes
37696 echo "$as_me: failed program was:" >&5
37697 sed 's/^/| /' conftest.
$ac_ext >&5
37699 ac_cv_lib_socket_inet_addr
=no
37702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37703 conftest
$ac_exeext conftest.
$ac_ext
37704 LIBS
=$ac_check_lib_save_LIBS
37706 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37707 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37708 if test $ac_cv_lib_socket_inet_addr = yes; then
37728 for ac_func
in inet_aton
37730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37733 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37734 echo $ECHO_N "(cached) $ECHO_C" >&6
37736 cat >conftest.
$ac_ext <<_ACEOF
37739 cat confdefs.h
>>conftest.
$ac_ext
37740 cat >>conftest.
$ac_ext <<_ACEOF
37741 /* end confdefs.h. */
37742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37744 #define $ac_func innocuous_$ac_func
37746 /* System header to define __stub macros and hopefully few prototypes,
37747 which can conflict with char $ac_func (); below.
37748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37749 <limits.h> exists even on freestanding compilers. */
37752 # include <limits.h>
37754 # include <assert.h>
37759 /* Override any GCC internal prototype to avoid an error.
37760 Use char because int might match the return type of a GCC
37761 builtin and then its argument prototype would still apply. */
37766 /* The GNU C library defines this for functions which it implements
37767 to always fail with ENOSYS. Some functions are actually named
37768 something starting with __ and the normal name is an alias. */
37769 #if defined __stub_$ac_func || defined __stub___$ac_func
37776 return $ac_func ();
37781 rm -f conftest.
$ac_objext conftest
$ac_exeext
37782 if { (ac_try
="$ac_link"
37783 case "(($ac_try" in
37784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37785 *) ac_try_echo=$ac_try;;
37787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37788 (eval "$ac_link") 2>conftest.er1
37790 grep -v '^ *+' conftest.er1 >conftest.err
37792 cat conftest.err >&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } && {
37795 test -z "$ac_c_werror_flag" ||
37796 test ! -s conftest.err
37797 } && test -s conftest$ac_exeext &&
37798 $as_test_x conftest$ac_exeext; then
37799 eval "$as_ac_var=yes"
37801 echo "$as_me: failed program was:" >&5
37802 sed 's/^/| /' conftest.$ac_ext >&5
37804 eval "$as_ac_var=no"
37807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37808 conftest$ac_exeext conftest.$ac_ext
37810 ac_res=`eval echo '${'$as_ac_var'}'`
37811 { echo "$as_me:$LINENO: result: $ac_res" >&5
37812 echo "${ECHO_T}$ac_res" >&6; }
37813 if test `eval echo '${'$as_ac_var'}'` = yes; then
37814 cat >>confdefs.h <<_ACEOF
37815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37817 cat >>confdefs.h <<\_ACEOF
37818 #define HAVE_INET_ATON 1
37823 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37824 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37825 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37826 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37827 echo $ECHO_N "(cached) $ECHO_C" >&6
37829 ac_check_lib_save_LIBS=$LIBS
37830 LIBS="-l$INET_LINK $LIBS"
37831 cat >conftest.$ac_ext <<_ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37838 /* Override any GCC internal prototype to avoid an error.
37839 Use char because int might match the return type of a GCC
37840 builtin and then its argument prototype would still apply. */
37848 return inet_aton ();
37853 rm -f conftest.$ac_objext conftest$ac_exeext
37854 if { (ac_try="$ac_link"
37855 case "(($ac_try" in
37856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37857 *) ac_try_echo
=$ac_try;;
37859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37860 (eval "$ac_link") 2>conftest.er1
37862 grep -v '^ *+' conftest.er1
>conftest.err
37864 cat conftest.err
>&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } && {
37867 test -z "$ac_c_werror_flag" ||
37868 test ! -s conftest.err
37869 } && test -s conftest
$ac_exeext &&
37870 $as_test_x conftest
$ac_exeext; then
37871 eval "$as_ac_Lib=yes"
37873 echo "$as_me: failed program was:" >&5
37874 sed 's/^/| /' conftest.
$ac_ext >&5
37876 eval "$as_ac_Lib=no"
37879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37880 conftest
$ac_exeext conftest.
$ac_ext
37881 LIBS
=$ac_check_lib_save_LIBS
37883 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37884 { echo "$as_me:$LINENO: result: $ac_res" >&5
37885 echo "${ECHO_T}$ac_res" >&6; }
37886 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37887 cat >>confdefs.h
<<\_ACEOF
37888 #define HAVE_INET_ATON 1
37898 if test "x$INET_LINK" != "x"; then
37899 cat >>confdefs.h
<<\_ACEOF
37900 #define HAVE_INET_ADDR 1
37903 INET_LINK
=" -l$INET_LINK"
37907 for wx_func
in fdopen
37909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37911 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37912 echo $ECHO_N "(cached) $ECHO_C" >&6
37915 cat >conftest.
$ac_ext <<_ACEOF
37919 cat confdefs.h
>>conftest.
$ac_ext
37920 cat >>conftest.
$ac_ext <<_ACEOF
37921 /* end confdefs.h. */
37924 $ac_includes_default
37940 rm -f conftest.
$ac_objext conftest
$ac_exeext
37941 if { (ac_try
="$ac_link"
37942 case "(($ac_try" in
37943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_link") 2>conftest.er1
37949 grep -v '^ *+' conftest.er1 >conftest.err
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest$ac_exeext &&
37957 $as_test_x conftest$ac_exeext; then
37958 eval wx_cv_func_$wx_func=yes
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37963 eval wx_cv_func_$wx_func=no
37966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37967 conftest$ac_exeext conftest.$ac_ext
37970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37971 { echo "$as_me:$LINENO: result: $ac_res" >&5
37972 echo "${ECHO_T}$ac_res" >&6; }
37974 if eval test \$wx_cv_func_$wx_func = yes
37976 cat >>confdefs.h <<_ACEOF
37977 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37988 if test "$wxUSE_TARSTREAM" = "yes"; then
37990 for wx_func in sysconf
37992 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37993 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37994 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37995 echo $ECHO_N "(cached) $ECHO_C" >&6
37998 cat >conftest.$ac_ext <<_ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h. */
38007 $ac_includes_default
38023 rm -f conftest.$ac_objext conftest$ac_exeext
38024 if { (ac_try="$ac_link"
38025 case "(($ac_try" in
38026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38027 *) ac_try_echo
=$ac_try;;
38029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38030 (eval "$ac_link") 2>conftest.er1
38032 grep -v '^ *+' conftest.er1
>conftest.err
38034 cat conftest.err
>&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } && {
38037 test -z "$ac_c_werror_flag" ||
38038 test ! -s conftest.err
38039 } && test -s conftest
$ac_exeext &&
38040 $as_test_x conftest
$ac_exeext; then
38041 eval wx_cv_func_
$wx_func=yes
38043 echo "$as_me: failed program was:" >&5
38044 sed 's/^/| /' conftest.
$ac_ext >&5
38046 eval wx_cv_func_
$wx_func=no
38049 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38050 conftest
$ac_exeext conftest.
$ac_ext
38053 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38054 { echo "$as_me:$LINENO: result: $ac_res" >&5
38055 echo "${ECHO_T}$ac_res" >&6; }
38057 if eval test \
$wx_cv_func_$wx_func = yes
38059 cat >>confdefs.h
<<_ACEOF
38060 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38072 for wx_func
in getpwuid_r
38074 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38075 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38076 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38077 echo $ECHO_N "(cached) $ECHO_C" >&6
38080 cat >conftest.
$ac_ext <<_ACEOF
38084 cat confdefs.h
>>conftest.
$ac_ext
38085 cat >>conftest.
$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38092 $ac_includes_default
38102 struct passwd pw, *ppw;
38104 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38112 rm -f conftest.
$ac_objext conftest
$ac_exeext
38113 if { (ac_try
="$ac_link"
38114 case "(($ac_try" in
38115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38116 *) ac_try_echo=$ac_try;;
38118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38119 (eval "$ac_link") 2>conftest.er1
38121 grep -v '^ *+' conftest.er1 >conftest.err
38123 cat conftest.err >&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); } && {
38126 test -z "$ac_c_werror_flag" ||
38127 test ! -s conftest.err
38128 } && test -s conftest$ac_exeext &&
38129 $as_test_x conftest$ac_exeext; then
38130 eval wx_cv_func_$wx_func=yes
38132 echo "$as_me: failed program was:" >&5
38133 sed 's/^/| /' conftest.$ac_ext >&5
38135 eval wx_cv_func_$wx_func=no
38138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38139 conftest$ac_exeext conftest.$ac_ext
38142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38143 { echo "$as_me:$LINENO: result: $ac_res" >&5
38144 echo "${ECHO_T}$ac_res" >&6; }
38146 if eval test \$wx_cv_func_$wx_func = yes
38148 cat >>confdefs.h <<_ACEOF
38149 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38161 for wx_func in getgrgid_r
38163 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38164 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38165 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38166 echo $ECHO_N "(cached) $ECHO_C" >&6
38169 cat >conftest.$ac_ext <<_ACEOF
38173 cat confdefs.h >>conftest.$ac_ext
38174 cat >>conftest.$ac_ext <<_ACEOF
38175 /* end confdefs.h. */
38181 $ac_includes_default
38191 struct group grp, *pgrp;
38193 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38201 rm -f conftest.$ac_objext conftest$ac_exeext
38202 if { (ac_try="$ac_link"
38203 case "(($ac_try" in
38204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38205 *) ac_try_echo
=$ac_try;;
38207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38208 (eval "$ac_link") 2>conftest.er1
38210 grep -v '^ *+' conftest.er1
>conftest.err
38212 cat conftest.err
>&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); } && {
38215 test -z "$ac_c_werror_flag" ||
38216 test ! -s conftest.err
38217 } && test -s conftest
$ac_exeext &&
38218 $as_test_x conftest
$ac_exeext; then
38219 eval wx_cv_func_
$wx_func=yes
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.
$ac_ext >&5
38224 eval wx_cv_func_
$wx_func=no
38227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38228 conftest
$ac_exeext conftest.
$ac_ext
38231 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38232 { echo "$as_me:$LINENO: result: $ac_res" >&5
38233 echo "${ECHO_T}$ac_res" >&6; }
38235 if eval test \
$wx_cv_func_$wx_func = yes
38237 cat >>confdefs.h
<<_ACEOF
38238 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38254 cat >confcache
<<\_ACEOF
38255 # This file is a shell script that caches the results of configure
38256 # tests run on this system so they can be shared between configure
38257 # scripts and configure runs, see configure's option --config-cache.
38258 # It is not useful on other systems. If it contains results you don't
38259 # want to keep, you may remove or edit it.
38261 # config.status only pays attention to the cache file if you give it
38262 # the --recheck option to rerun configure.
38264 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38265 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38266 # following values.
38270 # The following way of writing the cache mishandles newlines in values,
38271 # but we know of no workaround that is simple, portable, and efficient.
38272 # So, we kill variables containing newlines.
38273 # Ultrix sh set writes to stderr and can't be redirected directly,
38274 # and sets the high bit in the cache file unless we assign to the vars.
38276 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38277 eval ac_val
=\$
$ac_var
38281 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38282 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38285 _
| IFS
| as_nl
) ;; #(
38286 *) $as_unset $ac_var ;;
38292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38293 *${as_nl}ac_space
=\
*)
38294 # `set' does not quote correctly, so add quotes (double-quote
38295 # substitution turns \\\\ into \\, and sed turns \\ into \).
38298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38301 # `set' quotes correctly as required by POSIX, so do not add quotes.
38302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38315 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38316 if test -w "$cache_file"; then
38317 test "x$cache_file" != "x/dev/null" &&
38318 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38319 echo "$as_me: updating cache $cache_file" >&6;}
38320 cat confcache
>$cache_file
38322 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38323 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38329 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38335 if test "$wxUSE_THREADS" = "yes" ; then
38336 if test "$USE_BEOS" = 1; then
38337 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38338 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38343 if test "$wxUSE_THREADS" = "yes" ; then
38346 THREAD_OPTS
="-pthread"
38347 if test "x$SUNCXX" = xyes
; then
38348 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38352 *-*-solaris2* | *-*-sunos4* )
38353 if test "x$GCC" = "xyes"; then
38354 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38358 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38360 *-*-darwin* | *-*-cygwin* )
38364 THREAD_OPTS
="pthreads"
38367 if test "x$GCC" = "xyes"; then
38368 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38376 if test "x$GCC" = "xyes"; then
38382 if test "x$GCC" != "xyes"; then
38383 THREAD_OPTS
="-Ethread"
38388 THREAD_OPTS
="$THREAD_OPTS pthread none"
38391 for flag
in $THREAD_OPTS; do
38394 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38395 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38399 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38400 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38401 THREADS_CFLAGS
="$flag"
38405 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38406 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38407 THREADS_LINK
="-l$flag"
38412 save_CFLAGS
="$CFLAGS"
38413 LIBS
="$THREADS_LINK $LIBS"
38414 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38416 cat >conftest.
$ac_ext <<_ACEOF
38419 cat confdefs.h
>>conftest.
$ac_ext
38420 cat >>conftest.
$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38422 #include <pthread.h>
38426 pthread_create(0,0,0,0);
38431 rm -f conftest.
$ac_objext conftest
$ac_exeext
38432 if { (ac_try
="$ac_link"
38433 case "(($ac_try" in
38434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38435 *) ac_try_echo=$ac_try;;
38437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38438 (eval "$ac_link") 2>conftest.er1
38440 grep -v '^ *+' conftest.er1 >conftest.err
38442 cat conftest.err >&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); } && {
38445 test -z "$ac_c_werror_flag" ||
38446 test ! -s conftest.err
38447 } && test -s conftest$ac_exeext &&
38448 $as_test_x conftest$ac_exeext; then
38451 echo "$as_me: failed program was:" >&5
38452 sed 's/^/| /' conftest.$ac_ext >&5
38457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38458 conftest$ac_exeext conftest.$ac_ext
38461 CFLAGS="$save_CFLAGS"
38463 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38464 echo "${ECHO_T}$THREADS_OK" >&6; }
38465 if test "x$THREADS_OK" = "xyes"; then
38473 if test "x$THREADS_OK" != "xyes"; then
38475 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38476 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38478 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38479 LIBS="$THREADS_LINK $LIBS"
38481 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38482 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38486 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38487 flag="-D_THREAD_SAFE"
38490 flag="-D_THREAD_SAFE"
38493 flag="-D_REENTRANT"
38494 if test "x$GCC" != "xyes"; then
38495 flag="$flag -D_RWSTD_MULTI_THREAD"
38498 *solaris* | alpha*-osf*)
38499 flag="-D_REENTRANT"
38502 { echo "$as_me:$LINENO: result: ${flag}" >&5
38503 echo "${ECHO_T}${flag}" >&6; }
38504 if test "x$flag" != xno; then
38505 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38508 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38512 if test "$wxUSE_THREADS" = "yes" ; then
38514 for ac_func in thr_setconcurrency
38516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38517 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38519 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38522 cat >conftest.$ac_ext <<_ACEOF
38525 cat confdefs.h >>conftest.$ac_ext
38526 cat >>conftest.$ac_ext <<_ACEOF
38527 /* end confdefs.h. */
38528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38530 #define $ac_func innocuous_$ac_func
38532 /* System header to define __stub macros and hopefully few prototypes,
38533 which can conflict with char $ac_func (); below.
38534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38535 <limits.h> exists even on freestanding compilers. */
38538 # include <limits.h>
38540 # include <assert.h>
38545 /* Override any GCC internal prototype to avoid an error.
38546 Use char because int might match the return type of a GCC
38547 builtin and then its argument prototype would still apply. */
38552 /* The GNU C library defines this for functions which it implements
38553 to always fail with ENOSYS. Some functions are actually named
38554 something starting with __ and the normal name is an alias. */
38555 #if defined __stub_$ac_func || defined __stub___$ac_func
38562 return $ac_func ();
38567 rm -f conftest.$ac_objext conftest$ac_exeext
38568 if { (ac_try="$ac_link"
38569 case "(($ac_try" in
38570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38571 *) ac_try_echo
=$ac_try;;
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_link") 2>conftest.er1
38576 grep -v '^ *+' conftest.er1
>conftest.err
38578 cat conftest.err
>&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_c_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest
$ac_exeext &&
38584 $as_test_x conftest
$ac_exeext; then
38585 eval "$as_ac_var=yes"
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.
$ac_ext >&5
38590 eval "$as_ac_var=no"
38593 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38594 conftest
$ac_exeext conftest.
$ac_ext
38596 ac_res
=`eval echo '${'$as_ac_var'}'`
38597 { echo "$as_me:$LINENO: result: $ac_res" >&5
38598 echo "${ECHO_T}$ac_res" >&6; }
38599 if test `eval echo '${'$as_ac_var'}'` = yes; then
38600 cat >>confdefs.h
<<_ACEOF
38601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38608 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38609 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38610 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38611 echo $ECHO_N "(cached) $ECHO_C" >&6
38615 ac_cpp
='$CXXCPP $CPPFLAGS'
38616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38620 cat >conftest.
$ac_ext <<_ACEOF
38623 cat confdefs.h
>>conftest.
$ac_ext
38624 cat >>conftest.
$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626 #include <pthread.h>
38627 void ThreadCleanupFunc(void *p);
38634 pthread_cleanup_push(ThreadCleanupFunc, p);
38635 pthread_cleanup_pop(0);
38641 rm -f conftest.
$ac_objext
38642 if { (ac_try
="$ac_compile"
38643 case "(($ac_try" in
38644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38645 *) ac_try_echo=$ac_try;;
38647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38648 (eval "$ac_compile") 2>conftest.er1
38650 grep -v '^ *+' conftest.er1 >conftest.err
38652 cat conftest.err >&5
38653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654 (exit $ac_status); } && {
38655 test -z "$ac_cxx_werror_flag" ||
38656 test ! -s conftest.err
38657 } && test -s conftest.$ac_objext; then
38659 wx_cv_func_pthread_cleanup=yes
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.$ac_ext >&5
38666 wx_cv_func_pthread_cleanup=no
38671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38673 ac_cpp='$CPP $CPPFLAGS'
38674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38680 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38681 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38682 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38683 cat >>confdefs.h <<\_ACEOF
38684 #define wxHAVE_PTHREAD_CLEANUP 1
38690 for ac_header in sched.h
38692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38696 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 cat >conftest.$ac_ext <<_ACEOF
38701 cat confdefs.h >>conftest.$ac_ext
38702 cat >>conftest.$ac_ext <<_ACEOF
38703 /* end confdefs.h. */
38704 $ac_includes_default
38706 #include <$ac_header>
38708 rm -f conftest.$ac_objext
38709 if { (ac_try="$ac_compile"
38710 case "(($ac_try" in
38711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38712 *) ac_try_echo
=$ac_try;;
38714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38715 (eval "$ac_compile") 2>conftest.er1
38717 grep -v '^ *+' conftest.er1
>conftest.err
38719 cat conftest.err
>&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } && {
38722 test -z "$ac_c_werror_flag" ||
38723 test ! -s conftest.err
38724 } && test -s conftest.
$ac_objext; then
38725 eval "$as_ac_Header=yes"
38727 echo "$as_me: failed program was:" >&5
38728 sed 's/^/| /' conftest.
$ac_ext >&5
38730 eval "$as_ac_Header=no"
38733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38735 ac_res
=`eval echo '${'$as_ac_Header'}'`
38736 { echo "$as_me:$LINENO: result: $ac_res" >&5
38737 echo "${ECHO_T}$ac_res" >&6; }
38738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38739 cat >>confdefs.h
<<_ACEOF
38740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38747 if test "$ac_cv_header_sched_h" = "yes"; then
38748 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38749 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38750 if test "${ac_cv_func_sched_yield+set}" = set; then
38751 echo $ECHO_N "(cached) $ECHO_C" >&6
38753 cat >conftest.
$ac_ext <<_ACEOF
38756 cat confdefs.h
>>conftest.
$ac_ext
38757 cat >>conftest.
$ac_ext <<_ACEOF
38758 /* end confdefs.h. */
38759 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38761 #define sched_yield innocuous_sched_yield
38763 /* System header to define __stub macros and hopefully few prototypes,
38764 which can conflict with char sched_yield (); below.
38765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38766 <limits.h> exists even on freestanding compilers. */
38769 # include <limits.h>
38771 # include <assert.h>
38776 /* Override any GCC internal prototype to avoid an error.
38777 Use char because int might match the return type of a GCC
38778 builtin and then its argument prototype would still apply. */
38782 char sched_yield ();
38783 /* The GNU C library defines this for functions which it implements
38784 to always fail with ENOSYS. Some functions are actually named
38785 something starting with __ and the normal name is an alias. */
38786 #if defined __stub_sched_yield || defined __stub___sched_yield
38793 return sched_yield ();
38798 rm -f conftest.
$ac_objext conftest
$ac_exeext
38799 if { (ac_try
="$ac_link"
38800 case "(($ac_try" in
38801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38802 *) ac_try_echo=$ac_try;;
38804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38805 (eval "$ac_link") 2>conftest.er1
38807 grep -v '^ *+' conftest.er1 >conftest.err
38809 cat conftest.err >&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } && {
38812 test -z "$ac_c_werror_flag" ||
38813 test ! -s conftest.err
38814 } && test -s conftest$ac_exeext &&
38815 $as_test_x conftest$ac_exeext; then
38816 ac_cv_func_sched_yield=yes
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.$ac_ext >&5
38821 ac_cv_func_sched_yield=no
38824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38825 conftest$ac_exeext conftest.$ac_ext
38827 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38828 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38829 if test $ac_cv_func_sched_yield = yes; then
38830 cat >>confdefs.h <<\_ACEOF
38831 #define HAVE_SCHED_YIELD 1
38836 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38837 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38838 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38839 echo $ECHO_N "(cached) $ECHO_C" >&6
38841 ac_check_lib_save_LIBS=$LIBS
38842 LIBS="-lposix4 $LIBS"
38843 cat >conftest.$ac_ext <<_ACEOF
38846 cat confdefs.h >>conftest.$ac_ext
38847 cat >>conftest.$ac_ext <<_ACEOF
38848 /* end confdefs.h. */
38850 /* Override any GCC internal prototype to avoid an error.
38851 Use char because int might match the return type of a GCC
38852 builtin and then its argument prototype would still apply. */
38856 char sched_yield ();
38860 return sched_yield ();
38865 rm -f conftest.$ac_objext conftest$ac_exeext
38866 if { (ac_try="$ac_link"
38867 case "(($ac_try" in
38868 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38869 *) ac_try_echo
=$ac_try;;
38871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38872 (eval "$ac_link") 2>conftest.er1
38874 grep -v '^ *+' conftest.er1
>conftest.err
38876 cat conftest.err
>&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } && {
38879 test -z "$ac_c_werror_flag" ||
38880 test ! -s conftest.err
38881 } && test -s conftest
$ac_exeext &&
38882 $as_test_x conftest
$ac_exeext; then
38883 ac_cv_lib_posix4_sched_yield
=yes
38885 echo "$as_me: failed program was:" >&5
38886 sed 's/^/| /' conftest.
$ac_ext >&5
38888 ac_cv_lib_posix4_sched_yield
=no
38891 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38892 conftest
$ac_exeext conftest.
$ac_ext
38893 LIBS
=$ac_check_lib_save_LIBS
38895 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38896 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38897 if test $ac_cv_lib_posix4_sched_yield = yes; then
38898 cat >>confdefs.h
<<\_ACEOF
38899 #define HAVE_SCHED_YIELD 1
38901 POSIX4_LINK
=" -lposix4"
38903 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38904 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38915 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38916 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38917 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38920 cat >conftest.
$ac_ext <<_ACEOF
38923 cat confdefs.h
>>conftest.
$ac_ext
38924 cat >>conftest.
$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38928 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38930 /* System header to define __stub macros and hopefully few prototypes,
38931 which can conflict with char pthread_attr_getschedpolicy (); below.
38932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38933 <limits.h> exists even on freestanding compilers. */
38936 # include <limits.h>
38938 # include <assert.h>
38941 #undef pthread_attr_getschedpolicy
38943 /* Override any GCC internal prototype to avoid an error.
38944 Use char because int might match the return type of a GCC
38945 builtin and then its argument prototype would still apply. */
38949 char pthread_attr_getschedpolicy ();
38950 /* The GNU C library defines this for functions which it implements
38951 to always fail with ENOSYS. Some functions are actually named
38952 something starting with __ and the normal name is an alias. */
38953 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38960 return pthread_attr_getschedpolicy ();
38965 rm -f conftest.
$ac_objext conftest
$ac_exeext
38966 if { (ac_try
="$ac_link"
38967 case "(($ac_try" in
38968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38969 *) ac_try_echo=$ac_try;;
38971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38972 (eval "$ac_link") 2>conftest.er1
38974 grep -v '^ *+' conftest.er1 >conftest.err
38976 cat conftest.err >&5
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); } && {
38979 test -z "$ac_c_werror_flag" ||
38980 test ! -s conftest.err
38981 } && test -s conftest$ac_exeext &&
38982 $as_test_x conftest$ac_exeext; then
38983 ac_cv_func_pthread_attr_getschedpolicy=yes
38985 echo "$as_me: failed program was:" >&5
38986 sed 's/^/| /' conftest.$ac_ext >&5
38988 ac_cv_func_pthread_attr_getschedpolicy=no
38991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38992 conftest$ac_exeext conftest.$ac_ext
38994 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38995 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38996 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38997 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38998 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38999 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39000 echo $ECHO_N "(cached) $ECHO_C" >&6
39002 cat >conftest.$ac_ext <<_ACEOF
39005 cat confdefs.h >>conftest.$ac_ext
39006 cat >>conftest.$ac_ext <<_ACEOF
39007 /* end confdefs.h. */
39008 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39010 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39012 /* System header to define __stub macros and hopefully few prototypes,
39013 which can conflict with char pthread_attr_setschedparam (); below.
39014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39015 <limits.h> exists even on freestanding compilers. */
39018 # include <limits.h>
39020 # include <assert.h>
39023 #undef pthread_attr_setschedparam
39025 /* Override any GCC internal prototype to avoid an error.
39026 Use char because int might match the return type of a GCC
39027 builtin and then its argument prototype would still apply. */
39031 char pthread_attr_setschedparam ();
39032 /* The GNU C library defines this for functions which it implements
39033 to always fail with ENOSYS. Some functions are actually named
39034 something starting with __ and the normal name is an alias. */
39035 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39042 return pthread_attr_setschedparam ();
39047 rm -f conftest.$ac_objext conftest$ac_exeext
39048 if { (ac_try="$ac_link"
39049 case "(($ac_try" in
39050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39051 *) ac_try_echo
=$ac_try;;
39053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39054 (eval "$ac_link") 2>conftest.er1
39056 grep -v '^ *+' conftest.er1
>conftest.err
39058 cat conftest.err
>&5
39059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39060 (exit $ac_status); } && {
39061 test -z "$ac_c_werror_flag" ||
39062 test ! -s conftest.err
39063 } && test -s conftest
$ac_exeext &&
39064 $as_test_x conftest
$ac_exeext; then
39065 ac_cv_func_pthread_attr_setschedparam
=yes
39067 echo "$as_me: failed program was:" >&5
39068 sed 's/^/| /' conftest.
$ac_ext >&5
39070 ac_cv_func_pthread_attr_setschedparam
=no
39073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39074 conftest
$ac_exeext conftest.
$ac_ext
39076 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39077 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39078 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39079 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39080 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39081 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39082 echo $ECHO_N "(cached) $ECHO_C" >&6
39084 cat >conftest.
$ac_ext <<_ACEOF
39087 cat confdefs.h
>>conftest.
$ac_ext
39088 cat >>conftest.
$ac_ext <<_ACEOF
39089 /* end confdefs.h. */
39090 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39092 #define sched_get_priority_max innocuous_sched_get_priority_max
39094 /* System header to define __stub macros and hopefully few prototypes,
39095 which can conflict with char sched_get_priority_max (); below.
39096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39097 <limits.h> exists even on freestanding compilers. */
39100 # include <limits.h>
39102 # include <assert.h>
39105 #undef sched_get_priority_max
39107 /* Override any GCC internal prototype to avoid an error.
39108 Use char because int might match the return type of a GCC
39109 builtin and then its argument prototype would still apply. */
39113 char sched_get_priority_max ();
39114 /* The GNU C library defines this for functions which it implements
39115 to always fail with ENOSYS. Some functions are actually named
39116 something starting with __ and the normal name is an alias. */
39117 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39124 return sched_get_priority_max ();
39129 rm -f conftest.
$ac_objext conftest
$ac_exeext
39130 if { (ac_try
="$ac_link"
39131 case "(($ac_try" in
39132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39133 *) ac_try_echo=$ac_try;;
39135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39136 (eval "$ac_link") 2>conftest.er1
39138 grep -v '^ *+' conftest.er1 >conftest.err
39140 cat conftest.err >&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } && {
39143 test -z "$ac_c_werror_flag" ||
39144 test ! -s conftest.err
39145 } && test -s conftest$ac_exeext &&
39146 $as_test_x conftest$ac_exeext; then
39147 ac_cv_func_sched_get_priority_max=yes
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39152 ac_cv_func_sched_get_priority_max=no
39155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39156 conftest$ac_exeext conftest.$ac_ext
39158 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39159 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39160 if test $ac_cv_func_sched_get_priority_max = yes; then
39163 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39164 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39165 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 ac_check_lib_save_LIBS=$LIBS
39169 LIBS="-lposix4 $LIBS"
39170 cat >conftest.$ac_ext <<_ACEOF
39173 cat confdefs.h >>conftest.$ac_ext
39174 cat >>conftest.$ac_ext <<_ACEOF
39175 /* end confdefs.h. */
39177 /* Override any GCC internal prototype to avoid an error.
39178 Use char because int might match the return type of a GCC
39179 builtin and then its argument prototype would still apply. */
39183 char sched_get_priority_max ();
39187 return sched_get_priority_max ();
39192 rm -f conftest.$ac_objext conftest$ac_exeext
39193 if { (ac_try="$ac_link"
39194 case "(($ac_try" in
39195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39196 *) ac_try_echo
=$ac_try;;
39198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39199 (eval "$ac_link") 2>conftest.er1
39201 grep -v '^ *+' conftest.er1
>conftest.err
39203 cat conftest.err
>&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); } && {
39206 test -z "$ac_c_werror_flag" ||
39207 test ! -s conftest.err
39208 } && test -s conftest
$ac_exeext &&
39209 $as_test_x conftest
$ac_exeext; then
39210 ac_cv_lib_posix4_sched_get_priority_max
=yes
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.
$ac_ext >&5
39215 ac_cv_lib_posix4_sched_get_priority_max
=no
39218 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39219 conftest
$ac_exeext conftest.
$ac_ext
39220 LIBS
=$ac_check_lib_save_LIBS
39222 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39223 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39224 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39227 POSIX4_LINK
=" -lposix4"
39241 if test "$HAVE_PRIOR_FUNCS" = 1; then
39242 cat >>confdefs.h
<<\_ACEOF
39243 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39247 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39248 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39251 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39252 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39253 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39254 echo $ECHO_N "(cached) $ECHO_C" >&6
39256 cat >conftest.
$ac_ext <<_ACEOF
39259 cat confdefs.h
>>conftest.
$ac_ext
39260 cat >>conftest.
$ac_ext <<_ACEOF
39261 /* end confdefs.h. */
39262 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39264 #define pthread_cancel innocuous_pthread_cancel
39266 /* System header to define __stub macros and hopefully few prototypes,
39267 which can conflict with char pthread_cancel (); below.
39268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39269 <limits.h> exists even on freestanding compilers. */
39272 # include <limits.h>
39274 # include <assert.h>
39277 #undef pthread_cancel
39279 /* Override any GCC internal prototype to avoid an error.
39280 Use char because int might match the return type of a GCC
39281 builtin and then its argument prototype would still apply. */
39285 char pthread_cancel ();
39286 /* The GNU C library defines this for functions which it implements
39287 to always fail with ENOSYS. Some functions are actually named
39288 something starting with __ and the normal name is an alias. */
39289 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39296 return pthread_cancel ();
39301 rm -f conftest.
$ac_objext conftest
$ac_exeext
39302 if { (ac_try
="$ac_link"
39303 case "(($ac_try" in
39304 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39305 *) ac_try_echo=$ac_try;;
39307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39308 (eval "$ac_link") 2>conftest.er1
39310 grep -v '^ *+' conftest.er1 >conftest.err
39312 cat conftest.err >&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } && {
39315 test -z "$ac_c_werror_flag" ||
39316 test ! -s conftest.err
39317 } && test -s conftest$ac_exeext &&
39318 $as_test_x conftest$ac_exeext; then
39319 ac_cv_func_pthread_cancel=yes
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39324 ac_cv_func_pthread_cancel=no
39327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39328 conftest$ac_exeext conftest.$ac_ext
39330 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39331 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39332 if test $ac_cv_func_pthread_cancel = yes; then
39333 cat >>confdefs.h <<\_ACEOF
39334 #define HAVE_PTHREAD_CANCEL 1
39338 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39339 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39343 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39344 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39345 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39346 echo $ECHO_N "(cached) $ECHO_C" >&6
39348 cat >conftest.$ac_ext <<_ACEOF
39351 cat confdefs.h >>conftest.$ac_ext
39352 cat >>conftest.$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39354 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39356 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39358 /* System header to define __stub macros and hopefully few prototypes,
39359 which can conflict with char pthread_mutex_timedlock (); below.
39360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39361 <limits.h> exists even on freestanding compilers. */
39364 # include <limits.h>
39366 # include <assert.h>
39369 #undef pthread_mutex_timedlock
39371 /* Override any GCC internal prototype to avoid an error.
39372 Use char because int might match the return type of a GCC
39373 builtin and then its argument prototype would still apply. */
39377 char pthread_mutex_timedlock ();
39378 /* The GNU C library defines this for functions which it implements
39379 to always fail with ENOSYS. Some functions are actually named
39380 something starting with __ and the normal name is an alias. */
39381 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39388 return pthread_mutex_timedlock ();
39393 rm -f conftest.$ac_objext conftest$ac_exeext
39394 if { (ac_try="$ac_link"
39395 case "(($ac_try" in
39396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39397 *) ac_try_echo
=$ac_try;;
39399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39400 (eval "$ac_link") 2>conftest.er1
39402 grep -v '^ *+' conftest.er1
>conftest.err
39404 cat conftest.err
>&5
39405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406 (exit $ac_status); } && {
39407 test -z "$ac_c_werror_flag" ||
39408 test ! -s conftest.err
39409 } && test -s conftest
$ac_exeext &&
39410 $as_test_x conftest
$ac_exeext; then
39411 ac_cv_func_pthread_mutex_timedlock
=yes
39413 echo "$as_me: failed program was:" >&5
39414 sed 's/^/| /' conftest.
$ac_ext >&5
39416 ac_cv_func_pthread_mutex_timedlock
=no
39419 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39420 conftest
$ac_exeext conftest.
$ac_ext
39422 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39423 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39424 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39425 cat >>confdefs.h
<<\_ACEOF
39426 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39430 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39431 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39435 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39436 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39437 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39438 echo $ECHO_N "(cached) $ECHO_C" >&6
39440 cat >conftest.
$ac_ext <<_ACEOF
39443 cat confdefs.h
>>conftest.
$ac_ext
39444 cat >>conftest.
$ac_ext <<_ACEOF
39445 /* end confdefs.h. */
39446 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39448 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39450 /* System header to define __stub macros and hopefully few prototypes,
39451 which can conflict with char pthread_attr_setstacksize (); below.
39452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39453 <limits.h> exists even on freestanding compilers. */
39456 # include <limits.h>
39458 # include <assert.h>
39461 #undef pthread_attr_setstacksize
39463 /* Override any GCC internal prototype to avoid an error.
39464 Use char because int might match the return type of a GCC
39465 builtin and then its argument prototype would still apply. */
39469 char pthread_attr_setstacksize ();
39470 /* The GNU C library defines this for functions which it implements
39471 to always fail with ENOSYS. Some functions are actually named
39472 something starting with __ and the normal name is an alias. */
39473 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39480 return pthread_attr_setstacksize ();
39485 rm -f conftest.
$ac_objext conftest
$ac_exeext
39486 if { (ac_try
="$ac_link"
39487 case "(($ac_try" in
39488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39489 *) ac_try_echo=$ac_try;;
39491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39492 (eval "$ac_link") 2>conftest.er1
39494 grep -v '^ *+' conftest.er1 >conftest.err
39496 cat conftest.err >&5
39497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39498 (exit $ac_status); } && {
39499 test -z "$ac_c_werror_flag" ||
39500 test ! -s conftest.err
39501 } && test -s conftest$ac_exeext &&
39502 $as_test_x conftest$ac_exeext; then
39503 ac_cv_func_pthread_attr_setstacksize=yes
39505 echo "$as_me: failed program was:" >&5
39506 sed 's/^/| /' conftest.$ac_ext >&5
39508 ac_cv_func_pthread_attr_setstacksize=no
39511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39512 conftest$ac_exeext conftest.$ac_ext
39514 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39515 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39516 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39517 cat >>confdefs.h <<\_ACEOF
39518 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39525 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39526 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39527 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39531 cat >conftest.$ac_ext <<_ACEOF
39534 cat confdefs.h >>conftest.$ac_ext
39535 cat >>conftest.$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39537 #include <pthread.h>
39542 pthread_mutexattr_t attr;
39543 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39549 rm -f conftest.$ac_objext
39550 if { (ac_try="$ac_compile"
39551 case "(($ac_try" in
39552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39553 *) ac_try_echo
=$ac_try;;
39555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39556 (eval "$ac_compile") 2>conftest.er1
39558 grep -v '^ *+' conftest.er1
>conftest.err
39560 cat conftest.err
>&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); } && {
39563 test -z "$ac_c_werror_flag" ||
39564 test ! -s conftest.err
39565 } && test -s conftest.
$ac_objext; then
39566 wx_cv_type_pthread_mutexattr_t
=yes
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.
$ac_ext >&5
39571 wx_cv_type_pthread_mutexattr_t
=no
39575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39578 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39579 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39581 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39582 cat >>confdefs.h
<<\_ACEOF
39583 #define HAVE_PTHREAD_MUTEXATTR_T 1
39587 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39588 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39589 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39590 echo $ECHO_N "(cached) $ECHO_C" >&6
39593 cat >conftest.
$ac_ext <<_ACEOF
39596 cat confdefs.h
>>conftest.
$ac_ext
39597 cat >>conftest.
$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39599 #include <pthread.h>
39604 pthread_mutexattr_t attr;
39605 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39611 rm -f conftest.
$ac_objext
39612 if { (ac_try
="$ac_compile"
39613 case "(($ac_try" in
39614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39615 *) ac_try_echo=$ac_try;;
39617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39618 (eval "$ac_compile") 2>conftest.er1
39620 grep -v '^ *+' conftest.er1 >conftest.err
39622 cat conftest.err >&5
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); } && {
39625 test -z "$ac_c_werror_flag" ||
39626 test ! -s conftest.err
39627 } && test -s conftest.$ac_objext; then
39628 wx_cv_func_pthread_mutexattr_settype_decl=yes
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39633 wx_cv_func_pthread_mutexattr_settype_decl=no
39637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39640 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39641 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39642 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39643 cat >>confdefs.h <<\_ACEOF
39644 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39649 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39650 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39651 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 cat >conftest.$ac_ext <<_ACEOF
39658 cat confdefs.h >>conftest.$ac_ext
39659 cat >>conftest.$ac_ext <<_ACEOF
39660 /* end confdefs.h. */
39661 #include <pthread.h>
39666 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39672 rm -f conftest.$ac_objext
39673 if { (ac_try="$ac_compile"
39674 case "(($ac_try" in
39675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39676 *) ac_try_echo
=$ac_try;;
39678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39679 (eval "$ac_compile") 2>conftest.er1
39681 grep -v '^ *+' conftest.er1
>conftest.err
39683 cat conftest.err
>&5
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); } && {
39686 test -z "$ac_c_werror_flag" ||
39687 test ! -s conftest.err
39688 } && test -s conftest.
$ac_objext; then
39690 wx_cv_type_pthread_rec_mutex_init
=yes
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.
$ac_ext >&5
39697 wx_cv_type_pthread_rec_mutex_init
=no
39702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39705 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39706 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39707 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39708 cat >>confdefs.h
<<\_ACEOF
39709 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39713 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39714 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39720 if test "$wxUSE_THREADS" = "yes" ; then
39723 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39724 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39725 if test "${wx_cv_cflags_mthread+set}" = set; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39729 CFLAGS_OLD
="$CFLAGS"
39730 CFLAGS
="-mthreads $CFLAGS"
39731 cat >conftest.
$ac_ext <<_ACEOF
39734 cat confdefs.h
>>conftest.
$ac_ext
39735 cat >>conftest.
$ac_ext <<_ACEOF
39736 /* end confdefs.h. */
39746 rm -f conftest.
$ac_objext
39747 if { (ac_try
="$ac_compile"
39748 case "(($ac_try" in
39749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39750 *) ac_try_echo=$ac_try;;
39752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39753 (eval "$ac_compile") 2>conftest.er1
39755 grep -v '^ *+' conftest.er1 >conftest.err
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } && {
39760 test -z "$ac_c_werror_flag" ||
39761 test ! -s conftest.err
39762 } && test -s conftest.$ac_objext; then
39763 wx_cv_cflags_mthread=yes
39765 echo "$as_me: failed program was:" >&5
39766 sed 's/^/| /' conftest.$ac_ext >&5
39768 wx_cv_cflags_mthread=no
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39776 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39777 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39779 if test "$wx_cv_cflags_mthread" = "yes"; then
39780 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39781 LDFLAGS="$LDFLAGS -mthreads"
39783 CFLAGS="$CFLAGS_OLD"
39787 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39788 LDFLAGS="$LDFLAGS -Zmt"
39794 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39795 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39796 if test "${ac_cv_func_localtime_r+set}" = set; then
39797 echo $ECHO_N "(cached) $ECHO_C" >&6
39799 cat >conftest.$ac_ext <<_ACEOF
39802 cat confdefs.h >>conftest.$ac_ext
39803 cat >>conftest.$ac_ext <<_ACEOF
39804 /* end confdefs.h. */
39805 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39807 #define localtime_r innocuous_localtime_r
39809 /* System header to define __stub macros and hopefully few prototypes,
39810 which can conflict with char localtime_r (); below.
39811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39812 <limits.h> exists even on freestanding compilers. */
39815 # include <limits.h>
39817 # include <assert.h>
39822 /* Override any GCC internal prototype to avoid an error.
39823 Use char because int might match the return type of a GCC
39824 builtin and then its argument prototype would still apply. */
39828 char localtime_r ();
39829 /* The GNU C library defines this for functions which it implements
39830 to always fail with ENOSYS. Some functions are actually named
39831 something starting with __ and the normal name is an alias. */
39832 #if defined __stub_localtime_r || defined __stub___localtime_r
39839 return localtime_r ();
39844 rm -f conftest.$ac_objext conftest$ac_exeext
39845 if { (ac_try="$ac_link"
39846 case "(($ac_try" in
39847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39848 *) ac_try_echo
=$ac_try;;
39850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39851 (eval "$ac_link") 2>conftest.er1
39853 grep -v '^ *+' conftest.er1
>conftest.err
39855 cat conftest.err
>&5
39856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857 (exit $ac_status); } && {
39858 test -z "$ac_c_werror_flag" ||
39859 test ! -s conftest.err
39860 } && test -s conftest
$ac_exeext &&
39861 $as_test_x conftest
$ac_exeext; then
39862 ac_cv_func_localtime_r
=yes
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.
$ac_ext >&5
39867 ac_cv_func_localtime_r
=no
39870 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39871 conftest
$ac_exeext conftest.
$ac_ext
39873 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39874 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39875 if test $ac_cv_func_localtime_r = yes; then
39876 cat >>confdefs.h
<<\_ACEOF
39877 #define HAVE_LOCALTIME_R 1
39882 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39883 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39884 if test "${ac_cv_func_gmtime_r+set}" = set; then
39885 echo $ECHO_N "(cached) $ECHO_C" >&6
39887 cat >conftest.
$ac_ext <<_ACEOF
39890 cat confdefs.h
>>conftest.
$ac_ext
39891 cat >>conftest.
$ac_ext <<_ACEOF
39892 /* end confdefs.h. */
39893 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39895 #define gmtime_r innocuous_gmtime_r
39897 /* System header to define __stub macros and hopefully few prototypes,
39898 which can conflict with char gmtime_r (); below.
39899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39900 <limits.h> exists even on freestanding compilers. */
39903 # include <limits.h>
39905 # include <assert.h>
39910 /* Override any GCC internal prototype to avoid an error.
39911 Use char because int might match the return type of a GCC
39912 builtin and then its argument prototype would still apply. */
39917 /* The GNU C library defines this for functions which it implements
39918 to always fail with ENOSYS. Some functions are actually named
39919 something starting with __ and the normal name is an alias. */
39920 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39927 return gmtime_r ();
39932 rm -f conftest.
$ac_objext conftest
$ac_exeext
39933 if { (ac_try
="$ac_link"
39934 case "(($ac_try" in
39935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39936 *) ac_try_echo=$ac_try;;
39938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39939 (eval "$ac_link") 2>conftest.er1
39941 grep -v '^ *+' conftest.er1 >conftest.err
39943 cat conftest.err >&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); } && {
39946 test -z "$ac_c_werror_flag" ||
39947 test ! -s conftest.err
39948 } && test -s conftest$ac_exeext &&
39949 $as_test_x conftest$ac_exeext; then
39950 ac_cv_func_gmtime_r=yes
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39955 ac_cv_func_gmtime_r=no
39958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39959 conftest$ac_exeext conftest.$ac_ext
39961 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39962 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39963 if test $ac_cv_func_gmtime_r = yes; then
39964 cat >>confdefs.h <<\_ACEOF
39965 #define HAVE_GMTIME_R 1
39974 ac_cpp='$CPP $CPPFLAGS'
39975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39979 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39980 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39982 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39983 echo $ECHO_N "(cached) $ECHO_C" >&6
39987 ################################################################
39989 ac_cv_func_which_gethostbyname_r=unknown
39992 # ONE ARGUMENT (sanity check)
39995 # This should fail, as there is no variant of gethostbyname_r() that takes
39996 # a single argument. If it actually compiles, then we can assume that
39997 # netdb.h is not declaring the function, and the compiler is thereby
39998 # assuming an implicit prototype. In which case, we're out of luck.
40000 cat >conftest.$ac_ext <<_ACEOF
40003 cat confdefs.h >>conftest.$ac_ext
40004 cat >>conftest.$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40011 char *name = "www.gnu.org";
40012 (void)gethostbyname_r(name) /* ; */
40018 rm -f conftest.$ac_objext
40019 if { (ac_try="$ac_compile"
40020 case "(($ac_try" in
40021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40022 *) ac_try_echo
=$ac_try;;
40024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40025 (eval "$ac_compile") 2>conftest.er1
40027 grep -v '^ *+' conftest.er1
>conftest.err
40029 cat conftest.err
>&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); } && {
40032 test -z "$ac_c_werror_flag" ||
40033 test ! -s conftest.err
40034 } && test -s conftest.
$ac_objext; then
40035 ac_cv_func_which_gethostbyname_r
=no
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.
$ac_ext >&5
40043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40050 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40052 cat >conftest.
$ac_ext <<_ACEOF
40055 cat confdefs.h
>>conftest.
$ac_ext
40056 cat >>conftest.
$ac_ext <<_ACEOF
40057 /* end confdefs.h. */
40063 char *name = "www.gnu.org";
40064 struct hostent ret, *retp;
40068 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40074 rm -f conftest.
$ac_objext
40075 if { (ac_try
="$ac_compile"
40076 case "(($ac_try" in
40077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40078 *) ac_try_echo=$ac_try;;
40080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40081 (eval "$ac_compile") 2>conftest.er1
40083 grep -v '^ *+' conftest.er1 >conftest.err
40085 cat conftest.err >&5
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); } && {
40088 test -z "$ac_c_werror_flag" ||
40089 test ! -s conftest.err
40090 } && test -s conftest.$ac_objext; then
40091 ac_cv_func_which_gethostbyname_r=six
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40108 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40110 cat >conftest.$ac_ext <<_ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40121 char *name = "www.gnu.org";
40122 struct hostent ret;
40126 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40132 rm -f conftest.$ac_objext
40133 if { (ac_try="$ac_compile"
40134 case "(($ac_try" in
40135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40136 *) ac_try_echo
=$ac_try;;
40138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40139 (eval "$ac_compile") 2>conftest.er1
40141 grep -v '^ *+' conftest.er1
>conftest.err
40143 cat conftest.err
>&5
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); } && {
40146 test -z "$ac_c_werror_flag" ||
40147 test ! -s conftest.err
40148 } && test -s conftest.
$ac_objext; then
40149 ac_cv_func_which_gethostbyname_r
=five
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.
$ac_ext >&5
40157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40163 # (e.g. AIX, HP-UX, Tru64)
40166 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40168 cat >conftest.
$ac_ext <<_ACEOF
40171 cat confdefs.h
>>conftest.
$ac_ext
40172 cat >>conftest.
$ac_ext <<_ACEOF
40173 /* end confdefs.h. */
40179 char *name = "www.gnu.org";
40180 struct hostent ret;
40181 struct hostent_data data;
40182 (void)gethostbyname_r(name, &ret, &data) /* ; */
40188 rm -f conftest.
$ac_objext
40189 if { (ac_try
="$ac_compile"
40190 case "(($ac_try" in
40191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40192 *) ac_try_echo=$ac_try;;
40194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40195 (eval "$ac_compile") 2>conftest.er1
40197 grep -v '^ *+' conftest.er1 >conftest.err
40199 cat conftest.err >&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); } && {
40202 test -z "$ac_c_werror_flag" ||
40203 test ! -s conftest.err
40204 } && test -s conftest.$ac_objext; then
40205 ac_cv_func_which_gethostbyname_r=three
40207 echo "$as_me: failed program was:" >&5
40208 sed 's/^/| /' conftest.$ac_ext >&5
40213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40217 ################################################################
40222 case "$ac_cv_func_which_gethostbyname_r" in
40224 { echo "$as_me:$LINENO: result: three" >&5
40225 echo "${ECHO_T}three" >&6; }
40226 cat >>confdefs.h <<\_ACEOF
40227 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40233 { echo "$as_me:$LINENO: result: five" >&5
40234 echo "${ECHO_T}five" >&6; }
40235 cat >>confdefs.h <<\_ACEOF
40236 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40242 { echo "$as_me:$LINENO: result: six" >&5
40243 echo "${ECHO_T}six" >&6; }
40244 cat >>confdefs.h <<\_ACEOF
40245 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40251 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40252 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40256 { echo "$as_me:$LINENO: result: can't tell" >&5
40257 echo "${ECHO_T}can't tell" >&6; }
40261 { { echo "$as_me:$LINENO: error: internal error" >&5
40262 echo "$as_me: error: internal error" >&2;}
40263 { (exit 1); exit 1; }; }
40268 ac_cpp='$CPP $CPPFLAGS'
40269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40275 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40276 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40277 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40278 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40279 if test "${ac_cv_func_gethostbyname+set}" = set; then
40280 echo $ECHO_N "(cached) $ECHO_C" >&6
40282 cat >conftest.$ac_ext <<_ACEOF
40285 cat confdefs.h >>conftest.$ac_ext
40286 cat >>conftest.$ac_ext <<_ACEOF
40287 /* end confdefs.h. */
40288 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40290 #define gethostbyname innocuous_gethostbyname
40292 /* System header to define __stub macros and hopefully few prototypes,
40293 which can conflict with char gethostbyname (); below.
40294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40295 <limits.h> exists even on freestanding compilers. */
40298 # include <limits.h>
40300 # include <assert.h>
40303 #undef gethostbyname
40305 /* Override any GCC internal prototype to avoid an error.
40306 Use char because int might match the return type of a GCC
40307 builtin and then its argument prototype would still apply. */
40311 char gethostbyname ();
40312 /* The GNU C library defines this for functions which it implements
40313 to always fail with ENOSYS. Some functions are actually named
40314 something starting with __ and the normal name is an alias. */
40315 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40322 return gethostbyname ();
40327 rm -f conftest.$ac_objext conftest$ac_exeext
40328 if { (ac_try="$ac_link"
40329 case "(($ac_try" in
40330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40331 *) ac_try_echo
=$ac_try;;
40333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40334 (eval "$ac_link") 2>conftest.er1
40336 grep -v '^ *+' conftest.er1
>conftest.err
40338 cat conftest.err
>&5
40339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40340 (exit $ac_status); } && {
40341 test -z "$ac_c_werror_flag" ||
40342 test ! -s conftest.err
40343 } && test -s conftest
$ac_exeext &&
40344 $as_test_x conftest
$ac_exeext; then
40345 ac_cv_func_gethostbyname
=yes
40347 echo "$as_me: failed program was:" >&5
40348 sed 's/^/| /' conftest.
$ac_ext >&5
40350 ac_cv_func_gethostbyname
=no
40353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40354 conftest
$ac_exeext conftest.
$ac_ext
40356 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40357 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40358 if test $ac_cv_func_gethostbyname = yes; then
40359 cat >>confdefs.h
<<\_ACEOF
40360 #define HAVE_GETHOSTBYNAME 1
40367 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40368 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40369 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40370 echo $ECHO_N "(cached) $ECHO_C" >&6
40374 ac_cpp
='$CXXCPP $CPPFLAGS'
40375 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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, *res;
40396 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
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=six
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;
40441 (void) getservbyname_r(name, proto, se, buffer, buflen)
40447 rm -f conftest.$ac_objext
40448 if { (ac_try="$ac_compile"
40449 case "(($ac_try" in
40450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40451 *) ac_try_echo
=$ac_try;;
40453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40454 (eval "$ac_compile") 2>conftest.er1
40456 grep -v '^ *+' conftest.er1
>conftest.err
40458 cat conftest.err
>&5
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); } && {
40461 test -z "$ac_cxx_werror_flag" ||
40462 test ! -s conftest.err
40463 } && test -s conftest.
$ac_objext; then
40464 ac_cv_func_which_getservbyname_r
=five
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.
$ac_ext >&5
40470 cat >conftest.
$ac_ext <<_ACEOF
40473 cat confdefs.h
>>conftest.
$ac_ext
40474 cat >>conftest.
$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40483 struct servent *se;
40484 struct servent_data data;
40485 (void) getservbyname_r(name, proto, se, &data);
40491 rm -f conftest.
$ac_objext
40492 if { (ac_try
="$ac_compile"
40493 case "(($ac_try" in
40494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40495 *) ac_try_echo=$ac_try;;
40497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40498 (eval "$ac_compile") 2>conftest.er1
40500 grep -v '^ *+' conftest.er1 >conftest.err
40502 cat conftest.err >&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); } && {
40505 test -z "$ac_cxx_werror_flag" ||
40506 test ! -s conftest.err
40507 } && test -s conftest.$ac_objext; then
40508 ac_cv_func_which_getservbyname_r=four
40510 echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40513 ac_cv_func_which_getservbyname_r=no
40517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40529 ac_cpp='$CPP $CPPFLAGS'
40530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40537 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40538 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40540 if test $ac_cv_func_which_getservbyname_r = six; then
40541 cat >>confdefs.h <<\_ACEOF
40542 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40545 elif test $ac_cv_func_which_getservbyname_r = five; then
40546 cat >>confdefs.h <<\_ACEOF
40547 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40550 elif test $ac_cv_func_which_getservbyname_r = four; then
40551 cat >>confdefs.h <<\_ACEOF
40552 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40558 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40559 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40561 for ac_func in getservbyname
40563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40569 cat >conftest.$ac_ext <<_ACEOF
40572 cat confdefs.h >>conftest.$ac_ext
40573 cat >>conftest.$ac_ext <<_ACEOF
40574 /* end confdefs.h. */
40575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40577 #define $ac_func innocuous_$ac_func
40579 /* System header to define __stub macros and hopefully few prototypes,
40580 which can conflict with char $ac_func (); below.
40581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40582 <limits.h> exists even on freestanding compilers. */
40585 # include <limits.h>
40587 # include <assert.h>
40592 /* Override any GCC internal prototype to avoid an error.
40593 Use char because int might match the return type of a GCC
40594 builtin and then its argument prototype would still apply. */
40599 /* The GNU C library defines this for functions which it implements
40600 to always fail with ENOSYS. Some functions are actually named
40601 something starting with __ and the normal name is an alias. */
40602 #if defined __stub_$ac_func || defined __stub___$ac_func
40609 return $ac_func ();
40614 rm -f conftest.$ac_objext conftest$ac_exeext
40615 if { (ac_try="$ac_link"
40616 case "(($ac_try" in
40617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40618 *) ac_try_echo
=$ac_try;;
40620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40621 (eval "$ac_link") 2>conftest.er1
40623 grep -v '^ *+' conftest.er1
>conftest.err
40625 cat conftest.err
>&5
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); } && {
40628 test -z "$ac_c_werror_flag" ||
40629 test ! -s conftest.err
40630 } && test -s conftest
$ac_exeext &&
40631 $as_test_x conftest
$ac_exeext; then
40632 eval "$as_ac_var=yes"
40634 echo "$as_me: failed program was:" >&5
40635 sed 's/^/| /' conftest.
$ac_ext >&5
40637 eval "$as_ac_var=no"
40640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40641 conftest
$ac_exeext conftest.
$ac_ext
40643 ac_res
=`eval echo '${'$as_ac_var'}'`
40644 { echo "$as_me:$LINENO: result: $ac_res" >&5
40645 echo "${ECHO_T}$ac_res" >&6; }
40646 if test `eval echo '${'$as_ac_var'}'` = yes; then
40647 cat >>confdefs.h
<<_ACEOF
40648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40650 cat >>confdefs.h
<<\_ACEOF
40651 #define HAVE_GETSERVBYNAME 1
40659 if test "$wxUSE_THREADS" = "yes"; then
40660 cat >>confdefs.h
<<\_ACEOF
40661 #define wxUSE_THREADS 1
40665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40667 if test "$wx_cv_func_strtok_r" = "yes"; then
40668 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40669 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40670 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40671 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40672 { echo "$as_me:$LINENO: result: yes" >&5
40673 echo "${ECHO_T}yes" >&6; }
40675 { echo "$as_me:$LINENO: result: no" >&5
40676 echo "${ECHO_T}no" >&6; }
40681 if test "$WXGTK2" = 1 ; then
40682 cat >>confdefs.h
<<_ACEOF
40683 #define __WXGTK20__ $WXGTK2
40689 if test "$WXGTK12" = 1 ; then
40690 cat >>confdefs.h
<<_ACEOF
40691 #define __WXGTK12__ $WXGTK12
40696 if test "$WXGTK127" = 1 ; then
40697 cat >>confdefs.h
<<_ACEOF
40698 #define __WXGTK127__ $WXGTK127
40703 if test "$WXGPE" = 1 ; then
40704 cat >>confdefs.h
<<_ACEOF
40705 #define __WXGPE__ $WXGPE
40711 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40716 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40717 wxUSE_DEBUG_INFO
=yes
40718 if test "$GCC" = yes; then
40719 DEBUG_CFLAGS
="-ggdb"
40723 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40724 cat >>confdefs.h
<<\_ACEOF
40728 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40730 if test "$wxUSE_GTK" = 1 ; then
40731 if test "x$wxGTK_VERSION" = "x1" ; then
40732 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40737 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40738 cat >>confdefs.h
<<\_ACEOF
40739 #define wxUSE_MEMORY_TRACING 1
40742 cat >>confdefs.h
<<\_ACEOF
40743 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40746 cat >>confdefs.h
<<\_ACEOF
40747 #define wxUSE_DEBUG_NEW_ALWAYS 1
40750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40753 if test "$wxUSE_DMALLOC" = "yes" ; then
40754 DMALLOC_LIBS
="-ldmallocthcxx"
40758 if test "$wxUSE_PROFILE" = "yes" ; then
40759 PROFILE_FLAGS
=" -pg"
40762 if test "$GCC" = "yes" ; then
40763 if test "$wxUSE_NO_RTTI" = "yes" ; then
40764 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40766 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40767 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40769 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40770 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40775 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40778 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40784 if test "$wxUSE_OPTIMISE" = "no" ; then
40785 if test "$GCC" = yes ; then
40786 OPTIMISE_CFLAGS
="-O0"
40789 if test "$GCC" = yes ; then
40791 *-pc-os2_emx | *-pc-os2-emx )
40792 OPTIMISE_CFLAGS
="-O2"
40795 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40799 OPTIMISE_CFLAGS
="-O"
40804 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40805 cat >>confdefs.h
<<\_ACEOF
40806 #define WXWIN_COMPATIBILITY_2_6 1
40810 WXWIN_COMPATIBILITY_2_8
="yes"
40813 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40814 cat >>confdefs.h
<<\_ACEOF
40815 #define WXWIN_COMPATIBILITY_2_8 1
40821 if test "$wxUSE_GUI" = "yes"; then
40822 cat >>confdefs.h
<<\_ACEOF
40823 #define wxUSE_GUI 1
40830 if test "$wxUSE_UNIX" = "yes"; then
40831 cat >>confdefs.h
<<\_ACEOF
40832 #define wxUSE_UNIX 1
40838 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40842 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40843 if test "$USE_DARWIN" = 1; then
40845 elif test "$USE_DOS" = 1; then
40849 for ac_func
in dlopen
40851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40854 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40855 echo $ECHO_N "(cached) $ECHO_C" >&6
40857 cat >conftest.
$ac_ext <<_ACEOF
40860 cat confdefs.h
>>conftest.
$ac_ext
40861 cat >>conftest.
$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40865 #define $ac_func innocuous_$ac_func
40867 /* System header to define __stub macros and hopefully few prototypes,
40868 which can conflict with char $ac_func (); below.
40869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40870 <limits.h> exists even on freestanding compilers. */
40873 # include <limits.h>
40875 # include <assert.h>
40880 /* Override any GCC internal prototype to avoid an error.
40881 Use char because int might match the return type of a GCC
40882 builtin and then its argument prototype would still apply. */
40887 /* The GNU C library defines this for functions which it implements
40888 to always fail with ENOSYS. Some functions are actually named
40889 something starting with __ and the normal name is an alias. */
40890 #if defined __stub_$ac_func || defined __stub___$ac_func
40897 return $ac_func ();
40902 rm -f conftest.
$ac_objext conftest
$ac_exeext
40903 if { (ac_try
="$ac_link"
40904 case "(($ac_try" in
40905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_link") 2>conftest.er1
40911 grep -v '^ *+' conftest.er1 >conftest.err
40913 cat conftest.err >&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && {
40916 test -z "$ac_c_werror_flag" ||
40917 test ! -s conftest.err
40918 } && test -s conftest$ac_exeext &&
40919 $as_test_x conftest$ac_exeext; then
40920 eval "$as_ac_var=yes"
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.$ac_ext >&5
40925 eval "$as_ac_var=no"
40928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40929 conftest$ac_exeext conftest.$ac_ext
40931 ac_res=`eval echo '${'$as_ac_var'}'`
40932 { echo "$as_me:$LINENO: result: $ac_res" >&5
40933 echo "${ECHO_T}$ac_res" >&6; }
40934 if test `eval echo '${'$as_ac_var'}'` = yes; then
40935 cat >>confdefs.h <<_ACEOF
40936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40939 cat >>confdefs.h <<\_ACEOF
40940 #define HAVE_DLOPEN 1
40947 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40948 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40949 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 ac_check_lib_save_LIBS=$LIBS
40954 cat >conftest.$ac_ext <<_ACEOF
40957 cat confdefs.h >>conftest.$ac_ext
40958 cat >>conftest.$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40961 /* Override any GCC internal prototype to avoid an error.
40962 Use char because int might match the return type of a GCC
40963 builtin and then its argument prototype would still apply. */
40976 rm -f conftest.$ac_objext conftest$ac_exeext
40977 if { (ac_try="$ac_link"
40978 case "(($ac_try" in
40979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40980 *) ac_try_echo
=$ac_try;;
40982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40983 (eval "$ac_link") 2>conftest.er1
40985 grep -v '^ *+' conftest.er1
>conftest.err
40987 cat conftest.err
>&5
40988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 (exit $ac_status); } && {
40990 test -z "$ac_c_werror_flag" ||
40991 test ! -s conftest.err
40992 } && test -s conftest
$ac_exeext &&
40993 $as_test_x conftest
$ac_exeext; then
40994 ac_cv_lib_dl_dlopen
=yes
40996 echo "$as_me: failed program was:" >&5
40997 sed 's/^/| /' conftest.
$ac_ext >&5
40999 ac_cv_lib_dl_dlopen
=no
41002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41003 conftest
$ac_exeext conftest.
$ac_ext
41004 LIBS
=$ac_check_lib_save_LIBS
41006 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41007 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41008 if test $ac_cv_lib_dl_dlopen = yes; then
41010 cat >>confdefs.h
<<\_ACEOF
41011 #define HAVE_DLOPEN 1
41015 DL_LINK
=" -ldl$DL_LINK"
41020 for ac_func
in shl_load
41022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41025 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41028 cat >conftest.
$ac_ext <<_ACEOF
41031 cat confdefs.h
>>conftest.
$ac_ext
41032 cat >>conftest.
$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41036 #define $ac_func innocuous_$ac_func
41038 /* System header to define __stub macros and hopefully few prototypes,
41039 which can conflict with char $ac_func (); below.
41040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41041 <limits.h> exists even on freestanding compilers. */
41044 # include <limits.h>
41046 # include <assert.h>
41051 /* Override any GCC internal prototype to avoid an error.
41052 Use char because int might match the return type of a GCC
41053 builtin and then its argument prototype would still apply. */
41058 /* The GNU C library defines this for functions which it implements
41059 to always fail with ENOSYS. Some functions are actually named
41060 something starting with __ and the normal name is an alias. */
41061 #if defined __stub_$ac_func || defined __stub___$ac_func
41068 return $ac_func ();
41073 rm -f conftest.
$ac_objext conftest
$ac_exeext
41074 if { (ac_try
="$ac_link"
41075 case "(($ac_try" in
41076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41077 *) ac_try_echo=$ac_try;;
41079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41080 (eval "$ac_link") 2>conftest.er1
41082 grep -v '^ *+' conftest.er1 >conftest.err
41084 cat conftest.err >&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } && {
41087 test -z "$ac_c_werror_flag" ||
41088 test ! -s conftest.err
41089 } && test -s conftest$ac_exeext &&
41090 $as_test_x conftest$ac_exeext; then
41091 eval "$as_ac_var=yes"
41093 echo "$as_me: failed program was:" >&5
41094 sed 's/^/| /' conftest.$ac_ext >&5
41096 eval "$as_ac_var=no"
41099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41100 conftest$ac_exeext conftest.$ac_ext
41102 ac_res=`eval echo '${'$as_ac_var'}'`
41103 { echo "$as_me:$LINENO: result: $ac_res" >&5
41104 echo "${ECHO_T}$ac_res" >&6; }
41105 if test `eval echo '${'$as_ac_var'}'` = yes; then
41106 cat >>confdefs.h <<_ACEOF
41107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41110 cat >>confdefs.h <<\_ACEOF
41111 #define HAVE_SHL_LOAD 1
41118 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41119 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41120 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41121 echo $ECHO_N "(cached) $ECHO_C" >&6
41123 ac_check_lib_save_LIBS=$LIBS
41124 LIBS="-lshl_load $LIBS"
41125 cat >conftest.$ac_ext <<_ACEOF
41128 cat confdefs.h >>conftest.$ac_ext
41129 cat >>conftest.$ac_ext <<_ACEOF
41130 /* end confdefs.h. */
41132 /* Override any GCC internal prototype to avoid an error.
41133 Use char because int might match the return type of a GCC
41134 builtin and then its argument prototype would still apply. */
41147 rm -f conftest.$ac_objext conftest$ac_exeext
41148 if { (ac_try="$ac_link"
41149 case "(($ac_try" in
41150 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41151 *) ac_try_echo
=$ac_try;;
41153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41154 (eval "$ac_link") 2>conftest.er1
41156 grep -v '^ *+' conftest.er1
>conftest.err
41158 cat conftest.err
>&5
41159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41160 (exit $ac_status); } && {
41161 test -z "$ac_c_werror_flag" ||
41162 test ! -s conftest.err
41163 } && test -s conftest
$ac_exeext &&
41164 $as_test_x conftest
$ac_exeext; then
41165 ac_cv_lib_shl_load_dld
=yes
41167 echo "$as_me: failed program was:" >&5
41168 sed 's/^/| /' conftest.
$ac_ext >&5
41170 ac_cv_lib_shl_load_dld
=no
41173 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41174 conftest
$ac_exeext conftest.
$ac_ext
41175 LIBS
=$ac_check_lib_save_LIBS
41177 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41178 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41179 if test $ac_cv_lib_shl_load_dld = yes; then
41182 DL_LINK
=" -ldld$DL_LINK"
41198 if test "$HAVE_DL_FUNCS" = 1; then
41200 for ac_func
in dlerror
41202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41203 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41205 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41206 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 cat >conftest.
$ac_ext <<_ACEOF
41211 cat confdefs.h
>>conftest.
$ac_ext
41212 cat >>conftest.
$ac_ext <<_ACEOF
41213 /* end confdefs.h. */
41214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41216 #define $ac_func innocuous_$ac_func
41218 /* System header to define __stub macros and hopefully few prototypes,
41219 which can conflict with char $ac_func (); below.
41220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41221 <limits.h> exists even on freestanding compilers. */
41224 # include <limits.h>
41226 # include <assert.h>
41231 /* Override any GCC internal prototype to avoid an error.
41232 Use char because int might match the return type of a GCC
41233 builtin and then its argument prototype would still apply. */
41238 /* The GNU C library defines this for functions which it implements
41239 to always fail with ENOSYS. Some functions are actually named
41240 something starting with __ and the normal name is an alias. */
41241 #if defined __stub_$ac_func || defined __stub___$ac_func
41248 return $ac_func ();
41253 rm -f conftest.
$ac_objext conftest
$ac_exeext
41254 if { (ac_try
="$ac_link"
41255 case "(($ac_try" in
41256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41257 *) ac_try_echo=$ac_try;;
41259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41260 (eval "$ac_link") 2>conftest.er1
41262 grep -v '^ *+' conftest.er1 >conftest.err
41264 cat conftest.err >&5
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); } && {
41267 test -z "$ac_c_werror_flag" ||
41268 test ! -s conftest.err
41269 } && test -s conftest$ac_exeext &&
41270 $as_test_x conftest$ac_exeext; then
41271 eval "$as_ac_var=yes"
41273 echo "$as_me: failed program was:" >&5
41274 sed 's/^/| /' conftest.$ac_ext >&5
41276 eval "$as_ac_var=no"
41279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41280 conftest$ac_exeext conftest.$ac_ext
41282 ac_res=`eval echo '${'$as_ac_var'}'`
41283 { echo "$as_me:$LINENO: result: $ac_res" >&5
41284 echo "${ECHO_T}$ac_res" >&6; }
41285 if test `eval echo '${'$as_ac_var'}'` = yes; then
41286 cat >>confdefs.h <<_ACEOF
41287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41289 cat >>confdefs.h <<\_ACEOF
41290 #define HAVE_DLERROR 1
41295 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41296 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41297 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41298 echo $ECHO_N "(cached) $ECHO_C" >&6
41300 ac_check_lib_save_LIBS=$LIBS
41302 cat >conftest.$ac_ext <<_ACEOF
41305 cat confdefs.h >>conftest.$ac_ext
41306 cat >>conftest.$ac_ext <<_ACEOF
41307 /* end confdefs.h. */
41309 /* Override any GCC internal prototype to avoid an error.
41310 Use char because int might match the return type of a GCC
41311 builtin and then its argument prototype would still apply. */
41324 rm -f conftest.$ac_objext conftest$ac_exeext
41325 if { (ac_try="$ac_link"
41326 case "(($ac_try" in
41327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41328 *) ac_try_echo
=$ac_try;;
41330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41331 (eval "$ac_link") 2>conftest.er1
41333 grep -v '^ *+' conftest.er1
>conftest.err
41335 cat conftest.err
>&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); } && {
41338 test -z "$ac_c_werror_flag" ||
41339 test ! -s conftest.err
41340 } && test -s conftest
$ac_exeext &&
41341 $as_test_x conftest
$ac_exeext; then
41342 ac_cv_lib_dl_dlerror
=yes
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.
$ac_ext >&5
41347 ac_cv_lib_dl_dlerror
=no
41350 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41351 conftest
$ac_exeext conftest.
$ac_ext
41352 LIBS
=$ac_check_lib_save_LIBS
41354 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41355 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41356 if test $ac_cv_lib_dl_dlerror = yes; then
41357 cat >>confdefs.h
<<\_ACEOF
41358 #define HAVE_DLERROR 1
41371 if test "$HAVE_DL_FUNCS" = 0; then
41372 if test "$HAVE_SHL_FUNCS" = 0; then
41373 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41374 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41375 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41376 wxUSE_DYNAMIC_LOADER
=no
41377 wxUSE_DYNLIB_CLASS
=no
41379 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41380 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41387 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41388 cat >>confdefs.h
<<\_ACEOF
41389 #define wxUSE_DYNAMIC_LOADER 1
41393 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41394 cat >>confdefs.h
<<\_ACEOF
41395 #define wxUSE_DYNLIB_CLASS 1
41402 if test "$wxUSE_PLUGINS" = "yes" ; then
41403 if test "$wxUSE_SHARED" = "no" ; then
41404 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41405 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41408 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41409 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41410 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41413 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41414 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41415 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41418 if test "$wxUSE_PLUGINS" = "yes" ; then
41419 cat >>confdefs.h
<<\_ACEOF
41420 #define wxUSE_PLUGINS 1
41427 if test "$wxUSE_STL" = "yes"; then
41428 cat >>confdefs.h
<<\_ACEOF
41429 #define wxUSE_STL 1
41434 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41435 cat >>confdefs.h
<<\_ACEOF
41436 #define wxUSE_EXTENDED_RTTI 1
41441 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41442 cat >>confdefs.h
<<\_ACEOF
41443 #define wxUSE_APPLE_IEEE 1
41448 if test "$wxUSE_TIMER" = "yes"; then
41449 cat >>confdefs.h
<<\_ACEOF
41450 #define wxUSE_TIMER 1
41455 if test "$USE_UNIX" = 1 ; then
41456 if test "$wxUSE_MGL" != 1; then
41457 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41458 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41459 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41460 echo $ECHO_N "(cached) $ECHO_C" >&6
41463 cat >conftest.
$ac_ext <<_ACEOF
41466 cat confdefs.h
>>conftest.
$ac_ext
41467 cat >>conftest.
$ac_ext <<_ACEOF
41468 /* end confdefs.h. */
41470 #include <sys/ioctl.h>
41471 #include <sys/soundcard.h>
41477 ioctl(0, SNDCTL_DSP_SPEED, 0);
41483 rm -f conftest.
$ac_objext conftest
$ac_exeext
41484 if { (ac_try
="$ac_link"
41485 case "(($ac_try" in
41486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41487 *) ac_try_echo=$ac_try;;
41489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41490 (eval "$ac_link") 2>conftest.er1
41492 grep -v '^ *+' conftest.er1 >conftest.err
41494 cat conftest.err >&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } && {
41497 test -z "$ac_c_werror_flag" ||
41498 test ! -s conftest.err
41499 } && test -s conftest$ac_exeext &&
41500 $as_test_x conftest$ac_exeext; then
41501 ac_cv_header_sys_soundcard=yes
41503 echo "$as_me: failed program was:" >&5
41504 sed 's/^/| /' conftest.$ac_ext >&5
41508 LIBS="$saveLibs -lossaudio"
41509 cat >conftest.$ac_ext <<_ACEOF
41512 cat confdefs.h >>conftest.$ac_ext
41513 cat >>conftest.$ac_ext <<_ACEOF
41514 /* end confdefs.h. */
41516 #include <sys/ioctl.h>
41517 #include <sys/soundcard.h>
41523 ioctl(0, SNDCTL_DSP_SPEED, 0);
41529 rm -f conftest.$ac_objext conftest$ac_exeext
41530 if { (ac_try="$ac_link"
41531 case "(($ac_try" in
41532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41533 *) ac_try_echo
=$ac_try;;
41535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41536 (eval "$ac_link") 2>conftest.er1
41538 grep -v '^ *+' conftest.er1
>conftest.err
41540 cat conftest.err
>&5
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); } && {
41543 test -z "$ac_c_werror_flag" ||
41544 test ! -s conftest.err
41545 } && test -s conftest
$ac_exeext &&
41546 $as_test_x conftest
$ac_exeext; then
41547 ac_cv_header_sys_soundcard
=yes
41549 echo "$as_me: failed program was:" >&5
41550 sed 's/^/| /' conftest.
$ac_ext >&5
41554 ac_cv_header_sys_soundcard
=no
41559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41560 conftest
$ac_exeext conftest.
$ac_ext
41565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41566 conftest
$ac_exeext conftest.
$ac_ext
41569 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41570 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41573 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41574 cat >>confdefs.h
<<\_ACEOF
41575 #define HAVE_SYS_SOUNDCARD_H 1
41582 if test "$wxUSE_SOUND" = "yes"; then
41583 if test "$USE_UNIX" = 1 ; then
41584 if test "$wxUSE_LIBSDL" != "no"; then
41586 # Check whether --with-sdl-prefix was given.
41587 if test "${with_sdl_prefix+set}" = set; then
41588 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41594 # Check whether --with-sdl-exec-prefix was given.
41595 if test "${with_sdl_exec_prefix+set}" = set; then
41596 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41601 # Check whether --enable-sdltest was given.
41602 if test "${enable_sdltest+set}" = set; then
41603 enableval
=$enable_sdltest;
41609 if test x
$sdl_exec_prefix != x
; then
41610 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41611 if test x
${SDL_CONFIG+set} != xset
; then
41612 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41615 if test x
$sdl_prefix != x
; then
41616 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41617 if test x
${SDL_CONFIG+set} != xset
; then
41618 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41622 if test "x$prefix" != xNONE
; then
41623 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41625 # Extract the first word of "sdl-config", so it can be a program name with args.
41626 set dummy sdl
-config; ac_word
=$2
41627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41629 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41630 echo $ECHO_N "(cached) $ECHO_C" >&6
41632 case $SDL_CONFIG in
41634 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41638 for as_dir
in $PATH
41641 test -z "$as_dir" && as_dir
=.
41642 for ac_exec_ext
in '' $ac_executable_extensions; do
41643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41644 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41652 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41656 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41657 if test -n "$SDL_CONFIG"; then
41658 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41659 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41661 { echo "$as_me:$LINENO: result: no" >&5
41662 echo "${ECHO_T}no" >&6; }
41666 min_sdl_version
=1.2.0
41667 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41668 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41670 if test "$SDL_CONFIG" = "no" ; then
41673 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41674 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41676 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41678 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41680 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41682 if test "x$enable_sdltest" = "xyes" ; then
41683 ac_save_CFLAGS
="$CFLAGS"
41684 ac_save_CXXFLAGS
="$CXXFLAGS"
41685 ac_save_LIBS
="$LIBS"
41686 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41687 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41688 LIBS
="$LIBS $SDL_LIBS"
41690 if test "$cross_compiling" = yes; then
41691 echo $ac_n "cross compiling; assumed OK... $ac_c"
41693 cat >conftest.
$ac_ext <<_ACEOF
41696 cat confdefs.h
>>conftest.
$ac_ext
41697 cat >>conftest.
$ac_ext <<_ACEOF
41698 /* end confdefs.h. */
41701 #include <stdlib.h>
41702 #include <string.h>
41706 my_strdup (char *str)
41712 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41713 strcpy (new_str, str);
41721 int main (int argc, char *argv[])
41723 int major, minor, micro;
41726 /* This hangs on some systems (?)
41727 system ("touch conf.sdltest");
41729 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41731 /* HP/UX 9 (%@#!) writes to sscanf strings */
41732 tmp_version = my_strdup("$min_sdl_version");
41733 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41734 printf("%s, bad version string\n", "$min_sdl_version");
41738 if (($sdl_major_version > major) ||
41739 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41740 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41746 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41747 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41748 printf("*** best to upgrade to the required version.\n");
41749 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41750 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41751 printf("*** config.cache before re-running configure\n");
41758 rm -f conftest
$ac_exeext
41759 if { (ac_try
="$ac_link"
41760 case "(($ac_try" in
41761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41762 *) ac_try_echo=$ac_try;;
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_link") 2>&5
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41769 { (case "(($ac_try" in
41770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41771 *) ac_try_echo
=$ac_try;;
41773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41774 (eval "$ac_try") 2>&5
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); }; }; then
41780 echo "$as_me: program exited with status $ac_status" >&5
41781 echo "$as_me: failed program was:" >&5
41782 sed 's/^/| /' conftest.
$ac_ext >&5
41784 ( exit $ac_status )
41787 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41791 CFLAGS
="$ac_save_CFLAGS"
41792 CXXFLAGS
="$ac_save_CXXFLAGS"
41793 LIBS
="$ac_save_LIBS"
41796 if test "x$no_sdl" = x
; then
41797 { echo "$as_me:$LINENO: result: yes" >&5
41798 echo "${ECHO_T}yes" >&6; }
41800 EXTRALIBS_SDL
="$SDL_LIBS"
41801 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41802 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41803 cat >>confdefs.h
<<\_ACEOF
41804 #define wxUSE_LIBSDL 1
41809 { echo "$as_me:$LINENO: result: no" >&5
41810 echo "${ECHO_T}no" >&6; }
41811 if test "$SDL_CONFIG" = "no" ; then
41812 echo "*** The sdl-config script installed by SDL could not be found"
41813 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41814 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41815 echo "*** full path to sdl-config."
41817 if test -f conf.sdltest
; then
41820 echo "*** Could not run SDL test program, checking why..."
41821 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41822 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41823 LIBS
="$LIBS $SDL_LIBS"
41824 cat >conftest.
$ac_ext <<_ACEOF
41827 cat confdefs.h
>>conftest.
$ac_ext
41828 cat >>conftest.
$ac_ext <<_ACEOF
41829 /* end confdefs.h. */
41834 int main(int argc, char *argv[])
41837 #define main K_and_R_C_main
41847 rm -f conftest.
$ac_objext conftest
$ac_exeext
41848 if { (ac_try
="$ac_link"
41849 case "(($ac_try" in
41850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41851 *) ac_try_echo=$ac_try;;
41853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41854 (eval "$ac_link") 2>conftest.er1
41856 grep -v '^ *+' conftest.er1 >conftest.err
41858 cat conftest.err >&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); } && {
41861 test -z "$ac_c_werror_flag" ||
41862 test ! -s conftest.err
41863 } && test -s conftest$ac_exeext &&
41864 $as_test_x conftest$ac_exeext; then
41865 echo "*** The test program compiled, but did not run. This usually means"
41866 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41867 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41870 echo "*** is required on your system"
41872 echo "*** If you have an old version installed, it is best to remove it, although"
41873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41875 echo "$as_me: failed program was:" >&5
41876 sed 's/^/| /' conftest.$ac_ext >&5
41878 echo "*** The test program failed to compile or link. See the file config.log for the"
41879 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41880 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41881 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41885 conftest$ac_exeext conftest.$ac_ext
41886 CFLAGS="$ac_save_CFLAGS"
41887 CXXFLAGS="$ac_save_CXXFLAGS"
41888 LIBS="$ac_save_LIBS"
41899 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41904 if test "$wxUSE_MGL" = 1; then
41905 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41906 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41912 if test "$wxUSE_SOUND" = "yes"; then
41913 cat >>confdefs.h <<\_ACEOF
41914 #define wxUSE_SOUND 1
41917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41920 if test "$WXGTK2" = 1; then
41923 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41924 if test -n "$ac_tool_prefix"; then
41925 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41926 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41929 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41930 echo $ECHO_N "(cached) $ECHO_C" >&6
41932 case $PKG_CONFIG in
41934 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41938 for as_dir in $PATH
41941 test -z "$as_dir" && as_dir=.
41942 for ac_exec_ext in '' $ac_executable_extensions; do
41943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41944 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41955 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41956 if test -n "$PKG_CONFIG"; then
41957 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41958 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41960 { echo "$as_me:$LINENO: result: no" >&5
41961 echo "${ECHO_T}no" >&6; }
41966 if test -z "$ac_cv_path_PKG_CONFIG"; then
41967 ac_pt_PKG_CONFIG=$PKG_CONFIG
41968 # Extract the first word of "pkg-config", so it can be a program name with args.
41969 set dummy pkg-config; ac_word=$2
41970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41972 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41973 echo $ECHO_N "(cached) $ECHO_C" >&6
41975 case $ac_pt_PKG_CONFIG in
41977 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41981 for as_dir in $PATH
41984 test -z "$as_dir" && as_dir=.
41985 for ac_exec_ext in '' $ac_executable_extensions; do
41986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41987 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41998 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41999 if test -n "$ac_pt_PKG_CONFIG"; then
42000 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42001 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42003 { echo "$as_me:$LINENO: result: no" >&5
42004 echo "${ECHO_T}no" >&6; }
42007 if test "x$ac_pt_PKG_CONFIG" = x; then
42010 case $cross_compiling:$ac_tool_warned in
42012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42013 whose name does not start with the host triplet. If you think this
42014 configuration is useful to you, please write to autoconf@gnu.org." >&5
42015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42016 whose name does not start with the host triplet. If you think this
42017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42018 ac_tool_warned=yes ;;
42020 PKG_CONFIG=$ac_pt_PKG_CONFIG
42023 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42027 if test -n "$PKG_CONFIG"; then
42028 _pkg_min_version=0.9.0
42029 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42030 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42031 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42032 { echo "$as_me:$LINENO: result: yes" >&5
42033 echo "${ECHO_T}yes" >&6; }
42035 { echo "$as_me:$LINENO: result: no" >&5
42036 echo "${ECHO_T}no" >&6; }
42042 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42044 if test "$wxUSE_GTKPRINT" = "yes" ; then
42048 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42049 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42051 if test -n "$PKG_CONFIG"; then
42052 if test -n "$GTKPRINT_CFLAGS"; then
42053 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42055 if test -n "$PKG_CONFIG" && \
42056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42057 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); }; then
42061 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42069 if test -n "$PKG_CONFIG"; then
42070 if test -n "$GTKPRINT_LIBS"; then
42071 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42073 if test -n "$PKG_CONFIG" && \
42074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42075 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; then
42079 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42090 if test $pkg_failed = yes; then
42092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42093 _pkg_short_errors_supported=yes
42095 _pkg_short_errors_supported=no
42097 if test $_pkg_short_errors_supported = yes; then
42098 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42100 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42102 # Put the nasty error message in config.log where it belongs
42103 echo "$GTKPRINT_PKG_ERRORS" >&5
42106 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42107 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42108 wxUSE_GTKPRINT="no"
42111 elif test $pkg_failed = untried; then
42113 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42114 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42115 wxUSE_GTKPRINT="no"
42119 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42120 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42121 { echo "$as_me:$LINENO: result: yes" >&5
42122 echo "${ECHO_T}yes" >&6; }
42124 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42125 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42126 cat >>confdefs.h <<\_ACEOF
42127 #define wxUSE_GTKPRINT 1
42134 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42138 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42139 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42141 if test -n "$PKG_CONFIG"; then
42142 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42143 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42145 if test -n "$PKG_CONFIG" && \
42146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42147 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); }; then
42151 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42159 if test -n "$PKG_CONFIG"; then
42160 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42161 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42163 if test -n "$PKG_CONFIG" && \
42164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42165 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; then
42169 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42180 if test $pkg_failed = yes; then
42182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42183 _pkg_short_errors_supported=yes
42185 _pkg_short_errors_supported=no
42187 if test $_pkg_short_errors_supported = yes; then
42188 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42190 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42192 # Put the nasty error message in config.log where it belongs
42193 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42196 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42197 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42198 wxUSE_LIBGNOMEPRINT="no"
42201 elif test $pkg_failed = untried; then
42203 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42204 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42205 wxUSE_LIBGNOMEPRINT="no"
42209 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42210 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42211 { echo "$as_me:$LINENO: result: yes" >&5
42212 echo "${ECHO_T}yes" >&6; }
42214 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42215 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_LIBGNOMEPRINT 1
42225 if test "$wxUSE_MIMETYPE" = "yes" ; then
42226 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42230 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42231 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42233 if test -n "$PKG_CONFIG"; then
42234 if test -n "$GNOMEVFS_CFLAGS"; then
42235 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42237 if test -n "$PKG_CONFIG" && \
42238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42239 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242 (exit $ac_status); }; then
42243 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42251 if test -n "$PKG_CONFIG"; then
42252 if test -n "$GNOMEVFS_LIBS"; then
42253 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42255 if test -n "$PKG_CONFIG" && \
42256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42257 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); }; then
42261 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42272 if test $pkg_failed = yes; then
42274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42275 _pkg_short_errors_supported=yes
42277 _pkg_short_errors_supported=no
42279 if test $_pkg_short_errors_supported = yes; then
42280 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42282 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42284 # Put the nasty error message in config.log where it belongs
42285 echo "$GNOMEVFS_PKG_ERRORS" >&5
42288 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42289 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42290 wxUSE_LIBGNOMEVFS="no"
42293 elif test $pkg_failed = untried; then
42295 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42296 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42297 wxUSE_LIBGNOMEVFS="no"
42301 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42302 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42303 { echo "$as_me:$LINENO: result: yes" >&5
42304 echo "${ECHO_T}yes" >&6; }
42306 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42307 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42308 cat >>confdefs.h <<\_ACEOF
42309 #define wxUSE_LIBGNOMEVFS 1
42317 if test "$wxUSE_LIBHILDON" = "yes" ; then
42320 { echo "$as_me:$LINENO: checking for HILDON" >&5
42321 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42323 if test -n "$PKG_CONFIG"; then
42324 if test -n "$HILDON_CFLAGS"; then
42325 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42327 if test -n "$PKG_CONFIG" && \
42328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42329 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; then
42333 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42341 if test -n "$PKG_CONFIG"; then
42342 if test -n "$HILDON_LIBS"; then
42343 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42345 if test -n "$PKG_CONFIG" && \
42346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42347 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; then
42351 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42362 if test $pkg_failed = yes; then
42364 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42365 _pkg_short_errors_supported=yes
42367 _pkg_short_errors_supported=no
42369 if test $_pkg_short_errors_supported = yes; then
42370 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42372 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42374 # Put the nasty error message in config.log where it belongs
42375 echo "$HILDON_PKG_ERRORS" >&5
42378 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42379 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42380 wxUSE_LIBHILDON="no"
42383 elif test $pkg_failed = untried; then
42385 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42386 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42387 wxUSE_LIBHILDON="no"
42391 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42392 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42393 { echo "$as_me:$LINENO: result: yes" >&5
42394 echo "${ECHO_T}yes" >&6; }
42396 EXTRALIBS_HILDON="$HILDON_LIBS"
42397 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42398 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42399 cat >>confdefs.h <<\_ACEOF
42400 #define wxUSE_LIBHILDON 1
42408 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define wxUSE_CMDLINE_PARSER 1
42415 if test "$wxUSE_STOPWATCH" = "yes"; then
42416 cat >>confdefs.h <<\_ACEOF
42417 #define wxUSE_STOPWATCH 1
42422 if test "$wxUSE_DATETIME" = "yes"; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define wxUSE_DATETIME 1
42429 if test "$wxUSE_FILE" = "yes"; then
42430 cat >>confdefs.h <<\_ACEOF
42431 #define wxUSE_FILE 1
42436 if test "$wxUSE_FFILE" = "yes"; then
42437 cat >>confdefs.h <<\_ACEOF
42438 #define wxUSE_FFILE 1
42443 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42444 if test "$wxUSE_STREAMS" != yes; then
42445 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42446 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42447 wxUSE_ARCHIVE_STREAMS=no
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_ARCHIVE_STREAMS 1
42456 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42457 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42458 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42459 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42460 elif test "$wxUSE_ZLIB" = "no"; then
42461 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42462 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_ZIPSTREAM 1
42471 if test "$wxUSE_TARSTREAM" = "yes"; then
42472 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42473 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42474 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42476 cat >>confdefs.h <<\_ACEOF
42477 #define wxUSE_TARSTREAM 1
42483 if test "$wxUSE_FILESYSTEM" = "yes"; then
42484 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42485 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42486 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42487 wxUSE_FILESYSTEM=no
42489 cat >>confdefs.h <<\_ACEOF
42490 #define wxUSE_FILESYSTEM 1
42496 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42497 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42498 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42499 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_FS_ARCHIVE 1
42508 if test "$wxUSE_FS_ZIP" = "yes"; then
42509 if test "$wxUSE_FS_ARCHIVE" != yes; then
42510 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42511 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42513 cat >>confdefs.h <<\_ACEOF
42514 #define wxUSE_FS_ZIP 1
42520 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42521 if test "$USE_UNIX" != 1; then
42522 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42523 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42524 wxUSE_ON_FATAL_EXCEPTION=no
42526 cat >>confdefs.h <<\_ACEOF
42527 #define wxUSE_ON_FATAL_EXCEPTION 1
42533 if test "$wxUSE_STACKWALKER" = "yes"; then
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_STACKWALKER 1
42540 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42541 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42542 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42543 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42544 wxUSE_DEBUGREPORT=no
42546 cat >>confdefs.h <<\_ACEOF
42547 #define wxUSE_DEBUGREPORT 1
42550 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42556 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_SNGLINST_CHECKER 1
42563 if test "$wxUSE_BUSYINFO" = "yes"; then
42564 cat >>confdefs.h <<\_ACEOF
42565 #define wxUSE_BUSYINFO 1
42570 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42571 cat >>confdefs.h <<\_ACEOF
42572 #define wxUSE_STD_IOSTREAM 1
42577 if test "$wxUSE_STD_STRING" = "yes"; then
42578 cat >>confdefs.h <<\_ACEOF
42579 #define wxUSE_STD_STRING 1
42584 if test "$wxUSE_STDPATHS" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_STDPATHS 1
42591 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42592 cat >>confdefs.h <<\_ACEOF
42593 #define wxUSE_TEXTBUFFER 1
42598 if test "$wxUSE_TEXTFILE" = "yes"; then
42599 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42600 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42601 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_TEXTFILE 1
42610 if test "$wxUSE_CONFIG" = "yes" ; then
42611 if test "$wxUSE_TEXTFILE" != "yes"; then
42612 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42613 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42615 cat >>confdefs.h <<\_ACEOF
42616 #define wxUSE_CONFIG 1
42619 cat >>confdefs.h <<\_ACEOF
42620 #define wxUSE_CONFIG_NATIVE 1
42623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42627 if test "$wxUSE_INTL" = "yes" ; then
42628 if test "$wxUSE_FILE" != "yes"; then
42629 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42630 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_INTL 1
42636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42637 GUIDIST="$GUIDIST INTL_DIST"
42641 if test "$wxUSE_LOG" = "yes"; then
42642 cat >>confdefs.h <<\_ACEOF
42643 #define wxUSE_LOG 1
42647 if test "$wxUSE_LOGGUI" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_LOGGUI 1
42654 if test "$wxUSE_LOGWINDOW" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_LOGWINDOW 1
42661 if test "$wxUSE_LOGDIALOG" = "yes"; then
42662 cat >>confdefs.h <<\_ACEOF
42663 #define wxUSE_LOG_DIALOG 1
42668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42671 if test "$wxUSE_LONGLONG" = "yes"; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define wxUSE_LONGLONG 1
42678 if test "$wxUSE_GEOMETRY" = "yes"; then
42679 cat >>confdefs.h <<\_ACEOF
42680 #define wxUSE_GEOMETRY 1
42685 if test "$wxUSE_BASE64" = "yes"; then
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_BASE64 1
42692 if test "$wxUSE_STREAMS" = "yes" ; then
42693 cat >>confdefs.h <<\_ACEOF
42694 #define wxUSE_STREAMS 1
42699 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42700 cat >>confdefs.h <<\_ACEOF
42701 #define wxUSE_PRINTF_POS_PARAMS 1
42706 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42707 cat >>confdefs.h <<\_ACEOF
42708 #define wxUSE_OBJC_UNIQUIFYING 1
42714 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42715 cat >>confdefs.h <<\_ACEOF
42716 #define wxUSE_CONSOLE_EVENTLOOP 1
42720 if test "$wxUSE_UNIX" = "yes"; then
42721 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42722 cat >>confdefs.h <<\_ACEOF
42723 #define wxUSE_SELECT_DISPATCHER 1
42728 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42730 for ac_header in sys/epoll.h
42732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42733 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42735 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42736 echo $ECHO_N "(cached) $ECHO_C" >&6
42738 cat >conftest.$ac_ext <<_ACEOF
42741 cat confdefs.h >>conftest.$ac_ext
42742 cat >>conftest.$ac_ext <<_ACEOF
42743 /* end confdefs.h. */
42744 $ac_includes_default
42746 #include <$ac_header>
42748 rm -f conftest.$ac_objext
42749 if { (ac_try="$ac_compile"
42750 case "(($ac_try" in
42751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42752 *) ac_try_echo
=$ac_try;;
42754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42755 (eval "$ac_compile") 2>conftest.er1
42757 grep -v '^ *+' conftest.er1
>conftest.err
42759 cat conftest.err
>&5
42760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761 (exit $ac_status); } && {
42762 test -z "$ac_c_werror_flag" ||
42763 test ! -s conftest.err
42764 } && test -s conftest.
$ac_objext; then
42765 eval "$as_ac_Header=yes"
42767 echo "$as_me: failed program was:" >&5
42768 sed 's/^/| /' conftest.
$ac_ext >&5
42770 eval "$as_ac_Header=no"
42773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42775 ac_res
=`eval echo '${'$as_ac_Header'}'`
42776 { echo "$as_me:$LINENO: result: $ac_res" >&5
42777 echo "${ECHO_T}$ac_res" >&6; }
42778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42779 cat >>confdefs.h
<<_ACEOF
42780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42787 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42788 cat >>confdefs.h
<<\_ACEOF
42789 #define wxUSE_EPOLL_DISPATCHER 1
42793 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42794 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42803 for ac_func
in gettimeofday ftime
42805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42808 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42809 echo $ECHO_N "(cached) $ECHO_C" >&6
42811 cat >conftest.
$ac_ext <<_ACEOF
42814 cat confdefs.h
>>conftest.
$ac_ext
42815 cat >>conftest.
$ac_ext <<_ACEOF
42816 /* end confdefs.h. */
42817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42819 #define $ac_func innocuous_$ac_func
42821 /* System header to define __stub macros and hopefully few prototypes,
42822 which can conflict with char $ac_func (); below.
42823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42824 <limits.h> exists even on freestanding compilers. */
42827 # include <limits.h>
42829 # include <assert.h>
42834 /* Override any GCC internal prototype to avoid an error.
42835 Use char because int might match the return type of a GCC
42836 builtin and then its argument prototype would still apply. */
42841 /* The GNU C library defines this for functions which it implements
42842 to always fail with ENOSYS. Some functions are actually named
42843 something starting with __ and the normal name is an alias. */
42844 #if defined __stub_$ac_func || defined __stub___$ac_func
42851 return $ac_func ();
42856 rm -f conftest.
$ac_objext conftest
$ac_exeext
42857 if { (ac_try
="$ac_link"
42858 case "(($ac_try" in
42859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42860 *) ac_try_echo=$ac_try;;
42862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42863 (eval "$ac_link") 2>conftest.er1
42865 grep -v '^ *+' conftest.er1 >conftest.err
42867 cat conftest.err >&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); } && {
42870 test -z "$ac_c_werror_flag" ||
42871 test ! -s conftest.err
42872 } && test -s conftest$ac_exeext &&
42873 $as_test_x conftest$ac_exeext; then
42874 eval "$as_ac_var=yes"
42876 echo "$as_me: failed program was:" >&5
42877 sed 's/^/| /' conftest.$ac_ext >&5
42879 eval "$as_ac_var=no"
42882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42883 conftest$ac_exeext conftest.$ac_ext
42885 ac_res=`eval echo '${'$as_ac_var'}'`
42886 { echo "$as_me:$LINENO: result: $ac_res" >&5
42887 echo "${ECHO_T}$ac_res" >&6; }
42888 if test `eval echo '${'$as_ac_var'}'` = yes; then
42889 cat >>confdefs.h <<_ACEOF
42890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42897 if test "$ac_cv_func_gettimeofday" = "yes"; then
42898 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42899 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42900 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42901 echo $ECHO_N "(cached) $ECHO_C" >&6
42904 cat >conftest.$ac_ext <<_ACEOF
42907 cat confdefs.h >>conftest.$ac_ext
42908 cat >>conftest.$ac_ext <<_ACEOF
42909 /* end confdefs.h. */
42911 #include <sys/time.h>
42912 #include <unistd.h>
42919 gettimeofday(&tv, NULL);
42925 rm -f conftest.$ac_objext
42926 if { (ac_try="$ac_compile"
42927 case "(($ac_try" in
42928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42929 *) ac_try_echo
=$ac_try;;
42931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42932 (eval "$ac_compile") 2>conftest.er1
42934 grep -v '^ *+' conftest.er1
>conftest.err
42936 cat conftest.err
>&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } && {
42939 test -z "$ac_c_werror_flag" ||
42940 test ! -s conftest.err
42941 } && test -s conftest.
$ac_objext; then
42942 wx_cv_func_gettimeofday_has_2_args
=yes
42944 echo "$as_me: failed program was:" >&5
42945 sed 's/^/| /' conftest.
$ac_ext >&5
42947 cat >conftest.
$ac_ext <<_ACEOF
42950 cat confdefs.h
>>conftest.
$ac_ext
42951 cat >>conftest.
$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42954 #include <sys/time.h>
42955 #include <unistd.h>
42968 rm -f conftest.
$ac_objext
42969 if { (ac_try
="$ac_compile"
42970 case "(($ac_try" in
42971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42972 *) ac_try_echo=$ac_try;;
42974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42975 (eval "$ac_compile") 2>conftest.er1
42977 grep -v '^ *+' conftest.er1 >conftest.err
42979 cat conftest.err >&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); } && {
42982 test -z "$ac_c_werror_flag" ||
42983 test ! -s conftest.err
42984 } && test -s conftest.$ac_objext; then
42985 wx_cv_func_gettimeofday_has_2_args=no
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42991 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42992 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42993 wx_cv_func_gettimeofday_has_2_args=unknown
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43005 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43006 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43008 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43009 cat >>confdefs.h <<\_ACEOF
43010 #define WX_GETTIMEOFDAY_NO_TZ 1
43016 if test "$wxUSE_DATETIME" = "yes"; then
43017 { echo "$as_me:$LINENO: checking for strptime" >&5
43018 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43019 if test "${ac_cv_func_strptime+set}" = set; then
43020 echo $ECHO_N "(cached) $ECHO_C" >&6
43022 cat >conftest.$ac_ext <<_ACEOF
43025 cat confdefs.h >>conftest.$ac_ext
43026 cat >>conftest.$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43028 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43030 #define strptime innocuous_strptime
43032 /* System header to define __stub macros and hopefully few prototypes,
43033 which can conflict with char strptime (); below.
43034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43035 <limits.h> exists even on freestanding compilers. */
43038 # include <limits.h>
43040 # include <assert.h>
43045 /* Override any GCC internal prototype to avoid an error.
43046 Use char because int might match the return type of a GCC
43047 builtin and then its argument prototype would still apply. */
43052 /* The GNU C library defines this for functions which it implements
43053 to always fail with ENOSYS. Some functions are actually named
43054 something starting with __ and the normal name is an alias. */
43055 #if defined __stub_strptime || defined __stub___strptime
43062 return strptime ();
43067 rm -f conftest.$ac_objext conftest$ac_exeext
43068 if { (ac_try="$ac_link"
43069 case "(($ac_try" in
43070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43071 *) ac_try_echo
=$ac_try;;
43073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43074 (eval "$ac_link") 2>conftest.er1
43076 grep -v '^ *+' conftest.er1
>conftest.err
43078 cat conftest.err
>&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); } && {
43081 test -z "$ac_c_werror_flag" ||
43082 test ! -s conftest.err
43083 } && test -s conftest
$ac_exeext &&
43084 $as_test_x conftest
$ac_exeext; then
43085 ac_cv_func_strptime
=yes
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.
$ac_ext >&5
43090 ac_cv_func_strptime
=no
43093 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43094 conftest
$ac_exeext conftest.
$ac_ext
43096 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43097 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43099 if test "$ac_cv_func_strptime" = "yes"; then
43100 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43101 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43102 if test "${wx_cv_func_strptime_decl+set}" = set; then
43103 echo $ECHO_N "(cached) $ECHO_C" >&6
43107 ac_cpp
='$CXXCPP $CPPFLAGS'
43108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43112 cat >conftest.
$ac_ext <<_ACEOF
43115 cat confdefs.h
>>conftest.
$ac_ext
43116 cat >>conftest.
$ac_ext <<_ACEOF
43117 /* end confdefs.h. */
43126 strptime("foo", "bar", &t);
43132 rm -f conftest.
$ac_objext
43133 if { (ac_try
="$ac_compile"
43134 case "(($ac_try" in
43135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43136 *) ac_try_echo=$ac_try;;
43138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43139 (eval "$ac_compile") 2>conftest.er1
43141 grep -v '^ *+' conftest.er1 >conftest.err
43143 cat conftest.err >&5
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); } && {
43146 test -z "$ac_cxx_werror_flag" ||
43147 test ! -s conftest.err
43148 } && test -s conftest.$ac_objext; then
43149 wx_cv_func_strptime_decl=yes
43151 echo "$as_me: failed program was:" >&5
43152 sed 's/^/| /' conftest.$ac_ext >&5
43154 wx_cv_func_strptime_decl=no
43158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43160 ac_cpp='$CPP $CPPFLAGS'
43161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43168 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43169 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43171 if test "$wx_cv_func_strptime_decl" = "yes"; then
43172 cat >>confdefs.h <<\_ACEOF
43173 #define HAVE_STRPTIME_DECL 1
43177 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43179 if test "$ac_cv_func_strptime" = "yes"; then
43180 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43181 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43182 if test "${wx_cv_func_strptime_ok+set}" = set; then
43183 echo $ECHO_N "(cached) $ECHO_C" >&6
43185 if test "$cross_compiling" = yes; then
43186 wx_cv_func_strptime_ok=no
43189 cat >conftest.$ac_ext <<_ACEOF
43191 #include <stdlib.h>
43193 #include "confdefs.h"
43200 return !!strptime("", "%x", &t);
43204 rm -f conftest$ac_exeext
43205 if { (ac_try="$ac_link"
43206 case "(($ac_try" in
43207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43208 *) ac_try_echo
=$ac_try;;
43210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43211 (eval "$ac_link") 2>&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43215 { (case "(($ac_try" in
43216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43217 *) ac_try_echo=$ac_try;;
43219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43220 (eval "$ac_try") 2>&5
43222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43223 (exit $ac_status); }; }; then
43224 wx_cv_func_strptime_ok=yes
43226 echo "$as_me: program exited with status $ac_status" >&5
43227 echo "$as_me: failed program was:" >&5
43228 sed 's/^/| /' conftest.$ac_ext >&5
43230 ( exit $ac_status )
43231 wx_cv_func_strptime_ok=no
43233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43239 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43240 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43242 if test "$wx_cv_func_strptime_ok" = "yes"; then
43243 cat >>confdefs.h <<\_ACEOF
43244 #define HAVE_STRPTIME 1
43250 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43251 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43252 if test "${wx_cv_var_timezone+set}" = set; then
43253 echo $ECHO_N "(cached) $ECHO_C" >&6
43257 ac_cpp='$CXXCPP $CPPFLAGS'
43258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 cat >conftest.$ac_ext <<_ACEOF
43355 cat confdefs.h >>conftest.$ac_ext
43356 cat >>conftest.$ac_ext <<_ACEOF
43357 /* end confdefs.h. */
43372 rm -f conftest.$ac_objext
43373 if { (ac_try="$ac_compile"
43374 case "(($ac_try" in
43375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43376 *) ac_try_echo
=$ac_try;;
43378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43379 (eval "$ac_compile") 2>conftest.er1
43381 grep -v '^ *+' conftest.er1
>conftest.err
43383 cat conftest.err
>&5
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); } && {
43386 test -z "$ac_cxx_werror_flag" ||
43387 test ! -s conftest.err
43388 } && test -s conftest.
$ac_objext; then
43390 wx_cv_var_timezone
=__timezone
43393 echo "$as_me: failed program was:" >&5
43394 sed 's/^/| /' conftest.
$ac_ext >&5
43397 if test "$USE_DOS" = 0 ; then
43398 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43399 echo "$as_me: WARNING: no timezone variable" >&2;}
43405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43417 ac_cpp
='$CPP $CPPFLAGS'
43418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43425 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43426 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43428 if test "x$wx_cv_var_timezone" != x
; then
43429 cat >>confdefs.h
<<_ACEOF
43430 #define WX_TIMEZONE $wx_cv_var_timezone
43436 for ac_func
in localtime
43438 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43441 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43442 echo $ECHO_N "(cached) $ECHO_C" >&6
43444 cat >conftest.
$ac_ext <<_ACEOF
43447 cat confdefs.h
>>conftest.
$ac_ext
43448 cat >>conftest.
$ac_ext <<_ACEOF
43449 /* end confdefs.h. */
43450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43452 #define $ac_func innocuous_$ac_func
43454 /* System header to define __stub macros and hopefully few prototypes,
43455 which can conflict with char $ac_func (); below.
43456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43457 <limits.h> exists even on freestanding compilers. */
43460 # include <limits.h>
43462 # include <assert.h>
43467 /* Override any GCC internal prototype to avoid an error.
43468 Use char because int might match the return type of a GCC
43469 builtin and then its argument prototype would still apply. */
43474 /* The GNU C library defines this for functions which it implements
43475 to always fail with ENOSYS. Some functions are actually named
43476 something starting with __ and the normal name is an alias. */
43477 #if defined __stub_$ac_func || defined __stub___$ac_func
43484 return $ac_func ();
43489 rm -f conftest.
$ac_objext conftest
$ac_exeext
43490 if { (ac_try
="$ac_link"
43491 case "(($ac_try" in
43492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43493 *) ac_try_echo=$ac_try;;
43495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43496 (eval "$ac_link") 2>conftest.er1
43498 grep -v '^ *+' conftest.er1 >conftest.err
43500 cat conftest.err >&5
43501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502 (exit $ac_status); } && {
43503 test -z "$ac_c_werror_flag" ||
43504 test ! -s conftest.err
43505 } && test -s conftest$ac_exeext &&
43506 $as_test_x conftest$ac_exeext; then
43507 eval "$as_ac_var=yes"
43509 echo "$as_me: failed program was:" >&5
43510 sed 's/^/| /' conftest.$ac_ext >&5
43512 eval "$as_ac_var=no"
43515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43516 conftest$ac_exeext conftest.$ac_ext
43518 ac_res=`eval echo '${'$as_ac_var'}'`
43519 { echo "$as_me:$LINENO: result: $ac_res" >&5
43520 echo "${ECHO_T}$ac_res" >&6; }
43521 if test `eval echo '${'$as_ac_var'}'` = yes; then
43522 cat >>confdefs.h <<_ACEOF
43523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43530 if test "$ac_cv_func_localtime" = "yes"; then
43531 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43532 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43533 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43534 echo $ECHO_N "(cached) $ECHO_C" >&6
43537 cat >conftest.$ac_ext <<_ACEOF
43540 cat confdefs.h >>conftest.$ac_ext
43541 cat >>conftest.$ac_ext <<_ACEOF
43542 /* end confdefs.h. */
43557 rm -f conftest.$ac_objext
43558 if { (ac_try="$ac_compile"
43559 case "(($ac_try" in
43560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43561 *) ac_try_echo
=$ac_try;;
43563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43564 (eval "$ac_compile") 2>conftest.er1
43566 grep -v '^ *+' conftest.er1
>conftest.err
43568 cat conftest.err
>&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); } && {
43571 test -z "$ac_c_werror_flag" ||
43572 test ! -s conftest.err
43573 } && test -s conftest.
$ac_objext; then
43575 wx_cv_struct_tm_has_gmtoff
=yes
43578 echo "$as_me: failed program was:" >&5
43579 sed 's/^/| /' conftest.
$ac_ext >&5
43581 wx_cv_struct_tm_has_gmtoff
=no
43585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43588 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43589 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43592 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43593 cat >>confdefs.h
<<\_ACEOF
43594 #define WX_GMTOFF_IN_TM 1
43599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43603 if test "$wxUSE_SOCKETS" = "yes"; then
43604 if test "$wxUSE_MGL" = 1; then
43605 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43606 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43611 if test "$wxUSE_SOCKETS" = "yes"; then
43612 if test "$TOOLKIT" != "MSW"; then
43613 { echo "$as_me:$LINENO: checking for socket" >&5
43614 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43615 if test "${ac_cv_func_socket+set}" = set; then
43616 echo $ECHO_N "(cached) $ECHO_C" >&6
43618 cat >conftest.
$ac_ext <<_ACEOF
43621 cat confdefs.h
>>conftest.
$ac_ext
43622 cat >>conftest.
$ac_ext <<_ACEOF
43623 /* end confdefs.h. */
43624 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43626 #define socket innocuous_socket
43628 /* System header to define __stub macros and hopefully few prototypes,
43629 which can conflict with char socket (); below.
43630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43631 <limits.h> exists even on freestanding compilers. */
43634 # include <limits.h>
43636 # include <assert.h>
43641 /* Override any GCC internal prototype to avoid an error.
43642 Use char because int might match the return type of a GCC
43643 builtin and then its argument prototype would still apply. */
43648 /* The GNU C library defines this for functions which it implements
43649 to always fail with ENOSYS. Some functions are actually named
43650 something starting with __ and the normal name is an alias. */
43651 #if defined __stub_socket || defined __stub___socket
43663 rm -f conftest.
$ac_objext conftest
$ac_exeext
43664 if { (ac_try
="$ac_link"
43665 case "(($ac_try" in
43666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43667 *) ac_try_echo=$ac_try;;
43669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43670 (eval "$ac_link") 2>conftest.er1
43672 grep -v '^ *+' conftest.er1 >conftest.err
43674 cat conftest.err >&5
43675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676 (exit $ac_status); } && {
43677 test -z "$ac_c_werror_flag" ||
43678 test ! -s conftest.err
43679 } && test -s conftest$ac_exeext &&
43680 $as_test_x conftest$ac_exeext; then
43681 ac_cv_func_socket=yes
43683 echo "$as_me: failed program was:" >&5
43684 sed 's/^/| /' conftest.$ac_ext >&5
43686 ac_cv_func_socket=no
43689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43690 conftest$ac_exeext conftest.$ac_ext
43692 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43693 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43694 if test $ac_cv_func_socket = yes; then
43698 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43699 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43700 if test "${ac_cv_lib_socket_socket+set}" = set; then
43701 echo $ECHO_N "(cached) $ECHO_C" >&6
43703 ac_check_lib_save_LIBS=$LIBS
43704 LIBS="-lsocket $LIBS"
43705 cat >conftest.$ac_ext <<_ACEOF
43708 cat confdefs.h >>conftest.$ac_ext
43709 cat >>conftest.$ac_ext <<_ACEOF
43710 /* end confdefs.h. */
43712 /* Override any GCC internal prototype to avoid an error.
43713 Use char because int might match the return type of a GCC
43714 builtin and then its argument prototype would still apply. */
43727 rm -f conftest.$ac_objext conftest$ac_exeext
43728 if { (ac_try="$ac_link"
43729 case "(($ac_try" in
43730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43731 *) ac_try_echo
=$ac_try;;
43733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43734 (eval "$ac_link") 2>conftest.er1
43736 grep -v '^ *+' conftest.er1
>conftest.err
43738 cat conftest.err
>&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); } && {
43741 test -z "$ac_c_werror_flag" ||
43742 test ! -s conftest.err
43743 } && test -s conftest
$ac_exeext &&
43744 $as_test_x conftest
$ac_exeext; then
43745 ac_cv_lib_socket_socket
=yes
43747 echo "$as_me: failed program was:" >&5
43748 sed 's/^/| /' conftest.
$ac_ext >&5
43750 ac_cv_lib_socket_socket
=no
43753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43754 conftest
$ac_exeext conftest.
$ac_ext
43755 LIBS
=$ac_check_lib_save_LIBS
43757 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43758 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43759 if test $ac_cv_lib_socket_socket = yes; then
43760 if test "$INET_LINK" != " -lsocket"; then
43761 INET_LINK
="$INET_LINK -lsocket"
43765 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43766 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43779 if test "$wxUSE_SOCKETS" = "yes" ; then
43780 if test "$TOOLKIT" != "MSW"; then
43781 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43782 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43783 if test "${wx_cv_type_getsockname3+set}" = set; then
43784 echo $ECHO_N "(cached) $ECHO_C" >&6
43788 ac_cpp
='$CXXCPP $CPPFLAGS'
43789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43793 cat >conftest.
$ac_ext <<_ACEOF
43796 cat confdefs.h
>>conftest.
$ac_ext
43797 cat >>conftest.
$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43800 #include <sys/types.h>
43801 #include <sys/socket.h>
43808 getsockname(0, 0, &len);
43814 rm -f conftest.
$ac_objext
43815 if { (ac_try
="$ac_compile"
43816 case "(($ac_try" in
43817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43818 *) ac_try_echo=$ac_try;;
43820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43821 (eval "$ac_compile") 2>conftest.er1
43823 grep -v '^ *+' conftest.er1 >conftest.err
43825 cat conftest.err >&5
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); } && {
43828 test -z "$ac_cxx_werror_flag" ||
43829 test ! -s conftest.err
43830 } && test -s conftest.$ac_objext; then
43831 wx_cv_type_getsockname3=socklen_t
43833 echo "$as_me: failed program was:" >&5
43834 sed 's/^/| /' conftest.$ac_ext >&5
43837 CFLAGS_OLD="$CFLAGS"
43838 if test "$GCC" = yes ; then
43839 CFLAGS="-Werror $CFLAGS"
43842 cat >conftest.$ac_ext <<_ACEOF
43845 cat confdefs.h >>conftest.$ac_ext
43846 cat >>conftest.$ac_ext <<_ACEOF
43847 /* end confdefs.h. */
43849 #include <sys/types.h>
43850 #include <sys/socket.h>
43857 getsockname(0, 0, &len);
43863 rm -f conftest.$ac_objext
43864 if { (ac_try="$ac_compile"
43865 case "(($ac_try" in
43866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43867 *) ac_try_echo
=$ac_try;;
43869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43870 (eval "$ac_compile") 2>conftest.er1
43872 grep -v '^ *+' conftest.er1
>conftest.err
43874 cat conftest.err
>&5
43875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876 (exit $ac_status); } && {
43877 test -z "$ac_cxx_werror_flag" ||
43878 test ! -s conftest.err
43879 } && test -s conftest.
$ac_objext; then
43880 wx_cv_type_getsockname3
=size_t
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.
$ac_ext >&5
43885 cat >conftest.
$ac_ext <<_ACEOF
43888 cat confdefs.h
>>conftest.
$ac_ext
43889 cat >>conftest.
$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43892 #include <sys/types.h>
43893 #include <sys/socket.h>
43900 getsockname(0, 0, &len);
43906 rm -f conftest.
$ac_objext
43907 if { (ac_try
="$ac_compile"
43908 case "(($ac_try" in
43909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_compile") 2>conftest.er1
43915 grep -v '^ *+' conftest.er1 >conftest.err
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_cxx_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest.$ac_objext; then
43923 wx_cv_type_getsockname3=int
43925 echo "$as_me: failed program was:" >&5
43926 sed 's/^/| /' conftest.$ac_ext >&5
43928 wx_cv_type_getsockname3=unknown
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43938 CFLAGS="$CFLAGS_OLD"
43943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43945 ac_cpp='$CPP $CPPFLAGS'
43946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43952 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43953 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43955 if test "$wx_cv_type_getsockname3" = "unknown"; then
43957 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43958 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43960 cat >>confdefs.h <<_ACEOF
43961 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43965 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43966 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43967 if test "${wx_cv_type_getsockopt5+set}" = set; then
43968 echo $ECHO_N "(cached) $ECHO_C" >&6
43972 ac_cpp='$CXXCPP $CPPFLAGS'
43973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43977 cat >conftest.$ac_ext <<_ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43984 #include <sys/types.h>
43985 #include <sys/socket.h>
43992 getsockopt(0, 0, 0, 0, &len);
43998 rm -f conftest.$ac_objext
43999 if { (ac_try="$ac_compile"
44000 case "(($ac_try" in
44001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44002 *) ac_try_echo
=$ac_try;;
44004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44005 (eval "$ac_compile") 2>conftest.er1
44007 grep -v '^ *+' conftest.er1
>conftest.err
44009 cat conftest.err
>&5
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); } && {
44012 test -z "$ac_cxx_werror_flag" ||
44013 test ! -s conftest.err
44014 } && test -s conftest.
$ac_objext; then
44015 wx_cv_type_getsockopt5
=socklen_t
44017 echo "$as_me: failed program was:" >&5
44018 sed 's/^/| /' conftest.
$ac_ext >&5
44021 cat >conftest.
$ac_ext <<_ACEOF
44024 cat confdefs.h
>>conftest.
$ac_ext
44025 cat >>conftest.
$ac_ext <<_ACEOF
44026 /* end confdefs.h. */
44028 #include <sys/types.h>
44029 #include <sys/socket.h>
44036 getsockopt(0, 0, 0, 0, &len);
44042 rm -f conftest.
$ac_objext
44043 if { (ac_try
="$ac_compile"
44044 case "(($ac_try" in
44045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44046 *) ac_try_echo=$ac_try;;
44048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44049 (eval "$ac_compile") 2>conftest.er1
44051 grep -v '^ *+' conftest.er1 >conftest.err
44053 cat conftest.err >&5
44054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44055 (exit $ac_status); } && {
44056 test -z "$ac_cxx_werror_flag" ||
44057 test ! -s conftest.err
44058 } && test -s conftest.$ac_objext; then
44059 wx_cv_type_getsockopt5=size_t
44061 echo "$as_me: failed program was:" >&5
44062 sed 's/^/| /' conftest.$ac_ext >&5
44064 cat >conftest.$ac_ext <<_ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h. */
44071 #include <sys/types.h>
44072 #include <sys/socket.h>
44079 getsockopt(0, 0, 0, 0, &len);
44085 rm -f conftest.$ac_objext
44086 if { (ac_try="$ac_compile"
44087 case "(($ac_try" in
44088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44089 *) ac_try_echo
=$ac_try;;
44091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44092 (eval "$ac_compile") 2>conftest.er1
44094 grep -v '^ *+' conftest.er1
>conftest.err
44096 cat conftest.err
>&5
44097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44098 (exit $ac_status); } && {
44099 test -z "$ac_cxx_werror_flag" ||
44100 test ! -s conftest.err
44101 } && test -s conftest.
$ac_objext; then
44102 wx_cv_type_getsockopt5
=int
44104 echo "$as_me: failed program was:" >&5
44105 sed 's/^/| /' conftest.
$ac_ext >&5
44107 wx_cv_type_getsockopt5
=unknown
44111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44122 ac_cpp
='$CPP $CPPFLAGS'
44123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44129 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44130 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44132 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44134 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44135 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44137 cat >>confdefs.h
<<_ACEOF
44138 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44145 if test "$wxUSE_SOCKETS" = "yes" ; then
44146 if test "$wxUSE_IPV6" = "yes"; then
44147 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44148 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44149 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44150 echo $ECHO_N "(cached) $ECHO_C" >&6
44153 cat >conftest.
$ac_ext <<_ACEOF
44156 cat confdefs.h
>>conftest.
$ac_ext
44157 cat >>conftest.
$ac_ext <<_ACEOF
44158 /* end confdefs.h. */
44160 #include <sys/types.h>
44161 #include <sys/socket.h>
44162 #include <netinet/in.h>
44168 struct sockaddr_in6 sa6;
44174 rm -f conftest.
$ac_objext
44175 if { (ac_try
="$ac_compile"
44176 case "(($ac_try" in
44177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44178 *) ac_try_echo=$ac_try;;
44180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44181 (eval "$ac_compile") 2>conftest.er1
44183 grep -v '^ *+' conftest.er1 >conftest.err
44185 cat conftest.err >&5
44186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44187 (exit $ac_status); } && {
44188 test -z "$ac_c_werror_flag" ||
44189 test ! -s conftest.err
44190 } && test -s conftest.$ac_objext; then
44191 wx_cv_type_sockaddr_in6=yes
44193 echo "$as_me: failed program was:" >&5
44194 sed 's/^/| /' conftest.$ac_ext >&5
44196 wx_cv_type_sockaddr_in6=no
44200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44204 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44205 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44207 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_IPV6 1
44213 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44214 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_SOCKETS 1
44222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44225 if test "$wxUSE_PROTOCOL" = "yes"; then
44226 if test "$wxUSE_SOCKETS" != "yes"; then
44227 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44228 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44233 if test "$wxUSE_PROTOCOL" = "yes"; then
44234 cat >>confdefs.h <<\_ACEOF
44235 #define wxUSE_PROTOCOL 1
44239 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44240 cat >>confdefs.h <<\_ACEOF
44241 #define wxUSE_PROTOCOL_HTTP 1
44245 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44246 cat >>confdefs.h <<\_ACEOF
44247 #define wxUSE_PROTOCOL_FTP 1
44251 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44252 cat >>confdefs.h <<\_ACEOF
44253 #define wxUSE_PROTOCOL_FILE 1
44258 if test "$wxUSE_FS_INET" = "yes"; then
44259 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44260 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44265 if test "$wxUSE_URL" = "yes"; then
44266 if test "$wxUSE_PROTOCOL" != "yes"; then
44267 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44268 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44271 if test "$wxUSE_URL" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_URL 1
44279 if test "$wxUSE_VARIANT" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_VARIANT 1
44286 if test "$wxUSE_FS_INET" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_FS_INET 1
44294 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44297 if test "$TOOLKIT" = "MSW"; then
44300 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44301 if test "$USE_DARWIN" = 1; then
44302 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44303 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44305 ac_cpp='$CXXCPP $CPPFLAGS'
44306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44310 cat >conftest.$ac_ext <<_ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44316 #include <IOKit/hid/IOHIDLib.h>
44320 IOHIDQueueInterface *qi = NULL;
44321 IOHIDCallbackFunction cb = NULL;
44322 qi->setEventCallout(NULL, cb, NULL, NULL);
44327 rm -f conftest.$ac_objext
44328 if { (ac_try="$ac_compile"
44329 case "(($ac_try" in
44330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44331 *) ac_try_echo
=$ac_try;;
44333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44334 (eval "$ac_compile") 2>conftest.er1
44336 grep -v '^ *+' conftest.er1
>conftest.err
44338 cat conftest.err
>&5
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); } && {
44341 test -z "$ac_cxx_werror_flag" ||
44342 test ! -s conftest.err
44343 } && test -s conftest.
$ac_objext; then
44347 echo "$as_me: failed program was:" >&5
44348 sed 's/^/| /' conftest.
$ac_ext >&5
44353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44355 ac_cpp
='$CPP $CPPFLAGS'
44356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44360 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44361 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44365 if test "$wxUSE_MGL" != 1; then
44367 for ac_header
in linux
/joystick.h
44369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44372 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44373 echo $ECHO_N "(cached) $ECHO_C" >&6
44375 cat >conftest.
$ac_ext <<_ACEOF
44378 cat confdefs.h
>>conftest.
$ac_ext
44379 cat >>conftest.
$ac_ext <<_ACEOF
44380 /* end confdefs.h. */
44381 $ac_includes_default
44383 #include <$ac_header>
44385 rm -f conftest.
$ac_objext
44386 if { (ac_try
="$ac_compile"
44387 case "(($ac_try" in
44388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44389 *) ac_try_echo=$ac_try;;
44391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44392 (eval "$ac_compile") 2>conftest.er1
44394 grep -v '^ *+' conftest.er1 >conftest.err
44396 cat conftest.err >&5
44397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44398 (exit $ac_status); } && {
44399 test -z "$ac_c_werror_flag" ||
44400 test ! -s conftest.err
44401 } && test -s conftest.$ac_objext; then
44402 eval "$as_ac_Header=yes"
44404 echo "$as_me: failed program was:" >&5
44405 sed 's/^/| /' conftest.$ac_ext >&5
44407 eval "$as_ac_Header=no"
44410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44412 ac_res=`eval echo '${'$as_ac_Header'}'`
44413 { echo "$as_me:$LINENO: result: $ac_res" >&5
44414 echo "${ECHO_T}$ac_res" >&6; }
44415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44416 cat >>confdefs.h <<_ACEOF
44417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44427 if test "$wxUSE_JOYSTICK" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_JOYSTICK 1
44432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44434 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44435 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44441 if test "$wxUSE_FONTENUM" = "yes" ; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define wxUSE_FONTENUM 1
44448 if test "$wxUSE_FONTMAP" = "yes" ; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_FONTMAP 1
44455 if test "$wxUSE_UNICODE" = "yes" ; then
44456 cat >>confdefs.h <<\_ACEOF
44457 #define wxUSE_UNICODE 1
44461 if test "$USE_WIN32" != 1; then
44462 wxUSE_UNICODE_MSLU=no
44465 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44466 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44467 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44468 if test "${ac_cv_lib_unicows_main+set}" = set; then
44469 echo $ECHO_N "(cached) $ECHO_C" >&6
44471 ac_check_lib_save_LIBS=$LIBS
44472 LIBS="-lunicows $LIBS"
44473 cat >conftest.$ac_ext <<_ACEOF
44476 cat confdefs.h >>conftest.$ac_ext
44477 cat >>conftest.$ac_ext <<_ACEOF
44478 /* end confdefs.h. */
44489 rm -f conftest.$ac_objext conftest$ac_exeext
44490 if { (ac_try="$ac_link"
44491 case "(($ac_try" in
44492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44493 *) ac_try_echo
=$ac_try;;
44495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44496 (eval "$ac_link") 2>conftest.er1
44498 grep -v '^ *+' conftest.er1
>conftest.err
44500 cat conftest.err
>&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); } && {
44503 test -z "$ac_c_werror_flag" ||
44504 test ! -s conftest.err
44505 } && test -s conftest
$ac_exeext &&
44506 $as_test_x conftest
$ac_exeext; then
44507 ac_cv_lib_unicows_main
=yes
44509 echo "$as_me: failed program was:" >&5
44510 sed 's/^/| /' conftest.
$ac_ext >&5
44512 ac_cv_lib_unicows_main
=no
44515 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44516 conftest
$ac_exeext conftest.
$ac_ext
44517 LIBS
=$ac_check_lib_save_LIBS
44519 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44520 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44521 if test $ac_cv_lib_unicows_main = yes; then
44523 cat >>confdefs.h
<<\_ACEOF
44524 #define wxUSE_UNICODE_MSLU 1
44530 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44531 Applications will only run on Windows NT/2000/XP!" >&5
44532 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44533 Applications will only run on Windows NT/2000/XP!" >&2;}
44534 wxUSE_UNICODE_MSLU
=no
44541 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_UNICODE_UTF8 1
44547 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44548 cat >>confdefs.h
<<\_ACEOF
44549 #define wxUSE_UTF8_LOCALE_ONLY 1
44556 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44557 cat >>confdefs.h
<<\_ACEOF
44558 #define wxUSE_CONSTRAINTS 1
44561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44564 if test "$wxUSE_MDI" = "yes"; then
44565 cat >>confdefs.h
<<\_ACEOF
44566 #define wxUSE_MDI 1
44570 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44571 cat >>confdefs.h
<<\_ACEOF
44572 #define wxUSE_MDI_ARCHITECTURE 1
44575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44579 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44580 cat >>confdefs.h
<<\_ACEOF
44581 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44585 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44590 if test "$wxUSE_HELP" = "yes"; then
44591 cat >>confdefs.h
<<\_ACEOF
44592 #define wxUSE_HELP 1
44595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44597 if test "$wxUSE_MSW" = 1; then
44598 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44599 cat >>confdefs.h
<<\_ACEOF
44600 #define wxUSE_MS_HTML_HELP 1
44606 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44607 if test "$wxUSE_HTML" = "yes"; then
44608 cat >>confdefs.h
<<\_ACEOF
44609 #define wxUSE_WXHTML_HELP 1
44613 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44614 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44615 wxUSE_WXHTML_HELP
=no
44620 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44621 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44622 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44623 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44625 cat >>confdefs.h
<<\_ACEOF
44626 #define wxUSE_PRINTING_ARCHITECTURE 1
44630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44633 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44634 cat >>confdefs.h
<<\_ACEOF
44635 #define wxUSE_POSTSCRIPT 1
44640 cat >>confdefs.h
<<\_ACEOF
44641 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44645 if test "$wxUSE_SVG" = "yes"; then
44646 cat >>confdefs.h
<<\_ACEOF
44647 #define wxUSE_SVG 1
44653 if test "$wxUSE_METAFILE" = "yes"; then
44654 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44655 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44656 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44662 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44663 -o "$wxUSE_CLIPBOARD" = "yes" \
44664 -o "$wxUSE_OLE" = "yes" \
44665 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44666 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44667 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44668 if test "${ac_cv_header_ole2_h+set}" = set; then
44669 echo $ECHO_N "(cached) $ECHO_C" >&6
44671 cat >conftest.
$ac_ext <<_ACEOF
44674 cat confdefs.h
>>conftest.
$ac_ext
44675 cat >>conftest.
$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44681 rm -f conftest.
$ac_objext
44682 if { (ac_try
="$ac_compile"
44683 case "(($ac_try" in
44684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44685 *) ac_try_echo=$ac_try;;
44687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44688 (eval "$ac_compile") 2>conftest.er1
44690 grep -v '^ *+' conftest.er1 >conftest.err
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); } && {
44695 test -z "$ac_c_werror_flag" ||
44696 test ! -s conftest.err
44697 } && test -s conftest.$ac_objext; then
44698 ac_cv_header_ole2_h=yes
44700 echo "$as_me: failed program was:" >&5
44701 sed 's/^/| /' conftest.$ac_ext >&5
44703 ac_cv_header_ole2_h=no
44706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44708 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44709 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44713 if test "$ac_cv_header_ole2_h" = "yes" ; then
44714 if test "$GCC" = yes ; then
44715 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44716 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44717 cat >conftest.$ac_ext <<_ACEOF
44720 cat confdefs.h >>conftest.$ac_ext
44721 cat >>conftest.$ac_ext <<_ACEOF
44722 /* end confdefs.h. */
44723 #include <windows.h>
44733 rm -f conftest.$ac_objext
44734 if { (ac_try="$ac_compile"
44735 case "(($ac_try" in
44736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44737 *) ac_try_echo
=$ac_try;;
44739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44740 (eval "$ac_compile") 2>conftest.er1
44742 grep -v '^ *+' conftest.er1
>conftest.err
44744 cat conftest.err
>&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } && {
44747 test -z "$ac_c_werror_flag" ||
44748 test ! -s conftest.err
44749 } && test -s conftest.
$ac_objext; then
44750 { echo "$as_me:$LINENO: result: no" >&5
44751 echo "${ECHO_T}no" >&6; }
44753 echo "$as_me: failed program was:" >&5
44754 sed 's/^/| /' conftest.
$ac_ext >&5
44756 { echo "$as_me:$LINENO: result: yes" >&5
44757 echo "${ECHO_T}yes" >&6; }
44758 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44762 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44763 if test "$wxUSE_OLE" = "yes" ; then
44764 cat >>confdefs.h
<<\_ACEOF
44765 #define wxUSE_OLE 1
44768 cat >>confdefs.h
<<\_ACEOF
44769 #define wxUSE_OLE_AUTOMATION 1
44772 cat >>confdefs.h
<<\_ACEOF
44773 #define wxUSE_ACTIVEX 1
44776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44780 if test "$wxUSE_DATAOBJ" = "yes" ; then
44781 cat >>confdefs.h
<<\_ACEOF
44782 #define wxUSE_DATAOBJ 1
44787 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44788 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44791 wxUSE_DRAG_AND_DROP
=no
44796 if test "$wxUSE_METAFILE" = "yes"; then
44797 cat >>confdefs.h
<<\_ACEOF
44798 #define wxUSE_METAFILE 1
44802 cat >>confdefs.h
<<\_ACEOF
44803 #define wxUSE_ENH_METAFILE 1
44809 if test "$wxUSE_IPC" = "yes"; then
44810 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44811 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44812 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44816 if test "$wxUSE_IPC" = "yes"; then
44817 cat >>confdefs.h
<<\_ACEOF
44818 #define wxUSE_IPC 1
44821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44825 if test "$wxUSE_DATAOBJ" = "yes"; then
44826 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44827 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44828 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44831 cat >>confdefs.h
<<\_ACEOF
44832 #define wxUSE_DATAOBJ 1
44837 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44838 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44840 wxUSE_DRAG_AND_DROP
=no
44843 if test "$wxUSE_CLIPBOARD" = "yes"; then
44844 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44845 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44846 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44850 if test "$wxUSE_CLIPBOARD" = "yes"; then
44851 cat >>confdefs.h
<<\_ACEOF
44852 #define wxUSE_CLIPBOARD 1
44858 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44859 if test "$wxUSE_GTK" = 1; then
44860 if test "$WXGTK12" != 1; then
44861 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44862 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44863 wxUSE_DRAG_AND_DROP
=no
44867 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44868 "$wxUSE_DFB" = 1; then
44869 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44870 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44871 wxUSE_DRAG_AND_DROP
=no
44874 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44875 cat >>confdefs.h
<<\_ACEOF
44876 #define wxUSE_DRAG_AND_DROP 1
44883 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44887 if test "$wxUSE_SPLINES" = "yes" ; then
44888 cat >>confdefs.h
<<\_ACEOF
44889 #define wxUSE_SPLINES 1
44894 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44895 cat >>confdefs.h
<<\_ACEOF
44896 #define wxUSE_MOUSEWHEEL 1
44903 if test "$wxUSE_CONTROLS" = "yes"; then
44907 if test "$wxUSE_ACCEL" = "yes"; then
44908 cat >>confdefs.h
<<\_ACEOF
44909 #define wxUSE_ACCEL 1
44915 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44916 cat >>confdefs.h
<<\_ACEOF
44917 #define wxUSE_ANIMATIONCTRL 1
44921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44924 if test "$wxUSE_BUTTON" = "yes"; then
44925 cat >>confdefs.h
<<\_ACEOF
44926 #define wxUSE_BUTTON 1
44932 if test "$wxUSE_BMPBUTTON" = "yes"; then
44933 cat >>confdefs.h
<<\_ACEOF
44934 #define wxUSE_BMPBUTTON 1
44940 if test "$wxUSE_CALCTRL" = "yes"; then
44941 cat >>confdefs.h
<<\_ACEOF
44942 #define wxUSE_CALENDARCTRL 1
44946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44949 if test "$wxUSE_CARET" = "yes"; then
44950 cat >>confdefs.h
<<\_ACEOF
44951 #define wxUSE_CARET 1
44955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44958 if test "$wxUSE_COLLPANE" = "yes"; then
44959 cat >>confdefs.h
<<\_ACEOF
44960 #define wxUSE_COLLPANE 1
44964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44967 if test "$wxUSE_COMBOBOX" = "yes"; then
44968 cat >>confdefs.h
<<\_ACEOF
44969 #define wxUSE_COMBOBOX 1
44975 if test "$wxUSE_COMBOCTRL" = "yes"; then
44976 cat >>confdefs.h
<<\_ACEOF
44977 #define wxUSE_COMBOCTRL 1
44983 if test "$wxUSE_CHOICE" = "yes"; then
44984 cat >>confdefs.h
<<\_ACEOF
44985 #define wxUSE_CHOICE 1
44991 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44992 cat >>confdefs.h
<<\_ACEOF
44993 #define wxUSE_CHOICEBOOK 1
44999 if test "$wxUSE_CHECKBOX" = "yes"; then
45000 cat >>confdefs.h
<<\_ACEOF
45001 #define wxUSE_CHECKBOX 1
45007 if test "$wxUSE_CHECKLST" = "yes"; then
45008 cat >>confdefs.h
<<\_ACEOF
45009 #define wxUSE_CHECKLISTBOX 1
45015 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45016 cat >>confdefs.h
<<\_ACEOF
45017 #define wxUSE_COLOURPICKERCTRL 1
45023 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45024 cat >>confdefs.h
<<\_ACEOF
45025 #define wxUSE_DATEPICKCTRL 1
45031 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45032 cat >>confdefs.h
<<\_ACEOF
45033 #define wxUSE_DIRPICKERCTRL 1
45039 if test "$wxUSE_FILECTRL" = "yes"; then
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_FILECTRL 1
45047 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45048 cat >>confdefs.h
<<\_ACEOF
45049 #define wxUSE_FILEPICKERCTRL 1
45055 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45056 cat >>confdefs.h
<<\_ACEOF
45057 #define wxUSE_FONTPICKERCTRL 1
45063 if test "$wxUSE_DISPLAY" = "yes"; then
45064 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45065 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45066 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45069 cat >>confdefs.h
<<\_ACEOF
45070 #define wxUSE_DISPLAY 1
45073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45077 if test "$wxUSE_DETECT_SM" = "yes"; then
45078 cat >>confdefs.h
<<\_ACEOF
45079 #define wxUSE_DETECT_SM 1
45084 if test "$wxUSE_GAUGE" = "yes"; then
45085 cat >>confdefs.h
<<\_ACEOF
45086 #define wxUSE_GAUGE 1
45092 if test "$wxUSE_GRID" = "yes"; then
45093 cat >>confdefs.h
<<\_ACEOF
45094 #define wxUSE_GRID 1
45098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45101 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45102 cat >>confdefs.h
<<\_ACEOF
45103 #define wxUSE_HYPERLINKCTRL 1
45109 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45110 cat >>confdefs.h
<<\_ACEOF
45111 #define wxUSE_BITMAPCOMBOBOX 1
45117 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45118 cat >>confdefs.h
<<\_ACEOF
45119 #define wxUSE_DATAVIEWCTRL 1
45123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45126 if test "$wxUSE_IMAGLIST" = "yes"; then
45127 cat >>confdefs.h
<<\_ACEOF
45128 #define wxUSE_IMAGLIST 1
45133 if test "$wxUSE_LISTBOOK" = "yes"; then
45134 cat >>confdefs.h
<<\_ACEOF
45135 #define wxUSE_LISTBOOK 1
45141 if test "$wxUSE_LISTBOX" = "yes"; then
45142 cat >>confdefs.h
<<\_ACEOF
45143 #define wxUSE_LISTBOX 1
45149 if test "$wxUSE_LISTCTRL" = "yes"; then
45150 if test "$wxUSE_IMAGLIST" = "yes"; then
45151 cat >>confdefs.h
<<\_ACEOF
45152 #define wxUSE_LISTCTRL 1
45156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45158 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45159 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45163 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45164 cat >>confdefs.h
<<\_ACEOF
45165 #define wxUSE_EDITABLELISTBOX 1
45169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45172 if test "$wxUSE_NOTEBOOK" = "yes"; then
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define wxUSE_NOTEBOOK 1
45178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45181 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define wxUSE_NOTIFICATION_MESSAGE 1
45188 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45189 cat >>confdefs.h
<<\_ACEOF
45190 #define wxUSE_ODCOMBOBOX 1
45194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45197 if test "$wxUSE_RADIOBOX" = "yes"; then
45198 cat >>confdefs.h
<<\_ACEOF
45199 #define wxUSE_RADIOBOX 1
45205 if test "$wxUSE_RADIOBTN" = "yes"; then
45206 cat >>confdefs.h
<<\_ACEOF
45207 #define wxUSE_RADIOBTN 1
45213 if test "$wxUSE_SASH" = "yes"; then
45214 cat >>confdefs.h
<<\_ACEOF
45215 #define wxUSE_SASH 1
45218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45221 if test "$wxUSE_SCROLLBAR" = "yes"; then
45222 cat >>confdefs.h
<<\_ACEOF
45223 #define wxUSE_SCROLLBAR 1
45227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45230 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45231 cat >>confdefs.h
<<\_ACEOF
45232 #define wxUSE_SEARCHCTRL 1
45238 if test "$wxUSE_SLIDER" = "yes"; then
45239 cat >>confdefs.h
<<\_ACEOF
45240 #define wxUSE_SLIDER 1
45246 if test "$wxUSE_SPINBTN" = "yes"; then
45247 cat >>confdefs.h
<<\_ACEOF
45248 #define wxUSE_SPINBTN 1
45254 if test "$wxUSE_SPINCTRL" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_SPINCTRL 1
45262 if test "$wxUSE_SPLITTER" = "yes"; then
45263 cat >>confdefs.h
<<\_ACEOF
45264 #define wxUSE_SPLITTER 1
45267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45270 if test "$wxUSE_STATBMP" = "yes"; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_STATBMP 1
45278 if test "$wxUSE_STATBOX" = "yes"; then
45279 cat >>confdefs.h
<<\_ACEOF
45280 #define wxUSE_STATBOX 1
45286 if test "$wxUSE_STATTEXT" = "yes"; then
45287 cat >>confdefs.h
<<\_ACEOF
45288 #define wxUSE_STATTEXT 1
45294 if test "$wxUSE_STATLINE" = "yes"; then
45295 cat >>confdefs.h
<<\_ACEOF
45296 #define wxUSE_STATLINE 1
45302 if test "$wxUSE_STATUSBAR" = "yes"; then
45303 cat >>confdefs.h
<<\_ACEOF
45304 #define wxUSE_NATIVE_STATUSBAR 1
45307 cat >>confdefs.h
<<\_ACEOF
45308 #define wxUSE_STATUSBAR 1
45313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45316 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45317 cat >>confdefs.h
<<\_ACEOF
45318 #define wxUSE_TAB_DIALOG 1
45323 if test "$wxUSE_TEXTCTRL" = "yes"; then
45324 cat >>confdefs.h
<<\_ACEOF
45325 #define wxUSE_TEXTCTRL 1
45329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45332 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45333 if test "$wxUSE_COCOA" = 1 ; then
45334 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45335 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45339 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45340 cat >>confdefs.h
<<\_ACEOF
45341 #define wxUSE_TOGGLEBTN 1
45348 if test "$wxUSE_TOOLBAR" = "yes"; then
45349 cat >>confdefs.h
<<\_ACEOF
45350 #define wxUSE_TOOLBAR 1
45355 if test "$wxUSE_UNIVERSAL" = "yes"; then
45356 wxUSE_TOOLBAR_NATIVE
="no"
45358 wxUSE_TOOLBAR_NATIVE
="yes"
45359 cat >>confdefs.h
<<\_ACEOF
45360 #define wxUSE_TOOLBAR_NATIVE 1
45365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45368 if test "$wxUSE_TOOLTIPS" = "yes"; then
45369 if test "$wxUSE_MOTIF" = 1; then
45370 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45371 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45373 if test "$wxUSE_UNIVERSAL" = "yes"; then
45374 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45375 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_TOOLTIPS 1
45385 if test "$wxUSE_TREEBOOK" = "yes"; then
45386 cat >>confdefs.h
<<\_ACEOF
45387 #define wxUSE_TREEBOOK 1
45393 if test "$wxUSE_TOOLBOOK" = "yes"; then
45394 cat >>confdefs.h
<<\_ACEOF
45395 #define wxUSE_TOOLBOOK 1
45401 if test "$wxUSE_TREECTRL" = "yes"; then
45402 if test "$wxUSE_IMAGLIST" = "yes"; then
45403 cat >>confdefs.h
<<\_ACEOF
45404 #define wxUSE_TREECTRL 1
45408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45410 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45411 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45415 if test "$wxUSE_POPUPWIN" = "yes"; then
45416 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45417 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45418 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45420 if test "$wxUSE_PM" = 1; then
45421 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45422 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45424 cat >>confdefs.h
<<\_ACEOF
45425 #define wxUSE_POPUPWIN 1
45428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45435 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45436 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45437 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45438 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45440 cat >>confdefs.h
<<\_ACEOF
45441 #define wxUSE_DIALUP_MANAGER 1
45444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45448 if test "$wxUSE_TIPWINDOW" = "yes"; then
45449 if test "$wxUSE_PM" = 1; then
45450 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45451 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45453 cat >>confdefs.h
<<\_ACEOF
45454 #define wxUSE_TIPWINDOW 1
45460 if test "$USES_CONTROLS" = 1; then
45461 cat >>confdefs.h
<<\_ACEOF
45462 #define wxUSE_CONTROLS 1
45468 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45469 cat >>confdefs.h
<<\_ACEOF
45470 #define wxUSE_ACCESSIBILITY 1
45473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45476 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45477 cat >>confdefs.h
<<\_ACEOF
45478 #define wxUSE_DRAGIMAGE 1
45481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45484 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45485 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45486 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45487 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45489 cat >>confdefs.h
<<\_ACEOF
45490 #define wxUSE_EXCEPTIONS 1
45493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45498 if test "$wxUSE_HTML" = "yes"; then
45499 cat >>confdefs.h
<<\_ACEOF
45500 #define wxUSE_HTML 1
45504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45505 if test "$wxUSE_MAC" = 1; then
45506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45509 if test "$wxUSE_WEBKIT" = "yes"; then
45510 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45511 old_CPPFLAGS
="$CPPFLAGS"
45512 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45513 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45514 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45515 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45516 echo $ECHO_N "(cached) $ECHO_C" >&6
45518 cat >conftest.
$ac_ext <<_ACEOF
45521 cat confdefs.h
>>conftest.
$ac_ext
45522 cat >>conftest.
$ac_ext <<_ACEOF
45523 /* end confdefs.h. */
45525 #include <Carbon/Carbon.h>
45526 #include <WebKit/WebKit.h>
45529 #include <WebKit/HIWebView.h>
45531 rm -f conftest.
$ac_objext
45532 if { (ac_try
="$ac_compile"
45533 case "(($ac_try" in
45534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45535 *) ac_try_echo=$ac_try;;
45537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45538 (eval "$ac_compile") 2>conftest.er1
45540 grep -v '^ *+' conftest.er1 >conftest.err
45542 cat conftest.err >&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } && {
45545 test -z "$ac_c_werror_flag" ||
45546 test ! -s conftest.err
45547 } && test -s conftest.$ac_objext; then
45548 ac_cv_header_WebKit_HIWebView_h=yes
45550 echo "$as_me: failed program was:" >&5
45551 sed 's/^/| /' conftest.$ac_ext >&5
45553 ac_cv_header_WebKit_HIWebView_h=no
45556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45558 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45559 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45560 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_WEBKIT 1
45566 WEBKIT_LINK="-framework WebKit"
45570 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45571 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45577 CPPFLAGS="$old_CPPFLAGS"
45578 elif test "$wxUSE_COCOA" = 1; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_WEBKIT 1
45589 if test "$wxUSE_XRC" = "yes"; then
45590 if test "$wxUSE_XML" != "yes"; then
45591 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45592 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_XRC 1
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45605 if test "$wxUSE_AUI" = "yes"; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_AUI 1
45611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45615 if test "$wxUSE_STC" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_STC 1
45621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45624 if test "$wxUSE_MENUS" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_MENUS 1
45629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45632 if test "$wxUSE_METAFILE" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_METAFILE 1
45639 if test "$wxUSE_MIMETYPE" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_MIMETYPE 1
45646 if test "$wxUSE_MINIFRAME" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_MINIFRAME 1
45653 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_SYSTEM_OPTIONS 1
45660 if test "$wxUSE_TASKBARICON" = "yes"; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_TASKBARICON 1
45665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45669 if test "$wxUSE_VALIDATORS" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_VALIDATORS 1
45674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45677 if test "$wxUSE_PALETTE" = "yes" ; then
45678 if test "$wxUSE_DFB" = 1; then
45679 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45680 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_PALETTE 1
45690 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45691 LIBS=" -lunicows $LIBS"
45695 if test "$wxUSE_RICHTEXT" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_RICHTEXT 1
45701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45705 if test "$wxUSE_IMAGE" = "yes" ; then
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_IMAGE 1
45711 if test "$wxUSE_GIF" = "yes" ; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_GIF 1
45718 if test "$wxUSE_PCX" = "yes" ; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_PCX 1
45725 if test "$wxUSE_TGA" = "yes" ; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_TGA 1
45732 if test "$wxUSE_IFF" = "yes" ; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_IFF 1
45739 if test "$wxUSE_PNM" = "yes" ; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_PNM 1
45746 if test "$wxUSE_XPM" = "yes" ; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_XPM 1
45753 if test "$wxUSE_ICO_CUR" = "yes" ; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_ICO_CUR 1
45762 if test "$wxUSE_ABOUTDLG" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_ABOUTDLG 1
45769 if test "$wxUSE_CHOICEDLG" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_CHOICEDLG 1
45776 if test "$wxUSE_COLOURDLG" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_COLOURDLG 1
45783 if test "$wxUSE_FILEDLG" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_FILEDLG 1
45790 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_FINDREPLDLG 1
45797 if test "$wxUSE_FONTDLG" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_FONTDLG 1
45804 if test "$wxUSE_DIRDLG" = "yes"; then
45805 if test "$wxUSE_TREECTRL" != "yes"; then
45806 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45807 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_DIRDLG 1
45816 if test "$wxUSE_MSGDLG" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_MSGDLG 1
45823 if test "$wxUSE_NUMBERDLG" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_NUMBERDLG 1
45830 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45831 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45832 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45833 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_PROGRESSDLG 1
45842 if test "$wxUSE_SPLASH" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_SPLASH 1
45847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45850 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45851 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45852 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45853 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_STARTUP_TIPS 1
45862 if test "$wxUSE_TEXTDLG" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_TEXTDLG 1
45869 if test "$wxUSE_WIZARDDLG" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_WIZARDDLG 1
45874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45878 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45879 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_OWNER_DRAWN 1
45888 if test "$wxUSE_MSW" = 1 ; then
45890 if test "$wxUSE_DC_CACHEING" = "yes"; then
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_DC_CACHEING 1
45897 if test "$wxUSE_DIB" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_WXDIB 1
45904 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45911 if test "$wxUSE_UXTHEME" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_UXTHEME 1
45921 if test "$USE_WIN32" = 1 ; then
45922 if test "$wxUSE_INICONF" = "yes"; then
45923 cat >>confdefs.h <<\_ACEOF
45924 #define wxUSE_INICONF 1
45929 if test "$wxUSE_REGKEY" = "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_REGKEY 1
45938 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45939 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45940 cat >>confdefs.h <<\_ACEOF
45941 #define wxUSE_GRAPHICS_CONTEXT 1
45944 elif test "$wxUSE_GTK" != 1; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_GRAPHICS_CONTEXT 1
45952 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45953 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45955 if test -n "$PKG_CONFIG"; then
45956 if test -n "$CAIRO_CFLAGS"; then
45957 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45959 if test -n "$PKG_CONFIG" && \
45960 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45961 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45964 (exit $ac_status); }; then
45965 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45973 if test -n "$PKG_CONFIG"; then
45974 if test -n "$CAIRO_LIBS"; then
45975 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45977 if test -n "$PKG_CONFIG" && \
45978 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45979 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); }; then
45983 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45994 if test $pkg_failed = yes; then
45996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45997 _pkg_short_errors_supported=yes
45999 _pkg_short_errors_supported=no
46001 if test $_pkg_short_errors_supported = yes; then
46002 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46004 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46006 # Put the nasty error message in config.log where it belongs
46007 echo "$CAIRO_PKG_ERRORS" >&5
46009 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46010 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46012 elif test $pkg_failed = untried; then
46013 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46014 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46017 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46018 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46019 { echo "$as_me:$LINENO: result: yes" >&5
46020 echo "${ECHO_T}yes" >&6; }
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_GRAPHICS_CONTEXT 1
46032 if test "$wxUSE_MEDIACTRL" = "yes"; then
46035 if test "$wxUSE_GTK" = 1; then
46036 wxUSE_GSTREAMER="no"
46038 GST_VERSION_MAJOR=0
46039 GST_VERSION_MINOR=10
46040 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46042 if test "$wxUSE_GSTREAMER8" = "no"; then
46045 { echo "$as_me:$LINENO: checking for GST" >&5
46046 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46048 if test -n "$PKG_CONFIG"; then
46049 if test -n "$GST_CFLAGS"; then
46050 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46052 if test -n "$PKG_CONFIG" && \
46053 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46054 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46057 (exit $ac_status); }; then
46058 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46066 if test -n "$PKG_CONFIG"; then
46067 if test -n "$GST_LIBS"; then
46068 pkg_cv_GST_LIBS="$GST_LIBS"
46070 if test -n "$PKG_CONFIG" && \
46071 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46072 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46075 (exit $ac_status); }; then
46076 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46087 if test $pkg_failed = yes; then
46089 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46090 _pkg_short_errors_supported=yes
46092 _pkg_short_errors_supported=no
46094 if test $_pkg_short_errors_supported = yes; then
46095 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46097 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46099 # Put the nasty error message in config.log where it belongs
46100 echo "$GST_PKG_ERRORS" >&5
46103 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46104 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46105 GST_VERSION_MINOR=8
46108 elif test $pkg_failed = untried; then
46110 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46111 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46112 GST_VERSION_MINOR=8
46116 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46117 GST_LIBS=$pkg_cv_GST_LIBS
46118 { echo "$as_me:$LINENO: result: yes" >&5
46119 echo "${ECHO_T}yes" >&6; }
46121 wxUSE_GSTREAMER="yes"
46122 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46126 GST_VERSION_MINOR=8
46129 if test $GST_VERSION_MINOR = "8"; then
46130 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46133 { echo "$as_me:$LINENO: checking for GST" >&5
46134 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46136 if test -n "$PKG_CONFIG"; then
46137 if test -n "$GST_CFLAGS"; then
46138 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46140 if test -n "$PKG_CONFIG" && \
46141 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46142 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); }; then
46146 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46154 if test -n "$PKG_CONFIG"; then
46155 if test -n "$GST_LIBS"; then
46156 pkg_cv_GST_LIBS="$GST_LIBS"
46158 if test -n "$PKG_CONFIG" && \
46159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46160 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46163 (exit $ac_status); }; then
46164 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46175 if test $pkg_failed = yes; then
46177 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46178 _pkg_short_errors_supported=yes
46180 _pkg_short_errors_supported=no
46182 if test $_pkg_short_errors_supported = yes; then
46183 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46185 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46187 # Put the nasty error message in config.log where it belongs
46188 echo "$GST_PKG_ERRORS" >&5
46191 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46192 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46194 elif test $pkg_failed = untried; then
46196 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46197 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46200 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46201 GST_LIBS=$pkg_cv_GST_LIBS
46202 { echo "$as_me:$LINENO: result: yes" >&5
46203 echo "${ECHO_T}yes" >&6; }
46204 wxUSE_GSTREAMER="yes"
46209 if test "$wxUSE_GSTREAMER" = "yes"; then
46210 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46211 EXTRALIBS_MEDIA="$GST_LIBS"
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_GSTREAMER 1
46222 if test $USE_MEDIA = 1; then
46223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_MEDIACTRL 1
46232 if test "$cross_compiling" = "yes"; then
46235 OSINFO=`uname
-s -r -m`
46236 OSINFO="\"$OSINFO\""
46239 cat >>confdefs.h <<_ACEOF
46240 #define WXWIN_OS_DESCRIPTION $OSINFO
46245 if test "x$prefix" != "xNONE"; then
46248 wxPREFIX=$ac_default_prefix
46251 cat >>confdefs.h <<_ACEOF
46252 #define wxINSTALL_PREFIX "$wxPREFIX"
46258 STD_BASE_LIBS="base"
46260 BUILT_WX_LIBS="base"
46261 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46263 if test "$wxUSE_SOCKETS" = "yes" ; then
46264 STD_BASE_LIBS="net $STD_BASE_LIBS"
46265 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46267 if test "$wxUSE_XML" = "yes" ; then
46268 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46269 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46272 if test "$wxUSE_GUI" = "yes"; then
46273 STD_GUI_LIBS="adv core"
46274 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46276 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46277 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46278 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46280 if test "$wxUSE_HTML" = "yes" ; then
46281 STD_GUI_LIBS="html $STD_GUI_LIBS"
46282 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46284 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46285 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46287 if test "$wxUSE_OPENGL" = "yes" ; then
46288 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46290 if test "$wxUSE_AUI" = "yes" ; then
46291 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46293 if test "$wxUSE_STC" = "yes" ; then
46294 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46296 if test "$wxUSE_XRC" = "yes" ; then
46297 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46298 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46309 if test "$wxUSE_MAC" = 1 ; then
46310 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46311 if test "$USE_DARWIN" = 1; then
46312 LDFLAGS="$LDFLAGS -framework QuickTime"
46314 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46317 if test "$USE_DARWIN" = 1; then
46318 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46320 LDFLAGS="$LDFLAGS -lCarbonLib"
46323 if test "$wxUSE_COCOA" = 1 ; then
46324 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46325 if test "$wxUSE_MEDIACTRL" = "yes"; then
46326 LDFLAGS="$LDFLAGS -framework QuickTime"
46329 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46330 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46333 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46335 if test "$wxUSE_GUI" = "yes"; then
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46339 erase event exec font image minimal mobile \
46340 mobile/wxedit mobile/styles render \
46341 shaped svg taborder vscroll widgets"
46343 if test "$wxUSE_MONOLITHIC" != "yes"; then
46344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46346 if test "$TOOLKIT" = "MSW"; then
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46348 if test "$wxUSE_UNIVERSAL" != "yes"; then
46349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46352 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46356 SAMPLES_SUBDIRS="console"
46360 if test "x$INTELCC" = "xyes" ; then
46361 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46362 elif test "$GCC" = yes ; then
46363 CWARNINGS="-Wall -Wundef"
46366 if test "x$INTELCXX" = "xyes" ; then
46367 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46368 elif test "$GXX" = yes ; then
46369 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46373 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46374 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46377 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46378 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46379 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46382 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46383 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46384 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46386 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46389 if test "x$MWCC" = "xyes"; then
46391 CC="$CC -cwd source -I-"
46392 CXX="$CXX -cwd source -I-"
46397 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46398 EXTRALIBS_XML="$EXPAT_LINK"
46399 EXTRALIBS_HTML="$MSPACK_LINK"
46400 EXTRALIBS_MEDIA="$GST_LIBS"
46401 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46402 if test "$wxUSE_GUI" = "yes"; then
46403 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46405 if test "$wxUSE_OPENGL" = "yes"; then
46406 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46409 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46411 WXCONFIG_LIBS="$LIBS"
46413 if test "$wxUSE_REGEX" = "builtin" ; then
46414 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46416 if test "$wxUSE_EXPAT" = "builtin" ; then
46417 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46419 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46420 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46422 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46423 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46425 if test "$wxUSE_LIBPNG" = "builtin" ; then
46426 wxconfig_3rdparty="png $wxconfig_3rdparty"
46428 if test "$wxUSE_ZLIB" = "builtin" ; then
46429 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46432 for i in $wxconfig_3rdparty ; do
46433 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46437 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46440 case "$wxUNIV_THEMES" in
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_ALL_THEMES 1
46449 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
46450 cat >>confdefs.h <<_ACEOF
46451 #define wxUSE_THEME_$t 1
46467 if test $wxUSE_MONOLITHIC = "yes" ; then
46473 if test $wxUSE_PLUGINS = "yes" ; then
46479 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46485 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46517 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A
-Z a
-z`
46528 TOOLKIT_DESC="GTK+"
46529 if test "$WXGTK2" = 1; then
46530 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46531 if test "$wxUSE_GTKPRINT" = "yes" ; then
46532 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46534 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46535 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46537 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46538 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46540 if test "$wxUSE_LIBHILDON" = "yes"; then
46541 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46544 if test "$TOOLKIT_EXTRA" != ""; then
46545 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46551 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46555 TOOLKIT_DESC="base only"
46559 if test "$wxUSE_WINE" = "yes"; then
46560 BAKEFILE_FORCE_PLATFORM=win32
46563 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46565 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46566 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46567 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46568 echo $ECHO_N "(cached) $ECHO_C" >&6
46571 echo '#include <stdio.h>
46572 const wchar_t test_var[] = L"awidetest";' > conftest.h
46574 echo '#include "conftest.h"
46577 printf("%ls", test_var);
46581 wx_cv_gcc_pch_bug="pch not supported"
46583 if $CXX conftest.h >/dev/null 2>&1
46587 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46589 if tr -dc a-z < conftest$PROGRAM_EXT |
46590 grep awidetest >/dev/null
46592 wx_cv_gcc_pch_bug=no
46594 wx_cv_gcc_pch_bug=yes
46599 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46602 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46603 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46605 if test "$wx_cv_gcc_pch_bug" = yes; then
46613 if test "x$BAKEFILE_HOST" = "x"; then
46614 if test "x${host}" = "x" ; then
46615 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46616 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46617 { (exit 1); exit 1; }; }
46620 BAKEFILE_HOST="${host}"
46623 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46625 if test -n "$ac_tool_prefix"; then
46626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46630 if test "${ac_cv_prog_RANLIB+set}" = set; then
46631 echo $ECHO_N "(cached) $ECHO_C" >&6
46633 if test -n "$RANLIB"; then
46634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46637 for as_dir in $PATH
46640 test -z "$as_dir" && as_dir=.
46641 for ac_exec_ext in '' $ac_executable_extensions; do
46642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46643 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46653 RANLIB=$ac_cv_prog_RANLIB
46654 if test -n "$RANLIB"; then
46655 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46656 echo "${ECHO_T}$RANLIB" >&6; }
46658 { echo "$as_me:$LINENO: result: no" >&5
46659 echo "${ECHO_T}no" >&6; }
46664 if test -z "$ac_cv_prog_RANLIB"; then
46665 ac_ct_RANLIB=$RANLIB
46666 # Extract the first word of "ranlib", so it can be a program name with args.
46667 set dummy ranlib; ac_word=$2
46668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46670 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46671 echo $ECHO_N "(cached) $ECHO_C" >&6
46673 if test -n "$ac_ct_RANLIB"; then
46674 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46677 for as_dir in $PATH
46680 test -z "$as_dir" && as_dir=.
46681 for ac_exec_ext in '' $ac_executable_extensions; do
46682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46683 ac_cv_prog_ac_ct_RANLIB="ranlib"
46684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46693 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46694 if test -n "$ac_ct_RANLIB"; then
46695 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46696 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46698 { echo "$as_me:$LINENO: result: no" >&5
46699 echo "${ECHO_T}no" >&6; }
46702 if test "x$ac_ct_RANLIB" = x; then
46705 case $cross_compiling:$ac_tool_warned in
46707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46708 whose name does not start with the host triplet. If you think this
46709 configuration is useful to you, please write to autoconf@gnu.org." >&5
46710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46711 whose name does not start with the host triplet. If you think this
46712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46713 ac_tool_warned=yes ;;
46715 RANLIB=$ac_ct_RANLIB
46718 RANLIB="$ac_cv_prog_RANLIB"
46721 # Find a good install program. We prefer a C program (faster),
46722 # so one script is as good as another. But avoid the broken or
46723 # incompatible versions:
46724 # SysV /etc/install, /usr/sbin/install
46725 # SunOS /usr/etc/install
46726 # IRIX /sbin/install
46728 # AmigaOS /C/install, which installs bootblocks on floppy discs
46729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46732 # OS/2's system install, which has a completely different semantic
46733 # ./install, which can be erroneously created by make from ./install.sh.
46734 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46735 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46736 if test -z "$INSTALL"; then
46737 if test "${ac_cv_path_install+set}" = set; then
46738 echo $ECHO_N "(cached) $ECHO_C" >&6
46740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46741 for as_dir in $PATH
46744 test -z "$as_dir" && as_dir=.
46745 # Account for people who put trailing slashes in PATH elements.
46747 ./ | .// | /cC/* | \
46748 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46749 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46752 # OSF1 and SCO ODT 3.0 have their own names for install.
46753 # Don't use installbsd from OSF since it installs stuff as root
46755 for ac_prog in ginstall scoinst install; do
46756 for ac_exec_ext in '' $ac_executable_extensions; do
46757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46758 if test $ac_prog = install &&
46759 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46760 # AIX install. It has an incompatible calling convention.
46762 elif test $ac_prog = install &&
46763 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46764 # program-specific install script used by HP pwplus--don't use.
46767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46780 if test "${ac_cv_path_install+set}" = set; then
46781 INSTALL=$ac_cv_path_install
46783 # As a last resort, use the slow shell script. Don't cache a
46784 # value for INSTALL within a source directory, because that will
46785 # break other packages using the cache if that directory is
46786 # removed, or if the value is a relative name.
46787 INSTALL=$ac_install_sh
46790 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46791 echo "${ECHO_T}$INSTALL" >&6; }
46793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46794 # It thinks the first close brace ends the variable substitution.
46795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46801 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46802 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46804 if test "$LN_S" = "ln -s"; then
46805 { echo "$as_me:$LINENO: result: yes" >&5
46806 echo "${ECHO_T}yes" >&6; }
46808 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46809 echo "${ECHO_T}no, using $LN_S" >&6; }
46813 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46814 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46815 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46816 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46817 echo $ECHO_N "(cached) $ECHO_C" >&6
46819 cat >conftest.make <<\_ACEOF
46822 @echo '@@@%%%=$(MAKE)=@@@%%%'
46824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46825 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46826 *@@@%%%=?*=@@@%%%*)
46827 eval ac_cv_prog_make_${ac_make}_set=yes;;
46829 eval ac_cv_prog_make_${ac_make}_set=no;;
46831 rm -f conftest.make
46833 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46834 { echo "$as_me:$LINENO: result: yes" >&5
46835 echo "${ECHO_T}yes" >&6; }
46838 { echo "$as_me:$LINENO: result: no" >&5
46839 echo "${ECHO_T}no" >&6; }
46840 SET_MAKE="MAKE=${MAKE-make}"
46845 if test "x$SUNCXX" = "xyes"; then
46847 AROPTIONS="-xar -o"
46849 elif test "x$SGICC" = "xyes"; then
46854 if test -n "$ac_tool_prefix"; then
46855 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46856 set dummy ${ac_tool_prefix}ar; ac_word=$2
46857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46859 if test "${ac_cv_prog_AR+set}" = set; then
46860 echo $ECHO_N "(cached) $ECHO_C" >&6
46862 if test -n "$AR"; then
46863 ac_cv_prog_AR="$AR" # Let the user override the test.
46865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46866 for as_dir in $PATH
46869 test -z "$as_dir" && as_dir=.
46870 for ac_exec_ext in '' $ac_executable_extensions; do
46871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46872 ac_cv_prog_AR="${ac_tool_prefix}ar"
46873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46883 if test -n "$AR"; then
46884 { echo "$as_me:$LINENO: result: $AR" >&5
46885 echo "${ECHO_T}$AR" >&6; }
46887 { echo "$as_me:$LINENO: result: no" >&5
46888 echo "${ECHO_T}no" >&6; }
46893 if test -z "$ac_cv_prog_AR"; then
46895 # Extract the first word of "ar", so it can be a program name with args.
46896 set dummy ar; ac_word=$2
46897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46899 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46900 echo $ECHO_N "(cached) $ECHO_C" >&6
46902 if test -n "$ac_ct_AR"; then
46903 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46906 for as_dir in $PATH
46909 test -z "$as_dir" && as_dir=.
46910 for ac_exec_ext in '' $ac_executable_extensions; do
46911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46912 ac_cv_prog_ac_ct_AR="ar"
46913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46922 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46923 if test -n "$ac_ct_AR"; then
46924 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46925 echo "${ECHO_T}$ac_ct_AR" >&6; }
46927 { echo "$as_me:$LINENO: result: no" >&5
46928 echo "${ECHO_T}no" >&6; }
46931 if test "x$ac_ct_AR" = x; then
46934 case $cross_compiling:$ac_tool_warned in
46936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46937 whose name does not start with the host triplet. If you think this
46938 configuration is useful to you, please write to autoconf@gnu.org." >&5
46939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46940 whose name does not start with the host triplet. If you think this
46941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46942 ac_tool_warned=yes ;;
46947 AR="$ac_cv_prog_AR"
46954 if test -n "$ac_tool_prefix"; then
46955 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46956 set dummy ${ac_tool_prefix}strip; ac_word=$2
46957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46959 if test "${ac_cv_prog_STRIP+set}" = set; then
46960 echo $ECHO_N "(cached) $ECHO_C" >&6
46962 if test -n "$STRIP"; then
46963 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46966 for as_dir in $PATH
46969 test -z "$as_dir" && as_dir=.
46970 for ac_exec_ext in '' $ac_executable_extensions; do
46971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46972 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46982 STRIP=$ac_cv_prog_STRIP
46983 if test -n "$STRIP"; then
46984 { echo "$as_me:$LINENO: result: $STRIP" >&5
46985 echo "${ECHO_T}$STRIP" >&6; }
46987 { echo "$as_me:$LINENO: result: no" >&5
46988 echo "${ECHO_T}no" >&6; }
46993 if test -z "$ac_cv_prog_STRIP"; then
46995 # Extract the first word of "strip", so it can be a program name with args.
46996 set dummy strip; ac_word=$2
46997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46999 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47000 echo $ECHO_N "(cached) $ECHO_C" >&6
47002 if test -n "$ac_ct_STRIP"; then
47003 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47006 for as_dir in $PATH
47009 test -z "$as_dir" && as_dir=.
47010 for ac_exec_ext in '' $ac_executable_extensions; do
47011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47012 ac_cv_prog_ac_ct_STRIP="strip"
47013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47022 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47023 if test -n "$ac_ct_STRIP"; then
47024 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47025 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47027 { echo "$as_me:$LINENO: result: no" >&5
47028 echo "${ECHO_T}no" >&6; }
47031 if test "x$ac_ct_STRIP" = x; then
47034 case $cross_compiling:$ac_tool_warned in
47036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47037 whose name does not start with the host triplet. If you think this
47038 configuration is useful to you, please write to autoconf@gnu.org." >&5
47039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47040 whose name does not start with the host triplet. If you think this
47041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47042 ac_tool_warned=yes ;;
47047 STRIP="$ac_cv_prog_STRIP"
47050 if test -n "$ac_tool_prefix"; then
47051 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47052 set dummy ${ac_tool_prefix}nm; ac_word=$2
47053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47055 if test "${ac_cv_prog_NM+set}" = set; then
47056 echo $ECHO_N "(cached) $ECHO_C" >&6
47058 if test -n "$NM"; then
47059 ac_cv_prog_NM="$NM" # Let the user override the test.
47061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47062 for as_dir in $PATH
47065 test -z "$as_dir" && as_dir=.
47066 for ac_exec_ext in '' $ac_executable_extensions; do
47067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47068 ac_cv_prog_NM="${ac_tool_prefix}nm"
47069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47079 if test -n "$NM"; then
47080 { echo "$as_me:$LINENO: result: $NM" >&5
47081 echo "${ECHO_T}$NM" >&6; }
47083 { echo "$as_me:$LINENO: result: no" >&5
47084 echo "${ECHO_T}no" >&6; }
47089 if test -z "$ac_cv_prog_NM"; then
47091 # Extract the first word of "nm", so it can be a program name with args.
47092 set dummy nm; ac_word=$2
47093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47095 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47096 echo $ECHO_N "(cached) $ECHO_C" >&6
47098 if test -n "$ac_ct_NM"; then
47099 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47102 for as_dir in $PATH
47105 test -z "$as_dir" && as_dir=.
47106 for ac_exec_ext in '' $ac_executable_extensions; do
47107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47108 ac_cv_prog_ac_ct_NM="nm"
47109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47118 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47119 if test -n "$ac_ct_NM"; then
47120 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47121 echo "${ECHO_T}$ac_ct_NM" >&6; }
47123 { echo "$as_me:$LINENO: result: no" >&5
47124 echo "${ECHO_T}no" >&6; }
47127 if test "x$ac_ct_NM" = x; then
47130 case $cross_compiling:$ac_tool_warned in
47132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47133 whose name does not start with the host triplet. If you think this
47134 configuration is useful to you, please write to autoconf@gnu.org." >&5
47135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47136 whose name does not start with the host triplet. If you think this
47137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47138 ac_tool_warned=yes ;;
47143 NM="$ac_cv_prog_NM"
47147 case ${BAKEFILE_HOST} in
47149 INSTALL_DIR="mkdir -p"
47152 INSTALL_DIR='$(INSTALL) -d'
47158 case ${BAKEFILE_HOST} in
47159 *-*-cygwin* | *-*-mingw32* )
47160 LDFLAGS_GUI="-mwindows"
47166 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47167 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47168 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47169 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47173 egrep -s GNU > /dev/null); then
47174 bakefile_cv_prog_makeisgnu="yes"
47176 bakefile_cv_prog_makeisgnu="no"
47180 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47181 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47183 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47200 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47201 case "${BAKEFILE_HOST}" in
47208 *-pc-os2_emx | *-pc-os2-emx )
47218 powerpc-apple-macos* )
47227 case "$BAKEFILE_FORCE_PLATFORM" in
47262 # Check whether --enable-omf was given.
47263 if test "${enable_omf+set}" = set; then
47264 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47268 case "${BAKEFILE_HOST}" in
47270 if test "x$GCC" = "xyes"; then
47271 CFLAGS="$CFLAGS -fno-common"
47272 CXXFLAGS="$CXXFLAGS -fno-common"
47274 if test "x$XLCC" = "xyes"; then
47275 CFLAGS="$CFLAGS -qnocommon"
47276 CXXFLAGS="$CXXFLAGS -qnocommon"
47280 *-pc-os2_emx | *-pc-os2-emx )
47281 if test "x$bk_os2_use_omf" = "xyes" ; then
47284 LDFLAGS="-Zomf $LDFLAGS"
47285 CFLAGS="-Zomf $CFLAGS"
47286 CXXFLAGS="-Zomf $CXXFLAGS"
47294 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47300 SO_SUFFIX_MODULE="so"
47305 DLLPREFIX_MODULE=""
47309 case "${BAKEFILE_HOST}" in
47312 SO_SUFFIX_MODULE="sl"
47316 SO_SUFFIX_MODULE="a"
47320 SO_SUFFIX_MODULE="dll"
47321 DLLIMP_SUFFIX="dll.a"
47328 SO_SUFFIX_MODULE="dll"
47329 DLLIMP_SUFFIX="dll.a"
47339 *-pc-os2_emx | *-pc-os2-emx )
47341 SO_SUFFIX_MODULE="dll"
47342 DLLIMP_SUFFIX=$OS2_LIBEXT
47346 LIBEXT=".$OS2_LIBEXT"
47351 SO_SUFFIX_MODULE="bundle"
47355 if test "x$DLLIMP_SUFFIX" = "x" ; then
47356 DLLIMP_SUFFIX="$SO_SUFFIX"
47371 if test "x$GCC" = "xyes"; then
47375 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47376 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47379 case "${BAKEFILE_HOST}" in
47381 if test "x$GCC" != "xyes"; then
47382 LDFLAGS="$LDFLAGS -L/usr/lib"
47384 SHARED_LD_CC="${CC} -b -o"
47385 SHARED_LD_CXX="${CXX} -b -o"
47391 if test "$INTELCC" = "yes"; then
47393 elif test "x$SUNCXX" = "xyes"; then
47394 SHARED_LD_CC="${CC} -G -o"
47395 SHARED_LD_CXX="${CXX} -G -o"
47401 if test "x$SUNCXX" = xyes ; then
47402 SHARED_LD_CC="${CC} -G -o"
47403 SHARED_LD_CXX="${CXX} -G -o"
47411 cat <<EOF >shared-ld-sh
47413 #-----------------------------------------------------------------------------
47414 #-- Name: distrib/mac/shared-ld-sh
47415 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47416 #-- Author: Gilles Depeyrot
47417 #-- Copyright: (c) 2002 Gilles Depeyrot
47418 #-- Licence: any use permitted
47419 #-----------------------------------------------------------------------------
47424 linking_flag="-dynamiclib"
47425 ldargs="-r -keep_private_externs -nostdlib"
47427 while test ${D}# -gt 0; do
47434 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47435 # collect these options and values
47436 args="${D}{args} ${D}1 ${D}2"
47441 # collect these load args
47442 ldargs="${D}{ldargs} ${D}1"
47445 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47446 # collect these options
47447 args="${D}{args} ${D}1"
47450 -dynamiclib|-bundle)
47451 linking_flag="${D}1"
47455 echo "shared-ld: unhandled option '${D}1'"
47459 *.o | *.a | *.dylib)
47460 # collect object files
47461 objects="${D}{objects} ${D}1"
47465 echo "shared-ld: unhandled argument '${D}1'"
47476 # Link one module containing all the others
47478 if test ${D}{verbose} = 1; then
47479 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47481 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47485 # Link the shared library from the single module created, but only if the
47486 # previous command didn't fail:
47488 if test ${D}{status} = 0; then
47489 if test ${D}{verbose} = 1; then
47490 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47492 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47497 # Remove intermediate module
47499 rm -f master.${D}${D}.o
47504 chmod +x shared-ld-sh
47506 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47507 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47510 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47511 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47512 if test "${bakefile_cv_gcc31+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47516 cat >conftest.$ac_ext <<_ACEOF
47519 cat confdefs.h >>conftest.$ac_ext
47520 cat >>conftest.$ac_ext <<_ACEOF
47521 /* end confdefs.h. */
47527 #if (__GNUC__ < 3) || \
47528 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47536 rm -f conftest.$ac_objext
47537 if { (ac_try="$ac_compile"
47538 case "(($ac_try" in
47539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47540 *) ac_try_echo
=$ac_try;;
47542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47543 (eval "$ac_compile") 2>conftest.er1
47545 grep -v '^ *+' conftest.er1
>conftest.err
47547 cat conftest.err
>&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); } && {
47550 test -z "$ac_c_werror_flag" ||
47551 test ! -s conftest.err
47552 } && test -s conftest.
$ac_objext; then
47554 bakefile_cv_gcc31
=yes
47557 echo "$as_me: failed program was:" >&5
47558 sed 's/^/| /' conftest.
$ac_ext >&5
47561 bakefile_cv_gcc31
=no
47566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47569 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47570 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47571 if test "$bakefile_cv_gcc31" = "no"; then
47572 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47573 SHARED_LD_CXX
="$SHARED_LD_CC"
47575 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47576 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47579 if test "x$GCC" == "xyes"; then
47580 PIC_FLAG
="-dynamic -fPIC"
47582 if test "x$XLCC" = "xyes"; then
47583 PIC_FLAG
="-dynamic -DPIC"
47588 if test "x$GCC" = "xyes"; then
47591 case "${BAKEFILE_HOST}" in
47593 LD_EXPFULL
="-Wl,-bexpfull"
47597 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47598 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47600 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47601 set dummy makeC
++SharedLib
; ac_word
=$2
47602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47604 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47605 echo $ECHO_N "(cached) $ECHO_C" >&6
47607 if test -n "$AIX_CXX_LD"; then
47608 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47611 for as_dir
in $PATH
47614 test -z "$as_dir" && as_dir
=.
47615 for ac_exec_ext
in '' $ac_executable_extensions; do
47616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47617 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47625 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47628 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47629 if test -n "$AIX_CXX_LD"; then
47630 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47631 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47633 { echo "$as_me:$LINENO: result: no" >&5
47634 echo "${ECHO_T}no" >&6; }
47638 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47639 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47644 SHARED_LD_CC
="${LD} -nostart -o"
47645 SHARED_LD_CXX
="${LD} -nostart -o"
47649 if test "x$GCC" != "xyes"; then
47654 *-*-cygwin* | *-*-mingw32* )
47656 SHARED_LD_CC
="\$(CC) -shared -o"
47657 SHARED_LD_CXX
="\$(CXX) -shared -o"
47661 *-pc-os2_emx | *-pc-os2-emx )
47662 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47663 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47667 cat <<EOF >dllar.sh
47670 # dllar - a tool to build both a .dll and an .a file
47671 # from a set of object (.o) files for EMX/OS2.
47673 # Written by Andrew Zabolotny, bit@freya.etu.ru
47674 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47676 # This script will accept a set of files on the command line.
47677 # All the public symbols from the .o files will be exported into
47678 # a .DEF file, then linker will be run (through gcc) against them to
47679 # build a shared library consisting of all given .o files. All libraries
47680 # (.a) will be first decompressed into component .o files then act as
47681 # described above. You can optionally give a description (-d "description")
47682 # which will be put into .DLL. To see the list of accepted options (as well
47683 # as command-line format) simply run this program without options. The .DLL
47684 # is built to be imported by name (there is no guarantee that new versions
47685 # of the library you build will have same ordinals for same symbols).
47687 # dllar is free software; you can redistribute it and/or modify
47688 # it under the terms of the GNU General Public License as published by
47689 # the Free Software Foundation; either version 2, or (at your option)
47690 # any later version.
47692 # dllar is distributed in the hope that it will be useful,
47693 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47694 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47695 # GNU General Public License for more details.
47697 # You should have received a copy of the GNU General Public License
47698 # along with dllar; see the file COPYING. If not, write to the Free
47699 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47702 # To successfuly run this program you will need:
47703 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47704 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47706 # (used to build the .dll)
47708 # (used to create .def file from .o files)
47710 # (used to create .a file from .def file)
47711 # - GNU text utilites (cat, sort, uniq)
47712 # used to process emxexp output
47713 # - GNU file utilities (mv, rm)
47715 # - lxlite (optional, see flag below)
47716 # (used for general .dll cleanup)
47723 # basnam, variant of basename, which does _not_ remove the path, _iff_
47724 # second argument (suffix to remove) is given
47728 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47731 echo ${D}1 | sed 's/'${D}2'${D}//'
47734 echo "error in basnam ${D}*"
47740 # Cleanup temporary files and output
47743 for i in ${D}inputFiles ; do
47746 rm -rf \`basnam ${D}i !\`
47753 # Kill result in case of failure as there is just to many stupid make/nmake
47754 # things out there which doesn't do this.
47755 if [ ${D}# -eq 0 ]; then
47756 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47760 # Print usage and exit script with rc=1.
47762 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47763 echo ' [-name-mangler-script script.sh]'
47764 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47765 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47766 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47767 echo ' [*.o] [*.a]'
47768 echo '*> "output_file" should have no extension.'
47769 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47770 echo ' The import library name is derived from this and is set to "name".a,'
47771 echo ' unless overridden by -import'
47772 echo '*> "importlib_name" should have no extension.'
47773 echo ' If it has the .o, or .a extension, it is automatically removed.'
47774 echo ' This name is used as the import library name and may be longer and'
47775 echo ' more descriptive than the DLL name which has to follow the old '
47776 echo ' 8.3 convention of FAT.'
47777 echo '*> "script.sh may be given to override the output_file name by a'
47778 echo ' different name. It is mainly useful if the regular make process'
47779 echo ' of some package does not take into account OS/2 restriction of'
47780 echo ' DLL name lengths. It takes the importlib name as input and is'
47781 echo ' supposed to procude a shorter name as output. The script should'
47782 echo ' expect to get importlib_name without extension and should produce'
47783 echo ' a (max.) 8 letter name without extension.'
47784 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47785 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47786 echo ' These flags will be put at the start of GCC command line.'
47787 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47788 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47789 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47790 echo ' If the last character of a symbol is "*", all symbols beginning'
47791 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47792 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47793 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47794 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47795 echo ' C runtime DLLs.'
47796 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47797 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47798 echo ' unchanged to GCC at the end of command line.'
47799 echo '*> If you create a DLL from a library and you do not specify -o,'
47800 echo ' the basename for DLL and import library will be set to library name,'
47801 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47802 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47803 echo ' library will be renamed into gcc_s.a.'
47806 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47807 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47812 # Execute a command.
47813 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47814 # @Uses Whatever CleanUp() uses.
47820 if [ ${D}rcCmd -ne 0 ]; then
47821 echo "command failed, exit code="${D}rcCmd
47836 CFLAGS="-s -Zcrtdll"
47838 EXPORT_BY_ORDINALS=0
47843 case ${D}curDirS in
47847 curDirS=${D}{curDirS}"/"
47850 # Parse commandline
47853 while [ ${D}1 ]; do
47856 EXPORT_BY_ORDINALS=1;
47866 -name-mangler-script)
47887 exclude_symbols=${D}{exclude_symbols}${D}1" "
47891 library_flags=${D}{library_flags}${D}1" "
47910 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47913 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47914 if [ ${D}omfLinking -eq 1 ]; then
47915 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47917 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47922 if [ ${D}libsToLink -ne 0 ]; then
47923 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47925 for file in ${D}1 ; do
47926 if [ -f ${D}file ]; then
47927 inputFiles="${D}{inputFiles} ${D}file"
47931 if [ ${D}found -eq 0 ]; then
47932 echo "ERROR: No file(s) found: "${D}1
47939 done # iterate cmdline words
47942 if [ -z "${D}inputFiles" ]; then
47943 echo "dllar: no input files"
47947 # Now extract all .o files from .a files
47949 for file in ${D}inputFiles ; do
47960 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47965 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47967 if [ ${D}? -ne 0 ]; then
47968 echo "Failed to create subdirectory ./${D}dirname"
47972 # Append '!' to indicate archive
47973 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47974 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47977 for subfile in ${D}dirname/*.o* ; do
47978 if [ -f ${D}subfile ]; then
47980 if [ -s ${D}subfile ]; then
47981 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47982 newInputFiles="${D}newInputFiles ${D}subfile"
47986 if [ ${D}found -eq 0 ]; then
47987 echo "WARNING: there are no files in archive \\'${D}file\\'"
47991 newInputFiles="${D}{newInputFiles} ${D}file"
47995 inputFiles="${D}newInputFiles"
47997 # Output filename(s).
47999 if [ -z ${D}outFile ]; then
48001 set outFile ${D}inputFiles; outFile=${D}2
48004 # If it is an archive, remove the '!' and the '_%' suffixes
48005 case ${D}outFile in
48007 outFile=\`basnam ${D}outFile _%!\`
48012 case ${D}outFile in
48014 outFile=\`basnam ${D}outFile .dll\`
48017 outFile=\`basnam ${D}outFile .DLL\`
48020 outFile=\`basnam ${D}outFile .o\`
48023 outFile=\`basnam ${D}outFile .obj\`
48026 outFile=\`basnam ${D}outFile .a\`
48029 outFile=\`basnam ${D}outFile .lib\`
48034 case ${D}outimpFile in
48036 outimpFile=\`basnam ${D}outimpFile .a\`
48039 outimpFile=\`basnam ${D}outimpFile .lib\`
48044 if [ -z ${D}outimpFile ]; then
48045 outimpFile=${D}outFile
48047 defFile="${D}{outFile}.def"
48048 arcFile="${D}{outimpFile}.a"
48049 arcFile2="${D}{outimpFile}.lib"
48051 #create ${D}dllFile as something matching 8.3 restrictions,
48052 if [ -z ${D}renameScript ] ; then
48053 dllFile="${D}outFile"
48055 dllFile=\`${D}renameScript ${D}outimpFile\`
48058 if [ ${D}do_backup -ne 0 ] ; then
48059 if [ -f ${D}arcFile ] ; then
48060 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48062 if [ -f ${D}arcFile2 ] ; then
48063 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48067 # Extract public symbols from all the object files.
48068 tmpdefFile=${D}{defFile}_%
48069 rm -f ${D}tmpdefFile
48070 for file in ${D}inputFiles ; do
48075 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48080 # Create the def file.
48082 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48083 dllFile="${D}{dllFile}.dll"
48084 if [ ! -z ${D}description ]; then
48085 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48087 echo "EXPORTS" >> ${D}defFile
48089 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48090 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48092 # Checks if the export is ok or not.
48093 for word in ${D}exclude_symbols; do
48094 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48095 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48099 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48100 sed "=" < ${D}tmpdefFile | \\
48104 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48106 ' > ${D}{tmpdefFile}%
48107 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48109 rm -f ${D}{tmpdefFile}%
48111 cat ${D}tmpdefFile >> ${D}defFile
48112 rm -f ${D}tmpdefFile
48114 # Do linking, create implib, and apply lxlite.
48116 for file in ${D}inputFiles ; do
48121 gccCmdl="${D}gccCmdl ${D}file"
48125 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48126 touch "${D}{outFile}.dll"
48128 doCommand "emximp -o ${D}arcFile ${D}defFile"
48129 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48131 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48134 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48136 doCommand "emxomf -s -l ${D}arcFile"
48146 powerpc
-apple-macos* | \
48147 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48157 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48158 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48159 { (exit 1); exit 1; }; }
48162 if test "x$PIC_FLAG" != "x" ; then
48163 PIC_FLAG
="$PIC_FLAG -DPIC"
48166 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48167 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48169 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48170 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48189 case "${BAKEFILE_HOST}" in
48190 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48191 if test "x$SUNCXX" = "xyes"; then
48194 SONAME_FLAG
="-Wl,-soname,"
48229 # Check whether --enable-dependency-tracking was given.
48230 if test "${enable_dependency_tracking+set}" = set; then
48231 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48235 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48236 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48239 if test "x$bk_use_trackdeps" = "xno" ; then
48241 { echo "$as_me:$LINENO: result: disabled" >&5
48242 echo "${ECHO_T}disabled" >&6; }
48246 if test "x$GCC" = "xyes"; then
48248 case "${BAKEFILE_HOST}" in
48250 DEPSFLAG
="-no-cpp-precomp -MMD"
48256 { echo "$as_me:$LINENO: result: gcc" >&5
48257 echo "${ECHO_T}gcc" >&6; }
48258 elif test "x$MWCC" = "xyes"; then
48261 { echo "$as_me:$LINENO: result: mwcc" >&5
48262 echo "${ECHO_T}mwcc" >&6; }
48263 elif test "x$SUNCC" = "xyes"; then
48266 { echo "$as_me:$LINENO: result: Sun cc" >&5
48267 echo "${ECHO_T}Sun cc" >&6; }
48268 elif test "x$SGICC" = "xyes"; then
48271 { echo "$as_me:$LINENO: result: SGI cc" >&5
48272 echo "${ECHO_T}SGI cc" >&6; }
48273 elif test "x$HPCC" = "xyes"; then
48276 { echo "$as_me:$LINENO: result: HP cc" >&5
48277 echo "${ECHO_T}HP cc" >&6; }
48278 elif test "x$COMPAQCC" = "xyes"; then
48281 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48282 echo "${ECHO_T}Compaq cc" >&6; }
48285 { echo "$as_me:$LINENO: result: none" >&5
48286 echo "${ECHO_T}none" >&6; }
48289 if test $DEPS_TRACKING = 1 ; then
48295 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48296 # script. It is used to track C/C++ files dependencies in portable way.
48298 # Permission is given to use this file in any way.
48300 DEPSMODE=${DEPSMODE}
48302 DEPSFLAG="${DEPSFLAG}"
48304 mkdir -p ${D}DEPSDIR
48306 if test ${D}DEPSMODE = gcc ; then
48307 ${D}* ${D}{DEPSFLAG}
48309 if test ${D}{status} != 0 ; then
48312 # move created file to the location we want it in:
48313 while test ${D}# -gt 0; do
48327 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48328 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48329 if test -f ${D}depfile ; then
48330 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48333 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48334 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48335 if test ! -f ${D}depfile ; then
48336 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48337 depfile="${D}objfile.d"
48339 if test -f ${D}depfile ; then
48340 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48345 elif test ${D}DEPSMODE = mwcc ; then
48346 ${D}* || exit ${D}?
48347 # Run mwcc again with -MM and redirect into the dep file we want
48348 # NOTE: We can't use shift here because we need ${D}* to be valid
48350 for arg in ${D}* ; do
48351 if test "${D}prevarg" = "-o"; then
48364 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48366 elif test ${D}DEPSMODE = unixcc; then
48367 ${D}* || exit ${D}?
48368 # Run compiler again with deps flag and redirect into the dep file.
48369 # It doesn't work if the '-o FILE' option is used, but without it the
48370 # dependency file will contain the wrong name for the object. So it is
48371 # removed from the command line, and the dep file is fixed with sed.
48373 while test ${D}# -gt 0; do
48380 eval arg${D}#=\\${D}1
48381 cmd="${D}cmd \\${D}arg${D}#"
48386 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48395 BK_DEPS
="`pwd`/bk-deps"
48403 case ${BAKEFILE_HOST} in
48404 *-*-cygwin* | *-*-mingw32* )
48405 if test -n "$ac_tool_prefix"; then
48406 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48407 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48410 if test "${ac_cv_prog_WINDRES+set}" = set; then
48411 echo $ECHO_N "(cached) $ECHO_C" >&6
48413 if test -n "$WINDRES"; then
48414 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48417 for as_dir
in $PATH
48420 test -z "$as_dir" && as_dir
=.
48421 for ac_exec_ext
in '' $ac_executable_extensions; do
48422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48423 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48433 WINDRES
=$ac_cv_prog_WINDRES
48434 if test -n "$WINDRES"; then
48435 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48436 echo "${ECHO_T}$WINDRES" >&6; }
48438 { echo "$as_me:$LINENO: result: no" >&5
48439 echo "${ECHO_T}no" >&6; }
48444 if test -z "$ac_cv_prog_WINDRES"; then
48445 ac_ct_WINDRES
=$WINDRES
48446 # Extract the first word of "windres", so it can be a program name with args.
48447 set dummy windres
; ac_word
=$2
48448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48450 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48451 echo $ECHO_N "(cached) $ECHO_C" >&6
48453 if test -n "$ac_ct_WINDRES"; then
48454 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48457 for as_dir
in $PATH
48460 test -z "$as_dir" && as_dir
=.
48461 for ac_exec_ext
in '' $ac_executable_extensions; do
48462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48463 ac_cv_prog_ac_ct_WINDRES
="windres"
48464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48473 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48474 if test -n "$ac_ct_WINDRES"; then
48475 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48476 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48478 { echo "$as_me:$LINENO: result: no" >&5
48479 echo "${ECHO_T}no" >&6; }
48482 if test "x$ac_ct_WINDRES" = x
; then
48485 case $cross_compiling:$ac_tool_warned in
48487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48488 whose name does not start with the host triplet. If you think this
48489 configuration is useful to you, please write to autoconf@gnu.org." >&5
48490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48491 whose name does not start with the host triplet. If you think this
48492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48493 ac_tool_warned
=yes ;;
48495 WINDRES
=$ac_ct_WINDRES
48498 WINDRES
="$ac_cv_prog_WINDRES"
48503 *-*-darwin* | powerpc
-apple-macos* )
48504 # Extract the first word of "Rez", so it can be a program name with args.
48505 set dummy Rez
; ac_word
=$2
48506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48508 if test "${ac_cv_prog_REZ+set}" = set; then
48509 echo $ECHO_N "(cached) $ECHO_C" >&6
48511 if test -n "$REZ"; then
48512 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48515 for as_dir
in $PATH
48518 test -z "$as_dir" && as_dir
=.
48519 for ac_exec_ext
in '' $ac_executable_extensions; do
48520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48521 ac_cv_prog_REZ
="Rez"
48522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48529 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48532 REZ
=$ac_cv_prog_REZ
48533 if test -n "$REZ"; then
48534 { echo "$as_me:$LINENO: result: $REZ" >&5
48535 echo "${ECHO_T}$REZ" >&6; }
48537 { echo "$as_me:$LINENO: result: no" >&5
48538 echo "${ECHO_T}no" >&6; }
48542 # Extract the first word of "SetFile", so it can be a program name with args.
48543 set dummy SetFile
; ac_word
=$2
48544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48546 if test "${ac_cv_prog_SETFILE+set}" = set; then
48547 echo $ECHO_N "(cached) $ECHO_C" >&6
48549 if test -n "$SETFILE"; then
48550 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48553 for as_dir
in $PATH
48556 test -z "$as_dir" && as_dir
=.
48557 for ac_exec_ext
in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48559 ac_cv_prog_SETFILE
="SetFile"
48560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48567 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48570 SETFILE
=$ac_cv_prog_SETFILE
48571 if test -n "$SETFILE"; then
48572 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48573 echo "${ECHO_T}$SETFILE" >&6; }
48575 { echo "$as_me:$LINENO: result: no" >&5
48576 echo "${ECHO_T}no" >&6; }
48588 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48591 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48595 # Check whether --enable-precomp-headers was given.
48596 if test "${enable_precomp_headers+set}" = set; then
48597 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48606 case ${BAKEFILE_HOST} in
48612 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48613 if test "x$GCC" = "xyes"; then
48614 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48615 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48616 cat >conftest.
$ac_ext <<_ACEOF
48619 cat confdefs.h
>>conftest.
$ac_ext
48620 cat >>conftest.
$ac_ext <<_ACEOF
48621 /* end confdefs.h. */
48627 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48628 There is no PCH support
48631 There is no PCH support
48633 #if (__GNUC__ == 3) && \
48634 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48635 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48636 ( defined(__INTEL_COMPILER) )
48637 There is no PCH support
48644 rm -f conftest.
$ac_objext
48645 if { (ac_try
="$ac_compile"
48646 case "(($ac_try" in
48647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48648 *) ac_try_echo=$ac_try;;
48650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48651 (eval "$ac_compile") 2>conftest.er1
48653 grep -v '^ *+' conftest.er1 >conftest.err
48655 cat conftest.err >&5
48656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48657 (exit $ac_status); } && {
48658 test -z "$ac_c_werror_flag" ||
48659 test ! -s conftest.err
48660 } && test -s conftest.$ac_objext; then
48662 { echo "$as_me:$LINENO: result: yes" >&5
48663 echo "${ECHO_T}yes" >&6; }
48667 echo "$as_me: failed program was:" >&5
48668 sed 's/^/| /' conftest.$ac_ext >&5
48671 cat >conftest.$ac_ext <<_ACEOF
48674 cat confdefs.h >>conftest.$ac_ext
48675 cat >>conftest.$ac_ext <<_ACEOF
48676 /* end confdefs.h. */
48682 #if !defined(__INTEL_COMPILER) || \
48683 (__INTEL_COMPILER < 800)
48684 There is no PCH support
48691 rm -f conftest.$ac_objext
48692 if { (ac_try="$ac_compile"
48693 case "(($ac_try" in
48694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48695 *) ac_try_echo
=$ac_try;;
48697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48698 (eval "$ac_compile") 2>conftest.er1
48700 grep -v '^ *+' conftest.er1
>conftest.err
48702 cat conftest.err
>&5
48703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704 (exit $ac_status); } && {
48705 test -z "$ac_c_werror_flag" ||
48706 test ! -s conftest.err
48707 } && test -s conftest.
$ac_objext; then
48709 { echo "$as_me:$LINENO: result: yes" >&5
48710 echo "${ECHO_T}yes" >&6; }
48714 echo "$as_me: failed program was:" >&5
48715 sed 's/^/| /' conftest.
$ac_ext >&5
48718 { echo "$as_me:$LINENO: result: no" >&5
48719 echo "${ECHO_T}no" >&6; }
48723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48728 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48732 cat <<EOF >bk-make-pch
48735 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48736 # script. It is used to generated precompiled headers.
48738 # Permission is given to use this file in any way.
48748 while test ${D}{#} -gt 0; do
48752 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48753 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48754 headerfile="${D}{incdir}/${D}{header}"
48757 -use-pch|-use_pch )
48762 if test ${D}add_to_cmdline = 1 ; then
48763 compiler="${D}{compiler} ${D}{1}"
48768 if test "x${D}{headerfile}" = "x" ; then
48769 echo "error: can't find header ${D}{header} in include paths" >&2
48771 if test -f ${D}{outfile} ; then
48772 rm -f ${D}{outfile}
48774 mkdir -p \`dirname ${D}{outfile}\`
48776 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48778 if test "x${GCC_PCH}" = "x1" ; then
48779 # can do this because gcc is >= 3.4:
48780 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48781 elif test "x${ICC_PCH}" = "x1" ; then
48782 filename=pch_gen-${D}${D}
48783 file=${D}{filename}.c
48784 dfile=${D}{filename}.d
48785 cat > ${D}file <<EOT
48786 #include "${D}header"
48788 # using -MF icc complains about differing command lines in creation/use
48789 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48790 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48791 rm -f ${D}file ${D}dfile ${D}{filename}.o
48797 chmod +x bk
-make-pch
48798 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48807 COND_BUILD_DEBUG
="#"
48808 if test "x$BUILD" = "xdebug" ; then
48809 COND_BUILD_DEBUG
=""
48812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48813 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48818 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48822 COND_BUILD_DEBUG_UNICODE_0
="#"
48823 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48824 COND_BUILD_DEBUG_UNICODE_0
=""
48827 COND_BUILD_DEBUG_UNICODE_1
="#"
48828 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48829 COND_BUILD_DEBUG_UNICODE_1
=""
48832 COND_BUILD_RELEASE
="#"
48833 if test "x$BUILD" = "xrelease" ; then
48834 COND_BUILD_RELEASE
=""
48837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48838 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48842 COND_BUILD_RELEASE_UNICODE_0
="#"
48843 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48844 COND_BUILD_RELEASE_UNICODE_0
=""
48847 COND_BUILD_RELEASE_UNICODE_1
="#"
48848 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48849 COND_BUILD_RELEASE_UNICODE_1
=""
48852 COND_DEBUG_FLAG_1
="#"
48853 if test "x$DEBUG_FLAG" = "x1" ; then
48854 COND_DEBUG_FLAG_1
=""
48857 COND_DEBUG_INFO_0
="#"
48858 if test "x$DEBUG_INFO" = "x0" ; then
48859 COND_DEBUG_INFO_0
=""
48862 COND_DEBUG_INFO_1
="#"
48863 if test "x$DEBUG_INFO" = "x1" ; then
48864 COND_DEBUG_INFO_1
=""
48867 COND_DEPS_TRACKING_0
="#"
48868 if test "x$DEPS_TRACKING" = "x0" ; then
48869 COND_DEPS_TRACKING_0
=""
48872 COND_DEPS_TRACKING_1
="#"
48873 if test "x$DEPS_TRACKING" = "x1" ; then
48874 COND_DEPS_TRACKING_1
=""
48878 if test "x$GCC_PCH" = "x1" ; then
48883 if test "x$ICC_PCH" = "x1" ; then
48887 COND_MONOLITHIC_0
="#"
48888 if test "x$MONOLITHIC" = "x0" ; then
48889 COND_MONOLITHIC_0
=""
48892 COND_MONOLITHIC_0_SHARED_0
="#"
48893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48894 COND_MONOLITHIC_0_SHARED_0
=""
48897 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48899 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48922 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48924 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48927 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48929 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48932 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48934 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48937 COND_MONOLITHIC_0_SHARED_1
="#"
48938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48939 COND_MONOLITHIC_0_SHARED_1
=""
48942 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48957 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48967 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48969 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48972 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48974 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48977 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48979 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48982 COND_MONOLITHIC_0_USE_AUI_1
="#"
48983 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48984 COND_MONOLITHIC_0_USE_AUI_1
=""
48987 COND_MONOLITHIC_0_USE_GUI_1
="#"
48988 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48989 COND_MONOLITHIC_0_USE_GUI_1
=""
48992 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48993 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48994 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48997 COND_MONOLITHIC_0_USE_HTML_1
="#"
48998 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48999 COND_MONOLITHIC_0_USE_HTML_1
=""
49002 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49003 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49004 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49007 COND_MONOLITHIC_0_USE_QA_1
="#"
49008 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49009 COND_MONOLITHIC_0_USE_QA_1
=""
49012 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49013 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49014 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49017 COND_MONOLITHIC_0_USE_STC_1
="#"
49018 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49019 COND_MONOLITHIC_0_USE_STC_1
=""
49022 COND_MONOLITHIC_0_USE_XRC_1
="#"
49023 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49024 COND_MONOLITHIC_0_USE_XRC_1
=""
49027 COND_MONOLITHIC_1
="#"
49028 if test "x$MONOLITHIC" = "x1" ; then
49029 COND_MONOLITHIC_1
=""
49032 COND_MONOLITHIC_1_SHARED_0
="#"
49033 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49034 COND_MONOLITHIC_1_SHARED_0
=""
49037 COND_MONOLITHIC_1_SHARED_1
="#"
49038 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49039 COND_MONOLITHIC_1_SHARED_1
=""
49042 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49043 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49048 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49049 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49052 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49053 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49054 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49057 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49058 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49059 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49062 COND_PLATFORM_MACOSX_1
="#"
49063 if test "x$PLATFORM_MACOSX" = "x1" ; then
49064 COND_PLATFORM_MACOSX_1
=""
49067 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49069 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49072 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49077 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49082 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49087 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49088 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49089 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49092 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49093 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49094 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49097 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49098 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49099 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49102 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49103 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49104 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49107 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49108 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49109 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49112 COND_PLATFORM_MACOS_1
="#"
49113 if test "x$PLATFORM_MACOS" = "x1" ; then
49114 COND_PLATFORM_MACOS_1
=""
49117 COND_PLATFORM_MAC_1
="#"
49118 if test "x$PLATFORM_MAC" = "x1" ; then
49119 COND_PLATFORM_MAC_1
=""
49122 COND_PLATFORM_MSDOS_1
="#"
49123 if test "x$PLATFORM_MSDOS" = "x1" ; then
49124 COND_PLATFORM_MSDOS_1
=""
49127 COND_PLATFORM_OS2_1
="#"
49128 if test "x$PLATFORM_OS2" = "x1" ; then
49129 COND_PLATFORM_OS2_1
=""
49132 COND_PLATFORM_UNIX_0
="#"
49133 if test "x$PLATFORM_UNIX" = "x0" ; then
49134 COND_PLATFORM_UNIX_0
=""
49137 COND_PLATFORM_UNIX_1
="#"
49138 if test "x$PLATFORM_UNIX" = "x1" ; then
49139 COND_PLATFORM_UNIX_1
=""
49142 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49143 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49144 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49147 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49148 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49152 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49153 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49154 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49157 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49158 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49159 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49162 COND_PLATFORM_WIN32_0
="#"
49163 if test "x$PLATFORM_WIN32" = "x0" ; then
49164 COND_PLATFORM_WIN32_0
=""
49167 COND_PLATFORM_WIN32_1
="#"
49168 if test "x$PLATFORM_WIN32" = "x1" ; then
49169 COND_PLATFORM_WIN32_1
=""
49173 if test "x$SHARED" = "x0" ; then
49177 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49178 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49179 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49182 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49183 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49184 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49187 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49188 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49189 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49192 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49193 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49194 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49197 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49202 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49203 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49207 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49208 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49212 COND_SHARED_0_USE_STC_1
="#"
49213 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49214 COND_SHARED_0_USE_STC_1
=""
49217 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49218 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49219 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49222 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49223 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49224 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49227 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49228 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49229 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49233 if test "x$SHARED" = "x1" ; then
49237 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49238 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49239 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49243 if test "x$TOOLKIT" = "x" ; then
49247 COND_TOOLKIT_COCOA
="#"
49248 if test "x$TOOLKIT" = "xCOCOA" ; then
49249 COND_TOOLKIT_COCOA
=""
49252 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49253 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49254 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49257 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49258 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49259 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49262 COND_TOOLKIT_DFB
="#"
49263 if test "x$TOOLKIT" = "xDFB" ; then
49264 COND_TOOLKIT_DFB
=""
49267 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49268 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49269 COND_TOOLKIT_DFB_USE_GUI_1
=""
49272 COND_TOOLKIT_GTK
="#"
49273 if test "x$TOOLKIT" = "xGTK" ; then
49274 COND_TOOLKIT_GTK
=""
49277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49283 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49298 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49302 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49303 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49304 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49308 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49312 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49313 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49314 COND_TOOLKIT_GTK_USE_GUI_1
=""
49317 COND_TOOLKIT_MAC
="#"
49318 if test "x$TOOLKIT" = "xMAC" ; then
49319 COND_TOOLKIT_MAC
=""
49322 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49323 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49324 COND_TOOLKIT_MAC_USE_GUI_1
=""
49327 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49328 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49329 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49332 COND_TOOLKIT_MGL
="#"
49333 if test "x$TOOLKIT" = "xMGL" ; then
49334 COND_TOOLKIT_MGL
=""
49337 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49338 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49339 COND_TOOLKIT_MGL_USE_GUI_1
=""
49342 COND_TOOLKIT_MOTIF
="#"
49343 if test "x$TOOLKIT" = "xMOTIF" ; then
49344 COND_TOOLKIT_MOTIF
=""
49347 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49348 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49349 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49352 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49353 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49354 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49357 COND_TOOLKIT_MSW
="#"
49358 if test "x$TOOLKIT" = "xMSW" ; then
49359 COND_TOOLKIT_MSW
=""
49362 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49363 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49364 COND_TOOLKIT_MSW_USE_GUI_1
=""
49367 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49368 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49369 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49372 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49373 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49374 COND_TOOLKIT_MSW_WXUNIV_0
=""
49377 COND_TOOLKIT_PM
="#"
49378 if test "x$TOOLKIT" = "xPM" ; then
49382 COND_TOOLKIT_PM_USE_GUI_1
="#"
49383 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49384 COND_TOOLKIT_PM_USE_GUI_1
=""
49387 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49388 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49389 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49392 COND_TOOLKIT_WINCE
="#"
49393 if test "x$TOOLKIT" = "xWINCE" ; then
49394 COND_TOOLKIT_WINCE
=""
49397 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49398 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49399 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49402 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49403 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49404 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49407 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49408 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49409 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49412 COND_TOOLKIT_X11
="#"
49413 if test "x$TOOLKIT" = "xX11" ; then
49414 COND_TOOLKIT_X11
=""
49417 COND_TOOLKIT_X11_USE_GUI_1
="#"
49418 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49419 COND_TOOLKIT_X11_USE_GUI_1
=""
49423 if test "x$UNICODE" = "x1" ; then
49427 COND_USE_EXCEPTIONS_0
="#"
49428 if test "x$USE_EXCEPTIONS" = "x0" ; then
49429 COND_USE_EXCEPTIONS_0
=""
49432 COND_USE_EXCEPTIONS_1
="#"
49433 if test "x$USE_EXCEPTIONS" = "x1" ; then
49434 COND_USE_EXCEPTIONS_1
=""
49438 if test "x$USE_GUI" = "x0" ; then
49443 if test "x$USE_GUI" = "x1" ; then
49447 COND_USE_GUI_1_USE_OPENGL_1
="#"
49448 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49449 COND_USE_GUI_1_USE_OPENGL_1
=""
49452 COND_USE_GUI_1_WXUNIV_0
="#"
49453 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49454 COND_USE_GUI_1_WXUNIV_0
=""
49457 COND_USE_GUI_1_WXUNIV_1
="#"
49458 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49459 COND_USE_GUI_1_WXUNIV_1
=""
49462 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49463 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49464 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49467 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49469 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49472 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49474 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49478 if test "x$USE_PCH" = "x1" ; then
49482 COND_USE_PLUGINS_0
="#"
49483 if test "x$USE_PLUGINS" = "x0" ; then
49484 COND_USE_PLUGINS_0
=""
49487 COND_USE_RTTI_0
="#"
49488 if test "x$USE_RTTI" = "x0" ; then
49492 COND_USE_RTTI_1
="#"
49493 if test "x$USE_RTTI" = "x1" ; then
49497 COND_USE_SOSYMLINKS_1
="#"
49498 if test "x$USE_SOSYMLINKS" = "x1" ; then
49499 COND_USE_SOSYMLINKS_1
=""
49502 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49503 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49504 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49507 COND_USE_SOVERLINUX_1
="#"
49508 if test "x$USE_SOVERLINUX" = "x1" ; then
49509 COND_USE_SOVERLINUX_1
=""
49512 COND_USE_SOVERSION_0
="#"
49513 if test "x$USE_SOVERSION" = "x0" ; then
49514 COND_USE_SOVERSION_0
=""
49517 COND_USE_SOVERSOLARIS_1
="#"
49518 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49519 COND_USE_SOVERSOLARIS_1
=""
49523 if test "x$USE_STC" = "x1" ; then
49527 COND_USE_THREADS_0
="#"
49528 if test "x$USE_THREADS" = "x0" ; then
49529 COND_USE_THREADS_0
=""
49532 COND_USE_THREADS_1
="#"
49533 if test "x$USE_THREADS" = "x1" ; then
49534 COND_USE_THREADS_1
=""
49538 if test "x$USE_XRC" = "x1" ; then
49542 COND_WINDOWS_IMPLIB_1
="#"
49543 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49544 COND_WINDOWS_IMPLIB_1
=""
49547 COND_WITH_PLUGIN_SDL_1
="#"
49548 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49549 COND_WITH_PLUGIN_SDL_1
=""
49553 if test "x$WXUNIV" = "x0" ; then
49558 if test "x$WXUNIV" = "x1" ; then
49562 COND_WXUSE_EXPAT_BUILTIN
="#"
49563 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49564 COND_WXUSE_EXPAT_BUILTIN
=""
49567 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49568 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49569 COND_WXUSE_LIBJPEG_BUILTIN
=""
49572 COND_WXUSE_LIBPNG_BUILTIN
="#"
49573 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49574 COND_WXUSE_LIBPNG_BUILTIN
=""
49577 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49578 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49579 COND_WXUSE_LIBTIFF_BUILTIN
=""
49582 COND_WXUSE_REGEX_BUILTIN
="#"
49583 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49584 COND_WXUSE_REGEX_BUILTIN
=""
49587 COND_WXUSE_ZLIB_BUILTIN
="#"
49588 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49589 COND_WXUSE_ZLIB_BUILTIN
=""
49594 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49595 { { 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
49596 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;}
49597 { (exit 1); exit 1; }; }
49600 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49601 { { 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
49602 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;}
49603 { (exit 1); exit 1; }; }
49610 ?
:* ) # Drive letter, considered as absolute.
49613 INSTALL
=`pwd`/${INSTALL} ;;
49616 if test "$wxUSE_GUI" = "yes"; then
49618 if test "$wxUSE_MSW" = 1 ; then
49619 if test "x$WINDRES" = "x"; then
49620 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49621 echo "$as_me: error: Required windres program not found" >&2;}
49622 { (exit 1); exit 1; }; }
49628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49629 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49630 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49632 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49634 # Extract the first word of "DeRez", so it can be a program name with args.
49635 set dummy DeRez
; ac_word
=$2
49636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49638 if test "${ac_cv_prog_DEREZ+set}" = set; then
49639 echo $ECHO_N "(cached) $ECHO_C" >&6
49641 if test -n "$DEREZ"; then
49642 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49645 for as_dir
in $PATH
49648 test -z "$as_dir" && as_dir
=.
49649 for ac_exec_ext
in '' $ac_executable_extensions; do
49650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49651 ac_cv_prog_DEREZ
="DeRez"
49652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49659 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49662 DEREZ
=$ac_cv_prog_DEREZ
49663 if test -n "$DEREZ"; then
49664 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49665 echo "${ECHO_T}$DEREZ" >&6; }
49667 { echo "$as_me:$LINENO: result: no" >&5
49668 echo "${ECHO_T}no" >&6; }
49673 MACSETFILE
="\$(SETFILE)"
49675 if test "$wxUSE_MAC" = 1; then
49676 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49678 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49680 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49681 RESCOMP
="cat /dev/null \| $REZ"
49682 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49688 if test "$wxUSE_PM" = 1; then
49690 WXCONFIG_RESFLAGS
="-ep"
49692 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49694 POSTLINK_COMMAND
="@true"
49701 if test $GCC_PCH = 1
49703 if test "$wx_cv_gcc_pch_bug" = yes; then
49704 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49705 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49706 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49707 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49708 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49709 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49712 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49716 if test "$wxUSE_MAC" = 1 ; then
49717 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49718 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49724 if test "$wxUSE_SHARED" = "yes"; then
49726 *-pc-os2_emx | *-pc-os2-emx )
49727 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49728 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49729 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49730 cp -p ${srcdir}/src
/os
2/dllar.sh .
49734 if test "$wxUSE_OMF" = "yes"; then
49736 *-pc-os2_emx | *-pc-os2-emx )
49737 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49738 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49739 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49744 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49749 if test "$GCC" = yes; then
49750 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49751 LIBS
=`echo $LIBS | sed 's/-mt//'`
49752 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49757 if test "x$SUNCXX" = xyes
; then
49758 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49759 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49760 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49765 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49766 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49768 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49829 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49830 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49831 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49832 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49833 echo $ECHO_N "(cached) $ECHO_C" >&6
49835 cat >conftest.
make <<\_ACEOF
49838 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49840 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49841 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49842 *@@@
%%%=?
*=@@@
%%%*)
49843 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49845 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49847 rm -f conftest.
make
49849 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49850 { echo "$as_me:$LINENO: result: yes" >&5
49851 echo "${ECHO_T}yes" >&6; }
49854 { echo "$as_me:$LINENO: result: no" >&5
49855 echo "${ECHO_T}no" >&6; }
49856 SET_MAKE
="MAKE=${MAKE-make}"
49861 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49864 if test "$USE_WIN32" = 1; then
49865 ac_config_commands
="$ac_config_commands
49871 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49874 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49877 if test "$wx_cv_version_script" = "yes"; then
49878 ac_config_files
="$ac_config_files version-script"
49881 ac_config_files
="$ac_config_files Makefile"
49884 ac_config_commands
="$ac_config_commands wx-config"
49888 if test "$wxWITH_SUBDIRS" != "no"; then
49889 if test "$wxUSE_GUI" = "yes"; then
49890 SUBDIRS
="samples demos utils"
49892 SUBDIRS
="samples utils"
49897 # Check whether --with-cppunit-prefix was given.
49898 if test "${with_cppunit_prefix+set}" = set; then
49899 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49901 cppunit_config_prefix
=""
49905 # Check whether --with-cppunit-exec-prefix was given.
49906 if test "${with_cppunit_exec_prefix+set}" = set; then
49907 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49909 cppunit_config_exec_prefix
=""
49913 if test x
$cppunit_config_exec_prefix != x
; then
49914 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49915 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49916 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49919 if test x
$cppunit_config_prefix != x
; then
49920 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49921 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49922 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49926 # Extract the first word of "cppunit-config", so it can be a program name with args.
49927 set dummy cppunit
-config; ac_word
=$2
49928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49930 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49931 echo $ECHO_N "(cached) $ECHO_C" >&6
49933 case $CPPUNIT_CONFIG in
49935 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49939 for as_dir
in $PATH
49942 test -z "$as_dir" && as_dir
=.
49943 for ac_exec_ext
in '' $ac_executable_extensions; do
49944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49945 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49953 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49957 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49958 if test -n "$CPPUNIT_CONFIG"; then
49959 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49960 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49962 { echo "$as_me:$LINENO: result: no" >&5
49963 echo "${ECHO_T}no" >&6; }
49967 cppunit_version_min
=1.8.0
49969 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49970 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49972 if test "$CPPUNIT_CONFIG" = "no" ; then
49973 { echo "$as_me:$LINENO: result: no" >&5
49974 echo "${ECHO_T}no" >&6; }
49977 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49978 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49979 cppunit_version
=`$CPPUNIT_CONFIG --version`
49981 cppunit_major_version
=`echo $cppunit_version | \
49982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49983 cppunit_minor_version
=`echo $cppunit_version | \
49984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49985 cppunit_micro_version
=`echo $cppunit_version | \
49986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49988 cppunit_major_min
=`echo $cppunit_version_min | \
49989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49990 cppunit_minor_min
=`echo $cppunit_version_min | \
49991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49992 cppunit_micro_min
=`echo $cppunit_version_min | \
49993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49995 cppunit_version_proper
=`expr \
49996 $cppunit_major_version \> $cppunit_major_min \| \
49997 $cppunit_major_version \= $cppunit_major_min \& \
49998 $cppunit_minor_version \> $cppunit_minor_min \| \
49999 $cppunit_major_version \= $cppunit_major_min \& \
50000 $cppunit_minor_version \= $cppunit_minor_min \& \
50001 $cppunit_micro_version \>= $cppunit_micro_min `
50003 if test "$cppunit_version_proper" = "1" ; then
50004 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50005 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50007 { echo "$as_me:$LINENO: result: no" >&5
50008 echo "${ECHO_T}no" >&6; }
50013 if test "x$no_cppunit" = x
; then
50014 SUBDIRS
="$SUBDIRS tests"
50025 for subdir
in $SUBDIRS; do
50026 if test -d ${srcdir}/${subdir} ; then
50027 if test "$wxUSE_GUI" = "yes"; then
50028 if test ${subdir} = "samples"; then
50029 makefiles
="samples/Makefile.in $makefiles"
50030 for sample
in $SAMPLES_SUBDIRS; do
50031 if test -d $srcdir/samples
/$sample; then
50032 makefiles
="samples/$sample/Makefile.in $makefiles"
50036 disabled_var
=DISABLED_
`echo $subdir | tr a-z A-Z`
50037 eval "disabled=\$$disabled_var"
50038 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50039 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50042 if test ${subdir} = "samples"; then
50043 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50044 elif test ${subdir} = "utils"; then
50046 for util
in HelpGen tex2rtf
; do
50047 if test -d $srcdir/utils
/$util ; then
50048 makefiles
="utils/$util/Makefile.in \
50049 utils/$util/src/Makefile.in \
50054 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50058 for mkin
in $makefiles ; do
50059 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50060 ac_config_files
="$ac_config_files $mk"
50066 cat >confcache
<<\_ACEOF
50067 # This file is a shell script that caches the results of configure
50068 # tests run on this system so they can be shared between configure
50069 # scripts and configure runs, see configure's option --config-cache.
50070 # It is not useful on other systems. If it contains results you don't
50071 # want to keep, you may remove or edit it.
50073 # config.status only pays attention to the cache file if you give it
50074 # the --recheck option to rerun configure.
50076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50078 # following values.
50082 # The following way of writing the cache mishandles newlines in values,
50083 # but we know of no workaround that is simple, portable, and efficient.
50084 # So, we kill variables containing newlines.
50085 # Ultrix sh set writes to stderr and can't be redirected directly,
50086 # and sets the high bit in the cache file unless we assign to the vars.
50088 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50089 eval ac_val
=\$
$ac_var
50093 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50094 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50097 _
| IFS
| as_nl
) ;; #(
50098 *) $as_unset $ac_var ;;
50104 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50105 *${as_nl}ac_space
=\
*)
50106 # `set' does not quote correctly, so add quotes (double-quote
50107 # substitution turns \\\\ into \\, and sed turns \\ into \).
50110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50113 # `set' quotes correctly as required by POSIX, so do not add quotes.
50114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50123 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50125 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50127 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50128 if test -w "$cache_file"; then
50129 test "x$cache_file" != "x/dev/null" &&
50130 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50131 echo "$as_me: updating cache $cache_file" >&6;}
50132 cat confcache
>$cache_file
50134 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50135 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50140 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50141 # Let make expand exec_prefix.
50142 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50144 DEFS
=-DHAVE_CONFIG_H
50148 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50149 # 1. Remove the extension, and $U if already installed.
50150 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50151 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50152 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50153 # will be set to the directory where LIBOBJS objects are built.
50154 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50155 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50157 LIBOBJS
=$ac_libobjs
50159 LTLIBOBJS
=$ac_ltlibobjs
50163 : ${CONFIG_STATUS=./config.status}
50164 ac_clean_files_save
=$ac_clean_files
50165 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50166 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50167 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50168 cat >$CONFIG_STATUS <<_ACEOF
50170 # Generated by $as_me.
50171 # Run this file to recreate the current configuration.
50172 # Compiler output produced by configure, useful for debugging
50173 # configure, is in config.log if it exists.
50176 ac_cs_recheck=false
50178 SHELL=\${CONFIG_SHELL-$SHELL}
50181 cat >>$CONFIG_STATUS <<\_ACEOF
50182 ## --------------------- ##
50183 ## M4sh Initialization. ##
50184 ## --------------------- ##
50186 # Be more Bourne compatible
50187 DUALCASE
=1; export DUALCASE
# for MKS sh
50188 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50191 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50192 # is contrary to our usage. Disable this feature.
50193 alias -g '${1+"$@"}'='"$@"'
50194 setopt NO_GLOB_SUBST
50196 case `(set -o) 2>/dev/null` in
50197 *posix
*) set -o posix
;;
50206 # Avoid depending upon Character Ranges.
50207 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50208 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50209 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50210 as_cr_digits
='0123456789'
50211 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50213 # The user is always right.
50214 if test "${PATH_SEPARATOR+set}" != set; then
50215 echo "#! /bin/sh" >conf$$.sh
50216 echo "exit 0" >>conf$$.sh
50218 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50226 # Support unset when possible.
50227 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50235 # We need space, tab and new line, in precisely that order. Quoting is
50236 # there to prevent editors from complaining about space-tab.
50237 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50238 # splitting by setting IFS to empty value.)
50243 # Find who we are. Look in the path if we contain no directory separator.
50245 *[\\/]* ) as_myself
=$0 ;;
50246 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50247 for as_dir
in $PATH
50250 test -z "$as_dir" && as_dir
=.
50251 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50257 # We did not find ourselves, most probably we were run as `sh COMMAND'
50258 # in which case we are not to be found in the path.
50259 if test "x$as_myself" = x
; then
50262 if test ! -f "$as_myself"; then
50263 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50264 { (exit 1); exit 1; }
50267 # Work around bugs in pre-3.0 UWIN ksh.
50268 for as_var
in ENV MAIL MAILPATH
50269 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50277 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50278 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50279 LC_TELEPHONE LC_TIME
50281 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50282 eval $as_var=C
; export $as_var
50284 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50288 # Required to use basename.
50289 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50290 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50296 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50297 as_basename
=basename
50303 # Name of the executable.
50304 as_me
=`$as_basename -- "$0" ||
50305 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50306 X"$0" : 'X\(//\)$' \| \
50307 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50309 sed '/^.*\/\([^/][^/]*\)\/*$/{
50328 as_lineno_1
=$LINENO
50329 as_lineno_2
=$LINENO
50330 test "x$as_lineno_1" != "x$as_lineno_2" &&
50331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50333 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50334 # uniformly replaced by the line number. The first 'sed' inserts a
50335 # line-number line after each line using $LINENO; the second 'sed'
50336 # does the real work. The second script uses 'N' to pair each
50337 # line-number line with the line containing $LINENO, and appends
50338 # trailing '-' during substitution so that $LINENO is not a special
50339 # case at line end.
50340 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50341 # scripts with optimization help from Paolo Bonzini. Blame Lee
50342 # E. McMahon (1931-1989) for sed's syntax. :-)
50354 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50357 ' >$as_me.lineno
&&
50358 chmod +x
"$as_me.lineno" ||
50359 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50360 { (exit 1); exit 1; }; }
50362 # Don't try to exec as it changes $[0], causing all sort of problems
50363 # (the dirname of $[0] is not the place where we might find the
50364 # original and so on. Autoconf is especially sensitive to this).
50365 .
"./$as_me.lineno"
50366 # Exit status is that of the last command.
50371 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50377 ECHO_C
= ECHO_N
= ECHO_T
=
50378 case `echo -n x` in
50380 case `echo 'x\c'` in
50381 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50388 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50389 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50395 rm -f conf$$ conf$$.exe conf$$.
file
50396 if test -d conf$$.dir
; then
50397 rm -f conf$$.dir
/conf$$.
file
50403 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50405 # ... but there are two gotchas:
50406 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50407 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50408 # In both cases, we have to default to `cp -p'.
50409 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50411 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50416 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50417 rmdir conf$$.dir
2>/dev
/null
50419 if mkdir -p .
2>/dev
/null
; then
50422 test -d .
/-p && rmdir .
/-p
50426 if test -x / >/dev
/null
2>&1; then
50427 as_test_x
='test -x'
50429 if ls -dL / >/dev
/null
2>&1; then
50436 if test -d "$1"; then
50442 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50443 ???[sx]*):;;*)false;;esac;fi
50447 as_executable_p
=$as_test_x
50449 # Sed expression to map a string onto a valid CPP name.
50450 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50452 # Sed expression to map a string onto a valid variable name.
50453 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50458 # Save the log message, to keep $[0] and so on meaningful, and to
50459 # report actual input values of CONFIG_FILES etc. instead of their
50460 # values after options handling.
50462 This file was extended by wxWidgets $as_me 2.9.0, which was
50463 generated by GNU Autoconf 2.61. Invocation command line was
50465 CONFIG_FILES = $CONFIG_FILES
50466 CONFIG_HEADERS = $CONFIG_HEADERS
50467 CONFIG_LINKS = $CONFIG_LINKS
50468 CONFIG_COMMANDS = $CONFIG_COMMANDS
50471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50476 cat >>$CONFIG_STATUS <<_ACEOF
50477 # Files that config.status was made for.
50478 config_files="$ac_config_files"
50479 config_headers="$ac_config_headers"
50480 config_commands="$ac_config_commands"
50484 cat >>$CONFIG_STATUS <<\_ACEOF
50486 \`$as_me' instantiates files from templates according to the
50487 current configuration.
50489 Usage: $0 [OPTIONS] [FILE]...
50491 -h, --help print this help, then exit
50492 -V, --version print version number and configuration settings, then exit
50493 -q, --quiet do not print progress messages
50494 -d, --debug don't remove temporary files
50495 --recheck update $as_me by reconfiguring in the same conditions
50496 --file=FILE[:TEMPLATE]
50497 instantiate the configuration file FILE
50498 --header=FILE[:TEMPLATE]
50499 instantiate the configuration header FILE
50501 Configuration files:
50504 Configuration headers:
50507 Configuration commands:
50510 Report bugs to <bug-autoconf@gnu.org>."
50513 cat >>$CONFIG_STATUS <<_ACEOF
50515 wxWidgets config.status 2.9.0
50516 configured by $0, generated by GNU Autoconf 2.61,
50517 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50519 Copyright (C) 2006 Free Software Foundation, Inc.
50520 This config.status script is free software; the Free Software Foundation
50521 gives unlimited permission to copy, distribute and modify it."
50528 cat >>$CONFIG_STATUS <<\_ACEOF
50529 # If no file are specified by the user, then we need to provide default
50530 # value. By we need to know if files were specified by the user.
50536 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50537 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50548 # Handling of the options.
50549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50551 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50552 echo "$ac_cs_version"; exit ;;
50553 --debug | --debu | --deb | --de | --d | -d )
50555 --file | --fil | --fi | --f )
50557 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50558 ac_need_defaults
=false
;;
50559 --header | --heade | --head | --hea )
50561 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50562 ac_need_defaults
=false
;;
50564 # Conflict between --help and --header
50565 { echo "$as_me: error: ambiguous option: $1
50566 Try \`$0 --help' for more information." >&2
50567 { (exit 1); exit 1; }; };;
50568 --help | --hel | -h )
50569 echo "$ac_cs_usage"; exit ;;
50570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50571 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50574 # This is an error.
50575 -*) { echo "$as_me: error: unrecognized option: $1
50576 Try \`$0 --help' for more information." >&2
50577 { (exit 1); exit 1; }; } ;;
50579 *) ac_config_targets
="$ac_config_targets $1"
50580 ac_need_defaults
=false
;;
50586 ac_configure_extra_args
=
50588 if $ac_cs_silent; then
50590 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50594 cat >>$CONFIG_STATUS <<_ACEOF
50595 if \$ac_cs_recheck; then
50596 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50597 CONFIG_SHELL=$SHELL
50598 export CONFIG_SHELL
50599 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50603 cat >>$CONFIG_STATUS <<\_ACEOF
50607 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50608 ## Running $as_me. ##
50614 cat >>$CONFIG_STATUS <<_ACEOF
50620 infile="$srcdir/include/wx/msw/genrcdefs.h"
50621 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50624 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50625 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50626 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50632 cat >>$CONFIG_STATUS <<\_ACEOF
50634 # Handling of arguments.
50635 for ac_config_target
in $ac_config_targets
50637 case $ac_config_target in
50638 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50639 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50640 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50641 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50642 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50643 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50644 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50645 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50647 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50648 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50649 { (exit 1); exit 1; }; };;
50654 # If the user did not use the arguments to specify the items to instantiate,
50655 # then the envvar interface is used. Set only those that are not.
50656 # We use the long form for the default assignment because of an extremely
50657 # bizarre bug on SunOS 4.1.3.
50658 if $ac_need_defaults; then
50659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50660 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50661 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50664 # Have a temporary directory for convenience. Make it in the build tree
50665 # simply because there is no reason against having it here, and in addition,
50666 # creating and moving files from /tmp can sometimes cause problems.
50667 # Hook for its removal unless debugging.
50668 # Note that there is a small window in which the directory will not be cleaned:
50669 # after its creation but before its name has been assigned to `$tmp'.
50673 trap 'exit_status=$?
50674 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50676 trap '{ (exit 1); exit 1; }' 1 2 13 15
50678 # Create a (secure) tmp directory for tmp files.
50681 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50682 test -n "$tmp" && test -d "$tmp"
50685 tmp
=.
/conf$$
-$RANDOM
50686 (umask 077 && mkdir "$tmp")
50689 echo "$me: cannot create a temporary directory in ." >&2
50690 { (exit 1); exit 1; }
50694 # Set up the sed scripts for CONFIG_FILES section.
50697 # No need to generate the scripts if there are no CONFIG_FILES.
50698 # This happens for instance when ./config.status config.h
50699 if test -n "$CONFIG_FILES"; then
50706 for ac_last_try
in false false false false false
:; do
50707 cat >conf$
$subs.
sed <<_ACEOF
50708 SHELL!$SHELL$ac_delim
50709 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50710 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50711 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50712 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50713 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50714 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50715 exec_prefix!$exec_prefix$ac_delim
50716 prefix!$prefix$ac_delim
50717 program_transform_name!$program_transform_name$ac_delim
50718 bindir!$bindir$ac_delim
50719 sbindir!$sbindir$ac_delim
50720 libexecdir!$libexecdir$ac_delim
50721 datarootdir!$datarootdir$ac_delim
50722 datadir!$datadir$ac_delim
50723 sysconfdir!$sysconfdir$ac_delim
50724 sharedstatedir!$sharedstatedir$ac_delim
50725 localstatedir!$localstatedir$ac_delim
50726 includedir!$includedir$ac_delim
50727 oldincludedir!$oldincludedir$ac_delim
50728 docdir!$docdir$ac_delim
50729 infodir!$infodir$ac_delim
50730 htmldir!$htmldir$ac_delim
50731 dvidir!$dvidir$ac_delim
50732 pdfdir!$pdfdir$ac_delim
50733 psdir!$psdir$ac_delim
50734 libdir!$libdir$ac_delim
50735 localedir!$localedir$ac_delim
50736 mandir!$mandir$ac_delim
50737 DEFS!$DEFS$ac_delim
50738 ECHO_C!$ECHO_C$ac_delim
50739 ECHO_N!$ECHO_N$ac_delim
50740 ECHO_T!$ECHO_T$ac_delim
50741 LIBS!$LIBS$ac_delim
50742 build_alias!$build_alias$ac_delim
50743 host_alias!$host_alias$ac_delim
50744 target_alias!$target_alias$ac_delim
50745 build!$build$ac_delim
50746 build_cpu!$build_cpu$ac_delim
50747 build_vendor!$build_vendor$ac_delim
50748 build_os!$build_os$ac_delim
50749 host!$host$ac_delim
50750 host_cpu!$host_cpu$ac_delim
50751 host_vendor!$host_vendor$ac_delim
50752 host_os!$host_os$ac_delim
50753 target!$target$ac_delim
50754 target_cpu!$target_cpu$ac_delim
50755 target_vendor!$target_vendor$ac_delim
50756 target_os!$target_os$ac_delim
50757 wx_top_builddir!$wx_top_builddir$ac_delim
50759 CFLAGS!$CFLAGS$ac_delim
50760 LDFLAGS!$LDFLAGS$ac_delim
50761 CPPFLAGS!$CPPFLAGS$ac_delim
50762 ac_ct_CC!$ac_ct_CC$ac_delim
50763 EXEEXT!$EXEEXT$ac_delim
50764 OBJEXT!$OBJEXT$ac_delim
50766 GREP!$GREP$ac_delim
50767 EGREP!$EGREP$ac_delim
50769 CXXFLAGS!$CXXFLAGS$ac_delim
50770 ac_ct_CXX!$ac_ct_CXX$ac_delim
50772 subdirs!$subdirs$ac_delim
50773 PKG_CONFIG!$PKG_CONFIG$ac_delim
50774 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50775 GTK_LIBS!$GTK_LIBS$ac_delim
50776 GTK_CONFIG!$GTK_CONFIG$ac_delim
50777 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50778 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50779 XMKMF!$XMKMF$ac_delim
50780 X_CFLAGS!$X_CFLAGS$ac_delim
50781 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50782 X_LIBS!$X_LIBS$ac_delim
50783 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50784 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50785 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50786 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50787 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50788 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50789 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50790 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50791 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50792 LIBICONV!$LIBICONV$ac_delim
50793 SDL_CONFIG!$SDL_CONFIG$ac_delim
50794 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50795 SDL_LIBS!$SDL_LIBS$ac_delim
50796 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50797 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50798 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50799 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50800 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50801 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50802 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50803 HILDON_LIBS!$HILDON_LIBS$ac_delim
50804 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50807 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50809 elif $ac_last_try; then
50810 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50811 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50812 { (exit 1); exit 1; }; }
50814 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50818 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50819 if test -n "$ac_eof"; then
50820 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50821 ac_eof
=`expr $ac_eof + 1`
50824 cat >>$CONFIG_STATUS <<_ACEOF
50825 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50829 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50830 s/^/s,@/; s/!/@,|#_!!_#|/
50833 s/'"$ac_delim"'$/,g/; t
50835 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50836 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50837 rm -f conf$
$subs.
sed
50838 cat >>$CONFIG_STATUS <<_ACEOF
50844 for ac_last_try
in false false false false false
:; do
50845 cat >conf$
$subs.
sed <<_ACEOF
50846 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50847 GST_CFLAGS!$GST_CFLAGS$ac_delim
50848 GST_LIBS!$GST_LIBS$ac_delim
50849 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50850 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50851 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50852 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50853 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50854 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50855 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50856 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50857 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50858 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50859 VENDOR!$VENDOR$ac_delim
50860 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50861 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50862 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50863 WXUNIV!$WXUNIV$ac_delim
50864 MONOLITHIC!$MONOLITHIC$ac_delim
50865 USE_PLUGINS!$USE_PLUGINS$ac_delim
50866 CXXWARNINGS!$CXXWARNINGS$ac_delim
50867 EXTRALIBS!$EXTRALIBS$ac_delim
50868 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50869 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50870 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50871 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50872 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50873 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50874 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50875 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50876 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50877 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50878 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50879 UNICODE!$UNICODE$ac_delim
50880 BUILD!$BUILD$ac_delim
50881 DEBUG_INFO!$DEBUG_INFO$ac_delim
50882 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50883 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50884 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50885 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50886 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50887 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50888 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50889 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50890 RANLIB!$RANLIB$ac_delim
50891 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50892 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50893 INSTALL_DATA!$INSTALL_DATA$ac_delim
50894 LN_S!$LN_S$ac_delim
50895 SET_MAKE!$SET_MAKE$ac_delim
50896 MAKE_SET!$MAKE_SET$ac_delim
50897 AROPTIONS!$AROPTIONS$ac_delim
50898 STRIP!$STRIP$ac_delim
50900 INSTALL_DIR!$INSTALL_DIR$ac_delim
50901 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50902 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50903 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50904 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50905 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50906 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50907 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50908 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50909 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50910 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50911 SO_SUFFIX!$SO_SUFFIX$ac_delim
50912 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50913 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50914 LIBPREFIX!$LIBPREFIX$ac_delim
50915 LIBEXT!$LIBEXT$ac_delim
50916 DLLPREFIX!$DLLPREFIX$ac_delim
50917 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50918 dlldir!$dlldir$ac_delim
50919 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50920 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50921 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50922 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50923 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50924 PIC_FLAG!$PIC_FLAG$ac_delim
50925 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50926 USE_SOVERSION!$USE_SOVERSION$ac_delim
50927 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50928 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50929 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50930 USE_MACVERSION!$USE_MACVERSION$ac_delim
50931 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50932 SONAME_FLAG!$SONAME_FLAG$ac_delim
50933 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50934 BK_DEPS!$BK_DEPS$ac_delim
50935 WINDRES!$WINDRES$ac_delim
50937 SETFILE!$SETFILE$ac_delim
50938 GCC_PCH!$GCC_PCH$ac_delim
50939 ICC_PCH!$ICC_PCH$ac_delim
50940 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50941 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50945 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50947 elif $ac_last_try; then
50948 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50949 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50950 { (exit 1); exit 1; }; }
50952 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50956 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50957 if test -n "$ac_eof"; then
50958 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50959 ac_eof
=`expr $ac_eof + 1`
50962 cat >>$CONFIG_STATUS <<_ACEOF
50963 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50967 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50968 s/^/s,@/; s/!/@,|#_!!_#|/
50971 s/'"$ac_delim"'$/,g/; t
50973 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50974 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50975 rm -f conf$
$subs.
sed
50976 cat >>$CONFIG_STATUS <<_ACEOF
50982 for ac_last_try
in false false false false false
:; do
50983 cat >conf$
$subs.
sed <<_ACEOF
50984 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50985 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50986 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50987 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50988 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50989 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50990 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50991 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50992 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50993 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50994 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50995 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50996 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50997 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50998 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50999 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51005 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51006 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51007 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51008 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51009 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51010 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51014 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51015 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51016 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51017 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51018 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51019 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51020 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51021 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51022 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51023 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51024 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51025 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51026 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51027 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51028 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51029 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51030 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51031 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51032 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51033 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51034 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51035 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51036 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51038 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51039 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51040 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51041 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51042 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51043 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51044 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51045 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51046 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51047 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51048 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51049 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51050 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51051 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51052 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51053 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51054 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51055 COND_SHARED_0!$COND_SHARED_0$ac_delim
51056 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51057 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51058 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51059 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51060 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51061 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51062 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51063 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51064 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51065 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51066 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51067 COND_SHARED_1!$COND_SHARED_1$ac_delim
51068 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51069 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51070 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51071 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51072 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51073 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51074 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51075 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51076 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51078 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51079 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51080 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51083 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51085 elif $ac_last_try; then
51086 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51087 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51088 { (exit 1); exit 1; }; }
51090 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51094 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51095 if test -n "$ac_eof"; then
51096 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51097 ac_eof
=`expr $ac_eof + 1`
51100 cat >>$CONFIG_STATUS <<_ACEOF
51101 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51105 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51106 s/^/s,@/; s/!/@,|#_!!_#|/
51109 s/'"$ac_delim"'$/,g/; t
51111 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51112 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51113 rm -f conf$
$subs.
sed
51114 cat >>$CONFIG_STATUS <<_ACEOF
51120 for ac_last_try
in false false false false false
:; do
51121 cat >conf$
$subs.
sed <<_ACEOF
51122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51123 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51124 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51125 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51126 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51127 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51128 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51129 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51130 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51131 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51132 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51133 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51134 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51135 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51136 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51137 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51138 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51139 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51140 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51141 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51142 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51143 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51144 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51145 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51146 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51147 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51148 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51149 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51150 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51151 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51152 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51153 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51154 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51155 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51156 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51157 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51158 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51159 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51160 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51161 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51162 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51163 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51164 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51165 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51166 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51167 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51168 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51169 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51170 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51171 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51172 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51173 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51174 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51175 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51176 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51177 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51178 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51179 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51180 DEREZ!$DEREZ$ac_delim
51181 SHARED!$SHARED$ac_delim
51182 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51183 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51184 USE_GUI!$USE_GUI$ac_delim
51185 AFMINSTALL!$AFMINSTALL$ac_delim
51186 WIN32INSTALL!$WIN32INSTALL$ac_delim
51187 TOOLKIT!$TOOLKIT$ac_delim
51188 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51189 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51190 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51191 cross_compiling!$cross_compiling$ac_delim
51192 WIDGET_SET!$WIDGET_SET$ac_delim
51193 WX_RELEASE!$WX_RELEASE$ac_delim
51194 WX_VERSION!$WX_VERSION$ac_delim
51195 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51196 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51197 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51198 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51199 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51200 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51201 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51202 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51203 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51204 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51205 GUIDIST!$GUIDIST$ac_delim
51206 DISTDIR!$DISTDIR$ac_delim
51207 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51208 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51209 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51210 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51211 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51212 RESCOMP!$RESCOMP$ac_delim
51213 RESFLAGS!$RESFLAGS$ac_delim
51214 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51215 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51216 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51217 LIBWXMACRES!$LIBWXMACRES$ac_delim
51218 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51221 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51223 elif $ac_last_try; then
51224 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51225 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51226 { (exit 1); exit 1; }; }
51228 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51232 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51233 if test -n "$ac_eof"; then
51234 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51235 ac_eof
=`expr $ac_eof + 1`
51238 cat >>$CONFIG_STATUS <<_ACEOF
51239 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51243 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51244 s/^/s,@/; s/!/@,|#_!!_#|/
51247 s/'"$ac_delim"'$/,g/; t
51249 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51250 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51251 rm -f conf$
$subs.
sed
51252 cat >>$CONFIG_STATUS <<_ACEOF
51258 for ac_last_try
in false false false false false
:; do
51259 cat >conf$
$subs.
sed <<_ACEOF
51260 MACSETFILE!$MACSETFILE$ac_delim
51262 DLLTOOL!$DLLTOOL$ac_delim
51263 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51264 LIBOBJS!$LIBOBJS$ac_delim
51265 LTLIBOBJS!$LTLIBOBJS$ac_delim
51268 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51270 elif $ac_last_try; then
51271 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51272 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51273 { (exit 1); exit 1; }; }
51275 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51279 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51280 if test -n "$ac_eof"; then
51281 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51282 ac_eof
=`expr $ac_eof + 1`
51285 cat >>$CONFIG_STATUS <<_ACEOF
51286 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51287 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51290 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51291 s/^/s,@/; s/!/@,|#_!!_#|/
51294 s/'"$ac_delim"'$/,g/; t
51296 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51297 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51298 rm -f conf$
$subs.
sed
51299 cat >>$CONFIG_STATUS <<_ACEOF
51306 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51307 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51308 # trailing colons and then remove the whole line if VPATH becomes empty
51309 # (actually we leave an empty line to preserve line numbers).
51310 if test "x$srcdir" = x.
; then
51311 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51312 s/:*\$(srcdir):*/:/
51313 s/:*\${srcdir}:*/:/
51315 s/^\([^=]*=[ ]*\):*/\1/
51321 cat >>$CONFIG_STATUS <<\_ACEOF
51322 fi # test -n "$CONFIG_FILES"
51325 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51328 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51330 case $ac_mode$ac_tag in
51332 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51333 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51334 { (exit 1); exit 1; }; };;
51335 :[FH
]-) ac_tag
=-:-;;
51336 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51353 -) ac_f
="$tmp/stdin";;
51354 *) # Look for the file first in the build tree, then in the source tree
51355 # (if the path is not absolute). The absolute path cannot be DOS-style,
51356 # because $ac_f cannot contain `:'.
51360 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51362 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51363 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51364 { (exit 1); exit 1; }; };;
51366 ac_file_inputs
="$ac_file_inputs $ac_f"
51369 # Let's still pretend it is `configure' which instantiates (i.e., don't
51370 # use $as_me), people would be surprised to read:
51371 # /* config.h. Generated by config.status. */
51372 configure_input
="Generated from "`IFS=:
51373 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51374 if test x
"$ac_file" != x
-; then
51375 configure_input
="$ac_file. $configure_input"
51376 { echo "$as_me:$LINENO: creating $ac_file" >&5
51377 echo "$as_me: creating $ac_file" >&6;}
51381 *:-:* | *:-) cat >"$tmp/stdin";;
51386 ac_dir
=`$as_dirname -- "$ac_file" ||
51387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51388 X"$ac_file" : 'X\(//\)[^/]' \| \
51389 X"$ac_file" : 'X\(//\)$' \| \
51390 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51396 /^X\(\/\/\)[^/].*/{
51411 -*) as_dir
=.
/$as_dir;;
51413 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51417 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51418 *) as_qdir
=$as_dir;;
51420 as_dirs
="'$as_qdir' $as_dirs"
51421 as_dir
=`$as_dirname -- "$as_dir" ||
51422 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51423 X"$as_dir" : 'X\(//\)[^/]' \| \
51424 X"$as_dir" : 'X\(//\)$' \| \
51425 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51431 /^X\(\/\/\)[^/].*/{
51444 test -d "$as_dir" && break
51446 test -z "$as_dirs" || eval "mkdir $as_dirs"
51447 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51448 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51449 { (exit 1); exit 1; }; }; }
51453 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51455 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51456 # A ".." for each directory in $ac_dir_suffix.
51457 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51458 case $ac_top_builddir_sub in
51459 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51460 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51463 ac_abs_top_builddir
=$ac_pwd
51464 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51465 # for backward compatibility:
51466 ac_top_builddir
=$ac_top_build_prefix
51469 .
) # We are building in place.
51471 ac_top_srcdir
=$ac_top_builddir_sub
51472 ac_abs_top_srcdir
=$ac_pwd ;;
51473 [\\/]* | ?
:[\\/]* ) # Absolute name.
51474 ac_srcdir
=$srcdir$ac_dir_suffix;
51475 ac_top_srcdir
=$srcdir
51476 ac_abs_top_srcdir
=$srcdir ;;
51477 *) # Relative name.
51478 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51479 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51480 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51482 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51492 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51493 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51497 cat >>$CONFIG_STATUS <<\_ACEOF
51498 # If the template does not know about datarootdir, expand it.
51499 # FIXME: This hack should be removed a few years after 2.60.
51500 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51502 case `sed -n '/datarootdir/ {
51511 ' $ac_file_inputs` in
51512 *datarootdir
*) ac_datarootdir_seen
=yes;;
51513 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51514 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51515 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51517 cat >>$CONFIG_STATUS <<_ACEOF
51518 ac_datarootdir_hack='
51519 s&@datadir@&$datadir&g
51520 s&@docdir@&$docdir&g
51521 s&@infodir@&$infodir&g
51522 s&@localedir@&$localedir&g
51523 s&@mandir@&$mandir&g
51524 s&\\\${datarootdir}&$datarootdir&g' ;;
51528 # Neutralize VPATH when `$srcdir' = `.'.
51529 # Shell code in configure.ac might set extrasub.
51530 # FIXME: do we really want to maintain this feature?
51531 cat >>$CONFIG_STATUS <<_ACEOF
51535 cat >>$CONFIG_STATUS <<\_ACEOF
51537 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51538 s
&@configure_input@
&$configure_input&;t t
51539 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51540 s
&@srcdir@
&$ac_srcdir&;t t
51541 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51542 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51543 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51544 s
&@builddir@
&$ac_builddir&;t t
51545 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51546 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51547 s
&@INSTALL@
&$ac_INSTALL&;t t
51548 $ac_datarootdir_hack
51549 " $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
51551 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51552 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51553 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51554 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51555 which seems to be undefined. Please make sure it is defined." >&5
51556 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51557 which seems to be undefined. Please make sure it is defined." >&2;}
51561 -) cat "$tmp/out"; rm -f "$tmp/out";;
51562 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51571 # Transform confdefs.h into a sed script `conftest.defines', that
51572 # substitutes the proper values into config.h.in to produce config.h.
51573 rm -f conftest.defines conftest.
tail
51574 # First, append a space to every undef/define line, to ease matching.
51575 echo 's/$/ /' >conftest.defines
51576 # Then, protect against being on the right side of a sed subst, or in
51577 # an unquoted here document, in config.status. If some macros were
51578 # called several times there might be several #defines for the same
51579 # symbol, which is useless. But do not sort them, since the last
51580 # AC_DEFINE must be honored.
51581 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51582 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51583 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51584 # PARAMS is the parameter list in the macro definition--in most cases, it's
51585 # just an empty string.
51586 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51587 ac_dB
='\\)[ (].*,\\1define\\2'
51595 s/^[ ]*#[ ]*define[ ][ ]*//
51600 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51601 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51602 ' >>conftest.defines
51604 # Remove the space that was appended to ease matching.
51605 # Then replace #undef with comments. This is necessary, for
51606 # example, in the case of _POSIX_SOURCE, which is predefined and required
51607 # on some systems where configure will not decide to define it.
51608 # (The regexp can be short, since the line contains either #define or #undef.)
51610 s,^[ #]*u.*,/* & */,' >>conftest.defines
51612 # Break up conftest.defines:
51613 ac_max_sed_lines
=50
51615 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51616 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51617 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51619 ac_in
='$ac_file_inputs'
51620 ac_out
='"$tmp/out1"'
51621 ac_nxt
='"$tmp/out2"'
51625 # Write a here document:
51626 cat >>$CONFIG_STATUS <<_ACEOF
51627 # First, check the format of the line:
51628 cat >"\$tmp/defines.sed" <<\\CEOF
51629 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51630 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51634 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51636 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51637 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51638 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51639 grep . conftest.
tail >/dev
/null
|| break
51640 rm -f conftest.defines
51641 mv conftest.
tail conftest.defines
51643 rm -f conftest.defines conftest.
tail
51645 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51646 cat >>$CONFIG_STATUS <<\_ACEOF
51647 if test x
"$ac_file" != x
-; then
51648 echo "/* $configure_input */" >"$tmp/config.h"
51649 cat "$ac_result" >>"$tmp/config.h"
51650 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51651 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51652 echo "$as_me: $ac_file is unchanged" >&6;}
51655 mv "$tmp/config.h" $ac_file
51658 echo "/* $configure_input */"
51664 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51665 echo "$as_me: executing $ac_file commands" >&6;}
51670 case $ac_file$ac_mode in
51672 mkdir -p $outdir &&
51673 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51675 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51676 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51677 "wx-config":C
) rm -f wx
-config
51678 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51685 { (exit 0); exit 0; }
51687 chmod +x
$CONFIG_STATUS
51688 ac_clean_files
=$ac_clean_files_save
51691 # configure is writing to config.log, and then calls config.status.
51692 # config.status does its own redirection, appending to config.log.
51693 # Unfortunately, on DOS this fails, as config.log is still kept open
51694 # by configure, so config.status won't be able to write to it; its
51695 # output is simply discarded. So we exec the FD to /dev/null,
51696 # effectively closing config.log, so it can be properly (re)opened and
51697 # appended to by config.status. When coming back to configure, we
51698 # need to make the FD available again.
51699 if test "$no_create" != yes; then
51701 ac_config_status_args
=
51702 test "$silent" = yes &&
51703 ac_config_status_args
="$ac_config_status_args --quiet"
51705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51708 # would make configure fail if this is the last instruction.
51709 $ac_cs_success || { (exit 1); exit 1; }
51713 # CONFIG_SUBDIRS section.
51715 if test "$no_recursion" != yes; then
51717 # Remove --cache-file and --srcdir arguments so they do not pile up.
51718 ac_sub_configure_args
=
51720 eval "set x $ac_configure_args"
51724 if test -n "$ac_prev"; then
51729 -cache-file | --cache-file | --cache-fil | --cache-fi \
51730 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51731 ac_prev
=cache_file
;;
51732 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51733 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51736 --config-cache | -C)
51738 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51740 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51742 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51744 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51748 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51750 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51754 # Always prepend --prefix to ensure using the same prefix
51755 # in subdir configurations.
51756 ac_arg
="--prefix=$prefix"
51758 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51760 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51763 if test "$silent" = yes; then
51764 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51768 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51770 # Do not complain, so a configure script can configure whichever
51771 # parts of a large source tree are present.
51772 test -d "$srcdir/$ac_dir" || continue
51774 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51775 echo "$as_me:$LINENO: $ac_msg" >&5
51779 -*) as_dir
=.
/$as_dir;;
51781 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51785 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51786 *) as_qdir
=$as_dir;;
51788 as_dirs
="'$as_qdir' $as_dirs"
51789 as_dir
=`$as_dirname -- "$as_dir" ||
51790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51791 X"$as_dir" : 'X\(//\)[^/]' \| \
51792 X"$as_dir" : 'X\(//\)$' \| \
51793 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51799 /^X\(\/\/\)[^/].*/{
51812 test -d "$as_dir" && break
51814 test -z "$as_dirs" || eval "mkdir $as_dirs"
51815 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51816 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51817 { (exit 1); exit 1; }; }; }
51821 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51823 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51824 # A ".." for each directory in $ac_dir_suffix.
51825 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51826 case $ac_top_builddir_sub in
51827 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51828 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51831 ac_abs_top_builddir
=$ac_pwd
51832 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51833 # for backward compatibility:
51834 ac_top_builddir
=$ac_top_build_prefix
51837 .
) # We are building in place.
51839 ac_top_srcdir
=$ac_top_builddir_sub
51840 ac_abs_top_srcdir
=$ac_pwd ;;
51841 [\\/]* | ?
:[\\/]* ) # Absolute name.
51842 ac_srcdir
=$srcdir$ac_dir_suffix;
51843 ac_top_srcdir
=$srcdir
51844 ac_abs_top_srcdir
=$srcdir ;;
51845 *) # Relative name.
51846 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51847 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51848 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51850 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51855 # Check for guested configure; otherwise get Cygnus style configure.
51856 if test -f "$ac_srcdir/configure.gnu"; then
51857 ac_sub_configure
=$ac_srcdir/configure.gnu
51858 elif test -f "$ac_srcdir/configure"; then
51859 ac_sub_configure
=$ac_srcdir/configure
51860 elif test -f "$ac_srcdir/configure.in"; then
51861 # This should be Cygnus configure.
51862 ac_sub_configure
=$ac_aux_dir/configure
51864 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51865 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51869 # The recursion is here.
51870 if test -n "$ac_sub_configure"; then
51871 # Make the cache file name correct relative to the subdirectory.
51872 case $cache_file in
51873 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51874 *) # Relative name.
51875 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51878 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51879 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51880 # The eval makes quoting arguments work.
51881 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51882 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51883 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51884 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51885 { (exit 1); exit 1; }; }
51894 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51896 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51897 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51899 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51900 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51901 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51902 if test "$wxUSE_UNICODE" = "yes"; then
51903 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51904 echo " (using UTF-8)"
51906 echo " (using wchar_t)"
51912 echo " What level of wxWidgets compatibility should be enabled?"
51913 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51914 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51916 echo " Which libraries should wxWidgets use?"
51917 echo " STL ${wxUSE_STL}"
51918 echo " jpeg ${wxUSE_LIBJPEG-none}"
51919 echo " png ${wxUSE_LIBPNG-none}"
51920 echo " regex ${wxUSE_REGEX}"
51921 echo " tiff ${wxUSE_LIBTIFF-none}"
51922 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51923 echo " xpm ${wxUSE_LIBXPM-none}"
51925 echo " zlib ${wxUSE_ZLIB}"
51926 echo " expat ${wxUSE_EXPAT}"
51927 echo " libmspack ${wxUSE_LIBMSPACK}"
51928 echo " sdl ${wxUSE_LIBSDL}"