2 # From configure.in Id: configure.in 48647 2007-09-13 05:42:42Z PC .
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
757 SAMPLES_RPATH_POSTLINK
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_1
841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
851 COND_MONOLITHIC_0_USE_AUI_1
852 COND_MONOLITHIC_0_USE_GUI_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_HTML_1
856 COND_MONOLITHIC_0_USE_MEDIA_1
857 COND_MONOLITHIC_0_USE_ODBC_1
858 COND_MONOLITHIC_0_USE_QA_1
859 COND_MONOLITHIC_0_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_USE_STC_1
861 COND_MONOLITHIC_0_USE_XRC_1
863 COND_MONOLITHIC_1_SHARED_0
864 COND_MONOLITHIC_1_SHARED_1
865 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
869 COND_PLATFORM_MACOSX_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_
871 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
876 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
877 COND_PLATFORM_MACOSX_1_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
879 COND_PLATFORM_MACOS_1
881 COND_PLATFORM_MSDOS_0
882 COND_PLATFORM_MSDOS_1
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_GUI_1
889 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
890 COND_PLATFORM_WIN32_0
891 COND_PLATFORM_WIN32_1
893 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
900 COND_SHARED_0_USE_STC_1
901 COND_SHARED_0_USE_XRC_1
902 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
903 COND_SHARED_0_WXUSE_ODBC_BUILTIN
904 COND_SHARED_0_WXUSE_REGEX_BUILTIN
905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_1_USE_XRC_1
911 COND_TOOLKIT_COCOA_USE_GUI_1
912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_DFB_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_GTK_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1
925 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MGL_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1
930 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_MSW_USE_GUI_1
933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_WXUNIV_0
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
943 COND_TOOLKIT_X11_USE_GUI_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
961 COND_USE_SOSYMLINKS_1
962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
963 COND_USE_SOVERLINUX_1
965 COND_USE_SOVERSOLARIS_1
970 COND_WINDOWS_IMPLIB_1
971 COND_WITH_PLUGIN_SDL_1
974 COND_WXUSE_EXPAT_BUILTIN
975 COND_WXUSE_LIBJPEG_BUILTIN
976 COND_WXUSE_LIBPNG_BUILTIN
977 COND_WXUSE_LIBTIFF_BUILTIN
978 COND_WXUSE_ODBC_BUILTIN
979 COND_WXUSE_REGEX_BUILTIN
980 COND_WXUSE_ZLIB_BUILTIN
983 WX_LIBRARY_BASENAME_NOGUI
984 WX_LIBRARY_BASENAME_GUI
1004 WXCONFIG_LDFLAGS_GUI
1017 WX_RESOURCES_MACOSX_ASCII
1018 WX_RESOURCES_MACOSX_DATA
1028 ac_precious_vars
='build_alias
1052 LIBGNOMEPRINTUI_CFLAGS
1053 LIBGNOMEPRINTUI_LIBS
1062 ac_subdirs_all
='src/expat'
1064 # Initialize some variables set by options.
1066 ac_init_version
=false
1067 # The variables have the same names as the options, with
1068 # dashes changed to underlines.
1069 cache_file
=/dev
/null
1076 program_transform_name
=s
,x
,x
,
1084 # Installation directory options.
1085 # These are left unexpanded so users can "make install exec_prefix=/foo"
1086 # and all the variables that are supposed to be based on exec_prefix
1087 # by default will actually change.
1088 # Use braces instead of parens because sh, perl, etc. also accept them.
1089 # (The list follows the same order as the GNU Coding Standards.)
1090 bindir
='${exec_prefix}/bin'
1091 sbindir
='${exec_prefix}/sbin'
1092 libexecdir
='${exec_prefix}/libexec'
1093 datarootdir
='${prefix}/share'
1094 datadir
='${datarootdir}'
1095 sysconfdir
='${prefix}/etc'
1096 sharedstatedir
='${prefix}/com'
1097 localstatedir
='${prefix}/var'
1098 includedir
='${prefix}/include'
1099 oldincludedir
='/usr/include'
1100 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1101 infodir
='${datarootdir}/info'
1106 libdir
='${exec_prefix}/lib'
1107 localedir
='${datarootdir}/locale'
1108 mandir
='${datarootdir}/man'
1114 # If the previous option needs an argument, assign it.
1115 if test -n "$ac_prev"; then
1116 eval $ac_prev=\
$ac_option
1122 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1126 # Accept the important Cygnus configure options, so we can diagnose typos.
1128 case $ac_dashdash$ac_option in
1132 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1134 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1135 bindir
=$ac_optarg ;;
1137 -build | --build | --buil | --bui | --bu)
1138 ac_prev
=build_alias
;;
1139 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1140 build_alias
=$ac_optarg ;;
1142 -cache-file | --cache-file | --cache-fil | --cache-fi \
1143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1144 ac_prev
=cache_file
;;
1145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1147 cache_file
=$ac_optarg ;;
1149 --config-cache | -C)
1150 cache_file
=config.cache
;;
1152 -datadir | --datadir | --datadi | --datad)
1154 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1155 datadir
=$ac_optarg ;;
1157 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1158 | --dataroo | --dataro | --datar)
1159 ac_prev
=datarootdir
;;
1160 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1161 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1162 datarootdir
=$ac_optarg ;;
1164 -disable-* | --disable-*)
1165 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1169 { (exit 1); exit 1; }; }
1170 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1171 eval enable_
$ac_feature=no
;;
1173 -docdir | --docdir | --docdi | --doc | --do)
1175 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1176 docdir
=$ac_optarg ;;
1178 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1180 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1181 dvidir
=$ac_optarg ;;
1183 -enable-* | --enable-*)
1184 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_
$ac_feature=\
$ac_optarg ;;
1192 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1193 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1194 | --exec | --exe | --ex)
1195 ac_prev
=exec_prefix
;;
1196 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1197 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1198 | --exec=* | --exe=* | --ex=*)
1199 exec_prefix
=$ac_optarg ;;
1201 -gas | --gas | --ga | --g)
1202 # Obsolete; use --with-gas.
1205 -help | --help | --hel | --he | -h)
1206 ac_init_help
=long
;;
1207 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1208 ac_init_help
=recursive
;;
1209 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1210 ac_init_help
=short
;;
1212 -host | --host | --hos | --ho)
1213 ac_prev
=host_alias
;;
1214 -host=* | --host=* | --hos=* | --ho=*)
1215 host_alias
=$ac_optarg ;;
1217 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1219 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1221 htmldir
=$ac_optarg ;;
1223 -includedir | --includedir | --includedi | --included | --include \
1224 | --includ | --inclu | --incl | --inc)
1225 ac_prev
=includedir
;;
1226 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1227 | --includ=* | --inclu=* | --incl=* | --inc=*)
1228 includedir
=$ac_optarg ;;
1230 -infodir | --infodir | --infodi | --infod | --info | --inf)
1232 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1233 infodir
=$ac_optarg ;;
1235 -libdir | --libdir | --libdi | --libd)
1237 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1238 libdir
=$ac_optarg ;;
1240 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1241 | --libexe | --libex | --libe)
1242 ac_prev
=libexecdir
;;
1243 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1244 | --libexe=* | --libex=* | --libe=*)
1245 libexecdir
=$ac_optarg ;;
1247 -localedir | --localedir | --localedi | --localed | --locale)
1248 ac_prev
=localedir
;;
1249 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1250 localedir
=$ac_optarg ;;
1252 -localstatedir | --localstatedir | --localstatedi | --localstated \
1253 | --localstate | --localstat | --localsta | --localst | --locals)
1254 ac_prev
=localstatedir
;;
1255 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1256 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1257 localstatedir
=$ac_optarg ;;
1259 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1261 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1262 mandir
=$ac_optarg ;;
1264 -nfp | --nfp | --nf)
1265 # Obsolete; use --without-fp.
1268 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1269 | --no-cr | --no-c | -n)
1272 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1273 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1276 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1277 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1278 | --oldin | --oldi | --old | --ol | --o)
1279 ac_prev
=oldincludedir
;;
1280 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1281 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1282 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1283 oldincludedir
=$ac_optarg ;;
1285 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1287 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1288 prefix
=$ac_optarg ;;
1290 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1291 | --program-pre | --program-pr | --program-p)
1292 ac_prev
=program_prefix
;;
1293 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1294 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1295 program_prefix
=$ac_optarg ;;
1297 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1298 | --program-suf | --program-su | --program-s)
1299 ac_prev
=program_suffix
;;
1300 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1301 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1302 program_suffix
=$ac_optarg ;;
1304 -program-transform-name | --program-transform-name \
1305 | --program-transform-nam | --program-transform-na \
1306 | --program-transform-n | --program-transform- \
1307 | --program-transform | --program-transfor \
1308 | --program-transfo | --program-transf \
1309 | --program-trans | --program-tran \
1310 | --progr-tra | --program-tr | --program-t)
1311 ac_prev
=program_transform_name
;;
1312 -program-transform-name=* | --program-transform-name=* \
1313 | --program-transform-nam=* | --program-transform-na=* \
1314 | --program-transform-n=* | --program-transform-=* \
1315 | --program-transform=* | --program-transfor=* \
1316 | --program-transfo=* | --program-transf=* \
1317 | --program-trans=* | --program-tran=* \
1318 | --progr-tra=* | --program-tr=* | --program-t=*)
1319 program_transform_name
=$ac_optarg ;;
1321 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1323 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1324 pdfdir
=$ac_optarg ;;
1326 -psdir | --psdir | --psdi | --psd | --ps)
1328 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1332 | -silent | --silent | --silen | --sile | --sil)
1335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1339 sbindir
=$ac_optarg ;;
1341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1343 | --sharedst | --shareds | --shared | --share | --shar \
1345 ac_prev
=sharedstatedir
;;
1346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1350 sharedstatedir
=$ac_optarg ;;
1352 -site | --site | --sit)
1354 -site=* | --site=* | --sit=*)
1357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1360 srcdir
=$ac_optarg ;;
1362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1363 | --syscon | --sysco | --sysc | --sys | --sy)
1364 ac_prev
=sysconfdir
;;
1365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1367 sysconfdir
=$ac_optarg ;;
1369 -target | --target | --targe | --targ | --tar | --ta | --t)
1370 ac_prev
=target_alias
;;
1371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1372 target_alias
=$ac_optarg ;;
1374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1377 -version | --version | --versio | --versi | --vers | -V)
1378 ac_init_version
=: ;;
1381 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_
$ac_package=\
$ac_optarg ;;
1389 -without-* | --without-*)
1390 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1393 { echo "$as_me: error: invalid package name: $ac_package" >&2
1394 { (exit 1); exit 1; }; }
1395 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1396 eval with_
$ac_package=no
;;
1399 # Obsolete; use --with-x.
1402 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1403 | --x-incl | --x-inc | --x-in | --x-i)
1404 ac_prev
=x_includes
;;
1405 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1406 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1407 x_includes
=$ac_optarg ;;
1409 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1410 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1411 ac_prev
=x_libraries
;;
1412 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1413 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1414 x_libraries
=$ac_optarg ;;
1416 -*) { echo "$as_me: error: unrecognized option: $ac_option
1417 Try \`$0 --help' for more information." >&2
1418 { (exit 1); exit 1; }; }
1422 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1423 # Reject names that are not valid shell variable names.
1424 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1425 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1426 { (exit 1); exit 1; }; }
1427 eval $ac_envvar=\
$ac_optarg
1428 export $ac_envvar ;;
1431 # FIXME: should be removed in autoconf 3.0.
1432 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1433 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1434 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1435 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1441 if test -n "$ac_prev"; then
1442 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1443 { echo "$as_me: error: missing argument to $ac_option" >&2
1444 { (exit 1); exit 1; }; }
1447 # Be sure to have absolute directory names.
1448 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1449 datadir sysconfdir sharedstatedir localstatedir includedir \
1450 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1451 libdir localedir mandir
1453 eval ac_val
=\$
$ac_var
1455 [\\/$
]* | ?
:[\\/]* ) continue;;
1456 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1458 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1459 { (exit 1); exit 1; }; }
1462 # There might be people who depend on the old broken behavior: `$host'
1463 # used to hold the argument of --host etc.
1464 # FIXME: To remove some day.
1467 target
=$target_alias
1469 # FIXME: To remove some day.
1470 if test "x$host_alias" != x
; then
1471 if test "x$build_alias" = x
; then
1472 cross_compiling
=maybe
1473 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1474 If a cross compiler is detected then cross compile mode will be used." >&2
1475 elif test "x$build_alias" != "x$host_alias"; then
1481 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1483 test "$silent" = yes && exec 6>/dev
/null
1486 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1487 ac_ls_di
=`ls -di .` &&
1488 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1489 { echo "$as_me: error: Working directory cannot be determined" >&2
1490 { (exit 1); exit 1; }; }
1491 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1492 { echo "$as_me: error: pwd does not report name of working directory" >&2
1493 { (exit 1); exit 1; }; }
1496 # Find the source files, if location was not specified.
1497 if test -z "$srcdir"; then
1498 ac_srcdir_defaulted
=yes
1499 # Try the directory containing this script, then the parent directory.
1500 ac_confdir
=`$as_dirname -- "$0" ||
1501 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1502 X"$0" : 'X\(//\)[^/]' \| \
1503 X"$0" : 'X\(//\)$' \| \
1504 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1528 ac_srcdir_defaulted
=no
1530 if test ! -r "$srcdir/$ac_unique_file"; then
1531 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1532 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1533 { (exit 1); exit 1; }; }
1535 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1537 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1538 { (exit 1); exit 1; }; }
1540 # When building in place, set srcdir=.
1541 if test "$ac_abs_confdir" = "$ac_pwd"; then
1544 # Remove unnecessary trailing slashes from srcdir.
1545 # Double slashes in file names in object file debugging info
1546 # mess up M-x gdb in Emacs.
1548 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1550 for ac_var
in $ac_precious_vars; do
1551 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1552 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1553 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1554 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1558 # Report the --help message.
1560 if test "$ac_init_help" = "long"; then
1561 # Omit some internal or obsolete options to make the list less imposing.
1562 # This message is too long to be a string in the A/UX 3.1 sh.
1564 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1566 Usage: $0 [OPTION]... [VAR=VALUE]...
1568 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1569 VAR=VALUE. See below for descriptions of some of the useful variables.
1571 Defaults for the options are specified in brackets.
1574 -h, --help display this help and exit
1575 --help=short display options specific to this package
1576 --help=recursive display the short help of all the included packages
1577 -V, --version display version information and exit
1578 -q, --quiet, --silent do not print \`checking...' messages
1579 --cache-file=FILE cache test results in FILE [disabled]
1580 -C, --config-cache alias for \`--cache-file=config.cache'
1581 -n, --no-create do not create output files
1582 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1584 Installation directories:
1585 --prefix=PREFIX install architecture-independent files in PREFIX
1586 [$ac_default_prefix]
1587 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1590 By default, \`make install' will install all the files in
1591 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1592 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1593 for instance \`--prefix=\$HOME'.
1595 For better control, use the options below.
1597 Fine tuning of the installation directories:
1598 --bindir=DIR user executables [EPREFIX/bin]
1599 --sbindir=DIR system admin executables [EPREFIX/sbin]
1600 --libexecdir=DIR program executables [EPREFIX/libexec]
1601 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1602 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1603 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1604 --libdir=DIR object code libraries [EPREFIX/lib]
1605 --includedir=DIR C header files [PREFIX/include]
1606 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1607 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1608 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1609 --infodir=DIR info documentation [DATAROOTDIR/info]
1610 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1611 --mandir=DIR man documentation [DATAROOTDIR/man]
1612 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1613 --htmldir=DIR html documentation [DOCDIR]
1614 --dvidir=DIR dvi documentation [DOCDIR]
1615 --pdfdir=DIR pdf documentation [DOCDIR]
1616 --psdir=DIR ps documentation [DOCDIR]
1622 --x-includes=DIR X include files are
in DIR
1623 --x-libraries=DIR X library files are
in DIR
1626 --build=BUILD configure
for building on BUILD
[guessed
]
1627 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1628 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1632 if test -n "$ac_init_help"; then
1633 case $ac_init_help in
1634 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1639 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1640 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1641 --disable-gui don
't build GUI parts of the library
1642 --enable-monolithic build wxWidgets as single library
1643 --enable-plugins build parts of wxWidgets as loadable components
1644 --enable-official_build official build of wxWidgets (win32 DLL only)
1645 --enable-vendor=VENDOR vendor name (win32 DLL only)
1646 --disable-all-features disable all optional features to build minimal library
1647 --enable-universal use wxWidgets GUI controls instead of native ones
1648 --enable-nanox use NanoX
1649 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1650 --enable-gpe use GNOME PDA Environment features if possible
1651 --disable-shared create static library instead of shared
1652 --disable-optimise create optimised code
1653 --enable-debug same as debug_flag and debug_info
1654 --enable-stl use STL for containers
1655 --enable-std_iostreams use standard C++ stream classes
1656 --enable-std_string use standard C++ string classes
1657 --disable-unicode compile without Unicode support
1658 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1659 --enable-utf8 use UTF-8 representation for strings (Unix only)
1660 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1661 --enable-extended_rtti use extended RTTI (XTI)
1662 --enable-omf use OMF object format
1663 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1664 --enable-debug_info create code with debugging information
1665 --enable-debug_gdb create code with extra GDB debugging information
1666 --enable-debug_cntxt use wxDebugContext
1667 --enable-mem_tracing create code with memory tracing
1668 --enable-profile create code with profiling information
1669 --enable-no_rtti create code without RTTI information
1670 --enable-no_exceptions create code without C++ exceptions handling
1671 --enable-permissive compile code disregarding strict ANSI
1672 --enable-no_deps create code without dependency information
1673 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1674 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
1675 --enable-compat26 enable wxWidgets
2.6 compatibility
1676 --disable-compat28 disable wxWidgets
2.8 compatibility
1677 --disable-rpath disable use of rpath
for uninstalled builds
1678 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1679 --disable-visibility disable use of ELF symbols visibility even
if supported
1680 --enable-intl use internationalization system
1681 --enable-config use wxConfig
(and derived
) classes
1682 --enable-protocols use wxProtocol and derived classes
1683 --enable-ftp use wxFTP
(requires wxProtocol
1684 --enable-http use wxHTTP
(requires wxProtocol
1685 --enable-fileproto use wxFileProto class
(requires wxProtocol
1686 --enable-sockets use socket
/network classes
1687 --enable-ole use OLE classes
(Win32 only
)
1688 --enable-dataobj use data object classes
1689 --enable-ipc use interprocess communication
(wxSocket etc.
)
1690 --enable-baseevtloop use event loop
in console programs too
1691 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1692 --enable-selectloop use wxSelectDispatcher class
1693 --enable-apple_ieee use the Apple IEEE codec
1694 --enable-arcstream use wxArchive streams
1695 --enable-base64 use base64 encoding
/decoding functions
1696 --enable-backtrace use wxStackWalker class
for getting backtraces
1697 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1698 --enable-cmdline use wxCmdLineParser class
1699 --enable-datetime use wxDateTime class
1700 --enable-debugreport use wxDebugReport class
1701 --enable-dialupman use dialup network classes
1702 --enable-dynlib use wxLibrary class
for DLL loading
1703 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1704 --enable-exceptions build exception
-safe library
1705 --enable-ffile use wxFFile class
1706 --enable-file use wxFile class
1707 --enable-filesystem use virtual
file systems classes
1708 --enable-fontenum use wxFontEnumerator class
1709 --enable-fontmap use font encodings conversion classes
1710 --enable-fs_archive use virtual archive filesystems
1711 --enable-fs_inet use virtual HTTP
/FTP filesystems
1712 --enable-fs_zip now replaced by fs_archive
1713 --enable-geometry use geometry class
1714 --enable-log use logging system
1715 --enable-longlong use wxLongLong class
1716 --enable-mimetype use wxMimeTypesManager
1717 --enable-snglinst use wxSingleInstanceChecker class
1718 --enable-stdpaths use wxStandardPaths class
1719 --enable-stopwatch use wxStopWatch class
1720 --enable-streams use wxStream etc classes
1721 --enable-sysoptions use wxSystemOptions
1722 --enable-tarstream use wxTar streams
1723 --enable-textbuf use wxTextBuffer class
1724 --enable-textfile use wxTextFile class
1725 --enable-timer use wxTimer class
1726 --enable-sound use wxSound class
1727 --enable-mediactrl use wxMediaCtrl class
1728 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1729 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1730 --enable-zipstream use wxZip streams
1731 --enable-url use wxURL class
1732 --enable-variant use wxVariant class
1733 --enable-protocol use wxProtocol class
1734 --enable-protocol-http HTTP support
in wxProtocol
1735 --enable-protocol-ftp FTP support
in wxProtocol
1736 --enable-protocol-file FILE support
in wxProtocol
1737 --enable-threads use threads
1738 --enable-iniconf use wxIniConfig
(Win32 only
)
1739 --enable-regkey use wxRegKey class
(Win32 only
)
1740 --enable-docview use document view architecture
1741 --enable-help use
help subsystem
1742 --enable-mshtmlhelp use MS HTML Help
(win32
)
1743 --enable-html use wxHTML sub
-library
1744 --enable-htmlhelp use wxHTML
-based help
1745 --enable-xrc use XRC resources sub
-library
1746 --enable-aui use AUI docking library
1747 --enable-stc use wxStyledTextCtrl library
1748 --enable-constraints use layout
-constraints system
1749 --enable-printarch use printing architecture
1750 --enable-mdi use multiple document interface architecture
1751 --enable-mdidoc use docview architecture with MDI
1752 --enable-loggui use standard GUI logger
1753 --enable-logwin use wxLogWindow
1754 --enable-logdialog use wxLogDialog
1755 --enable-webkit use wxWebKitCtrl
(Mac
)
1756 --enable-richtext use wxRichTextCtrl
1757 --enable-graphics_ctx use graphics context
2D drawing API
1758 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1759 --enable-svg use wxSVGFileDC device context
1760 --enable-clipboard use wxClipboard class
1761 --enable-dnd use Drag
'n'Drop classes
1762 --enable-metafile use win32 metafiles
1763 --disable-controls disable compilation of all standard controls
1764 --enable-accel use accelerators
1765 --enable-animatectrl use wxAnimationCtrl class
1766 --enable-button use wxButton class
1767 --enable-bmpbutton use wxBitmapButton class
1768 --enable-bmpcombobox use wxBitmapComboBox class
1769 --enable-calendar use wxCalendarCtrl class
1770 --enable-caret use wxCaret class
1771 --enable-checkbox use wxCheckBox class
1772 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1773 --enable-choice use wxChoice class
1774 --enable-choicebook use wxChoicebook class
1775 --enable-collpane use wxCollapsiblePane class
1776 --enable-colourpicker use wxColourPickerCtrl class
1777 --enable-combobox use wxComboBox class
1778 --enable-comboctrl use wxComboCtrl class
1779 --enable-datepick use wxDatePickerCtrl class
1780 --enable-dirpicker use wxDirPickerCtrl class
1781 --enable-display use wxDisplay class
1782 --enable-detect_sm use code to detect X11 session manager
1783 --enable-editablebox use wxEditableListBox class
1784 --enable-filepicker use wxFilePickerCtrl class
1785 --enable-fontpicker use wxFontPickerCtrl class
1786 --enable-gauge use wxGauge class
1787 --enable-grid use wxGrid class
1788 --enable-dataviewctrl use wxDataViewCtrl class
1789 --enable-hyperlink use wxHyperlinkCtrl class
1790 --enable-imaglist use wxImageList class
1791 --enable-listbook use wxListbook class
1792 --enable-listbox use wxListBox class
1793 --enable-listctrl use wxListCtrl class
1794 --enable-notebook use wxNotebook class
1795 --enable-odcombobox use wxOwnerDrawnComboBox class
1796 --enable-radiobox use wxRadioBox class
1797 --enable-radiobtn use wxRadioButton class
1798 --enable-sash use wxSashWindow class
1799 --enable-scrollbar use wxScrollBar class and scrollable windows
1800 --enable-searchctrl use wxSearchCtrl class
1801 --enable-slider use wxSlider class
1802 --enable-spinbtn use wxSpinButton class
1803 --enable-spinctrl use wxSpinCtrl class
1804 --enable-splitter use wxSplitterWindow class
1805 --enable-statbmp use wxStaticBitmap class
1806 --enable-statbox use wxStaticBox class
1807 --enable-statline use wxStaticLine class
1808 --enable-stattext use wxStaticText class
1809 --enable-statusbar use wxStatusBar class
1810 --enable-tabdialog use wxTabControl class
1811 --enable-taskbaricon use wxTaskBarIcon class
1812 --enable-textctrl use wxTextCtrl class
1813 --enable-togglebtn use wxToggleButton class
1814 --enable-toolbar use wxToolBar class
1815 --enable-tbarnative use native wxToolBar class
1816 --enable-treebook use wxTreebook class
1817 --enable-toolbook use wxToolbook class
1818 --enable-treectrl use wxTreeCtrl class
1819 --enable-tipwindow use wxTipWindow class
1820 --enable-popupwin use wxPopUpWindow class
1821 --enable-commondlg use all common dialogs
1822 --enable-aboutdlg use wxAboutBox
1823 --enable-choicedlg use wxChoiceDialog
1824 --enable-coldlg use wxColourDialog
1825 --enable-filedlg use wxFileDialog
1826 --enable-finddlg use wxFindReplaceDialog
1827 --enable-fontdlg use wxFontDialog
1828 --enable-dirdlg use wxDirDialog
1829 --enable-msgdlg use wxMessageDialog
1830 --enable-numberdlg use wxNumberEntryDialog
1831 --enable-splash use wxSplashScreen
1832 --enable-textdlg use wxTextDialog
1833 --enable-tipdlg use startup tips
1834 --enable-progressdlg use wxProgressDialog
1835 --enable-wizarddlg use wxWizard
1836 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1837 --enable-miniframe use wxMiniFrame class
1838 --enable-tooltips use wxToolTip class
1839 --enable-splines use spline drawing code
1840 --enable-mousewheel use mousewheel
1841 --enable-validators use wxValidator and derived classes
1842 --enable-busyinfo use wxBusyInfo
1843 --enable-joystick use wxJoystick
1844 --enable-metafiles use wxMetaFile
(Win32 only
)
1845 --enable-dragimage use wxDragImage
1846 --enable-accessibility enable accessibility support
1847 --enable-palette use wxPalette class
1848 --enable-image use wxImage class
1849 --enable-gif use gif images
(GIF
file format
)
1850 --enable-pcx use pcx images
(PCX
file format
)
1851 --enable-tga use tga images
(TGA
file format
)
1852 --enable-iff use iff images
(IFF
file format
)
1853 --enable-pnm use pnm images
(PNM
file format
)
1854 --enable-xpm use xpm images
(XPM
file format
)
1855 --enable-icocur use Windows ICO and CUR formats
1856 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1857 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1858 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1859 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1860 --enable-wxdib use wxDIB class
(Win32 only
)
1861 --disable-largefile omit support
for large files
1862 --disable-gtktest do not try to compile and run a
test GTK
+ program
1863 --disable-gtktest Do not try to compile and run a
test GTK program
1864 --disable-sdltest Do not try to compile and run a
test SDL program
1865 --enable-omf use OMF object format
(OS
/2)
1866 --disable-dependency-tracking
1867 don
't use dependency tracking even if the compiler
1869 --disable-precomp-headers
1870 don't use precompiled headers even
if compiler can
1873 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1874 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1875 --without-subdirs don
't generate makefiles for samples/demos/...
1876 --with-flavour=NAME specify a name to identify this build
1877 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1878 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1879 --with-motif use Motif/Lesstif
1880 --with-mac use Mac OS X
1881 --with-cocoa use Cocoa
1882 --with-wine use Wine
1883 --with-msw use MS-Windows
1884 --with-pm use OS/2 Presentation Manager
1885 --with-mgl use SciTech MGL
1886 --with-directfb use DirectFB
1887 --with-microwin use MicroWindows
1889 --with-libpng use libpng (PNG image format)
1890 --with-libjpeg use libjpeg (JPEG file format)
1891 --with-libtiff use libtiff (TIFF file format)
1892 --with-libxpm use libxpm (XPM file format)
1893 --with-libmspack use libmspack (CHM help files loading)
1894 --without-gtkprint don't use GTK printing support
1895 --without-gnomeprint don
't use GNOME printing libraries
1896 --with-gnomevfs use GNOME VFS for associating MIME types
1897 --with-hildon use Hildon framework for Nokia 770
1898 --with-opengl use OpenGL (or Mesa)
1899 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1900 --with-sdl use SDL for audio on Unix
1901 --with-regex enable support for wxRegEx class
1902 --with-zlib use zlib for LZW compression
1903 --with-odbc use the IODBC and wxODBC classes
1904 --with-expat enable XML support using expat parser
1905 --with-macosx-sdk=PATH use an OS X SDK at PATH
1906 --with-macosx-version-min=VER build binaries which require at least this OS X version
1907 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1908 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1909 --with-x use the X Window System
1910 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1911 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1912 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1913 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1914 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1916 Some influential environment variables:
1917 CC C compiler command
1918 CFLAGS C compiler flags
1919 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1920 nonstandard directory <lib dir>
1921 LIBS libraries to pass to the linker, e.g. -l<library>
1922 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1923 you have headers in a nonstandard directory <include dir>
1925 CXX C++ compiler command
1926 CXXFLAGS C++ compiler flags
1927 PKG_CONFIG path to pkg-config utility
1929 C compiler flags for DIRECTFB, overriding pkg-config
1931 linker flags for DIRECTFB, overriding pkg-config
1932 XMKMF Path to xmkmf, Makefile generator for X Window System
1934 C compiler flags for PANGOX, overriding pkg-config
1935 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1937 C compiler flags for PANGOFT2, overriding pkg-config
1939 linker flags for PANGOFT2, overriding pkg-config
1941 C compiler flags for PANGOXFT, overriding pkg-config
1943 linker flags for PANGOXFT, overriding pkg-config
1945 C compiler flags for GTKPRINT, overriding pkg-config
1947 linker flags for GTKPRINT, overriding pkg-config
1948 LIBGNOMEPRINTUI_CFLAGS
1949 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1950 LIBGNOMEPRINTUI_LIBS
1951 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1953 C compiler flags for GNOMEVFS, overriding pkg-config
1955 linker flags for GNOMEVFS, overriding pkg-config
1957 C compiler flags for HILDON, overriding pkg-config
1958 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1960 C compiler flags for CAIRO, overriding pkg-config
1961 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1962 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1963 GST_LIBS linker flags for GST, overriding pkg-config
1965 Use these variables to override the choices made by `configure' or to
help
1966 it to
find libraries and programs with nonstandard names
/locations.
1968 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1973 if test "$ac_init_help" = "recursive"; then
1974 # If there are subdirs, report their specific --help.
1975 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1976 test -d "$ac_dir" || continue
1980 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1982 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1983 # A ".." for each directory in $ac_dir_suffix.
1984 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1985 case $ac_top_builddir_sub in
1986 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1987 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1990 ac_abs_top_builddir
=$ac_pwd
1991 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1992 # for backward compatibility:
1993 ac_top_builddir
=$ac_top_build_prefix
1996 .
) # We are building in place.
1998 ac_top_srcdir
=$ac_top_builddir_sub
1999 ac_abs_top_srcdir
=$ac_pwd ;;
2000 [\\/]* | ?
:[\\/]* ) # Absolute name.
2001 ac_srcdir
=$srcdir$ac_dir_suffix;
2002 ac_top_srcdir
=$srcdir
2003 ac_abs_top_srcdir
=$srcdir ;;
2005 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2006 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2007 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2009 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2011 cd "$ac_dir" || { ac_status
=$?
; continue; }
2012 # Check for guested configure.
2013 if test -f "$ac_srcdir/configure.gnu"; then
2015 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2016 elif test -f "$ac_srcdir/configure"; then
2018 $SHELL "$ac_srcdir/configure" --help=recursive
2020 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2022 cd "$ac_pwd" || { ac_status
=$?
; break; }
2026 test -n "$ac_init_help" && exit $ac_status
2027 if $ac_init_version; then
2029 wxWidgets configure
2.9.0
2030 generated by GNU Autoconf
2.61
2032 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2033 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2034 This configure
script is free software
; the Free Software Foundation
2035 gives unlimited permission to copy
, distribute and modify it.
2039 cat >config.log
<<_ACEOF
2040 This file contains any messages produced by compilers while
2041 running configure, to aid debugging if configure makes a mistake.
2043 It was created by wxWidgets $as_me 2.9.0, which was
2044 generated by GNU Autoconf 2.61. Invocation command line was
2056 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2057 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2058 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2059 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2060 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2062 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2063 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2065 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2066 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2067 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2068 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2069 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2070 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2071 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir
=.
2080 echo "PATH: $as_dir"
2096 # Keep a trace of the command line.
2097 # Strip out --no-create and --no-recursion so they do not pile up.
2098 # Strip out --silent because we don't want to record it for future runs.
2099 # Also quote any args containing shell meta-characters.
2100 # Make two passes to allow for proper duplicate-argument suppression.
2104 ac_must_keep_next
=false
2110 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2112 | -silent | --silent | --silen | --sile | --sil)
2115 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2118 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2120 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2121 if test $ac_must_keep_next = true
; then
2122 ac_must_keep_next
=false
# Got value, back to normal.
2125 *=* | --config-cache | -C | -disable-* | --disable-* \
2126 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2127 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2128 | -with-* | --with-* | -without-* | --without-* | --x)
2129 case "$ac_configure_args0 " in
2130 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2133 -* ) ac_must_keep_next
=true
;;
2136 ac_configure_args
="$ac_configure_args '$ac_arg'"
2141 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2142 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2144 # When interrupted or exit'd, cleanup temporary files, and complete
2145 # config.log. We remove comments because anyway the quotes in there
2146 # would cause problems or look ugly.
2147 # WARNING: Use '\'' to represent an apostrophe within the trap.
2148 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2149 trap 'exit_status=$?
2150 # Save into config.log some information that might help in debugging.
2155 ## ---------------- ##
2156 ## Cache variables. ##
2157 ## ---------------- ##
2160 # The following way of writing the cache mishandles newlines in values,
2162 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2163 eval ac_val=\$$ac_var
2167 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2168 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2171 _ | IFS | as_nl) ;; #(
2172 *) $as_unset $ac_var ;;
2177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2178 *${as_nl}ac_space=\ *)
2180 "s/'\''/'\''\\\\'\'''\''/g;
2181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2192 ## ----------------- ##
2193 ## Output variables. ##
2194 ## ----------------- ##
2197 for ac_var in $ac_subst_vars
2199 eval ac_val=\$$ac_var
2201 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203 echo "$ac_var='\''$ac_val'\''"
2207 if test -n "$ac_subst_files"; then
2209 ## ------------------- ##
2210 ## File substitutions. ##
2211 ## ------------------- ##
2214 for ac_var
in $ac_subst_files
2216 eval ac_val
=\$
$ac_var
2218 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220 echo "$ac_var='\''$ac_val'\''"
2225 if test -s confdefs.h; then
2235 test "$ac_signal" != 0 &&
2236 echo "$as_me: caught signal $ac_signal"
2237 echo "$as_me: exit $exit_status"
2239 rm -f core *.core core.conftest.* &&
2240 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2243 for ac_signal
in 1 2 13 15; do
2244 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2248 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2249 rm -f -r conftest
* confdefs.h
2251 # Predefined preprocessor variables.
2253 cat >>confdefs.h
<<_ACEOF
2254 #define PACKAGE_NAME "$PACKAGE_NAME"
2258 cat >>confdefs.h
<<_ACEOF
2259 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2263 cat >>confdefs.h
<<_ACEOF
2264 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2268 cat >>confdefs.h
<<_ACEOF
2269 #define PACKAGE_STRING "$PACKAGE_STRING"
2273 cat >>confdefs.h
<<_ACEOF
2274 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2278 # Let the site file select an alternate cache file if it wants to.
2279 # Prefer explicitly selected file to automatically selected ones.
2280 if test -n "$CONFIG_SITE"; then
2281 set x
"$CONFIG_SITE"
2282 elif test "x$prefix" != xNONE
; then
2283 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2285 set x
"$ac_default_prefix/share/config.site" \
2286 "$ac_default_prefix/etc/config.site"
2291 if test -r "$ac_site_file"; then
2292 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2293 echo "$as_me: loading site script $ac_site_file" >&6;}
2294 sed 's/^/| /' "$ac_site_file" >&5
2299 if test -r "$cache_file"; then
2300 # Some versions of bash will fail to source /dev/null (special
2301 # files actually), so we avoid doing that.
2302 if test -f "$cache_file"; then
2303 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2304 echo "$as_me: loading cache $cache_file" >&6;}
2306 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2307 *) .
"./$cache_file";;
2311 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2312 echo "$as_me: creating cache $cache_file" >&6;}
2316 # Check that the precious variables saved in the cache have kept the same
2318 ac_cache_corrupted
=false
2319 for ac_var
in $ac_precious_vars; do
2320 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2321 eval ac_new_set
=\
$ac_env_${ac_var}_set
2322 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2323 eval ac_new_val
=\
$ac_env_${ac_var}_value
2324 case $ac_old_set,$ac_new_set in
2326 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2327 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2328 ac_cache_corrupted
=: ;;
2330 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2331 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2332 ac_cache_corrupted
=: ;;
2335 if test "x$ac_old_val" != "x$ac_new_val"; then
2336 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2337 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2338 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2339 echo "$as_me: former value: $ac_old_val" >&2;}
2340 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2341 echo "$as_me: current value: $ac_new_val" >&2;}
2342 ac_cache_corrupted
=:
2345 # Pass precious variables to config.status.
2346 if test "$ac_new_set" = set; then
2348 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2349 *) ac_arg
=$ac_var=$ac_new_val ;;
2351 case " $ac_configure_args " in
2352 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2353 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2357 if $ac_cache_corrupted; then
2358 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2359 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2360 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2361 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2362 { (exit 1); exit 1; }; }
2390 ac_cpp
='$CPP $CPPFLAGS'
2391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2400 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2401 if test -f "$ac_dir/install-sh"; then
2403 ac_install_sh
="$ac_aux_dir/install-sh -c"
2405 elif test -f "$ac_dir/install.sh"; then
2407 ac_install_sh
="$ac_aux_dir/install.sh -c"
2409 elif test -f "$ac_dir/shtool"; then
2411 ac_install_sh
="$ac_aux_dir/shtool install -c"
2415 if test -z "$ac_aux_dir"; then
2416 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2417 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2418 { (exit 1); exit 1; }; }
2421 # These three variables are undocumented and unsupported,
2422 # and are intended to be withdrawn in a future Autoconf release.
2423 # They can cause serious problems if a builder's source tree is in a directory
2424 # whose full name contains unusual characters.
2425 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2426 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2427 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2430 # Make sure we can run config.sub.
2431 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2432 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2433 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2434 { (exit 1); exit 1; }; }
2436 { echo "$as_me:$LINENO: checking build system type" >&5
2437 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2438 if test "${ac_cv_build+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 ac_build_alias
=$build_alias
2442 test "x$ac_build_alias" = x
&&
2443 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2444 test "x$ac_build_alias" = x
&&
2445 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2446 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2447 { (exit 1); exit 1; }; }
2448 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2449 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2450 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2451 { (exit 1); exit 1; }; }
2454 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2455 echo "${ECHO_T}$ac_cv_build" >&6; }
2456 case $ac_cv_build in
2458 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2459 echo "$as_me: error: invalid value of canonical build" >&2;}
2460 { (exit 1); exit 1; }; };;
2463 ac_save_IFS
=$IFS; IFS
='-'
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2473 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2476 { echo "$as_me:$LINENO: checking host system type" >&5
2477 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_host+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test "x$host_alias" = x
; then
2482 ac_cv_host
=$ac_cv_build
2484 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2487 { (exit 1); exit 1; }; }
2491 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2492 echo "${ECHO_T}$ac_cv_host" >&6; }
2495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2496 echo "$as_me: error: invalid value of canonical host" >&2;}
2497 { (exit 1); exit 1; }; };;
2500 ac_save_IFS
=$IFS; IFS
='-'
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2510 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2513 { echo "$as_me:$LINENO: checking target system type" >&5
2514 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2515 if test "${ac_cv_target+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 if test "x$target_alias" = x
; then
2519 ac_cv_target
=$ac_cv_host
2521 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2522 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2523 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2524 { (exit 1); exit 1; }; }
2528 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2529 echo "${ECHO_T}$ac_cv_target" >&6; }
2530 case $ac_cv_target in
2532 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2533 echo "$as_me: error: invalid value of canonical target" >&2;}
2534 { (exit 1); exit 1; }; };;
2536 target
=$ac_cv_target
2537 ac_save_IFS
=$IFS; IFS
='-'
2543 # Remember, the first character of IFS is used to create $*,
2544 # except with old shells:
2547 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2550 # The aliases save the names the user supplied, while $host etc.
2551 # will get canonicalized.
2552 test -n "$target_alias" &&
2553 test "$program_prefix$program_suffix$program_transform_name" = \
2555 program_prefix
=${target_alias}-
2559 wx_major_version_number
=2
2560 wx_minor_version_number
=9
2562 wx_subrelease_number
=0
2564 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2565 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2566 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2568 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2571 wx_top_builddir
="`pwd`"
2584 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2590 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2596 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2598 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2600 DEFAULT_wxUSE_COCOA
=0
2604 DEFAULT_wxUSE_MICROWIN
=0
2605 DEFAULT_wxUSE_MOTIF
=0
2611 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2612 DEFAULT_DEFAULT_wxUSE_GTK
=0
2613 DEFAULT_DEFAULT_wxUSE_MAC
=0
2614 DEFAULT_DEFAULT_wxUSE_MGL
=0
2615 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2616 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2617 DEFAULT_DEFAULT_wxUSE_MSW
=0
2618 DEFAULT_DEFAULT_wxUSE_PM
=0
2619 DEFAULT_DEFAULT_wxUSE_X11
=0
2620 DEFAULT_DEFAULT_wxUSE_DFB
=0
2625 SAMPLES_RPATH_POSTLINK
=
2627 DEFAULT_STD_FLAG
=yes
2632 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2633 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2635 cat >>confdefs.h
<<\_ACEOF
2640 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2644 cat >>confdefs.h
<<\_ACEOF
2649 if test "x$TMP" = "xalpha"; then
2651 cat >>confdefs.h
<<\_ACEOF
2656 DEFAULT_DEFAULT_wxUSE_GTK
=1
2658 *-*-gnu* | *-*-k*bsd
*-gnu )
2661 if test "x$TMP" = "xalpha"; then
2663 cat >>confdefs.h
<<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_GTK
=1
2670 *-*-irix5* | *-*-irix6* )
2673 cat >>confdefs.h
<<\_ACEOF
2677 cat >>confdefs.h
<<\_ACEOF
2681 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2687 cat >>confdefs.h
<<\_ACEOF
2691 cat >>confdefs.h
<<\_ACEOF
2692 #define __SOLARIS__ 1
2695 cat >>confdefs.h
<<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2700 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2706 cat >>confdefs.h
<<\_ACEOF
2710 cat >>confdefs.h
<<\_ACEOF
2714 cat >>confdefs.h
<<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2723 cat >>confdefs.h
<<\_ACEOF
2724 #define __FREEBSD__ 1
2727 cat >>confdefs.h
<<\_ACEOF
2731 DEFAULT_DEFAULT_wxUSE_GTK
=1
2733 *-*-openbsd*|*-*-mirbsd*)
2736 cat >>confdefs.h
<<\_ACEOF
2737 #define __OPENBSD__ 1
2740 cat >>confdefs.h
<<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_GTK
=1
2749 cat >>confdefs.h
<<\_ACEOF
2750 #define __NETBSD__ 1
2753 cat >>confdefs.h
<<\_ACEOF
2757 DEFAULT_DEFAULT_wxUSE_GTK
=1
2758 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2760 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2765 cat >>confdefs.h
<<\_ACEOF
2769 cat >>confdefs.h
<<\_ACEOF
2773 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2774 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2779 cat >>confdefs.h
<<\_ACEOF
2783 cat >>confdefs.h
<<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2792 cat >>confdefs.h
<<\_ACEOF
2796 cat >>confdefs.h
<<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2807 cat >>confdefs.h
<<\_ACEOF
2811 cat >>confdefs.h
<<\_ACEOF
2815 cat >>confdefs.h
<<\_ACEOF
2819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2826 cat >>confdefs.h
<<\_ACEOF
2827 #define __UNIXWARE__ 1
2832 *-*-cygwin* | *-*-mingw32* )
2835 DEFAULT_DEFAULT_wxUSE_MSW
=1
2841 cat >>confdefs.h
<<\_ACEOF
2846 DEFAULT_DEFAULT_wxUSE_MGL
=1
2849 *-pc-os2_emx | *-pc-os2-emx )
2850 cat >>confdefs.h
<<\_ACEOF
2855 cat >>confdefs.h
<<\_ACEOF
2860 DEFAULT_DEFAULT_wxUSE_PM
=1
2862 LDFLAGS
="$LDFLAGS -Zcrtdll"
2863 ac_executable_extensions
=".exe"
2864 export ac_executable_extensions
2868 for ac_dir
in $PATH; do
2870 if test -z "$ac_TEMP_PATH"; then
2871 ac_TEMP_PATH
="$ac_dir"
2873 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2876 export PATH
="$ac_TEMP_PATH"
2885 cat >>confdefs.h
<<\_ACEOF
2889 cat >>confdefs.h
<<\_ACEOF
2890 #define __DARWIN__ 1
2893 cat >>confdefs.h
<<\_ACEOF
2894 #define TARGET_CARBON 1
2897 DEFAULT_DEFAULT_wxUSE_MAC
=1
2900 powerpc
-apple-macos* )
2902 ac_cv_c_bigendian
=yes
2904 DEFAULT_DEFAULT_wxUSE_MAC
=1
2910 cat >>confdefs.h
<<\_ACEOF
2917 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2918 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2919 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2920 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2922 DEFAULT_DEFAULT_wxUSE_X11
=1
2923 DEFAULT_wxUSE_SHARED
=no
2929 wx_arg_cache_file
="configarg.cache"
2930 echo "loading argument cache $wx_arg_cache_file"
2931 rm -f ${wx_arg_cache_file}.tmp
2932 touch ${wx_arg_cache_file}.tmp
2933 touch ${wx_arg_cache_file}
2936 DEFAULT_wxUSE_ALL_FEATURES
=yes
2938 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2939 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2941 DEFAULT_wxUSE_DMALLOC
=no
2942 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2943 DEFAULT_wxUSE_LIBHILDON
=no
2944 DEFAULT_wxUSE_LIBMSPACK
=no
2945 DEFAULT_wxUSE_LIBSDL
=no
2946 DEFAULT_wxUSE_ODBC
=no
2947 DEFAULT_wxUSE_OPENGL
=no
2949 DEFAULT_wxUSE_ACCESSIBILITY
=no
2950 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2951 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2952 DEFAULT_wxUSE_MEDIACTRL
=no
2953 DEFAULT_wxUSE_TAB_DIALOG
=no
2955 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2956 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2958 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2960 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2962 DEFAULT_wxUSE_GTK2
=yes
2964 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2967 for toolkit
in `echo $ALL_TOOLKITS`; do
2968 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2969 if test "x$LINE" != "x" ; then
2970 has_toolkit_in_cache
=1
2971 eval "DEFAULT_$LINE"
2972 eval "CACHE_$toolkit=1"
2974 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2975 if test "x$LINE" != "x" ; then
2976 eval "DEFAULT_$LINE"
2985 enablestring
=disable
2987 if test -z "$defaultval"; then
2988 if test x
"$enablestring" = xdisable
; then
2995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2996 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2997 # Check whether --enable-gui was given.
2998 if test "${enable_gui+set}" = set; then
2999 enableval
=$enable_gui;
3000 if test "$enableval" = yes; then
3001 wx_cv_use_gui
='wxUSE_GUI=yes'
3003 wx_cv_use_gui
='wxUSE_GUI=no'
3009 LINE
=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x
; then
3011 eval "DEFAULT_$LINE"
3017 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3022 eval "$wx_cv_use_gui"
3023 if test "x$cache" = xyes; then
3024 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3027 if test x"$enablestring" = xdisable; then
3028 if test $wxUSE_GUI = yes; then
3037 { echo "$as_me:$LINENO: result: $result" >&5
3038 echo "${ECHO_T}$result" >&6; }
3043 if test -z "$defaultval"; then
3044 if test x"$enablestring" = xdisable; then
3051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3052 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3053 # Check whether --enable-monolithic was given.
3054 if test "${enable_monolithic+set}" = set; then
3055 enableval=$enable_monolithic;
3056 if test "$enableval" = yes; then
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3065 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3078 eval "$wx_cv_use_monolithic"
3079 if test "x
$cache" = xyes; then
3080 echo "wxUSE_MONOLITHIC
=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3083 if test x"$enablestring" = xdisable; then
3084 if test $wxUSE_MONOLITHIC = yes; then
3090 result=$wxUSE_MONOLITHIC
3093 { echo "$as_me:$LINENO: result
: $result" >&5
3094 echo "${ECHO_T}$result" >&6; }
3099 if test -z "$defaultval"; then
3100 if test x"$enablestring" = xdisable; then
3107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3108 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3109 # Check whether --enable-plugins was given.
3110 if test "${enable_plugins+set}" = set; then
3111 enableval=$enable_plugins;
3112 if test "$enableval" = yes; then
3113 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3115 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3121 LINE=`grep "^wxUSE_PLUGINS
=" ${wx_arg_cache_file}`
3122 if test "x
$LINE" != x ; then
3123 eval "DEFAULT_
$LINE"
3129 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3134 eval "$wx_cv_use_plugins"
3135 if test "x$cache" = xyes
; then
3136 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3139 if test x
"$enablestring" = xdisable
; then
3140 if test $wxUSE_PLUGINS = yes; then
3146 result
=$wxUSE_PLUGINS
3149 { echo "$as_me:$LINENO: result: $result" >&5
3150 echo "${ECHO_T}$result" >&6; }
3154 defaultval
=$wxUSE_ALL_FEATURES
3155 if test -z "$defaultval"; then
3156 if test x
"$withstring" = xwithout
; then
3162 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3163 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3165 # Check whether --with-subdirs was given.
3166 if test "${with_subdirs+set}" = set; then
3167 withval
=$with_subdirs;
3168 if test "$withval" = yes; then
3169 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3171 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3177 LINE
=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x
; then
3179 eval "DEFAULT_$LINE"
3185 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3190 eval "$wx_cv_use_subdirs"
3191 if test "x$cache" = xyes; then
3192 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3195 if test x"$withstring" = xwithout; then
3196 if test $wxWITH_SUBDIRS = yes; then
3202 result=$wxWITH_SUBDIRS
3205 { echo "$as_me:$LINENO: result: $result" >&5
3206 echo "${ECHO_T}$result" >&6; }
3209 # Check whether --with-flavour was given.
3210 if test "${with_flavour+set}" = set; then
3211 withval=$with_flavour; WX_FLAVOUR="$withval"
3217 if test -z "$defaultval"; then
3218 if test x"$enablestring" = xdisable; then
3225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3227 # Check whether --enable-official_build was given.
3228 if test "${enable_official_build+set}" = set; then
3229 enableval=$enable_official_build;
3230 if test "$enableval" = yes; then
3231 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3233 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3239 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x ; then
3241 eval "DEFAULT_$LINE"
3247 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3252 eval "$wx_cv_use_official_build"
3253 if test "x
$cache" = xyes; then
3254 echo "wxUSE_OFFICIAL_BUILD
=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3257 if test x"$enablestring" = xdisable; then
3258 if test $wxUSE_OFFICIAL_BUILD = yes; then
3264 result=$wxUSE_OFFICIAL_BUILD
3267 { echo "$as_me:$LINENO: result
: $result" >&5
3268 echo "${ECHO_T}$result" >&6; }
3270 # Check whether --enable-vendor was given.
3271 if test "${enable_vendor+set}" = set; then
3272 enableval=$enable_vendor; VENDOR="$enableval"
3275 if test "x
$VENDOR" = "x
"; then
3280 enablestring=disable
3282 if test -z "$defaultval"; then
3283 if test x"$enablestring" = xdisable; then
3290 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3291 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3292 # Check whether --enable-all-features was given.
3293 if test "${enable_all_features+set}" = set; then
3294 enableval=$enable_all_features;
3295 if test "$enableval" = yes; then
3296 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3298 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3304 LINE=`grep "^wxUSE_ALL_FEATURES
=" ${wx_arg_cache_file}`
3305 if test "x
$LINE" != x ; then
3306 eval "DEFAULT_
$LINE"
3312 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3317 eval "$wx_cv_use_all_features"
3318 if test "x$cache" = xyes
; then
3319 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3322 if test x
"$enablestring" = xdisable
; then
3323 if test $wxUSE_ALL_FEATURES = yes; then
3329 result
=$wxUSE_ALL_FEATURES
3332 { echo "$as_me:$LINENO: result: $result" >&5
3333 echo "${ECHO_T}$result" >&6; }
3337 if test "$wxUSE_GUI" = "yes"; then
3342 if test -z "$defaultval"; then
3343 if test x
"$enablestring" = xdisable
; then
3350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3351 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3352 # Check whether --enable-universal was given.
3353 if test "${enable_universal+set}" = set; then
3354 enableval
=$enable_universal;
3355 if test "$enableval" = yes; then
3356 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3358 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3364 LINE
=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3372 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3377 eval "$wx_cv_use_universal"
3378 if test "x$cache" = xyes; then
3379 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_UNIVERSAL = yes; then
3389 result=$wxUSE_UNIVERSAL
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3395 if test "$wxUSE_UNIVERSAL" = "yes"; then
3397 # Check whether --with-themes was given.
3398 if test "${with_themes+set}" = set; then
3399 withval=$with_themes; wxUNIV_THEMES="$withval"
3405 # Check whether --with-gtk was given.
3406 if test "${with_gtk+set}" = set; then
3407 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3411 # Check whether --with-motif was given.
3412 if test "${with_motif+set}" = set; then
3413 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3417 # Check whether --with-mac was given.
3418 if test "${with_mac+set}" = set; then
3419 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3423 # Check whether --with-cocoa was given.
3424 if test "${with_cocoa+set}" = set; then
3425 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-wine was given.
3430 if test "${with_wine+set}" = set; then
3431 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3435 # Check whether --with-msw was given.
3436 if test "${with_msw+set}" = set; then
3437 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3441 # Check whether --with-pm was given.
3442 if test "${with_pm+set}" = set; then
3443 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3447 # Check whether --with-mgl was given.
3448 if test "${with_mgl+set}" = set; then
3449 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3453 # Check whether --with-directfb was given.
3454 if test "${with_directfb+set}" = set; then
3455 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3459 # Check whether --with-microwin was given.
3460 if test "${with_microwin+set}" = set; then
3461 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3465 # Check whether --with-x11 was given.
3466 if test "${with_x11+set}" = set; then
3467 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3473 if test -z "$defaultval"; then
3474 if test x"$enablestring" = xdisable; then
3481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3482 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3483 # Check whether --enable-nanox was given.
3484 if test "${enable_nanox+set}" = set; then
3485 enableval=$enable_nanox;
3486 if test "$enableval" = yes; then
3487 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3489 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3495 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x ; then
3497 eval "DEFAULT_$LINE"
3503 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3508 eval "$wx_cv_use_nanox"
3509 if test "x
$cache" = xyes; then
3510 echo "wxUSE_NANOX
=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3513 if test x"$enablestring" = xdisable; then
3514 if test $wxUSE_NANOX = yes; then
3523 { echo "$as_me:$LINENO: result
: $result" >&5
3524 echo "${ECHO_T}$result" >&6; }
3527 # Check whether --enable-gtk2 was given.
3528 if test "${enable_gtk2+set}" = set; then
3529 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3535 if test -z "$defaultval"; then
3536 if test x"$enablestring" = xdisable; then
3543 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3544 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3545 # Check whether --enable-gpe was given.
3546 if test "${enable_gpe+set}" = set; then
3547 enableval=$enable_gpe;
3548 if test "$enableval" = yes; then
3549 wx_cv_use_gpe='wxUSE_GPE=yes'
3551 wx_cv_use_gpe='wxUSE_GPE=no'
3557 LINE=`grep "^wxUSE_GPE
=" ${wx_arg_cache_file}`
3558 if test "x
$LINE" != x ; then
3559 eval "DEFAULT_
$LINE"
3565 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3570 eval "$wx_cv_use_gpe"
3571 if test "x$cache" = xyes
; then
3572 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3575 if test x
"$enablestring" = xdisable
; then
3576 if test $wxUSE_GPE = yes; then
3585 { echo "$as_me:$LINENO: result: $result" >&5
3586 echo "${ECHO_T}$result" >&6; }
3591 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3592 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3594 # Check whether --with-libpng was given.
3595 if test "${with_libpng+set}" = set; then
3596 withval
=$with_libpng;
3597 if test "$withval" = yes; then
3598 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3599 elif test "$withval" = no
; then
3600 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3601 elif test "$withval" = sys
; then
3602 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3603 elif test "$withval" = builtin; then
3604 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3606 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3607 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3608 { (exit 1); exit 1; }; }
3614 LINE
=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3622 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3627 eval "$wx_cv_use_libpng"
3628 if test "x$cache" = xyes; then
3629 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3632 if test "$wxUSE_LIBPNG" = yes; then
3633 { echo "$as_me:$LINENO: result: yes" >&5
3634 echo "${ECHO_T}yes" >&6; }
3635 elif test "$wxUSE_LIBPNG" = no; then
3636 { echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6; }
3638 elif test "$wxUSE_LIBPNG" = sys; then
3639 { echo "$as_me:$LINENO: result: system version" >&5
3640 echo "${ECHO_T}system version" >&6; }
3641 elif test "$wxUSE_LIBPNG" = builtin; then
3642 { echo "$as_me:$LINENO: result: builtin version" >&5
3643 echo "${ECHO_T}builtin version" >&6; }
3645 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3646 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3647 { (exit 1); exit 1; }; }
3651 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3652 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3654 # Check whether --with-libjpeg was given.
3655 if test "${with_libjpeg+set}" = set; then
3656 withval=$with_libjpeg;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3674 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3682 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3687 eval "$wx_cv_use_libjpeg"
3688 if test "x
$cache" = xyes; then
3689 echo "wxUSE_LIBJPEG
=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3692 if test "$wxUSE_LIBJPEG" = yes; then
3693 { echo "$as_me:$LINENO: result
: yes" >&5
3694 echo "${ECHO_T}yes" >&6; }
3695 elif test "$wxUSE_LIBJPEG" = no; then
3696 { echo "$as_me:$LINENO: result
: no
" >&5
3697 echo "${ECHO_T}no
" >&6; }
3698 elif test "$wxUSE_LIBJPEG" = sys; then
3699 { echo "$as_me:$LINENO: result
: system version
" >&5
3700 echo "${ECHO_T}system version
" >&6; }
3701 elif test "$wxUSE_LIBJPEG" = builtin; then
3702 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3703 echo "${ECHO_T}builtin version
" >&6; }
3705 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3706 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3711 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3712 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3714 # Check whether --with-libtiff was given.
3715 if test "${with_libtiff+set}" = set; then
3716 withval=$with_libtiff;
3717 if test "$withval" = yes; then
3718 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3719 elif test "$withval" = no; then
3720 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3721 elif test "$withval" = sys; then
3722 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3723 elif test "$withval" = builtin; then
3724 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3726 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3727 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3734 LINE=`grep "^wxUSE_LIBTIFF
=" ${wx_arg_cache_file}`
3735 if test "x
$LINE" != x ; then
3736 eval "DEFAULT_
$LINE"
3742 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3747 eval "$wx_cv_use_libtiff"
3748 if test "x$cache" = xyes
; then
3749 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_LIBTIFF" = yes; then
3753 { echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6; }
3755 elif test "$wxUSE_LIBTIFF" = no
; then
3756 { echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = sys
; then
3759 { echo "$as_me:$LINENO: result: system version" >&5
3760 echo "${ECHO_T}system version" >&6; }
3761 elif test "$wxUSE_LIBTIFF" = builtin; then
3762 { echo "$as_me:$LINENO: result: builtin version" >&5
3763 echo "${ECHO_T}builtin version" >&6; }
3765 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3766 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3767 { (exit 1); exit 1; }; }
3771 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3772 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3774 # Check whether --with-libxpm was given.
3775 if test "${with_libxpm+set}" = set; then
3776 withval
=$with_libxpm;
3777 if test "$withval" = yes; then
3778 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3779 elif test "$withval" = no
; then
3780 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3781 elif test "$withval" = sys
; then
3782 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3783 elif test "$withval" = builtin; then
3784 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3787 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3788 { (exit 1); exit 1; }; }
3794 LINE
=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3795 if test "x$LINE" != x
; then
3796 eval "DEFAULT_$LINE"
3802 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3807 eval "$wx_cv_use_libxpm"
3808 if test "x$cache" = xyes; then
3809 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3812 if test "$wxUSE_LIBXPM" = yes; then
3813 { echo "$as_me:$LINENO: result: yes" >&5
3814 echo "${ECHO_T}yes" >&6; }
3815 elif test "$wxUSE_LIBXPM" = no; then
3816 { echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6; }
3818 elif test "$wxUSE_LIBXPM" = sys; then
3819 { echo "$as_me:$LINENO: result: system version" >&5
3820 echo "${ECHO_T}system version" >&6; }
3821 elif test "$wxUSE_LIBXPM" = builtin; then
3822 { echo "$as_me:$LINENO: result: builtin version" >&5
3823 echo "${ECHO_T}builtin version" >&6; }
3825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3826 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3827 { (exit 1); exit 1; }; }
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3840 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3841 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3843 # Check whether --with-libmspack was given.
3844 if test "${with_libmspack+set}" = set; then
3845 withval=$with_libmspack;
3846 if test "$withval" = yes; then
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3855 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3856 if test "x$LINE" != x ; then
3857 eval "DEFAULT_$LINE"
3863 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3868 eval "$wx_cv_use_libmspack"
3869 if test "x
$cache" = xyes; then
3870 echo "wxUSE_LIBMSPACK
=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3873 if test x"$withstring" = xwithout; then
3874 if test $wxUSE_LIBMSPACK = yes; then
3880 result=$wxUSE_LIBMSPACK
3883 { echo "$as_me:$LINENO: result
: $result" >&5
3884 echo "${ECHO_T}$result" >&6; }
3888 defaultval=$wxUSE_ALL_FEATURES
3889 if test -z "$defaultval"; then
3890 if test x"$withstring" = xwithout; then
3896 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gtkprint" >&5
3897 echo $ECHO_N "checking
for --${withstring:-with}-gtkprint...
$ECHO_C" >&6; }
3899 # Check whether --with-gtkprint was given.
3900 if test "${with_gtkprint+set}" = set; then
3901 withval=$with_gtkprint;
3902 if test "$withval" = yes; then
3903 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3905 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3911 LINE=`grep "^wxUSE_GTKPRINT
=" ${wx_arg_cache_file}`
3912 if test "x
$LINE" != x ; then
3913 eval "DEFAULT_
$LINE"
3919 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3924 eval "$wx_cv_use_gtkprint"
3925 if test "x$cache" = xyes
; then
3926 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3929 if test x
"$withstring" = xwithout
; then
3930 if test $wxUSE_GTKPRINT = yes; then
3936 result
=$wxUSE_GTKPRINT
3939 { echo "$as_me:$LINENO: result: $result" >&5
3940 echo "${ECHO_T}$result" >&6; }
3944 defaultval
=$wxUSE_ALL_FEATURES
3945 if test -z "$defaultval"; then
3946 if test x
"$withstring" = xwithout
; then
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3955 # Check whether --with-gnomeprint was given.
3956 if test "${with_gnomeprint+set}" = set; then
3957 withval
=$with_gnomeprint;
3958 if test "$withval" = yes; then
3959 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3961 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3967 LINE
=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3975 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3980 eval "$wx_cv_use_gnomeprint"
3981 if test "x$cache" = xyes; then
3982 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3985 if test x"$withstring" = xwithout; then
3986 if test $wxUSE_LIBGNOMEPRINT = yes; then
3992 result=$wxUSE_LIBGNOMEPRINT
3995 { echo "$as_me:$LINENO: result: $result" >&5
3996 echo "${ECHO_T}$result" >&6; }
4000 defaultval=$wxUSE_ALL_FEATURES
4001 if test -z "$defaultval"; then
4002 if test x"$withstring" = xwithout; then
4008 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4009 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4011 # Check whether --with-gnomevfs was given.
4012 if test "${with_gnomevfs+set}" = set; then
4013 withval=$with_gnomevfs;
4014 if test "$withval" = yes; then
4015 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
4017 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
4023 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x ; then
4025 eval "DEFAULT_$LINE"
4031 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4036 eval "$wx_cv_use_gnomevfs"
4037 if test "x
$cache" = xyes; then
4038 echo "wxUSE_LIBGNOMEVFS
=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4041 if test x"$withstring" = xwithout; then
4042 if test $wxUSE_LIBGNOMEVFS = yes; then
4048 result=$wxUSE_LIBGNOMEVFS
4051 { echo "$as_me:$LINENO: result
: $result" >&5
4052 echo "${ECHO_T}$result" >&6; }
4056 defaultval=$wxUSE_ALL_FEATURES
4057 if test -z "$defaultval"; then
4058 if test x"$withstring" = xwithout; then
4064 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-hildon" >&5
4065 echo $ECHO_N "checking
for --${withstring:-with}-hildon...
$ECHO_C" >&6; }
4067 # Check whether --with-hildon was given.
4068 if test "${with_hildon+set}" = set; then
4069 withval=$with_hildon;
4070 if test "$withval" = yes; then
4071 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4079 LINE=`grep "^wxUSE_LIBHILDON
=" ${wx_arg_cache_file}`
4080 if test "x
$LINE" != x ; then
4081 eval "DEFAULT_
$LINE"
4087 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4092 eval "$wx_cv_use_hildon"
4093 if test "x$cache" = xyes
; then
4094 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4097 if test x
"$withstring" = xwithout
; then
4098 if test $wxUSE_LIBHILDON = yes; then
4104 result
=$wxUSE_LIBHILDON
4107 { echo "$as_me:$LINENO: result: $result" >&5
4108 echo "${ECHO_T}$result" >&6; }
4112 defaultval
=$wxUSE_ALL_FEATURES
4113 if test -z "$defaultval"; then
4114 if test x
"$withstring" = xwithout
; then
4120 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4121 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4123 # Check whether --with-opengl was given.
4124 if test "${with_opengl+set}" = set; then
4125 withval
=$with_opengl;
4126 if test "$withval" = yes; then
4127 wx_cv_use_opengl
='wxUSE_OPENGL=yes'
4129 wx_cv_use_opengl
='wxUSE_OPENGL=no'
4135 LINE
=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x
; then
4137 eval "DEFAULT_$LINE"
4143 wx_cv_use_opengl
='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4148 eval "$wx_cv_use_opengl"
4149 if test "x$cache" = xyes; then
4150 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4153 if test x"$withstring" = xwithout; then
4154 if test $wxUSE_OPENGL = yes; then
4160 result=$wxUSE_OPENGL
4163 { echo "$as_me:$LINENO: result: $result" >&5
4164 echo "${ECHO_T}$result" >&6; }
4171 defaultval=$wxUSE_ALL_FEATURES
4172 if test -z "$defaultval"; then
4173 if test x"$withstring" = xwithout; then
4179 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4180 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4182 # Check whether --with-dmalloc was given.
4183 if test "${with_dmalloc+set}" = set; then
4184 withval=$with_dmalloc;
4185 if test "$withval" = yes; then
4186 wx_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
4194 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4202 wx_cv_use_dmalloc='wxUSE_DMALLOC
=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4207 eval "$wx_cv_use_dmalloc"
4208 if test "x
$cache" = xyes; then
4209 echo "wxUSE_DMALLOC
=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4212 if test x"$withstring" = xwithout; then
4213 if test $wxUSE_DMALLOC = yes; then
4219 result=$wxUSE_DMALLOC
4222 { echo "$as_me:$LINENO: result
: $result" >&5
4223 echo "${ECHO_T}$result" >&6; }
4227 defaultval=$wxUSE_ALL_FEATURES
4228 if test -z "$defaultval"; then
4229 if test x"$withstring" = xwithout; then
4235 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-sdl" >&5
4236 echo $ECHO_N "checking
for --${withstring:-with}-sdl...
$ECHO_C" >&6; }
4238 # Check whether --with-sdl was given.
4239 if test "${with_sdl+set}" = set; then
4241 if test "$withval" = yes; then
4242 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4244 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4250 LINE=`grep "^wxUSE_LIBSDL
=" ${wx_arg_cache_file}`
4251 if test "x
$LINE" != x ; then
4252 eval "DEFAULT_
$LINE"
4258 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4263 eval "$wx_cv_use_sdl"
4264 if test "x$cache" = xyes
; then
4265 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4268 if test x
"$withstring" = xwithout
; then
4269 if test $wxUSE_LIBSDL = yes; then
4275 result
=$wxUSE_LIBSDL
4278 { echo "$as_me:$LINENO: result: $result" >&5
4279 echo "${ECHO_T}$result" >&6; }
4282 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4283 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4285 # Check whether --with-regex was given.
4286 if test "${with_regex+set}" = set; then
4287 withval
=$with_regex;
4288 if test "$withval" = yes; then
4289 wx_cv_use_regex
='wxUSE_REGEX=yes'
4290 elif test "$withval" = no
; then
4291 wx_cv_use_regex
='wxUSE_REGEX=no'
4292 elif test "$withval" = sys
; then
4293 wx_cv_use_regex
='wxUSE_REGEX=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_regex
='wxUSE_REGEX=builtin'
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4305 LINE
=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x
; then
4307 eval "DEFAULT_$LINE"
4313 wx_cv_use_regex
='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4318 eval "$wx_cv_use_regex"
4319 if test "x$cache" = xyes; then
4320 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_REGEX" = yes; then
4324 { echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6; }
4326 elif test "$wxUSE_REGEX" = no; then
4327 { echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6; }
4329 elif test "$wxUSE_REGEX" = sys; then
4330 { echo "$as_me:$LINENO: result: system version" >&5
4331 echo "${ECHO_T}system version" >&6; }
4332 elif test "$wxUSE_REGEX" = builtin; then
4333 { echo "$as_me:$LINENO: result: builtin version" >&5
4334 echo "${ECHO_T}builtin version" >&6; }
4336 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4337 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4338 { (exit 1); exit 1; }; }
4342 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4343 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4345 # Check whether --with-zlib was given.
4346 if test "${with_zlib+set}" = set; then
4348 if test "$withval" = yes; then
4349 wx_cv_use_zlib='wxUSE_ZLIB
=yes'
4350 elif test "$withval" = no; then
4351 wx_cv_use_zlib='wxUSE_ZLIB
=no
'
4352 elif test "$withval" = sys; then
4353 wx_cv_use_zlib='wxUSE_ZLIB
=sys
'
4354 elif test "$withval" = builtin; then
4355 wx_cv_use_zlib='wxUSE_ZLIB
=builtin'
4357 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4358 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4359 { (exit 1); exit 1; }; }
4365 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4373 wx_cv_use_zlib='wxUSE_ZLIB
=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4378 eval "$wx_cv_use_zlib"
4379 if test "x
$cache" = xyes; then
4380 echo "wxUSE_ZLIB
=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result
: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result
: no
" >&5
4388 echo "${ECHO_T}no
" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result
: system version
" >&5
4391 echo "${ECHO_T}system version
" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4394 echo "${ECHO_T}builtin version
" >&6; }
4396 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4397 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4402 { echo "$as_me:$LINENO: checking
for --with-odbc" >&5
4403 echo $ECHO_N "checking
for --with-odbc...
$ECHO_C" >&6; }
4405 # Check whether --with-odbc was given.
4406 if test "${with_odbc+set}" = set; then
4408 if test "$withval" = yes; then
4409 wx_cv_use_odbc='wxUSE_ODBC=yes'
4410 elif test "$withval" = no; then
4411 wx_cv_use_odbc='wxUSE_ODBC=no'
4412 elif test "$withval" = sys; then
4413 wx_cv_use_odbc='wxUSE_ODBC=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4417 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&5
4418 echo "$as_me: error
: Invalid value
for --with-odbc: should be
yes, no
, sys
, or
builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4425 LINE=`grep "^wxUSE_ODBC
=" ${wx_arg_cache_file}`
4426 if test "x
$LINE" != x ; then
4427 eval "DEFAULT_
$LINE"
4433 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4438 eval "$wx_cv_use_odbc"
4439 if test "x$cache" = xyes
; then
4440 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_ODBC" = yes; then
4444 { echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6; }
4446 elif test "$wxUSE_ODBC" = no
; then
4447 { echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6; }
4449 elif test "$wxUSE_ODBC" = sys
; then
4450 { echo "$as_me:$LINENO: result: system version" >&5
4451 echo "${ECHO_T}system version" >&6; }
4452 elif test "$wxUSE_ODBC" = builtin; then
4453 { echo "$as_me:$LINENO: result: builtin version" >&5
4454 echo "${ECHO_T}builtin version" >&6; }
4456 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4457 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4458 { (exit 1); exit 1; }; }
4462 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4463 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4465 # Check whether --with-expat was given.
4466 if test "${with_expat+set}" = set; then
4467 withval
=$with_expat;
4468 if test "$withval" = yes; then
4469 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4470 elif test "$withval" = no
; then
4471 wx_cv_use_expat
='wxUSE_EXPAT=no'
4472 elif test "$withval" = sys
; then
4473 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4474 elif test "$withval" = builtin; then
4475 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4477 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4478 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4479 { (exit 1); exit 1; }; }
4485 LINE
=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x
; then
4487 eval "DEFAULT_$LINE"
4493 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4498 eval "$wx_cv_use_expat"
4499 if test "x$cache" = xyes; then
4500 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_EXPAT" = yes; then
4504 { echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6; }
4506 elif test "$wxUSE_EXPAT" = no; then
4507 { echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6; }
4509 elif test "$wxUSE_EXPAT" = sys; then
4510 { echo "$as_me:$LINENO: result: system version" >&5
4511 echo "${ECHO_T}system version" >&6; }
4512 elif test "$wxUSE_EXPAT" = builtin; then
4513 { echo "$as_me:$LINENO: result: builtin version" >&5
4514 echo "${ECHO_T}builtin version" >&6; }
4516 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4517 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4518 { (exit 1); exit 1; }; }
4522 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4523 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4525 # Check whether --with-macosx-sdk was given.
4526 if test "${with_macosx_sdk+set}" = set; then
4527 withval=$with_macosx_sdk;
4528 wxUSE_MACOSX_SDK=$withval
4529 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4530 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4534 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4535 # will override --enable-universal_binary's automatic SDK usage.
4537 LINE
=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x
; then
4540 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4545 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4546 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4548 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4549 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4551 # Check whether --with-macosx-version-min was given.
4552 if test "${with_macosx_version_min+set}" = set; then
4553 withval
=$with_macosx_version_min;
4554 wxUSE_MACOSX_VERSION_MIN
=$withval
4555 wx_cv_use_macosx_version_min
="wxUSE_MACOSX_VERSION_MIN=$withval"
4556 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4560 # default "yes" because when not using an SDK it means the same as no
4561 # but when using an SDK it means to use the SDK version
4562 wxUSE_MACOSX_VERSION_MIN
=yes
4563 # See if there is a value in the cache
4564 LINE
=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x
; then
4567 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4572 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4573 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4577 enablestring
=disable
4579 if test -z "$defaultval"; then
4580 if test x
"$enablestring" = xdisable
; then
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4589 # Check whether --enable-shared was given.
4590 if test "${enable_shared+set}" = set; then
4591 enableval
=$enable_shared;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_shared
='wxUSE_SHARED=yes'
4595 wx_cv_use_shared
='wxUSE_SHARED=no'
4601 LINE
=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x
; then
4603 eval "DEFAULT_$LINE"
4609 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4614 eval "$wx_cv_use_shared"
4615 if test "x$cache" = xyes; then
4616 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_SHARED = yes; then
4626 result=$wxUSE_SHARED
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4633 enablestring=disable
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4645 # Check whether --enable-optimise was given.
4646 if test "${enable_optimise+set}" = set; then
4647 enableval=$enable_optimise;
4648 if test "$enableval" = yes; then
4649 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4651 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4657 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x ; then
4659 eval "DEFAULT_$LINE"
4665 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4670 eval "$wx_cv_use_optimise"
4671 if test "x
$cache" = xyes; then
4672 echo "wxUSE_OPTIMISE
=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4675 if test x"$enablestring" = xdisable; then
4676 if test $wxUSE_OPTIMISE = yes; then
4682 result=$wxUSE_OPTIMISE
4685 { echo "$as_me:$LINENO: result
: $result" >&5
4686 echo "${ECHO_T}$result" >&6; }
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4699 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4700 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4701 # Check whether --enable-debug was given.
4702 if test "${enable_debug+set}" = set; then
4703 enableval=$enable_debug;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_debug='wxUSE_DEBUG=yes'
4707 wx_cv_use_debug='wxUSE_DEBUG=no'
4713 LINE=`grep "^wxUSE_DEBUG
=" ${wx_arg_cache_file}`
4714 if test "x
$LINE" != x ; then
4715 eval "DEFAULT_
$LINE"
4721 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4726 eval "$wx_cv_use_debug"
4727 if test "x$cache" = xyes
; then
4728 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4731 if test x
"$enablestring" = xdisable
; then
4732 if test $wxUSE_DEBUG = yes; then
4741 { echo "$as_me:$LINENO: result: $result" >&5
4742 echo "${ECHO_T}$result" >&6; }
4747 if test -z "$defaultval"; then
4748 if test x
"$enablestring" = xdisable
; then
4755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4756 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4757 # Check whether --enable-stl was given.
4758 if test "${enable_stl+set}" = set; then
4759 enableval
=$enable_stl;
4760 if test "$enableval" = yes; then
4761 wx_cv_use_stl
='wxUSE_STL=yes'
4763 wx_cv_use_stl
='wxUSE_STL=no'
4769 LINE
=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x
; then
4771 eval "DEFAULT_$LINE"
4777 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4782 eval "$wx_cv_use_stl"
4783 if test "x$cache" = xyes; then
4784 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4787 if test x"$enablestring" = xdisable; then
4788 if test $wxUSE_STL = yes; then
4797 { echo "$as_me:$LINENO: result: $result" >&5
4798 echo "${ECHO_T}$result" >&6; }
4803 if test -z "$defaultval"; then
4804 if test x"$enablestring" = xdisable; then
4811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4812 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4813 # Check whether --enable-std_iostreams was given.
4814 if test "${enable_std_iostreams+set}" = set; then
4815 enableval=$enable_std_iostreams;
4816 if test "$enableval" = yes; then
4817 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4819 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4825 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4826 if test "x$LINE" != x ; then
4827 eval "DEFAULT_$LINE"
4833 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4838 eval "$wx_cv_use_std_iostreams"
4839 if test "x
$cache" = xyes; then
4840 echo "wxUSE_STD_IOSTREAM
=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4843 if test x"$enablestring" = xdisable; then
4844 if test $wxUSE_STD_IOSTREAM = yes; then
4850 result=$wxUSE_STD_IOSTREAM
4853 { echo "$as_me:$LINENO: result
: $result" >&5
4854 echo "${ECHO_T}$result" >&6; }
4859 if test -z "$defaultval"; then
4860 if test x"$enablestring" = xdisable; then
4867 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4868 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4869 # Check whether --enable-std_string was given.
4870 if test "${enable_std_string+set}" = set; then
4871 enableval=$enable_std_string;
4872 if test "$enableval" = yes; then
4873 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4875 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4881 LINE=`grep "^wxUSE_STD_STRING
=" ${wx_arg_cache_file}`
4882 if test "x
$LINE" != x ; then
4883 eval "DEFAULT_
$LINE"
4889 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4894 eval "$wx_cv_use_std_string"
4895 if test "x$cache" = xyes
; then
4896 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4899 if test x
"$enablestring" = xdisable
; then
4900 if test $wxUSE_STD_STRING = yes; then
4906 result
=$wxUSE_STD_STRING
4909 { echo "$as_me:$LINENO: result: $result" >&5
4910 echo "${ECHO_T}$result" >&6; }
4913 enablestring
=disable
4915 if test -z "$defaultval"; then
4916 if test x
"$enablestring" = xdisable
; then
4923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4925 # Check whether --enable-unicode was given.
4926 if test "${enable_unicode+set}" = set; then
4927 enableval
=$enable_unicode;
4928 if test "$enableval" = yes; then
4929 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4931 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4937 LINE
=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4945 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4950 eval "$wx_cv_use_unicode"
4951 if test "x$cache" = xyes; then
4952 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4955 if test x"$enablestring" = xdisable; then
4956 if test $wxUSE_UNICODE = yes; then
4962 result=$wxUSE_UNICODE
4965 { echo "$as_me:$LINENO: result: $result" >&5
4966 echo "${ECHO_T}$result" >&6; }
4971 if test -z "$defaultval"; then
4972 if test x"$enablestring" = xdisable; then
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4981 # Check whether --enable-mslu was given.
4982 if test "${enable_mslu+set}" = set; then
4983 enableval=$enable_mslu;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4987 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4993 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x ; then
4995 eval "DEFAULT_$LINE"
5001 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5006 eval "$wx_cv_use_mslu"
5007 if test "x
$cache" = xyes; then
5008 echo "wxUSE_UNICODE_MSLU
=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5011 if test x"$enablestring" = xdisable; then
5012 if test $wxUSE_UNICODE_MSLU = yes; then
5018 result=$wxUSE_UNICODE_MSLU
5021 { echo "$as_me:$LINENO: result
: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5026 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5027 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5028 # Check whether --enable-utf8 was given.
5029 if test "${enable_utf8+set}" = set; then
5030 enableval=$enable_utf8;
5031 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5036 LINE=`grep "^wxUSE_UNICODE_UTF8
=" ${wx_arg_cache_file}`
5037 if test "x
$LINE" != x ; then
5038 eval "DEFAULT_
$LINE"
5044 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5049 eval "$wx_cv_use_utf8"
5050 if test "x
$cache" = xyes; then
5051 echo "wxUSE_UNICODE_UTF8
=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5054 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5055 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5068 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5069 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5070 # Check whether --enable-utf8only was given.
5071 if test "${enable_utf8only+set}" = set; then
5072 enableval=$enable_utf8only;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5076 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5082 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE
=" ${wx_arg_cache_file}`
5083 if test "x
$LINE" != x ; then
5084 eval "DEFAULT_
$LINE"
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5095 eval "$wx_cv_use_utf8only"
5096 if test "x$cache" = xyes
; then
5097 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5100 if test x
"$enablestring" = xdisable
; then
5101 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5107 result
=$wxUSE_UNICODE_UTF8_LOCALE
5110 { echo "$as_me:$LINENO: result: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5116 if test -z "$defaultval"; then
5117 if test x
"$enablestring" = xdisable
; then
5124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5126 # Check whether --enable-extended_rtti was given.
5127 if test "${enable_extended_rtti+set}" = set; then
5128 enableval
=$enable_extended_rtti;
5129 if test "$enableval" = yes; then
5130 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5132 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5138 LINE
=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x
; then
5140 eval "DEFAULT_$LINE"
5146 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5151 eval "$wx_cv_use_extended_rtti"
5152 if test "x$cache" = xyes; then
5153 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5156 if test x"$enablestring" = xdisable; then
5157 if test $wxUSE_EXTENDED_RTTI = yes; then
5163 result=$wxUSE_EXTENDED_RTTI
5166 { echo "$as_me:$LINENO: result: $result" >&5
5167 echo "${ECHO_T}$result" >&6; }
5169 if test "$USE_OS2" = "1"; then
5170 DEFAULT_wxUSE_OMF=no
5174 if test -z "$defaultval"; then
5175 if test x"$enablestring" = xdisable; then
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5184 # Check whether --enable-omf was given.
5185 if test "${enable_omf+set}" = set; then
5186 enableval=$enable_omf;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_omf='wxUSE_OMF
=yes'
5190 wx_cv_use_omf='wxUSE_OMF
=no
'
5196 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5204 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5209 eval "$wx_cv_use_omf"
5210 if test "x
$cache" = xyes; then
5211 echo "wxUSE_OMF
=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5214 if test x"$enablestring" = xdisable; then
5215 if test $wxUSE_OMF = yes; then
5224 { echo "$as_me:$LINENO: result
: $result" >&5
5225 echo "${ECHO_T}$result" >&6; }
5229 if test "$wxUSE_DEBUG" = "yes"; then
5230 DEFAULT_wxUSE_DEBUG_FLAG=yes
5231 DEFAULT_wxUSE_DEBUG_INFO=yes
5233 elif test "$wxUSE_DEBUG" = "no
"; then
5234 DEFAULT_wxUSE_DEBUG_FLAG=no
5235 DEFAULT_wxUSE_DEBUG_INFO=no
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5251 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
5252 # Check whether --enable-debug_flag was given.
5253 if test "${enable_debug_flag+set}" = set; then
5254 enableval=$enable_debug_flag;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5258 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5264 LINE=`grep "^wxUSE_DEBUG_FLAG
=" ${wx_arg_cache_file}`
5265 if test "x
$LINE" != x ; then
5266 eval "DEFAULT_
$LINE"
5272 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5277 eval "$wx_cv_use_debug_flag"
5278 if test "x$cache" = xyes
; then
5279 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5282 if test x
"$enablestring" = xdisable
; then
5283 if test $wxUSE_DEBUG_FLAG = yes; then
5289 result
=$wxUSE_DEBUG_FLAG
5292 { echo "$as_me:$LINENO: result: $result" >&5
5293 echo "${ECHO_T}$result" >&6; }
5298 if test -z "$defaultval"; then
5299 if test x
"$enablestring" = xdisable
; then
5306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5308 # Check whether --enable-debug_info was given.
5309 if test "${enable_debug_info+set}" = set; then
5310 enableval
=$enable_debug_info;
5311 if test "$enableval" = yes; then
5312 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5314 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5320 LINE
=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x
; then
5322 eval "DEFAULT_$LINE"
5328 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5333 eval "$wx_cv_use_debug_info"
5334 if test "x$cache" = xyes; then
5335 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5338 if test x"$enablestring" = xdisable; then
5339 if test $wxUSE_DEBUG_INFO = yes; then
5345 result=$wxUSE_DEBUG_INFO
5348 { echo "$as_me:$LINENO: result: $result" >&5
5349 echo "${ECHO_T}$result" >&6; }
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5363 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5364 # Check whether --enable-debug_gdb was given.
5365 if test "${enable_debug_gdb+set}" = set; then
5366 enableval=$enable_debug_gdb;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5370 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5376 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5384 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5389 eval "$wx_cv_use_debug_gdb"
5390 if test "x
$cache" = xyes; then
5391 echo "wxUSE_DEBUG_GDB
=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5394 if test x"$enablestring" = xdisable; then
5395 if test $wxUSE_DEBUG_GDB = yes; then
5401 result=$wxUSE_DEBUG_GDB
5404 { echo "$as_me:$LINENO: result
: $result" >&5
5405 echo "${ECHO_T}$result" >&6; }
5410 if test -z "$defaultval"; then
5411 if test x"$enablestring" = xdisable; then
5418 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5419 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_cntxt...
$ECHO_C" >&6; }
5420 # Check whether --enable-debug_cntxt was given.
5421 if test "${enable_debug_cntxt+set}" = set; then
5422 enableval=$enable_debug_cntxt;
5423 if test "$enableval" = yes; then
5424 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5426 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5432 LINE=`grep "^wxUSE_DEBUG_CONTEXT
=" ${wx_arg_cache_file}`
5433 if test "x
$LINE" != x ; then
5434 eval "DEFAULT_
$LINE"
5440 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5445 eval "$wx_cv_use_debug_cntxt"
5446 if test "x$cache" = xyes
; then
5447 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5450 if test x
"$enablestring" = xdisable
; then
5451 if test $wxUSE_DEBUG_CONTEXT = yes; then
5457 result
=$wxUSE_DEBUG_CONTEXT
5460 { echo "$as_me:$LINENO: result: $result" >&5
5461 echo "${ECHO_T}$result" >&6; }
5466 if test -z "$defaultval"; then
5467 if test x
"$enablestring" = xdisable
; then
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5476 # Check whether --enable-mem_tracing was given.
5477 if test "${enable_mem_tracing+set}" = set; then
5478 enableval
=$enable_mem_tracing;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5482 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5488 LINE
=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5496 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5501 eval "$wx_cv_use_mem_tracing"
5502 if test "x$cache" = xyes; then
5503 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5506 if test x"$enablestring" = xdisable; then
5507 if test $wxUSE_MEM_TRACING = yes; then
5513 result=$wxUSE_MEM_TRACING
5516 { echo "$as_me:$LINENO: result: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5522 if test -z "$defaultval"; then
5523 if test x"$enablestring" = xdisable; then
5530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5531 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5532 # Check whether --enable-profile was given.
5533 if test "${enable_profile+set}" = set; then
5534 enableval=$enable_profile;
5535 if test "$enableval" = yes; then
5536 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5538 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5544 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x ; then
5546 eval "DEFAULT_$LINE"
5552 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5557 eval "$wx_cv_use_profile"
5558 if test "x
$cache" = xyes; then
5559 echo "wxUSE_PROFILE
=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5562 if test x"$enablestring" = xdisable; then
5563 if test $wxUSE_PROFILE = yes; then
5569 result=$wxUSE_PROFILE
5572 { echo "$as_me:$LINENO: result
: $result" >&5
5573 echo "${ECHO_T}$result" >&6; }
5578 if test -z "$defaultval"; then
5579 if test x"$enablestring" = xdisable; then
5586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5587 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5588 # Check whether --enable-no_rtti was given.
5589 if test "${enable_no_rtti+set}" = set; then
5590 enableval=$enable_no_rtti;
5591 if test "$enableval" = yes; then
5592 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5594 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5600 LINE=`grep "^wxUSE_NO_RTTI
=" ${wx_arg_cache_file}`
5601 if test "x
$LINE" != x ; then
5602 eval "DEFAULT_
$LINE"
5608 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5613 eval "$wx_cv_use_no_rtti"
5614 if test "x$cache" = xyes
; then
5615 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5618 if test x
"$enablestring" = xdisable
; then
5619 if test $wxUSE_NO_RTTI = yes; then
5625 result
=$wxUSE_NO_RTTI
5628 { echo "$as_me:$LINENO: result: $result" >&5
5629 echo "${ECHO_T}$result" >&6; }
5634 if test -z "$defaultval"; then
5635 if test x
"$enablestring" = xdisable
; then
5642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5644 # Check whether --enable-no_exceptions was given.
5645 if test "${enable_no_exceptions+set}" = set; then
5646 enableval
=$enable_no_exceptions;
5647 if test "$enableval" = yes; then
5648 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5650 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5656 LINE
=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5657 if test "x$LINE" != x
; then
5658 eval "DEFAULT_$LINE"
5664 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5669 eval "$wx_cv_use_no_exceptions"
5670 if test "x$cache" = xyes; then
5671 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5674 if test x"$enablestring" = xdisable; then
5675 if test $wxUSE_NO_EXCEPTIONS = yes; then
5681 result=$wxUSE_NO_EXCEPTIONS
5684 { echo "$as_me:$LINENO: result: $result" >&5
5685 echo "${ECHO_T}$result" >&6; }
5690 if test -z "$defaultval"; then
5691 if test x"$enablestring" = xdisable; then
5698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5700 # Check whether --enable-permissive was given.
5701 if test "${enable_permissive+set}" = set; then
5702 enableval=$enable_permissive;
5703 if test "$enableval" = yes; then
5704 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5706 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5712 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5713 if test "x$LINE" != x ; then
5714 eval "DEFAULT_$LINE"
5720 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5725 eval "$wx_cv_use_permissive"
5726 if test "x
$cache" = xyes; then
5727 echo "wxUSE_PERMISSIVE
=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5730 if test x"$enablestring" = xdisable; then
5731 if test $wxUSE_PERMISSIVE = yes; then
5737 result=$wxUSE_PERMISSIVE
5740 { echo "$as_me:$LINENO: result
: $result" >&5
5741 echo "${ECHO_T}$result" >&6; }
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5754 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5755 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5756 # Check whether --enable-no_deps was given.
5757 if test "${enable_no_deps+set}" = set; then
5758 enableval=$enable_no_deps;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5762 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5768 LINE=`grep "^wxUSE_NO_DEPS
=" ${wx_arg_cache_file}`
5769 if test "x
$LINE" != x ; then
5770 eval "DEFAULT_
$LINE"
5776 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5781 eval "$wx_cv_use_no_deps"
5782 if test "x$cache" = xyes
; then
5783 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5786 if test x
"$enablestring" = xdisable
; then
5787 if test $wxUSE_NO_DEPS = yes; then
5793 result
=$wxUSE_NO_DEPS
5796 { echo "$as_me:$LINENO: result: $result" >&5
5797 echo "${ECHO_T}$result" >&6; }
5800 enablestring
=disable
5802 if test -z "$defaultval"; then
5803 if test x
"$enablestring" = xdisable
; then
5810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5812 # Check whether --enable-vararg_macros was given.
5813 if test "${enable_vararg_macros+set}" = set; then
5814 enableval
=$enable_vararg_macros;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5818 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5824 LINE
=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x
; then
5826 eval "DEFAULT_$LINE"
5832 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5837 eval "$wx_cv_use_vararg_macros"
5838 if test "x$cache" = xyes; then
5839 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5842 if test x"$enablestring" = xdisable; then
5843 if test $wxUSE_VARARG_MACROS = yes; then
5849 result=$wxUSE_VARARG_MACROS
5852 { echo "$as_me:$LINENO: result: $result" >&5
5853 echo "${ECHO_T}$result" >&6; }
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5859 # Check whether --enable-universal_binary was given.
5860 if test "${enable_universal_binary+set}" = set; then
5861 enableval=$enable_universal_binary;
5862 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5867 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5868 if test "x$LINE" != x ; then
5869 eval "DEFAULT_$LINE"
5875 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5880 eval "$wx_cv_use_universal_binary"
5881 if test "x$cache" = xyes; then
5882 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5885 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5886 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5902 # Check whether --enable-compat26 was given.
5903 if test "${enable_compat26+set}" = set; then
5904 enableval=$enable_compat26;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5908 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5914 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5922 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5927 eval "$wx_cv_use_compat26"
5928 if test "x
$cache" = xyes; then
5929 echo "WXWIN_COMPATIBILITY_2_6
=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5932 if test x"$enablestring" = xdisable; then
5933 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5939 result=$WXWIN_COMPATIBILITY_2_6
5942 { echo "$as_me:$LINENO: result
: $result" >&5
5943 echo "${ECHO_T}$result" >&6; }
5946 enablestring=disable
5948 if test -z "$defaultval"; then
5949 if test x"$enablestring" = xdisable; then
5956 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5957 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5958 # Check whether --enable-compat28 was given.
5959 if test "${enable_compat28+set}" = set; then
5960 enableval=$enable_compat28;
5961 if test "$enableval" = yes; then
5962 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5964 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5970 LINE=`grep "^WXWIN_COMPATIBILITY_2_8
=" ${wx_arg_cache_file}`
5971 if test "x
$LINE" != x ; then
5972 eval "DEFAULT_
$LINE"
5978 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5983 eval "$wx_cv_use_compat28"
5984 if test "x$cache" = xyes
; then
5985 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5988 if test x
"$enablestring" = xdisable
; then
5989 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5995 result
=$WXWIN_COMPATIBILITY_2_8
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6003 enablestring
=disable
6005 if test -z "$defaultval"; then
6006 if test x
"$enablestring" = xdisable
; then
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6015 # Check whether --enable-rpath was given.
6016 if test "${enable_rpath+set}" = set; then
6017 enableval
=$enable_rpath;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_rpath
='wxUSE_RPATH=yes'
6021 wx_cv_use_rpath
='wxUSE_RPATH=no'
6027 LINE
=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x
; then
6029 eval "DEFAULT_$LINE"
6035 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6040 eval "$wx_cv_use_rpath"
6041 if test "x$cache" = xyes; then
6042 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_RPATH = yes; then
6055 { echo "$as_me:$LINENO: result: $result" >&5
6056 echo "${ECHO_T}$result" >&6; }
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6072 # Check whether --enable-objc_uniquifying was given.
6073 if test "${enable_objc_uniquifying+set}" = set; then
6074 enableval=$enable_objc_uniquifying;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6078 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6084 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x ; then
6086 eval "DEFAULT_$LINE"
6092 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6097 eval "$wx_cv_use_objc_uniquifying"
6098 if test "x
$cache" = xyes; then
6099 echo "wxUSE_OBJC_UNIQUIFYING
=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6102 if test x"$enablestring" = xdisable; then
6103 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6109 result=$wxUSE_OBJC_UNIQUIFYING
6112 { echo "$as_me:$LINENO: result
: $result" >&5
6113 echo "${ECHO_T}$result" >&6; }
6117 enablestring=disable
6119 if test -z "$defaultval"; then
6120 if test x"$enablestring" = xdisable; then
6127 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
6128 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
6129 # Check whether --enable-visibility was given.
6130 if test "${enable_visibility+set}" = set; then
6131 enableval=$enable_visibility;
6132 if test "$enableval" = yes; then
6133 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6135 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6141 LINE=`grep "^wxUSE_VISIBILITY
=" ${wx_arg_cache_file}`
6142 if test "x
$LINE" != x ; then
6143 eval "DEFAULT_
$LINE"
6149 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6154 eval "$wx_cv_use_visibility"
6155 if test "x$cache" = xyes
; then
6156 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6159 if test x
"$enablestring" = xdisable
; then
6160 if test $wxUSE_VISIBILITY = yes; then
6166 result
=$wxUSE_VISIBILITY
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6176 defaultval
=$wxUSE_ALL_FEATURES
6177 if test -z "$defaultval"; then
6178 if test x
"$enablestring" = xdisable
; then
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6187 # Check whether --enable-intl was given.
6188 if test "${enable_intl+set}" = set; then
6189 enableval
=$enable_intl;
6190 if test "$enableval" = yes; then
6191 wx_cv_use_intl
='wxUSE_INTL=yes'
6193 wx_cv_use_intl
='wxUSE_INTL=no'
6199 LINE
=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x
; then
6201 eval "DEFAULT_$LINE"
6207 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6212 eval "$wx_cv_use_intl"
6213 if test "x$cache" = xyes; then
6214 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_INTL = yes; then
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6243 # Check whether --enable-config was given.
6244 if test "${enable_config+set}" = set; then
6245 enableval=$enable_config;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_config='wxUSE_CONFIG
=yes'
6249 wx_cv_use_config='wxUSE_CONFIG
=no
'
6255 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6263 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6268 eval "$wx_cv_use_config"
6269 if test "x
$cache" = xyes; then
6270 echo "wxUSE_CONFIG
=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6273 if test x"$enablestring" = xdisable; then
6274 if test $wxUSE_CONFIG = yes; then
6280 result=$wxUSE_CONFIG
6283 { echo "$as_me:$LINENO: result
: $result" >&5
6284 echo "${ECHO_T}$result" >&6; }
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6298 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
6299 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
6300 # Check whether --enable-protocols was given.
6301 if test "${enable_protocols+set}" = set; then
6302 enableval=$enable_protocols;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6306 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6312 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
6313 if test "x
$LINE" != x ; then
6314 eval "DEFAULT_
$LINE"
6320 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6325 eval "$wx_cv_use_protocols"
6326 if test "x$cache" = xyes
; then
6327 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6330 if test x
"$enablestring" = xdisable
; then
6331 if test $wxUSE_PROTOCOL = yes; then
6337 result
=$wxUSE_PROTOCOL
6340 { echo "$as_me:$LINENO: result: $result" >&5
6341 echo "${ECHO_T}$result" >&6; }
6345 defaultval
=$wxUSE_ALL_FEATURES
6346 if test -z "$defaultval"; then
6347 if test x
"$enablestring" = xdisable
; then
6354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6356 # Check whether --enable-ftp was given.
6357 if test "${enable_ftp+set}" = set; then
6358 enableval
=$enable_ftp;
6359 if test "$enableval" = yes; then
6360 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
6362 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
6368 LINE
=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x
; then
6370 eval "DEFAULT_$LINE"
6376 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6381 eval "$wx_cv_use_ftp"
6382 if test "x$cache" = xyes; then
6383 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_PROTOCOL_FTP = yes; then
6393 result=$wxUSE_PROTOCOL_FTP
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6412 # Check whether --enable-http was given.
6413 if test "${enable_http+set}" = set; then
6414 enableval=$enable_http;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
6418 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
6424 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6432 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6437 eval "$wx_cv_use_http"
6438 if test "x
$cache" = xyes; then
6439 echo "wxUSE_PROTOCOL_HTTP
=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_PROTOCOL_HTTP = yes; then
6449 result=$wxUSE_PROTOCOL_HTTP
6452 { echo "$as_me:$LINENO: result
: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6466 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
6467 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
6468 # Check whether --enable-fileproto was given.
6469 if test "${enable_fileproto+set}" = set; then
6470 enableval=$enable_fileproto;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6474 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6480 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
6481 if test "x
$LINE" != x ; then
6482 eval "DEFAULT_
$LINE"
6488 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6493 eval "$wx_cv_use_fileproto"
6494 if test "x$cache" = xyes
; then
6495 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6498 if test x
"$enablestring" = xdisable
; then
6499 if test $wxUSE_PROTOCOL_FILE = yes; then
6505 result
=$wxUSE_PROTOCOL_FILE
6508 { echo "$as_me:$LINENO: result: $result" >&5
6509 echo "${ECHO_T}$result" >&6; }
6513 defaultval
=$wxUSE_ALL_FEATURES
6514 if test -z "$defaultval"; then
6515 if test x
"$enablestring" = xdisable
; then
6522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6524 # Check whether --enable-sockets was given.
6525 if test "${enable_sockets+set}" = set; then
6526 enableval
=$enable_sockets;
6527 if test "$enableval" = yes; then
6528 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
6530 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
6536 LINE
=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x
; then
6538 eval "DEFAULT_$LINE"
6544 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6549 eval "$wx_cv_use_sockets"
6550 if test "x$cache" = xyes; then
6551 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_SOCKETS = yes; then
6561 result=$wxUSE_SOCKETS
6564 { echo "$as_me:$LINENO: result: $result" >&5
6565 echo "${ECHO_T}$result" >&6; }
6569 defaultval=$wxUSE_ALL_FEATURES
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6580 # Check whether --enable-ole was given.
6581 if test "${enable_ole+set}" = set; then
6582 enableval=$enable_ole;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_ole='wxUSE_OLE
=yes'
6586 wx_cv_use_ole='wxUSE_OLE
=no
'
6592 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6600 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6605 eval "$wx_cv_use_ole"
6606 if test "x
$cache" = xyes; then
6607 echo "wxUSE_OLE
=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6610 if test x"$enablestring" = xdisable; then
6611 if test $wxUSE_OLE = yes; then
6620 { echo "$as_me:$LINENO: result
: $result" >&5
6621 echo "${ECHO_T}$result" >&6; }
6625 defaultval=$wxUSE_ALL_FEATURES
6626 if test -z "$defaultval"; then
6627 if test x"$enablestring" = xdisable; then
6634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6635 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6636 # Check whether --enable-dataobj was given.
6637 if test "${enable_dataobj+set}" = set; then
6638 enableval=$enable_dataobj;
6639 if test "$enableval" = yes; then
6640 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6642 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6648 LINE=`grep "^wxUSE_DATAOBJ
=" ${wx_arg_cache_file}`
6649 if test "x
$LINE" != x ; then
6650 eval "DEFAULT_
$LINE"
6656 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6661 eval "$wx_cv_use_dataobj"
6662 if test "x$cache" = xyes
; then
6663 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6666 if test x
"$enablestring" = xdisable
; then
6667 if test $wxUSE_DATAOBJ = yes; then
6673 result
=$wxUSE_DATAOBJ
6676 { echo "$as_me:$LINENO: result: $result" >&5
6677 echo "${ECHO_T}$result" >&6; }
6682 defaultval
=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x
"$enablestring" = xdisable
; then
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6693 # Check whether --enable-ipc was given.
6694 if test "${enable_ipc+set}" = set; then
6695 enableval
=$enable_ipc;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_ipc
='wxUSE_IPC=yes'
6699 wx_cv_use_ipc
='wxUSE_IPC=no'
6705 LINE
=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x
; then
6707 eval "DEFAULT_$LINE"
6713 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6718 eval "$wx_cv_use_ipc"
6719 if test "x$cache" = xyes; then
6720 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6723 if test x"$enablestring" = xdisable; then
6724 if test $wxUSE_IPC = yes; then
6733 { echo "$as_me:$LINENO: result: $result" >&5
6734 echo "${ECHO_T}$result" >&6; }
6739 defaultval=$wxUSE_ALL_FEATURES
6740 if test -z "$defaultval"; then
6741 if test x"$enablestring" = xdisable; then
6748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6750 # Check whether --enable-baseevtloop was given.
6751 if test "${enable_baseevtloop+set}" = set; then
6752 enableval=$enable_baseevtloop;
6753 if test "$enableval" = yes; then
6754 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6756 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6762 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x ; then
6764 eval "DEFAULT_$LINE"
6770 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6775 eval "$wx_cv_use_baseevtloop"
6776 if test "x
$cache" = xyes; then
6777 echo "wxUSE_CONSOLE_EVENTLOOP
=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6780 if test x"$enablestring" = xdisable; then
6781 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6787 result=$wxUSE_CONSOLE_EVENTLOOP
6790 { echo "$as_me:$LINENO: result
: $result" >&5
6791 echo "${ECHO_T}$result" >&6; }
6795 defaultval=$wxUSE_ALL_FEATURES
6796 if test -z "$defaultval"; then
6797 if test x"$enablestring" = xdisable; then
6804 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6805 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6806 # Check whether --enable-epollloop was given.
6807 if test "${enable_epollloop+set}" = set; then
6808 enableval=$enable_epollloop;
6809 if test "$enableval" = yes; then
6810 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6812 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6818 LINE=`grep "^wxUSE_EPOLL_DISPATCHER
=" ${wx_arg_cache_file}`
6819 if test "x
$LINE" != x ; then
6820 eval "DEFAULT_
$LINE"
6826 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6831 eval "$wx_cv_use_epollloop"
6832 if test "x$cache" = xyes
; then
6833 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6836 if test x
"$enablestring" = xdisable
; then
6837 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6843 result
=$wxUSE_EPOLL_DISPATCHER
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6851 defaultval
=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x
"$enablestring" = xdisable
; then
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6862 # Check whether --enable-selectloop was given.
6863 if test "${enable_selectloop+set}" = set; then
6864 enableval
=$enable_selectloop;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6868 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6874 LINE
=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x
; then
6876 eval "DEFAULT_$LINE"
6882 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6887 eval "$wx_cv_use_selectloop"
6888 if test "x$cache" = xyes; then
6889 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6892 if test x"$enablestring" = xdisable; then
6893 if test $wxUSE_SELECT_DISPATCHER = yes; then
6899 result=$wxUSE_SELECT_DISPATCHER
6902 { echo "$as_me:$LINENO: result: $result" >&5
6903 echo "${ECHO_T}$result" >&6; }
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6919 # Check whether --enable-apple_ieee was given.
6920 if test "${enable_apple_ieee+set}" = set; then
6921 enableval=$enable_apple_ieee;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6925 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6931 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6932 if test "x$LINE" != x ; then
6933 eval "DEFAULT_$LINE"
6939 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6944 eval "$wx_cv_use_apple_ieee"
6945 if test "x
$cache" = xyes; then
6946 echo "wxUSE_APPLE_IEEE
=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6949 if test x"$enablestring" = xdisable; then
6950 if test $wxUSE_APPLE_IEEE = yes; then
6956 result=$wxUSE_APPLE_IEEE
6959 { echo "$as_me:$LINENO: result
: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6964 defaultval=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6973 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6974 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6975 # Check whether --enable-arcstream was given.
6976 if test "${enable_arcstream+set}" = set; then
6977 enableval=$enable_arcstream;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6981 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6987 LINE=`grep "^wxUSE_ARCHIVE_STREAMS
=" ${wx_arg_cache_file}`
6988 if test "x
$LINE" != x ; then
6989 eval "DEFAULT_
$LINE"
6995 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7000 eval "$wx_cv_use_arcstream"
7001 if test "x$cache" = xyes
; then
7002 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7005 if test x
"$enablestring" = xdisable
; then
7006 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7012 result
=$wxUSE_ARCHIVE_STREAMS
7015 { echo "$as_me:$LINENO: result: $result" >&5
7016 echo "${ECHO_T}$result" >&6; }
7020 defaultval
=$wxUSE_ALL_FEATURES
7021 if test -z "$defaultval"; then
7022 if test x
"$enablestring" = xdisable
; then
7029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7030 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7031 # Check whether --enable-base64 was given.
7032 if test "${enable_base64+set}" = set; then
7033 enableval
=$enable_base64;
7034 if test "$enableval" = yes; then
7035 wx_cv_use_base64
='wxUSE_BASE64=yes'
7037 wx_cv_use_base64
='wxUSE_BASE64=no'
7043 LINE
=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x
; then
7045 eval "DEFAULT_$LINE"
7051 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7056 eval "$wx_cv_use_base64"
7057 if test "x$cache" = xyes; then
7058 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_BASE64 = yes; then
7068 result=$wxUSE_BASE64
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7087 # Check whether --enable-backtrace was given.
7088 if test "${enable_backtrace+set}" = set; then
7089 enableval=$enable_backtrace;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7093 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7099 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x ; then
7101 eval "DEFAULT_$LINE"
7107 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7112 eval "$wx_cv_use_backtrace"
7113 if test "x
$cache" = xyes; then
7114 echo "wxUSE_STACKWALKER
=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7117 if test x"$enablestring" = xdisable; then
7118 if test $wxUSE_STACKWALKER = yes; then
7124 result=$wxUSE_STACKWALKER
7127 { echo "$as_me:$LINENO: result
: $result" >&5
7128 echo "${ECHO_T}$result" >&6; }
7132 defaultval=$wxUSE_ALL_FEATURES
7133 if test -z "$defaultval"; then
7134 if test x"$enablestring" = xdisable; then
7141 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
7142 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
7143 # Check whether --enable-catch_segvs was given.
7144 if test "${enable_catch_segvs+set}" = set; then
7145 enableval=$enable_catch_segvs;
7146 if test "$enableval" = yes; then
7147 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7149 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7155 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION
=" ${wx_arg_cache_file}`
7156 if test "x
$LINE" != x ; then
7157 eval "DEFAULT_
$LINE"
7163 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7168 eval "$wx_cv_use_catch_segvs"
7169 if test "x$cache" = xyes
; then
7170 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7173 if test x
"$enablestring" = xdisable
; then
7174 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7180 result
=$wxUSE_ON_FATAL_EXCEPTION
7183 { echo "$as_me:$LINENO: result: $result" >&5
7184 echo "${ECHO_T}$result" >&6; }
7188 defaultval
=$wxUSE_ALL_FEATURES
7189 if test -z "$defaultval"; then
7190 if test x
"$enablestring" = xdisable
; then
7197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7199 # Check whether --enable-cmdline was given.
7200 if test "${enable_cmdline+set}" = set; then
7201 enableval
=$enable_cmdline;
7202 if test "$enableval" = yes; then
7203 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7205 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7211 LINE
=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x
; then
7213 eval "DEFAULT_$LINE"
7219 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7224 eval "$wx_cv_use_cmdline"
7225 if test "x$cache" = xyes; then
7226 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7229 if test x"$enablestring" = xdisable; then
7230 if test $wxUSE_CMDLINE_PARSER = yes; then
7236 result=$wxUSE_CMDLINE_PARSER
7239 { echo "$as_me:$LINENO: result: $result" >&5
7240 echo "${ECHO_T}$result" >&6; }
7244 defaultval=$wxUSE_ALL_FEATURES
7245 if test -z "$defaultval"; then
7246 if test x"$enablestring" = xdisable; then
7253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7255 # Check whether --enable-datetime was given.
7256 if test "${enable_datetime+set}" = set; then
7257 enableval=$enable_datetime;
7258 if test "$enableval" = yes; then
7259 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7261 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7267 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x ; then
7269 eval "DEFAULT_$LINE"
7275 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7280 eval "$wx_cv_use_datetime"
7281 if test "x
$cache" = xyes; then
7282 echo "wxUSE_DATETIME
=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7285 if test x"$enablestring" = xdisable; then
7286 if test $wxUSE_DATETIME = yes; then
7292 result=$wxUSE_DATETIME
7295 { echo "$as_me:$LINENO: result
: $result" >&5
7296 echo "${ECHO_T}$result" >&6; }
7300 defaultval=$wxUSE_ALL_FEATURES
7301 if test -z "$defaultval"; then
7302 if test x"$enablestring" = xdisable; then
7309 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
7310 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
7311 # Check whether --enable-debugreport was given.
7312 if test "${enable_debugreport+set}" = set; then
7313 enableval=$enable_debugreport;
7314 if test "$enableval" = yes; then
7315 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7317 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7323 LINE=`grep "^wxUSE_DEBUGREPORT
=" ${wx_arg_cache_file}`
7324 if test "x
$LINE" != x ; then
7325 eval "DEFAULT_
$LINE"
7331 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7336 eval "$wx_cv_use_debugreport"
7337 if test "x$cache" = xyes
; then
7338 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7341 if test x
"$enablestring" = xdisable
; then
7342 if test $wxUSE_DEBUGREPORT = yes; then
7348 result
=$wxUSE_DEBUGREPORT
7351 { echo "$as_me:$LINENO: result: $result" >&5
7352 echo "${ECHO_T}$result" >&6; }
7356 defaultval
=$wxUSE_ALL_FEATURES
7357 if test -z "$defaultval"; then
7358 if test x
"$enablestring" = xdisable
; then
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7367 # Check whether --enable-dialupman was given.
7368 if test "${enable_dialupman+set}" = set; then
7369 enableval
=$enable_dialupman;
7370 if test "$enableval" = yes; then
7371 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7373 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7379 LINE
=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x
; then
7381 eval "DEFAULT_$LINE"
7387 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7392 eval "$wx_cv_use_dialupman"
7393 if test "x$cache" = xyes; then
7394 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_DIALUP_MANAGER = yes; then
7404 result=$wxUSE_DIALUP_MANAGER
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7423 # Check whether --enable-dynlib was given.
7424 if test "${enable_dynlib+set}" = set; then
7425 enableval=$enable_dynlib;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7429 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7435 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7443 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7448 eval "$wx_cv_use_dynlib"
7449 if test "x
$cache" = xyes; then
7450 echo "wxUSE_DYNLIB_CLASS
=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_DYNLIB_CLASS = yes; then
7460 result=$wxUSE_DYNLIB_CLASS
7463 { echo "$as_me:$LINENO: result
: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7477 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7478 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7479 # Check whether --enable-dynamicloader was given.
7480 if test "${enable_dynamicloader+set}" = set; then
7481 enableval=$enable_dynamicloader;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7485 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7491 LINE=`grep "^wxUSE_DYNAMIC_LOADER
=" ${wx_arg_cache_file}`
7492 if test "x
$LINE" != x ; then
7493 eval "DEFAULT_
$LINE"
7499 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7504 eval "$wx_cv_use_dynamicloader"
7505 if test "x$cache" = xyes
; then
7506 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7509 if test x
"$enablestring" = xdisable
; then
7510 if test $wxUSE_DYNAMIC_LOADER = yes; then
7516 result
=$wxUSE_DYNAMIC_LOADER
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7524 defaultval
=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x
"$enablestring" = xdisable
; then
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7535 # Check whether --enable-exceptions was given.
7536 if test "${enable_exceptions+set}" = set; then
7537 enableval
=$enable_exceptions;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7541 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7547 LINE
=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7548 if test "x$LINE" != x
; then
7549 eval "DEFAULT_$LINE"
7555 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7560 eval "$wx_cv_use_exceptions"
7561 if test "x$cache" = xyes; then
7562 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_EXCEPTIONS = yes; then
7572 result=$wxUSE_EXCEPTIONS
7575 { echo "$as_me:$LINENO: result: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7591 # Check whether --enable-ffile was given.
7592 if test "${enable_ffile+set}" = set; then
7593 enableval=$enable_ffile;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7597 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7603 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x ; then
7605 eval "DEFAULT_$LINE"
7611 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7616 eval "$wx_cv_use_ffile"
7617 if test "x
$cache" = xyes; then
7618 echo "wxUSE_FFILE
=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7621 if test x"$enablestring" = xdisable; then
7622 if test $wxUSE_FFILE = yes; then
7631 { echo "$as_me:$LINENO: result
: $result" >&5
7632 echo "${ECHO_T}$result" >&6; }
7636 defaultval=$wxUSE_ALL_FEATURES
7637 if test -z "$defaultval"; then
7638 if test x"$enablestring" = xdisable; then
7645 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7646 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7647 # Check whether --enable-file was given.
7648 if test "${enable_file+set}" = set; then
7649 enableval=$enable_file;
7650 if test "$enableval" = yes; then
7651 wx_cv_use_file='wxUSE_FILE=yes'
7653 wx_cv_use_file='wxUSE_FILE=no'
7659 LINE=`grep "^wxUSE_FILE
=" ${wx_arg_cache_file}`
7660 if test "x
$LINE" != x ; then
7661 eval "DEFAULT_
$LINE"
7667 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7672 eval "$wx_cv_use_file"
7673 if test "x$cache" = xyes
; then
7674 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7677 if test x
"$enablestring" = xdisable
; then
7678 if test $wxUSE_FILE = yes; then
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7692 defaultval
=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x
"$enablestring" = xdisable
; then
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7703 # Check whether --enable-filesystem was given.
7704 if test "${enable_filesystem+set}" = set; then
7705 enableval
=$enable_filesystem;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7709 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7715 LINE
=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x
; then
7717 eval "DEFAULT_$LINE"
7723 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7728 eval "$wx_cv_use_filesystem"
7729 if test "x$cache" = xyes; then
7730 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7733 if test x"$enablestring" = xdisable; then
7734 if test $wxUSE_FILESYSTEM = yes; then
7740 result=$wxUSE_FILESYSTEM
7743 { echo "$as_me:$LINENO: result: $result" >&5
7744 echo "${ECHO_T}$result" >&6; }
7748 defaultval=$wxUSE_ALL_FEATURES
7749 if test -z "$defaultval"; then
7750 if test x"$enablestring" = xdisable; then
7757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7759 # Check whether --enable-fontenum was given.
7760 if test "${enable_fontenum+set}" = set; then
7761 enableval=$enable_fontenum;
7762 if test "$enableval" = yes; then
7763 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7765 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7771 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7779 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7784 eval "$wx_cv_use_fontenum"
7785 if test "x
$cache" = xyes; then
7786 echo "wxUSE_FONTENUM
=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7789 if test x"$enablestring" = xdisable; then
7790 if test $wxUSE_FONTENUM = yes; then
7796 result=$wxUSE_FONTENUM
7799 { echo "$as_me:$LINENO: result
: $result" >&5
7800 echo "${ECHO_T}$result" >&6; }
7804 defaultval=$wxUSE_ALL_FEATURES
7805 if test -z "$defaultval"; then
7806 if test x"$enablestring" = xdisable; then
7813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7814 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7815 # Check whether --enable-fontmap was given.
7816 if test "${enable_fontmap+set}" = set; then
7817 enableval=$enable_fontmap;
7818 if test "$enableval" = yes; then
7819 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7821 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7827 LINE=`grep "^wxUSE_FONTMAP
=" ${wx_arg_cache_file}`
7828 if test "x
$LINE" != x ; then
7829 eval "DEFAULT_
$LINE"
7835 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7840 eval "$wx_cv_use_fontmap"
7841 if test "x$cache" = xyes
; then
7842 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7845 if test x
"$enablestring" = xdisable
; then
7846 if test $wxUSE_FONTMAP = yes; then
7852 result
=$wxUSE_FONTMAP
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7860 defaultval
=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x
"$enablestring" = xdisable
; then
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7871 # Check whether --enable-fs_archive was given.
7872 if test "${enable_fs_archive+set}" = set; then
7873 enableval
=$enable_fs_archive;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7877 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7883 LINE
=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7891 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7896 eval "$wx_cv_use_fs_archive"
7897 if test "x$cache" = xyes; then
7898 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7901 if test x"$enablestring" = xdisable; then
7902 if test $wxUSE_FS_ARCHIVE = yes; then
7908 result=$wxUSE_FS_ARCHIVE
7911 { echo "$as_me:$LINENO: result: $result" >&5
7912 echo "${ECHO_T}$result" >&6; }
7916 defaultval=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x"$enablestring" = xdisable; then
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7927 # Check whether --enable-fs_inet was given.
7928 if test "${enable_fs_inet+set}" = set; then
7929 enableval=$enable_fs_inet;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7933 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7939 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7947 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7952 eval "$wx_cv_use_fs_inet"
7953 if test "x
$cache" = xyes; then
7954 echo "wxUSE_FS_INET
=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7957 if test x"$enablestring" = xdisable; then
7958 if test $wxUSE_FS_INET = yes; then
7964 result=$wxUSE_FS_INET
7967 { echo "$as_me:$LINENO: result
: $result" >&5
7968 echo "${ECHO_T}$result" >&6; }
7972 defaultval=$wxUSE_ALL_FEATURES
7973 if test -z "$defaultval"; then
7974 if test x"$enablestring" = xdisable; then
7981 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7982 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7983 # Check whether --enable-fs_zip was given.
7984 if test "${enable_fs_zip+set}" = set; then
7985 enableval=$enable_fs_zip;
7986 if test "$enableval" = yes; then
7987 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7989 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7995 LINE=`grep "^wxUSE_FS_ZIP
=" ${wx_arg_cache_file}`
7996 if test "x
$LINE" != x ; then
7997 eval "DEFAULT_
$LINE"
8003 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8008 eval "$wx_cv_use_fs_zip"
8009 if test "x$cache" = xyes
; then
8010 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8013 if test x
"$enablestring" = xdisable
; then
8014 if test $wxUSE_FS_ZIP = yes; then
8020 result
=$wxUSE_FS_ZIP
8023 { echo "$as_me:$LINENO: result: $result" >&5
8024 echo "${ECHO_T}$result" >&6; }
8028 defaultval
=$wxUSE_ALL_FEATURES
8029 if test -z "$defaultval"; then
8030 if test x
"$enablestring" = xdisable
; then
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8039 # Check whether --enable-geometry was given.
8040 if test "${enable_geometry+set}" = set; then
8041 enableval
=$enable_geometry;
8042 if test "$enableval" = yes; then
8043 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8045 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8051 LINE
=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x
; then
8053 eval "DEFAULT_$LINE"
8059 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8064 eval "$wx_cv_use_geometry"
8065 if test "x$cache" = xyes; then
8066 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_GEOMETRY = yes; then
8076 result=$wxUSE_GEOMETRY
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8084 defaultval=$wxUSE_ALL_FEATURES
8085 if test -z "$defaultval"; then
8086 if test x"$enablestring" = xdisable; then
8093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8095 # Check whether --enable-log was given.
8096 if test "${enable_log+set}" = set; then
8097 enableval=$enable_log;
8098 if test "$enableval" = yes; then
8099 wx_cv_use_log='wxUSE_LOG
=yes'
8101 wx_cv_use_log='wxUSE_LOG
=no
'
8107 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8108 if test "x$LINE" != x ; then
8109 eval "DEFAULT_$LINE"
8115 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8120 eval "$wx_cv_use_log"
8121 if test "x
$cache" = xyes; then
8122 echo "wxUSE_LOG
=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8125 if test x"$enablestring" = xdisable; then
8126 if test $wxUSE_LOG = yes; then
8135 { echo "$as_me:$LINENO: result
: $result" >&5
8136 echo "${ECHO_T}$result" >&6; }
8140 defaultval=$wxUSE_ALL_FEATURES
8141 if test -z "$defaultval"; then
8142 if test x"$enablestring" = xdisable; then
8149 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
8150 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
8151 # Check whether --enable-longlong was given.
8152 if test "${enable_longlong+set}" = set; then
8153 enableval=$enable_longlong;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8157 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8163 LINE=`grep "^wxUSE_LONGLONG
=" ${wx_arg_cache_file}`
8164 if test "x
$LINE" != x ; then
8165 eval "DEFAULT_
$LINE"
8171 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8176 eval "$wx_cv_use_longlong"
8177 if test "x$cache" = xyes
; then
8178 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8181 if test x
"$enablestring" = xdisable
; then
8182 if test $wxUSE_LONGLONG = yes; then
8188 result
=$wxUSE_LONGLONG
8191 { echo "$as_me:$LINENO: result: $result" >&5
8192 echo "${ECHO_T}$result" >&6; }
8196 defaultval
=$wxUSE_ALL_FEATURES
8197 if test -z "$defaultval"; then
8198 if test x
"$enablestring" = xdisable
; then
8205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8207 # Check whether --enable-mimetype was given.
8208 if test "${enable_mimetype+set}" = set; then
8209 enableval
=$enable_mimetype;
8210 if test "$enableval" = yes; then
8211 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8213 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8219 LINE
=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x
; then
8221 eval "DEFAULT_$LINE"
8227 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8232 eval "$wx_cv_use_mimetype"
8233 if test "x$cache" = xyes; then
8234 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_MIMETYPE = yes; then
8244 result=$wxUSE_MIMETYPE
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8263 # Check whether --enable-snglinst was given.
8264 if test "${enable_snglinst+set}" = set; then
8265 enableval=$enable_snglinst;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8269 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8275 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8283 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8288 eval "$wx_cv_use_snglinst"
8289 if test "x
$cache" = xyes; then
8290 echo "wxUSE_SNGLINST_CHECKER
=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_SNGLINST_CHECKER = yes; then
8300 result=$wxUSE_SNGLINST_CHECKER
8303 { echo "$as_me:$LINENO: result
: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8308 defaultval=$wxUSE_ALL_FEATURES
8309 if test -z "$defaultval"; then
8310 if test x"$enablestring" = xdisable; then
8317 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
8318 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
8319 # Check whether --enable-stdpaths was given.
8320 if test "${enable_stdpaths+set}" = set; then
8321 enableval=$enable_stdpaths;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8325 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8331 LINE=`grep "^wxUSE_STDPATHS
=" ${wx_arg_cache_file}`
8332 if test "x
$LINE" != x ; then
8333 eval "DEFAULT_
$LINE"
8339 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8344 eval "$wx_cv_use_stdpaths"
8345 if test "x$cache" = xyes
; then
8346 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8349 if test x
"$enablestring" = xdisable
; then
8350 if test $wxUSE_STDPATHS = yes; then
8356 result
=$wxUSE_STDPATHS
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8364 defaultval
=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x
"$enablestring" = xdisable
; then
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8375 # Check whether --enable-stopwatch was given.
8376 if test "${enable_stopwatch+set}" = set; then
8377 enableval
=$enable_stopwatch;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
8381 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
8387 LINE
=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x
; then
8389 eval "DEFAULT_$LINE"
8395 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8400 eval "$wx_cv_use_stopwatch"
8401 if test "x$cache" = xyes; then
8402 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8405 if test x"$enablestring" = xdisable; then
8406 if test $wxUSE_STOPWATCH = yes; then
8412 result=$wxUSE_STOPWATCH
8415 { echo "$as_me:$LINENO: result: $result" >&5
8416 echo "${ECHO_T}$result" >&6; }
8420 defaultval=$wxUSE_ALL_FEATURES
8421 if test -z "$defaultval"; then
8422 if test x"$enablestring" = xdisable; then
8429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8431 # Check whether --enable-streams was given.
8432 if test "${enable_streams+set}" = set; then
8433 enableval=$enable_streams;
8434 if test "$enableval" = yes; then
8435 wx_cv_use_streams='wxUSE_STREAMS
=yes'
8437 wx_cv_use_streams='wxUSE_STREAMS
=no
'
8443 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8451 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8456 eval "$wx_cv_use_streams"
8457 if test "x
$cache" = xyes; then
8458 echo "wxUSE_STREAMS
=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8461 if test x"$enablestring" = xdisable; then
8462 if test $wxUSE_STREAMS = yes; then
8468 result=$wxUSE_STREAMS
8471 { echo "$as_me:$LINENO: result
: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8476 defaultval=$wxUSE_ALL_FEATURES
8477 if test -z "$defaultval"; then
8478 if test x"$enablestring" = xdisable; then
8485 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
8486 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
8487 # Check whether --enable-system_options was given.
8488 if test "${enable_system_options+set}" = set; then
8489 enableval=$enable_system_options;
8490 if test "$enableval" = yes; then
8491 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8493 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8499 LINE=`grep "^wxUSE_SYSTEM_OPTIONS
=" ${wx_arg_cache_file}`
8500 if test "x
$LINE" != x ; then
8501 eval "DEFAULT_
$LINE"
8507 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8512 eval "$wx_cv_use_system_options"
8513 if test "x$cache" = xyes
; then
8514 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8517 if test x
"$enablestring" = xdisable
; then
8518 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8524 result
=$wxUSE_SYSTEM_OPTIONS
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8532 defaultval
=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x
"$enablestring" = xdisable
; then
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8543 # Check whether --enable-tarstream was given.
8544 if test "${enable_tarstream+set}" = set; then
8545 enableval
=$enable_tarstream;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
8549 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
8555 LINE
=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x
; then
8557 eval "DEFAULT_$LINE"
8563 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8568 eval "$wx_cv_use_tarstream"
8569 if test "x$cache" = xyes; then
8570 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8573 if test x"$enablestring" = xdisable; then
8574 if test $wxUSE_TARSTREAM = yes; then
8580 result=$wxUSE_TARSTREAM
8583 { echo "$as_me:$LINENO: result: $result" >&5
8584 echo "${ECHO_T}$result" >&6; }
8588 defaultval=$wxUSE_ALL_FEATURES
8589 if test -z "$defaultval"; then
8590 if test x"$enablestring" = xdisable; then
8597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8599 # Check whether --enable-textbuf was given.
8600 if test "${enable_textbuf+set}" = set; then
8601 enableval=$enable_textbuf;
8602 if test "$enableval" = yes; then
8603 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
8605 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
8611 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8612 if test "x$LINE" != x ; then
8613 eval "DEFAULT_$LINE"
8619 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8624 eval "$wx_cv_use_textbuf"
8625 if test "x
$cache" = xyes; then
8626 echo "wxUSE_TEXTBUFFER
=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8629 if test x"$enablestring" = xdisable; then
8630 if test $wxUSE_TEXTBUFFER = yes; then
8636 result=$wxUSE_TEXTBUFFER
8639 { echo "$as_me:$LINENO: result
: $result" >&5
8640 echo "${ECHO_T}$result" >&6; }
8644 defaultval=$wxUSE_ALL_FEATURES
8645 if test -z "$defaultval"; then
8646 if test x"$enablestring" = xdisable; then
8653 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
8654 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
8655 # Check whether --enable-textfile was given.
8656 if test "${enable_textfile+set}" = set; then
8657 enableval=$enable_textfile;
8658 if test "$enableval" = yes; then
8659 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8661 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8667 LINE=`grep "^wxUSE_TEXTFILE
=" ${wx_arg_cache_file}`
8668 if test "x
$LINE" != x ; then
8669 eval "DEFAULT_
$LINE"
8675 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8680 eval "$wx_cv_use_textfile"
8681 if test "x$cache" = xyes
; then
8682 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8685 if test x
"$enablestring" = xdisable
; then
8686 if test $wxUSE_TEXTFILE = yes; then
8692 result
=$wxUSE_TEXTFILE
8695 { echo "$as_me:$LINENO: result: $result" >&5
8696 echo "${ECHO_T}$result" >&6; }
8700 defaultval
=$wxUSE_ALL_FEATURES
8701 if test -z "$defaultval"; then
8702 if test x
"$enablestring" = xdisable
; then
8709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8711 # Check whether --enable-timer was given.
8712 if test "${enable_timer+set}" = set; then
8713 enableval
=$enable_timer;
8714 if test "$enableval" = yes; then
8715 wx_cv_use_timer
='wxUSE_TIMER=yes'
8717 wx_cv_use_timer
='wxUSE_TIMER=no'
8723 LINE
=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x
; then
8725 eval "DEFAULT_$LINE"
8731 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8736 eval "$wx_cv_use_timer"
8737 if test "x$cache" = xyes; then
8738 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_TIMER = yes; then
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8767 # Check whether --enable-sound was given.
8768 if test "${enable_sound+set}" = set; then
8769 enableval=$enable_sound;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_sound='wxUSE_SOUND
=yes'
8773 wx_cv_use_sound='wxUSE_SOUND
=no
'
8779 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8780 if test "x$LINE" != x ; then
8781 eval "DEFAULT_$LINE"
8787 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8792 eval "$wx_cv_use_sound"
8793 if test "x
$cache" = xyes; then
8794 echo "wxUSE_SOUND
=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8797 if test x"$enablestring" = xdisable; then
8798 if test $wxUSE_SOUND = yes; then
8807 { echo "$as_me:$LINENO: result
: $result" >&5
8808 echo "${ECHO_T}$result" >&6; }
8812 defaultval=$wxUSE_ALL_FEATURES
8813 if test -z "$defaultval"; then
8814 if test x"$enablestring" = xdisable; then
8821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8822 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8823 # Check whether --enable-mediactrl was given.
8824 if test "${enable_mediactrl+set}" = set; then
8825 enableval=$enable_mediactrl;
8826 if test "$enableval" = yes; then
8827 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8829 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8835 LINE=`grep "^wxUSE_MEDIACTRL
=" ${wx_arg_cache_file}`
8836 if test "x
$LINE" != x ; then
8837 eval "DEFAULT_
$LINE"
8843 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8848 eval "$wx_cv_use_mediactrl"
8849 if test "x$cache" = xyes
; then
8850 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8853 if test x
"$enablestring" = xdisable
; then
8854 if test $wxUSE_MEDIACTRL = yes; then
8860 result
=$wxUSE_MEDIACTRL
8863 { echo "$as_me:$LINENO: result: $result" >&5
8864 echo "${ECHO_T}$result" >&6; }
8868 defaultval
=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x
"$enablestring" = xdisable
; then
8877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8879 # Check whether --enable-gstreamer8 was given.
8880 if test "${enable_gstreamer8+set}" = set; then
8881 enableval
=$enable_gstreamer8;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
8885 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
8891 LINE
=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x
; then
8893 eval "DEFAULT_$LINE"
8899 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8904 eval "$wx_cv_use_gstreamer8"
8905 if test "x$cache" = xyes; then
8906 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_GSTREAMER8 = yes; then
8916 result=$wxUSE_GSTREAMER8
8919 { echo "$as_me:$LINENO: result: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8935 # Check whether --enable-printfposparam was given.
8936 if test "${enable_printfposparam+set}" = set; then
8937 enableval=$enable_printfposparam;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8941 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8947 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8955 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8960 eval "$wx_cv_use_printfposparam"
8961 if test "x
$cache" = xyes; then
8962 echo "wxUSE_PRINTF_POS_PARAMS
=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8972 result=$wxUSE_PRINTF_POS_PARAMS
8975 { echo "$as_me:$LINENO: result
: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8989 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
8990 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
8991 # Check whether --enable-zipstream was given.
8992 if test "${enable_zipstream+set}" = set; then
8993 enableval=$enable_zipstream;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8997 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9003 LINE=`grep "^wxUSE_ZIPSTREAM
=" ${wx_arg_cache_file}`
9004 if test "x
$LINE" != x ; then
9005 eval "DEFAULT_
$LINE"
9011 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9016 eval "$wx_cv_use_zipstream"
9017 if test "x$cache" = xyes
; then
9018 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9021 if test x
"$enablestring" = xdisable
; then
9022 if test $wxUSE_ZIPSTREAM = yes; then
9028 result
=$wxUSE_ZIPSTREAM
9031 { echo "$as_me:$LINENO: result: $result" >&5
9032 echo "${ECHO_T}$result" >&6; }
9037 defaultval
=$wxUSE_ALL_FEATURES
9038 if test -z "$defaultval"; then
9039 if test x
"$enablestring" = xdisable
; then
9046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9048 # Check whether --enable-url was given.
9049 if test "${enable_url+set}" = set; then
9050 enableval
=$enable_url;
9051 if test "$enableval" = yes; then
9052 wx_cv_use_url
='wxUSE_URL=yes'
9054 wx_cv_use_url
='wxUSE_URL=no'
9060 LINE
=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x
; then
9062 eval "DEFAULT_$LINE"
9068 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9073 eval "$wx_cv_use_url"
9074 if test "x$cache" = xyes; then
9075 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_URL = yes; then
9088 { echo "$as_me:$LINENO: result: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9104 # Check whether --enable-variant was given.
9105 if test "${enable_variant+set}" = set; then
9106 enableval=$enable_variant;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9110 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9116 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9124 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9129 eval "$wx_cv_use_variant"
9130 if test "x
$cache" = xyes; then
9131 echo "wxUSE_VARIANT
=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9134 if test x"$enablestring" = xdisable; then
9135 if test $wxUSE_VARIANT = yes; then
9141 result=$wxUSE_VARIANT
9144 { echo "$as_me:$LINENO: result
: $result" >&5
9145 echo "${ECHO_T}$result" >&6; }
9149 defaultval=$wxUSE_ALL_FEATURES
9150 if test -z "$defaultval"; then
9151 if test x"$enablestring" = xdisable; then
9158 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
9159 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
9160 # Check whether --enable-protocol was given.
9161 if test "${enable_protocol+set}" = set; then
9162 enableval=$enable_protocol;
9163 if test "$enableval" = yes; then
9164 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9166 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9172 LINE=`grep "^wxUSE_PROTOCOL
=" ${wx_arg_cache_file}`
9173 if test "x
$LINE" != x ; then
9174 eval "DEFAULT_
$LINE"
9180 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9185 eval "$wx_cv_use_protocol"
9186 if test "x$cache" = xyes
; then
9187 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9190 if test x
"$enablestring" = xdisable
; then
9191 if test $wxUSE_PROTOCOL = yes; then
9197 result
=$wxUSE_PROTOCOL
9200 { echo "$as_me:$LINENO: result: $result" >&5
9201 echo "${ECHO_T}$result" >&6; }
9205 defaultval
=$wxUSE_ALL_FEATURES
9206 if test -z "$defaultval"; then
9207 if test x
"$enablestring" = xdisable
; then
9214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9216 # Check whether --enable-protocol_http was given.
9217 if test "${enable_protocol_http+set}" = set; then
9218 enableval
=$enable_protocol_http;
9219 if test "$enableval" = yes; then
9220 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9222 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9228 LINE
=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9229 if test "x$LINE" != x
; then
9230 eval "DEFAULT_$LINE"
9236 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9241 eval "$wx_cv_use_protocol_http"
9242 if test "x$cache" = xyes; then
9243 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9246 if test x"$enablestring" = xdisable; then
9247 if test $wxUSE_PROTOCOL_HTTP = yes; then
9253 result=$wxUSE_PROTOCOL_HTTP
9256 { echo "$as_me:$LINENO: result: $result" >&5
9257 echo "${ECHO_T}$result" >&6; }
9261 defaultval=$wxUSE_ALL_FEATURES
9262 if test -z "$defaultval"; then
9263 if test x"$enablestring" = xdisable; then
9270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9272 # Check whether --enable-protocol_ftp was given.
9273 if test "${enable_protocol_ftp+set}" = set; then
9274 enableval=$enable_protocol_ftp;
9275 if test "$enableval" = yes; then
9276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9284 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x ; then
9286 eval "DEFAULT_$LINE"
9292 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9297 eval "$wx_cv_use_protocol_ftp"
9298 if test "x
$cache" = xyes; then
9299 echo "wxUSE_PROTOCOL_FTP
=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9302 if test x"$enablestring" = xdisable; then
9303 if test $wxUSE_PROTOCOL_FTP = yes; then
9309 result=$wxUSE_PROTOCOL_FTP
9312 { echo "$as_me:$LINENO: result
: $result" >&5
9313 echo "${ECHO_T}$result" >&6; }
9317 defaultval=$wxUSE_ALL_FEATURES
9318 if test -z "$defaultval"; then
9319 if test x"$enablestring" = xdisable; then
9326 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
9327 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
9328 # Check whether --enable-protocol_file was given.
9329 if test "${enable_protocol_file+set}" = set; then
9330 enableval=$enable_protocol_file;
9331 if test "$enableval" = yes; then
9332 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9334 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9340 LINE=`grep "^wxUSE_PROTOCOL_FILE
=" ${wx_arg_cache_file}`
9341 if test "x
$LINE" != x ; then
9342 eval "DEFAULT_
$LINE"
9348 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9353 eval "$wx_cv_use_protocol_file"
9354 if test "x$cache" = xyes
; then
9355 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9358 if test x
"$enablestring" = xdisable
; then
9359 if test $wxUSE_PROTOCOL_FILE = yes; then
9365 result
=$wxUSE_PROTOCOL_FILE
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9374 defaultval
=$wxUSE_ALL_FEATURES
9375 if test -z "$defaultval"; then
9376 if test x
"$enablestring" = xdisable
; then
9383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9385 # Check whether --enable-threads was given.
9386 if test "${enable_threads+set}" = set; then
9387 enableval
=$enable_threads;
9388 if test "$enableval" = yes; then
9389 wx_cv_use_threads
='wxUSE_THREADS=yes'
9391 wx_cv_use_threads
='wxUSE_THREADS=no'
9397 LINE
=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9398 if test "x$LINE" != x
; then
9399 eval "DEFAULT_$LINE"
9405 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9410 eval "$wx_cv_use_threads"
9411 if test "x$cache" = xyes; then
9412 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9415 if test x"$enablestring" = xdisable; then
9416 if test $wxUSE_THREADS = yes; then
9422 result=$wxUSE_THREADS
9425 { echo "$as_me:$LINENO: result: $result" >&5
9426 echo "${ECHO_T}$result" >&6; }
9432 if test -z "$defaultval"; then
9433 if test x"$enablestring" = xdisable; then
9440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9442 # Check whether --enable-iniconf was given.
9443 if test "${enable_iniconf+set}" = set; then
9444 enableval=$enable_iniconf;
9445 if test "$enableval" = yes; then
9446 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9448 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9454 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9462 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9467 eval "$wx_cv_use_iniconf"
9468 if test "x
$cache" = xyes; then
9469 echo "wxUSE_INICONF
=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9472 if test x"$enablestring" = xdisable; then
9473 if test $wxUSE_INICONF = yes; then
9479 result=$wxUSE_INICONF
9482 { echo "$as_me:$LINENO: result
: $result" >&5
9483 echo "${ECHO_T}$result" >&6; }
9487 defaultval=$wxUSE_ALL_FEATURES
9488 if test -z "$defaultval"; then
9489 if test x"$enablestring" = xdisable; then
9496 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
9497 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
9498 # Check whether --enable-regkey was given.
9499 if test "${enable_regkey+set}" = set; then
9500 enableval=$enable_regkey;
9501 if test "$enableval" = yes; then
9502 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9504 wx_cv_use_regkey='wxUSE_REGKEY=no'
9510 LINE=`grep "^wxUSE_REGKEY
=" ${wx_arg_cache_file}`
9511 if test "x
$LINE" != x ; then
9512 eval "DEFAULT_
$LINE"
9518 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9523 eval "$wx_cv_use_regkey"
9524 if test "x$cache" = xyes
; then
9525 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9528 if test x
"$enablestring" = xdisable
; then
9529 if test $wxUSE_REGKEY = yes; then
9535 result
=$wxUSE_REGKEY
9538 { echo "$as_me:$LINENO: result: $result" >&5
9539 echo "${ECHO_T}$result" >&6; }
9542 if test "$wxUSE_GUI" = "yes"; then
9547 defaultval
=$wxUSE_ALL_FEATURES
9548 if test -z "$defaultval"; then
9549 if test x
"$enablestring" = xdisable
; then
9556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9558 # Check whether --enable-docview was given.
9559 if test "${enable_docview+set}" = set; then
9560 enableval
=$enable_docview;
9561 if test "$enableval" = yes; then
9562 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9564 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9570 LINE
=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9578 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9583 eval "$wx_cv_use_docview"
9584 if test "x$cache" = xyes; then
9585 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9588 if test x"$enablestring" = xdisable; then
9589 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9595 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9598 { echo "$as_me:$LINENO: result: $result" >&5
9599 echo "${ECHO_T}$result" >&6; }
9603 defaultval=$wxUSE_ALL_FEATURES
9604 if test -z "$defaultval"; then
9605 if test x"$enablestring" = xdisable; then
9612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9614 # Check whether --enable-help was given.
9615 if test "${enable_help+set}" = set; then
9616 enableval=$enable_help;
9617 if test "$enableval" = yes; then
9618 wx_cv_use_help='wxUSE_HELP
=yes'
9620 wx_cv_use_help='wxUSE_HELP
=no
'
9626 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9627 if test "x$LINE" != x ; then
9628 eval "DEFAULT_$LINE"
9634 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9639 eval "$wx_cv_use_help"
9640 if test "x
$cache" = xyes; then
9641 echo "wxUSE_HELP
=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_HELP = yes; then
9654 { echo "$as_me:$LINENO: result
: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9669 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
9670 # Check whether --enable-mshtmlhelp was given.
9671 if test "${enable_mshtmlhelp+set}" = set; then
9672 enableval=$enable_mshtmlhelp;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9676 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9682 LINE=`grep "^wxUSE_MS_HTML_HELP
=" ${wx_arg_cache_file}`
9683 if test "x
$LINE" != x ; then
9684 eval "DEFAULT_
$LINE"
9690 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9695 eval "$wx_cv_use_mshtmlhelp"
9696 if test "x$cache" = xyes
; then
9697 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9700 if test x
"$enablestring" = xdisable
; then
9701 if test $wxUSE_MS_HTML_HELP = yes; then
9707 result
=$wxUSE_MS_HTML_HELP
9710 { echo "$as_me:$LINENO: result: $result" >&5
9711 echo "${ECHO_T}$result" >&6; }
9715 defaultval
=$wxUSE_ALL_FEATURES
9716 if test -z "$defaultval"; then
9717 if test x
"$enablestring" = xdisable
; then
9724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9726 # Check whether --enable-html was given.
9727 if test "${enable_html+set}" = set; then
9728 enableval
=$enable_html;
9729 if test "$enableval" = yes; then
9730 wx_cv_use_html
='wxUSE_HTML=yes'
9732 wx_cv_use_html
='wxUSE_HTML=no'
9738 LINE
=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x
; then
9740 eval "DEFAULT_$LINE"
9746 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9751 eval "$wx_cv_use_html"
9752 if test "x$cache" = xyes; then
9753 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_HTML = yes; then
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9782 # Check whether --enable-htmlhelp was given.
9783 if test "${enable_htmlhelp+set}" = set; then
9784 enableval=$enable_htmlhelp;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9788 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9794 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x ; then
9796 eval "DEFAULT_$LINE"
9802 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9807 eval "$wx_cv_use_htmlhelp"
9808 if test "x
$cache" = xyes; then
9809 echo "wxUSE_WXHTML_HELP
=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9812 if test x"$enablestring" = xdisable; then
9813 if test $wxUSE_WXHTML_HELP = yes; then
9819 result=$wxUSE_WXHTML_HELP
9822 { echo "$as_me:$LINENO: result
: $result" >&5
9823 echo "${ECHO_T}$result" >&6; }
9827 defaultval=$wxUSE_ALL_FEATURES
9828 if test -z "$defaultval"; then
9829 if test x"$enablestring" = xdisable; then
9836 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
9837 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
9838 # Check whether --enable-xrc was given.
9839 if test "${enable_xrc+set}" = set; then
9840 enableval=$enable_xrc;
9841 if test "$enableval" = yes; then
9842 wx_cv_use_xrc='wxUSE_XRC=yes'
9844 wx_cv_use_xrc='wxUSE_XRC=no'
9850 LINE=`grep "^wxUSE_XRC
=" ${wx_arg_cache_file}`
9851 if test "x
$LINE" != x ; then
9852 eval "DEFAULT_
$LINE"
9858 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9863 eval "$wx_cv_use_xrc"
9864 if test "x$cache" = xyes
; then
9865 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9868 if test x
"$enablestring" = xdisable
; then
9869 if test $wxUSE_XRC = yes; then
9878 { echo "$as_me:$LINENO: result: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9883 defaultval
=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x
"$enablestring" = xdisable
; then
9892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9894 # Check whether --enable-aui was given.
9895 if test "${enable_aui+set}" = set; then
9896 enableval
=$enable_aui;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_aui
='wxUSE_AUI=yes'
9900 wx_cv_use_aui
='wxUSE_AUI=no'
9906 LINE
=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x
; then
9908 eval "DEFAULT_$LINE"
9914 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9919 eval "$wx_cv_use_aui"
9920 if test "x$cache" = xyes; then
9921 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9924 if test x"$enablestring" = xdisable; then
9925 if test $wxUSE_AUI = yes; then
9934 { echo "$as_me:$LINENO: result: $result" >&5
9935 echo "${ECHO_T}$result" >&6; }
9939 defaultval=$wxUSE_ALL_FEATURES
9940 if test -z "$defaultval"; then
9941 if test x"$enablestring" = xdisable; then
9948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9950 # Check whether --enable-stc was given.
9951 if test "${enable_stc+set}" = set; then
9952 enableval=$enable_stc;
9953 if test "$enableval" = yes; then
9954 wx_cv_use_stc='wxUSE_STC
=yes'
9956 wx_cv_use_stc='wxUSE_STC
=no
'
9962 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x ; then
9964 eval "DEFAULT_$LINE"
9970 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
9975 eval "$wx_cv_use_stc"
9976 if test "x
$cache" = xyes; then
9977 echo "wxUSE_STC
=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_STC = yes; then
9990 { echo "$as_me:$LINENO: result
: $result" >&5
9991 echo "${ECHO_T}$result" >&6; }
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
10004 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
10005 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
10006 # Check whether --enable-constraints was given.
10007 if test "${enable_constraints+set}" = set; then
10008 enableval=$enable_constraints;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10012 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10018 LINE=`grep "^wxUSE_CONSTRAINTS
=" ${wx_arg_cache_file}`
10019 if test "x
$LINE" != x ; then
10020 eval "DEFAULT_
$LINE"
10026 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10031 eval "$wx_cv_use_constraints"
10032 if test "x$cache" = xyes
; then
10033 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10036 if test x
"$enablestring" = xdisable
; then
10037 if test $wxUSE_CONSTRAINTS = yes; then
10043 result
=$wxUSE_CONSTRAINTS
10046 { echo "$as_me:$LINENO: result: $result" >&5
10047 echo "${ECHO_T}$result" >&6; }
10051 defaultval
=$wxUSE_ALL_FEATURES
10052 if test -z "$defaultval"; then
10053 if test x
"$enablestring" = xdisable
; then
10060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10062 # Check whether --enable-printarch was given.
10063 if test "${enable_printarch+set}" = set; then
10064 enableval
=$enable_printarch;
10065 if test "$enableval" = yes; then
10066 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10068 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10074 LINE
=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10075 if test "x$LINE" != x
; then
10076 eval "DEFAULT_$LINE"
10082 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10087 eval "$wx_cv_use_printarch"
10088 if test "x$cache" = xyes; then
10089 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10099 result=$wxUSE_PRINTING_ARCHITECTURE
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10118 # Check whether --enable-mdi was given.
10119 if test "${enable_mdi+set}" = set; then
10120 enableval=$enable_mdi;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_mdi='wxUSE_MDI
=yes'
10124 wx_cv_use_mdi='wxUSE_MDI
=no
'
10130 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10131 if test "x$LINE" != x ; then
10132 eval "DEFAULT_$LINE"
10138 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10143 eval "$wx_cv_use_mdi"
10144 if test "x
$cache" = xyes; then
10145 echo "wxUSE_MDI
=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10148 if test x"$enablestring" = xdisable; then
10149 if test $wxUSE_MDI = yes; then
10158 { echo "$as_me:$LINENO: result
: $result" >&5
10159 echo "${ECHO_T}$result" >&6; }
10163 defaultval=$wxUSE_ALL_FEATURES
10164 if test -z "$defaultval"; then
10165 if test x"$enablestring" = xdisable; then
10172 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
10173 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
10174 # Check whether --enable-mdidoc was given.
10175 if test "${enable_mdidoc+set}" = set; then
10176 enableval=$enable_mdidoc;
10177 if test "$enableval" = yes; then
10178 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10180 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10186 LINE=`grep "^wxUSE_MDI_ARCHITECTURE
=" ${wx_arg_cache_file}`
10187 if test "x
$LINE" != x ; then
10188 eval "DEFAULT_
$LINE"
10194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10199 eval "$wx_cv_use_mdidoc"
10200 if test "x$cache" = xyes
; then
10201 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10204 if test x
"$enablestring" = xdisable
; then
10205 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10211 result
=$wxUSE_MDI_ARCHITECTURE
10214 { echo "$as_me:$LINENO: result: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10219 defaultval
=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x
"$enablestring" = xdisable
; then
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10230 # Check whether --enable-loggui was given.
10231 if test "${enable_loggui+set}" = set; then
10232 enableval
=$enable_loggui;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10236 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10242 LINE
=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10243 if test "x$LINE" != x
; then
10244 eval "DEFAULT_$LINE"
10250 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10255 eval "$wx_cv_use_loggui"
10256 if test "x$cache" = xyes; then
10257 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_LOGGUI = yes; then
10267 result=$wxUSE_LOGGUI
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10286 # Check whether --enable-logwin was given.
10287 if test "${enable_logwin+set}" = set; then
10288 enableval=$enable_logwin;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10292 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10298 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10299 if test "x$LINE" != x ; then
10300 eval "DEFAULT_$LINE"
10306 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10311 eval "$wx_cv_use_logwin"
10312 if test "x
$cache" = xyes; then
10313 echo "wxUSE_LOGWINDOW
=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10316 if test x"$enablestring" = xdisable; then
10317 if test $wxUSE_LOGWINDOW = yes; then
10323 result=$wxUSE_LOGWINDOW
10326 { echo "$as_me:$LINENO: result
: $result" >&5
10327 echo "${ECHO_T}$result" >&6; }
10331 defaultval=$wxUSE_ALL_FEATURES
10332 if test -z "$defaultval"; then
10333 if test x"$enablestring" = xdisable; then
10340 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
10341 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
10342 # Check whether --enable-logdialog was given.
10343 if test "${enable_logdialog+set}" = set; then
10344 enableval=$enable_logdialog;
10345 if test "$enableval" = yes; then
10346 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10348 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10354 LINE=`grep "^wxUSE_LOGDIALOG
=" ${wx_arg_cache_file}`
10355 if test "x
$LINE" != x ; then
10356 eval "DEFAULT_
$LINE"
10362 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10367 eval "$wx_cv_use_logdialog"
10368 if test "x$cache" = xyes
; then
10369 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10372 if test x
"$enablestring" = xdisable
; then
10373 if test $wxUSE_LOGDIALOG = yes; then
10379 result
=$wxUSE_LOGDIALOG
10382 { echo "$as_me:$LINENO: result: $result" >&5
10383 echo "${ECHO_T}$result" >&6; }
10387 defaultval
=$wxUSE_ALL_FEATURES
10388 if test -z "$defaultval"; then
10389 if test x
"$enablestring" = xdisable
; then
10396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10398 # Check whether --enable-webkit was given.
10399 if test "${enable_webkit+set}" = set; then
10400 enableval
=$enable_webkit;
10401 if test "$enableval" = yes; then
10402 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10404 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10410 LINE
=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x
; then
10412 eval "DEFAULT_$LINE"
10418 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10423 eval "$wx_cv_use_webkit"
10424 if test "x$cache" = xyes; then
10425 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10428 if test x"$enablestring" = xdisable; then
10429 if test $wxUSE_WEBKIT = yes; then
10435 result=$wxUSE_WEBKIT
10438 { echo "$as_me:$LINENO: result: $result" >&5
10439 echo "${ECHO_T}$result" >&6; }
10443 defaultval=$wxUSE_ALL_FEATURES
10444 if test -z "$defaultval"; then
10445 if test x"$enablestring" = xdisable; then
10452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10453 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10454 # Check whether --enable-richtext was given.
10455 if test "${enable_richtext+set}" = set; then
10456 enableval=$enable_richtext;
10457 if test "$enableval" = yes; then
10458 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10460 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10466 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10474 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10479 eval "$wx_cv_use_richtext"
10480 if test "x
$cache" = xyes; then
10481 echo "wxUSE_RICHTEXT
=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10484 if test x"$enablestring" = xdisable; then
10485 if test $wxUSE_RICHTEXT = yes; then
10491 result=$wxUSE_RICHTEXT
10494 { echo "$as_me:$LINENO: result
: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10499 defaultval=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x"$enablestring" = xdisable; then
10508 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10509 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
10510 # Check whether --enable-graphics_ctx was given.
10511 if test "${enable_graphics_ctx+set}" = set; then
10512 enableval=$enable_graphics_ctx;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10522 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT
=" ${wx_arg_cache_file}`
10523 if test "x
$LINE" != x ; then
10524 eval "DEFAULT_
$LINE"
10530 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10535 eval "$wx_cv_use_graphics_ctx"
10536 if test "x$cache" = xyes
; then
10537 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10540 if test x
"$enablestring" = xdisable
; then
10541 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10547 result
=$wxUSE_GRAPHICS_CONTEXT
10550 { echo "$as_me:$LINENO: result: $result" >&5
10551 echo "${ECHO_T}$result" >&6; }
10555 defaultval
=$wxUSE_ALL_FEATURES
10556 if test -z "$defaultval"; then
10557 if test x
"$enablestring" = xdisable
; then
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10566 # Check whether --enable-postscript was given.
10567 if test "${enable_postscript+set}" = set; then
10568 enableval
=$enable_postscript;
10569 if test "$enableval" = yes; then
10570 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10572 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10578 LINE
=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x
; then
10580 eval "DEFAULT_$LINE"
10586 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10591 eval "$wx_cv_use_postscript"
10592 if test "x$cache" = xyes; then
10593 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_POSTSCRIPT = yes; then
10603 result=$wxUSE_POSTSCRIPT
10606 { echo "$as_me:$LINENO: result: $result" >&5
10607 echo "${ECHO_T}$result" >&6; }
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10621 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10622 # Check whether --enable-svg was given.
10623 if test "${enable_svg+set}" = set; then
10624 enableval=$enable_svg;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_svg='wxUSE_SVG
=yes'
10628 wx_cv_use_svg='wxUSE_SVG
=no
'
10634 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10635 if test "x$LINE" != x ; then
10636 eval "DEFAULT_$LINE"
10642 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10647 eval "$wx_cv_use_svg"
10648 if test "x
$cache" = xyes; then
10649 echo "wxUSE_SVG
=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10652 if test x"$enablestring" = xdisable; then
10653 if test $wxUSE_SVG = yes; then
10662 { echo "$as_me:$LINENO: result
: $result" >&5
10663 echo "${ECHO_T}$result" >&6; }
10669 defaultval=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x"$enablestring" = xdisable; then
10678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
10679 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
10680 # Check whether --enable-clipboard was given.
10681 if test "${enable_clipboard+set}" = set; then
10682 enableval=$enable_clipboard;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10692 LINE=`grep "^wxUSE_CLIPBOARD
=" ${wx_arg_cache_file}`
10693 if test "x
$LINE" != x ; then
10694 eval "DEFAULT_
$LINE"
10700 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10705 eval "$wx_cv_use_clipboard"
10706 if test "x$cache" = xyes
; then
10707 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10710 if test x
"$enablestring" = xdisable
; then
10711 if test $wxUSE_CLIPBOARD = yes; then
10717 result
=$wxUSE_CLIPBOARD
10720 { echo "$as_me:$LINENO: result: $result" >&5
10721 echo "${ECHO_T}$result" >&6; }
10725 defaultval
=$wxUSE_ALL_FEATURES
10726 if test -z "$defaultval"; then
10727 if test x
"$enablestring" = xdisable
; then
10734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10735 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10736 # Check whether --enable-dnd was given.
10737 if test "${enable_dnd+set}" = set; then
10738 enableval
=$enable_dnd;
10739 if test "$enableval" = yes; then
10740 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10742 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10748 LINE
=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10749 if test "x$LINE" != x
; then
10750 eval "DEFAULT_$LINE"
10756 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10761 eval "$wx_cv_use_dnd"
10762 if test "x$cache" = xyes; then
10763 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10766 if test x"$enablestring" = xdisable; then
10767 if test $wxUSE_DRAG_AND_DROP = yes; then
10773 result=$wxUSE_DRAG_AND_DROP
10776 { echo "$as_me:$LINENO: result: $result" >&5
10777 echo "${ECHO_T}$result" >&6; }
10781 defaultval=$wxUSE_ALL_FEATURES
10782 if test -z "$defaultval"; then
10783 if test x"$enablestring" = xdisable; then
10790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10791 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10792 # Check whether --enable-metafile was given.
10793 if test "${enable_metafile+set}" = set; then
10794 enableval=$enable_metafile;
10795 if test "$enableval" = yes; then
10796 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
10798 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
10804 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10805 if test "x$LINE" != x ; then
10806 eval "DEFAULT_$LINE"
10812 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10817 eval "$wx_cv_use_metafile"
10818 if test "x
$cache" = xyes; then
10819 echo "wxUSE_METAFILE
=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10822 if test x"$enablestring" = xdisable; then
10823 if test $wxUSE_METAFILE = yes; then
10829 result=$wxUSE_METAFILE
10832 { echo "$as_me:$LINENO: result
: $result" >&5
10833 echo "${ECHO_T}$result" >&6; }
10837 DEFAULT_wxUSE_CONTROLS=none
10839 enablestring=disable
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10849 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
10850 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
10851 # Check whether --enable-controls was given.
10852 if test "${enable_controls+set}" = set; then
10853 enableval=$enable_controls;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10857 wx_cv_use_controls='wxUSE_CONTROLS=no'
10863 LINE=`grep "^wxUSE_CONTROLS
=" ${wx_arg_cache_file}`
10864 if test "x
$LINE" != x ; then
10865 eval "DEFAULT_
$LINE"
10871 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10876 eval "$wx_cv_use_controls"
10877 if test "x$cache" = xyes
; then
10878 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10881 if test x
"$enablestring" = xdisable
; then
10882 if test $wxUSE_CONTROLS = yes; then
10888 result
=$wxUSE_CONTROLS
10891 { echo "$as_me:$LINENO: result: $result" >&5
10892 echo "${ECHO_T}$result" >&6; }
10895 if test "$wxUSE_CONTROLS" = "yes"; then
10896 DEFAULT_wxUSE_ACCEL
=yes
10897 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
10898 DEFAULT_wxUSE_BMPBUTTON
=yes
10899 DEFAULT_wxUSE_BUTTON
=yes
10900 DEFAULT_wxUSE_CALCTRL
=yes
10901 DEFAULT_wxUSE_CARET
=yes
10902 DEFAULT_wxUSE_COMBOBOX
=yes
10903 DEFAULT_wxUSE_CHECKBOX
=yes
10904 DEFAULT_wxUSE_CHECKLISTBOX
=yes
10905 DEFAULT_wxUSE_CHOICE
=yes
10906 DEFAULT_wxUSE_CHOICEBOOK
=yes
10907 DEFAULT_wxUSE_COLLPANE
=yes
10908 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
10909 DEFAULT_wxUSE_COMBOBOX
=yes
10910 DEFAULT_wxUSE_DATEPICKCTRL
=yes
10911 DEFAULT_wxUSE_DISPLAY
=yes
10912 DEFAULT_wxUSE_DETECT_SM
=yes
10913 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
10914 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
10915 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
10916 DEFAULT_wxUSE_GAUGE
=yes
10917 DEFAULT_wxUSE_GRID
=yes
10918 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
10919 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10920 DEFAULT_wxUSE_IMAGLIST
=yes
10921 DEFAULT_wxUSE_LISTBOOK
=yes
10922 DEFAULT_wxUSE_LISTBOX
=yes
10923 DEFAULT_wxUSE_LISTCTRL
=yes
10924 DEFAULT_wxUSE_NOTEBOOK
=yes
10925 DEFAULT_wxUSE_RADIOBOX
=yes
10926 DEFAULT_wxUSE_RADIOBTN
=yes
10927 DEFAULT_wxUSE_SASH
=yes
10928 DEFAULT_wxUSE_SCROLLBAR
=yes
10929 DEFAULT_wxUSE_SEARCHCTRL
=yes
10930 DEFAULT_wxUSE_SLIDER
=yes
10931 DEFAULT_wxUSE_SPINBTN
=yes
10932 DEFAULT_wxUSE_SPINCTRL
=yes
10933 DEFAULT_wxUSE_SPLITTER
=yes
10934 DEFAULT_wxUSE_STATBMP
=yes
10935 DEFAULT_wxUSE_STATBOX
=yes
10936 DEFAULT_wxUSE_STATLINE
=yes
10937 DEFAULT_wxUSE_STATUSBAR
=yes
10938 DEFAULT_wxUSE_TAB_DIALOG
=yes
10939 DEFAULT_wxUSE_TOGGLEBTN
=yes
10940 DEFAULT_wxUSE_TOOLBAR
=yes
10941 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
10942 DEFAULT_wxUSE_TOOLTIPS
=yes
10943 DEFAULT_wxUSE_TREEBOOK
=yes
10944 DEFAULT_wxUSE_TOOLBOOK
=yes
10945 DEFAULT_wxUSE_TREECTRL
=yes
10946 DEFAULT_wxUSE_POPUPWIN
=yes
10947 DEFAULT_wxUSE_TIPWINDOW
=yes
10948 elif test "$wxUSE_CONTROLS" = "no"; then
10949 DEFAULT_wxUSE_ACCEL
=no
10950 DEFAULT_wxUSE_ANIMATIONCTRL
=no
10951 DEFAULT_wxUSE_BMPBUTTON
=no
10952 DEFAULT_wxUSE_BUTTON
=no
10953 DEFAULT_wxUSE_CALCTRL
=no
10954 DEFAULT_wxUSE_CARET
=no
10955 DEFAULT_wxUSE_COLLPANE
=no
10956 DEFAULT_wxUSE_COMBOBOX
=no
10957 DEFAULT_wxUSE_CHECKBOX
=no
10958 DEFAULT_wxUSE_CHECKLISTBOX
=no
10959 DEFAULT_wxUSE_CHOICE
=no
10960 DEFAULT_wxUSE_CHOICEBOOK
=no
10961 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
10962 DEFAULT_wxUSE_COMBOBOX
=no
10963 DEFAULT_wxUSE_DATEPICKCTRL
=no
10964 DEFAULT_wxUSE_DISPLAY
=no
10965 DEFAULT_wxUSE_DETECT_SM
=no
10966 DEFAULT_wxUSE_DIRPICKERCTRL
=no
10967 DEFAULT_wxUSE_FILEPICKERCTRL
=no
10968 DEFAULT_wxUSE_FONTPICKERCTRL
=no
10969 DEFAULT_wxUSE_GAUGE
=no
10970 DEFAULT_wxUSE_GRID
=no
10971 DEFAULT_wxUSE_HYPERLINKCTRL
=no
10972 DEFAULT_wxUSE_DATAVIEWCTRL
=no
10973 DEFAULT_wxUSE_IMAGLIST
=no
10974 DEFAULT_wxUSE_LISTBOOK
=no
10975 DEFAULT_wxUSE_LISTBOX
=no
10976 DEFAULT_wxUSE_LISTCTRL
=no
10977 DEFAULT_wxUSE_NOTEBOOK
=no
10978 DEFAULT_wxUSE_RADIOBOX
=no
10979 DEFAULT_wxUSE_RADIOBTN
=no
10980 DEFAULT_wxUSE_SASH
=no
10981 DEFAULT_wxUSE_SCROLLBAR
=no
10982 DEFAULT_wxUSE_SEARCHCTRL
=no
10983 DEFAULT_wxUSE_SLIDER
=no
10984 DEFAULT_wxUSE_SPINBTN
=no
10985 DEFAULT_wxUSE_SPINCTRL
=no
10986 DEFAULT_wxUSE_SPLITTER
=no
10987 DEFAULT_wxUSE_STATBMP
=no
10988 DEFAULT_wxUSE_STATBOX
=no
10989 DEFAULT_wxUSE_STATLINE
=no
10990 DEFAULT_wxUSE_STATUSBAR
=no
10991 DEFAULT_wxUSE_TAB_DIALOG
=no
10992 DEFAULT_wxUSE_TOGGLEBTN
=no
10993 DEFAULT_wxUSE_TOOLBAR
=no
10994 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
10995 DEFAULT_wxUSE_TOOLTIPS
=no
10996 DEFAULT_wxUSE_TREEBOOK
=no
10997 DEFAULT_wxUSE_TOOLBOOK
=no
10998 DEFAULT_wxUSE_TREECTRL
=no
10999 DEFAULT_wxUSE_POPUPWIN
=no
11000 DEFAULT_wxUSE_TIPWINDOW
=no
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}-accel" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11016 # Check whether --enable-accel was given.
11017 if test "${enable_accel+set}" = set; then
11018 enableval
=$enable_accel;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11022 wx_cv_use_accel
='wxUSE_ACCEL=no'
11028 LINE
=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11029 if test "x$LINE" != x
; then
11030 eval "DEFAULT_$LINE"
11036 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11041 eval "$wx_cv_use_accel"
11042 if test "x$cache" = xyes; then
11043 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_ACCEL = yes; then
11053 result=$wxUSE_ACCEL
11056 { echo "$as_me:$LINENO: result: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11071 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11072 # Check whether --enable-animatectrl was given.
11073 if test "${enable_animatectrl+set}" = set; then
11074 enableval=$enable_animatectrl;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11084 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11085 if test "x$LINE" != x ; then
11086 eval "DEFAULT_$LINE"
11092 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11097 eval "$wx_cv_use_animatectrl"
11098 if test "x
$cache" = xyes; then
11099 echo "wxUSE_ANIMATIONCTRL
=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_ANIMATIONCTRL = yes; then
11109 result=$wxUSE_ANIMATIONCTRL
11112 { echo "$as_me:$LINENO: result
: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11126 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
11127 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
11128 # Check whether --enable-button was given.
11129 if test "${enable_button+set}" = set; then
11130 enableval=$enable_button;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_button='wxUSE_BUTTON=yes'
11134 wx_cv_use_button='wxUSE_BUTTON=no'
11140 LINE=`grep "^wxUSE_BUTTON
=" ${wx_arg_cache_file}`
11141 if test "x
$LINE" != x ; then
11142 eval "DEFAULT_
$LINE"
11148 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11153 eval "$wx_cv_use_button"
11154 if test "x$cache" = xyes
; then
11155 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11158 if test x
"$enablestring" = xdisable
; then
11159 if test $wxUSE_BUTTON = yes; then
11165 result
=$wxUSE_BUTTON
11168 { echo "$as_me:$LINENO: result: $result" >&5
11169 echo "${ECHO_T}$result" >&6; }
11173 defaultval
=$wxUSE_ALL_FEATURES
11174 if test -z "$defaultval"; then
11175 if test x
"$enablestring" = xdisable
; then
11182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11184 # Check whether --enable-bmpbutton was given.
11185 if test "${enable_bmpbutton+set}" = set; then
11186 enableval
=$enable_bmpbutton;
11187 if test "$enableval" = yes; then
11188 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11190 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11196 LINE
=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11197 if test "x$LINE" != x
; then
11198 eval "DEFAULT_$LINE"
11204 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11209 eval "$wx_cv_use_bmpbutton"
11210 if test "x$cache" = xyes; then
11211 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11214 if test x"$enablestring" = xdisable; then
11215 if test $wxUSE_BMPBUTTON = yes; then
11221 result=$wxUSE_BMPBUTTON
11224 { echo "$as_me:$LINENO: result: $result" >&5
11225 echo "${ECHO_T}$result" >&6; }
11229 defaultval=$wxUSE_ALL_FEATURES
11230 if test -z "$defaultval"; then
11231 if test x"$enablestring" = xdisable; then
11238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11239 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11240 # Check whether --enable-bmpcombobox was given.
11241 if test "${enable_bmpcombobox+set}" = set; then
11242 enableval=$enable_bmpcombobox;
11243 if test "$enableval" = yes; then
11244 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11246 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11252 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11253 if test "x$LINE" != x ; then
11254 eval "DEFAULT_$LINE"
11260 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11265 eval "$wx_cv_use_bmpcombobox"
11266 if test "x
$cache" = xyes; then
11267 echo "wxUSE_BITMAPCOMBOBOX
=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11270 if test x"$enablestring" = xdisable; then
11271 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11277 result=$wxUSE_BITMAPCOMBOBOX
11280 { echo "$as_me:$LINENO: result
: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11285 defaultval=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x"$enablestring" = xdisable; then
11294 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
11295 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
11296 # Check whether --enable-calendar was given.
11297 if test "${enable_calendar+set}" = set; then
11298 enableval=$enable_calendar;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11302 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11308 LINE=`grep "^wxUSE_CALCTRL
=" ${wx_arg_cache_file}`
11309 if test "x
$LINE" != x ; then
11310 eval "DEFAULT_
$LINE"
11316 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11321 eval "$wx_cv_use_calendar"
11322 if test "x$cache" = xyes
; then
11323 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11326 if test x
"$enablestring" = xdisable
; then
11327 if test $wxUSE_CALCTRL = yes; then
11333 result
=$wxUSE_CALCTRL
11336 { echo "$as_me:$LINENO: result: $result" >&5
11337 echo "${ECHO_T}$result" >&6; }
11341 defaultval
=$wxUSE_ALL_FEATURES
11342 if test -z "$defaultval"; then
11343 if test x
"$enablestring" = xdisable
; then
11350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11351 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11352 # Check whether --enable-caret was given.
11353 if test "${enable_caret+set}" = set; then
11354 enableval
=$enable_caret;
11355 if test "$enableval" = yes; then
11356 wx_cv_use_caret
='wxUSE_CARET=yes'
11358 wx_cv_use_caret
='wxUSE_CARET=no'
11364 LINE
=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11365 if test "x$LINE" != x
; then
11366 eval "DEFAULT_$LINE"
11372 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11377 eval "$wx_cv_use_caret"
11378 if test "x$cache" = xyes; then
11379 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11382 if test x"$enablestring" = xdisable; then
11383 if test $wxUSE_CARET = yes; then
11389 result=$wxUSE_CARET
11392 { echo "$as_me:$LINENO: result: $result" >&5
11393 echo "${ECHO_T}$result" >&6; }
11397 defaultval=$wxUSE_ALL_FEATURES
11398 if test -z "$defaultval"; then
11399 if test x"$enablestring" = xdisable; then
11406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11408 # Check whether --enable-checkbox was given.
11409 if test "${enable_checkbox+set}" = set; then
11410 enableval=$enable_checkbox;
11411 if test "$enableval" = yes; then
11412 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11414 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11420 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11428 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11433 eval "$wx_cv_use_checkbox"
11434 if test "x
$cache" = xyes; then
11435 echo "wxUSE_CHECKBOX
=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11438 if test x"$enablestring" = xdisable; then
11439 if test $wxUSE_CHECKBOX = yes; then
11445 result=$wxUSE_CHECKBOX
11448 { echo "$as_me:$LINENO: result
: $result" >&5
11449 echo "${ECHO_T}$result" >&6; }
11453 defaultval=$wxUSE_ALL_FEATURES
11454 if test -z "$defaultval"; then
11455 if test x"$enablestring" = xdisable; then
11462 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
11463 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
11464 # Check whether --enable-checklst was given.
11465 if test "${enable_checklst+set}" = set; then
11466 enableval=$enable_checklst;
11467 if test "$enableval" = yes; then
11468 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11470 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11476 LINE=`grep "^wxUSE_CHECKLST
=" ${wx_arg_cache_file}`
11477 if test "x
$LINE" != x ; then
11478 eval "DEFAULT_
$LINE"
11484 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11489 eval "$wx_cv_use_checklst"
11490 if test "x$cache" = xyes
; then
11491 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11494 if test x
"$enablestring" = xdisable
; then
11495 if test $wxUSE_CHECKLST = yes; then
11501 result
=$wxUSE_CHECKLST
11504 { echo "$as_me:$LINENO: result: $result" >&5
11505 echo "${ECHO_T}$result" >&6; }
11509 defaultval
=$wxUSE_ALL_FEATURES
11510 if test -z "$defaultval"; then
11511 if test x
"$enablestring" = xdisable
; then
11518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11519 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11520 # Check whether --enable-choice was given.
11521 if test "${enable_choice+set}" = set; then
11522 enableval
=$enable_choice;
11523 if test "$enableval" = yes; then
11524 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11526 wx_cv_use_choice
='wxUSE_CHOICE=no'
11532 LINE
=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x
; then
11534 eval "DEFAULT_$LINE"
11540 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11545 eval "$wx_cv_use_choice"
11546 if test "x$cache" = xyes; then
11547 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11550 if test x"$enablestring" = xdisable; then
11551 if test $wxUSE_CHOICE = yes; then
11557 result=$wxUSE_CHOICE
11560 { echo "$as_me:$LINENO: result: $result" >&5
11561 echo "${ECHO_T}$result" >&6; }
11565 defaultval=$wxUSE_ALL_FEATURES
11566 if test -z "$defaultval"; then
11567 if test x"$enablestring" = xdisable; then
11574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11576 # Check whether --enable-choicebook was given.
11577 if test "${enable_choicebook+set}" = set; then
11578 enableval=$enable_choicebook;
11579 if test "$enableval" = yes; then
11580 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11582 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11588 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11596 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11601 eval "$wx_cv_use_choicebook"
11602 if test "x
$cache" = xyes; then
11603 echo "wxUSE_CHOICEBOOK
=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_CHOICEBOOK = yes; then
11613 result=$wxUSE_CHOICEBOOK
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}-collpane" >&5
11631 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
11632 # Check whether --enable-collpane was given.
11633 if test "${enable_collpane+set}" = set; then
11634 enableval=$enable_collpane;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11638 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11644 LINE=`grep "^wxUSE_COLLPANE
=" ${wx_arg_cache_file}`
11645 if test "x
$LINE" != x ; then
11646 eval "DEFAULT_
$LINE"
11652 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11657 eval "$wx_cv_use_collpane"
11658 if test "x$cache" = xyes
; then
11659 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11662 if test x
"$enablestring" = xdisable
; then
11663 if test $wxUSE_COLLPANE = yes; then
11669 result
=$wxUSE_COLLPANE
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11677 defaultval
=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x
"$enablestring" = xdisable
; then
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11688 # Check whether --enable-colourpicker was given.
11689 if test "${enable_colourpicker+set}" = set; then
11690 enableval
=$enable_colourpicker;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11694 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11700 LINE
=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x
; then
11702 eval "DEFAULT_$LINE"
11708 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11713 eval "$wx_cv_use_colourpicker"
11714 if test "x$cache" = xyes; then
11715 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_COLOURPICKERCTRL = yes; then
11725 result=$wxUSE_COLOURPICKERCTRL
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11744 # Check whether --enable-combobox was given.
11745 if test "${enable_combobox+set}" = set; then
11746 enableval=$enable_combobox;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11750 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11756 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11764 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11769 eval "$wx_cv_use_combobox"
11770 if test "x
$cache" = xyes; then
11771 echo "wxUSE_COMBOBOX
=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11774 if test x"$enablestring" = xdisable; then
11775 if test $wxUSE_COMBOBOX = yes; then
11781 result=$wxUSE_COMBOBOX
11784 { echo "$as_me:$LINENO: result
: $result" >&5
11785 echo "${ECHO_T}$result" >&6; }
11789 defaultval=$wxUSE_ALL_FEATURES
11790 if test -z "$defaultval"; then
11791 if test x"$enablestring" = xdisable; then
11798 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
11799 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
11800 # Check whether --enable-comboctrl was given.
11801 if test "${enable_comboctrl+set}" = set; then
11802 enableval=$enable_comboctrl;
11803 if test "$enableval" = yes; then
11804 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11806 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11812 LINE=`grep "^wxUSE_COMBOCTRL
=" ${wx_arg_cache_file}`
11813 if test "x
$LINE" != x ; then
11814 eval "DEFAULT_
$LINE"
11820 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11825 eval "$wx_cv_use_comboctrl"
11826 if test "x$cache" = xyes
; then
11827 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11830 if test x
"$enablestring" = xdisable
; then
11831 if test $wxUSE_COMBOCTRL = yes; then
11837 result
=$wxUSE_COMBOCTRL
11840 { echo "$as_me:$LINENO: result: $result" >&5
11841 echo "${ECHO_T}$result" >&6; }
11845 defaultval
=$wxUSE_ALL_FEATURES
11846 if test -z "$defaultval"; then
11847 if test x
"$enablestring" = xdisable
; then
11854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11855 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11856 # Check whether --enable-datepick was given.
11857 if test "${enable_datepick+set}" = set; then
11858 enableval
=$enable_datepick;
11859 if test "$enableval" = yes; then
11860 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
11862 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
11868 LINE
=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11869 if test "x$LINE" != x
; then
11870 eval "DEFAULT_$LINE"
11876 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11881 eval "$wx_cv_use_datepick"
11882 if test "x$cache" = xyes; then
11883 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_DATEPICKCTRL = yes; then
11893 result=$wxUSE_DATEPICKCTRL
11896 { echo "$as_me:$LINENO: result: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11911 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11912 # Check whether --enable-dirpicker was given.
11913 if test "${enable_dirpicker+set}" = set; then
11914 enableval=$enable_dirpicker;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
11918 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
11924 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11925 if test "x$LINE" != x ; then
11926 eval "DEFAULT_$LINE"
11932 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11937 eval "$wx_cv_use_dirpicker"
11938 if test "x
$cache" = xyes; then
11939 echo "wxUSE_DIRPICKERCTRL
=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11942 if test x"$enablestring" = xdisable; then
11943 if test $wxUSE_DIRPICKERCTRL = yes; then
11949 result=$wxUSE_DIRPICKERCTRL
11952 { echo "$as_me:$LINENO: result
: $result" >&5
11953 echo "${ECHO_T}$result" >&6; }
11957 defaultval=$wxUSE_ALL_FEATURES
11958 if test -z "$defaultval"; then
11959 if test x"$enablestring" = xdisable; then
11966 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
11967 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
11968 # Check whether --enable-display was given.
11969 if test "${enable_display+set}" = set; then
11970 enableval=$enable_display;
11971 if test "$enableval" = yes; then
11972 wx_cv_use_display='wxUSE_DISPLAY=yes'
11974 wx_cv_use_display='wxUSE_DISPLAY=no'
11980 LINE=`grep "^wxUSE_DISPLAY
=" ${wx_arg_cache_file}`
11981 if test "x
$LINE" != x ; then
11982 eval "DEFAULT_
$LINE"
11988 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11993 eval "$wx_cv_use_display"
11994 if test "x$cache" = xyes
; then
11995 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11998 if test x
"$enablestring" = xdisable
; then
11999 if test $wxUSE_DISPLAY = yes; then
12005 result
=$wxUSE_DISPLAY
12008 { echo "$as_me:$LINENO: result: $result" >&5
12009 echo "${ECHO_T}$result" >&6; }
12013 defaultval
=$wxUSE_ALL_FEATURES
12014 if test -z "$defaultval"; then
12015 if test x
"$enablestring" = xdisable
; then
12022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12023 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12024 # Check whether --enable-detect_sm was given.
12025 if test "${enable_detect_sm+set}" = set; then
12026 enableval
=$enable_detect_sm;
12027 if test "$enableval" = yes; then
12028 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12030 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12036 LINE
=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12037 if test "x$LINE" != x
; then
12038 eval "DEFAULT_$LINE"
12044 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12049 eval "$wx_cv_use_detect_sm"
12050 if test "x$cache" = xyes; then
12051 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12054 if test x"$enablestring" = xdisable; then
12055 if test $wxUSE_DETECT_SM = yes; then
12061 result=$wxUSE_DETECT_SM
12064 { echo "$as_me:$LINENO: result: $result" >&5
12065 echo "${ECHO_T}$result" >&6; }
12069 defaultval=$wxUSE_ALL_FEATURES
12070 if test -z "$defaultval"; then
12071 if test x"$enablestring" = xdisable; then
12078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12079 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12080 # Check whether --enable-editablebox was given.
12081 if test "${enable_editablebox+set}" = set; then
12082 enableval=$enable_editablebox;
12083 if test "$enableval" = yes; then
12084 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12086 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12092 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12093 if test "x$LINE" != x ; then
12094 eval "DEFAULT_$LINE"
12100 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12105 eval "$wx_cv_use_editablebox"
12106 if test "x
$cache" = xyes; then
12107 echo "wxUSE_EDITABLELISTBOX
=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12110 if test x"$enablestring" = xdisable; then
12111 if test $wxUSE_EDITABLELISTBOX = yes; then
12117 result=$wxUSE_EDITABLELISTBOX
12120 { echo "$as_me:$LINENO: result
: $result" >&5
12121 echo "${ECHO_T}$result" >&6; }
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
12135 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
12136 # Check whether --enable-filepicker was given.
12137 if test "${enable_filepicker+set}" = set; then
12138 enableval=$enable_filepicker;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12142 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12148 LINE=`grep "^wxUSE_FILEPICKERCTRL
=" ${wx_arg_cache_file}`
12149 if test "x
$LINE" != x ; then
12150 eval "DEFAULT_
$LINE"
12156 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12161 eval "$wx_cv_use_filepicker"
12162 if test "x$cache" = xyes
; then
12163 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12166 if test x
"$enablestring" = xdisable
; then
12167 if test $wxUSE_FILEPICKERCTRL = yes; then
12173 result
=$wxUSE_FILEPICKERCTRL
12176 { echo "$as_me:$LINENO: result: $result" >&5
12177 echo "${ECHO_T}$result" >&6; }
12181 defaultval
=$wxUSE_ALL_FEATURES
12182 if test -z "$defaultval"; then
12183 if test x
"$enablestring" = xdisable
; then
12190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12191 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12192 # Check whether --enable-fontpicker was given.
12193 if test "${enable_fontpicker+set}" = set; then
12194 enableval
=$enable_fontpicker;
12195 if test "$enableval" = yes; then
12196 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12198 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12204 LINE
=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12205 if test "x$LINE" != x
; then
12206 eval "DEFAULT_$LINE"
12212 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12217 eval "$wx_cv_use_fontpicker"
12218 if test "x$cache" = xyes; then
12219 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12222 if test x"$enablestring" = xdisable; then
12223 if test $wxUSE_FONTPICKERCTRL = yes; then
12229 result=$wxUSE_FONTPICKERCTRL
12232 { echo "$as_me:$LINENO: result: $result" >&5
12233 echo "${ECHO_T}$result" >&6; }
12237 defaultval=$wxUSE_ALL_FEATURES
12238 if test -z "$defaultval"; then
12239 if test x"$enablestring" = xdisable; then
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12248 # Check whether --enable-gauge was given.
12249 if test "${enable_gauge+set}" = set; then
12250 enableval=$enable_gauge;
12251 if test "$enableval" = yes; then
12252 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12254 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12260 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12261 if test "x$LINE" != x ; then
12262 eval "DEFAULT_$LINE"
12268 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12273 eval "$wx_cv_use_gauge"
12274 if test "x
$cache" = xyes; then
12275 echo "wxUSE_GAUGE
=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_GAUGE = yes; then
12285 result=$wxUSE_GAUGE
12288 { echo "$as_me:$LINENO: result
: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12302 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
12303 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
12304 # Check whether --enable-grid was given.
12305 if test "${enable_grid+set}" = set; then
12306 enableval=$enable_grid;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_grid='wxUSE_GRID=yes'
12310 wx_cv_use_grid='wxUSE_GRID=no'
12316 LINE=`grep "^wxUSE_GRID
=" ${wx_arg_cache_file}`
12317 if test "x
$LINE" != x ; then
12318 eval "DEFAULT_
$LINE"
12324 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12329 eval "$wx_cv_use_grid"
12330 if test "x$cache" = xyes
; then
12331 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12334 if test x
"$enablestring" = xdisable
; then
12335 if test $wxUSE_GRID = yes; then
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12349 defaultval
=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x
"$enablestring" = xdisable
; then
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12360 # Check whether --enable-dataviewctrl was given.
12361 if test "${enable_dataviewctrl+set}" = set; then
12362 enableval
=$enable_dataviewctrl;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
12366 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
12372 LINE
=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12373 if test "x$LINE" != x
; then
12374 eval "DEFAULT_$LINE"
12380 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12385 eval "$wx_cv_use_dataviewctrl"
12386 if test "x$cache" = xyes; then
12387 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12390 if test x"$enablestring" = xdisable; then
12391 if test $wxUSE_DATAVIEWCTRL = yes; then
12397 result=$wxUSE_DATAVIEWCTRL
12400 { echo "$as_me:$LINENO: result: $result" >&5
12401 echo "${ECHO_T}$result" >&6; }
12405 defaultval=$wxUSE_ALL_FEATURES
12406 if test -z "$defaultval"; then
12407 if test x"$enablestring" = xdisable; then
12414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12415 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12416 # Check whether --enable-hyperlink was given.
12417 if test "${enable_hyperlink+set}" = set; then
12418 enableval=$enable_hyperlink;
12419 if test "$enableval" = yes; then
12420 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12422 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12428 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12429 if test "x$LINE" != x ; then
12430 eval "DEFAULT_$LINE"
12436 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12441 eval "$wx_cv_use_hyperlink"
12442 if test "x
$cache" = xyes; then
12443 echo "wxUSE_HYPERLINKCTRL
=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12446 if test x"$enablestring" = xdisable; then
12447 if test $wxUSE_HYPERLINKCTRL = yes; then
12453 result=$wxUSE_HYPERLINKCTRL
12456 { echo "$as_me:$LINENO: result
: $result" >&5
12457 echo "${ECHO_T}$result" >&6; }
12461 defaultval=$wxUSE_ALL_FEATURES
12462 if test -z "$defaultval"; then
12463 if test x"$enablestring" = xdisable; then
12470 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
12471 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
12472 # Check whether --enable-imaglist was given.
12473 if test "${enable_imaglist+set}" = set; then
12474 enableval=$enable_imaglist;
12475 if test "$enableval" = yes; then
12476 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12478 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12484 LINE=`grep "^wxUSE_IMAGLIST
=" ${wx_arg_cache_file}`
12485 if test "x
$LINE" != x ; then
12486 eval "DEFAULT_
$LINE"
12492 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12497 eval "$wx_cv_use_imaglist"
12498 if test "x$cache" = xyes
; then
12499 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12502 if test x
"$enablestring" = xdisable
; then
12503 if test $wxUSE_IMAGLIST = yes; then
12509 result
=$wxUSE_IMAGLIST
12512 { echo "$as_me:$LINENO: result: $result" >&5
12513 echo "${ECHO_T}$result" >&6; }
12517 defaultval
=$wxUSE_ALL_FEATURES
12518 if test -z "$defaultval"; then
12519 if test x
"$enablestring" = xdisable
; then
12526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12527 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12528 # Check whether --enable-listbook was given.
12529 if test "${enable_listbook+set}" = set; then
12530 enableval
=$enable_listbook;
12531 if test "$enableval" = yes; then
12532 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
12534 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
12540 LINE
=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12541 if test "x$LINE" != x
; then
12542 eval "DEFAULT_$LINE"
12548 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12553 eval "$wx_cv_use_listbook"
12554 if test "x$cache" = xyes; then
12555 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12558 if test x"$enablestring" = xdisable; then
12559 if test $wxUSE_LISTBOOK = yes; then
12565 result=$wxUSE_LISTBOOK
12568 { echo "$as_me:$LINENO: result: $result" >&5
12569 echo "${ECHO_T}$result" >&6; }
12573 defaultval=$wxUSE_ALL_FEATURES
12574 if test -z "$defaultval"; then
12575 if test x"$enablestring" = xdisable; then
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12584 # Check whether --enable-listbox was given.
12585 if test "${enable_listbox+set}" = set; then
12586 enableval=$enable_listbox;
12587 if test "$enableval" = yes; then
12588 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
12590 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
12596 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12597 if test "x$LINE" != x ; then
12598 eval "DEFAULT_$LINE"
12604 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12609 eval "$wx_cv_use_listbox"
12610 if test "x
$cache" = xyes; then
12611 echo "wxUSE_LISTBOX
=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12614 if test x"$enablestring" = xdisable; then
12615 if test $wxUSE_LISTBOX = yes; then
12621 result=$wxUSE_LISTBOX
12624 { echo "$as_me:$LINENO: result
: $result" >&5
12625 echo "${ECHO_T}$result" >&6; }
12629 defaultval=$wxUSE_ALL_FEATURES
12630 if test -z "$defaultval"; then
12631 if test x"$enablestring" = xdisable; then
12638 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
12639 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
12640 # Check whether --enable-listctrl was given.
12641 if test "${enable_listctrl+set}" = set; then
12642 enableval=$enable_listctrl;
12643 if test "$enableval" = yes; then
12644 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12646 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12652 LINE=`grep "^wxUSE_LISTCTRL
=" ${wx_arg_cache_file}`
12653 if test "x
$LINE" != x ; then
12654 eval "DEFAULT_
$LINE"
12660 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12665 eval "$wx_cv_use_listctrl"
12666 if test "x$cache" = xyes
; then
12667 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12670 if test x
"$enablestring" = xdisable
; then
12671 if test $wxUSE_LISTCTRL = yes; then
12677 result
=$wxUSE_LISTCTRL
12680 { echo "$as_me:$LINENO: result: $result" >&5
12681 echo "${ECHO_T}$result" >&6; }
12685 defaultval
=$wxUSE_ALL_FEATURES
12686 if test -z "$defaultval"; then
12687 if test x
"$enablestring" = xdisable
; then
12694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12695 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12696 # Check whether --enable-notebook was given.
12697 if test "${enable_notebook+set}" = set; then
12698 enableval
=$enable_notebook;
12699 if test "$enableval" = yes; then
12700 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
12702 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
12708 LINE
=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12709 if test "x$LINE" != x
; then
12710 eval "DEFAULT_$LINE"
12716 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12721 eval "$wx_cv_use_notebook"
12722 if test "x$cache" = xyes; then
12723 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_NOTEBOOK = yes; then
12733 result=$wxUSE_NOTEBOOK
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12752 # Check whether --enable-odcombobox was given.
12753 if test "${enable_odcombobox+set}" = set; then
12754 enableval=$enable_odcombobox;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
12758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
12764 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12765 if test "x$LINE" != x ; then
12766 eval "DEFAULT_$LINE"
12772 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12777 eval "$wx_cv_use_odcombobox"
12778 if test "x
$cache" = xyes; then
12779 echo "wxUSE_ODCOMBOBOX
=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12782 if test x"$enablestring" = xdisable; then
12783 if test $wxUSE_ODCOMBOBOX = yes; then
12789 result=$wxUSE_ODCOMBOBOX
12792 { echo "$as_me:$LINENO: result
: $result" >&5
12793 echo "${ECHO_T}$result" >&6; }
12797 defaultval=$wxUSE_ALL_FEATURES
12798 if test -z "$defaultval"; then
12799 if test x"$enablestring" = xdisable; then
12806 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
12807 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
12808 # Check whether --enable-radiobox was given.
12809 if test "${enable_radiobox+set}" = set; then
12810 enableval=$enable_radiobox;
12811 if test "$enableval" = yes; then
12812 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12814 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12820 LINE=`grep "^wxUSE_RADIOBOX
=" ${wx_arg_cache_file}`
12821 if test "x
$LINE" != x ; then
12822 eval "DEFAULT_
$LINE"
12828 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12833 eval "$wx_cv_use_radiobox"
12834 if test "x$cache" = xyes
; then
12835 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12838 if test x
"$enablestring" = xdisable
; then
12839 if test $wxUSE_RADIOBOX = yes; then
12845 result
=$wxUSE_RADIOBOX
12848 { echo "$as_me:$LINENO: result: $result" >&5
12849 echo "${ECHO_T}$result" >&6; }
12853 defaultval
=$wxUSE_ALL_FEATURES
12854 if test -z "$defaultval"; then
12855 if test x
"$enablestring" = xdisable
; then
12862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12863 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12864 # Check whether --enable-radiobtn was given.
12865 if test "${enable_radiobtn+set}" = set; then
12866 enableval
=$enable_radiobtn;
12867 if test "$enableval" = yes; then
12868 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
12870 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
12876 LINE
=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12877 if test "x$LINE" != x
; then
12878 eval "DEFAULT_$LINE"
12884 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12889 eval "$wx_cv_use_radiobtn"
12890 if test "x$cache" = xyes; then
12891 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_RADIOBTN = yes; then
12901 result=$wxUSE_RADIOBTN
12904 { echo "$as_me:$LINENO: result: $result" >&5
12905 echo "${ECHO_T}$result" >&6; }
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12920 # Check whether --enable-sash was given.
12921 if test "${enable_sash+set}" = set; then
12922 enableval=$enable_sash;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_sash='wxUSE_SASH
=yes'
12926 wx_cv_use_sash='wxUSE_SASH
=no
'
12932 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12933 if test "x$LINE" != x ; then
12934 eval "DEFAULT_$LINE"
12940 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12945 eval "$wx_cv_use_sash"
12946 if test "x
$cache" = xyes; then
12947 echo "wxUSE_SASH
=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12950 if test x"$enablestring" = xdisable; then
12951 if test $wxUSE_SASH = yes; then
12960 { echo "$as_me:$LINENO: result
: $result" >&5
12961 echo "${ECHO_T}$result" >&6; }
12965 defaultval=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x"$enablestring" = xdisable; then
12974 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
12975 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
12976 # Check whether --enable-scrollbar was given.
12977 if test "${enable_scrollbar+set}" = set; then
12978 enableval=$enable_scrollbar;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12982 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12988 LINE=`grep "^wxUSE_SCROLLBAR
=" ${wx_arg_cache_file}`
12989 if test "x
$LINE" != x ; then
12990 eval "DEFAULT_
$LINE"
12996 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13001 eval "$wx_cv_use_scrollbar"
13002 if test "x$cache" = xyes
; then
13003 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13006 if test x
"$enablestring" = xdisable
; then
13007 if test $wxUSE_SCROLLBAR = yes; then
13013 result
=$wxUSE_SCROLLBAR
13016 { echo "$as_me:$LINENO: result: $result" >&5
13017 echo "${ECHO_T}$result" >&6; }
13021 defaultval
=$wxUSE_ALL_FEATURES
13022 if test -z "$defaultval"; then
13023 if test x
"$enablestring" = xdisable
; then
13030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13031 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13032 # Check whether --enable-searchctrl was given.
13033 if test "${enable_searchctrl+set}" = set; then
13034 enableval
=$enable_searchctrl;
13035 if test "$enableval" = yes; then
13036 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
13038 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
13044 LINE
=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13045 if test "x$LINE" != x
; then
13046 eval "DEFAULT_$LINE"
13052 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13057 eval "$wx_cv_use_searchctrl"
13058 if test "x$cache" = xyes; then
13059 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_SEARCHCTRL = yes; then
13069 result=$wxUSE_SEARCHCTRL
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13088 # Check whether --enable-slider was given.
13089 if test "${enable_slider+set}" = set; then
13090 enableval=$enable_slider;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_slider='wxUSE_SLIDER
=yes'
13094 wx_cv_use_slider='wxUSE_SLIDER
=no
'
13100 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13101 if test "x$LINE" != x ; then
13102 eval "DEFAULT_$LINE"
13108 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13113 eval "$wx_cv_use_slider"
13114 if test "x
$cache" = xyes; then
13115 echo "wxUSE_SLIDER
=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13118 if test x"$enablestring" = xdisable; then
13119 if test $wxUSE_SLIDER = yes; then
13125 result=$wxUSE_SLIDER
13128 { echo "$as_me:$LINENO: result
: $result" >&5
13129 echo "${ECHO_T}$result" >&6; }
13133 defaultval=$wxUSE_ALL_FEATURES
13134 if test -z "$defaultval"; then
13135 if test x"$enablestring" = xdisable; then
13142 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
13143 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
13144 # Check whether --enable-spinbtn was given.
13145 if test "${enable_spinbtn+set}" = set; then
13146 enableval=$enable_spinbtn;
13147 if test "$enableval" = yes; then
13148 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13150 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13156 LINE=`grep "^wxUSE_SPINBTN
=" ${wx_arg_cache_file}`
13157 if test "x
$LINE" != x ; then
13158 eval "DEFAULT_
$LINE"
13164 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13169 eval "$wx_cv_use_spinbtn"
13170 if test "x$cache" = xyes
; then
13171 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13174 if test x
"$enablestring" = xdisable
; then
13175 if test $wxUSE_SPINBTN = yes; then
13181 result
=$wxUSE_SPINBTN
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13189 defaultval
=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x
"$enablestring" = xdisable
; then
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13200 # Check whether --enable-spinctrl was given.
13201 if test "${enable_spinctrl+set}" = set; then
13202 enableval
=$enable_spinctrl;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
13206 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
13212 LINE
=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13213 if test "x$LINE" != x
; then
13214 eval "DEFAULT_$LINE"
13220 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13225 eval "$wx_cv_use_spinctrl"
13226 if test "x$cache" = xyes; then
13227 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13230 if test x"$enablestring" = xdisable; then
13231 if test $wxUSE_SPINCTRL = yes; then
13237 result=$wxUSE_SPINCTRL
13240 { echo "$as_me:$LINENO: result: $result" >&5
13241 echo "${ECHO_T}$result" >&6; }
13245 defaultval=$wxUSE_ALL_FEATURES
13246 if test -z "$defaultval"; then
13247 if test x"$enablestring" = xdisable; then
13254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13255 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13256 # Check whether --enable-splitter was given.
13257 if test "${enable_splitter+set}" = set; then
13258 enableval=$enable_splitter;
13259 if test "$enableval" = yes; then
13260 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
13262 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
13268 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13269 if test "x$LINE" != x ; then
13270 eval "DEFAULT_$LINE"
13276 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13281 eval "$wx_cv_use_splitter"
13282 if test "x
$cache" = xyes; then
13283 echo "wxUSE_SPLITTER
=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13286 if test x"$enablestring" = xdisable; then
13287 if test $wxUSE_SPLITTER = yes; then
13293 result=$wxUSE_SPLITTER
13296 { echo "$as_me:$LINENO: result
: $result" >&5
13297 echo "${ECHO_T}$result" >&6; }
13301 defaultval=$wxUSE_ALL_FEATURES
13302 if test -z "$defaultval"; then
13303 if test x"$enablestring" = xdisable; then
13310 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
13311 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
13312 # Check whether --enable-statbmp was given.
13313 if test "${enable_statbmp+set}" = set; then
13314 enableval=$enable_statbmp;
13315 if test "$enableval" = yes; then
13316 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13318 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13324 LINE=`grep "^wxUSE_STATBMP
=" ${wx_arg_cache_file}`
13325 if test "x
$LINE" != x ; then
13326 eval "DEFAULT_
$LINE"
13332 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13337 eval "$wx_cv_use_statbmp"
13338 if test "x$cache" = xyes
; then
13339 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13342 if test x
"$enablestring" = xdisable
; then
13343 if test $wxUSE_STATBMP = yes; then
13349 result
=$wxUSE_STATBMP
13352 { echo "$as_me:$LINENO: result: $result" >&5
13353 echo "${ECHO_T}$result" >&6; }
13357 defaultval
=$wxUSE_ALL_FEATURES
13358 if test -z "$defaultval"; then
13359 if test x
"$enablestring" = xdisable
; then
13366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13367 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13368 # Check whether --enable-statbox was given.
13369 if test "${enable_statbox+set}" = set; then
13370 enableval
=$enable_statbox;
13371 if test "$enableval" = yes; then
13372 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
13374 wx_cv_use_statbox
='wxUSE_STATBOX=no'
13380 LINE
=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13381 if test "x$LINE" != x
; then
13382 eval "DEFAULT_$LINE"
13388 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13393 eval "$wx_cv_use_statbox"
13394 if test "x$cache" = xyes; then
13395 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13398 if test x"$enablestring" = xdisable; then
13399 if test $wxUSE_STATBOX = yes; then
13405 result=$wxUSE_STATBOX
13408 { echo "$as_me:$LINENO: result: $result" >&5
13409 echo "${ECHO_T}$result" >&6; }
13413 defaultval=$wxUSE_ALL_FEATURES
13414 if test -z "$defaultval"; then
13415 if test x"$enablestring" = xdisable; then
13422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13423 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13424 # Check whether --enable-statline was given.
13425 if test "${enable_statline+set}" = set; then
13426 enableval=$enable_statline;
13427 if test "$enableval" = yes; then
13428 wx_cv_use_statline='wxUSE_STATLINE
=yes'
13430 wx_cv_use_statline='wxUSE_STATLINE
=no
'
13436 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13437 if test "x$LINE" != x ; then
13438 eval "DEFAULT_$LINE"
13444 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13449 eval "$wx_cv_use_statline"
13450 if test "x
$cache" = xyes; then
13451 echo "wxUSE_STATLINE
=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13454 if test x"$enablestring" = xdisable; then
13455 if test $wxUSE_STATLINE = yes; then
13461 result=$wxUSE_STATLINE
13464 { echo "$as_me:$LINENO: result
: $result" >&5
13465 echo "${ECHO_T}$result" >&6; }
13469 defaultval=$wxUSE_ALL_FEATURES
13470 if test -z "$defaultval"; then
13471 if test x"$enablestring" = xdisable; then
13478 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
13479 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
13480 # Check whether --enable-stattext was given.
13481 if test "${enable_stattext+set}" = set; then
13482 enableval=$enable_stattext;
13483 if test "$enableval" = yes; then
13484 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13486 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13492 LINE=`grep "^wxUSE_STATTEXT
=" ${wx_arg_cache_file}`
13493 if test "x
$LINE" != x ; then
13494 eval "DEFAULT_
$LINE"
13500 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13505 eval "$wx_cv_use_stattext"
13506 if test "x$cache" = xyes
; then
13507 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13510 if test x
"$enablestring" = xdisable
; then
13511 if test $wxUSE_STATTEXT = yes; then
13517 result
=$wxUSE_STATTEXT
13520 { echo "$as_me:$LINENO: result: $result" >&5
13521 echo "${ECHO_T}$result" >&6; }
13525 defaultval
=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x
"$enablestring" = xdisable
; then
13534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13535 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13536 # Check whether --enable-statusbar was given.
13537 if test "${enable_statusbar+set}" = set; then
13538 enableval
=$enable_statusbar;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
13542 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
13548 LINE
=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13549 if test "x$LINE" != x
; then
13550 eval "DEFAULT_$LINE"
13556 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13561 eval "$wx_cv_use_statusbar"
13562 if test "x$cache" = xyes; then
13563 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_STATUSBAR = yes; then
13573 result=$wxUSE_STATUSBAR
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13592 # Check whether --enable-tabdialog was given.
13593 if test "${enable_tabdialog+set}" = set; then
13594 enableval=$enable_tabdialog;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
13598 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
13604 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13605 if test "x$LINE" != x ; then
13606 eval "DEFAULT_$LINE"
13612 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13617 eval "$wx_cv_use_tabdialog"
13618 if test "x
$cache" = xyes; then
13619 echo "wxUSE_TAB_DIALOG
=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13622 if test x"$enablestring" = xdisable; then
13623 if test $wxUSE_TAB_DIALOG = yes; then
13629 result=$wxUSE_TAB_DIALOG
13632 { echo "$as_me:$LINENO: result
: $result" >&5
13633 echo "${ECHO_T}$result" >&6; }
13637 defaultval=$wxUSE_ALL_FEATURES
13638 if test -z "$defaultval"; then
13639 if test x"$enablestring" = xdisable; then
13646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
13647 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
13648 # Check whether --enable-taskbaricon was given.
13649 if test "${enable_taskbaricon+set}" = set; then
13650 enableval=$enable_taskbaricon;
13651 if test "$enableval" = yes; then
13652 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13654 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13660 LINE=`grep "^wxUSE_TASKBARICON
=" ${wx_arg_cache_file}`
13661 if test "x
$LINE" != x ; then
13662 eval "DEFAULT_
$LINE"
13668 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13673 eval "$wx_cv_use_taskbaricon"
13674 if test "x$cache" = xyes
; then
13675 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13678 if test x
"$enablestring" = xdisable
; then
13679 if test $wxUSE_TASKBARICON = yes; then
13685 result
=$wxUSE_TASKBARICON
13688 { echo "$as_me:$LINENO: result: $result" >&5
13689 echo "${ECHO_T}$result" >&6; }
13693 defaultval
=$wxUSE_ALL_FEATURES
13694 if test -z "$defaultval"; then
13695 if test x
"$enablestring" = xdisable
; then
13702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13703 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13704 # Check whether --enable-textctrl was given.
13705 if test "${enable_textctrl+set}" = set; then
13706 enableval
=$enable_textctrl;
13707 if test "$enableval" = yes; then
13708 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
13710 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
13716 LINE
=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13717 if test "x$LINE" != x
; then
13718 eval "DEFAULT_$LINE"
13724 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13729 eval "$wx_cv_use_textctrl"
13730 if test "x$cache" = xyes; then
13731 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13734 if test x"$enablestring" = xdisable; then
13735 if test $wxUSE_TEXTCTRL = yes; then
13741 result=$wxUSE_TEXTCTRL
13744 { echo "$as_me:$LINENO: result: $result" >&5
13745 echo "${ECHO_T}$result" >&6; }
13749 defaultval=$wxUSE_ALL_FEATURES
13750 if test -z "$defaultval"; then
13751 if test x"$enablestring" = xdisable; then
13758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13759 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13760 # Check whether --enable-togglebtn was given.
13761 if test "${enable_togglebtn+set}" = set; then
13762 enableval=$enable_togglebtn;
13763 if test "$enableval" = yes; then
13764 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
13766 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
13772 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13773 if test "x$LINE" != x ; then
13774 eval "DEFAULT_$LINE"
13780 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13785 eval "$wx_cv_use_togglebtn"
13786 if test "x
$cache" = xyes; then
13787 echo "wxUSE_TOGGLEBTN
=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_TOGGLEBTN = yes; then
13797 result=$wxUSE_TOGGLEBTN
13800 { echo "$as_me:$LINENO: result
: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13814 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
13815 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
13816 # Check whether --enable-toolbar was given.
13817 if test "${enable_toolbar+set}" = set; then
13818 enableval=$enable_toolbar;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13822 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13828 LINE=`grep "^wxUSE_TOOLBAR
=" ${wx_arg_cache_file}`
13829 if test "x
$LINE" != x ; then
13830 eval "DEFAULT_
$LINE"
13836 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13841 eval "$wx_cv_use_toolbar"
13842 if test "x$cache" = xyes
; then
13843 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13846 if test x
"$enablestring" = xdisable
; then
13847 if test $wxUSE_TOOLBAR = yes; then
13853 result
=$wxUSE_TOOLBAR
13856 { echo "$as_me:$LINENO: result: $result" >&5
13857 echo "${ECHO_T}$result" >&6; }
13861 defaultval
=$wxUSE_ALL_FEATURES
13862 if test -z "$defaultval"; then
13863 if test x
"$enablestring" = xdisable
; then
13870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13871 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13872 # Check whether --enable-tbarnative was given.
13873 if test "${enable_tbarnative+set}" = set; then
13874 enableval
=$enable_tbarnative;
13875 if test "$enableval" = yes; then
13876 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
13878 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
13884 LINE
=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13885 if test "x$LINE" != x
; then
13886 eval "DEFAULT_$LINE"
13892 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13897 eval "$wx_cv_use_tbarnative"
13898 if test "x$cache" = xyes; then
13899 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13902 if test x"$enablestring" = xdisable; then
13903 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13909 result=$wxUSE_TOOLBAR_NATIVE
13912 { echo "$as_me:$LINENO: result: $result" >&5
13913 echo "${ECHO_T}$result" >&6; }
13917 defaultval=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x"$enablestring" = xdisable; then
13926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13927 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13928 # Check whether --enable-treebook was given.
13929 if test "${enable_treebook+set}" = set; then
13930 enableval=$enable_treebook;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
13934 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
13940 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13941 if test "x$LINE" != x ; then
13942 eval "DEFAULT_$LINE"
13948 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13953 eval "$wx_cv_use_treebook"
13954 if test "x
$cache" = xyes; then
13955 echo "wxUSE_TREEBOOK
=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13958 if test x"$enablestring" = xdisable; then
13959 if test $wxUSE_TREEBOOK = yes; then
13965 result=$wxUSE_TREEBOOK
13968 { echo "$as_me:$LINENO: result
: $result" >&5
13969 echo "${ECHO_T}$result" >&6; }
13973 defaultval=$wxUSE_ALL_FEATURES
13974 if test -z "$defaultval"; then
13975 if test x"$enablestring" = xdisable; then
13982 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
13983 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
13984 # Check whether --enable-toolbook was given.
13985 if test "${enable_toolbook+set}" = set; then
13986 enableval=$enable_toolbook;
13987 if test "$enableval" = yes; then
13988 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13990 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13996 LINE=`grep "^wxUSE_TOOLBOOK
=" ${wx_arg_cache_file}`
13997 if test "x
$LINE" != x ; then
13998 eval "DEFAULT_
$LINE"
14004 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14009 eval "$wx_cv_use_toolbook"
14010 if test "x$cache" = xyes
; then
14011 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14014 if test x
"$enablestring" = xdisable
; then
14015 if test $wxUSE_TOOLBOOK = yes; then
14021 result
=$wxUSE_TOOLBOOK
14024 { echo "$as_me:$LINENO: result: $result" >&5
14025 echo "${ECHO_T}$result" >&6; }
14029 defaultval
=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x
"$enablestring" = xdisable
; then
14038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14039 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14040 # Check whether --enable-treectrl was given.
14041 if test "${enable_treectrl+set}" = set; then
14042 enableval
=$enable_treectrl;
14043 if test "$enableval" = yes; then
14044 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
14046 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
14052 LINE
=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14053 if test "x$LINE" != x
; then
14054 eval "DEFAULT_$LINE"
14060 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14065 eval "$wx_cv_use_treectrl"
14066 if test "x$cache" = xyes; then
14067 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14070 if test x"$enablestring" = xdisable; then
14071 if test $wxUSE_TREECTRL = yes; then
14077 result=$wxUSE_TREECTRL
14080 { echo "$as_me:$LINENO: result: $result" >&5
14081 echo "${ECHO_T}$result" >&6; }
14085 defaultval=$wxUSE_ALL_FEATURES
14086 if test -z "$defaultval"; then
14087 if test x"$enablestring" = xdisable; then
14094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14096 # Check whether --enable-tipwindow was given.
14097 if test "${enable_tipwindow+set}" = set; then
14098 enableval=$enable_tipwindow;
14099 if test "$enableval" = yes; then
14100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
14102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
14108 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14109 if test "x$LINE" != x ; then
14110 eval "DEFAULT_$LINE"
14116 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14121 eval "$wx_cv_use_tipwindow"
14122 if test "x
$cache" = xyes; then
14123 echo "wxUSE_TIPWINDOW
=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14126 if test x"$enablestring" = xdisable; then
14127 if test $wxUSE_TIPWINDOW = yes; then
14133 result=$wxUSE_TIPWINDOW
14136 { echo "$as_me:$LINENO: result
: $result" >&5
14137 echo "${ECHO_T}$result" >&6; }
14141 defaultval=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x"$enablestring" = xdisable; then
14150 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
14151 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
14152 # Check whether --enable-popupwin was given.
14153 if test "${enable_popupwin+set}" = set; then
14154 enableval=$enable_popupwin;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14158 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14164 LINE=`grep "^wxUSE_POPUPWIN
=" ${wx_arg_cache_file}`
14165 if test "x
$LINE" != x ; then
14166 eval "DEFAULT_
$LINE"
14172 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14177 eval "$wx_cv_use_popupwin"
14178 if test "x$cache" = xyes
; then
14179 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14182 if test x
"$enablestring" = xdisable
; then
14183 if test $wxUSE_POPUPWIN = yes; then
14189 result
=$wxUSE_POPUPWIN
14192 { echo "$as_me:$LINENO: result: $result" >&5
14193 echo "${ECHO_T}$result" >&6; }
14199 defaultval
=$wxUSE_ALL_FEATURES
14200 if test -z "$defaultval"; then
14201 if test x
"$enablestring" = xdisable
; then
14208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14209 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14210 # Check whether --enable-commondlg was given.
14211 if test "${enable_commondlg+set}" = set; then
14212 enableval
=$enable_commondlg;
14213 if test "$enableval" = yes; then
14214 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
14216 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
14222 LINE
=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14223 if test "x$LINE" != x
; then
14224 eval "DEFAULT_$LINE"
14230 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14235 eval "$wx_cv_use_commondlg"
14236 if test "x$cache" = xyes; then
14237 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14240 if test x"$enablestring" = xdisable; then
14241 if test $wxUSE_COMMONDLGS = yes; then
14247 result=$wxUSE_COMMONDLGS
14250 { echo "$as_me:$LINENO: result: $result" >&5
14251 echo "${ECHO_T}$result" >&6; }
14255 defaultval=$wxUSE_ALL_FEATURES
14256 if test -z "$defaultval"; then
14257 if test x"$enablestring" = xdisable; then
14264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14265 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14266 # Check whether --enable-aboutdlg was given.
14267 if test "${enable_aboutdlg+set}" = set; then
14268 enableval=$enable_aboutdlg;
14269 if test "$enableval" = yes; then
14270 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
14272 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
14278 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14279 if test "x$LINE" != x ; then
14280 eval "DEFAULT_$LINE"
14286 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14291 eval "$wx_cv_use_aboutdlg"
14292 if test "x
$cache" = xyes; then
14293 echo "wxUSE_ABOUTDLG
=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14296 if test x"$enablestring" = xdisable; then
14297 if test $wxUSE_ABOUTDLG = yes; then
14303 result=$wxUSE_ABOUTDLG
14306 { echo "$as_me:$LINENO: result
: $result" >&5
14307 echo "${ECHO_T}$result" >&6; }
14311 defaultval=$wxUSE_ALL_FEATURES
14312 if test -z "$defaultval"; then
14313 if test x"$enablestring" = xdisable; then
14320 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
14321 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
14322 # Check whether --enable-choicedlg was given.
14323 if test "${enable_choicedlg+set}" = set; then
14324 enableval=$enable_choicedlg;
14325 if test "$enableval" = yes; then
14326 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14328 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14334 LINE=`grep "^wxUSE_CHOICEDLG
=" ${wx_arg_cache_file}`
14335 if test "x
$LINE" != x ; then
14336 eval "DEFAULT_
$LINE"
14342 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14347 eval "$wx_cv_use_choicedlg"
14348 if test "x$cache" = xyes
; then
14349 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14352 if test x
"$enablestring" = xdisable
; then
14353 if test $wxUSE_CHOICEDLG = yes; then
14359 result
=$wxUSE_CHOICEDLG
14362 { echo "$as_me:$LINENO: result: $result" >&5
14363 echo "${ECHO_T}$result" >&6; }
14367 defaultval
=$wxUSE_ALL_FEATURES
14368 if test -z "$defaultval"; then
14369 if test x
"$enablestring" = xdisable
; then
14376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14377 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14378 # Check whether --enable-coldlg was given.
14379 if test "${enable_coldlg+set}" = set; then
14380 enableval
=$enable_coldlg;
14381 if test "$enableval" = yes; then
14382 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
14384 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
14390 LINE
=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14391 if test "x$LINE" != x
; then
14392 eval "DEFAULT_$LINE"
14398 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14403 eval "$wx_cv_use_coldlg"
14404 if test "x$cache" = xyes; then
14405 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14408 if test x"$enablestring" = xdisable; then
14409 if test $wxUSE_COLOURDLG = yes; then
14415 result=$wxUSE_COLOURDLG
14418 { echo "$as_me:$LINENO: result: $result" >&5
14419 echo "${ECHO_T}$result" >&6; }
14423 defaultval=$wxUSE_ALL_FEATURES
14424 if test -z "$defaultval"; then
14425 if test x"$enablestring" = xdisable; then
14432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14433 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14434 # Check whether --enable-filedlg was given.
14435 if test "${enable_filedlg+set}" = set; then
14436 enableval=$enable_filedlg;
14437 if test "$enableval" = yes; then
14438 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
14440 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
14446 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14447 if test "x$LINE" != x ; then
14448 eval "DEFAULT_$LINE"
14454 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14459 eval "$wx_cv_use_filedlg"
14460 if test "x
$cache" = xyes; then
14461 echo "wxUSE_FILEDLG
=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14464 if test x"$enablestring" = xdisable; then
14465 if test $wxUSE_FILEDLG = yes; then
14471 result=$wxUSE_FILEDLG
14474 { echo "$as_me:$LINENO: result
: $result" >&5
14475 echo "${ECHO_T}$result" >&6; }
14479 defaultval=$wxUSE_ALL_FEATURES
14480 if test -z "$defaultval"; then
14481 if test x"$enablestring" = xdisable; then
14488 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
14489 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
14490 # Check whether --enable-finddlg was given.
14491 if test "${enable_finddlg+set}" = set; then
14492 enableval=$enable_finddlg;
14493 if test "$enableval" = yes; then
14494 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14496 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14502 LINE=`grep "^wxUSE_FINDREPLDLG
=" ${wx_arg_cache_file}`
14503 if test "x
$LINE" != x ; then
14504 eval "DEFAULT_
$LINE"
14510 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14515 eval "$wx_cv_use_finddlg"
14516 if test "x$cache" = xyes
; then
14517 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14520 if test x
"$enablestring" = xdisable
; then
14521 if test $wxUSE_FINDREPLDLG = yes; then
14527 result
=$wxUSE_FINDREPLDLG
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14535 defaultval
=$wxUSE_ALL_FEATURES
14536 if test -z "$defaultval"; then
14537 if test x
"$enablestring" = xdisable
; then
14544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14545 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14546 # Check whether --enable-fontdlg was given.
14547 if test "${enable_fontdlg+set}" = set; then
14548 enableval
=$enable_fontdlg;
14549 if test "$enableval" = yes; then
14550 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
14552 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
14558 LINE
=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14559 if test "x$LINE" != x
; then
14560 eval "DEFAULT_$LINE"
14566 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14571 eval "$wx_cv_use_fontdlg"
14572 if test "x$cache" = xyes; then
14573 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14576 if test x"$enablestring" = xdisable; then
14577 if test $wxUSE_FONTDLG = yes; then
14583 result=$wxUSE_FONTDLG
14586 { echo "$as_me:$LINENO: result: $result" >&5
14587 echo "${ECHO_T}$result" >&6; }
14591 defaultval=$wxUSE_ALL_FEATURES
14592 if test -z "$defaultval"; then
14593 if test x"$enablestring" = xdisable; then
14600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14601 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14602 # Check whether --enable-dirdlg was given.
14603 if test "${enable_dirdlg+set}" = set; then
14604 enableval=$enable_dirdlg;
14605 if test "$enableval" = yes; then
14606 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
14608 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
14614 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14615 if test "x$LINE" != x ; then
14616 eval "DEFAULT_$LINE"
14622 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14627 eval "$wx_cv_use_dirdlg"
14628 if test "x
$cache" = xyes; then
14629 echo "wxUSE_DIRDLG
=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14632 if test x"$enablestring" = xdisable; then
14633 if test $wxUSE_DIRDLG = yes; then
14639 result=$wxUSE_DIRDLG
14642 { echo "$as_me:$LINENO: result
: $result" >&5
14643 echo "${ECHO_T}$result" >&6; }
14647 defaultval=$wxUSE_ALL_FEATURES
14648 if test -z "$defaultval"; then
14649 if test x"$enablestring" = xdisable; then
14656 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
14657 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
14658 # Check whether --enable-msgdlg was given.
14659 if test "${enable_msgdlg+set}" = set; then
14660 enableval=$enable_msgdlg;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14664 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14670 LINE=`grep "^wxUSE_MSGDLG
=" ${wx_arg_cache_file}`
14671 if test "x
$LINE" != x ; then
14672 eval "DEFAULT_
$LINE"
14678 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14683 eval "$wx_cv_use_msgdlg"
14684 if test "x$cache" = xyes
; then
14685 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14688 if test x
"$enablestring" = xdisable
; then
14689 if test $wxUSE_MSGDLG = yes; then
14695 result
=$wxUSE_MSGDLG
14698 { echo "$as_me:$LINENO: result: $result" >&5
14699 echo "${ECHO_T}$result" >&6; }
14703 defaultval
=$wxUSE_ALL_FEATURES
14704 if test -z "$defaultval"; then
14705 if test x
"$enablestring" = xdisable
; then
14712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14713 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14714 # Check whether --enable-numberdlg was given.
14715 if test "${enable_numberdlg+set}" = set; then
14716 enableval
=$enable_numberdlg;
14717 if test "$enableval" = yes; then
14718 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
14720 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
14726 LINE
=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14727 if test "x$LINE" != x
; then
14728 eval "DEFAULT_$LINE"
14734 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14739 eval "$wx_cv_use_numberdlg"
14740 if test "x$cache" = xyes; then
14741 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14744 if test x"$enablestring" = xdisable; then
14745 if test $wxUSE_NUMBERDLG = yes; then
14751 result=$wxUSE_NUMBERDLG
14754 { echo "$as_me:$LINENO: result: $result" >&5
14755 echo "${ECHO_T}$result" >&6; }
14759 defaultval=$wxUSE_ALL_FEATURES
14760 if test -z "$defaultval"; then
14761 if test x"$enablestring" = xdisable; then
14768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14769 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14770 # Check whether --enable-splash was given.
14771 if test "${enable_splash+set}" = set; then
14772 enableval=$enable_splash;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_splash='wxUSE_SPLASH
=yes'
14776 wx_cv_use_splash='wxUSE_SPLASH
=no
'
14782 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14783 if test "x$LINE" != x ; then
14784 eval "DEFAULT_$LINE"
14790 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14795 eval "$wx_cv_use_splash"
14796 if test "x
$cache" = xyes; then
14797 echo "wxUSE_SPLASH
=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14800 if test x"$enablestring" = xdisable; then
14801 if test $wxUSE_SPLASH = yes; then
14807 result=$wxUSE_SPLASH
14810 { echo "$as_me:$LINENO: result
: $result" >&5
14811 echo "${ECHO_T}$result" >&6; }
14815 defaultval=$wxUSE_ALL_FEATURES
14816 if test -z "$defaultval"; then
14817 if test x"$enablestring" = xdisable; then
14824 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
14825 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
14826 # Check whether --enable-textdlg was given.
14827 if test "${enable_textdlg+set}" = set; then
14828 enableval=$enable_textdlg;
14829 if test "$enableval" = yes; then
14830 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14832 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14838 LINE=`grep "^wxUSE_TEXTDLG
=" ${wx_arg_cache_file}`
14839 if test "x
$LINE" != x ; then
14840 eval "DEFAULT_
$LINE"
14846 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14851 eval "$wx_cv_use_textdlg"
14852 if test "x$cache" = xyes
; then
14853 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14856 if test x
"$enablestring" = xdisable
; then
14857 if test $wxUSE_TEXTDLG = yes; then
14863 result
=$wxUSE_TEXTDLG
14866 { echo "$as_me:$LINENO: result: $result" >&5
14867 echo "${ECHO_T}$result" >&6; }
14871 defaultval
=$wxUSE_ALL_FEATURES
14872 if test -z "$defaultval"; then
14873 if test x
"$enablestring" = xdisable
; then
14880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14881 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14882 # Check whether --enable-tipdlg was given.
14883 if test "${enable_tipdlg+set}" = set; then
14884 enableval
=$enable_tipdlg;
14885 if test "$enableval" = yes; then
14886 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
14888 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
14894 LINE
=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14895 if test "x$LINE" != x
; then
14896 eval "DEFAULT_$LINE"
14902 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14907 eval "$wx_cv_use_tipdlg"
14908 if test "x$cache" = xyes; then
14909 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14912 if test x"$enablestring" = xdisable; then
14913 if test $wxUSE_STARTUP_TIPS = yes; then
14919 result=$wxUSE_STARTUP_TIPS
14922 { echo "$as_me:$LINENO: result: $result" >&5
14923 echo "${ECHO_T}$result" >&6; }
14927 defaultval=$wxUSE_ALL_FEATURES
14928 if test -z "$defaultval"; then
14929 if test x"$enablestring" = xdisable; then
14936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14937 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14938 # Check whether --enable-progressdlg was given.
14939 if test "${enable_progressdlg+set}" = set; then
14940 enableval=$enable_progressdlg;
14941 if test "$enableval" = yes; then
14942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
14944 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
14950 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14951 if test "x$LINE" != x ; then
14952 eval "DEFAULT_$LINE"
14958 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14963 eval "$wx_cv_use_progressdlg"
14964 if test "x
$cache" = xyes; then
14965 echo "wxUSE_PROGRESSDLG
=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14968 if test x"$enablestring" = xdisable; then
14969 if test $wxUSE_PROGRESSDLG = yes; then
14975 result=$wxUSE_PROGRESSDLG
14978 { echo "$as_me:$LINENO: result
: $result" >&5
14979 echo "${ECHO_T}$result" >&6; }
14983 defaultval=$wxUSE_ALL_FEATURES
14984 if test -z "$defaultval"; then
14985 if test x"$enablestring" = xdisable; then
14992 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
14993 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
14994 # Check whether --enable-wizarddlg was given.
14995 if test "${enable_wizarddlg+set}" = set; then
14996 enableval=$enable_wizarddlg;
14997 if test "$enableval" = yes; then
14998 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
15000 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15006 LINE=`grep "^wxUSE_WIZARDDLG
=" ${wx_arg_cache_file}`
15007 if test "x
$LINE" != x ; then
15008 eval "DEFAULT_
$LINE"
15014 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15019 eval "$wx_cv_use_wizarddlg"
15020 if test "x$cache" = xyes
; then
15021 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15024 if test x
"$enablestring" = xdisable
; then
15025 if test $wxUSE_WIZARDDLG = yes; then
15031 result
=$wxUSE_WIZARDDLG
15034 { echo "$as_me:$LINENO: result: $result" >&5
15035 echo "${ECHO_T}$result" >&6; }
15041 defaultval
=$wxUSE_ALL_FEATURES
15042 if test -z "$defaultval"; then
15043 if test x
"$enablestring" = xdisable
; then
15050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15051 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15052 # Check whether --enable-menus was given.
15053 if test "${enable_menus+set}" = set; then
15054 enableval
=$enable_menus;
15055 if test "$enableval" = yes; then
15056 wx_cv_use_menus
='wxUSE_MENUS=yes'
15058 wx_cv_use_menus
='wxUSE_MENUS=no'
15064 LINE
=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15065 if test "x$LINE" != x
; then
15066 eval "DEFAULT_$LINE"
15072 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15077 eval "$wx_cv_use_menus"
15078 if test "x$cache" = xyes; then
15079 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15082 if test x"$enablestring" = xdisable; then
15083 if test $wxUSE_MENUS = yes; then
15089 result=$wxUSE_MENUS
15092 { echo "$as_me:$LINENO: result: $result" >&5
15093 echo "${ECHO_T}$result" >&6; }
15097 defaultval=$wxUSE_ALL_FEATURES
15098 if test -z "$defaultval"; then
15099 if test x"$enablestring" = xdisable; then
15106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15107 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15108 # Check whether --enable-miniframe was given.
15109 if test "${enable_miniframe+set}" = set; then
15110 enableval=$enable_miniframe;
15111 if test "$enableval" = yes; then
15112 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
15114 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
15120 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15121 if test "x$LINE" != x ; then
15122 eval "DEFAULT_$LINE"
15128 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15133 eval "$wx_cv_use_miniframe"
15134 if test "x
$cache" = xyes; then
15135 echo "wxUSE_MINIFRAME
=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15138 if test x"$enablestring" = xdisable; then
15139 if test $wxUSE_MINIFRAME = yes; then
15145 result=$wxUSE_MINIFRAME
15148 { echo "$as_me:$LINENO: result
: $result" >&5
15149 echo "${ECHO_T}$result" >&6; }
15153 defaultval=$wxUSE_ALL_FEATURES
15154 if test -z "$defaultval"; then
15155 if test x"$enablestring" = xdisable; then
15162 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
15163 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
15164 # Check whether --enable-tooltips was given.
15165 if test "${enable_tooltips+set}" = set; then
15166 enableval=$enable_tooltips;
15167 if test "$enableval" = yes; then
15168 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15170 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15176 LINE=`grep "^wxUSE_TOOLTIPS
=" ${wx_arg_cache_file}`
15177 if test "x
$LINE" != x ; then
15178 eval "DEFAULT_
$LINE"
15184 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15189 eval "$wx_cv_use_tooltips"
15190 if test "x$cache" = xyes
; then
15191 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15194 if test x
"$enablestring" = xdisable
; then
15195 if test $wxUSE_TOOLTIPS = yes; then
15201 result
=$wxUSE_TOOLTIPS
15204 { echo "$as_me:$LINENO: result: $result" >&5
15205 echo "${ECHO_T}$result" >&6; }
15209 defaultval
=$wxUSE_ALL_FEATURES
15210 if test -z "$defaultval"; then
15211 if test x
"$enablestring" = xdisable
; then
15218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15219 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15220 # Check whether --enable-splines was given.
15221 if test "${enable_splines+set}" = set; then
15222 enableval
=$enable_splines;
15223 if test "$enableval" = yes; then
15224 wx_cv_use_splines
='wxUSE_SPLINES=yes'
15226 wx_cv_use_splines
='wxUSE_SPLINES=no'
15232 LINE
=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15233 if test "x$LINE" != x
; then
15234 eval "DEFAULT_$LINE"
15240 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15245 eval "$wx_cv_use_splines"
15246 if test "x$cache" = xyes; then
15247 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15250 if test x"$enablestring" = xdisable; then
15251 if test $wxUSE_SPLINES = yes; then
15257 result=$wxUSE_SPLINES
15260 { echo "$as_me:$LINENO: result: $result" >&5
15261 echo "${ECHO_T}$result" >&6; }
15265 defaultval=$wxUSE_ALL_FEATURES
15266 if test -z "$defaultval"; then
15267 if test x"$enablestring" = xdisable; then
15274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15275 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15276 # Check whether --enable-mousewheel was given.
15277 if test "${enable_mousewheel+set}" = set; then
15278 enableval=$enable_mousewheel;
15279 if test "$enableval" = yes; then
15280 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
15282 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
15288 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15289 if test "x$LINE" != x ; then
15290 eval "DEFAULT_$LINE"
15296 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15301 eval "$wx_cv_use_mousewheel"
15302 if test "x
$cache" = xyes; then
15303 echo "wxUSE_MOUSEWHEEL
=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15306 if test x"$enablestring" = xdisable; then
15307 if test $wxUSE_MOUSEWHEEL = yes; then
15313 result=$wxUSE_MOUSEWHEEL
15316 { echo "$as_me:$LINENO: result
: $result" >&5
15317 echo "${ECHO_T}$result" >&6; }
15321 defaultval=$wxUSE_ALL_FEATURES
15322 if test -z "$defaultval"; then
15323 if test x"$enablestring" = xdisable; then
15330 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
15331 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
15332 # Check whether --enable-validators was given.
15333 if test "${enable_validators+set}" = set; then
15334 enableval=$enable_validators;
15335 if test "$enableval" = yes; then
15336 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15338 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15344 LINE=`grep "^wxUSE_VALIDATORS
=" ${wx_arg_cache_file}`
15345 if test "x
$LINE" != x ; then
15346 eval "DEFAULT_
$LINE"
15352 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15357 eval "$wx_cv_use_validators"
15358 if test "x$cache" = xyes
; then
15359 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15362 if test x
"$enablestring" = xdisable
; then
15363 if test $wxUSE_VALIDATORS = yes; then
15369 result
=$wxUSE_VALIDATORS
15372 { echo "$as_me:$LINENO: result: $result" >&5
15373 echo "${ECHO_T}$result" >&6; }
15377 defaultval
=$wxUSE_ALL_FEATURES
15378 if test -z "$defaultval"; then
15379 if test x
"$enablestring" = xdisable
; then
15386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15387 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15388 # Check whether --enable-busyinfo was given.
15389 if test "${enable_busyinfo+set}" = set; then
15390 enableval
=$enable_busyinfo;
15391 if test "$enableval" = yes; then
15392 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
15394 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
15400 LINE
=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15401 if test "x$LINE" != x
; then
15402 eval "DEFAULT_$LINE"
15408 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15413 eval "$wx_cv_use_busyinfo"
15414 if test "x$cache" = xyes; then
15415 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15418 if test x"$enablestring" = xdisable; then
15419 if test $wxUSE_BUSYINFO = yes; then
15425 result=$wxUSE_BUSYINFO
15428 { echo "$as_me:$LINENO: result: $result" >&5
15429 echo "${ECHO_T}$result" >&6; }
15433 defaultval=$wxUSE_ALL_FEATURES
15434 if test -z "$defaultval"; then
15435 if test x"$enablestring" = xdisable; then
15442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15443 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15444 # Check whether --enable-joystick was given.
15445 if test "${enable_joystick+set}" = set; then
15446 enableval=$enable_joystick;
15447 if test "$enableval" = yes; then
15448 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
15450 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
15456 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15457 if test "x$LINE" != x ; then
15458 eval "DEFAULT_$LINE"
15464 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15469 eval "$wx_cv_use_joystick"
15470 if test "x
$cache" = xyes; then
15471 echo "wxUSE_JOYSTICK
=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15474 if test x"$enablestring" = xdisable; then
15475 if test $wxUSE_JOYSTICK = yes; then
15481 result=$wxUSE_JOYSTICK
15484 { echo "$as_me:$LINENO: result
: $result" >&5
15485 echo "${ECHO_T}$result" >&6; }
15489 defaultval=$wxUSE_ALL_FEATURES
15490 if test -z "$defaultval"; then
15491 if test x"$enablestring" = xdisable; then
15498 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
15499 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
15500 # Check whether --enable-metafile was given.
15501 if test "${enable_metafile+set}" = set; then
15502 enableval=$enable_metafile;
15503 if test "$enableval" = yes; then
15504 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15506 wx_cv_use_metafile='wxUSE_METAFILE=no'
15512 LINE=`grep "^wxUSE_METAFILE
=" ${wx_arg_cache_file}`
15513 if test "x
$LINE" != x ; then
15514 eval "DEFAULT_
$LINE"
15520 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15525 eval "$wx_cv_use_metafile"
15526 if test "x$cache" = xyes
; then
15527 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15530 if test x
"$enablestring" = xdisable
; then
15531 if test $wxUSE_METAFILE = yes; then
15537 result
=$wxUSE_METAFILE
15540 { echo "$as_me:$LINENO: result: $result" >&5
15541 echo "${ECHO_T}$result" >&6; }
15545 defaultval
=$wxUSE_ALL_FEATURES
15546 if test -z "$defaultval"; then
15547 if test x
"$enablestring" = xdisable
; then
15554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15555 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15556 # Check whether --enable-dragimage was given.
15557 if test "${enable_dragimage+set}" = set; then
15558 enableval
=$enable_dragimage;
15559 if test "$enableval" = yes; then
15560 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
15562 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
15568 LINE
=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15569 if test "x$LINE" != x
; then
15570 eval "DEFAULT_$LINE"
15576 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15581 eval "$wx_cv_use_dragimage"
15582 if test "x$cache" = xyes; then
15583 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15586 if test x"$enablestring" = xdisable; then
15587 if test $wxUSE_DRAGIMAGE = yes; then
15593 result=$wxUSE_DRAGIMAGE
15596 { echo "$as_me:$LINENO: result: $result" >&5
15597 echo "${ECHO_T}$result" >&6; }
15601 defaultval=$wxUSE_ALL_FEATURES
15602 if test -z "$defaultval"; then
15603 if test x"$enablestring" = xdisable; then
15610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15611 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15612 # Check whether --enable-accessibility was given.
15613 if test "${enable_accessibility+set}" = set; then
15614 enableval=$enable_accessibility;
15615 if test "$enableval" = yes; then
15616 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
15618 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
15624 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15625 if test "x$LINE" != x ; then
15626 eval "DEFAULT_$LINE"
15632 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15637 eval "$wx_cv_use_accessibility"
15638 if test "x
$cache" = xyes; then
15639 echo "wxUSE_ACCESSIBILITY
=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15642 if test x"$enablestring" = xdisable; then
15643 if test $wxUSE_ACCESSIBILITY = yes; then
15649 result=$wxUSE_ACCESSIBILITY
15652 { echo "$as_me:$LINENO: result
: $result" >&5
15653 echo "${ECHO_T}$result" >&6; }
15659 defaultval=$wxUSE_ALL_FEATURES
15660 if test -z "$defaultval"; then
15661 if test x"$enablestring" = xdisable; then
15668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
15669 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
15670 # Check whether --enable-palette was given.
15671 if test "${enable_palette+set}" = set; then
15672 enableval=$enable_palette;
15673 if test "$enableval" = yes; then
15674 wx_cv_use_palette='wxUSE_PALETTE=yes'
15676 wx_cv_use_palette='wxUSE_PALETTE=no'
15682 LINE=`grep "^wxUSE_PALETTE
=" ${wx_arg_cache_file}`
15683 if test "x
$LINE" != x ; then
15684 eval "DEFAULT_
$LINE"
15690 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15695 eval "$wx_cv_use_palette"
15696 if test "x$cache" = xyes
; then
15697 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15700 if test x
"$enablestring" = xdisable
; then
15701 if test $wxUSE_PALETTE = yes; then
15707 result
=$wxUSE_PALETTE
15710 { echo "$as_me:$LINENO: result: $result" >&5
15711 echo "${ECHO_T}$result" >&6; }
15715 defaultval
=$wxUSE_ALL_FEATURES
15716 if test -z "$defaultval"; then
15717 if test x
"$enablestring" = xdisable
; then
15724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15725 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15726 # Check whether --enable-image was given.
15727 if test "${enable_image+set}" = set; then
15728 enableval
=$enable_image;
15729 if test "$enableval" = yes; then
15730 wx_cv_use_image
='wxUSE_IMAGE=yes'
15732 wx_cv_use_image
='wxUSE_IMAGE=no'
15738 LINE
=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15739 if test "x$LINE" != x
; then
15740 eval "DEFAULT_$LINE"
15746 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15751 eval "$wx_cv_use_image"
15752 if test "x$cache" = xyes; then
15753 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15756 if test x"$enablestring" = xdisable; then
15757 if test $wxUSE_IMAGE = yes; then
15763 result=$wxUSE_IMAGE
15766 { echo "$as_me:$LINENO: result: $result" >&5
15767 echo "${ECHO_T}$result" >&6; }
15771 defaultval=$wxUSE_ALL_FEATURES
15772 if test -z "$defaultval"; then
15773 if test x"$enablestring" = xdisable; then
15780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15781 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15782 # Check whether --enable-gif was given.
15783 if test "${enable_gif+set}" = set; then
15784 enableval=$enable_gif;
15785 if test "$enableval" = yes; then
15786 wx_cv_use_gif='wxUSE_GIF
=yes'
15788 wx_cv_use_gif='wxUSE_GIF
=no
'
15794 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15795 if test "x$LINE" != x ; then
15796 eval "DEFAULT_$LINE"
15802 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15807 eval "$wx_cv_use_gif"
15808 if test "x
$cache" = xyes; then
15809 echo "wxUSE_GIF
=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15812 if test x"$enablestring" = xdisable; then
15813 if test $wxUSE_GIF = yes; then
15822 { echo "$as_me:$LINENO: result
: $result" >&5
15823 echo "${ECHO_T}$result" >&6; }
15827 defaultval=$wxUSE_ALL_FEATURES
15828 if test -z "$defaultval"; then
15829 if test x"$enablestring" = xdisable; then
15836 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
15837 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
15838 # Check whether --enable-pcx was given.
15839 if test "${enable_pcx+set}" = set; then
15840 enableval=$enable_pcx;
15841 if test "$enableval" = yes; then
15842 wx_cv_use_pcx='wxUSE_PCX=yes'
15844 wx_cv_use_pcx='wxUSE_PCX=no'
15850 LINE=`grep "^wxUSE_PCX
=" ${wx_arg_cache_file}`
15851 if test "x
$LINE" != x ; then
15852 eval "DEFAULT_
$LINE"
15858 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15863 eval "$wx_cv_use_pcx"
15864 if test "x$cache" = xyes
; then
15865 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15868 if test x
"$enablestring" = xdisable
; then
15869 if test $wxUSE_PCX = yes; then
15878 { echo "$as_me:$LINENO: result: $result" >&5
15879 echo "${ECHO_T}$result" >&6; }
15883 defaultval
=$wxUSE_ALL_FEATURES
15884 if test -z "$defaultval"; then
15885 if test x
"$enablestring" = xdisable
; then
15892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15893 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15894 # Check whether --enable-tga was given.
15895 if test "${enable_tga+set}" = set; then
15896 enableval
=$enable_tga;
15897 if test "$enableval" = yes; then
15898 wx_cv_use_tga
='wxUSE_TGA=yes'
15900 wx_cv_use_tga
='wxUSE_TGA=no'
15906 LINE
=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15907 if test "x$LINE" != x
; then
15908 eval "DEFAULT_$LINE"
15914 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15919 eval "$wx_cv_use_tga"
15920 if test "x$cache" = xyes; then
15921 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15924 if test x"$enablestring" = xdisable; then
15925 if test $wxUSE_TGA = yes; then
15934 { echo "$as_me:$LINENO: result: $result" >&5
15935 echo "${ECHO_T}$result" >&6; }
15939 defaultval=$wxUSE_ALL_FEATURES
15940 if test -z "$defaultval"; then
15941 if test x"$enablestring" = xdisable; then
15948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15949 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15950 # Check whether --enable-iff was given.
15951 if test "${enable_iff+set}" = set; then
15952 enableval=$enable_iff;
15953 if test "$enableval" = yes; then
15954 wx_cv_use_iff='wxUSE_IFF
=yes'
15956 wx_cv_use_iff='wxUSE_IFF
=no
'
15962 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15963 if test "x$LINE" != x ; then
15964 eval "DEFAULT_$LINE"
15970 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15975 eval "$wx_cv_use_iff"
15976 if test "x
$cache" = xyes; then
15977 echo "wxUSE_IFF
=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15980 if test x"$enablestring" = xdisable; then
15981 if test $wxUSE_IFF = yes; then
15990 { echo "$as_me:$LINENO: result
: $result" >&5
15991 echo "${ECHO_T}$result" >&6; }
15995 defaultval=$wxUSE_ALL_FEATURES
15996 if test -z "$defaultval"; then
15997 if test x"$enablestring" = xdisable; then
16004 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
16005 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
16006 # Check whether --enable-pnm was given.
16007 if test "${enable_pnm+set}" = set; then
16008 enableval=$enable_pnm;
16009 if test "$enableval" = yes; then
16010 wx_cv_use_pnm='wxUSE_PNM=yes'
16012 wx_cv_use_pnm='wxUSE_PNM=no'
16018 LINE=`grep "^wxUSE_PNM
=" ${wx_arg_cache_file}`
16019 if test "x
$LINE" != x ; then
16020 eval "DEFAULT_
$LINE"
16026 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16031 eval "$wx_cv_use_pnm"
16032 if test "x$cache" = xyes
; then
16033 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16036 if test x
"$enablestring" = xdisable
; then
16037 if test $wxUSE_PNM = yes; then
16046 { echo "$as_me:$LINENO: result: $result" >&5
16047 echo "${ECHO_T}$result" >&6; }
16051 defaultval
=$wxUSE_ALL_FEATURES
16052 if test -z "$defaultval"; then
16053 if test x
"$enablestring" = xdisable
; then
16060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16061 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16062 # Check whether --enable-xpm was given.
16063 if test "${enable_xpm+set}" = set; then
16064 enableval
=$enable_xpm;
16065 if test "$enableval" = yes; then
16066 wx_cv_use_xpm
='wxUSE_XPM=yes'
16068 wx_cv_use_xpm
='wxUSE_XPM=no'
16074 LINE
=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16075 if test "x$LINE" != x
; then
16076 eval "DEFAULT_$LINE"
16082 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16087 eval "$wx_cv_use_xpm"
16088 if test "x$cache" = xyes; then
16089 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16092 if test x"$enablestring" = xdisable; then
16093 if test $wxUSE_XPM = yes; then
16102 { echo "$as_me:$LINENO: result: $result" >&5
16103 echo "${ECHO_T}$result" >&6; }
16107 defaultval=$wxUSE_ALL_FEATURES
16108 if test -z "$defaultval"; then
16109 if test x"$enablestring" = xdisable; then
16116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16117 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16118 # Check whether --enable-ico_cur was given.
16119 if test "${enable_ico_cur+set}" = set; then
16120 enableval=$enable_ico_cur;
16121 if test "$enableval" = yes; then
16122 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
16124 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
16130 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16131 if test "x$LINE" != x ; then
16132 eval "DEFAULT_$LINE"
16138 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16143 eval "$wx_cv_use_ico_cur"
16144 if test "x
$cache" = xyes; then
16145 echo "wxUSE_ICO_CUR
=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16148 if test x"$enablestring" = xdisable; then
16149 if test $wxUSE_ICO_CUR = yes; then
16155 result=$wxUSE_ICO_CUR
16158 { echo "$as_me:$LINENO: result
: $result" >&5
16159 echo "${ECHO_T}$result" >&6; }
16165 defaultval=$wxUSE_ALL_FEATURES
16166 if test -z "$defaultval"; then
16167 if test x"$enablestring" = xdisable; then
16174 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
16175 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
16176 # Check whether --enable-dccache was given.
16177 if test "${enable_dccache+set}" = set; then
16178 enableval=$enable_dccache;
16179 if test "$enableval" = yes; then
16180 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16182 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16188 LINE=`grep "^wxUSE_DC_CACHEING
=" ${wx_arg_cache_file}`
16189 if test "x
$LINE" != x ; then
16190 eval "DEFAULT_
$LINE"
16196 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16201 eval "$wx_cv_use_dccache"
16202 if test "x$cache" = xyes
; then
16203 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16206 if test x
"$enablestring" = xdisable
; then
16207 if test $wxUSE_DC_CACHEING = yes; then
16213 result
=$wxUSE_DC_CACHEING
16216 { echo "$as_me:$LINENO: result: $result" >&5
16217 echo "${ECHO_T}$result" >&6; }
16221 defaultval
=$wxUSE_ALL_FEATURES
16222 if test -z "$defaultval"; then
16223 if test x
"$enablestring" = xdisable
; then
16230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16231 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16232 # Check whether --enable-ps-in-msw was given.
16233 if test "${enable_ps_in_msw+set}" = set; then
16234 enableval
=$enable_ps_in_msw;
16235 if test "$enableval" = yes; then
16236 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16238 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16244 LINE
=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16245 if test "x$LINE" != x
; then
16246 eval "DEFAULT_$LINE"
16252 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16257 eval "$wx_cv_use_ps_in_msw"
16258 if test "x$cache" = xyes; then
16259 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16262 if test x"$enablestring" = xdisable; then
16263 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16269 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16272 { echo "$as_me:$LINENO: result: $result" >&5
16273 echo "${ECHO_T}$result" >&6; }
16277 defaultval=$wxUSE_ALL_FEATURES
16278 if test -z "$defaultval"; then
16279 if test x"$enablestring" = xdisable; then
16286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16287 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16288 # Check whether --enable-ownerdrawn was given.
16289 if test "${enable_ownerdrawn+set}" = set; then
16290 enableval=$enable_ownerdrawn;
16291 if test "$enableval" = yes; then
16292 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
16294 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
16300 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16301 if test "x$LINE" != x ; then
16302 eval "DEFAULT_$LINE"
16308 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16313 eval "$wx_cv_use_ownerdrawn"
16314 if test "x
$cache" = xyes; then
16315 echo "wxUSE_OWNER_DRAWN
=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16318 if test x"$enablestring" = xdisable; then
16319 if test $wxUSE_OWNER_DRAWN = yes; then
16325 result=$wxUSE_OWNER_DRAWN
16328 { echo "$as_me:$LINENO: result
: $result" >&5
16329 echo "${ECHO_T}$result" >&6; }
16333 defaultval=$wxUSE_ALL_FEATURES
16334 if test -z "$defaultval"; then
16335 if test x"$enablestring" = xdisable; then
16342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
16343 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
16344 # Check whether --enable-uxtheme was given.
16345 if test "${enable_uxtheme+set}" = set; then
16346 enableval=$enable_uxtheme;
16347 if test "$enableval" = yes; then
16348 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16350 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16356 LINE=`grep "^wxUSE_UXTHEME
=" ${wx_arg_cache_file}`
16357 if test "x
$LINE" != x ; then
16358 eval "DEFAULT_
$LINE"
16364 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16369 eval "$wx_cv_use_uxtheme"
16370 if test "x$cache" = xyes
; then
16371 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16374 if test x
"$enablestring" = xdisable
; then
16375 if test $wxUSE_UXTHEME = yes; then
16381 result
=$wxUSE_UXTHEME
16384 { echo "$as_me:$LINENO: result: $result" >&5
16385 echo "${ECHO_T}$result" >&6; }
16389 defaultval
=$wxUSE_ALL_FEATURES
16390 if test -z "$defaultval"; then
16391 if test x
"$enablestring" = xdisable
; then
16398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16399 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16400 # Check whether --enable-wxdib was given.
16401 if test "${enable_wxdib+set}" = set; then
16402 enableval
=$enable_wxdib;
16403 if test "$enableval" = yes; then
16404 wx_cv_use_wxdib
='wxUSE_DIB=yes'
16406 wx_cv_use_wxdib
='wxUSE_DIB=no'
16412 LINE
=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16413 if test "x$LINE" != x
; then
16414 eval "DEFAULT_$LINE"
16420 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16425 eval "$wx_cv_use_wxdib"
16426 if test "x$cache" = xyes; then
16427 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16430 if test x"$enablestring" = xdisable; then
16431 if test $wxUSE_DIB = yes; then
16440 { echo "$as_me:$LINENO: result: $result" >&5
16441 echo "${ECHO_T}$result" >&6; }
16447 echo "saving argument cache $wx_arg_cache_file"
16448 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16452 { echo "$as_me:$LINENO: checking for toolkit" >&5
16453 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16455 # In Wine, we need to default to MSW, not GTK or MOTIF
16456 if test "$wxUSE_WINE" = "yes"; then
16457 DEFAULT_DEFAULT_wxUSE_GTK=0
16458 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16459 DEFAULT_DEFAULT_wxUSE_MSW=1
16462 CXX=${CXX:-wineg++}
16466 if test "$wxUSE_GUI" = "yes"; then
16468 if test "$USE_BEOS" = 1; then
16469 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16470 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16471 { (exit 1); exit 1; }; }
16474 if test "$TOOLKIT_GIVEN" = 1; then
16475 for toolkit in `echo $ALL_TOOLKITS`; do
16477 eval "value=\$${var}"
16478 if test "x$value" = "xno"; then
16480 elif test "x$value" != "x"; then
16484 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16485 eval "wx${toolkit}_VERSION=$value"
16489 for toolkit in `echo $ALL_TOOLKITS`; do
16490 if test "$has_toolkit_in_cache" != 1; then
16491 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16493 var=DEFAULT_wxUSE_$toolkit
16495 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16496 if test "x$version" != "x"; then
16497 eval "wx${toolkit}_VERSION=$version"
16500 eval "wxUSE_$toolkit=\$${var}"
16504 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16505 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16506 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16509 *-pc-os2_emx | *-pc-os2-emx )
16510 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16513 case "$NUM_TOOLKITS" in
16517 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16518 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16519 { (exit 1); exit 1; }; }
16522 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16523 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16524 { (exit 1); exit 1; }; }
16527 # to be removed when --disable-gtk2 isn't needed
16528 if test "x$wxUSE_GTK2" = "xyes"; then
16530 elif test "x$wxUSE_GTK2" = "xno"; then
16534 for toolkit
in `echo $ALL_TOOLKITS`; do
16536 eval "value=\$${var}"
16537 if test "x$value" != x
; then
16538 cache_var
=CACHE_
$toolkit
16539 eval "cache=\$${cache_var}"
16540 if test "$cache" = 1; then
16541 echo "$var=$value" >> ${wx_arg_cache_file}
16542 eval "version=\$wx${toolkit}_VERSION"
16543 if test "x$version" != "x"; then
16544 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16547 if test "$value" = 1; then
16548 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16549 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16550 echo "${ECHO_T}$toolkit_echo" >&6; }
16555 if test "x$host_alias" != "x"; then
16556 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16557 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16559 { echo "$as_me:$LINENO: result: base only" >&5
16560 echo "${ECHO_T}base only" >&6; }
16565 cat >confcache
<<\_ACEOF
16566 # This file is a shell script that caches the results of configure
16567 # tests run on this system so they can be shared between configure
16568 # scripts and configure runs, see configure's option --config-cache.
16569 # It is not useful on other systems. If it contains results you don't
16570 # want to keep, you may remove or edit it.
16572 # config.status only pays attention to the cache file if you give it
16573 # the --recheck option to rerun configure.
16575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16577 # following values.
16581 # The following way of writing the cache mishandles newlines in values,
16582 # but we know of no workaround that is simple, portable, and efficient.
16583 # So, we kill variables containing newlines.
16584 # Ultrix sh set writes to stderr and can't be redirected directly,
16585 # and sets the high bit in the cache file unless we assign to the vars.
16587 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16588 eval ac_val
=\$
$ac_var
16592 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16593 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16596 _
| IFS
| as_nl
) ;; #(
16597 *) $as_unset $ac_var ;;
16603 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16604 *${as_nl}ac_space
=\
*)
16605 # `set' does not quote correctly, so add quotes (double-quote
16606 # substitution turns \\\\ into \\, and sed turns \\ into \).
16609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16612 # `set' quotes correctly as required by POSIX, so do not add quotes.
16613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16622 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16624 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16626 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16627 if test -w "$cache_file"; then
16628 test "x$cache_file" != "x/dev/null" &&
16629 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16630 echo "$as_me: updating cache $cache_file" >&6;}
16631 cat confcache
>$cache_file
16633 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16634 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16644 ac_cpp
='$CPP $CPPFLAGS'
16645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16648 if test -n "$ac_tool_prefix"; then
16649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16650 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16653 if test "${ac_cv_prog_CC+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 if test -n "$CC"; then
16657 ac_cv_prog_CC
="$CC" # Let the user override the test.
16659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16660 for as_dir
in $PATH
16663 test -z "$as_dir" && as_dir
=.
16664 for ac_exec_ext
in '' $ac_executable_extensions; do
16665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16666 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16677 if test -n "$CC"; then
16678 { echo "$as_me:$LINENO: result: $CC" >&5
16679 echo "${ECHO_T}$CC" >&6; }
16681 { echo "$as_me:$LINENO: result: no" >&5
16682 echo "${ECHO_T}no" >&6; }
16687 if test -z "$ac_cv_prog_CC"; then
16689 # Extract the first word of "gcc", so it can be a program name with args.
16690 set dummy gcc
; ac_word
=$2
16691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 if test -n "$ac_ct_CC"; then
16697 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16700 for as_dir
in $PATH
16703 test -z "$as_dir" && as_dir
=.
16704 for ac_exec_ext
in '' $ac_executable_extensions; do
16705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16706 ac_cv_prog_ac_ct_CC
="gcc"
16707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16716 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16717 if test -n "$ac_ct_CC"; then
16718 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16719 echo "${ECHO_T}$ac_ct_CC" >&6; }
16721 { echo "$as_me:$LINENO: result: no" >&5
16722 echo "${ECHO_T}no" >&6; }
16725 if test "x$ac_ct_CC" = x
; then
16728 case $cross_compiling:$ac_tool_warned in
16730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16731 whose name does not start with the host triplet. If you think this
16732 configuration is useful to you, please write to autoconf@gnu.org." >&5
16733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16736 ac_tool_warned
=yes ;;
16741 CC
="$ac_cv_prog_CC"
16744 if test -z "$CC"; then
16745 if test -n "$ac_tool_prefix"; then
16746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16747 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16750 if test "${ac_cv_prog_CC+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 if test -n "$CC"; then
16754 ac_cv_prog_CC
="$CC" # Let the user override the test.
16756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16757 for as_dir
in $PATH
16760 test -z "$as_dir" && as_dir
=.
16761 for ac_exec_ext
in '' $ac_executable_extensions; do
16762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16763 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16774 if test -n "$CC"; then
16775 { echo "$as_me:$LINENO: result: $CC" >&5
16776 echo "${ECHO_T}$CC" >&6; }
16778 { echo "$as_me:$LINENO: result: no" >&5
16779 echo "${ECHO_T}no" >&6; }
16785 if test -z "$CC"; then
16786 # Extract the first word of "cc", so it can be a program name with args.
16787 set dummy cc
; ac_word
=$2
16788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16790 if test "${ac_cv_prog_CC+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 if test -n "$CC"; then
16794 ac_cv_prog_CC
="$CC" # Let the user override the test.
16796 ac_prog_rejected
=no
16797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16798 for as_dir
in $PATH
16801 test -z "$as_dir" && as_dir
=.
16802 for ac_exec_ext
in '' $ac_executable_extensions; do
16803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16805 ac_prog_rejected
=yes
16809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16816 if test $ac_prog_rejected = yes; then
16817 # We found a bogon in the path, so make sure we never use it.
16818 set dummy
$ac_cv_prog_CC
16820 if test $# != 0; then
16821 # We chose a different compiler from the bogus one.
16822 # However, it has the same basename, so the bogon will be chosen
16823 # first if we set CC to just the basename; use the full file name.
16825 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16831 if test -n "$CC"; then
16832 { echo "$as_me:$LINENO: result: $CC" >&5
16833 echo "${ECHO_T}$CC" >&6; }
16835 { echo "$as_me:$LINENO: result: no" >&5
16836 echo "${ECHO_T}no" >&6; }
16841 if test -z "$CC"; then
16842 if test -n "$ac_tool_prefix"; then
16843 for ac_prog
in cl.exe
16845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16846 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16849 if test "${ac_cv_prog_CC+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 if test -n "$CC"; then
16853 ac_cv_prog_CC
="$CC" # Let the user override the test.
16855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16856 for as_dir
in $PATH
16859 test -z "$as_dir" && as_dir
=.
16860 for ac_exec_ext
in '' $ac_executable_extensions; do
16861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16862 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16873 if test -n "$CC"; then
16874 { echo "$as_me:$LINENO: result: $CC" >&5
16875 echo "${ECHO_T}$CC" >&6; }
16877 { echo "$as_me:$LINENO: result: no" >&5
16878 echo "${ECHO_T}no" >&6; }
16882 test -n "$CC" && break
16885 if test -z "$CC"; then
16887 for ac_prog
in cl.exe
16889 # Extract the first word of "$ac_prog", so it can be a program name with args.
16890 set dummy
$ac_prog; ac_word
=$2
16891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 if test -n "$ac_ct_CC"; then
16897 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16900 for as_dir
in $PATH
16903 test -z "$as_dir" && as_dir
=.
16904 for ac_exec_ext
in '' $ac_executable_extensions; do
16905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16906 ac_cv_prog_ac_ct_CC
="$ac_prog"
16907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16916 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16917 if test -n "$ac_ct_CC"; then
16918 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16919 echo "${ECHO_T}$ac_ct_CC" >&6; }
16921 { echo "$as_me:$LINENO: result: no" >&5
16922 echo "${ECHO_T}no" >&6; }
16926 test -n "$ac_ct_CC" && break
16929 if test "x$ac_ct_CC" = x
; then
16932 case $cross_compiling:$ac_tool_warned in
16934 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16935 whose name does not start with the host triplet. If you think this
16936 configuration is useful to you, please write to autoconf@gnu.org." >&5
16937 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16938 whose name does not start with the host triplet. If you think this
16939 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16940 ac_tool_warned
=yes ;;
16949 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16950 See \`config.log' for more details." >&5
16951 echo "$as_me: error: no acceptable C compiler found in \$PATH
16952 See \`config.log' for more details." >&2;}
16953 { (exit 1); exit 1; }; }
16955 # Provide some information about the compiler.
16956 echo "$as_me:$LINENO: checking for C compiler version" >&5
16957 ac_compiler
=`set X $ac_compile; echo $2`
16958 { (ac_try
="$ac_compiler --version >&5"
16959 case "(($ac_try" in
16960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_compiler --version >&5") 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }
16968 { (ac_try="$ac_compiler -v >&5"
16969 case "(($ac_try" in
16970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16971 *) ac_try_echo
=$ac_try;;
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_compiler -v >&5") 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }
16978 { (ac_try
="$ac_compiler -V >&5"
16979 case "(($ac_try" in
16980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16981 *) ac_try_echo=$ac_try;;
16983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16984 (eval "$ac_compiler -V >&5") 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }
16989 cat >conftest.$ac_ext <<_ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
17004 ac_clean_files_save=$ac_clean_files
17005 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17006 # Try to create an executable without -o first, disregard a.out.
17007 # It will help us diagnose broken compilers, and finding out an intuition
17009 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17010 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17011 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17013 # List of possible output files, starting from the most likely.
17014 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
17015 # only as a last resort. b.out is created by i960 compilers.
17016 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
17018 # The IRIX 6 linker writes into existing files which may not be
17019 # executable, retaining their permissions. Remove them first so a
17020 # subsequent execution test works.
17022 for ac_file in $ac_files
17025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17026 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17031 if { (ac_try="$ac_link_default"
17032 case "(($ac_try" in
17033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17034 *) ac_try_echo=$ac_try;;
17036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17037 (eval "$ac_link_default") 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; then
17041 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17042 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17043 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17044 # so that the user can short-circuit this test for compilers unknown to
17046 for ac_file
in $ac_files ''
17048 test -f "$ac_file" || continue
17050 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
17053 # We found the default executable, but exeext='' is most
17057 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
17059 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17061 # We set ac_cv_exeext here because the later test for it is not
17062 # safe: cross compilers may not add the suffix if given an `-o'
17063 # argument, so we may need to know it at that point already.
17064 # Even if this section looks crufty: it has the advantage of
17065 # actually working.
17071 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
17077 { echo "$as_me:$LINENO: result: $ac_file" >&5
17078 echo "${ECHO_T}$ac_file" >&6; }
17079 if test -z "$ac_file"; then
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.
$ac_ext >&5
17083 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17084 See \`config.log' for more details." >&5
17085 echo "$as_me: error: C compiler cannot create executables
17086 See \`config.log' for more details." >&2;}
17087 { (exit 77); exit 77; }; }
17090 ac_exeext
=$ac_cv_exeext
17092 # Check that the compiler produces executables we can run. If not, either
17093 # the compiler is broken, or we cross compile.
17094 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17095 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17096 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17097 # If not cross compiling, check that we can run a simple program.
17098 if test "$cross_compiling" != yes; then
17099 if { ac_try
='./$ac_file'
17100 { (case "(($ac_try" in
17101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17102 *) ac_try_echo=$ac_try;;
17104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17105 (eval "$ac_try") 2>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17111 if test "$cross_compiling" = maybe; then
17112 cross_compiling=yes
17114 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17115 If you meant to cross compile, use \`--host'.
17116 See \`config.log' for more details.
" >&5
17117 echo "$as_me: error
: cannot run C compiled programs.
17118 If you meant to cross compile
, use \
`--host'.
17119 See \`config.log
' for more details." >&2;}
17120 { (exit 1); exit 1; }; }
17124 { echo "$as_me:$LINENO: result: yes" >&5
17125 echo "${ECHO_T}yes" >&6; }
17127 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17128 ac_clean_files=$ac_clean_files_save
17129 # Check that the compiler produces executables we can run. If not, either
17130 # the compiler is broken, or we cross compile.
17131 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17132 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17133 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17134 echo "${ECHO_T}$cross_compiling" >&6; }
17136 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17137 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17138 if { (ac_try="$ac_link"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_link") 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; then
17148 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
17149 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
17150 # work properly (i.e., refer to `conftest.exe
'), while it won't with
17152 for ac_file
in conftest.exe conftest conftest.
*; do
17153 test -f "$ac_file" || continue
17155 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17156 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17162 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17163 See \`config.log' for more details." >&5
17164 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17165 See \`config.log' for more details." >&2;}
17166 { (exit 1); exit 1; }; }
17169 rm -f conftest
$ac_cv_exeext
17170 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17171 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17173 rm -f conftest.
$ac_ext
17174 EXEEXT
=$ac_cv_exeext
17176 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17177 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17178 if test "${ac_cv_objext+set}" = set; then
17179 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 cat >conftest.
$ac_ext <<_ACEOF
17184 cat confdefs.h
>>conftest.
$ac_ext
17185 cat >>conftest.
$ac_ext <<_ACEOF
17186 /* end confdefs.h. */
17196 rm -f conftest.o conftest.obj
17197 if { (ac_try
="$ac_compile"
17198 case "(($ac_try" in
17199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17200 *) ac_try_echo=$ac_try;;
17202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17203 (eval "$ac_compile") 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; then
17207 for ac_file in conftest.o conftest.obj conftest.*; do
17208 test -f "$ac_file" || continue;
17210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17211 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17219 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17220 See \`config.log
' for more details." >&5
17221 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17222 See \`config.log' for more details.
" >&2;}
17223 { (exit 1); exit 1; }; }
17226 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17228 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17229 echo "${ECHO_T}$ac_cv_objext" >&6; }
17230 OBJEXT=$ac_cv_objext
17232 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17233 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17234 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17235 echo $ECHO_N "(cached
) $ECHO_C" >&6
17237 cat >conftest.$ac_ext <<_ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17255 rm -f conftest.$ac_objext
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>conftest.er1
17264 grep -v '^ *+' conftest.er1 >conftest.err
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17268 (exit $ac_status); } && {
17269 test -z "$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17271 } && test -s conftest.$ac_objext; then
17272 ac_compiler_gnu=yes
17274 echo "$as_me: failed program was
:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17284 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17285 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17286 GCC=`test $ac_compiler_gnu = yes && echo yes`
17287 ac_test_CFLAGS=${CFLAGS+set}
17288 ac_save_CFLAGS=$CFLAGS
17289 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17290 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17291 if test "${ac_cv_prog_cc_g+set}" = set; then
17292 echo $ECHO_N "(cached
) $ECHO_C" >&6
17294 ac_save_c_werror_flag=$ac_c_werror_flag
17295 ac_c_werror_flag=yes
17298 cat >conftest.$ac_ext <<_ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17313 rm -f conftest.$ac_objext
17314 if { (ac_try="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17319 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17322 grep -v '^ *+' conftest.er1 >conftest.err
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_c_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 ac_cv_prog_cc_g=yes
17332 echo "$as_me: failed program was
:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17336 cat >conftest.$ac_ext <<_ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17351 rm -f conftest.$ac_objext
17352 if { (ac_try="$ac_compile"
17353 case "(($ac_try" in
17354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17355 *) ac_try_echo=$ac_try;;
17357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_compile") 2>conftest.er1
17360 grep -v '^ *+' conftest.er1 >conftest.err
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_c_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest.$ac_objext; then
17370 echo "$as_me: failed program was
:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17373 ac_c_werror_flag=$ac_save_c_werror_flag
17375 cat >conftest.$ac_ext <<_ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17390 rm -f conftest.$ac_objext
17391 if { (ac_try="$ac_compile"
17392 case "(($ac_try" in
17393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17394 *) ac_try_echo=$ac_try;;
17396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_compile") 2>conftest.er1
17399 grep -v '^ *+' conftest.er1 >conftest.err
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17403 (exit $ac_status); } && {
17404 test -z "$ac_c_werror_flag" ||
17405 test ! -s conftest.err
17406 } && test -s conftest.$ac_objext; then
17407 ac_cv_prog_cc_g=yes
17409 echo "$as_me: failed program was
:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 ac_c_werror_flag=$ac_save_c_werror_flag
17424 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17426 if test "$ac_test_CFLAGS" = set; then
17427 CFLAGS=$ac_save_CFLAGS
17428 elif test $ac_cv_prog_cc_g = yes; then
17429 if test "$GCC" = yes; then
17435 if test "$GCC" = yes; then
17441 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17442 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17443 if test "${ac_cv_prog_cc_c89+set}" = set; then
17444 echo $ECHO_N "(cached
) $ECHO_C" >&6
17446 ac_cv_prog_cc_c89=no
17448 cat >conftest.$ac_ext <<_ACEOF
17451 cat confdefs.h >>conftest.$ac_ext
17452 cat >>conftest.$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 #include <stdarg.h>
17456 #include <sys/types.h>
17457 #include <sys/stat.h>
17458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17459 struct buf { int x; };
17460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17461 static char *e (p, i)
17467 static char *f (char * (*g) (char **, int), char **p, ...)
17472 s = g (p, va_arg (v,int));
17477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17478 function prototypes and stuff, but not '\xHH' hex character constants.
17479 These don't provoke an error unfortunately, instead are silently treated
17480 as 'x'. The following induces an error, until -std is added to get
17481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17482 array size at least. It's necessary to write '\x00'==0 to get something
17483 that's true only with -std. */
17484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17487 inside strings and character constants. */
17489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17491 int test (int i, double x);
17492 struct s1 {int (*f) (int a);};
17493 struct s2 {int (*f) (double a);};
17494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17508 CC="$ac_save_CC $ac_arg"
17509 rm -f conftest.$ac_objext
17510 if { (ac_try="$ac_compile"
17511 case "(($ac_try" in
17512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17513 *) ac_try_echo=$ac_try;;
17515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17516 (eval "$ac_compile") 2>conftest.er1
17518 grep -v '^ *+' conftest.er1 >conftest.err
17520 cat conftest.err >&5
17521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17522 (exit $ac_status); } && {
17523 test -z "$ac_c_werror_flag" ||
17524 test ! -s conftest.err
17525 } && test -s conftest.$ac_objext; then
17526 ac_cv_prog_cc_c89=$ac_arg
17528 echo "$as_me: failed program was
:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17534 rm -f core conftest.err conftest.$ac_objext
17535 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17537 rm -f conftest.$ac_ext
17542 case "x
$ac_cv_prog_cc_c89" in
17544 { echo "$as_me:$LINENO: result
: none needed
" >&5
17545 echo "${ECHO_T}none needed
" >&6; } ;;
17547 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17548 echo "${ECHO_T}unsupported
" >&6; } ;;
17550 CC="$CC $ac_cv_prog_cc_c89"
17551 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17552 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17557 ac_cpp='$CPP $CPPFLAGS'
17558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17571 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17572 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17573 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17574 echo $ECHO_N "(cached
) $ECHO_C" >&6
17576 cat >conftest.$ac_ext <<_ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17587 #ifndef __INTEL_COMPILER
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17604 grep -v '^ *+' conftest.er1 >conftest.err
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_c_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17614 echo "$as_me: failed program was
:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17617 bakefile_cv_c_compiler___INTEL_COMPILER=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17625 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17626 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17627 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17633 ac_cpp='$CPP $CPPFLAGS'
17634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17641 if test "x
$GCC" != "xyes
"; then
17642 if test "xCC
" = "xC
"; then
17643 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17644 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17645 if test "${bakefile_cv_c_exto+set}" = set; then
17646 echo $ECHO_N "(cached
) $ECHO_C" >&6
17648 cat >conftest.$ac_ext <<_ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17663 rm -f conftest.$ac_objext conftest.$ac_ext.o
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665 (eval $ac_compile) 2>&5
17667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17668 (exit $ac_status); }; then
17669 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17671 conftest.$ac_ext.o)
17672 bakefile_cv_c_exto="-ext o
"
17679 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17680 See \
`config.log' for more details." >&5
17681 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17682 See \`config.log
' for more details." >&2;}
17683 { (exit 1); exit 1; }; }
17687 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17690 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17691 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17692 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17693 if test "c" = "c"; then
17694 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17696 if test "c" = "cxx"; then
17697 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17701 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17702 unset ac_cv_prog_cc_g
17703 ac_test_CFLAGS=${CFLAGS+set}
17704 ac_save_CFLAGS=$CFLAGS
17705 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17707 if test "${ac_cv_prog_cc_g+set}" = set; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 ac_save_c_werror_flag=$ac_c_werror_flag
17711 ac_c_werror_flag=yes
17714 cat >conftest.$ac_ext <<_ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17729 rm -f conftest.$ac_objext
17730 if { (ac_try="$ac_compile"
17731 case "(($ac_try" in
17732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17733 *) ac_try_echo=$ac_try;;
17735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17736 (eval "$ac_compile") 2>conftest.er1
17738 grep -v '^
*+' conftest.er1 >conftest.err
17740 cat conftest.err >&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } && {
17743 test -z "$ac_c_werror_flag" ||
17744 test ! -s conftest.err
17745 } && test -s conftest.$ac_objext; then
17746 ac_cv_prog_cc_g=yes
17748 echo "$as_me: failed program was:" >&5
17749 sed 's
/^
/| /' conftest.$ac_ext >&5
17752 cat >conftest.$ac_ext <<_ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17767 rm -f conftest.$ac_objext
17768 if { (ac_try="$ac_compile"
17769 case "(($ac_try" in
17770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17771 *) ac_try_echo=$ac_try;;
17773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17774 (eval "$ac_compile") 2>conftest.er1
17776 grep -v '^
*+' conftest.er1 >conftest.err
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } && {
17781 test -z "$ac_c_werror_flag" ||
17782 test ! -s conftest.err
17783 } && test -s conftest.$ac_objext; then
17786 echo "$as_me: failed program was:" >&5
17787 sed 's
/^
/| /' conftest.$ac_ext >&5
17789 ac_c_werror_flag=$ac_save_c_werror_flag
17791 cat >conftest.$ac_ext <<_ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17815 grep -v '^
*+' conftest.er1 >conftest.err
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 ac_cv_prog_cc_g=yes
17825 echo "$as_me: failed program was:" >&5
17826 sed 's
/^
/| /' conftest.$ac_ext >&5
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 ac_c_werror_flag=$ac_save_c_werror_flag
17840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17842 if test "$ac_test_CFLAGS" = set; then
17843 CFLAGS=$ac_save_CFLAGS
17844 elif test $ac_cv_prog_cc_g = yes; then
17845 if test "$GCC" = yes; then
17851 if test "$GCC" = yes; then
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17867 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17871 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17872 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 cat >conftest.$ac_ext <<_ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17894 rm -f conftest.$ac_objext
17895 if { (ac_try="$ac_compile"
17896 case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_compile") 2>conftest.er1
17903 grep -v '^
*+' conftest.er1 >conftest.err
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } && {
17908 test -z "$ac_c_werror_flag" ||
17909 test ! -s conftest.err
17910 } && test -s conftest.$ac_objext; then
17911 bakefile_cv_c_compiler___xlC__=yes
17913 echo "$as_me: failed program was:" >&5
17914 sed 's
/^
/| /' conftest.$ac_ext >&5
17916 bakefile_cv_c_compiler___xlC__=no
17920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17925 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17926 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17932 ac_cpp='$CPP $CPPFLAGS'
17933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17934 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17945 ac_cpp='$CPP $CPPFLAGS'
17946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17947 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17950 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17951 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17952 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 cat >conftest.$ac_ext <<_ACEOF
17958 cat confdefs.h >>conftest.$ac_ext
17959 cat >>conftest.$ac_ext <<_ACEOF
17960 /* end confdefs.h. */
17974 rm -f conftest.$ac_objext
17975 if { (ac_try="$ac_compile"
17976 case "(($ac_try" in
17977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17978 *) ac_try_echo=$ac_try;;
17980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17981 (eval "$ac_compile") 2>conftest.er1
17983 grep -v '^
*+' conftest.er1 >conftest.err
17985 cat conftest.err >&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } && {
17988 test -z "$ac_c_werror_flag" ||
17989 test ! -s conftest.err
17990 } && test -s conftest.$ac_objext; then
17991 bakefile_cv_c_compiler___MWERKS__=yes
17993 echo "$as_me: failed program was:" >&5
17994 sed 's
/^
/| /' conftest.$ac_ext >&5
17996 bakefile_cv_c_compiler___MWERKS__=no
18000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18004 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18005 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18006 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18012 ac_cpp='$CPP $CPPFLAGS'
18013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18014 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18024 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18027 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18028 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18029 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18032 cat >conftest.$ac_ext <<_ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18051 rm -f conftest.$ac_objext
18052 if { (ac_try="$ac_compile"
18053 case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_compile") 2>conftest.er1
18060 grep -v '^
*+' conftest.er1 >conftest.err
18062 cat conftest.err >&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && {
18065 test -z "$ac_c_werror_flag" ||
18066 test ! -s conftest.err
18067 } && test -s conftest.$ac_objext; then
18068 bakefile_cv_c_compiler___xlC__=yes
18070 echo "$as_me: failed program was:" >&5
18071 sed 's
/^
/| /' conftest.$ac_ext >&5
18073 bakefile_cv_c_compiler___xlC__=no
18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18082 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18083 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18089 ac_cpp='$CPP $CPPFLAGS'
18090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18091 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18107 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18108 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18109 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 cat >conftest.$ac_ext <<_ACEOF
18115 cat confdefs.h >>conftest.$ac_ext
18116 cat >>conftest.$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18123 #ifndef _SGI_COMPILER_VERSION
18131 rm -f conftest.$ac_objext
18132 if { (ac_try="$ac_compile"
18133 case "(($ac_try" in
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18135 *) ac_try_echo=$ac_try;;
18137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18138 (eval "$ac_compile") 2>conftest.er1
18140 grep -v '^
*+' conftest.er1 >conftest.err
18142 cat conftest.err >&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); } && {
18145 test -z "$ac_c_werror_flag" ||
18146 test ! -s conftest.err
18147 } && test -s conftest.$ac_objext; then
18148 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18150 echo "$as_me: failed program was:" >&5
18151 sed 's
/^
/| /' conftest.$ac_ext >&5
18153 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18161 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18162 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18163 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18169 ac_cpp='$CPP $CPPFLAGS'
18170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18171 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18184 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18187 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18188 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18189 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 cat >conftest.$ac_ext <<_ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18211 rm -f conftest.$ac_objext
18212 if { (ac_try="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18220 grep -v '^
*+' conftest.er1 >conftest.err
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18228 bakefile_cv_c_compiler___SUNPRO_C=yes
18230 echo "$as_me: failed program was:" >&5
18231 sed 's
/^
/| /' conftest.$ac_ext >&5
18233 bakefile_cv_c_compiler___SUNPRO_C=no
18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18242 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18243 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18249 ac_cpp='$CPP $CPPFLAGS'
18250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18251 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18264 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18267 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18268 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18269 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18270 echo $ECHO_N "(cached) $ECHO_C" >&6
18272 cat >conftest.$ac_ext <<_ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 *) ac_try_echo=$ac_try;;
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18300 grep -v '^
*+' conftest.er1 >conftest.err
18302 cat conftest.err >&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then
18308 bakefile_cv_c_compiler___HP_cc=yes
18310 echo "$as_me: failed program was:" >&5
18311 sed 's
/^
/| /' conftest.$ac_ext >&5
18313 bakefile_cv_c_compiler___HP_cc=no
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18322 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18323 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18329 ac_cpp='$CPP $CPPFLAGS'
18330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18331 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18344 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18348 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18349 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 cat >conftest.$ac_ext <<_ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18371 rm -f conftest.$ac_objext
18372 if { (ac_try="$ac_compile"
18373 case "(($ac_try" in
18374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18375 *) ac_try_echo=$ac_try;;
18377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18378 (eval "$ac_compile") 2>conftest.er1
18380 grep -v '^
*+' conftest.er1 >conftest.err
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } && {
18385 test -z "$ac_c_werror_flag" ||
18386 test ! -s conftest.err
18387 } && test -s conftest.$ac_objext; then
18388 bakefile_cv_c_compiler___DECC=yes
18390 echo "$as_me: failed program was:" >&5
18391 sed 's
/^
/| /' conftest.$ac_ext >&5
18393 bakefile_cv_c_compiler___DECC=no
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18402 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18403 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18409 ac_cpp='$CPP $CPPFLAGS'
18410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18411 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18424 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 cat >conftest.$ac_ext <<_ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18460 grep -v '^
*+' conftest.er1 >conftest.err
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 bakefile_cv_c_compiler___SUNPRO_C=yes
18470 echo "$as_me: failed program was:" >&5
18471 sed 's
/^
/| /' conftest.$ac_ext >&5
18473 bakefile_cv_c_compiler___SUNPRO_C=no
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18483 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18489 ac_cpp='$CPP $CPPFLAGS'
18490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18491 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18505 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18508 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18509 # On Suns, sometimes $CPP names a directory.
18510 if test -n "$CPP" && test -d "$CPP"; then
18513 if test -z "$CPP"; then
18514 if test "${ac_cv_prog_CPP+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18517 # Double quotes because CPP needs to be expanded
18518 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18520 ac_preproc_ok=false
18521 for ac_c_preproc_warn_flag in '' yes
18523 # Use a header file that comes with gcc, so configuring glibc
18524 # with a fresh cross-compiler works.
18525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18526 # <limits.h> exists even on freestanding compilers.
18527 # On the NeXT, cc -E runs the code through the compiler's parser
,
18528 # not just through cpp. "Syntax error" is here to catch this case.
18529 cat >conftest.
$ac_ext <<_ACEOF
18532 cat confdefs.h
>>conftest.
$ac_ext
18533 cat >>conftest.
$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18536 # include <limits.h>
18538 # include <assert.h>
18542 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18543 case "(($ac_try" in
18544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18545 *) ac_try_echo=$ac_try;;
18547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18550 grep -v '^ *+' conftest.er1 >conftest.err
18552 cat conftest.err >&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } >/dev/null && {
18555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18556 test ! -s conftest.err
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18563 # Broken: fails on valid input.
18567 rm -f conftest.err conftest.$ac_ext
18569 # OK, works on sane cases. Now check whether nonexistent headers
18570 # can be detected and how.
18571 cat >conftest.$ac_ext <<_ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <ac_nonexistent.h>
18579 if { (ac_try="$ac_cpp conftest.$ac_ext"
18580 case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18582 *) ac_try_echo
=$ac_try;;
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18587 grep -v '^ *+' conftest.er1
>conftest.err
18589 cat conftest.err
>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } >/dev
/null
&& {
18592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18593 test ! -s conftest.err
18595 # Broken: success on invalid input.
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.
$ac_ext >&5
18601 # Passes both tests.
18606 rm -f conftest.err conftest.
$ac_ext
18609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18610 rm -f conftest.err conftest.
$ac_ext
18611 if $ac_preproc_ok; then
18616 ac_cv_prog_CPP
=$CPP
18619 CPP
=$ac_cv_prog_CPP
18621 ac_cv_prog_CPP
=$CPP
18623 { echo "$as_me:$LINENO: result: $CPP" >&5
18624 echo "${ECHO_T}$CPP" >&6; }
18625 ac_preproc_ok
=false
18626 for ac_c_preproc_warn_flag
in '' yes
18628 # Use a header file that comes with gcc, so configuring glibc
18629 # with a fresh cross-compiler works.
18630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18631 # <limits.h> exists even on freestanding compilers.
18632 # On the NeXT, cc -E runs the code through the compiler's parser,
18633 # not just through cpp. "Syntax error" is here to catch this case.
18634 cat >conftest.
$ac_ext <<_ACEOF
18637 cat confdefs.h
>>conftest.
$ac_ext
18638 cat >>conftest.
$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18641 # include <limits.h>
18643 # include <assert.h>
18647 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18648 case "(($ac_try" in
18649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18655 grep -v '^ *+' conftest.er1 >conftest.err
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } >/dev/null && {
18660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18661 test ! -s conftest.err
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18668 # Broken: fails on valid input.
18672 rm -f conftest.err conftest.$ac_ext
18674 # OK, works on sane cases. Now check whether nonexistent headers
18675 # can be detected and how.
18676 cat >conftest.$ac_ext <<_ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 #include <ac_nonexistent.h>
18684 if { (ac_try="$ac_cpp conftest.$ac_ext"
18685 case "(($ac_try" in
18686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18687 *) ac_try_echo
=$ac_try;;
18689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18692 grep -v '^ *+' conftest.er1
>conftest.err
18694 cat conftest.err
>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } >/dev
/null
&& {
18697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18698 test ! -s conftest.err
18700 # Broken: success on invalid input.
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.
$ac_ext >&5
18706 # Passes both tests.
18711 rm -f conftest.err conftest.
$ac_ext
18714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18715 rm -f conftest.err conftest.
$ac_ext
18716 if $ac_preproc_ok; then
18719 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18720 See \`config.log' for more details." >&5
18721 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18722 See \`config.log' for more details." >&2;}
18723 { (exit 1); exit 1; }; }
18727 ac_cpp
='$CPP $CPPFLAGS'
18728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18733 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18734 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18735 if test "${ac_cv_path_GREP+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18738 # Extract the first word of "grep ggrep" to use in msg output
18739 if test -z "$GREP"; then
18740 set dummy
grep ggrep
; ac_prog_name
=$2
18741 if test "${ac_cv_path_GREP+set}" = set; then
18742 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 ac_path_GREP_found
=false
18745 # Loop through the user's path and test for each of PROGNAME-LIST
18746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18747 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18750 test -z "$as_dir" && as_dir
=.
18751 for ac_prog
in grep ggrep
; do
18752 for ac_exec_ext
in '' $ac_executable_extensions; do
18753 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18755 # Check for GNU ac_path_GREP and select it if it is found.
18756 # Check for GNU $ac_path_GREP
18757 case `"$ac_path_GREP" --version 2>&1` in
18759 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18762 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18765 cat "conftest.in" "conftest.in" >"conftest.tmp"
18766 mv "conftest.tmp" "conftest.in"
18767 cp "conftest.in" "conftest.nl"
18768 echo 'GREP' >> "conftest.nl"
18769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18770 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18771 ac_count
=`expr $ac_count + 1`
18772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18773 # Best one so far, save it but keep looking for a better one
18774 ac_cv_path_GREP
="$ac_path_GREP"
18775 ac_path_GREP_max
=$ac_count
18777 # 10*(2^10) chars as input seems more than enough
18778 test $ac_count -gt 10 && break
18780 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18784 $ac_path_GREP_found && break 3
18794 GREP
="$ac_cv_path_GREP"
18795 if test -z "$GREP"; then
18796 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18797 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18798 { (exit 1); exit 1; }; }
18802 ac_cv_path_GREP
=$GREP
18807 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18808 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18809 GREP
="$ac_cv_path_GREP"
18812 { echo "$as_me:$LINENO: checking for egrep" >&5
18813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18814 if test "${ac_cv_path_EGREP+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18818 then ac_cv_path_EGREP
="$GREP -E"
18820 # Extract the first word of "egrep" to use in msg output
18821 if test -z "$EGREP"; then
18822 set dummy
egrep; ac_prog_name
=$2
18823 if test "${ac_cv_path_EGREP+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 ac_path_EGREP_found
=false
18827 # Loop through the user's path and test for each of PROGNAME-LIST
18828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18829 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18832 test -z "$as_dir" && as_dir
=.
18833 for ac_prog
in egrep; do
18834 for ac_exec_ext
in '' $ac_executable_extensions; do
18835 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18836 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18837 # Check for GNU ac_path_EGREP and select it if it is found.
18838 # Check for GNU $ac_path_EGREP
18839 case `"$ac_path_EGREP" --version 2>&1` in
18841 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18844 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18847 cat "conftest.in" "conftest.in" >"conftest.tmp"
18848 mv "conftest.tmp" "conftest.in"
18849 cp "conftest.in" "conftest.nl"
18850 echo 'EGREP' >> "conftest.nl"
18851 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18852 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18853 ac_count
=`expr $ac_count + 1`
18854 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18855 # Best one so far, save it but keep looking for a better one
18856 ac_cv_path_EGREP
="$ac_path_EGREP"
18857 ac_path_EGREP_max
=$ac_count
18859 # 10*(2^10) chars as input seems more than enough
18860 test $ac_count -gt 10 && break
18862 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18866 $ac_path_EGREP_found && break 3
18876 EGREP
="$ac_cv_path_EGREP"
18877 if test -z "$EGREP"; then
18878 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18879 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18880 { (exit 1); exit 1; }; }
18884 ac_cv_path_EGREP
=$EGREP
18890 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18891 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18892 EGREP
="$ac_cv_path_EGREP"
18895 if test $ac_cv_c_compiler_gnu = yes; then
18896 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18897 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18898 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 ac_pattern
="Autoconf.*'x'"
18902 cat >conftest.
$ac_ext <<_ACEOF
18905 cat confdefs.h
>>conftest.
$ac_ext
18906 cat >>conftest.
$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18912 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18913 ac_cv_prog_gcc_traditional
=yes
18915 ac_cv_prog_gcc_traditional
=no
18920 if test $ac_cv_prog_gcc_traditional = no
; then
18921 cat >conftest.
$ac_ext <<_ACEOF
18924 cat confdefs.h
>>conftest.
$ac_ext
18925 cat >>conftest.
$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 #include <termio.h>
18930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18931 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18932 ac_cv_prog_gcc_traditional
=yes
18938 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18939 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18940 if test $ac_cv_prog_gcc_traditional = yes; then
18941 CC
="$CC -traditional"
18946 CXXFLAGS
=${CXXFLAGS:=}
18951 ac_cpp
='$CXXCPP $CPPFLAGS'
18952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18955 if test -z "$CXX"; then
18956 if test -n "$CCC"; then
18959 if test -n "$ac_tool_prefix"; then
18960 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18963 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18966 if test "${ac_cv_prog_CXX+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 if test -n "$CXX"; then
18970 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18973 for as_dir
in $PATH
18976 test -z "$as_dir" && as_dir
=.
18977 for ac_exec_ext
in '' $ac_executable_extensions; do
18978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18979 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18989 CXX
=$ac_cv_prog_CXX
18990 if test -n "$CXX"; then
18991 { echo "$as_me:$LINENO: result: $CXX" >&5
18992 echo "${ECHO_T}$CXX" >&6; }
18994 { echo "$as_me:$LINENO: result: no" >&5
18995 echo "${ECHO_T}no" >&6; }
18999 test -n "$CXX" && break
19002 if test -z "$CXX"; then
19004 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
19006 # Extract the first word of "$ac_prog", so it can be a program name with args.
19007 set dummy
$ac_prog; ac_word
=$2
19008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19010 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 if test -n "$ac_ct_CXX"; then
19014 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
19016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19017 for as_dir
in $PATH
19020 test -z "$as_dir" && as_dir
=.
19021 for ac_exec_ext
in '' $ac_executable_extensions; do
19022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19023 ac_cv_prog_ac_ct_CXX
="$ac_prog"
19024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19033 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
19034 if test -n "$ac_ct_CXX"; then
19035 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19036 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19038 { echo "$as_me:$LINENO: result: no" >&5
19039 echo "${ECHO_T}no" >&6; }
19043 test -n "$ac_ct_CXX" && break
19046 if test "x$ac_ct_CXX" = x
; then
19049 case $cross_compiling:$ac_tool_warned in
19051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19052 whose name does not start with the host triplet. If you think this
19053 configuration is useful to you, please write to autoconf@gnu.org." >&5
19054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19055 whose name does not start with the host triplet. If you think this
19056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19057 ac_tool_warned
=yes ;;
19065 # Provide some information about the compiler.
19066 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19067 ac_compiler
=`set X $ac_compile; echo $2`
19068 { (ac_try
="$ac_compiler --version >&5"
19069 case "(($ac_try" in
19070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compiler --version >&5") 2>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }
19078 { (ac_try="$ac_compiler -v >&5"
19079 case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19081 *) ac_try_echo
=$ac_try;;
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_compiler -v >&5") 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }
19088 { (ac_try
="$ac_compiler -V >&5"
19089 case "(($ac_try" in
19090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_compiler -V >&5") 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }
19099 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19100 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19101 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19102 echo $ECHO_N "(cached) $ECHO_C" >&6
19104 cat >conftest.$ac_ext <<_ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19122 rm -f conftest.$ac_objext
19123 if { (ac_try="$ac_compile"
19124 case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19126 *) ac_try_echo
=$ac_try;;
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_compile") 2>conftest.er1
19131 grep -v '^ *+' conftest.er1
>conftest.err
19133 cat conftest.err
>&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } && {
19136 test -z "$ac_cxx_werror_flag" ||
19137 test ! -s conftest.err
19138 } && test -s conftest.
$ac_objext; then
19139 ac_compiler_gnu
=yes
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.
$ac_ext >&5
19147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19148 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19151 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19152 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19153 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19154 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19155 ac_save_CXXFLAGS
=$CXXFLAGS
19156 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19158 if test "${ac_cv_prog_cxx_g+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19162 ac_cxx_werror_flag
=yes
19163 ac_cv_prog_cxx_g
=no
19165 cat >conftest.
$ac_ext <<_ACEOF
19168 cat confdefs.h
>>conftest.
$ac_ext
19169 cat >>conftest.
$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19180 rm -f conftest.
$ac_objext
19181 if { (ac_try
="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19189 grep -v '^ *+' conftest.er1 >conftest.err
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_cxx_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_prog_cxx_g=yes
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19203 cat >conftest.$ac_ext <<_ACEOF
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
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_cxx_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.
$ac_objext; then
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.
$ac_ext >&5
19240 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19242 cat >conftest.
$ac_ext <<_ACEOF
19245 cat confdefs.h
>>conftest.
$ac_ext
19246 cat >>conftest.
$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19257 rm -f conftest.
$ac_objext
19258 if { (ac_try
="$ac_compile"
19259 case "(($ac_try" in
19260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19261 *) ac_try_echo=$ac_try;;
19263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19264 (eval "$ac_compile") 2>conftest.er1
19266 grep -v '^ *+' conftest.er1 >conftest.err
19268 cat conftest.err >&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } && {
19271 test -z "$ac_cxx_werror_flag" ||
19272 test ! -s conftest.err
19273 } && test -s conftest.$ac_objext; then
19274 ac_cv_prog_cxx_g=yes
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19292 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19293 if test "$ac_test_CXXFLAGS" = set; then
19294 CXXFLAGS=$ac_save_CXXFLAGS
19295 elif test $ac_cv_prog_cxx_g = yes; then
19296 if test "$GXX" = yes; then
19302 if test "$GXX" = yes; then
19309 ac_cpp='$CPP $CPPFLAGS'
19310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19318 ac_cpp='$CXXCPP $CPPFLAGS'
19319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19323 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19324 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19325 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 cat >conftest.$ac_ext <<_ACEOF
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19339 #ifndef __INTEL_COMPILER
19347 rm -f conftest.$ac_objext
19348 if { (ac_try="$ac_compile"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19351 *) ac_try_echo
=$ac_try;;
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_compile") 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && {
19361 test -z "$ac_cxx_werror_flag" ||
19362 test ! -s conftest.err
19363 } && test -s conftest.
$ac_objext; then
19364 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.
$ac_ext >&5
19369 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19377 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19378 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19379 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19385 ac_cpp
='$CPP $CPPFLAGS'
19386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19393 if test "x$GCXX" != "xyes"; then
19394 if test "xCXX" = "xC"; then
19395 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19396 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19397 if test "${bakefile_cv_c_exto+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19400 cat >conftest.
$ac_ext <<_ACEOF
19403 cat confdefs.h
>>conftest.
$ac_ext
19404 cat >>conftest.
$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19415 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; then
19421 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19423 conftest.
$ac_ext.o
)
19424 bakefile_cv_c_exto
="-ext o"
19431 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19432 See \`config.log' for more details." >&5
19433 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19434 See \`config.log' for more details." >&2;}
19435 { (exit 1); exit 1; }; }
19439 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19442 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19443 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19444 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19445 if test "c" = "c"; then
19446 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19448 if test "c" = "cxx"; then
19449 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19453 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19454 unset ac_cv_prog_cc_g
19455 ac_test_CFLAGS
=${CFLAGS+set}
19456 ac_save_CFLAGS
=$CFLAGS
19457 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19458 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19459 if test "${ac_cv_prog_cc_g+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19462 ac_save_c_werror_flag
=$ac_c_werror_flag
19463 ac_c_werror_flag
=yes
19466 cat >conftest.
$ac_ext <<_ACEOF
19469 cat confdefs.h
>>conftest.
$ac_ext
19470 cat >>conftest.
$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19481 rm -f conftest.
$ac_objext
19482 if { (ac_try
="$ac_compile"
19483 case "(($ac_try" in
19484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19485 *) ac_try_echo=$ac_try;;
19487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19488 (eval "$ac_compile") 2>conftest.er1
19490 grep -v '^ *+' conftest.er1 >conftest.err
19492 cat conftest.err >&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } && {
19495 test -z "$ac_c_werror_flag" ||
19496 test ! -s conftest.err
19497 } && test -s conftest.$ac_objext; then
19498 ac_cv_prog_cc_g=yes
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.$ac_ext >&5
19504 cat >conftest.$ac_ext <<_ACEOF
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19523 *) ac_try_echo
=$ac_try;;
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19528 grep -v '^ *+' conftest.er1
>conftest.err
19530 cat conftest.err
>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.
$ac_objext; then
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.
$ac_ext >&5
19541 ac_c_werror_flag
=$ac_save_c_werror_flag
19543 cat >conftest.
$ac_ext <<_ACEOF
19546 cat confdefs.h
>>conftest.
$ac_ext
19547 cat >>conftest.
$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19558 rm -f conftest.
$ac_objext
19559 if { (ac_try
="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19567 grep -v '^ *+' conftest.er1 >conftest.err
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_prog_cc_g=yes
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19590 ac_c_werror_flag=$ac_save_c_werror_flag
19592 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19593 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19594 if test "$ac_test_CFLAGS" = set; then
19595 CFLAGS=$ac_save_CFLAGS
19596 elif test $ac_cv_prog_cc_g = yes; then
19597 if test "$GCC" = yes; then
19603 if test "$GCC" = yes; then
19617 ac_cpp='$CXXCPP $CPPFLAGS'
19618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19622 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19623 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19624 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19627 cat >conftest.$ac_ext <<_ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19650 *) ac_try_echo
=$ac_try;;
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_cxx_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.
$ac_objext; then
19663 bakefile_cv_cxx_compiler___xlC__
=yes
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.
$ac_ext >&5
19668 bakefile_cv_cxx_compiler___xlC__
=no
19672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19676 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19677 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19678 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19684 ac_cpp
='$CPP $CPPFLAGS'
19685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19697 ac_cpp
='$CXXCPP $CPPFLAGS'
19698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19702 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19703 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19704 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 cat >conftest.
$ac_ext <<_ACEOF
19710 cat confdefs.h
>>conftest.
$ac_ext
19711 cat >>conftest.
$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19726 rm -f conftest.
$ac_objext
19727 if { (ac_try
="$ac_compile"
19728 case "(($ac_try" in
19729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19730 *) ac_try_echo=$ac_try;;
19732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19733 (eval "$ac_compile") 2>conftest.er1
19735 grep -v '^ *+' conftest.er1 >conftest.err
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } && {
19740 test -z "$ac_cxx_werror_flag" ||
19741 test ! -s conftest.err
19742 } && test -s conftest.$ac_objext; then
19743 bakefile_cv_cxx_compiler___MWERKS__=yes
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19748 bakefile_cv_cxx_compiler___MWERKS__=no
19752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19756 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19757 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19758 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19764 ac_cpp='$CPP $CPPFLAGS'
19765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19774 ac_cpp='$CXXCPP $CPPFLAGS'
19775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19779 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19780 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19781 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19782 echo $ECHO_N "(cached) $ECHO_C" >&6
19784 cat >conftest.$ac_ext <<_ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19803 rm -f conftest.$ac_objext
19804 if { (ac_try="$ac_compile"
19805 case "(($ac_try" in
19806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19807 *) ac_try_echo
=$ac_try;;
19809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19810 (eval "$ac_compile") 2>conftest.er1
19812 grep -v '^ *+' conftest.er1
>conftest.err
19814 cat conftest.err
>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } && {
19817 test -z "$ac_cxx_werror_flag" ||
19818 test ! -s conftest.err
19819 } && test -s conftest.
$ac_objext; then
19820 bakefile_cv_cxx_compiler___xlC__
=yes
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.
$ac_ext >&5
19825 bakefile_cv_cxx_compiler___xlC__
=no
19829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19834 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19835 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19841 ac_cpp
='$CPP $CPPFLAGS'
19842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19854 ac_cpp
='$CXXCPP $CPPFLAGS'
19855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19859 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19860 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19861 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19862 echo $ECHO_N "(cached) $ECHO_C" >&6
19864 cat >conftest.
$ac_ext <<_ACEOF
19867 cat confdefs.h
>>conftest.
$ac_ext
19868 cat >>conftest.
$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19875 #ifndef _SGI_COMPILER_VERSION
19883 rm -f conftest.
$ac_objext
19884 if { (ac_try
="$ac_compile"
19885 case "(($ac_try" in
19886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_compile") 2>conftest.er1
19892 grep -v '^ *+' conftest.er1 >conftest.err
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } && {
19897 test -z "$ac_cxx_werror_flag" ||
19898 test ! -s conftest.err
19899 } && test -s conftest.$ac_objext; then
19900 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.$ac_ext >&5
19905 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19914 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19915 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19921 ac_cpp='$CPP $CPPFLAGS'
19922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19934 ac_cpp='$CXXCPP $CPPFLAGS'
19935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19939 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19940 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19941 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 cat >conftest.$ac_ext <<_ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19955 #ifndef __SUNPRO_CC
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19967 *) ac_try_echo
=$ac_try;;
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19972 grep -v '^ *+' conftest.er1
>conftest.err
19974 cat conftest.err
>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_cxx_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.
$ac_objext; then
19980 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.
$ac_ext >&5
19985 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19993 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19994 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19995 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20001 ac_cpp
='$CPP $CPPFLAGS'
20002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20014 ac_cpp
='$CXXCPP $CPPFLAGS'
20015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20019 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20020 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20021 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 cat >conftest.
$ac_ext <<_ACEOF
20027 cat confdefs.h
>>conftest.
$ac_ext
20028 cat >>conftest.
$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20043 rm -f conftest.
$ac_objext
20044 if { (ac_try
="$ac_compile"
20045 case "(($ac_try" in
20046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20047 *) ac_try_echo=$ac_try;;
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_compile") 2>conftest.er1
20052 grep -v '^ *+' conftest.er1 >conftest.err
20054 cat conftest.err >&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } && {
20057 test -z "$ac_cxx_werror_flag" ||
20058 test ! -s conftest.err
20059 } && test -s conftest.$ac_objext; then
20060 bakefile_cv_cxx_compiler___HP_aCC=yes
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20065 bakefile_cv_cxx_compiler___HP_aCC=no
20069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20075 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20081 ac_cpp='$CPP $CPPFLAGS'
20082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20094 ac_cpp='$CXXCPP $CPPFLAGS'
20095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20099 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20100 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20101 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 cat >conftest.$ac_ext <<_ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20123 rm -f conftest.$ac_objext
20124 if { (ac_try="$ac_compile"
20125 case "(($ac_try" in
20126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20127 *) ac_try_echo
=$ac_try;;
20129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 (eval "$ac_compile") 2>conftest.er1
20132 grep -v '^ *+' conftest.er1
>conftest.err
20134 cat conftest.err
>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } && {
20137 test -z "$ac_cxx_werror_flag" ||
20138 test ! -s conftest.err
20139 } && test -s conftest.
$ac_objext; then
20140 bakefile_cv_cxx_compiler___DECCXX
=yes
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.
$ac_ext >&5
20145 bakefile_cv_cxx_compiler___DECCXX
=no
20149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20155 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20161 ac_cpp
='$CPP $CPPFLAGS'
20162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20174 ac_cpp
='$CXXCPP $CPPFLAGS'
20175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20179 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20180 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20181 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20182 echo $ECHO_N "(cached) $ECHO_C" >&6
20184 cat >conftest.
$ac_ext <<_ACEOF
20187 cat confdefs.h
>>conftest.
$ac_ext
20188 cat >>conftest.
$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20195 #ifndef __SUNPRO_CC
20203 rm -f conftest.
$ac_objext
20204 if { (ac_try
="$ac_compile"
20205 case "(($ac_try" in
20206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_compile") 2>conftest.er1
20212 grep -v '^ *+' conftest.er1 >conftest.err
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && {
20217 test -z "$ac_cxx_werror_flag" ||
20218 test ! -s conftest.err
20219 } && test -s conftest.$ac_objext; then
20220 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20225 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20235 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20241 ac_cpp='$CPP $CPPFLAGS'
20242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20254 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20255 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20256 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20257 { (exit 1); exit 1; }; }
20260 if test "x$SUNCXX" != xyes; then
20261 if test -n "$ac_tool_prefix"; then
20262 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20263 set dummy ${ac_tool_prefix}ar; ac_word=$2
20264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20266 if test "${ac_cv_prog_AR+set}" = set; then
20267 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 if test -n "$AR"; then
20270 ac_cv_prog_AR="$AR" # Let the user override the test.
20272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20273 for as_dir in $PATH
20276 test -z "$as_dir" && as_dir=.
20277 for ac_exec_ext in '' $ac_executable_extensions; do
20278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20279 ac_cv_prog_AR="${ac_tool_prefix}ar"
20280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20290 if test -n "$AR"; then
20291 { echo "$as_me:$LINENO: result: $AR" >&5
20292 echo "${ECHO_T}$AR" >&6; }
20294 { echo "$as_me:$LINENO: result: no" >&5
20295 echo "${ECHO_T}no" >&6; }
20300 if test -z "$ac_cv_prog_AR"; then
20302 # Extract the first word of "ar", so it can be a program name with args.
20303 set dummy ar; ac_word=$2
20304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20306 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 if test -n "$ac_ct_AR"; then
20310 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20313 for as_dir in $PATH
20316 test -z "$as_dir" && as_dir=.
20317 for ac_exec_ext in '' $ac_executable_extensions; do
20318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20319 ac_cv_prog_ac_ct_AR="ar"
20320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20329 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20330 if test -n "$ac_ct_AR"; then
20331 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20332 echo "${ECHO_T}$ac_ct_AR" >&6; }
20334 { echo "$as_me:$LINENO: result: no" >&5
20335 echo "${ECHO_T}no" >&6; }
20338 if test "x$ac_ct_AR" = x; then
20341 case $cross_compiling:$ac_tool_warned in
20343 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20344 whose name does not start with the host triplet. If you think this
20345 configuration is useful to you, please write to autoconf@gnu.org." >&5
20346 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20347 whose name does not start with the host triplet. If you think this
20348 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20349 ac_tool_warned=yes ;;
20354 AR="$ac_cv_prog_AR"
20357 if test "x$AR" = "x" ; then
20358 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20359 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20360 { (exit 1); exit 1; }; }
20364 retest_macosx_linking=no
20366 #if test "$wxUSE_MAC" = 1; then
20367 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20368 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20369 # Implicitly turn on the new --with-macosx-sdk using the default
20370 # SDK which provides the behavior this option has always had.
20371 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20372 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20373 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20374 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20375 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20376 wxUSE_MACOSX_SDK=yes
20379 # Complain to user if he specified an argument to --enable-universal_binary
20380 # and also 1) specified --with-macosx-sdk using the default (yes) or
20381 # 2) specified --with-macosx-sdk using a path or 3) specified
20382 # --without-macosx-sdk (no).
20383 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20384 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20385 See \`config.log
' for more details." >&5
20386 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20387 See \`config.log' for more details.
" >&2;}
20388 { (exit 1); exit 1; }; }
20390 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20391 # special-case the empty string because the below test simply
20392 # converts "no
" to the empty string anyway.
20393 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20394 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20395 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20398 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20399 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20400 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20401 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20402 retest_macosx_linking=yes
20404 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20405 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20410 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20412 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20413 # TODO: Search for most recent SDK and use it.
20414 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20418 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20419 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20420 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20421 if ! test -d "$wxUSE_MACOSX_SDK"; then
20422 { { echo "$as_me:$LINENO: error
: not found
20423 See \
`config.log' for more details." >&5
20424 echo "$as_me: error: not found
20425 See \`config.log
' for more details." >&2;}
20426 { (exit 1); exit 1; }; }
20428 { echo "$as_me:$LINENO: result: exists" >&5
20429 echo "${ECHO_T}exists" >&6; }
20431 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20432 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20433 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20434 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20435 retest_macosx_linking=yes
20438 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20439 wxUSE_MACOSX_VERSION_MIN=
20440 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20441 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20442 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20443 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20445 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/'`
20447 # If that failed, try again with the new key
20448 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20450 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/'`
20454 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20455 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20456 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20457 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20459 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20460 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20461 wxUSE_MACOSX_VERSION_MIN=
20464 wxUSE_MACOSX_VERSION_MIN=
20468 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20469 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20470 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20471 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20472 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20473 retest_macosx_linking=yes
20476 if test "x$retest_macosx_linking" = "xyes"; then
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20480 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20483 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20484 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20485 cat >conftest.$ac_ext <<_ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20500 rm -f conftest.$ac_objext conftest$ac_exeext
20501 if { (ac_try="$ac_link"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_link") 2>conftest.er1
20509 grep -v '^
*+' conftest.er1 >conftest.err
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest$ac_exeext &&
20517 $as_test_x conftest$ac_exeext; then
20518 { echo "$as_me:$LINENO: result: yes" >&5
20519 echo "${ECHO_T}yes" >&6; }
20521 echo "$as_me: failed program was:" >&5
20522 sed 's
/^
/| /' conftest.$ac_ext >&5
20524 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20525 See \`config.log' for more details.
" >&5
20526 echo "$as_me: error
: no. Try a different SDK
20527 See \
`config.log' for more details." >&2;}
20528 { (exit 1); exit 1; }; }; exit 1
20531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20532 conftest$ac_exeext conftest.$ac_ext
20534 ac_cpp='$CPP $CPPFLAGS'
20535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20541 ac_cpp='$CXXCPP $CPPFLAGS'
20542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20546 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20547 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20548 cat >conftest.$ac_ext <<_ACEOF
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20563 rm -f conftest.$ac_objext conftest$ac_exeext
20564 if { (ac_try="$ac_link"
20565 case "(($ac_try" in
20566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20567 *) ac_try_echo
=$ac_try;;
20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20570 (eval "$ac_link") 2>conftest.er1
20572 grep -v '^ *+' conftest.er1
>conftest.err
20574 cat conftest.err
>&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } && {
20577 test -z "$ac_cxx_werror_flag" ||
20578 test ! -s conftest.err
20579 } && test -s conftest
$ac_exeext &&
20580 $as_test_x conftest
$ac_exeext; then
20581 { echo "$as_me:$LINENO: result: yes" >&5
20582 echo "${ECHO_T}yes" >&6; }
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.
$ac_ext >&5
20587 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: no. Try a different SDK
20590 See \`config.log' for more details." >&2;}
20591 { (exit 1); exit 1; }; }; exit 1
20594 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20595 conftest
$ac_exeext conftest.
$ac_ext
20597 ac_cpp
='$CPP $CPPFLAGS'
20598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20608 INSTALL_PROGRAM
="cp -fp"
20609 INSTALL_DATA
="cp -fp"
20616 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20617 CXXFLAGS
="-qunique $CXXFLAGS"
20621 powerpc
-*-darwin* )
20622 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20623 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20624 cat >conftest.
$ac_ext <<_ACEOF
20627 cat confdefs.h
>>conftest.
$ac_ext
20628 cat >>conftest.
$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20634 #ifndef __POWERPC__
20635 choke me for lack of PowerPC
20642 rm -f conftest.
$ac_objext
20643 if { (ac_try
="$ac_compile"
20644 case "(($ac_try" in
20645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_compile") 2>conftest.er1
20651 grep -v '^ *+' conftest.er1 >conftest.err
20653 cat conftest.err >&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } && {
20656 test -z "$ac_c_werror_flag" ||
20657 test ! -s conftest.err
20658 } && test -s conftest.$ac_objext; then
20659 { echo "$as_me:$LINENO: result: yes" >&5
20660 echo "${ECHO_T}yes" >&6; }
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20665 { echo "$as_me:$LINENO: result: no" >&5
20666 echo "${ECHO_T}no" >&6; }
20667 cat >>confdefs.h <<\_ACEOF
20668 #define __POWERPC__ 1
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20680 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20681 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20682 cat >conftest.$ac_ext <<_ACEOF
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 #include <CoreFoundation/CFBase.h>
20698 rm -f conftest.$ac_objext
20699 if { (ac_try="$ac_compile"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20702 *) ac_try_echo
=$ac_try;;
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_compile") 2>conftest.er1
20707 grep -v '^ *+' conftest.er1
>conftest.err
20709 cat conftest.err
>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && {
20712 test -z "$ac_c_werror_flag" ||
20713 test ! -s conftest.err
20714 } && test -s conftest.
$ac_objext; then
20715 { echo "$as_me:$LINENO: result: yes" >&5
20716 echo "${ECHO_T}yes" >&6; }
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.
$ac_ext >&5
20721 { echo "$as_me:$LINENO: result: no" >&5
20722 echo "${ECHO_T}no" >&6; }
20723 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20724 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20725 cat >conftest.
$ac_ext <<_ACEOF
20728 cat confdefs.h
>>conftest.
$ac_ext
20729 cat >>conftest.
$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 #define __CF_USE_FRAMEWORK_INCLUDES__
20732 #include <CoreFoundation/CFBase.h>
20742 rm -f conftest.
$ac_objext
20743 if { (ac_try
="$ac_compile"
20744 case "(($ac_try" in
20745 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_compile") 2>conftest.er1
20751 grep -v '^ *+' conftest.er1 >conftest.err
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } && {
20756 test -z "$ac_c_werror_flag" ||
20757 test ! -s conftest.err
20758 } && test -s conftest.$ac_objext; then
20759 { echo "$as_me:$LINENO: result: yes" >&5
20760 echo "${ECHO_T}yes" >&6; }
20761 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20766 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20767 See \`config.log
' for more details." >&5
20768 echo "$as_me: error: no. CoreFoundation not available.
20769 See \`config.log' for more details.
" >&2;}
20770 { (exit 1); exit 1; }; }
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 doesnt_want_win32=0
20787 if test "$wxUSE_MSW" = 1 ; then
20790 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20791 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20792 if test "${wx_cv_nocygwin+set}" = set; then
20793 echo $ECHO_N "(cached
) $ECHO_C" >&6
20796 cat >conftest.$ac_ext <<_ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20815 rm -f conftest.$ac_objext
20816 if { (ac_try="$ac_compile"
20817 case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_compile") 2>conftest.er1
20824 grep -v '^ *+' conftest.er1 >conftest.err
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20828 (exit $ac_status); } && {
20829 test -z "$ac_c_werror_flag" ||
20830 test ! -s conftest.err
20831 } && test -s conftest.$ac_objext; then
20834 echo "$as_me: failed program was
:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20845 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20846 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20848 if test "$wx_cv_nocygwin" = "yes"; then
20851 doesnt_want_win32=1
20854 if test "$wants_win32" = 1 ; then
20855 BAKEFILE_FORCE_PLATFORM=win32
20863 if test "$wxUSE_WINE" = "yes"; then
20865 LDFLAGS_GUI="-mwindows"
20868 if test "$wants_win32" = 1 ; then
20871 cat >>confdefs.h <<\_ACEOF
20872 #define __WIN32__ 1
20875 cat >>confdefs.h <<\_ACEOF
20876 #define __WIN95__ 1
20879 cat >>confdefs.h <<\_ACEOF
20880 #define __WINDOWS__ 1
20883 cat >>confdefs.h <<\_ACEOF
20884 #define __GNUWIN32__ 1
20887 cat >>confdefs.h <<\_ACEOF
20892 if test "$doesnt_want_win32" = 1 ; then
20897 if test "$USE_UNIX" = 1 ; then
20899 cat >>confdefs.h <<\_ACEOF
20906 *-pc-os2_emx | *-pc-os2-emx )
20907 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20908 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20909 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20910 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20911 echo $ECHO_N "(cached
) $ECHO_C" >&6
20913 ac_check_lib_save_LIBS=$LIBS
20914 LIBS="-lcExt $LIBS"
20915 cat >conftest.$ac_ext <<_ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20922 /* Override any GCC internal prototype to avoid an error.
20923 Use char because int might match the return type of a GCC
20924 builtin and then its argument prototype would still apply. */
20937 rm -f conftest.$ac_objext conftest$ac_exeext
20938 if { (ac_try="$ac_link"
20939 case "(($ac_try" in
20940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20941 *) ac_try_echo=$ac_try;;
20943 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20944 (eval "$ac_link") 2>conftest.er1
20946 grep -v '^ *+' conftest.er1 >conftest.err
20948 cat conftest.err >&5
20949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20950 (exit $ac_status); } && {
20951 test -z "$ac_c_werror_flag" ||
20952 test ! -s conftest.err
20953 } && test -s conftest$ac_exeext &&
20954 $as_test_x conftest$ac_exeext; then
20955 ac_cv_lib_cExt_drand48=yes
20957 echo "$as_me: failed program was
:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20960 ac_cv_lib_cExt_drand48=no
20963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20964 conftest$ac_exeext conftest.$ac_ext
20965 LIBS=$ac_check_lib_save_LIBS
20967 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
20968 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20969 if test $ac_cv_lib_cExt_drand48 = yes; then
20970 LIBS="$LIBS -lcExt"
20974 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
20976 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
20977 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
20978 if test "${wx_cv_gccversion+set}" = set; then
20979 echo $ECHO_N "(cached
) $ECHO_C" >&6
20982 if test "$cross_compiling" = yes; then
20983 wx_cv_gccversion="EMX2
"
20986 cat >conftest.$ac_ext <<_ACEOF
20989 cat confdefs.h >>conftest.$ac_ext
20990 cat >>conftest.$ac_ext <<_ACEOF
20991 /* end confdefs.h. */
20997 FILE *f=fopen("conftestval
", "w
");
21002 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21004 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21014 rm -f conftest$ac_exeext
21015 if { (ac_try="$ac_link"
21016 case "(($ac_try" in
21017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21018 *) ac_try_echo=$ac_try;;
21020 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21021 (eval "$ac_link") 2>&5
21023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21025 { (case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_try") 2>&5
21032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21033 (exit $ac_status); }; }; then
21034 wx_cv_gccversion=`cat conftestval`
21036 echo "$as_me: program exited with status
$ac_status" >&5
21037 echo "$as_me: failed program was
:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21040 ( exit $ac_status )
21041 wx_cv_gccversion="EMX2
"
21043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21049 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
21050 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21051 if test "$wx_cv_gccversion" = "EMX2
"; then
21052 LIBS="$LIBS -lstdcpp"
21053 LDFLAGS="$LDFLAGS -Zsysv-signals"
21055 if test "$wx_cv_gccversion" = "EMX3
"; then
21056 LIBS="$LIBS -lstdcxx -lgcc"
21057 LDFLAGS="$LDFLAGS -Zsysv-signals"
21059 LIBS="$LIBS -lstdc++"
21062 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
21063 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
21064 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
21071 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
21072 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
21073 if test "${ac_cv_string_strcasecmp+set}" = set; then
21074 echo $ECHO_N "(cached
) $ECHO_C" >&6
21077 cat >conftest.$ac_ext <<_ACEOF
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h. */
21084 #include <string.h>
21090 strcasecmp("foo
", "bar
");
21096 rm -f conftest.$ac_objext conftest$ac_exeext
21097 if { (ac_try="$ac_link"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_link") 2>conftest.er1
21105 grep -v '^ *+' conftest.er1 >conftest.err
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest$ac_exeext &&
21113 $as_test_x conftest$ac_exeext; then
21114 ac_cv_string_strcasecmp=yes
21116 echo "$as_me: failed program was
:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21119 ac_cv_string_strcasecmp=no
21123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21124 conftest$ac_exeext conftest.$ac_ext
21127 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21128 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21130 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21131 cat >>confdefs.h <<\_ACEOF
21132 #define HAVE_STRCASECMP_IN_STRING_H 1
21136 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21137 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21138 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21139 echo $ECHO_N "(cached
) $ECHO_C" >&6
21142 cat >conftest.$ac_ext <<_ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21149 #include <strings.h>
21155 strcasecmp("foo
", "bar
");
21161 rm -f conftest.$ac_objext conftest$ac_exeext
21162 if { (ac_try="$ac_link"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21167 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_link") 2>conftest.er1
21170 grep -v '^ *+' conftest.er1 >conftest.err
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest$ac_exeext &&
21178 $as_test_x conftest$ac_exeext; then
21179 ac_cv_strings_strcasecmp=yes
21181 echo "$as_me: failed program was
:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21184 ac_cv_strings_strcasecmp=no
21188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21189 conftest$ac_exeext conftest.$ac_ext
21192 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21193 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21195 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21196 cat >>confdefs.h <<\_ACEOF
21197 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21201 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21202 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21203 { (exit 1); exit 1; }; }
21211 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21212 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21213 if test "${ac_cv_header_stdc+set}" = set; then
21214 echo $ECHO_N "(cached
) $ECHO_C" >&6
21216 cat >conftest.$ac_ext <<_ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222 #include <stdlib.h>
21223 #include <stdarg.h>
21224 #include <string.h>
21235 rm -f conftest.$ac_objext
21236 if { (ac_try="$ac_compile"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_compile") 2>conftest.er1
21244 grep -v '^ *+' conftest.er1 >conftest.err
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21248 (exit $ac_status); } && {
21249 test -z "$ac_c_werror_flag" ||
21250 test ! -s conftest.err
21251 } && test -s conftest.$ac_objext; then
21252 ac_cv_header_stdc=yes
21254 echo "$as_me: failed program was
:" >&5
21255 sed 's/^/| /' conftest.$ac_ext >&5
21257 ac_cv_header_stdc=no
21260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21262 if test $ac_cv_header_stdc = yes; then
21263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21264 cat >conftest.$ac_ext <<_ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 #include <string.h>
21273 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21274 $EGREP "memchr
" >/dev/null 2>&1; then
21277 ac_cv_header_stdc=no
21283 if test $ac_cv_header_stdc = yes; then
21284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21285 cat >conftest.$ac_ext <<_ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 #include <stdlib.h>
21294 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21295 $EGREP "free
" >/dev/null 2>&1; then
21298 ac_cv_header_stdc=no
21304 if test $ac_cv_header_stdc = yes; then
21305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21306 if test "$cross_compiling" = yes; then
21309 cat >conftest.$ac_ext <<_ACEOF
21312 cat confdefs.h >>conftest.$ac_ext
21313 cat >>conftest.$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21316 #include <stdlib.h>
21317 #if ((' ' & 0x0FF) == 0x020)
21318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21321 # define ISLOWER(c) \
21322 (('a' <= (c) && (c) <= 'i') \
21323 || ('j' <= (c) && (c) <= 'r') \
21324 || ('s' <= (c) && (c) <= 'z'))
21325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21333 for (i = 0; i < 256; i++)
21334 if (XOR (islower (i), ISLOWER (i))
21335 || toupper (i) != TOUPPER (i))
21340 rm -f conftest$ac_exeext
21341 if { (ac_try="$ac_link"
21342 case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_link") 2>&5
21349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21359 (exit $ac_status); }; }; then
21362 echo "$as_me: program exited with status
$ac_status" >&5
21363 echo "$as_me: failed program was
:" >&5
21364 sed 's/^/| /' conftest.$ac_ext >&5
21366 ( exit $ac_status )
21367 ac_cv_header_stdc=no
21369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21375 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21376 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21377 if test $ac_cv_header_stdc = yes; then
21379 cat >>confdefs.h <<\_ACEOF
21380 #define STDC_HEADERS 1
21385 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21396 inttypes.h stdint.h unistd.h
21398 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21399 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21400 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21401 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21402 echo $ECHO_N "(cached
) $ECHO_C" >&6
21404 cat >conftest.$ac_ext <<_ACEOF
21407 cat confdefs.h >>conftest.$ac_ext
21408 cat >>conftest.$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21410 $ac_includes_default
21412 #include <$ac_header>
21414 rm -f conftest.$ac_objext
21415 if { (ac_try="$ac_compile"
21416 case "(($ac_try" in
21417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;;
21420 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21421 (eval "$ac_compile") 2>conftest.er1
21423 grep -v '^ *+' conftest.er1 >conftest.err
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21427 (exit $ac_status); } && {
21428 test -z "$ac_c_werror_flag" ||
21429 test ! -s conftest.err
21430 } && test -s conftest.$ac_objext; then
21431 eval "$as_ac_Header=yes"
21433 echo "$as_me: failed program was
:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21436 eval "$as_ac_Header=no
"
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 ac_res=`eval echo '${'$as_ac_Header'}'`
21442 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21443 echo "${ECHO_T}$ac_res" >&6; }
21444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21445 cat >>confdefs.h <<_ACEOF
21446 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21456 for ac_header in langinfo.h wchar.h
21458 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21459 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21460 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21461 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21462 echo $ECHO_N "(cached
) $ECHO_C" >&6
21464 cat >conftest.$ac_ext <<_ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470 $ac_includes_default
21472 #include <$ac_header>
21474 rm -f conftest.$ac_objext
21475 if { (ac_try="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21483 grep -v '^ *+' conftest.er1 >conftest.err
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21491 eval "$as_ac_Header=yes"
21493 echo "$as_me: failed program was
:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21496 eval "$as_ac_Header=no
"
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501 ac_res=`eval echo '${'$as_ac_Header'}'`
21502 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21503 echo "${ECHO_T}$ac_res" >&6; }
21504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21505 cat >>confdefs.h <<_ACEOF
21506 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21514 if test "$ac_cv_header_wchar_h" != "yes"; then
21516 for ac_header in wcstr.h
21518 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21519 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21520 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21521 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21522 echo $ECHO_N "(cached
) $ECHO_C" >&6
21524 cat >conftest.$ac_ext <<_ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21532 #include <$ac_header>
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21543 grep -v '^ *+' conftest.er1 >conftest.err
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 eval "$as_ac_Header=yes"
21553 echo "$as_me: failed program was
:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21556 eval "$as_ac_Header=no
"
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21561 ac_res=`eval echo '${'$as_ac_Header'}'`
21562 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21563 echo "${ECHO_T}$ac_res" >&6; }
21564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21565 cat >>confdefs.h <<_ACEOF
21566 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21576 *-pc-os2_emx | *-pc-os2-emx )
21577 if test $ac_cv_header_langinfo_h = "yes" \
21578 -a \( "$wx_cv_gccversion" = "EMX2
" \
21579 -o "$wx_cv_gccversion" = "EMX3
" \
21580 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21581 LIBS="$LIBS -lintl"
21586 if test "$USE_UNIX" = 1 ; then
21588 for ac_header in sys/select.h
21590 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21591 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21592 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21593 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21594 echo $ECHO_N "(cached
) $ECHO_C" >&6
21596 cat >conftest.$ac_ext <<_ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 $ac_includes_default
21604 #include <$ac_header>
21606 rm -f conftest.$ac_objext
21607 if { (ac_try="$ac_compile"
21608 case "(($ac_try" in
21609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21612 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21613 (eval "$ac_compile") 2>conftest.er1
21615 grep -v '^ *+' conftest.er1 >conftest.err
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21619 (exit $ac_status); } && {
21620 test -z "$ac_c_werror_flag" ||
21621 test ! -s conftest.err
21622 } && test -s conftest.$ac_objext; then
21623 eval "$as_ac_Header=yes"
21625 echo "$as_me: failed program was
:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21628 eval "$as_ac_Header=no
"
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 ac_res=`eval echo '${'$as_ac_Header'}'`
21634 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21635 echo "${ECHO_T}$ac_res" >&6; }
21636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21637 cat >>confdefs.h <<_ACEOF
21638 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21648 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21649 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21650 if test "${ac_cv_c_const+set}" = set; then
21651 echo $ECHO_N "(cached
) $ECHO_C" >&6
21653 cat >conftest.$ac_ext <<_ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21663 /* FIXME: Include the comments suggested by Paul. */
21664 #ifndef __cplusplus
21665 /* Ultrix mips cc rejects this. */
21666 typedef int charset[2];
21668 /* SunOS 4.1.1 cc rejects this. */
21669 char const *const *pcpcc;
21671 /* NEC SVR4.0.2 mips cc rejects this. */
21672 struct point {int x, y;};
21673 static struct point const zero = {0,0};
21674 /* AIX XL C 1.02.0.0 rejects this.
21675 It does not let you subtract one const X* pointer from another in
21676 an arm of an if-expression whose if-part is not a constant
21678 const char *g = "string
";
21679 pcpcc = &g + (g ? g-g : 0);
21680 /* HPUX 7.0 cc rejects these. */
21682 ppc = (char**) pcpcc;
21683 pcpcc = (char const *const *) ppc;
21684 { /* SCO 3.2v4 cc rejects this. */
21686 char const *s = 0 ? (char *) 0 : (char const *) 0;
21691 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21692 int x[] = {25, 17};
21693 const int *foo = &x[0];
21696 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21697 typedef const int *iptr;
21701 { /* AIX XL C 1.02.0.0 rejects this saying
21702 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21703 struct s { int j; const int *ap[3]; };
21704 struct s *b; b->j = 5;
21706 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21707 const int foo = 10;
21708 if (!foo) return 0;
21710 return !cs[0] && !zero.x;
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
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21744 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21745 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21746 if test $ac_cv_c_const = no; then
21748 cat >>confdefs.h <<\_ACEOF
21754 { echo "$as_me:$LINENO: checking
for inline
" >&5
21755 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21756 if test "${ac_cv_c_inline+set}" = set; then
21757 echo $ECHO_N "(cached
) $ECHO_C" >&6
21760 for ac_kw in inline __inline__ __inline; do
21761 cat >conftest.$ac_ext <<_ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 #ifndef __cplusplus
21769 static $ac_kw foo_t static_foo () {return 0; }
21770 $ac_kw foo_t foo () {return 0; }
21774 rm -f conftest.$ac_objext
21775 if { (ac_try="$ac_compile"
21776 case "(($ac_try" in
21777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_compile") 2>conftest.er1
21783 grep -v '^ *+' conftest.er1 >conftest.err
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21787 (exit $ac_status); } && {
21788 test -z "$ac_c_werror_flag" ||
21789 test ! -s conftest.err
21790 } && test -s conftest.$ac_objext; then
21791 ac_cv_c_inline=$ac_kw
21793 echo "$as_me: failed program was
:" >&5
21794 sed 's/^/| /' conftest.$ac_ext >&5
21799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21800 test "$ac_cv_c_inline" != no && break
21804 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21805 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21808 case $ac_cv_c_inline in
21811 case $ac_cv_c_inline in
21813 *) ac_val=$ac_cv_c_inline;;
21815 cat >>confdefs.h <<_ACEOF
21816 #ifndef __cplusplus
21817 #define inline $ac_val
21824 { echo "$as_me:$LINENO: checking
for short
" >&5
21825 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21826 if test "${ac_cv_type_short+set}" = set; then
21827 echo $ECHO_N "(cached
) $ECHO_C" >&6
21829 cat >conftest.$ac_ext <<_ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835 $ac_includes_default
21836 typedef short ac__type_new_;
21840 if ((ac__type_new_ *) 0)
21842 if (sizeof (ac__type_new_))
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21854 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21857 grep -v '^ *+' conftest.er1 >conftest.err
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_cv_type_short=yes
21867 echo "$as_me: failed program was
:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21870 ac_cv_type_short=no
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21876 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21878 # The cast to long int works around a bug in the HP C Compiler
21879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21881 # This bug is HP SR number 8606223364.
21882 { echo "$as_me:$LINENO: checking size of short
" >&5
21883 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21884 if test "${ac_cv_sizeof_short+set}" = set; then
21885 echo $ECHO_N "(cached
) $ECHO_C" >&6
21887 if test "$cross_compiling" = yes; then
21888 # Depending upon the size, compute the lo and hi bounds.
21889 cat >conftest.$ac_ext <<_ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 typedef short ac__type_sizeof_;
21900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21907 rm -f conftest.$ac_objext
21908 if { (ac_try="$ac_compile"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_compile") 2>conftest.er1
21916 grep -v '^ *+' conftest.er1 >conftest.err
21918 cat conftest.err >&5
21919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21920 (exit $ac_status); } && {
21921 test -z "$ac_c_werror_flag" ||
21922 test ! -s conftest.err
21923 } && test -s conftest.$ac_objext; then
21926 cat >conftest.$ac_ext <<_ACEOF
21929 cat confdefs.h >>conftest.$ac_ext
21930 cat >>conftest.$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21932 $ac_includes_default
21933 typedef short ac__type_sizeof_;
21937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21944 rm -f conftest.$ac_objext
21945 if { (ac_try="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21953 grep -v '^ *+' conftest.er1 >conftest.err
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21957 (exit $ac_status); } && {
21958 test -z "$ac_c_werror_flag" ||
21959 test ! -s conftest.err
21960 } && test -s conftest.$ac_objext; then
21961 ac_hi=$ac_mid; break
21963 echo "$as_me: failed program was
:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21966 ac_lo=`expr $ac_mid + 1`
21967 if test $ac_lo -le $ac_mid; then
21971 ac_mid=`expr 2 '*' $ac_mid + 1`
21974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21977 echo "$as_me: failed program was
:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21980 cat >conftest.$ac_ext <<_ACEOF
21983 cat confdefs.h >>conftest.$ac_ext
21984 cat >>conftest.$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21986 $ac_includes_default
21987 typedef short ac__type_sizeof_;
21991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21998 rm -f conftest.$ac_objext
21999 if { (ac_try="$ac_compile"
22000 case "(($ac_try" in
22001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22002 *) ac_try_echo=$ac_try;;
22004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22005 (eval "$ac_compile") 2>conftest.er1
22007 grep -v '^ *+' conftest.er1 >conftest.err
22009 cat conftest.err >&5
22010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22011 (exit $ac_status); } && {
22012 test -z "$ac_c_werror_flag" ||
22013 test ! -s conftest.err
22014 } && test -s conftest.$ac_objext; then
22017 cat >conftest.$ac_ext <<_ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 $ac_includes_default
22024 typedef short ac__type_sizeof_;
22028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22044 grep -v '^ *+' conftest.er1 >conftest.err
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22048 (exit $ac_status); } && {
22049 test -z "$ac_c_werror_flag" ||
22050 test ! -s conftest.err
22051 } && test -s conftest.$ac_objext; then
22052 ac_lo=$ac_mid; break
22054 echo "$as_me: failed program was
:" >&5
22055 sed 's/^/| /' conftest.$ac_ext >&5
22057 ac_hi=`expr '(' $ac_mid ')' - 1`
22058 if test $ac_mid -le $ac_hi; then
22062 ac_mid=`expr 2 '*' $ac_mid`
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22068 echo "$as_me: failed program was
:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22078 # Binary search between lo and hi bounds.
22079 while test "x
$ac_lo" != "x
$ac_hi"; do
22080 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22081 cat >conftest.$ac_ext <<_ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef short ac__type_sizeof_;
22092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22099 rm -f conftest.$ac_objext
22100 if { (ac_try="$ac_compile"
22101 case "(($ac_try" in
22102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22106 (eval "$ac_compile") 2>conftest.er1
22108 grep -v '^ *+' conftest.er1 >conftest.err
22110 cat conftest.err >&5
22111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22112 (exit $ac_status); } && {
22113 test -z "$ac_c_werror_flag" ||
22114 test ! -s conftest.err
22115 } && test -s conftest.$ac_objext; then
22118 echo "$as_me: failed program was
:" >&5
22119 sed 's/^/| /' conftest.$ac_ext >&5
22121 ac_lo=`expr '(' $ac_mid ')' + 1`
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127 ?*) ac_cv_sizeof_short=$ac_lo;;
22128 '') if test "$ac_cv_type_short" = yes; then
22129 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22130 See \
`config.log' for more details." >&5
22131 echo "$as_me: error: cannot compute sizeof (short)
22132 See \`config.log
' for more details." >&2;}
22133 { (exit 77); exit 77; }; }
22135 ac_cv_sizeof_short=0
22139 cat >conftest.$ac_ext <<_ACEOF
22142 cat confdefs.h >>conftest.$ac_ext
22143 cat >>conftest.$ac_ext <<_ACEOF
22144 /* end confdefs.h. */
22145 $ac_includes_default
22146 typedef short ac__type_sizeof_;
22147 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22148 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22150 #include <stdlib.h>
22155 FILE *f = fopen ("conftest.val", "w");
22158 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22160 long int i = longval ();
22161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22163 fprintf (f, "%ld\n", i);
22167 unsigned long int i = ulongval ();
22168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22170 fprintf (f, "%lu\n", i);
22172 return ferror (f) || fclose (f) != 0;
22178 rm -f conftest$ac_exeext
22179 if { (ac_try="$ac_link"
22180 case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_link") 2>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22189 { (case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_try") 2>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; }; then
22198 ac_cv_sizeof_short=`cat conftest.val`
22200 echo "$as_me: program exited with status $ac_status" >&5
22201 echo "$as_me: failed program was:" >&5
22202 sed 's
/^
/| /' conftest.$ac_ext >&5
22204 ( exit $ac_status )
22205 if test "$ac_cv_type_short" = yes; then
22206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22207 See \`config.log' for more details.
" >&5
22208 echo "$as_me: error
: cannot compute sizeof
(short
)
22209 See \
`config.log' for more details." >&2;}
22210 { (exit 77); exit 77; }; }
22212 ac_cv_sizeof_short=0
22215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22219 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22220 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22224 cat >>confdefs.h <<_ACEOF
22225 #define SIZEOF_SHORT $ac_cv_sizeof_short
22229 { echo "$as_me:$LINENO: checking for void *" >&5
22230 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22231 if test "${ac_cv_type_void_p+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22234 cat >conftest.$ac_ext <<_ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240 $ac_includes_default
22241 typedef void * ac__type_new_;
22245 if ((ac__type_new_ *) 0)
22247 if (sizeof (ac__type_new_))
22253 rm -f conftest.$ac_objext
22254 if { (ac_try="$ac_compile"
22255 case "(($ac_try" in
22256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22257 *) ac_try_echo
=$ac_try;;
22259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22260 (eval "$ac_compile") 2>conftest.er1
22262 grep -v '^ *+' conftest.er1
>conftest.err
22264 cat conftest.err
>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } && {
22267 test -z "$ac_c_werror_flag" ||
22268 test ! -s conftest.err
22269 } && test -s conftest.
$ac_objext; then
22270 ac_cv_type_void_p
=yes
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.
$ac_ext >&5
22275 ac_cv_type_void_p
=no
22278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22280 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22281 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22283 # The cast to long int works around a bug in the HP C Compiler
22284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22286 # This bug is HP SR number 8606223364.
22287 { echo "$as_me:$LINENO: checking size of void *" >&5
22288 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22289 if test "${ac_cv_sizeof_void_p+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 if test "$cross_compiling" = yes; then
22293 # Depending upon the size, compute the lo and hi bounds.
22294 cat >conftest.
$ac_ext <<_ACEOF
22297 cat confdefs.h
>>conftest.
$ac_ext
22298 cat >>conftest.
$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 $ac_includes_default
22301 typedef void * ac__type_sizeof_;
22305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22312 rm -f conftest.
$ac_objext
22313 if { (ac_try
="$ac_compile"
22314 case "(($ac_try" in
22315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22316 *) ac_try_echo=$ac_try;;
22318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22319 (eval "$ac_compile") 2>conftest.er1
22321 grep -v '^ *+' conftest.er1 >conftest.err
22323 cat conftest.err >&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } && {
22326 test -z "$ac_c_werror_flag" ||
22327 test ! -s conftest.err
22328 } && test -s conftest.$ac_objext; then
22331 cat >conftest.$ac_ext <<_ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef void * ac__type_sizeof_;
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22353 *) ac_try_echo
=$ac_try;;
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22358 grep -v '^ *+' conftest.er1
>conftest.err
22360 cat conftest.err
>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.
$ac_objext; then
22366 ac_hi
=$ac_mid; break
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.
$ac_ext >&5
22371 ac_lo
=`expr $ac_mid + 1`
22372 if test $ac_lo -le $ac_mid; then
22376 ac_mid
=`expr 2 '*' $ac_mid + 1`
22379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.
$ac_ext >&5
22385 cat >conftest.
$ac_ext <<_ACEOF
22388 cat confdefs.h
>>conftest.
$ac_ext
22389 cat >>conftest.
$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22391 $ac_includes_default
22392 typedef void * ac__type_sizeof_;
22396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22403 rm -f conftest.
$ac_objext
22404 if { (ac_try
="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22412 grep -v '^ *+' conftest.er1 >conftest.err
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22422 cat >conftest.$ac_ext <<_ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 $ac_includes_default
22429 typedef void * ac__type_sizeof_;
22433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22444 *) ac_try_echo
=$ac_try;;
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22449 grep -v '^ *+' conftest.er1
>conftest.err
22451 cat conftest.err
>&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest.
$ac_objext; then
22457 ac_lo
=$ac_mid; break
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.
$ac_ext >&5
22462 ac_hi
=`expr '(' $ac_mid ')' - 1`
22463 if test $ac_mid -le $ac_hi; then
22467 ac_mid
=`expr 2 '*' $ac_mid`
22470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22473 echo "$as_me: failed program was:" >&5
22474 sed 's/^/| /' conftest.
$ac_ext >&5
22479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22483 # Binary search between lo and hi bounds.
22484 while test "x$ac_lo" != "x$ac_hi"; do
22485 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22486 cat >conftest.
$ac_ext <<_ACEOF
22489 cat confdefs.h
>>conftest.
$ac_ext
22490 cat >>conftest.
$ac_ext <<_ACEOF
22491 /* end confdefs.h. */
22492 $ac_includes_default
22493 typedef void * ac__type_sizeof_;
22497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22504 rm -f conftest.
$ac_objext
22505 if { (ac_try
="$ac_compile"
22506 case "(($ac_try" in
22507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22508 *) ac_try_echo=$ac_try;;
22510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22511 (eval "$ac_compile") 2>conftest.er1
22513 grep -v '^ *+' conftest.er1 >conftest.err
22515 cat conftest.err >&5
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); } && {
22518 test -z "$ac_c_werror_flag" ||
22519 test ! -s conftest.err
22520 } && test -s conftest.$ac_objext; then
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22526 ac_lo=`expr '(' $ac_mid ')' + 1`
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22533 '') if test "$ac_cv_type_void_p" = yes; then
22534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22535 See \`config.log
' for more details." >&5
22536 echo "$as_me: error: cannot compute sizeof (void *)
22537 See \`config.log' for more details.
" >&2;}
22538 { (exit 77); exit 77; }; }
22540 ac_cv_sizeof_void_p=0
22544 cat >conftest.$ac_ext <<_ACEOF
22547 cat confdefs.h >>conftest.$ac_ext
22548 cat >>conftest.$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 $ac_includes_default
22551 typedef void * ac__type_sizeof_;
22552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22555 #include <stdlib.h>
22560 FILE *f = fopen ("conftest.val
", "w
");
22563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22565 long int i = longval ();
22566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22568 fprintf (f, "%ld
\n", i);
22572 unsigned long int i = ulongval ();
22573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22575 fprintf (f, "%lu
\n", i);
22577 return ferror (f) || fclose (f) != 0;
22583 rm -f conftest$ac_exeext
22584 if { (ac_try="$ac_link"
22585 case "(($ac_try" in
22586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587 *) ac_try_echo=$ac_try;;
22589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22590 (eval "$ac_link") 2>&5
22592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22594 { (case "(($ac_try" in
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22596 *) ac_try_echo=$ac_try;;
22598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_try") 2>&5
22601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22602 (exit $ac_status); }; }; then
22603 ac_cv_sizeof_void_p=`cat conftest.val`
22605 echo "$as_me: program exited with status
$ac_status" >&5
22606 echo "$as_me: failed program was
:" >&5
22607 sed 's/^/| /' conftest.$ac_ext >&5
22609 ( exit $ac_status )
22610 if test "$ac_cv_type_void_p" = yes; then
22611 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22612 See \
`config.log' for more details." >&5
22613 echo "$as_me: error: cannot compute sizeof (void *)
22614 See \`config.log
' for more details." >&2;}
22615 { (exit 77); exit 77; }; }
22617 ac_cv_sizeof_void_p=0
22620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22625 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22629 cat >>confdefs.h <<_ACEOF
22630 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22634 { echo "$as_me:$LINENO: checking for int" >&5
22635 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22636 if test "${ac_cv_type_int+set}" = set; then
22637 echo $ECHO_N "(cached) $ECHO_C" >&6
22639 cat >conftest.$ac_ext <<_ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645 $ac_includes_default
22646 typedef int ac__type_new_;
22650 if ((ac__type_new_ *) 0)
22652 if (sizeof (ac__type_new_))
22658 rm -f conftest.$ac_objext
22659 if { (ac_try="$ac_compile"
22660 case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_compile") 2>conftest.er1
22667 grep -v '^
*+' conftest.er1 >conftest.err
22669 cat conftest.err >&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } && {
22672 test -z "$ac_c_werror_flag" ||
22673 test ! -s conftest.err
22674 } && test -s conftest.$ac_objext; then
22677 echo "$as_me: failed program was:" >&5
22678 sed 's
/^
/| /' conftest.$ac_ext >&5
22683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22686 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22688 # The cast to long int works around a bug in the HP C Compiler
22689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22691 # This bug is HP SR number 8606223364.
22692 { echo "$as_me:$LINENO: checking size of int" >&5
22693 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22694 if test "${ac_cv_sizeof_int+set}" = set; then
22695 echo $ECHO_N "(cached) $ECHO_C" >&6
22697 if test "$cross_compiling" = yes; then
22698 # Depending upon the size, compute the lo and hi bounds.
22699 cat >conftest.
$ac_ext <<_ACEOF
22702 cat confdefs.h
>>conftest.
$ac_ext
22703 cat >>conftest.
$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef int ac__type_sizeof_;
22710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22717 rm -f conftest.
$ac_objext
22718 if { (ac_try
="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22726 grep -v '^ *+' conftest.er1 >conftest.err
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && {
22731 test -z "$ac_c_werror_flag" ||
22732 test ! -s conftest.err
22733 } && test -s conftest.$ac_objext; then
22736 cat >conftest.$ac_ext <<_ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 $ac_includes_default
22743 typedef int ac__type_sizeof_;
22747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22758 *) ac_try_echo
=$ac_try;;
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22763 grep -v '^ *+' conftest.er1
>conftest.err
22765 cat conftest.err
>&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.
$ac_objext; then
22771 ac_hi
=$ac_mid; break
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.
$ac_ext >&5
22776 ac_lo
=`expr $ac_mid + 1`
22777 if test $ac_lo -le $ac_mid; then
22781 ac_mid
=`expr 2 '*' $ac_mid + 1`
22784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.
$ac_ext >&5
22790 cat >conftest.
$ac_ext <<_ACEOF
22793 cat confdefs.h
>>conftest.
$ac_ext
22794 cat >>conftest.
$ac_ext <<_ACEOF
22795 /* end confdefs.h. */
22796 $ac_includes_default
22797 typedef int ac__type_sizeof_;
22801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22808 rm -f conftest.
$ac_objext
22809 if { (ac_try
="$ac_compile"
22810 case "(($ac_try" in
22811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22812 *) ac_try_echo=$ac_try;;
22814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22815 (eval "$ac_compile") 2>conftest.er1
22817 grep -v '^ *+' conftest.er1 >conftest.err
22819 cat conftest.err >&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } && {
22822 test -z "$ac_c_werror_flag" ||
22823 test ! -s conftest.err
22824 } && test -s conftest.$ac_objext; then
22827 cat >conftest.$ac_ext <<_ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 $ac_includes_default
22834 typedef int ac__type_sizeof_;
22838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22845 rm -f conftest.$ac_objext
22846 if { (ac_try="$ac_compile"
22847 case "(($ac_try" in
22848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22849 *) ac_try_echo
=$ac_try;;
22851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22852 (eval "$ac_compile") 2>conftest.er1
22854 grep -v '^ *+' conftest.er1
>conftest.err
22856 cat conftest.err
>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } && {
22859 test -z "$ac_c_werror_flag" ||
22860 test ! -s conftest.err
22861 } && test -s conftest.
$ac_objext; then
22862 ac_lo
=$ac_mid; break
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.
$ac_ext >&5
22867 ac_hi
=`expr '(' $ac_mid ')' - 1`
22868 if test $ac_mid -le $ac_hi; then
22872 ac_mid
=`expr 2 '*' $ac_mid`
22875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.
$ac_ext >&5
22884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22888 # Binary search between lo and hi bounds.
22889 while test "x$ac_lo" != "x$ac_hi"; do
22890 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22891 cat >conftest.
$ac_ext <<_ACEOF
22894 cat confdefs.h
>>conftest.
$ac_ext
22895 cat >>conftest.
$ac_ext <<_ACEOF
22896 /* end confdefs.h. */
22897 $ac_includes_default
22898 typedef int ac__type_sizeof_;
22902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22909 rm -f conftest.
$ac_objext
22910 if { (ac_try
="$ac_compile"
22911 case "(($ac_try" in
22912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_compile") 2>conftest.er1
22918 grep -v '^ *+' conftest.er1 >conftest.err
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } && {
22923 test -z "$ac_c_werror_flag" ||
22924 test ! -s conftest.err
22925 } && test -s conftest.$ac_objext; then
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22931 ac_lo=`expr '(' $ac_mid ')' + 1`
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22937 ?*) ac_cv_sizeof_int=$ac_lo;;
22938 '') if test "$ac_cv_type_int" = yes; then
22939 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22940 See \`config.log
' for more details." >&5
22941 echo "$as_me: error: cannot compute sizeof (int)
22942 See \`config.log' for more details.
" >&2;}
22943 { (exit 77); exit 77; }; }
22949 cat >conftest.$ac_ext <<_ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955 $ac_includes_default
22956 typedef int ac__type_sizeof_;
22957 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22958 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22960 #include <stdlib.h>
22965 FILE *f = fopen ("conftest.val
", "w
");
22968 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22970 long int i = longval ();
22971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22973 fprintf (f, "%ld
\n", i);
22977 unsigned long int i = ulongval ();
22978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22980 fprintf (f, "%lu
\n", i);
22982 return ferror (f) || fclose (f) != 0;
22988 rm -f conftest$ac_exeext
22989 if { (ac_try="$ac_link"
22990 case "(($ac_try" in
22991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22995 (eval "$ac_link") 2>&5
22997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22999 { (case "(($ac_try" in
23000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23001 *) ac_try_echo=$ac_try;;
23003 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23004 (eval "$ac_try") 2>&5
23006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23007 (exit $ac_status); }; }; then
23008 ac_cv_sizeof_int=`cat conftest.val`
23010 echo "$as_me: program exited with status
$ac_status" >&5
23011 echo "$as_me: failed program was
:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23014 ( exit $ac_status )
23015 if test "$ac_cv_type_int" = yes; then
23016 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23017 See \
`config.log' for more details." >&5
23018 echo "$as_me: error: cannot compute sizeof (int)
23019 See \`config.log
' for more details." >&2;}
23020 { (exit 77); exit 77; }; }
23025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23029 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23030 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23034 cat >>confdefs.h <<_ACEOF
23035 #define SIZEOF_INT $ac_cv_sizeof_int
23039 { echo "$as_me:$LINENO: checking for long" >&5
23040 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23041 if test "${ac_cv_type_long+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23044 cat >conftest.$ac_ext <<_ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 $ac_includes_default
23051 typedef long ac__type_new_;
23055 if ((ac__type_new_ *) 0)
23057 if (sizeof (ac__type_new_))
23063 rm -f conftest.$ac_objext
23064 if { (ac_try="$ac_compile"
23065 case "(($ac_try" in
23066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23067 *) ac_try_echo=$ac_try;;
23069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23070 (eval "$ac_compile") 2>conftest.er1
23072 grep -v '^
*+' conftest.er1 >conftest.err
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } && {
23077 test -z "$ac_c_werror_flag" ||
23078 test ! -s conftest.err
23079 } && test -s conftest.$ac_objext; then
23080 ac_cv_type_long=yes
23082 echo "$as_me: failed program was:" >&5
23083 sed 's
/^
/| /' conftest.$ac_ext >&5
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23091 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23093 # The cast to long int works around a bug in the HP C Compiler
23094 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23095 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23096 # This bug is HP SR number 8606223364.
23097 { echo "$as_me:$LINENO: checking size of long" >&5
23098 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23099 if test "${ac_cv_sizeof_long+set}" = set; then
23100 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 if test "$cross_compiling" = yes; then
23103 # Depending upon the size, compute the lo and hi bounds.
23104 cat >conftest.
$ac_ext <<_ACEOF
23107 cat confdefs.h
>>conftest.
$ac_ext
23108 cat >>conftest.
$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long ac__type_sizeof_;
23115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23122 rm -f conftest.
$ac_objext
23123 if { (ac_try
="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23131 grep -v '^ *+' conftest.er1 >conftest.err
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23141 cat >conftest.$ac_ext <<_ACEOF
23144 cat confdefs.h >>conftest.$ac_ext
23145 cat >>conftest.$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 $ac_includes_default
23148 typedef long ac__type_sizeof_;
23152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23163 *) ac_try_echo
=$ac_try;;
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23168 grep -v '^ *+' conftest.er1
>conftest.err
23170 cat conftest.err
>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.
$ac_objext; then
23176 ac_hi
=$ac_mid; break
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.
$ac_ext >&5
23181 ac_lo
=`expr $ac_mid + 1`
23182 if test $ac_lo -le $ac_mid; then
23186 ac_mid
=`expr 2 '*' $ac_mid + 1`
23189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.
$ac_ext >&5
23195 cat >conftest.
$ac_ext <<_ACEOF
23198 cat confdefs.h
>>conftest.
$ac_ext
23199 cat >>conftest.
$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long ac__type_sizeof_;
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23213 rm -f conftest.
$ac_objext
23214 if { (ac_try
="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23222 grep -v '^ *+' conftest.er1 >conftest.err
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23232 cat >conftest.$ac_ext <<_ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h. */
23238 $ac_includes_default
23239 typedef long ac__type_sizeof_;
23243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23254 *) ac_try_echo
=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23259 grep -v '^ *+' conftest.er1
>conftest.err
23261 cat conftest.err
>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.
$ac_objext; then
23267 ac_lo
=$ac_mid; break
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.
$ac_ext >&5
23272 ac_hi
=`expr '(' $ac_mid ')' - 1`
23273 if test $ac_mid -le $ac_hi; then
23277 ac_mid
=`expr 2 '*' $ac_mid`
23280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.
$ac_ext >&5
23289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23293 # Binary search between lo and hi bounds.
23294 while test "x$ac_lo" != "x$ac_hi"; do
23295 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23296 cat >conftest.
$ac_ext <<_ACEOF
23299 cat confdefs.h
>>conftest.
$ac_ext
23300 cat >>conftest.
$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302 $ac_includes_default
23303 typedef long ac__type_sizeof_;
23307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23314 rm -f conftest.
$ac_objext
23315 if { (ac_try
="$ac_compile"
23316 case "(($ac_try" in
23317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23318 *) ac_try_echo=$ac_try;;
23320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23321 (eval "$ac_compile") 2>conftest.er1
23323 grep -v '^ *+' conftest.er1 >conftest.err
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } && {
23328 test -z "$ac_c_werror_flag" ||
23329 test ! -s conftest.err
23330 } && test -s conftest.$ac_objext; then
23333 echo "$as_me: failed program was:" >&5
23334 sed 's/^/| /' conftest.$ac_ext >&5
23336 ac_lo=`expr '(' $ac_mid ')' + 1`
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23342 ?*) ac_cv_sizeof_long=$ac_lo;;
23343 '') if test "$ac_cv_type_long" = yes; then
23344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23345 See \`config.log
' for more details." >&5
23346 echo "$as_me: error: cannot compute sizeof (long)
23347 See \`config.log' for more details.
" >&2;}
23348 { (exit 77); exit 77; }; }
23350 ac_cv_sizeof_long=0
23354 cat >conftest.$ac_ext <<_ACEOF
23357 cat confdefs.h >>conftest.$ac_ext
23358 cat >>conftest.$ac_ext <<_ACEOF
23359 /* end confdefs.h. */
23360 $ac_includes_default
23361 typedef long ac__type_sizeof_;
23362 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23363 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23365 #include <stdlib.h>
23370 FILE *f = fopen ("conftest.val
", "w
");
23373 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23375 long int i = longval ();
23376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23378 fprintf (f, "%ld
\n", i);
23382 unsigned long int i = ulongval ();
23383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23385 fprintf (f, "%lu
\n", i);
23387 return ferror (f) || fclose (f) != 0;
23393 rm -f conftest$ac_exeext
23394 if { (ac_try="$ac_link"
23395 case "(($ac_try" in
23396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23397 *) ac_try_echo=$ac_try;;
23399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23400 (eval "$ac_link") 2>&5
23402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23404 { (case "(($ac_try" in
23405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23408 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_try") 2>&5
23411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23412 (exit $ac_status); }; }; then
23413 ac_cv_sizeof_long=`cat conftest.val`
23415 echo "$as_me: program exited with status
$ac_status" >&5
23416 echo "$as_me: failed program was
:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23419 ( exit $ac_status )
23420 if test "$ac_cv_type_long" = yes; then
23421 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23422 See \
`config.log' for more details." >&5
23423 echo "$as_me: error: cannot compute sizeof (long)
23424 See \`config.log
' for more details." >&2;}
23425 { (exit 77); exit 77; }; }
23427 ac_cv_sizeof_long=0
23430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23434 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23435 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23439 cat >>confdefs.h <<_ACEOF
23440 #define SIZEOF_LONG $ac_cv_sizeof_long
23444 { echo "$as_me:$LINENO: checking for size_t" >&5
23445 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23446 if test "${ac_cv_type_size_t+set}" = set; then
23447 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 cat >conftest.$ac_ext <<_ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455 $ac_includes_default
23456 typedef size_t ac__type_new_;
23460 if ((ac__type_new_ *) 0)
23462 if (sizeof (ac__type_new_))
23468 rm -f conftest.$ac_objext
23469 if { (ac_try="$ac_compile"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_compile") 2>conftest.er1
23477 grep -v '^
*+' conftest.er1 >conftest.err
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } && {
23482 test -z "$ac_c_werror_flag" ||
23483 test ! -s conftest.err
23484 } && test -s conftest.$ac_objext; then
23485 ac_cv_type_size_t=yes
23487 echo "$as_me: failed program was:" >&5
23488 sed 's
/^
/| /' conftest.$ac_ext >&5
23490 ac_cv_type_size_t=no
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23495 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23496 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23498 # The cast to long int works around a bug in the HP C Compiler
23499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23501 # This bug is HP SR number 8606223364.
23502 { echo "$as_me:$LINENO: checking size of size_t" >&5
23503 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23504 if test "${ac_cv_sizeof_size_t+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 if test "$cross_compiling" = yes; then
23508 # Depending upon the size, compute the lo and hi bounds.
23509 cat >conftest.
$ac_ext <<_ACEOF
23512 cat confdefs.h
>>conftest.
$ac_ext
23513 cat >>conftest.
$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 typedef size_t ac__type_sizeof_;
23520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23527 rm -f conftest.
$ac_objext
23528 if { (ac_try
="$ac_compile"
23529 case "(($ac_try" in
23530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23531 *) ac_try_echo=$ac_try;;
23533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23534 (eval "$ac_compile") 2>conftest.er1
23536 grep -v '^ *+' conftest.er1 >conftest.err
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } && {
23541 test -z "$ac_c_werror_flag" ||
23542 test ! -s conftest.err
23543 } && test -s conftest.$ac_objext; then
23546 cat >conftest.$ac_ext <<_ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23552 $ac_includes_default
23553 typedef size_t ac__type_sizeof_;
23557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23564 rm -f conftest.$ac_objext
23565 if { (ac_try="$ac_compile"
23566 case "(($ac_try" in
23567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23568 *) ac_try_echo
=$ac_try;;
23570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23571 (eval "$ac_compile") 2>conftest.er1
23573 grep -v '^ *+' conftest.er1
>conftest.err
23575 cat conftest.err
>&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); } && {
23578 test -z "$ac_c_werror_flag" ||
23579 test ! -s conftest.err
23580 } && test -s conftest.
$ac_objext; then
23581 ac_hi
=$ac_mid; break
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.
$ac_ext >&5
23586 ac_lo
=`expr $ac_mid + 1`
23587 if test $ac_lo -le $ac_mid; then
23591 ac_mid
=`expr 2 '*' $ac_mid + 1`
23594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.
$ac_ext >&5
23600 cat >conftest.
$ac_ext <<_ACEOF
23603 cat confdefs.h
>>conftest.
$ac_ext
23604 cat >>conftest.
$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23606 $ac_includes_default
23607 typedef size_t ac__type_sizeof_;
23611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23618 rm -f conftest.
$ac_objext
23619 if { (ac_try
="$ac_compile"
23620 case "(($ac_try" in
23621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23622 *) ac_try_echo=$ac_try;;
23624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23625 (eval "$ac_compile") 2>conftest.er1
23627 grep -v '^ *+' conftest.er1 >conftest.err
23629 cat conftest.err >&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } && {
23632 test -z "$ac_c_werror_flag" ||
23633 test ! -s conftest.err
23634 } && test -s conftest.$ac_objext; then
23637 cat >conftest.$ac_ext <<_ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 $ac_includes_default
23644 typedef size_t ac__type_sizeof_;
23648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23655 rm -f conftest.$ac_objext
23656 if { (ac_try="$ac_compile"
23657 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23659 *) ac_try_echo
=$ac_try;;
23661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662 (eval "$ac_compile") 2>conftest.er1
23664 grep -v '^ *+' conftest.er1
>conftest.err
23666 cat conftest.err
>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } && {
23669 test -z "$ac_c_werror_flag" ||
23670 test ! -s conftest.err
23671 } && test -s conftest.
$ac_objext; then
23672 ac_lo
=$ac_mid; break
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.
$ac_ext >&5
23677 ac_hi
=`expr '(' $ac_mid ')' - 1`
23678 if test $ac_mid -le $ac_hi; then
23682 ac_mid
=`expr 2 '*' $ac_mid`
23685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.
$ac_ext >&5
23694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23698 # Binary search between lo and hi bounds.
23699 while test "x$ac_lo" != "x$ac_hi"; do
23700 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23701 cat >conftest.
$ac_ext <<_ACEOF
23704 cat confdefs.h
>>conftest.
$ac_ext
23705 cat >>conftest.
$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707 $ac_includes_default
23708 typedef size_t ac__type_sizeof_;
23712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23719 rm -f conftest.
$ac_objext
23720 if { (ac_try
="$ac_compile"
23721 case "(($ac_try" in
23722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23723 *) ac_try_echo=$ac_try;;
23725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23726 (eval "$ac_compile") 2>conftest.er1
23728 grep -v '^ *+' conftest.er1 >conftest.err
23730 cat conftest.err >&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); } && {
23733 test -z "$ac_c_werror_flag" ||
23734 test ! -s conftest.err
23735 } && test -s conftest.$ac_objext; then
23738 echo "$as_me: failed program was:" >&5
23739 sed 's/^/| /' conftest.$ac_ext >&5
23741 ac_lo=`expr '(' $ac_mid ')' + 1`
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23747 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23748 '') if test "$ac_cv_type_size_t" = yes; then
23749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23750 See \`config.log
' for more details." >&5
23751 echo "$as_me: error: cannot compute sizeof (size_t)
23752 See \`config.log' for more details.
" >&2;}
23753 { (exit 77); exit 77; }; }
23755 ac_cv_sizeof_size_t=0
23759 cat >conftest.$ac_ext <<_ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765 $ac_includes_default
23766 typedef size_t ac__type_sizeof_;
23767 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23768 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23770 #include <stdlib.h>
23775 FILE *f = fopen ("conftest.val
", "w
");
23778 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23780 long int i = longval ();
23781 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23783 fprintf (f, "%ld
\n", i);
23787 unsigned long int i = ulongval ();
23788 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23790 fprintf (f, "%lu
\n", i);
23792 return ferror (f) || fclose (f) != 0;
23798 rm -f conftest$ac_exeext
23799 if { (ac_try="$ac_link"
23800 case "(($ac_try" in
23801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23802 *) ac_try_echo=$ac_try;;
23804 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23805 (eval "$ac_link") 2>&5
23807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23809 { (case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_try") 2>&5
23816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23817 (exit $ac_status); }; }; then
23818 ac_cv_sizeof_size_t=`cat conftest.val`
23820 echo "$as_me: program exited with status
$ac_status" >&5
23821 echo "$as_me: failed program was
:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23824 ( exit $ac_status )
23825 if test "$ac_cv_type_size_t" = yes; then
23826 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23827 See \
`config.log' for more details." >&5
23828 echo "$as_me: error: cannot compute sizeof (size_t)
23829 See \`config.log
' for more details." >&2;}
23830 { (exit 77); exit 77; }; }
23832 ac_cv_sizeof_size_t=0
23835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23839 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23840 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23844 cat >>confdefs.h <<_ACEOF
23845 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23852 { echo "$as_me:$LINENO: checking for long long" >&5
23853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23854 if test "${ac_cv_type_long_long+set}" = set; then
23855 echo $ECHO_N "(cached) $ECHO_C" >&6
23857 cat >conftest.$ac_ext <<_ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23863 $ac_includes_default
23864 typedef long long ac__type_new_;
23868 if ((ac__type_new_ *) 0)
23870 if (sizeof (ac__type_new_))
23876 rm -f conftest.$ac_objext
23877 if { (ac_try="$ac_compile"
23878 case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;;
23882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883 (eval "$ac_compile") 2>conftest.er1
23885 grep -v '^
*+' conftest.er1 >conftest.err
23887 cat conftest.err >&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } && {
23890 test -z "$ac_c_werror_flag" ||
23891 test ! -s conftest.err
23892 } && test -s conftest.$ac_objext; then
23893 ac_cv_type_long_long=yes
23895 echo "$as_me: failed program was:" >&5
23896 sed 's
/^
/| /' conftest.$ac_ext >&5
23898 ac_cv_type_long_long=no
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23906 # The cast to long int works around a bug in the HP C Compiler
23907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23909 # This bug is HP SR number 8606223364.
23910 { echo "$as_me:$LINENO: checking size of long long" >&5
23911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23912 if test "${ac_cv_sizeof_long_long+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23915 if test "$cross_compiling" = yes; then
23916 # Depending upon the size, compute the lo and hi bounds.
23917 cat >conftest.
$ac_ext <<_ACEOF
23920 cat confdefs.h
>>conftest.
$ac_ext
23921 cat >>conftest.
$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923 $ac_includes_default
23924 typedef long long ac__type_sizeof_;
23928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23935 rm -f conftest.
$ac_objext
23936 if { (ac_try
="$ac_compile"
23937 case "(($ac_try" in
23938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23939 *) ac_try_echo=$ac_try;;
23941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23942 (eval "$ac_compile") 2>conftest.er1
23944 grep -v '^ *+' conftest.er1 >conftest.err
23946 cat conftest.err >&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } && {
23949 test -z "$ac_c_werror_flag" ||
23950 test ! -s conftest.err
23951 } && test -s conftest.$ac_objext; then
23954 cat >conftest.$ac_ext <<_ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23960 $ac_includes_default
23961 typedef long long ac__type_sizeof_;
23965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23972 rm -f conftest.$ac_objext
23973 if { (ac_try="$ac_compile"
23974 case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23976 *) ac_try_echo
=$ac_try;;
23978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_compile") 2>conftest.er1
23981 grep -v '^ *+' conftest.er1
>conftest.err
23983 cat conftest.err
>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } && {
23986 test -z "$ac_c_werror_flag" ||
23987 test ! -s conftest.err
23988 } && test -s conftest.
$ac_objext; then
23989 ac_hi
=$ac_mid; break
23991 echo "$as_me: failed program was:" >&5
23992 sed 's/^/| /' conftest.
$ac_ext >&5
23994 ac_lo
=`expr $ac_mid + 1`
23995 if test $ac_lo -le $ac_mid; then
23999 ac_mid
=`expr 2 '*' $ac_mid + 1`
24002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.
$ac_ext >&5
24008 cat >conftest.
$ac_ext <<_ACEOF
24011 cat confdefs.h
>>conftest.
$ac_ext
24012 cat >>conftest.
$ac_ext <<_ACEOF
24013 /* end confdefs.h. */
24014 $ac_includes_default
24015 typedef long long ac__type_sizeof_;
24019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24026 rm -f conftest.
$ac_objext
24027 if { (ac_try
="$ac_compile"
24028 case "(($ac_try" in
24029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24030 *) ac_try_echo=$ac_try;;
24032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24033 (eval "$ac_compile") 2>conftest.er1
24035 grep -v '^ *+' conftest.er1 >conftest.err
24037 cat conftest.err >&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } && {
24040 test -z "$ac_c_werror_flag" ||
24041 test ! -s conftest.err
24042 } && test -s conftest.$ac_objext; then
24045 cat >conftest.$ac_ext <<_ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h. */
24051 $ac_includes_default
24052 typedef long long ac__type_sizeof_;
24056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24063 rm -f conftest.$ac_objext
24064 if { (ac_try="$ac_compile"
24065 case "(($ac_try" in
24066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24067 *) ac_try_echo
=$ac_try;;
24069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24070 (eval "$ac_compile") 2>conftest.er1
24072 grep -v '^ *+' conftest.er1
>conftest.err
24074 cat conftest.err
>&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); } && {
24077 test -z "$ac_c_werror_flag" ||
24078 test ! -s conftest.err
24079 } && test -s conftest.
$ac_objext; then
24080 ac_lo
=$ac_mid; break
24082 echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.
$ac_ext >&5
24085 ac_hi
=`expr '(' $ac_mid ')' - 1`
24086 if test $ac_mid -le $ac_hi; then
24090 ac_mid
=`expr 2 '*' $ac_mid`
24093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.
$ac_ext >&5
24102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24106 # Binary search between lo and hi bounds.
24107 while test "x$ac_lo" != "x$ac_hi"; do
24108 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24109 cat >conftest.
$ac_ext <<_ACEOF
24112 cat confdefs.h
>>conftest.
$ac_ext
24113 cat >>conftest.
$ac_ext <<_ACEOF
24114 /* end confdefs.h. */
24115 $ac_includes_default
24116 typedef long long ac__type_sizeof_;
24120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24127 rm -f conftest.
$ac_objext
24128 if { (ac_try
="$ac_compile"
24129 case "(($ac_try" in
24130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24131 *) ac_try_echo=$ac_try;;
24133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24134 (eval "$ac_compile") 2>conftest.er1
24136 grep -v '^ *+' conftest.er1 >conftest.err
24138 cat conftest.err >&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } && {
24141 test -z "$ac_c_werror_flag" ||
24142 test ! -s conftest.err
24143 } && test -s conftest.$ac_objext; then
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24149 ac_lo=`expr '(' $ac_mid ')' + 1`
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24156 '') if test "$ac_cv_type_long_long" = yes; then
24157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24158 See \`config.log
' for more details." >&5
24159 echo "$as_me: error: cannot compute sizeof (long long)
24160 See \`config.log' for more details.
" >&2;}
24161 { (exit 77); exit 77; }; }
24163 ac_cv_sizeof_long_long=0
24167 cat >conftest.$ac_ext <<_ACEOF
24170 cat confdefs.h >>conftest.$ac_ext
24171 cat >>conftest.$ac_ext <<_ACEOF
24172 /* end confdefs.h. */
24173 $ac_includes_default
24174 typedef long long ac__type_sizeof_;
24175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24178 #include <stdlib.h>
24183 FILE *f = fopen ("conftest.val
", "w
");
24186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24188 long int i = longval ();
24189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24191 fprintf (f, "%ld
\n", i);
24195 unsigned long int i = ulongval ();
24196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24198 fprintf (f, "%lu
\n", i);
24200 return ferror (f) || fclose (f) != 0;
24206 rm -f conftest$ac_exeext
24207 if { (ac_try="$ac_link"
24208 case "(($ac_try" in
24209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24210 *) ac_try_echo=$ac_try;;
24212 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24213 (eval "$ac_link") 2>&5
24215 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24217 { (case "(($ac_try" in
24218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24219 *) ac_try_echo=$ac_try;;
24221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval "$ac_try") 2>&5
24224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24225 (exit $ac_status); }; }; then
24226 ac_cv_sizeof_long_long=`cat conftest.val`
24228 echo "$as_me: program exited with status
$ac_status" >&5
24229 echo "$as_me: failed program was
:" >&5
24230 sed 's/^/| /' conftest.$ac_ext >&5
24232 ( exit $ac_status )
24233 if test "$ac_cv_type_long_long" = yes; then
24234 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24235 See \
`config.log' for more details." >&5
24236 echo "$as_me: error: cannot compute sizeof (long long)
24237 See \`config.log
' for more details." >&2;}
24238 { (exit 77); exit 77; }; }
24240 ac_cv_sizeof_long_long=0
24243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24252 cat >>confdefs.h <<_ACEOF
24253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24259 { echo "$as_me:$LINENO: checking for long long" >&5
24260 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24261 if test "${ac_cv_type_long_long+set}" = set; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 cat >conftest.$ac_ext <<_ACEOF
24267 cat confdefs.h >>conftest.$ac_ext
24268 cat >>conftest.$ac_ext <<_ACEOF
24269 /* end confdefs.h. */
24270 $ac_includes_default
24271 typedef long long ac__type_new_;
24275 if ((ac__type_new_ *) 0)
24277 if (sizeof (ac__type_new_))
24283 rm -f conftest.$ac_objext
24284 if { (ac_try="$ac_compile"
24285 case "(($ac_try" in
24286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24287 *) ac_try_echo=$ac_try;;
24289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24290 (eval "$ac_compile") 2>conftest.er1
24292 grep -v '^
*+' conftest.er1 >conftest.err
24294 cat conftest.err >&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); } && {
24297 test -z "$ac_c_werror_flag" ||
24298 test ! -s conftest.err
24299 } && test -s conftest.$ac_objext; then
24300 ac_cv_type_long_long=yes
24302 echo "$as_me: failed program was:" >&5
24303 sed 's
/^
/| /' conftest.$ac_ext >&5
24305 ac_cv_type_long_long=no
24308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24310 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24311 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24313 # The cast to long int works around a bug in the HP C Compiler
24314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24316 # This bug is HP SR number 8606223364.
24317 { echo "$as_me:$LINENO: checking size of long long" >&5
24318 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24319 if test "${ac_cv_sizeof_long_long+set}" = set; then
24320 echo $ECHO_N "(cached) $ECHO_C" >&6
24322 if test "$cross_compiling" = yes; then
24323 # Depending upon the size, compute the lo and hi bounds.
24324 cat >conftest.
$ac_ext <<_ACEOF
24327 cat confdefs.h
>>conftest.
$ac_ext
24328 cat >>conftest.
$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24331 typedef long long ac__type_sizeof_;
24335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24342 rm -f conftest.
$ac_objext
24343 if { (ac_try
="$ac_compile"
24344 case "(($ac_try" in
24345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24346 *) ac_try_echo=$ac_try;;
24348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24349 (eval "$ac_compile") 2>conftest.er1
24351 grep -v '^ *+' conftest.er1 >conftest.err
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } && {
24356 test -z "$ac_c_werror_flag" ||
24357 test ! -s conftest.err
24358 } && test -s conftest.$ac_objext; then
24361 cat >conftest.$ac_ext <<_ACEOF
24364 cat confdefs.h >>conftest.$ac_ext
24365 cat >>conftest.$ac_ext <<_ACEOF
24366 /* end confdefs.h. */
24367 $ac_includes_default
24368 typedef long long ac__type_sizeof_;
24372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24379 rm -f conftest.$ac_objext
24380 if { (ac_try="$ac_compile"
24381 case "(($ac_try" in
24382 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24383 *) ac_try_echo
=$ac_try;;
24385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24386 (eval "$ac_compile") 2>conftest.er1
24388 grep -v '^ *+' conftest.er1
>conftest.err
24390 cat conftest.err
>&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } && {
24393 test -z "$ac_c_werror_flag" ||
24394 test ! -s conftest.err
24395 } && test -s conftest.
$ac_objext; then
24396 ac_hi
=$ac_mid; break
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.
$ac_ext >&5
24401 ac_lo
=`expr $ac_mid + 1`
24402 if test $ac_lo -le $ac_mid; then
24406 ac_mid
=`expr 2 '*' $ac_mid + 1`
24409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24412 echo "$as_me: failed program was:" >&5
24413 sed 's/^/| /' conftest.
$ac_ext >&5
24415 cat >conftest.
$ac_ext <<_ACEOF
24418 cat confdefs.h
>>conftest.
$ac_ext
24419 cat >>conftest.
$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24421 $ac_includes_default
24422 typedef long long ac__type_sizeof_;
24426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24433 rm -f conftest.
$ac_objext
24434 if { (ac_try
="$ac_compile"
24435 case "(($ac_try" in
24436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24437 *) ac_try_echo=$ac_try;;
24439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24440 (eval "$ac_compile") 2>conftest.er1
24442 grep -v '^ *+' conftest.er1 >conftest.err
24444 cat conftest.err >&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); } && {
24447 test -z "$ac_c_werror_flag" ||
24448 test ! -s conftest.err
24449 } && test -s conftest.$ac_objext; then
24452 cat >conftest.$ac_ext <<_ACEOF
24455 cat confdefs.h >>conftest.$ac_ext
24456 cat >>conftest.$ac_ext <<_ACEOF
24457 /* end confdefs.h. */
24458 $ac_includes_default
24459 typedef long long ac__type_sizeof_;
24463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24470 rm -f conftest.$ac_objext
24471 if { (ac_try="$ac_compile"
24472 case "(($ac_try" in
24473 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24474 *) ac_try_echo
=$ac_try;;
24476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24477 (eval "$ac_compile") 2>conftest.er1
24479 grep -v '^ *+' conftest.er1
>conftest.err
24481 cat conftest.err
>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } && {
24484 test -z "$ac_c_werror_flag" ||
24485 test ! -s conftest.err
24486 } && test -s conftest.
$ac_objext; then
24487 ac_lo
=$ac_mid; break
24489 echo "$as_me: failed program was:" >&5
24490 sed 's/^/| /' conftest.
$ac_ext >&5
24492 ac_hi
=`expr '(' $ac_mid ')' - 1`
24493 if test $ac_mid -le $ac_hi; then
24497 ac_mid
=`expr 2 '*' $ac_mid`
24500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24503 echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.
$ac_ext >&5
24509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24513 # Binary search between lo and hi bounds.
24514 while test "x$ac_lo" != "x$ac_hi"; do
24515 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24516 cat >conftest.
$ac_ext <<_ACEOF
24519 cat confdefs.h
>>conftest.
$ac_ext
24520 cat >>conftest.
$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24522 $ac_includes_default
24523 typedef long long ac__type_sizeof_;
24527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24534 rm -f conftest.
$ac_objext
24535 if { (ac_try
="$ac_compile"
24536 case "(($ac_try" in
24537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24538 *) ac_try_echo=$ac_try;;
24540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24541 (eval "$ac_compile") 2>conftest.er1
24543 grep -v '^ *+' conftest.er1 >conftest.err
24545 cat conftest.err >&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } && {
24548 test -z "$ac_c_werror_flag" ||
24549 test ! -s conftest.err
24550 } && test -s conftest.$ac_objext; then
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24556 ac_lo=`expr '(' $ac_mid ')' + 1`
24559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24562 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24563 '') if test "$ac_cv_type_long_long" = yes; then
24564 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24565 See \`config.log
' for more details." >&5
24566 echo "$as_me: error: cannot compute sizeof (long long)
24567 See \`config.log' for more details.
" >&2;}
24568 { (exit 77); exit 77; }; }
24570 ac_cv_sizeof_long_long=0
24574 cat >conftest.$ac_ext <<_ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 $ac_includes_default
24581 typedef long long ac__type_sizeof_;
24582 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24583 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24585 #include <stdlib.h>
24590 FILE *f = fopen ("conftest.val
", "w
");
24593 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24595 long int i = longval ();
24596 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24598 fprintf (f, "%ld
\n", i);
24602 unsigned long int i = ulongval ();
24603 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24605 fprintf (f, "%lu
\n", i);
24607 return ferror (f) || fclose (f) != 0;
24613 rm -f conftest$ac_exeext
24614 if { (ac_try="$ac_link"
24615 case "(($ac_try" in
24616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24617 *) ac_try_echo=$ac_try;;
24619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24620 (eval "$ac_link") 2>&5
24622 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24624 { (case "(($ac_try" in
24625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24626 *) ac_try_echo=$ac_try;;
24628 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24629 (eval "$ac_try") 2>&5
24631 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24632 (exit $ac_status); }; }; then
24633 ac_cv_sizeof_long_long=`cat conftest.val`
24635 echo "$as_me: program exited with status
$ac_status" >&5
24636 echo "$as_me: failed program was
:" >&5
24637 sed 's/^/| /' conftest.$ac_ext >&5
24639 ( exit $ac_status )
24640 if test "$ac_cv_type_long_long" = yes; then
24641 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24642 See \
`config.log' for more details." >&5
24643 echo "$as_me: error: cannot compute sizeof (long long)
24644 See \`config.log
' for more details." >&2;}
24645 { (exit 77); exit 77; }; }
24647 ac_cv_sizeof_long_long=0
24650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24654 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24655 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24659 cat >>confdefs.h <<_ACEOF
24660 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24664 if test "$ac_cv_sizeof_long_long" != "0"; then
24665 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24669 { echo "$as_me:$LINENO: checking for long long" >&5
24670 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24671 if test "${ac_cv_type_long_long+set}" = set; then
24672 echo $ECHO_N "(cached) $ECHO_C" >&6
24674 cat >conftest.$ac_ext <<_ACEOF
24677 cat confdefs.h >>conftest.$ac_ext
24678 cat >>conftest.$ac_ext <<_ACEOF
24679 /* end confdefs.h. */
24680 $ac_includes_default
24681 typedef long long ac__type_new_;
24685 if ((ac__type_new_ *) 0)
24687 if (sizeof (ac__type_new_))
24693 rm -f conftest.$ac_objext
24694 if { (ac_try="$ac_compile"
24695 case "(($ac_try" in
24696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24697 *) ac_try_echo=$ac_try;;
24699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24700 (eval "$ac_compile") 2>conftest.er1
24702 grep -v '^
*+' conftest.er1 >conftest.err
24704 cat conftest.err >&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } && {
24707 test -z "$ac_c_werror_flag" ||
24708 test ! -s conftest.err
24709 } && test -s conftest.$ac_objext; then
24710 ac_cv_type_long_long=yes
24712 echo "$as_me: failed program was:" >&5
24713 sed 's
/^
/| /' conftest.$ac_ext >&5
24715 ac_cv_type_long_long=no
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24720 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24721 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24723 # The cast to long int works around a bug in the HP C Compiler
24724 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24725 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24726 # This bug is HP SR number 8606223364.
24727 { echo "$as_me:$LINENO: checking size of long long" >&5
24728 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24729 if test "${ac_cv_sizeof_long_long+set}" = set; then
24730 echo $ECHO_N "(cached) $ECHO_C" >&6
24732 if test "$cross_compiling" = yes; then
24733 # Depending upon the size, compute the lo and hi bounds.
24734 cat >conftest.
$ac_ext <<_ACEOF
24737 cat confdefs.h
>>conftest.
$ac_ext
24738 cat >>conftest.
$ac_ext <<_ACEOF
24739 /* end confdefs.h. */
24740 $ac_includes_default
24741 typedef long long ac__type_sizeof_;
24745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24752 rm -f conftest.
$ac_objext
24753 if { (ac_try
="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24761 grep -v '^ *+' conftest.er1 >conftest.err
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24771 cat >conftest.$ac_ext <<_ACEOF
24774 cat confdefs.h >>conftest.$ac_ext
24775 cat >>conftest.$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24777 $ac_includes_default
24778 typedef long long ac__type_sizeof_;
24782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24789 rm -f conftest.$ac_objext
24790 if { (ac_try="$ac_compile"
24791 case "(($ac_try" in
24792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24793 *) ac_try_echo
=$ac_try;;
24795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24796 (eval "$ac_compile") 2>conftest.er1
24798 grep -v '^ *+' conftest.er1
>conftest.err
24800 cat conftest.err
>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } && {
24803 test -z "$ac_c_werror_flag" ||
24804 test ! -s conftest.err
24805 } && test -s conftest.
$ac_objext; then
24806 ac_hi
=$ac_mid; break
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.
$ac_ext >&5
24811 ac_lo
=`expr $ac_mid + 1`
24812 if test $ac_lo -le $ac_mid; then
24816 ac_mid
=`expr 2 '*' $ac_mid + 1`
24819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24822 echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.
$ac_ext >&5
24825 cat >conftest.
$ac_ext <<_ACEOF
24828 cat confdefs.h
>>conftest.
$ac_ext
24829 cat >>conftest.
$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24831 $ac_includes_default
24832 typedef long long ac__type_sizeof_;
24836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24843 rm -f conftest.
$ac_objext
24844 if { (ac_try
="$ac_compile"
24845 case "(($ac_try" in
24846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24847 *) ac_try_echo=$ac_try;;
24849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24850 (eval "$ac_compile") 2>conftest.er1
24852 grep -v '^ *+' conftest.er1 >conftest.err
24854 cat conftest.err >&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err
24859 } && test -s conftest.$ac_objext; then
24862 cat >conftest.$ac_ext <<_ACEOF
24865 cat confdefs.h >>conftest.$ac_ext
24866 cat >>conftest.$ac_ext <<_ACEOF
24867 /* end confdefs.h. */
24868 $ac_includes_default
24869 typedef long long ac__type_sizeof_;
24873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24880 rm -f conftest.$ac_objext
24881 if { (ac_try="$ac_compile"
24882 case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24884 *) ac_try_echo
=$ac_try;;
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_compile") 2>conftest.er1
24889 grep -v '^ *+' conftest.er1
>conftest.err
24891 cat conftest.err
>&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); } && {
24894 test -z "$ac_c_werror_flag" ||
24895 test ! -s conftest.err
24896 } && test -s conftest.
$ac_objext; then
24897 ac_lo
=$ac_mid; break
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.
$ac_ext >&5
24902 ac_hi
=`expr '(' $ac_mid ')' - 1`
24903 if test $ac_mid -le $ac_hi; then
24907 ac_mid
=`expr 2 '*' $ac_mid`
24910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24913 echo "$as_me: failed program was:" >&5
24914 sed 's/^/| /' conftest.
$ac_ext >&5
24919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24923 # Binary search between lo and hi bounds.
24924 while test "x$ac_lo" != "x$ac_hi"; do
24925 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24926 cat >conftest.
$ac_ext <<_ACEOF
24929 cat confdefs.h
>>conftest.
$ac_ext
24930 cat >>conftest.
$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24932 $ac_includes_default
24933 typedef long long ac__type_sizeof_;
24937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24944 rm -f conftest.
$ac_objext
24945 if { (ac_try
="$ac_compile"
24946 case "(($ac_try" in
24947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24948 *) ac_try_echo=$ac_try;;
24950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24951 (eval "$ac_compile") 2>conftest.er1
24953 grep -v '^ *+' conftest.er1 >conftest.err
24955 cat conftest.err >&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } && {
24958 test -z "$ac_c_werror_flag" ||
24959 test ! -s conftest.err
24960 } && test -s conftest.$ac_objext; then
24963 echo "$as_me: failed program was:" >&5
24964 sed 's/^/| /' conftest.$ac_ext >&5
24966 ac_lo=`expr '(' $ac_mid ')' + 1`
24969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24972 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24973 '') if test "$ac_cv_type_long_long" = yes; then
24974 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24975 See \`config.log
' for more details." >&5
24976 echo "$as_me: error: cannot compute sizeof (long long)
24977 See \`config.log' for more details.
" >&2;}
24978 { (exit 77); exit 77; }; }
24980 ac_cv_sizeof_long_long=0
24984 cat >conftest.$ac_ext <<_ACEOF
24987 cat confdefs.h >>conftest.$ac_ext
24988 cat >>conftest.$ac_ext <<_ACEOF
24989 /* end confdefs.h. */
24990 $ac_includes_default
24991 typedef long long ac__type_sizeof_;
24992 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24993 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24995 #include <stdlib.h>
25000 FILE *f = fopen ("conftest.val
", "w
");
25003 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25005 long int i = longval ();
25006 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25008 fprintf (f, "%ld
\n", i);
25012 unsigned long int i = ulongval ();
25013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25015 fprintf (f, "%lu
\n", i);
25017 return ferror (f) || fclose (f) != 0;
25023 rm -f conftest$ac_exeext
25024 if { (ac_try="$ac_link"
25025 case "(($ac_try" in
25026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25027 *) ac_try_echo=$ac_try;;
25029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25030 (eval "$ac_link") 2>&5
25032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25034 { (case "(($ac_try" in
25035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25036 *) ac_try_echo=$ac_try;;
25038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25039 (eval "$ac_try") 2>&5
25041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25042 (exit $ac_status); }; }; then
25043 ac_cv_sizeof_long_long=`cat conftest.val`
25045 echo "$as_me: program exited with status
$ac_status" >&5
25046 echo "$as_me: failed program was
:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5
25049 ( exit $ac_status )
25050 if test "$ac_cv_type_long_long" = yes; then
25051 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
25052 See \
`config.log' for more details." >&5
25053 echo "$as_me: error: cannot compute sizeof (long long)
25054 See \`config.log
' for more details." >&2;}
25055 { (exit 77); exit 77; }; }
25057 ac_cv_sizeof_long_long=0
25060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25064 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25065 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25069 cat >>confdefs.h <<_ACEOF
25070 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25076 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25077 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25078 if test "${ac_cv_type_wchar_t+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25081 cat >conftest.$ac_ext <<_ACEOF
25084 cat confdefs.h >>conftest.$ac_ext
25085 cat >>conftest.$ac_ext <<_ACEOF
25086 /* end confdefs.h. */
25088 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25089 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25090 # error "fake wchar_t"
25092 #ifdef HAVE_WCHAR_H
25094 # include <stddef.h>
25096 # include <wchar.h>
25098 #ifdef HAVE_STDLIB_H
25099 # include <stdlib.h>
25105 typedef wchar_t ac__type_new_
;
25109 if ((ac__type_new_
*) 0)
25111 if (sizeof
(ac__type_new_
))
25117 rm -f conftest.
$ac_objext
25118 if { (ac_try
="$ac_compile"
25119 case "(($ac_try" in
25120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25121 *) ac_try_echo=$ac_try;;
25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124 (eval "$ac_compile") 2>conftest.er1
25126 grep -v '^ *+' conftest.er1 >conftest.err
25128 cat conftest.err >&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } && {
25131 test -z "$ac_c_werror_flag" ||
25132 test ! -s conftest.err
25133 } && test -s conftest.$ac_objext; then
25134 ac_cv_type_wchar_t=yes
25136 echo "$as_me: failed program was:" >&5
25137 sed 's/^/| /' conftest.$ac_ext >&5
25139 ac_cv_type_wchar_t=no
25142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25145 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25147 # The cast to long int works around a bug in the HP C Compiler
25148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25149 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25150 # This bug is HP SR number 8606223364.
25151 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25152 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25153 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 if test "$cross_compiling" = yes; then
25157 # Depending upon the size, compute the lo and hi bounds.
25158 cat >conftest.$ac_ext <<_ACEOF
25161 cat confdefs.h >>conftest.$ac_ext
25162 cat >>conftest.$ac_ext <<_ACEOF
25163 /* end confdefs.h. */
25165 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25166 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25167 # error "fake wchar_t"
25169 #ifdef HAVE_WCHAR_H
25171 # include <stddef.h>
25173 # include <wchar.h>
25175 #ifdef HAVE_STDLIB_H
25176 # include <stdlib.h>
25182 typedef wchar_t ac__type_sizeof_
;
25186 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25193 rm -f conftest.
$ac_objext
25194 if { (ac_try
="$ac_compile"
25195 case "(($ac_try" in
25196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25197 *) ac_try_echo=$ac_try;;
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_compile") 2>conftest.er1
25202 grep -v '^ *+' conftest.er1 >conftest.err
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_c_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest.$ac_objext; then
25212 cat >conftest.$ac_ext <<_ACEOF
25215 cat confdefs.h >>conftest.$ac_ext
25216 cat >>conftest.$ac_ext <<_ACEOF
25217 /* end confdefs.h. */
25219 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25220 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25221 # error "fake wchar_t"
25223 #ifdef HAVE_WCHAR_H
25225 # include <stddef.h>
25227 # include <wchar.h>
25229 #ifdef HAVE_STDLIB_H
25230 # include <stdlib.h>
25236 typedef wchar_t ac__type_sizeof_;
25240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25247 rm -f conftest.$ac_objext
25248 if { (ac_try="$ac_compile"
25249 case "(($ac_try" in
25250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25251 *) ac_try_echo
=$ac_try;;
25253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25254 (eval "$ac_compile") 2>conftest.er1
25256 grep -v '^ *+' conftest.er1
>conftest.err
25258 cat conftest.err
>&5
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); } && {
25261 test -z "$ac_c_werror_flag" ||
25262 test ! -s conftest.err
25263 } && test -s conftest.
$ac_objext; then
25264 ac_hi
=$ac_mid; break
25266 echo "$as_me: failed program was:" >&5
25267 sed 's/^/| /' conftest.
$ac_ext >&5
25269 ac_lo
=`expr $ac_mid + 1`
25270 if test $ac_lo -le $ac_mid; then
25274 ac_mid
=`expr 2 '*' $ac_mid + 1`
25277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25280 echo "$as_me: failed program was:" >&5
25281 sed 's/^/| /' conftest.
$ac_ext >&5
25283 cat >conftest.
$ac_ext <<_ACEOF
25286 cat confdefs.h
>>conftest.
$ac_ext
25287 cat >>conftest.
$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25290 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25291 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25292 # error "fake wchar_t"
25294 #ifdef HAVE_WCHAR_H
25296 # include <stddef.h>
25298 # include <wchar.h>
25300 #ifdef HAVE_STDLIB_H
25301 # include <stdlib.h>
25307 typedef wchar_t ac__type_sizeof_;
25311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25318 rm -f conftest.
$ac_objext
25319 if { (ac_try
="$ac_compile"
25320 case "(($ac_try" in
25321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25322 *) ac_try_echo=$ac_try;;
25324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25325 (eval "$ac_compile") 2>conftest.er1
25327 grep -v '^ *+' conftest.er1 >conftest.err
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } && {
25332 test -z "$ac_c_werror_flag" ||
25333 test ! -s conftest.err
25334 } && test -s conftest.$ac_objext; then
25337 cat >conftest.$ac_ext <<_ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25344 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25345 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25346 # error "fake wchar_t"
25348 #ifdef HAVE_WCHAR_H
25350 # include <stddef.h>
25352 # include <wchar.h>
25354 #ifdef HAVE_STDLIB_H
25355 # include <stdlib.h>
25361 typedef wchar_t ac__type_sizeof_;
25365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25372 rm -f conftest.$ac_objext
25373 if { (ac_try="$ac_compile"
25374 case "(($ac_try" in
25375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25376 *) ac_try_echo
=$ac_try;;
25378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25379 (eval "$ac_compile") 2>conftest.er1
25381 grep -v '^ *+' conftest.er1
>conftest.err
25383 cat conftest.err
>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); } && {
25386 test -z "$ac_c_werror_flag" ||
25387 test ! -s conftest.err
25388 } && test -s conftest.
$ac_objext; then
25389 ac_lo
=$ac_mid; break
25391 echo "$as_me: failed program was:" >&5
25392 sed 's/^/| /' conftest.
$ac_ext >&5
25394 ac_hi
=`expr '(' $ac_mid ')' - 1`
25395 if test $ac_mid -le $ac_hi; then
25399 ac_mid
=`expr 2 '*' $ac_mid`
25402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.
$ac_ext >&5
25411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25415 # Binary search between lo and hi bounds.
25416 while test "x$ac_lo" != "x$ac_hi"; do
25417 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25418 cat >conftest.
$ac_ext <<_ACEOF
25421 cat confdefs.h
>>conftest.
$ac_ext
25422 cat >>conftest.
$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25425 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25426 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25427 # error "fake wchar_t"
25429 #ifdef HAVE_WCHAR_H
25431 # include <stddef.h>
25433 # include <wchar.h>
25435 #ifdef HAVE_STDLIB_H
25436 # include <stdlib.h>
25442 typedef wchar_t ac__type_sizeof_;
25446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25453 rm -f conftest.
$ac_objext
25454 if { (ac_try
="$ac_compile"
25455 case "(($ac_try" in
25456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25457 *) ac_try_echo=$ac_try;;
25459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25460 (eval "$ac_compile") 2>conftest.er1
25462 grep -v '^ *+' conftest.er1 >conftest.err
25464 cat conftest.err >&5
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); } && {
25467 test -z "$ac_c_werror_flag" ||
25468 test ! -s conftest.err
25469 } && test -s conftest.$ac_objext; then
25472 echo "$as_me: failed program was:" >&5
25473 sed 's/^/| /' conftest.$ac_ext >&5
25475 ac_lo=`expr '(' $ac_mid ')' + 1`
25478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25481 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25482 '') if test "$ac_cv_type_wchar_t" = yes; then
25483 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25484 See \`config.log
' for more details." >&5
25485 echo "$as_me: error: cannot compute sizeof (wchar_t)
25486 See \`config.log' for more details.
" >&2;}
25487 { (exit 77); exit 77; }; }
25489 ac_cv_sizeof_wchar_t=0
25493 cat >conftest.$ac_ext <<_ACEOF
25496 cat confdefs.h >>conftest.$ac_ext
25497 cat >>conftest.$ac_ext <<_ACEOF
25498 /* end confdefs.h. */
25500 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25501 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25502 # error "fake wchar_t
"
25504 #ifdef HAVE_WCHAR_H
25506 # include <stddef.h>
25508 # include <wchar.h>
25510 #ifdef HAVE_STDLIB_H
25511 # include <stdlib.h>
25517 typedef wchar_t ac__type_sizeof_;
25518 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25519 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25521 #include <stdlib.h>
25526 FILE *f = fopen ("conftest.val
", "w
");
25529 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25531 long int i = longval ();
25532 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25534 fprintf (f, "%ld
\n", i);
25538 unsigned long int i = ulongval ();
25539 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25541 fprintf (f, "%lu
\n", i);
25543 return ferror (f) || fclose (f) != 0;
25549 rm -f conftest$ac_exeext
25550 if { (ac_try="$ac_link"
25551 case "(($ac_try" in
25552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25553 *) ac_try_echo=$ac_try;;
25555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25556 (eval "$ac_link") 2>&5
25558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25560 { (case "(($ac_try" in
25561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25562 *) ac_try_echo=$ac_try;;
25564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25565 (eval "$ac_try") 2>&5
25567 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25568 (exit $ac_status); }; }; then
25569 ac_cv_sizeof_wchar_t=`cat conftest.val`
25571 echo "$as_me: program exited with status
$ac_status" >&5
25572 echo "$as_me: failed program was
:" >&5
25573 sed 's/^/| /' conftest.$ac_ext >&5
25575 ( exit $ac_status )
25576 if test "$ac_cv_type_wchar_t" = yes; then
25577 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25578 See \
`config.log' for more details." >&5
25579 echo "$as_me: error: cannot compute sizeof (wchar_t)
25580 See \`config.log
' for more details." >&2;}
25581 { (exit 77); exit 77; }; }
25583 ac_cv_sizeof_wchar_t=0
25586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25590 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25591 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25595 cat >>confdefs.h <<_ACEOF
25596 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25600 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25606 { echo "$as_me:$LINENO: checking for va_copy" >&5
25607 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25608 if test "${wx_cv_func_va_copy+set}" = set; then
25609 echo $ECHO_N "(cached) $ECHO_C" >&6
25613 ac_cpp='$CXXCPP $CPPFLAGS'
25614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25615 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25618 cat >conftest.$ac_ext <<_ACEOF
25620 #include <stdarg.h>
25621 void foo(char *f, ...)
25635 rm -f conftest.$ac_objext conftest$ac_exeext
25636 if { (ac_try="$ac_link"
25637 case "(($ac_try" in
25638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25639 *) ac_try_echo=$ac_try;;
25641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25642 (eval "$ac_link") 2>conftest.er1
25644 grep -v '^
*+' conftest.er1 >conftest.err
25646 cat conftest.err >&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); } && {
25649 test -z "$ac_cxx_werror_flag" ||
25650 test ! -s conftest.err
25651 } && test -s conftest$ac_exeext &&
25652 $as_test_x conftest$ac_exeext; then
25653 wx_cv_func_va_copy=yes
25655 echo "$as_me: failed program was:" >&5
25656 sed 's
/^
/| /' conftest.$ac_ext >&5
25658 wx_cv_func_va_copy=no
25662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25663 conftest$ac_exeext conftest.$ac_ext
25665 ac_cpp='$CPP $CPPFLAGS'
25666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25667 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25673 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25674 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25676 if test $wx_cv_func_va_copy = "yes"; then
25677 cat >>confdefs.h <<\_ACEOF
25678 #define HAVE_VA_COPY 1
25682 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25683 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25684 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25688 if test "$cross_compiling" = yes; then
25689 wx_cv_type_va_list_lvalue=yes
25692 cat >conftest.$ac_ext <<_ACEOF
25694 #include <stdarg.h>
25695 int foo(char *f, ...)
25700 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25708 return foo("hi", 17);
25711 rm -f conftest$ac_exeext
25712 if { (ac_try="$ac_link"
25713 case "(($ac_try" in
25714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_link") 2>&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25722 { (case "(($ac_try" in
25723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25724 *) ac_try_echo=$ac_try;;
25726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25727 (eval "$ac_try") 2>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); }; }; then
25731 wx_cv_type_va_list_lvalue=yes
25733 echo "$as_me: program exited with status $ac_status" >&5
25734 echo "$as_me: failed program was:" >&5
25735 sed 's
/^
/| /' conftest.$ac_ext >&5
25737 ( exit $ac_status )
25738 wx_cv_type_va_list_lvalue=no
25740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25747 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25748 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25750 if test $wx_cv_type_va_list_lvalue != "yes"; then
25751 cat >>confdefs.h <<\_ACEOF
25752 #define VA_LIST_IS_ARRAY 1
25758 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25760 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25761 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25762 if test "${wx_cv_have_variadic_macros+set}" = set; then
25763 echo $ECHO_N "(cached) $ECHO_C" >&6
25767 ac_cpp='$CXXCPP $CPPFLAGS'
25768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25769 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25772 cat >conftest.$ac_ext <<_ACEOF
25775 cat confdefs.h >>conftest.$ac_ext
25776 cat >>conftest.$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25780 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25786 test("%s %d %p", "test", 1, 0);
25793 rm -f conftest.$ac_objext
25794 if { (ac_try="$ac_compile"
25795 case "(($ac_try" in
25796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25797 *) ac_try_echo=$ac_try;;
25799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25800 (eval "$ac_compile") 2>conftest.er1
25802 grep -v '^
*+' conftest.er1 >conftest.err
25804 cat conftest.err >&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } && {
25807 test -z "$ac_cxx_werror_flag" ||
25808 test ! -s conftest.err
25809 } && test -s conftest.$ac_objext; then
25810 wx_cv_have_variadic_macros=yes
25812 echo "$as_me: failed program was:" >&5
25813 sed 's
/^
/| /' conftest.$ac_ext >&5
25815 wx_cv_have_variadic_macros=no
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 ac_cpp='$CPP $CPPFLAGS'
25822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25823 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25829 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25830 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25832 if test $wx_cv_have_variadic_macros = "yes"; then
25833 cat >>confdefs.h <<\_ACEOF
25834 #define HAVE_VARIADIC_MACROS 1
25840 # Check whether --enable-largefile was given.
25841 if test "${enable_largefile+set}" = set; then
25842 enableval=$enable_largefile;
25845 if test "$enable_largefile" != no; then
25848 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25849 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25850 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 cat >conftest.$ac_ext <<_ACEOF
25857 cat confdefs.h >>conftest.$ac_ext
25858 cat >>conftest.$ac_ext <<_ACEOF
25859 /* end confdefs.h. */
25860 #define _FILE_OFFSET_BITS 64
25861 #include <sys/types.h>
25866 unsigned int field: sizeof(off_t) == 8;
25873 rm -f conftest.$ac_objext
25874 if { (ac_try="$ac_compile"
25875 case "(($ac_try" in
25876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25877 *) ac_try_echo=$ac_try;;
25879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25880 (eval "$ac_compile") 2>conftest.er1
25882 grep -v '^
*+' conftest.er1 >conftest.err
25884 cat conftest.err >&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } && {
25887 test -z "$ac_c_werror_flag" ||
25888 test ! -s conftest.err
25889 } && test -s conftest.$ac_objext; then
25890 ac_cv_sys_file_offset_bits=64
25892 echo "$as_me: failed program was:" >&5
25893 sed 's
/^
/| /' conftest.$ac_ext >&5
25895 ac_cv_sys_file_offset_bits=no
25898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25902 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25903 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25905 if test "$ac_cv_sys_file_offset_bits" != no; then
25907 cat >>confdefs.h <<_ACEOF
25908 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25913 if test "x$wx_largefile" != "xyes"; then
25915 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25916 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25917 if test "${ac_cv_sys_large_files+set}" = set; then
25918 echo $ECHO_N "(cached) $ECHO_C" >&6
25921 cat >conftest.$ac_ext <<_ACEOF
25924 cat confdefs.h >>conftest.$ac_ext
25925 cat >>conftest.$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927 #define _LARGE_FILES 1
25928 #include <sys/types.h>
25933 unsigned int field: sizeof(off_t) == 8;
25940 rm -f conftest.$ac_objext
25941 if { (ac_try="$ac_compile"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_compile") 2>conftest.er1
25949 grep -v '^
*+' conftest.er1 >conftest.err
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_c_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest.$ac_objext; then
25957 ac_cv_sys_large_files=1
25959 echo "$as_me: failed program was:" >&5
25960 sed 's
/^
/| /' conftest.$ac_ext >&5
25962 ac_cv_sys_large_files=no
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25970 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25972 if test "$ac_cv_sys_large_files" != no; then
25974 cat >>confdefs.h <<_ACEOF
25975 #define _LARGE_FILES $ac_cv_sys_large_files
25982 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25983 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25984 if test "x$wx_largefile" = "xyes"; then
25985 cat >>confdefs.h <<\_ACEOF
25986 #define HAVE_LARGEFILE_SUPPORT 1
25990 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25991 echo "${ECHO_T}$wx_largefile" >&6; }
25995 if test "x$wx_largefile" = "xyes"; then
25996 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25997 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25999 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26000 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26001 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26002 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26007 ac_cpp='$CXXCPP $CPPFLAGS'
26008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26009 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012 cat >conftest.$ac_ext <<_ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26023 #ifndef __STDC_EXT__
26031 rm -f conftest.$ac_objext
26032 if { (ac_try="$ac_compile"
26033 case "(($ac_try" in
26034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26035 *) ac_try_echo=$ac_try;;
26037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26038 (eval "$ac_compile") 2>conftest.er1
26040 grep -v '^
*+' conftest.er1 >conftest.err
26042 cat conftest.err >&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); } && {
26045 test -z "$ac_cxx_werror_flag" ||
26046 test ! -s conftest.err
26047 } && test -s conftest.$ac_objext; then
26048 wx_cv_STDC_EXT_required=no
26050 echo "$as_me: failed program was:" >&5
26051 sed 's
/^
/| /' conftest.$ac_ext >&5
26053 wx_cv_STDC_EXT_required=yes
26057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26059 ac_cpp='$CPP $CPPFLAGS'
26060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26061 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26067 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26068 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26069 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26070 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26074 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26076 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26077 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26078 if test "${ac_cv_sys_largefile_source+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26082 cat >conftest.$ac_ext <<_ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088 #include <sys/types.h> /* for off_t */
26093 int (*fp) (FILE *, off_t, int) = fseeko;
26094 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26099 rm -f conftest.$ac_objext conftest$ac_exeext
26100 if { (ac_try="$ac_link"
26101 case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_link") 2>conftest.er1
26108 grep -v '^
*+' conftest.er1 >conftest.err
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_c_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest$ac_exeext &&
26116 $as_test_x conftest$ac_exeext; then
26117 ac_cv_sys_largefile_source=no; break
26119 echo "$as_me: failed program was:" >&5
26120 sed 's
/^
/| /' conftest.$ac_ext >&5
26125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26126 conftest$ac_exeext conftest.$ac_ext
26127 cat >conftest.$ac_ext <<_ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #define _LARGEFILE_SOURCE 1
26134 #include <sys/types.h> /* for off_t */
26139 int (*fp) (FILE *, off_t, int) = fseeko;
26140 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26145 rm -f conftest.$ac_objext conftest$ac_exeext
26146 if { (ac_try="$ac_link"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_link") 2>conftest.er1
26154 grep -v '^
*+' conftest.er1 >conftest.err
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_c_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest$ac_exeext &&
26162 $as_test_x conftest$ac_exeext; then
26163 ac_cv_sys_largefile_source=1; break
26165 echo "$as_me: failed program was:" >&5
26166 sed 's
/^
/| /' conftest.$ac_ext >&5
26171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26172 conftest$ac_exeext conftest.$ac_ext
26173 ac_cv_sys_largefile_source=unknown
26177 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26178 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26179 case $ac_cv_sys_largefile_source in #(
26182 cat >>confdefs.h <<_ACEOF
26183 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26189 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26190 # in glibc 2.1.3, but that breaks too many other things.
26191 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26192 if test $ac_cv_sys_largefile_source != unknown; then
26194 cat >>confdefs.h <<\_ACEOF
26195 #define HAVE_FSEEKO 1
26200 if test "$ac_cv_sys_largefile_source" != no; then
26201 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26205 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26206 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26207 if test "${ac_cv_c_bigendian+set}" = set; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26210 ac_cv_c_bigendian=unknown
26211 # See if sys/param.h defines the BYTE_ORDER macro.
26212 cat >conftest.$ac_ext <<_ACEOF
26215 cat confdefs.h >>conftest.$ac_ext
26216 cat >>conftest.$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26218 #include <sys/types.h>
26219 #include <sys/param.h>
26224 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26225 bogus endian macros
26231 rm -f conftest.$ac_objext
26232 if { (ac_try="$ac_compile"
26233 case "(($ac_try" in
26234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26235 *) ac_try_echo=$ac_try;;
26237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26238 (eval "$ac_compile") 2>conftest.er1
26240 grep -v '^
*+' conftest.er1 >conftest.err
26242 cat conftest.err >&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); } && {
26245 test -z "$ac_c_werror_flag" ||
26246 test ! -s conftest.err
26247 } && test -s conftest.$ac_objext; then
26248 # It does; now see whether it defined to BIG_ENDIAN or not.
26249 cat >conftest.$ac_ext <<_ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 #include <sys/types.h>
26256 #include <sys/param.h>
26261 #if BYTE_ORDER != BIG_ENDIAN
26268 rm -f conftest.$ac_objext
26269 if { (ac_try="$ac_compile"
26270 case "(($ac_try" in
26271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_compile") 2>conftest.er1
26277 grep -v '^
*+' conftest.er1 >conftest.err
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } && {
26282 test -z "$ac_c_werror_flag" ||
26283 test ! -s conftest.err
26284 } && test -s conftest.$ac_objext; then
26285 ac_cv_c_bigendian=yes
26287 echo "$as_me: failed program was:" >&5
26288 sed 's
/^
/| /' conftest.$ac_ext >&5
26290 ac_cv_c_bigendian=no
26293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26295 echo "$as_me: failed program was:" >&5
26296 sed 's
/^
/| /' conftest.$ac_ext >&5
26301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26302 if test $ac_cv_c_bigendian = unknown; then
26303 if test "$cross_compiling" = yes; then
26304 ac_cv_c_bigendian=unknown
26306 cat >conftest.$ac_ext <<_ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26313 /* Are we little or big endian? From Harbison&Steele. */
26317 char c[sizeof (long)];
26320 exit (u.c[sizeof (long) - 1] == 1);
26323 rm -f conftest$ac_exeext
26324 if { (ac_try="$ac_link"
26325 case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;;
26329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26330 (eval "$ac_link") 2>&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26334 { (case "(($ac_try" in
26335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26336 *) ac_try_echo=$ac_try;;
26338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26339 (eval "$ac_try") 2>&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; }; then
26343 ac_cv_c_bigendian=no
26345 echo "$as_me: program exited with status $ac_status" >&5
26346 echo "$as_me: failed program was:" >&5
26347 sed 's
/^
/| /' conftest.$ac_ext >&5
26349 ( exit $ac_status )
26350 ac_cv_c_bigendian=yes
26352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26358 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26359 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26360 if test $ac_cv_c_bigendian = unknown; then
26361 { 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
26362 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;}
26364 if test $ac_cv_c_bigendian = yes; then
26365 cat >>confdefs.h <<\_ACEOF
26366 #define WORDS_BIGENDIAN 1
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26377 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26382 for ac_header in iostream
26384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26385 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26388 echo $ECHO_N "(cached) $ECHO_C" >&6
26390 cat >conftest.$ac_ext <<_ACEOF
26393 cat confdefs.h >>conftest.$ac_ext
26394 cat >>conftest.$ac_ext <<_ACEOF
26395 /* end confdefs.h. */
26398 #include <$ac_header>
26400 rm -f conftest.$ac_objext
26401 if { (ac_try="$ac_compile"
26402 case "(($ac_try" in
26403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26404 *) ac_try_echo=$ac_try;;
26406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26407 (eval "$ac_compile") 2>conftest.er1
26409 grep -v '^
*+' conftest.er1 >conftest.err
26411 cat conftest.err >&5
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); } && {
26414 test -z "$ac_cxx_werror_flag" ||
26415 test ! -s conftest.err
26416 } && test -s conftest.$ac_objext; then
26417 eval "$as_ac_Header=yes"
26419 echo "$as_me: failed program was:" >&5
26420 sed 's
/^
/| /' conftest.$ac_ext >&5
26422 eval "$as_ac_Header=no"
26425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427 ac_res=`eval echo '${'$as_ac_Header'}'`
26428 { echo "$as_me:$LINENO: result: $ac_res" >&5
26429 echo "${ECHO_T}$ac_res" >&6; }
26430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26431 cat >>confdefs.h <<_ACEOF
26432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26440 if test "$ac_cv_header_iostream" = "yes" ; then
26443 cat >>confdefs.h <<\_ACEOF
26444 #define wxUSE_IOSTREAMH 1
26450 ac_cpp='$CPP $CPPFLAGS'
26451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26452 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26458 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26459 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26460 if test "${wx_cv_cpp_bool+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26466 ac_cpp='$CXXCPP $CPPFLAGS'
26467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26468 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26472 cat >conftest.$ac_ext <<_ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26492 rm -f conftest.$ac_objext
26493 if { (ac_try="$ac_compile"
26494 case "(($ac_try" in
26495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_compile") 2>conftest.er1
26501 grep -v '^
*+' conftest.er1 >conftest.err
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && {
26506 test -z "$ac_cxx_werror_flag" ||
26507 test ! -s conftest.err
26508 } && test -s conftest.$ac_objext; then
26513 echo "$as_me: failed program was:" >&5
26514 sed 's
/^
/| /' conftest.$ac_ext >&5
26522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26525 ac_cpp='$CPP $CPPFLAGS'
26526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26527 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26532 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26533 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26535 if test "$wx_cv_cpp_bool" = "yes"; then
26536 cat >>confdefs.h <<\_ACEOF
26537 #define HAVE_BOOL 1
26544 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26545 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26546 if test "${wx_cv_explicit+set}" = set; then
26547 echo $ECHO_N "(cached) $ECHO_C" >&6
26552 ac_cpp='$CXXCPP $CPPFLAGS'
26553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26554 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26558 cat >conftest.$ac_ext <<_ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26565 class Foo { public: explicit Foo(int) {} };
26577 rm -f conftest.$ac_objext
26578 if { (ac_try="$ac_compile"
26579 case "(($ac_try" in
26580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26581 *) ac_try_echo=$ac_try;;
26583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26584 (eval "$ac_compile") 2>conftest.er1
26586 grep -v '^
*+' conftest.er1 >conftest.err
26588 cat conftest.err >&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } && {
26591 test -z "$ac_cxx_werror_flag" ||
26592 test ! -s conftest.err
26593 } && test -s conftest.$ac_objext; then
26595 cat >conftest.$ac_ext <<_ACEOF
26598 cat confdefs.h >>conftest.$ac_ext
26599 cat >>conftest.$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26602 class Foo { public: explicit Foo(int) {} };
26603 static void TakeFoo(const Foo& foo) { }
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26625 grep -v '^
*+' conftest.er1 >conftest.err
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_cxx_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26635 echo "$as_me: failed program was:" >&5
26636 sed 's
/^
/| /' conftest.$ac_ext >&5
26642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645 echo "$as_me: failed program was:" >&5
26646 sed 's
/^
/| /' conftest.$ac_ext >&5
26652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26655 ac_cpp='$CPP $CPPFLAGS'
26656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26657 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26662 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26663 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26665 if test "$wx_cv_explicit" = "yes"; then
26666 cat >>confdefs.h <<\_ACEOF
26667 #define HAVE_EXPLICIT 1
26673 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26674 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26675 if test "${ac_cv_cxx_const_cast+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 ac_cpp='$CXXCPP $CPPFLAGS'
26681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26682 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26685 cat >conftest.$ac_ext <<_ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26695 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26700 rm -f conftest.$ac_objext
26701 if { (ac_try="$ac_compile"
26702 case "(($ac_try" in
26703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26704 *) ac_try_echo=$ac_try;;
26706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26707 (eval "$ac_compile") 2>conftest.er1
26709 grep -v '^
*+' conftest.er1 >conftest.err
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); } && {
26714 test -z "$ac_cxx_werror_flag" ||
26715 test ! -s conftest.err
26716 } && test -s conftest.$ac_objext; then
26717 ac_cv_cxx_const_cast=yes
26719 echo "$as_me: failed program was:" >&5
26720 sed 's
/^
/| /' conftest.$ac_ext >&5
26722 ac_cv_cxx_const_cast=no
26725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26727 ac_cpp='$CPP $CPPFLAGS'
26728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26729 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26734 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26735 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26736 if test "$ac_cv_cxx_const_cast" = yes; then
26738 cat >>confdefs.h <<\_ACEOF
26739 #define HAVE_CONST_CAST
26744 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26745 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26746 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26747 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 ac_cpp='$CXXCPP $CPPFLAGS'
26752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26753 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26756 cat >conftest.$ac_ext <<_ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762 #include <typeinfo>
26763 class Base { public : Base () {} virtual void f () = 0;};
26764 class Derived : public Base { public : Derived () {} virtual void f () {} };
26765 class Unrelated { public : Unrelated () {} };
26766 int g (Unrelated&) { return 0; }
26771 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26776 rm -f conftest.$ac_objext
26777 if { (ac_try="$ac_compile"
26778 case "(($ac_try" in
26779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26780 *) ac_try_echo=$ac_try;;
26782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26783 (eval "$ac_compile") 2>conftest.er1
26785 grep -v '^
*+' conftest.er1 >conftest.err
26787 cat conftest.err >&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } && {
26790 test -z "$ac_cxx_werror_flag" ||
26791 test ! -s conftest.err
26792 } && test -s conftest.$ac_objext; then
26793 ac_cv_cxx_reinterpret_cast=yes
26795 echo "$as_me: failed program was:" >&5
26796 sed 's
/^
/| /' conftest.$ac_ext >&5
26798 ac_cv_cxx_reinterpret_cast=no
26801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26803 ac_cpp='$CPP $CPPFLAGS'
26804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26805 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26810 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26811 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26812 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26814 cat >>confdefs.h <<\_ACEOF
26815 #define HAVE_REINTERPRET_CAST
26820 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26821 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26822 if test "${ac_cv_cxx_static_cast+set}" = set; then
26823 echo $ECHO_N "(cached) $ECHO_C" >&6
26827 ac_cpp='$CXXCPP $CPPFLAGS'
26828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26829 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26832 cat >conftest.$ac_ext <<_ACEOF
26835 cat confdefs.h >>conftest.$ac_ext
26836 cat >>conftest.$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26838 #include <typeinfo>
26839 class Base { public : Base () {} virtual void f () = 0; };
26840 class Derived : public Base { public : Derived () {} virtual void f () {} };
26841 int g (Derived&) { return 0; }
26846 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26851 rm -f conftest.$ac_objext
26852 if { (ac_try="$ac_compile"
26853 case "(($ac_try" in
26854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26855 *) ac_try_echo=$ac_try;;
26857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26858 (eval "$ac_compile") 2>conftest.er1
26860 grep -v '^
*+' conftest.er1 >conftest.err
26862 cat conftest.err >&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } && {
26865 test -z "$ac_cxx_werror_flag" ||
26866 test ! -s conftest.err
26867 } && test -s conftest.$ac_objext; then
26868 ac_cv_cxx_static_cast=yes
26870 echo "$as_me: failed program was:" >&5
26871 sed 's
/^
/| /' conftest.$ac_ext >&5
26873 ac_cv_cxx_static_cast=no
26876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26878 ac_cpp='$CPP $CPPFLAGS'
26879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26880 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26885 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26886 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26887 if test "$ac_cv_cxx_static_cast" = yes; then
26889 cat >>confdefs.h <<\_ACEOF
26890 #define HAVE_STATIC_CAST
26896 if test "x$SUNCXX" = xyes; then
26897 CXXFLAGS="-features=tmplife $CXXFLAGS"
26900 if test "x$SUNCC" = xyes; then
26901 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26904 if test "x$SGICC" = "xyes"; then
26905 CFLAGS="-woff 3970 $CFLAGS"
26907 if test "x$SGICXX" = "xyes"; then
26908 CXXFLAGS="-woff 3970 $CXXFLAGS"
26911 if test "x$HPCC" = "xyes"; then
26912 CFLAGS="+W 2011,2450 $CFLAGS"
26914 if test "x$HPCXX" = "xyes"; then
26915 CXXFLAGS="+W 2340 $CXXFLAGS"
26918 if test "x$COMPAQCXX" = "xyes"; then
26919 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26923 ac_cpp='$CXXCPP $CPPFLAGS'
26924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26925 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26929 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26930 if test "$wxUSE_UNICODE" = "yes"; then
26931 std_string="std::wstring"
26932 char_type="wchar_t"
26934 std_string="std::string"
26938 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26939 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26940 if test "${wx_cv_class_stdstring+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 cat >conftest.$ac_ext <<_ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26959 rm -f conftest.$ac_objext
26960 if { (ac_try="$ac_compile"
26961 case "(($ac_try" in
26962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26963 *) ac_try_echo=$ac_try;;
26965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26966 (eval "$ac_compile") 2>conftest.er1
26968 grep -v '^
*+' conftest.er1 >conftest.err
26970 cat conftest.err >&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } && {
26973 test -z "$ac_cxx_werror_flag" ||
26974 test ! -s conftest.err
26975 } && test -s conftest.$ac_objext; then
26976 wx_cv_class_stdstring=yes
26978 echo "$as_me: failed program was:" >&5
26979 sed 's
/^
/| /' conftest.$ac_ext >&5
26981 wx_cv_class_stdstring=no
26985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26989 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26990 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26992 if test "$wx_cv_class_stdstring" = yes; then
26993 if test "$wxUSE_UNICODE" = "yes"; then
26994 cat >>confdefs.h <<\_ACEOF
26995 #define HAVE_STD_WSTRING 1
27000 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27001 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27002 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 cat >conftest.$ac_ext <<_ACEOF
27009 cat confdefs.h >>conftest.$ac_ext
27010 cat >>conftest.$ac_ext <<_ACEOF
27011 /* end confdefs.h. */
27013 #ifdef HAVE_WCHAR_H
27015 # include <stddef.h>
27017 # include <wchar.h>
27019 #ifdef HAVE_STDLIB_H
27020 # include <stdlib.h>
27028 std::basic_string<$char_type> foo;
27029 const $char_type* dummy = foo.c_str();
27034 rm -f conftest.$ac_objext
27035 if { (ac_try="$ac_compile"
27036 case "(($ac_try" in
27037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27038 *) ac_try_echo=$ac_try;;
27040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27041 (eval "$ac_compile") 2>conftest.er1
27043 grep -v '^
*+' conftest.er1 >conftest.err
27045 cat conftest.err >&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); } && {
27048 test -z "$ac_cxx_werror_flag" ||
27049 test ! -s conftest.err
27050 } && test -s conftest.$ac_objext; then
27051 wx_cv_class_stdbasicstring=yes
27053 echo "$as_me: failed program was:" >&5
27054 sed 's
/^
/| /' conftest.$ac_ext >&5
27056 wx_cv_class_stdbasicstring=no
27060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27064 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27065 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27067 if test "$wx_cv_class_stdbasicstring" != yes; then
27068 if test "$wxUSE_STL" = "yes"; then
27069 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27070 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27071 { (exit 1); exit 1; }; }
27072 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27073 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27074 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27075 { (exit 1); exit 1; }; }
27077 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27078 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27079 wxUSE_STD_STRING=no
27085 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27086 { echo "$as_me:$LINENO: checking for std::istream" >&5
27087 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27088 if test "${ac_cv_type_std__istream+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27091 cat >conftest.$ac_ext <<_ACEOF
27094 cat confdefs.h >>conftest.$ac_ext
27095 cat >>conftest.$ac_ext <<_ACEOF
27096 /* end confdefs.h. */
27097 #include <iostream>
27099 typedef std::istream ac__type_new_;
27103 if ((ac__type_new_ *) 0)
27105 if (sizeof (ac__type_new_))
27111 rm -f conftest.$ac_objext
27112 if { (ac_try="$ac_compile"
27113 case "(($ac_try" in
27114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27115 *) ac_try_echo=$ac_try;;
27117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27118 (eval "$ac_compile") 2>conftest.er1
27120 grep -v '^
*+' conftest.er1 >conftest.err
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } && {
27125 test -z "$ac_cxx_werror_flag" ||
27126 test ! -s conftest.err
27127 } && test -s conftest.$ac_objext; then
27128 ac_cv_type_std__istream=yes
27130 echo "$as_me: failed program was:" >&5
27131 sed 's
/^
/| /' conftest.$ac_ext >&5
27133 ac_cv_type_std__istream=no
27136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27138 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27139 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27140 if test $ac_cv_type_std__istream = yes; then
27142 cat >>confdefs.h <<_ACEOF
27143 #define HAVE_STD__ISTREAM 1
27148 wxUSE_STD_IOSTREAM=no
27150 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27151 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27152 if test "${ac_cv_type_std__ostream+set}" = set; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 cat >conftest.$ac_ext <<_ACEOF
27158 cat confdefs.h >>conftest.$ac_ext
27159 cat >>conftest.$ac_ext <<_ACEOF
27160 /* end confdefs.h. */
27161 #include <iostream>
27163 typedef std::ostream ac__type_new_;
27167 if ((ac__type_new_ *) 0)
27169 if (sizeof (ac__type_new_))
27175 rm -f conftest.$ac_objext
27176 if { (ac_try="$ac_compile"
27177 case "(($ac_try" in
27178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27179 *) ac_try_echo=$ac_try;;
27181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27182 (eval "$ac_compile") 2>conftest.er1
27184 grep -v '^
*+' conftest.er1 >conftest.err
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } && {
27189 test -z "$ac_cxx_werror_flag" ||
27190 test ! -s conftest.err
27191 } && test -s conftest.$ac_objext; then
27192 ac_cv_type_std__ostream=yes
27194 echo "$as_me: failed program was:" >&5
27195 sed 's
/^
/| /' conftest.$ac_ext >&5
27197 ac_cv_type_std__ostream=no
27200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27202 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27203 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27204 if test $ac_cv_type_std__ostream = yes; then
27206 cat >>confdefs.h <<_ACEOF
27207 #define HAVE_STD__OSTREAM 1
27212 wxUSE_STD_IOSTREAM=no
27216 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27217 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27218 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27219 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27220 { (exit 1); exit 1; }; }
27222 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27223 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27228 if test "$wxUSE_STL" = "yes"; then
27229 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27230 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27231 if test "${wx_cv_lib_stl+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27234 cat >conftest.$ac_ext <<_ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27241 #include <functional>
27242 #include <algorithm>
27248 std::vector<int> moo;
27249 std::list<int> foo;
27250 std::vector<int>::iterator it =
27251 std::find_if(moo.begin(), moo.end(),
27252 std::bind2nd(std::less<int>(), 3));
27257 rm -f conftest.$ac_objext
27258 if { (ac_try="$ac_compile"
27259 case "(($ac_try" in
27260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27261 *) ac_try_echo=$ac_try;;
27263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27264 (eval "$ac_compile") 2>conftest.er1
27266 grep -v '^
*+' conftest.er1 >conftest.err
27268 cat conftest.err >&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } && {
27271 test -z "$ac_cxx_werror_flag" ||
27272 test ! -s conftest.err
27273 } && test -s conftest.$ac_objext; then
27276 echo "$as_me: failed program was:" >&5
27277 sed 's
/^
/| /' conftest.$ac_ext >&5
27283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27286 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27287 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27289 if test "$wx_cv_lib_stl" != yes; then
27290 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27291 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27292 { (exit 1); exit 1; }; }
27295 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27296 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27297 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 cat >conftest.$ac_ext <<_ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27310 std::string foo, bar;
27312 foo.compare(1, 1, bar);
27313 foo.compare(1, 1, bar, 1, 1);
27315 foo.compare(1, 1, "");
27316 foo.compare(1, 1, "", 2);
27321 rm -f conftest.$ac_objext
27322 if { (ac_try="$ac_compile"
27323 case "(($ac_try" in
27324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27325 *) ac_try_echo=$ac_try;;
27327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27328 (eval "$ac_compile") 2>conftest.er1
27330 grep -v '^
*+' conftest.er1 >conftest.err
27332 cat conftest.err >&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } && {
27335 test -z "$ac_cxx_werror_flag" ||
27336 test ! -s conftest.err
27337 } && test -s conftest.$ac_objext; then
27338 wx_cv_func_stdstring_compare=yes
27340 echo "$as_me: failed program was:" >&5
27341 sed 's
/^
/| /' conftest.$ac_ext >&5
27343 wx_cv_func_stdstring_compare=no
27347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27350 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27351 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27353 if test "$wx_cv_func_stdstring_compare" = yes; then
27354 cat >>confdefs.h <<\_ACEOF
27355 #define HAVE_STD_STRING_COMPARE 1
27360 { echo "$as_me:$LINENO: checking for hash_map" >&5
27361 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27362 if test "${ac_cv_header_hash_map+set}" = set; then
27363 echo $ECHO_N "(cached) $ECHO_C" >&6
27365 cat >conftest.$ac_ext <<_ACEOF
27368 cat confdefs.h >>conftest.$ac_ext
27369 cat >>conftest.$ac_ext <<_ACEOF
27370 /* end confdefs.h. */
27374 #include <hash_map>
27376 rm -f conftest.$ac_objext
27377 if { (ac_try="$ac_compile"
27378 case "(($ac_try" in
27379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27380 *) ac_try_echo=$ac_try;;
27382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27383 (eval "$ac_compile") 2>conftest.er1
27385 grep -v '^
*+' conftest.er1 >conftest.err
27387 cat conftest.err >&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); } && {
27390 test -z "$ac_cxx_werror_flag" ||
27391 test ! -s conftest.err
27392 } && test -s conftest.$ac_objext; then
27393 ac_cv_header_hash_map=yes
27395 echo "$as_me: failed program was:" >&5
27396 sed 's
/^
/| /' conftest.$ac_ext >&5
27398 ac_cv_header_hash_map=no
27401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27403 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27404 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27405 if test $ac_cv_header_hash_map = yes; then
27406 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27407 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27408 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27409 echo $ECHO_N "(cached) $ECHO_C" >&6
27411 cat >conftest.$ac_ext <<_ACEOF
27414 cat confdefs.h >>conftest.$ac_ext
27415 cat >>conftest.$ac_ext <<_ACEOF
27416 /* end confdefs.h. */
27417 #include <hash_map>
27418 #include <hash_set>
27422 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27423 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27428 rm -f conftest.$ac_objext
27429 if { (ac_try="$ac_compile"
27430 case "(($ac_try" in
27431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27432 *) ac_try_echo=$ac_try;;
27434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435 (eval "$ac_compile") 2>conftest.er1
27437 grep -v '^
*+' conftest.er1 >conftest.err
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } && {
27442 test -z "$ac_cxx_werror_flag" ||
27443 test ! -s conftest.err
27444 } && test -s conftest.$ac_objext; then
27445 wx_cv_class_stdhashmapset=yes
27447 echo "$as_me: failed program was:" >&5
27448 sed 's
/^
/| /' conftest.$ac_ext >&5
27450 wx_cv_class_stdhashmapset=no
27453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27457 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27458 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27463 if test "$wx_cv_class_stdhashmapset" = yes; then
27464 cat >>confdefs.h <<\_ACEOF
27465 #define HAVE_HASH_MAP 1
27468 cat >>confdefs.h <<\_ACEOF
27469 #define HAVE_STD_HASH_MAP 1
27474 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27475 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27476 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27477 echo $ECHO_N "(cached) $ECHO_C" >&6
27479 cat >conftest.$ac_ext <<_ACEOF
27482 cat confdefs.h >>conftest.$ac_ext
27483 cat >>conftest.$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27488 #include <ext/hash_map>
27490 rm -f conftest.$ac_objext
27491 if { (ac_try="$ac_compile"
27492 case "(($ac_try" in
27493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27494 *) ac_try_echo=$ac_try;;
27496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27497 (eval "$ac_compile") 2>conftest.er1
27499 grep -v '^
*+' conftest.er1 >conftest.err
27501 cat conftest.err >&5
27502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503 (exit $ac_status); } && {
27504 test -z "$ac_cxx_werror_flag" ||
27505 test ! -s conftest.err
27506 } && test -s conftest.$ac_objext; then
27507 ac_cv_header_ext_hash_map=yes
27509 echo "$as_me: failed program was:" >&5
27510 sed 's
/^
/| /' conftest.$ac_ext >&5
27512 ac_cv_header_ext_hash_map=no
27515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27517 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27518 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27519 if test $ac_cv_header_ext_hash_map = yes; then
27520 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27521 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27522 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27523 echo $ECHO_N "(cached) $ECHO_C" >&6
27525 cat >conftest.$ac_ext <<_ACEOF
27528 cat confdefs.h >>conftest.$ac_ext
27529 cat >>conftest.$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27531 #include <ext/hash_map>
27532 #include <ext/hash_set>
27536 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27537 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27542 rm -f conftest.$ac_objext
27543 if { (ac_try="$ac_compile"
27544 case "(($ac_try" in
27545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27546 *) ac_try_echo=$ac_try;;
27548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27549 (eval "$ac_compile") 2>conftest.er1
27551 grep -v '^
*+' conftest.er1 >conftest.err
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } && {
27556 test -z "$ac_cxx_werror_flag" ||
27557 test ! -s conftest.err
27558 } && test -s conftest.$ac_objext; then
27559 wx_cv_class_gnuhashmapset=yes
27561 echo "$as_me: failed program was:" >&5
27562 sed 's
/^
/| /' conftest.$ac_ext >&5
27564 wx_cv_class_gnuhashmapset=no
27567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27571 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27572 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27577 if test "$wx_cv_class_gnuhashmapset" = yes; then
27578 cat >>confdefs.h <<\_ACEOF
27579 #define HAVE_EXT_HASH_MAP 1
27582 cat >>confdefs.h <<\_ACEOF
27583 #define HAVE_GNU_CXX_HASH_MAP 1
27591 if test -n "$GCC"; then
27592 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27593 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27594 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27595 echo $ECHO_N "(cached) $ECHO_C" >&6
27598 cat >conftest.$ac_ext <<_ACEOF
27601 cat confdefs.h >>conftest.$ac_ext
27602 cat >>conftest.$ac_ext <<_ACEOF
27603 /* end confdefs.h. */
27610 __sync_fetch_and_add(&value, 1);
27611 __sync_sub_and_fetch(&value, 1);
27617 rm -f conftest.$ac_objext
27618 if { (ac_try="$ac_compile"
27619 case "(($ac_try" in
27620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27621 *) ac_try_echo=$ac_try;;
27623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27624 (eval "$ac_compile") 2>conftest.er1
27626 grep -v '^
*+' conftest.er1 >conftest.err
27628 cat conftest.err >&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); } && {
27631 test -z "$ac_cxx_werror_flag" ||
27632 test ! -s conftest.err
27633 } && test -s conftest.$ac_objext; then
27634 wx_cv_cc_gcc_atomic_builtins=yes
27636 echo "$as_me: failed program was:" >&5
27637 sed 's
/^
/| /' conftest.$ac_ext >&5
27639 wx_cv_cc_gcc_atomic_builtins=no
27642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27646 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27647 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27648 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27649 cat >>confdefs.h <<\_ACEOF
27650 #define HAVE_GCC_ATOMIC_BUILTINS 1
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27660 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 /usr/local/include \
27668 /usr/Motif-2.1/include \
27669 /usr/Motif-1.2/include \
27670 /usr/include/Motif1.2 \
27673 /usr/openwin/include \
27677 /usr/X11R6/include \
27678 /usr/X11R6.4/include \
27679 /usr/X11R5/include \
27680 /usr/X11R4/include \
27682 /usr/include/X11R6 \
27683 /usr/include/X11R5 \
27684 /usr/include/X11R4 \
27686 /usr/local/X11R6/include \
27687 /usr/local/X11R5/include \
27688 /usr/local/X11R4/include \
27690 /usr/local/include/X11R6 \
27691 /usr/local/include/X11R5 \
27692 /usr/local/include/X11R4 \
27696 /usr/local/X11/include \
27697 /usr/local/include/X11 \
27699 /usr/XFree86/include/X11 \
27702 /usr/openwin/share/include"
27704 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27705 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27709 if test "${wx_cv_std_libpath+set}" = set; then
27710 echo $ECHO_N "(cached) $ECHO_C" >&6
27713 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27714 for e in a so sl dylib dll.a; do
27716 if test -f $libc; then
27719 cat >conftest.$ac_ext <<_ACEOF
27720 int main() { return 0; }
27722 rm -f conftest.$ac_objext conftest$ac_exeext
27723 if { (ac_try="$ac_link"
27724 case "(($ac_try" in
27725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_link") 2>conftest.er1
27731 grep -v '^
*+' conftest.er1 >conftest.err
27733 cat conftest.err >&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } && {
27736 test -z "$ac_c_werror_flag" ||
27737 test ! -s conftest.err
27738 } && test -s conftest$ac_exeext &&
27739 $as_test_x conftest$ac_exeext; then
27740 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27742 echo "$as_me: failed program was:" >&5
27743 sed 's
/^
/| /' conftest.$ac_ext >&5
27748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27749 conftest$ac_exeext conftest.$ac_ext
27751 if test "x$wx_cv_std_libpath" != "x"; then
27757 if test "x$wx_cv_std_libpath" = "x"; then
27758 wx_cv_std_libpath="lib"
27767 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27768 wx_cv_std_libpath="lib/64"
27770 wx_cv_std_libpath="lib"
27775 if test "$ac_cv_sizeof_void_p" = 8 -a \
27776 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27777 wx_cv_std_libpath="lib64"
27779 wx_cv_std_libpath="lib"
27784 wx_cv_std_libpath="lib";
27788 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27789 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27791 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27793 if test "$build" != "$host" -a "$GCC" = yes; then
27794 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27795 cross_root=`dirname $cross_root`
27796 cross_root=`dirname $cross_root`
27798 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27799 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27800 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27802 if test -z "$PKG_CONFIG_PATH"; then
27803 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27804 export PKG_CONFIG_PATH
27807 if test -z "$x_includes" -o "$x_includes" = NONE; then
27810 for ac_dir in $SEARCH_INCLUDE /usr/include;
27812 if test -f "$ac_dir/X11/Intrinsic.h"; then
27813 ac_find_includes=$ac_dir
27818 x_includes=$ac_find_includes
27820 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27823 for ac_dir in $SEARCH_LIB;
27825 for ac_extension in a so sl dylib dll.a; do
27826 if test -f "$ac_dir/libXt.$ac_extension"; then
27827 ac_find_libraries=$ac_dir
27833 x_libraries=$ac_find_libraries
27839 cat >confcache <<\_ACEOF
27840 # This file is a shell script that caches the results of configure
27841 # tests run on this system so they can be shared between configure
27842 # scripts and configure runs, see configure's option
--config-cache.
27843 # It is not useful on other systems. If it contains results you don't
27844 # want to keep, you may remove or edit it.
27846 # config.status only pays attention to the cache file if you give it
27847 # the --recheck option to rerun configure.
27849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27851 # following values.
27855 # The following way of writing the cache mishandles newlines in values,
27856 # but we know of no workaround that is simple, portable, and efficient.
27857 # So, we kill variables containing newlines.
27858 # Ultrix sh set writes to stderr and can't be redirected directly,
27859 # and sets the high bit in the cache file unless we assign to the vars.
27861 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27862 eval ac_val
=\$
$ac_var
27866 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27867 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27870 _
| IFS
| as_nl
) ;; #(
27871 *) $as_unset $ac_var ;;
27877 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27878 *${as_nl}ac_space
=\
*)
27879 # `set' does not quote correctly, so add quotes (double-quote
27880 # substitution turns \\\\ into \\, and sed turns \\ into \).
27883 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27886 # `set' quotes correctly as required by POSIX, so do not add quotes.
27887 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27896 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27898 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27900 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27901 if test -w "$cache_file"; then
27902 test "x$cache_file" != "x/dev/null" &&
27903 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27904 echo "$as_me: updating cache $cache_file" >&6;}
27905 cat confcache
>$cache_file
27907 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27908 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27913 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27914 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27915 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27916 if test "${wx_cv_lib_glibc21+set}" = set; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27920 cat >conftest.
$ac_ext <<_ACEOF
27923 cat confdefs.h
>>conftest.
$ac_ext
27924 cat >>conftest.
$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27926 #include <features.h>
27931 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27939 rm -f conftest.
$ac_objext
27940 if { (ac_try
="$ac_compile"
27941 case "(($ac_try" in
27942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27943 *) ac_try_echo=$ac_try;;
27945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27946 (eval "$ac_compile") 2>conftest.er1
27948 grep -v '^ *+' conftest.er1 >conftest.err
27950 cat conftest.err >&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); } && {
27953 test -z "$ac_c_werror_flag" ||
27954 test ! -s conftest.err
27955 } && test -s conftest.$ac_objext; then
27957 wx_cv_lib_glibc21=yes
27960 echo "$as_me: failed program was:" >&5
27961 sed 's/^/| /' conftest.$ac_ext >&5
27964 wx_cv_lib_glibc21=no
27969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27972 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27973 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27974 if test "$wx_cv_lib_glibc21" = "yes"; then
27975 cat >>confdefs.h <<\_ACEOF
27976 #define wxHAVE_GLIBC2 1
27982 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27983 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27984 cat >>confdefs.h <<\_ACEOF
27985 #define _GNU_SOURCE 1
27996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27997 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27999 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28002 cat >conftest.$ac_ext <<_ACEOF
28005 cat confdefs.h >>conftest.$ac_ext
28006 cat >>conftest.$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28010 #define $ac_func innocuous_$ac_func
28012 /* System header to define __stub macros and hopefully few prototypes,
28013 which can conflict with char $ac_func (); below.
28014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28015 <limits.h> exists even on freestanding compilers. */
28018 # include <limits.h>
28020 # include <assert.h>
28025 /* Override any GCC internal prototype to avoid an error.
28026 Use char because int might match the return type of a GCC
28027 builtin and then its argument prototype would still apply. */
28032 /* The GNU C library defines this for functions which it implements
28033 to always fail with ENOSYS. Some functions are actually named
28034 something starting with __ and the normal name is an alias. */
28035 #if defined __stub_$ac_func || defined __stub___$ac_func
28042 return $ac_func ();
28047 rm -f conftest.$ac_objext conftest$ac_exeext
28048 if { (ac_try="$ac_link"
28049 case "(($ac_try" in
28050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28051 *) ac_try_echo
=$ac_try;;
28053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28054 (eval "$ac_link") 2>conftest.er1
28056 grep -v '^ *+' conftest.er1
>conftest.err
28058 cat conftest.err
>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } && {
28061 test -z "$ac_c_werror_flag" ||
28062 test ! -s conftest.err
28063 } && test -s conftest
$ac_exeext &&
28064 $as_test_x conftest
$ac_exeext; then
28065 eval "$as_ac_var=yes"
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.
$ac_ext >&5
28070 eval "$as_ac_var=no"
28073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28074 conftest
$ac_exeext conftest.
$ac_ext
28076 ac_res
=`eval echo '${'$as_ac_var'}'`
28077 { echo "$as_me:$LINENO: result: $ac_res" >&5
28078 echo "${ECHO_T}$ac_res" >&6; }
28079 if test `eval echo '${'$as_ac_var'}'` = yes; then
28080 cat >>confdefs.h
<<_ACEOF
28081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28088 for ac_func
in floor
28090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28093 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 cat >conftest.
$ac_ext <<_ACEOF
28099 cat confdefs.h
>>conftest.
$ac_ext
28100 cat >>conftest.
$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28104 #define $ac_func innocuous_$ac_func
28106 /* System header to define __stub macros and hopefully few prototypes,
28107 which can conflict with char $ac_func (); below.
28108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28109 <limits.h> exists even on freestanding compilers. */
28112 # include <limits.h>
28114 # include <assert.h>
28119 /* Override any GCC internal prototype to avoid an error.
28120 Use char because int might match the return type of a GCC
28121 builtin and then its argument prototype would still apply. */
28126 /* The GNU C library defines this for functions which it implements
28127 to always fail with ENOSYS. Some functions are actually named
28128 something starting with __ and the normal name is an alias. */
28129 #if defined __stub_$ac_func || defined __stub___$ac_func
28136 return $ac_func ();
28141 rm -f conftest.
$ac_objext conftest
$ac_exeext
28142 if { (ac_try
="$ac_link"
28143 case "(($ac_try" in
28144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_link") 2>conftest.er1
28150 grep -v '^ *+' conftest.er1 >conftest.err
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } && {
28155 test -z "$ac_c_werror_flag" ||
28156 test ! -s conftest.err
28157 } && test -s conftest$ac_exeext &&
28158 $as_test_x conftest$ac_exeext; then
28159 eval "$as_ac_var=yes"
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28164 eval "$as_ac_var=no"
28167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28168 conftest$ac_exeext conftest.$ac_ext
28170 ac_res=`eval echo '${'$as_ac_var'}'`
28171 { echo "$as_me:$LINENO: result: $ac_res" >&5
28172 echo "${ECHO_T}$ac_res" >&6; }
28173 if test `eval echo '${'$as_ac_var'}'` = yes; then
28174 cat >>confdefs.h <<_ACEOF
28175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28181 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28182 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28183 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28184 { echo "$as_me:$LINENO: result: yes" >&5
28185 echo "${ECHO_T}yes" >&6; }
28187 { echo "$as_me:$LINENO: result: no" >&5
28188 echo "${ECHO_T}no" >&6; }
28190 # use different functions to avoid configure caching
28196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28197 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28199 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28202 cat >conftest.$ac_ext <<_ACEOF
28205 cat confdefs.h >>conftest.$ac_ext
28206 cat >>conftest.$ac_ext <<_ACEOF
28207 /* end confdefs.h. */
28208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28210 #define $ac_func innocuous_$ac_func
28212 /* System header to define __stub macros and hopefully few prototypes,
28213 which can conflict with char $ac_func (); below.
28214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28215 <limits.h> exists even on freestanding compilers. */
28218 # include <limits.h>
28220 # include <assert.h>
28225 /* Override any GCC internal prototype to avoid an error.
28226 Use char because int might match the return type of a GCC
28227 builtin and then its argument prototype would still apply. */
28232 /* The GNU C library defines this for functions which it implements
28233 to always fail with ENOSYS. Some functions are actually named
28234 something starting with __ and the normal name is an alias. */
28235 #if defined __stub_$ac_func || defined __stub___$ac_func
28242 return $ac_func ();
28247 rm -f conftest.$ac_objext conftest$ac_exeext
28248 if { (ac_try="$ac_link"
28249 case "(($ac_try" in
28250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28251 *) ac_try_echo
=$ac_try;;
28253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28254 (eval "$ac_link") 2>conftest.er1
28256 grep -v '^ *+' conftest.er1
>conftest.err
28258 cat conftest.err
>&5
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); } && {
28261 test -z "$ac_c_werror_flag" ||
28262 test ! -s conftest.err
28263 } && test -s conftest
$ac_exeext &&
28264 $as_test_x conftest
$ac_exeext; then
28265 eval "$as_ac_var=yes"
28267 echo "$as_me: failed program was:" >&5
28268 sed 's/^/| /' conftest.
$ac_ext >&5
28270 eval "$as_ac_var=no"
28273 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28274 conftest
$ac_exeext conftest.
$ac_ext
28276 ac_res
=`eval echo '${'$as_ac_var'}'`
28277 { echo "$as_me:$LINENO: result: $ac_res" >&5
28278 echo "${ECHO_T}$ac_res" >&6; }
28279 if test `eval echo '${'$as_ac_var'}'` = yes; then
28280 cat >>confdefs.h
<<_ACEOF
28281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28288 for ac_func
in ceil
28290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28293 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28294 echo $ECHO_N "(cached) $ECHO_C" >&6
28296 cat >conftest.
$ac_ext <<_ACEOF
28299 cat confdefs.h
>>conftest.
$ac_ext
28300 cat >>conftest.
$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28304 #define $ac_func innocuous_$ac_func
28306 /* System header to define __stub macros and hopefully few prototypes,
28307 which can conflict with char $ac_func (); below.
28308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28309 <limits.h> exists even on freestanding compilers. */
28312 # include <limits.h>
28314 # include <assert.h>
28319 /* Override any GCC internal prototype to avoid an error.
28320 Use char because int might match the return type of a GCC
28321 builtin and then its argument prototype would still apply. */
28326 /* The GNU C library defines this for functions which it implements
28327 to always fail with ENOSYS. Some functions are actually named
28328 something starting with __ and the normal name is an alias. */
28329 #if defined __stub_$ac_func || defined __stub___$ac_func
28336 return $ac_func ();
28341 rm -f conftest.
$ac_objext conftest
$ac_exeext
28342 if { (ac_try
="$ac_link"
28343 case "(($ac_try" in
28344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28345 *) ac_try_echo=$ac_try;;
28347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28348 (eval "$ac_link") 2>conftest.er1
28350 grep -v '^ *+' conftest.er1 >conftest.err
28352 cat conftest.err >&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } && {
28355 test -z "$ac_c_werror_flag" ||
28356 test ! -s conftest.err
28357 } && test -s conftest$ac_exeext &&
28358 $as_test_x conftest$ac_exeext; then
28359 eval "$as_ac_var=yes"
28361 echo "$as_me: failed program was:" >&5
28362 sed 's/^/| /' conftest.$ac_ext >&5
28364 eval "$as_ac_var=no"
28367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28368 conftest$ac_exeext conftest.$ac_ext
28370 ac_res=`eval echo '${'$as_ac_var'}'`
28371 { echo "$as_me:$LINENO: result: $ac_res" >&5
28372 echo "${ECHO_T}$ac_res" >&6; }
28373 if test `eval echo '${'$as_ac_var'}'` = yes; then
28374 cat >>confdefs.h <<_ACEOF
28375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28381 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28382 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28383 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28384 { echo "$as_me:$LINENO: result: yes" >&5
28385 echo "${ECHO_T}yes" >&6; }
28387 { echo "$as_me:$LINENO: result: no" >&5
28388 echo "${ECHO_T}no" >&6; }
28389 # not sure we should warn the user, crash, etc.
28394 ac_cpp='$CXXCPP $CPPFLAGS'
28395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28399 if test "wxUSE_UNICODE" = "yes"; then
28401 for wx_func in wcstoull
28403 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28404 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28405 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28406 echo $ECHO_N "(cached) $ECHO_C" >&6
28409 cat >conftest.$ac_ext <<_ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28418 $ac_includes_default
28434 rm -f conftest.$ac_objext conftest$ac_exeext
28435 if { (ac_try="$ac_link"
28436 case "(($ac_try" in
28437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28438 *) ac_try_echo
=$ac_try;;
28440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28441 (eval "$ac_link") 2>conftest.er1
28443 grep -v '^ *+' conftest.er1
>conftest.err
28445 cat conftest.err
>&5
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); } && {
28448 test -z "$ac_cxx_werror_flag" ||
28449 test ! -s conftest.err
28450 } && test -s conftest
$ac_exeext &&
28451 $as_test_x conftest
$ac_exeext; then
28452 eval wx_cv_func_
$wx_func=yes
28454 echo "$as_me: failed program was:" >&5
28455 sed 's/^/| /' conftest.
$ac_ext >&5
28457 eval wx_cv_func_
$wx_func=no
28460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28461 conftest
$ac_exeext conftest.
$ac_ext
28464 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28465 { echo "$as_me:$LINENO: result: $ac_res" >&5
28466 echo "${ECHO_T}$ac_res" >&6; }
28468 if eval test \
$wx_cv_func_$wx_func = yes
28470 cat >>confdefs.h
<<_ACEOF
28471 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28483 for wx_func
in strtoull
28485 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28486 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28487 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28488 echo $ECHO_N "(cached) $ECHO_C" >&6
28491 cat >conftest.
$ac_ext <<_ACEOF
28495 cat confdefs.h
>>conftest.
$ac_ext
28496 cat >>conftest.
$ac_ext <<_ACEOF
28497 /* end confdefs.h. */
28500 $ac_includes_default
28516 rm -f conftest.
$ac_objext conftest
$ac_exeext
28517 if { (ac_try
="$ac_link"
28518 case "(($ac_try" in
28519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28520 *) ac_try_echo=$ac_try;;
28522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28523 (eval "$ac_link") 2>conftest.er1
28525 grep -v '^ *+' conftest.er1 >conftest.err
28527 cat conftest.err >&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } && {
28530 test -z "$ac_cxx_werror_flag" ||
28531 test ! -s conftest.err
28532 } && test -s conftest$ac_exeext &&
28533 $as_test_x conftest$ac_exeext; then
28534 eval wx_cv_func_$wx_func=yes
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28539 eval wx_cv_func_$wx_func=no
28542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28543 conftest$ac_exeext conftest.$ac_ext
28546 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28547 { echo "$as_me:$LINENO: result: $ac_res" >&5
28548 echo "${ECHO_T}$ac_res" >&6; }
28550 if eval test \$wx_cv_func_$wx_func = yes
28552 cat >>confdefs.h <<_ACEOF
28553 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28565 ac_cpp='$CPP $CPPFLAGS'
28566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28573 if test "$wxUSE_REGEX" != "no"; then
28574 cat >>confdefs.h <<\_ACEOF
28575 #define wxUSE_REGEX 1
28579 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28580 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28581 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28582 wxUSE_REGEX=builtin
28585 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28586 { echo "$as_me:$LINENO: checking for regex.h" >&5
28587 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28588 if test "${ac_cv_header_regex_h+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 cat >conftest.$ac_ext <<_ACEOF
28594 cat confdefs.h >>conftest.$ac_ext
28595 cat >>conftest.$ac_ext <<_ACEOF
28596 /* end confdefs.h. */
28601 rm -f conftest.$ac_objext
28602 if { (ac_try="$ac_compile"
28603 case "(($ac_try" in
28604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28605 *) ac_try_echo
=$ac_try;;
28607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28608 (eval "$ac_compile") 2>conftest.er1
28610 grep -v '^ *+' conftest.er1
>conftest.err
28612 cat conftest.err
>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } && {
28615 test -z "$ac_c_werror_flag" ||
28616 test ! -s conftest.err
28617 } && test -s conftest.
$ac_objext; then
28618 ac_cv_header_regex_h
=yes
28620 echo "$as_me: failed program was:" >&5
28621 sed 's/^/| /' conftest.
$ac_ext >&5
28623 ac_cv_header_regex_h
=no
28626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28628 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28629 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28630 if test $ac_cv_header_regex_h = yes; then
28633 for ac_func
in regcomp re_search
28635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28638 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28639 echo $ECHO_N "(cached) $ECHO_C" >&6
28641 cat >conftest.
$ac_ext <<_ACEOF
28644 cat confdefs.h
>>conftest.
$ac_ext
28645 cat >>conftest.
$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28649 #define $ac_func innocuous_$ac_func
28651 /* System header to define __stub macros and hopefully few prototypes,
28652 which can conflict with char $ac_func (); below.
28653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28654 <limits.h> exists even on freestanding compilers. */
28657 # include <limits.h>
28659 # include <assert.h>
28664 /* Override any GCC internal prototype to avoid an error.
28665 Use char because int might match the return type of a GCC
28666 builtin and then its argument prototype would still apply. */
28671 /* The GNU C library defines this for functions which it implements
28672 to always fail with ENOSYS. Some functions are actually named
28673 something starting with __ and the normal name is an alias. */
28674 #if defined __stub_$ac_func || defined __stub___$ac_func
28681 return $ac_func ();
28686 rm -f conftest.
$ac_objext conftest
$ac_exeext
28687 if { (ac_try
="$ac_link"
28688 case "(($ac_try" in
28689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28690 *) ac_try_echo=$ac_try;;
28692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28693 (eval "$ac_link") 2>conftest.er1
28695 grep -v '^ *+' conftest.er1 >conftest.err
28697 cat conftest.err >&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); } && {
28700 test -z "$ac_c_werror_flag" ||
28701 test ! -s conftest.err
28702 } && test -s conftest$ac_exeext &&
28703 $as_test_x conftest$ac_exeext; then
28704 eval "$as_ac_var=yes"
28706 echo "$as_me: failed program was:" >&5
28707 sed 's/^/| /' conftest.$ac_ext >&5
28709 eval "$as_ac_var=no"
28712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28713 conftest$ac_exeext conftest.$ac_ext
28715 ac_res=`eval echo '${'$as_ac_var'}'`
28716 { echo "$as_me:$LINENO: result: $ac_res" >&5
28717 echo "${ECHO_T}$ac_res" >&6; }
28718 if test `eval echo '${'$as_ac_var'}'` = yes; then
28719 cat >>confdefs.h <<_ACEOF
28720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28730 if test "x$ac_cv_func_regcomp" != "xyes"; then
28731 if test "$wxUSE_REGEX" = "sys" ; then
28732 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28733 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28734 { (exit 1); exit 1; }; }
28736 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28737 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28738 wxUSE_REGEX=builtin
28742 cat >>confdefs.h <<\_ACEOF
28743 #define WX_NO_REGEX_ADVANCED 1
28752 if test "$wxUSE_ZLIB" != "no" ; then
28753 cat >>confdefs.h <<\_ACEOF
28754 #define wxUSE_ZLIB 1
28758 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28759 if test "$USE_DARWIN" = 1; then
28760 system_zlib_h_ok="yes"
28762 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28763 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28764 if test "${ac_cv_header_zlib_h+set}" = set; then
28765 echo $ECHO_N "(cached) $ECHO_C" >&6
28767 if test "$cross_compiling" = yes; then
28768 unset ac_cv_header_zlib_h
28771 cat >conftest.$ac_ext <<_ACEOF
28774 cat confdefs.h >>conftest.$ac_ext
28775 cat >>conftest.$ac_ext <<_ACEOF
28776 /* end confdefs.h. */
28783 FILE *f=fopen("conftestval", "w");
28786 ZLIB_VERSION[0] == '1' &&
28787 (ZLIB_VERSION[2] > '1' ||
28788 (ZLIB_VERSION[2] == '1' &&
28789 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28794 rm -f conftest$ac_exeext
28795 if { (ac_try="$ac_link"
28796 case "(($ac_try" in
28797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28798 *) ac_try_echo
=$ac_try;;
28800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28801 (eval "$ac_link") 2>&5
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28805 { (case "(($ac_try" in
28806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28807 *) ac_try_echo=$ac_try;;
28809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28810 (eval "$ac_try") 2>&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); }; }; then
28814 ac_cv_header_zlib_h=`cat conftestval
`
28816 echo "$as_me: program exited with status $ac_status" >&5
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.$ac_ext >&5
28820 ( exit $ac_status )
28821 ac_cv_header_zlib_h=no
28823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28829 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28830 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28831 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28832 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28833 if test "${ac_cv_header_zlib_h+set}" = set; then
28834 echo $ECHO_N "(cached) $ECHO_C" >&6
28836 cat >conftest.$ac_ext <<_ACEOF
28839 cat confdefs.h >>conftest.$ac_ext
28840 cat >>conftest.$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28846 rm -f conftest.$ac_objext
28847 if { (ac_try="$ac_compile"
28848 case "(($ac_try" in
28849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28850 *) ac_try_echo
=$ac_try;;
28852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28853 (eval "$ac_compile") 2>conftest.er1
28855 grep -v '^ *+' conftest.er1
>conftest.err
28857 cat conftest.err
>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } && {
28860 test -z "$ac_c_werror_flag" ||
28861 test ! -s conftest.err
28862 } && test -s conftest.
$ac_objext; then
28863 ac_cv_header_zlib_h
=yes
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.
$ac_ext >&5
28868 ac_cv_header_zlib_h
=no
28871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28873 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28874 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28878 system_zlib_h_ok
=$ac_cv_header_zlib_h
28881 if test "$system_zlib_h_ok" = "yes"; then
28882 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28883 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28884 if test "${ac_cv_lib_z_deflate+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 ac_check_lib_save_LIBS
=$LIBS
28889 cat >conftest.
$ac_ext <<_ACEOF
28892 cat confdefs.h
>>conftest.
$ac_ext
28893 cat >>conftest.
$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28896 /* Override any GCC internal prototype to avoid an error.
28897 Use char because int might match the return type of a GCC
28898 builtin and then its argument prototype would still apply. */
28911 rm -f conftest.
$ac_objext conftest
$ac_exeext
28912 if { (ac_try
="$ac_link"
28913 case "(($ac_try" in
28914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28915 *) ac_try_echo=$ac_try;;
28917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28918 (eval "$ac_link") 2>conftest.er1
28920 grep -v '^ *+' conftest.er1 >conftest.err
28922 cat conftest.err >&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); } && {
28925 test -z "$ac_c_werror_flag" ||
28926 test ! -s conftest.err
28927 } && test -s conftest$ac_exeext &&
28928 $as_test_x conftest$ac_exeext; then
28929 ac_cv_lib_z_deflate=yes
28931 echo "$as_me: failed program was:" >&5
28932 sed 's/^/| /' conftest.$ac_ext >&5
28934 ac_cv_lib_z_deflate=no
28937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28938 conftest$ac_exeext conftest.$ac_ext
28939 LIBS=$ac_check_lib_save_LIBS
28941 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28942 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28943 if test $ac_cv_lib_z_deflate = yes; then
28949 if test "x$ZLIB_LINK" = "x" ; then
28950 if test "$wxUSE_ZLIB" = "sys" ; then
28951 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28952 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28953 { (exit 1); exit 1; }; }
28955 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28956 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28967 if test "$wxUSE_LIBPNG" != "no" ; then
28968 cat >>confdefs.h <<\_ACEOF
28969 #define wxUSE_LIBPNG 1
28973 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28974 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28975 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28979 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28980 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28981 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28982 wxUSE_LIBPNG=builtin
28985 if test "$wxUSE_MGL" != 1 ; then
28986 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28987 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28988 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28989 if test "${ac_cv_header_png_h+set}" = set; then
28990 echo $ECHO_N "(cached) $ECHO_C" >&6
28992 if test "$cross_compiling" = yes; then
28993 unset ac_cv_header_png_h
28996 cat >conftest.$ac_ext <<_ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29008 FILE *f=fopen("conftestval", "w");
29011 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29016 rm -f conftest$ac_exeext
29017 if { (ac_try="$ac_link"
29018 case "(($ac_try" in
29019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29020 *) ac_try_echo
=$ac_try;;
29022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29023 (eval "$ac_link") 2>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29027 { (case "(($ac_try" in
29028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29029 *) ac_try_echo=$ac_try;;
29031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29032 (eval "$ac_try") 2>&5
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); }; }; then
29036 ac_cv_header_png_h=`cat conftestval
`
29038 echo "$as_me: program exited with status $ac_status" >&5
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29042 ( exit $ac_status )
29043 ac_cv_header_png_h=no
29045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29051 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29052 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29053 { echo "$as_me:$LINENO: checking for png.h" >&5
29054 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29055 if test "${ac_cv_header_png_h+set}" = set; then
29056 echo $ECHO_N "(cached) $ECHO_C" >&6
29058 cat >conftest.$ac_ext <<_ACEOF
29061 cat confdefs.h >>conftest.$ac_ext
29062 cat >>conftest.$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29068 rm -f conftest.$ac_objext
29069 if { (ac_try="$ac_compile"
29070 case "(($ac_try" in
29071 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29072 *) ac_try_echo
=$ac_try;;
29074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29075 (eval "$ac_compile") 2>conftest.er1
29077 grep -v '^ *+' conftest.er1
>conftest.err
29079 cat conftest.err
>&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } && {
29082 test -z "$ac_c_werror_flag" ||
29083 test ! -s conftest.err
29084 } && test -s conftest.
$ac_objext; then
29085 ac_cv_header_png_h
=yes
29087 echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.
$ac_ext >&5
29090 ac_cv_header_png_h
=no
29093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29095 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29096 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29100 if test "$ac_cv_header_png_h" = "yes"; then
29101 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29102 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29103 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29104 echo $ECHO_N "(cached) $ECHO_C" >&6
29106 ac_check_lib_save_LIBS
=$LIBS
29107 LIBS
="-lpng -lz -lm $LIBS"
29108 cat >conftest.
$ac_ext <<_ACEOF
29111 cat confdefs.h
>>conftest.
$ac_ext
29112 cat >>conftest.
$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29115 /* Override any GCC internal prototype to avoid an error.
29116 Use char because int might match the return type of a GCC
29117 builtin and then its argument prototype would still apply. */
29121 char png_check_sig ();
29125 return png_check_sig ();
29130 rm -f conftest.
$ac_objext conftest
$ac_exeext
29131 if { (ac_try
="$ac_link"
29132 case "(($ac_try" in
29133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29134 *) ac_try_echo=$ac_try;;
29136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29137 (eval "$ac_link") 2>conftest.er1
29139 grep -v '^ *+' conftest.er1 >conftest.err
29141 cat conftest.err >&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } && {
29144 test -z "$ac_c_werror_flag" ||
29145 test ! -s conftest.err
29146 } && test -s conftest$ac_exeext &&
29147 $as_test_x conftest$ac_exeext; then
29148 ac_cv_lib_png_png_check_sig=yes
29150 echo "$as_me: failed program was:" >&5
29151 sed 's/^/| /' conftest.$ac_ext >&5
29153 ac_cv_lib_png_png_check_sig=no
29156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29157 conftest$ac_exeext conftest.$ac_ext
29158 LIBS=$ac_check_lib_save_LIBS
29160 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29161 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29162 if test $ac_cv_lib_png_png_check_sig = yes; then
29163 PNG_LINK=" -lpng -lz"
29168 if test "x$PNG_LINK" = "x" ; then
29169 if test "$wxUSE_LIBPNG" = "sys" ; then
29170 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29171 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29172 { (exit 1); exit 1; }; }
29174 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29175 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29176 wxUSE_LIBPNG=builtin
29187 if test "$wxUSE_LIBJPEG" != "no" ; then
29188 cat >>confdefs.h <<\_ACEOF
29189 #define wxUSE_LIBJPEG 1
29193 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29194 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29195 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29199 if test "$wxUSE_MGL" != 1 ; then
29200 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29201 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29202 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29203 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29206 cat >conftest.$ac_ext <<_ACEOF
29209 cat confdefs.h >>conftest.$ac_ext
29210 cat >>conftest.$ac_ext <<_ACEOF
29211 /* end confdefs.h. */
29213 #undef HAVE_STDLIB_H
29215 #include <jpeglib.h>
29226 rm -f conftest.$ac_objext
29227 if { (ac_try="$ac_compile"
29228 case "(($ac_try" in
29229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29230 *) ac_try_echo
=$ac_try;;
29232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29233 (eval "$ac_compile") 2>conftest.er1
29235 grep -v '^ *+' conftest.er1
>conftest.err
29237 cat conftest.err
>&5
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); } && {
29240 test -z "$ac_c_werror_flag" ||
29241 test ! -s conftest.err
29242 } && test -s conftest.
$ac_objext; then
29243 ac_cv_header_jpeglib_h
=yes
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.
$ac_ext >&5
29248 ac_cv_header_jpeglib_h
=no
29252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29256 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29257 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29259 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29260 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29261 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29262 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 ac_check_lib_save_LIBS
=$LIBS
29266 LIBS
="-ljpeg $LIBS"
29267 cat >conftest.
$ac_ext <<_ACEOF
29270 cat confdefs.h
>>conftest.
$ac_ext
29271 cat >>conftest.
$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29274 /* Override any GCC internal prototype to avoid an error.
29275 Use char because int might match the return type of a GCC
29276 builtin and then its argument prototype would still apply. */
29280 char jpeg_read_header ();
29284 return jpeg_read_header ();
29289 rm -f conftest.
$ac_objext conftest
$ac_exeext
29290 if { (ac_try
="$ac_link"
29291 case "(($ac_try" in
29292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29293 *) ac_try_echo=$ac_try;;
29295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29296 (eval "$ac_link") 2>conftest.er1
29298 grep -v '^ *+' conftest.er1 >conftest.err
29300 cat conftest.err >&5
29301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302 (exit $ac_status); } && {
29303 test -z "$ac_c_werror_flag" ||
29304 test ! -s conftest.err
29305 } && test -s conftest$ac_exeext &&
29306 $as_test_x conftest$ac_exeext; then
29307 ac_cv_lib_jpeg_jpeg_read_header=yes
29309 echo "$as_me: failed program was:" >&5
29310 sed 's/^/| /' conftest.$ac_ext >&5
29312 ac_cv_lib_jpeg_jpeg_read_header=no
29315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29316 conftest$ac_exeext conftest.$ac_ext
29317 LIBS=$ac_check_lib_save_LIBS
29319 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29320 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29321 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29322 JPEG_LINK=" -ljpeg"
29327 if test "x$JPEG_LINK" = "x" ; then
29328 if test "$wxUSE_LIBJPEG" = "sys" ; then
29329 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29330 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29331 { (exit 1); exit 1; }; }
29333 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29334 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29335 wxUSE_LIBJPEG=builtin
29340 if test "$wxUSE_MSW" = 1; then
29341 { echo "$as_me:$LINENO: checking for boolean" >&5
29342 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29343 if test "${ac_cv_type_boolean+set}" = set; then
29344 echo $ECHO_N "(cached) $ECHO_C" >&6
29346 cat >conftest.$ac_ext <<_ACEOF
29349 cat confdefs.h >>conftest.$ac_ext
29350 cat >>conftest.$ac_ext <<_ACEOF
29351 /* end confdefs.h. */
29352 #include <windows.h>
29354 typedef boolean ac__type_new_;
29358 if ((ac__type_new_ *) 0)
29360 if (sizeof (ac__type_new_))
29366 rm -f conftest.$ac_objext
29367 if { (ac_try="$ac_compile"
29368 case "(($ac_try" in
29369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29370 *) ac_try_echo
=$ac_try;;
29372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29373 (eval "$ac_compile") 2>conftest.er1
29375 grep -v '^ *+' conftest.er1
>conftest.err
29377 cat conftest.err
>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } && {
29380 test -z "$ac_c_werror_flag" ||
29381 test ! -s conftest.err
29382 } && test -s conftest.
$ac_objext; then
29383 ac_cv_type_boolean
=yes
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.
$ac_ext >&5
29388 ac_cv_type_boolean
=no
29391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29393 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29394 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29395 if test $ac_cv_type_boolean = yes; then
29397 cat >>confdefs.h
<<_ACEOF
29398 #define HAVE_BOOLEAN 1
29402 { echo "$as_me:$LINENO: checking for boolean" >&5
29403 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29404 if test "${ac_cv_type_boolean+set}" = set; then
29405 echo $ECHO_N "(cached) $ECHO_C" >&6
29407 cat >conftest.
$ac_ext <<_ACEOF
29410 cat confdefs.h
>>conftest.
$ac_ext
29411 cat >>conftest.
$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29414 #undef HAVE_BOOLEAN
29416 #include <jpeglib.h>
29419 typedef boolean ac__type_new_;
29423 if ((ac__type_new_ *) 0)
29425 if (sizeof (ac__type_new_))
29431 rm -f conftest.
$ac_objext
29432 if { (ac_try
="$ac_compile"
29433 case "(($ac_try" in
29434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_compile") 2>conftest.er1
29440 grep -v '^ *+' conftest.er1 >conftest.err
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); } && {
29445 test -z "$ac_c_werror_flag" ||
29446 test ! -s conftest.err
29447 } && test -s conftest.$ac_objext; then
29448 ac_cv_type_boolean=yes
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.$ac_ext >&5
29453 ac_cv_type_boolean=no
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29458 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29459 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29461 # The cast to long int works around a bug in the HP C Compiler
29462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29463 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29464 # This bug is HP SR number 8606223364.
29465 { echo "$as_me:$LINENO: checking size of boolean" >&5
29466 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29467 if test "${ac_cv_sizeof_boolean+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29470 if test "$cross_compiling" = yes; then
29471 # Depending upon the size, compute the lo and hi bounds.
29472 cat >conftest.$ac_ext <<_ACEOF
29475 cat confdefs.h >>conftest.$ac_ext
29476 cat >>conftest.$ac_ext <<_ACEOF
29477 /* end confdefs.h. */
29479 #undef HAVE_BOOLEAN
29481 #include <jpeglib.h>
29484 typedef boolean ac__type_sizeof_;
29488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29495 rm -f conftest.$ac_objext
29496 if { (ac_try="$ac_compile"
29497 case "(($ac_try" in
29498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29499 *) ac_try_echo=$ac_try;;
29501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29502 (eval "$ac_compile") 2>conftest.er1
29504 grep -v '^
*+' conftest.er1 >conftest.err
29506 cat conftest.err >&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } && {
29509 test -z "$ac_c_werror_flag" ||
29510 test ! -s conftest.err
29511 } && test -s conftest.$ac_objext; then
29514 cat >conftest.$ac_ext <<_ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29521 #undef HAVE_BOOLEAN
29523 #include <jpeglib.h>
29526 typedef boolean ac__type_sizeof_;
29530 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29537 rm -f conftest.$ac_objext
29538 if { (ac_try="$ac_compile"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_compile") 2>conftest.er1
29546 grep -v '^
*+' conftest.er1 >conftest.err
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest.$ac_objext; then
29554 ac_hi=$ac_mid; break
29556 echo "$as_me: failed program was:" >&5
29557 sed 's
/^
/| /' conftest.$ac_ext >&5
29559 ac_lo=`expr $ac_mid + 1`
29560 if test $ac_lo -le $ac_mid; then
29564 ac_mid=`expr 2 '*' $ac_mid + 1`
29567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29570 echo "$as_me: failed program was:" >&5
29571 sed 's
/^
/| /' conftest.$ac_ext >&5
29573 cat >conftest.$ac_ext <<_ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29580 #undef HAVE_BOOLEAN
29582 #include <jpeglib.h>
29585 typedef boolean ac__type_sizeof_;
29589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29596 rm -f conftest.$ac_objext
29597 if { (ac_try="$ac_compile"
29598 case "(($ac_try" in
29599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29600 *) ac_try_echo=$ac_try;;
29602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29603 (eval "$ac_compile") 2>conftest.er1
29605 grep -v '^
*+' conftest.er1 >conftest.err
29607 cat conftest.err >&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); } && {
29610 test -z "$ac_c_werror_flag" ||
29611 test ! -s conftest.err
29612 } && test -s conftest.$ac_objext; then
29615 cat >conftest.$ac_ext <<_ACEOF
29618 cat confdefs.h >>conftest.$ac_ext
29619 cat >>conftest.$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29622 #undef HAVE_BOOLEAN
29624 #include <jpeglib.h>
29627 typedef boolean ac__type_sizeof_;
29631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29638 rm -f conftest.$ac_objext
29639 if { (ac_try="$ac_compile"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_compile") 2>conftest.er1
29647 grep -v '^
*+' conftest.er1 >conftest.err
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } && {
29652 test -z "$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29654 } && test -s conftest.$ac_objext; then
29655 ac_lo=$ac_mid; break
29657 echo "$as_me: failed program was:" >&5
29658 sed 's
/^
/| /' conftest.$ac_ext >&5
29660 ac_hi=`expr '(' $ac_mid ')' - 1`
29661 if test $ac_mid -le $ac_hi; then
29665 ac_mid=`expr 2 '*' $ac_mid`
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29671 echo "$as_me: failed program was:" >&5
29672 sed 's
/^
/| /' conftest.$ac_ext >&5
29677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29681 # Binary search between lo and hi bounds.
29682 while test "x$ac_lo" != "x$ac_hi"; do
29683 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29684 cat >conftest.$ac_ext <<_ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29691 #undef HAVE_BOOLEAN
29693 #include <jpeglib.h>
29696 typedef boolean ac__type_sizeof_;
29700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29707 rm -f conftest.$ac_objext
29708 if { (ac_try="$ac_compile"
29709 case "(($ac_try" in
29710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29711 *) ac_try_echo=$ac_try;;
29713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29714 (eval "$ac_compile") 2>conftest.er1
29716 grep -v '^
*+' conftest.er1 >conftest.err
29718 cat conftest.err >&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } && {
29721 test -z "$ac_c_werror_flag" ||
29722 test ! -s conftest.err
29723 } && test -s conftest.$ac_objext; then
29726 echo "$as_me: failed program was:" >&5
29727 sed 's
/^
/| /' conftest.$ac_ext >&5
29729 ac_lo=`expr '(' $ac_mid ')' + 1`
29732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29735 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29736 '') if test "$ac_cv_type_boolean" = yes; then
29737 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29738 See \`config.log' for more details.
" >&5
29739 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29740 See \
`config.log' for more details." >&2;}
29741 { (exit 77); exit 77; }; }
29743 ac_cv_sizeof_boolean=0
29747 cat >conftest.$ac_ext <<_ACEOF
29750 cat confdefs.h >>conftest.$ac_ext
29751 cat >>conftest.$ac_ext <<_ACEOF
29752 /* end confdefs.h. */
29754 #undef HAVE_BOOLEAN
29756 #include <jpeglib.h>
29759 typedef boolean ac__type_sizeof_;
29760 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29761 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29763 #include <stdlib.h>
29768 FILE *f = fopen ("conftest.val", "w");
29771 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29773 long int i = longval ();
29774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29776 fprintf (f, "%ld\n", i);
29780 unsigned long int i = ulongval ();
29781 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29783 fprintf (f, "%lu\n", i);
29785 return ferror (f) || fclose (f) != 0;
29791 rm -f conftest$ac_exeext
29792 if { (ac_try="$ac_link"
29793 case "(($ac_try" in
29794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29795 *) ac_try_echo
=$ac_try;;
29797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29798 (eval "$ac_link") 2>&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29802 { (case "(($ac_try" in
29803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29804 *) ac_try_echo=$ac_try;;
29806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29807 (eval "$ac_try") 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 ac_cv_sizeof_boolean=`cat conftest.val
`
29813 echo "$as_me: program exited with status $ac_status" >&5
29814 echo "$as_me: failed program was:" >&5
29815 sed 's/^/| /' conftest.$ac_ext >&5
29817 ( exit $ac_status )
29818 if test "$ac_cv_type_boolean" = yes; then
29819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29820 See \`config.log
' for more details." >&5
29821 echo "$as_me: error: cannot compute sizeof (boolean)
29822 See \`config.log' for more details.
" >&2;}
29823 { (exit 77); exit 77; }; }
29825 ac_cv_sizeof_boolean=0
29828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29832 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29833 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29837 cat >>confdefs.h <<_ACEOF
29838 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29842 cat >>confdefs.h <<_ACEOF
29843 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29857 TIFF_PREREQ_LINKS=-lm
29858 if test "$wxUSE_LIBTIFF" != "no
" ; then
29859 cat >>confdefs.h <<\_ACEOF
29860 #define wxUSE_LIBTIFF 1
29864 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29865 if test "$wxUSE_LIBJPEG" = "sys
"; then
29866 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29868 if test "$wxUSE_ZLIB" = "sys
"; then
29869 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29871 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29872 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29873 if test "${ac_cv_header_tiffio_h+set}" = set; then
29874 echo $ECHO_N "(cached
) $ECHO_C" >&6
29876 cat >conftest.$ac_ext <<_ACEOF
29879 cat confdefs.h >>conftest.$ac_ext
29880 cat >>conftest.$ac_ext <<_ACEOF
29881 /* end confdefs.h. */
29885 #include <tiffio.h>
29887 rm -f conftest.$ac_objext
29888 if { (ac_try="$ac_compile"
29889 case "(($ac_try" in
29890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29891 *) ac_try_echo=$ac_try;;
29893 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29894 (eval "$ac_compile") 2>conftest.er1
29896 grep -v '^ *+' conftest.er1 >conftest.err
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29900 (exit $ac_status); } && {
29901 test -z "$ac_c_werror_flag" ||
29902 test ! -s conftest.err
29903 } && test -s conftest.$ac_objext; then
29904 ac_cv_header_tiffio_h=yes
29906 echo "$as_me: failed program was
:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 ac_cv_header_tiffio_h=no
29912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29914 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29915 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29916 if test $ac_cv_header_tiffio_h = yes; then
29918 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29919 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29920 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29921 echo $ECHO_N "(cached
) $ECHO_C" >&6
29923 ac_check_lib_save_LIBS=$LIBS
29924 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29925 cat >conftest.$ac_ext <<_ACEOF
29928 cat confdefs.h >>conftest.$ac_ext
29929 cat >>conftest.$ac_ext <<_ACEOF
29930 /* end confdefs.h. */
29932 /* Override any GCC internal prototype to avoid an error.
29933 Use char because int might match the return type of a GCC
29934 builtin and then its argument prototype would still apply. */
29942 return TIFFError ();
29947 rm -f conftest.$ac_objext conftest$ac_exeext
29948 if { (ac_try="$ac_link"
29949 case "(($ac_try" in
29950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29951 *) ac_try_echo=$ac_try;;
29953 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29954 (eval "$ac_link") 2>conftest.er1
29956 grep -v '^ *+' conftest.er1 >conftest.err
29958 cat conftest.err >&5
29959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29960 (exit $ac_status); } && {
29961 test -z "$ac_c_werror_flag" ||
29962 test ! -s conftest.err
29963 } && test -s conftest$ac_exeext &&
29964 $as_test_x conftest$ac_exeext; then
29965 ac_cv_lib_tiff_TIFFError=yes
29967 echo "$as_me: failed program was
:" >&5
29968 sed 's/^/| /' conftest.$ac_ext >&5
29970 ac_cv_lib_tiff_TIFFError=no
29973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29974 conftest$ac_exeext conftest.$ac_ext
29975 LIBS=$ac_check_lib_save_LIBS
29977 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29978 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29979 if test $ac_cv_lib_tiff_TIFFError = yes; then
29980 TIFF_LINK=" -ltiff"
29988 if test "x
$TIFF_LINK" = "x
" ; then
29989 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29990 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29991 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29992 { (exit 1); exit 1; }; }
29994 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29995 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29996 wxUSE_LIBTIFF=builtin
30005 if test "$wxUSE_WCHAR_T" != "yes"; then
30006 if test "$wxUSE_EXPAT" != "no
"; then
30007 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
30008 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
30011 if test "$wxUSE_XML" != "no
"; then
30012 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
30013 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
30018 if test "$wxUSE_EXPAT" != "no
"; then
30020 cat >>confdefs.h <<\_ACEOF
30021 #define wxUSE_EXPAT 1
30024 cat >>confdefs.h <<\_ACEOF
30025 #define wxUSE_XML 1
30029 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
30030 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
30031 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
30032 if test "${ac_cv_header_expat_h+set}" = set; then
30033 echo $ECHO_N "(cached
) $ECHO_C" >&6
30035 cat >conftest.$ac_ext <<_ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30045 rm -f conftest.$ac_objext
30046 if { (ac_try="$ac_compile"
30047 case "(($ac_try" in
30048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30049 *) ac_try_echo=$ac_try;;
30051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30052 (eval "$ac_compile") 2>conftest.er1
30054 grep -v '^ *+' conftest.er1 >conftest.err
30056 cat conftest.err >&5
30057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30058 (exit $ac_status); } && {
30059 test -z "$ac_c_werror_flag" ||
30060 test ! -s conftest.err
30061 } && test -s conftest.$ac_objext; then
30062 ac_cv_header_expat_h=yes
30064 echo "$as_me: failed program was
:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30067 ac_cv_header_expat_h=no
30070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30072 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
30073 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30074 if test $ac_cv_header_expat_h = yes; then
30079 if test "x
$found_expat_h" = "x1
"; then
30080 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
30081 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
30082 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30083 echo $ECHO_N "(cached
) $ECHO_C" >&6
30087 ac_cpp='$CXXCPP $CPPFLAGS'
30088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30092 cat >conftest.$ac_ext <<_ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30107 rm -f conftest.$ac_objext
30108 if { (ac_try="$ac_compile"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_compile") 2>conftest.er1
30116 grep -v '^ *+' conftest.er1 >conftest.err
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30120 (exit $ac_status); } && {
30121 test -z "$ac_cxx_werror_flag" ||
30122 test ! -s conftest.err
30123 } && test -s conftest.$ac_objext; then
30124 wx_cv_expat_is_not_broken=yes
30126 echo "$as_me: failed program was
:" >&5
30127 sed 's/^/| /' conftest.$ac_ext >&5
30129 wx_cv_expat_is_not_broken=no
30133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30135 ac_cpp='$CPP $CPPFLAGS'
30136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30143 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30144 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30145 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30146 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30147 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30148 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30149 echo $ECHO_N "(cached
) $ECHO_C" >&6
30151 ac_check_lib_save_LIBS=$LIBS
30152 LIBS="-lexpat $LIBS"
30153 cat >conftest.$ac_ext <<_ACEOF
30156 cat confdefs.h >>conftest.$ac_ext
30157 cat >>conftest.$ac_ext <<_ACEOF
30158 /* end confdefs.h. */
30160 /* Override any GCC internal prototype to avoid an error.
30161 Use char because int might match the return type of a GCC
30162 builtin and then its argument prototype would still apply. */
30166 char XML_ParserCreate ();
30170 return XML_ParserCreate ();
30175 rm -f conftest.$ac_objext conftest$ac_exeext
30176 if { (ac_try="$ac_link"
30177 case "(($ac_try" in
30178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30179 *) ac_try_echo=$ac_try;;
30181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30182 (eval "$ac_link") 2>conftest.er1
30184 grep -v '^ *+' conftest.er1 >conftest.err
30186 cat conftest.err >&5
30187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30188 (exit $ac_status); } && {
30189 test -z "$ac_c_werror_flag" ||
30190 test ! -s conftest.err
30191 } && test -s conftest$ac_exeext &&
30192 $as_test_x conftest$ac_exeext; then
30193 ac_cv_lib_expat_XML_ParserCreate=yes
30195 echo "$as_me: failed program was
:" >&5
30196 sed 's/^/| /' conftest.$ac_ext >&5
30198 ac_cv_lib_expat_XML_ParserCreate=no
30201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30202 conftest$ac_exeext conftest.$ac_ext
30203 LIBS=$ac_check_lib_save_LIBS
30205 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30206 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30207 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30208 EXPAT_LINK=" -lexpat"
30213 if test "x
$EXPAT_LINK" = "x
" ; then
30214 if test "$wxUSE_EXPAT" = "sys
" ; then
30215 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30216 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30217 { (exit 1); exit 1; }; }
30219 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30220 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30221 wxUSE_EXPAT=builtin
30227 if test "$wxUSE_EXPAT" = "builtin" ; then
30228 subdirs="$subdirs src
/expat
"
30235 if test "$wxUSE_LIBMSPACK" != "no
"; then
30236 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30237 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30238 if test "${ac_cv_header_mspack_h+set}" = set; then
30239 echo $ECHO_N "(cached
) $ECHO_C" >&6
30241 cat >conftest.$ac_ext <<_ACEOF
30244 cat confdefs.h >>conftest.$ac_ext
30245 cat >>conftest.$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30249 #include <mspack.h>
30251 rm -f conftest.$ac_objext
30252 if { (ac_try="$ac_compile"
30253 case "(($ac_try" in
30254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30255 *) ac_try_echo=$ac_try;;
30257 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30258 (eval "$ac_compile") 2>conftest.er1
30260 grep -v '^ *+' conftest.er1 >conftest.err
30262 cat conftest.err >&5
30263 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30264 (exit $ac_status); } && {
30265 test -z "$ac_c_werror_flag" ||
30266 test ! -s conftest.err
30267 } && test -s conftest.$ac_objext; then
30268 ac_cv_header_mspack_h=yes
30270 echo "$as_me: failed program was
:" >&5
30271 sed 's/^/| /' conftest.$ac_ext >&5
30273 ac_cv_header_mspack_h=no
30276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30278 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30279 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30280 if test $ac_cv_header_mspack_h = yes; then
30285 if test "x
$found_mspack_h" = "x1
"; then
30286 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30287 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30288 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30289 echo $ECHO_N "(cached
) $ECHO_C" >&6
30291 ac_check_lib_save_LIBS=$LIBS
30292 LIBS="-lmspack $LIBS"
30293 cat >conftest.$ac_ext <<_ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30300 /* Override any GCC internal prototype to avoid an error.
30301 Use char because int might match the return type of a GCC
30302 builtin and then its argument prototype would still apply. */
30306 char mspack_create_chm_decompressor ();
30310 return mspack_create_chm_decompressor ();
30315 rm -f conftest.$ac_objext conftest$ac_exeext
30316 if { (ac_try="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30324 grep -v '^ *+' conftest.er1 >conftest.err
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest$ac_exeext &&
30332 $as_test_x conftest$ac_exeext; then
30333 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30335 echo "$as_me: failed program was
:" >&5
30336 sed 's/^/| /' conftest.$ac_ext >&5
30338 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30343 LIBS=$ac_check_lib_save_LIBS
30345 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30346 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30347 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30348 MSPACK_LINK=" -lmspack"
30352 if test "x
$MSPACK_LINK" = "x
" ; then
30357 if test "$wxUSE_LIBMSPACK" != "no
"; then
30358 cat >>confdefs.h <<\_ACEOF
30359 #define wxUSE_LIBMSPACK 1
30373 if test "$USE_WIN32" = 1 ; then
30375 for ac_header in w32api.h
30377 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30378 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30379 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30380 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30381 echo $ECHO_N "(cached
) $ECHO_C" >&6
30383 cat >conftest.$ac_ext <<_ACEOF
30386 cat confdefs.h >>conftest.$ac_ext
30387 cat >>conftest.$ac_ext <<_ACEOF
30388 /* end confdefs.h. */
30391 #include <$ac_header>
30393 rm -f conftest.$ac_objext
30394 if { (ac_try="$ac_compile"
30395 case "(($ac_try" in
30396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30397 *) ac_try_echo=$ac_try;;
30399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30400 (eval "$ac_compile") 2>conftest.er1
30402 grep -v '^ *+' conftest.er1 >conftest.err
30404 cat conftest.err >&5
30405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30406 (exit $ac_status); } && {
30407 test -z "$ac_c_werror_flag" ||
30408 test ! -s conftest.err
30409 } && test -s conftest.$ac_objext; then
30410 eval "$as_ac_Header=yes"
30412 echo "$as_me: failed program was
:" >&5
30413 sed 's/^/| /' conftest.$ac_ext >&5
30415 eval "$as_ac_Header=no
"
30418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30420 ac_res=`eval echo '${'$as_ac_Header'}'`
30421 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30422 echo "${ECHO_T}$ac_res" >&6; }
30423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30424 cat >>confdefs.h <<_ACEOF
30425 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30432 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30433 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30434 if test "${ac_cv_header_windows_h+set}" = set; then
30435 echo $ECHO_N "(cached
) $ECHO_C" >&6
30437 cat >conftest.$ac_ext <<_ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30445 #include <windows.h>
30447 rm -f conftest.$ac_objext
30448 if { (ac_try="$ac_compile"
30449 case "(($ac_try" in
30450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30451 *) ac_try_echo=$ac_try;;
30453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30454 (eval "$ac_compile") 2>conftest.er1
30456 grep -v '^ *+' conftest.er1 >conftest.err
30458 cat conftest.err >&5
30459 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30460 (exit $ac_status); } && {
30461 test -z "$ac_c_werror_flag" ||
30462 test ! -s conftest.err
30463 } && test -s conftest.$ac_objext; then
30464 ac_cv_header_windows_h=yes
30466 echo "$as_me: failed program was
:" >&5
30467 sed 's/^/| /' conftest.$ac_ext >&5
30469 ac_cv_header_windows_h=no
30472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30474 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30475 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30476 if test $ac_cv_header_windows_h = yes; then
30480 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30481 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30482 { (exit 1); exit 1; }; }
30488 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30490 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30491 LIBS="$LIBS -loleacc"
30496 LIBS="$LIBS -lkernel32 -luser32"
30499 if test "$wxUSE_ODBC" = "sys
" ; then
30502 if test "$wxUSE_ODBC" = "yes" ; then
30503 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30504 cat >>confdefs.h <<\_ACEOF
30505 #define wxUSE_ODBC 1
30510 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30511 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30513 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30515 WIN32INSTALL=win32install
30517 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30518 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30519 if test "${ac_cv_header_pbt_h+set}" = set; then
30520 echo $ECHO_N "(cached
) $ECHO_C" >&6
30522 cat >conftest.$ac_ext <<_ACEOF
30525 cat confdefs.h >>conftest.$ac_ext
30526 cat >>conftest.$ac_ext <<_ACEOF
30527 /* end confdefs.h. */
30532 rm -f conftest.$ac_objext
30533 if { (ac_try="$ac_compile"
30534 case "(($ac_try" in
30535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30536 *) ac_try_echo=$ac_try;;
30538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30539 (eval "$ac_compile") 2>conftest.er1
30541 grep -v '^ *+' conftest.er1 >conftest.err
30543 cat conftest.err >&5
30544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30545 (exit $ac_status); } && {
30546 test -z "$ac_c_werror_flag" ||
30547 test ! -s conftest.err
30548 } && test -s conftest.$ac_objext; then
30549 ac_cv_header_pbt_h=yes
30551 echo "$as_me: failed program was
:" >&5
30552 sed 's/^/| /' conftest.$ac_ext >&5
30554 ac_cv_header_pbt_h=no
30557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30559 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30560 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30561 if test $ac_cv_header_pbt_h = yes; then
30564 cat >>confdefs.h <<\_ACEOF
30565 #define NEED_PBT_H 1
30573 if test "$wxUSE_GUI" = "yes"; then
30583 if test "$wxUSE_COCOA" = 1 ; then
30584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30585 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30586 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30587 wxUSE_PRINTING_ARCHITECTURE=no
30589 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30590 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30591 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30592 wxUSE_DRAG_AND_DROP=no
30594 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30595 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30596 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30601 if test "$wxUSE_MSW" = 1 ; then
30607 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30611 if test "$wxUSE_GTK" = 1; then
30612 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30613 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30615 gtk_version_cached=1
30616 if test "${wx_cv_lib_gtk+set}" = set; then
30617 echo $ECHO_N "(cached
) $ECHO_C" >&6
30620 gtk_version_cached=0
30621 { echo "$as_me:$LINENO: result
: " >&5
30622 echo "${ECHO_T}" >&6; }
30625 if test "$wxUSE_THREADS" = "yes"; then
30626 GTK_MODULES=gthread
30630 if test "x
$wxGTK_VERSION" != "x1
"
30634 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30639 # Check whether --enable-gtktest was given.
30640 if test "${enable_gtktest+set}" = set; then
30641 enableval=$enable_gtktest;
30647 pkg_config_args=gtk+-2.0
30648 for module in . $GTK_MODULES
30652 pkg_config_args="$pkg_config_args gthread
-2.0
"
30659 # Extract the first word of "pkg
-config", so it can be a program name with args.
30660 set dummy pkg-config; ac_word=$2
30661 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30662 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30664 echo $ECHO_N "(cached
) $ECHO_C" >&6
30666 case $PKG_CONFIG in
30668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30672 for as_dir in $PATH
30675 test -z "$as_dir" && as_dir=.
30676 for ac_exec_ext in '' $ac_executable_extensions; do
30677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30679 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30691 if test -n "$PKG_CONFIG"; then
30692 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30693 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30695 { echo "$as_me:$LINENO: result
: no
" >&5
30696 echo "${ECHO_T}no
" >&6; }
30701 if test x$PKG_CONFIG != xno ; then
30702 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30705 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30713 min_gtk_version=2.0.0
30714 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30715 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30717 if test x$PKG_CONFIG != xno ; then
30718 ## don't try to run the test against uninstalled libtool libs
30719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30720 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30731 if test x"$no_gtk" = x ; then
30732 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30733 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30734 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30736 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30738 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30740 if test "x
$enable_gtktest" = "xyes
" ; then
30741 ac_save_CFLAGS="$CFLAGS"
30742 ac_save_LIBS="$LIBS"
30743 CFLAGS="$CFLAGS $GTK_CFLAGS"
30744 LIBS="$GTK_LIBS $LIBS"
30746 if test "$cross_compiling" = yes; then
30747 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30749 cat >conftest.$ac_ext <<_ACEOF
30752 cat confdefs.h >>conftest.$ac_ext
30753 cat >>conftest.$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30756 #include <gtk/gtk.h>
30758 #include <stdlib.h>
30763 int major, minor, micro;
30766 system ("touch conf.gtktest
");
30768 /* HP/UX 9 (%@#!) writes to sscanf strings */
30769 tmp_version = g_strdup("$min_gtk_version");
30770 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30771 printf("%s
, bad version string
\n", "$min_gtk_version");
30775 if ((gtk_major_version != $gtk_config_major_version) ||
30776 (gtk_minor_version != $gtk_config_minor_version) ||
30777 (gtk_micro_version != $gtk_config_micro_version))
30779 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30781 gtk_major_version, gtk_minor_version, gtk_micro_version);
30782 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30783 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30785 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30786 printf("*** required on your system.
\n");
30787 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30788 printf("*** to point to the correct configuration files
\n");
30790 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30791 (gtk_minor_version != GTK_MINOR_VERSION) ||
30792 (gtk_micro_version != GTK_MICRO_VERSION))
30794 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30795 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30796 printf("*** library
(version
%d.
%d.
%d
)\n",
30797 gtk_major_version, gtk_minor_version, gtk_micro_version);
30801 if ((gtk_major_version > major) ||
30802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30809 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30810 gtk_major_version, gtk_minor_version, gtk_micro_version);
30811 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30812 major, minor, micro);
30813 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30815 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30816 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30817 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30818 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30819 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30820 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30821 printf("*** so that the correct libraries are found
at run
-time))\n");
30828 rm -f conftest$ac_exeext
30829 if { (ac_try="$ac_link"
30830 case "(($ac_try" in
30831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30832 *) ac_try_echo=$ac_try;;
30834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30835 (eval "$ac_link") 2>&5
30837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30839 { (case "(($ac_try" in
30840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30841 *) ac_try_echo=$ac_try;;
30843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_try") 2>&5
30846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30847 (exit $ac_status); }; }; then
30850 echo "$as_me: program exited with status
$ac_status" >&5
30851 echo "$as_me: failed program was
:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30854 ( exit $ac_status )
30857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30861 CFLAGS="$ac_save_CFLAGS"
30862 LIBS="$ac_save_LIBS"
30865 if test "x
$no_gtk" = x ; then
30866 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30867 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30870 { echo "$as_me:$LINENO: result
: no
" >&5
30871 echo "${ECHO_T}no
" >&6; }
30872 if test "$PKG_CONFIG" = "no
" ; then
30873 echo "*** A new enough version of pkg
-config was not found.
"
30874 echo "*** See http
://pkgconfig.sourceforge.net
"
30876 if test -f conf.gtktest ; then
30879 echo "*** Could not run GTK
+ test program
, checking why...
"
30880 ac_save_CFLAGS="$CFLAGS"
30881 ac_save_LIBS="$LIBS"
30882 CFLAGS="$CFLAGS $GTK_CFLAGS"
30883 LIBS="$LIBS $GTK_LIBS"
30884 cat >conftest.$ac_ext <<_ACEOF
30887 cat confdefs.h >>conftest.$ac_ext
30888 cat >>conftest.$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30891 #include <gtk/gtk.h>
30897 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30902 rm -f conftest.$ac_objext conftest$ac_exeext
30903 if { (ac_try="$ac_link"
30904 case "(($ac_try" in
30905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30906 *) ac_try_echo=$ac_try;;
30908 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30909 (eval "$ac_link") 2>conftest.er1
30911 grep -v '^ *+' conftest.er1 >conftest.err
30913 cat conftest.err >&5
30914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30915 (exit $ac_status); } && {
30916 test -z "$ac_c_werror_flag" ||
30917 test ! -s conftest.err
30918 } && test -s conftest$ac_exeext &&
30919 $as_test_x conftest$ac_exeext; then
30920 echo "*** The
test program compiled
, but did not run. This usually means
"
30921 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30922 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30923 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30924 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30925 echo "*** is required on your system"
30927 echo "*** If you have an old version installed, it is best to remove it, although"
30928 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30930 echo "$as_me: failed program was:" >&5
30931 sed 's
/^
/| /' conftest.$ac_ext >&5
30933 echo "*** The test program failed to compile or link. See the file config.log for the"
30934 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30938 conftest$ac_exeext conftest.$ac_ext
30939 CFLAGS="$ac_save_CFLAGS"
30940 LIBS="$ac_save_LIBS"
30954 if test "$wxUSE_SHARED" != "yes"; then
30955 GTK_LIBS="$GTK_LIBS -lX11"
30960 if test -z "$wx_cv_lib_gtk"; then
30961 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30963 # Check whether --with-gtk-prefix was given.
30964 if test "${with_gtk_prefix+set}" = set; then
30965 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30967 gtk_config_prefix=""
30971 # Check whether --with-gtk-exec-prefix was given.
30972 if test "${with_gtk_exec_prefix+set}" = set; then
30973 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30975 gtk_config_exec_prefix=""
30978 # Check whether --enable-gtktest was given.
30979 if test "${enable_gtktest+set}" = set; then
30980 enableval=$enable_gtktest;
30986 for module in . $GTK_MODULES
30990 gtk_config_args="$gtk_config_args gthread"
30995 if test x$gtk_config_exec_prefix != x ; then
30996 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30997 if test x${GTK_CONFIG+set} != xset ; then
30998 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31001 if test x$gtk_config_prefix != x ; then
31002 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31003 if test x${GTK_CONFIG+set} != xset ; then
31004 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31008 # Extract the first word of "gtk-config", so it can be a program name with args.
31009 set dummy gtk-config; ac_word=$2
31010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31012 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31013 echo $ECHO_N "(cached) $ECHO_C" >&6
31015 case $GTK_CONFIG in
31017 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31021 for as_dir in $PATH
31024 test -z "$as_dir" && as_dir=.
31025 for ac_exec_ext in '' $ac_executable_extensions; do
31026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31027 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31035 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31039 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31040 if test -n "$GTK_CONFIG"; then
31041 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31042 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31044 { echo "$as_me:$LINENO: result: no" >&5
31045 echo "${ECHO_T}no" >&6; }
31049 min_gtk_version=1.2.7
31050 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31051 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31053 if test "$GTK_CONFIG" = "no" ; then
31056 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31057 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31058 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31059 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
31060 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31061 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
31062 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31063 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
31064 if test "x$enable_gtktest" = "xyes" ; then
31065 ac_save_CFLAGS="$CFLAGS"
31066 ac_save_LIBS="$LIBS"
31067 CFLAGS="$CFLAGS $GTK_CFLAGS"
31068 LIBS="$GTK_LIBS $LIBS"
31070 if test "$cross_compiling" = yes; then
31071 echo $ac_n "cross compiling; assumed OK... $ac_c"
31073 cat >conftest.$ac_ext <<_ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31080 #include <gtk/gtk.h>
31082 #include <stdlib.h>
31087 int major, minor, micro;
31090 system ("touch conf.gtktest");
31092 /* HP/UX 9 (%@#!) writes to sscanf strings */
31093 tmp_version = g_strdup("$min_gtk_version");
31094 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31095 printf("%s, bad version string\n", "$min_gtk_version");
31099 if ((gtk_major_version != $gtk_config_major_version) ||
31100 (gtk_minor_version != $gtk_config_minor_version) ||
31101 (gtk_micro_version != $gtk_config_micro_version))
31103 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31104 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31105 gtk_major_version, gtk_minor_version, gtk_micro_version);
31106 printf ("*** was found! If gtk-config was correct, then it is best\n");
31107 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31108 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31109 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31110 printf("*** required on your system.\n");
31111 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31112 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31113 printf("*** before re-running configure\n");
31115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31116 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31117 (gtk_minor_version != GTK_MINOR_VERSION) ||
31118 (gtk_micro_version != GTK_MICRO_VERSION))
31120 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31121 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31122 printf("*** library (version %d.%d.%d)\n",
31123 gtk_major_version, gtk_minor_version, gtk_micro_version);
31125 #endif /* defined (GTK_MAJOR_VERSION) ... */
31128 if ((gtk_major_version > major) ||
31129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31136 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31137 gtk_major_version, gtk_minor_version, gtk_micro_version);
31138 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31139 major, minor, micro);
31140 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31142 printf("*** If you have already installed a sufficiently new version, this error\n");
31143 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31144 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31145 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31146 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31147 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31148 printf("*** so that the correct libraries are found at run-time))\n");
31155 rm -f conftest$ac_exeext
31156 if { (ac_try="$ac_link"
31157 case "(($ac_try" in
31158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_link") 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31166 { (case "(($ac_try" in
31167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31168 *) ac_try_echo=$ac_try;;
31170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31171 (eval "$ac_try") 2>&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; }; then
31177 echo "$as_me: program exited with status $ac_status" >&5
31178 echo "$as_me: failed program was:" >&5
31179 sed 's
/^
/| /' conftest.$ac_ext >&5
31181 ( exit $ac_status )
31184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31188 CFLAGS="$ac_save_CFLAGS"
31189 LIBS="$ac_save_LIBS"
31192 if test "x$no_gtk" = x ; then
31193 { echo "$as_me:$LINENO: result: yes" >&5
31194 echo "${ECHO_T}yes" >&6; }
31195 wx_cv_lib_gtk=1.2.7
31197 { echo "$as_me:$LINENO: result: no" >&5
31198 echo "${ECHO_T}no" >&6; }
31199 if test "$GTK_CONFIG" = "no" ; then
31200 echo "*** The gtk-config script installed by GTK could not be found"
31201 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31202 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31203 echo "*** full path to gtk-config."
31205 if test -f conf.gtktest ; then
31208 echo "*** Could not run GTK test program, checking why..."
31209 CFLAGS="$CFLAGS $GTK_CFLAGS"
31210 LIBS="$LIBS $GTK_LIBS"
31211 cat >conftest.$ac_ext <<_ACEOF
31214 cat confdefs.h >>conftest.$ac_ext
31215 cat >>conftest.$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31218 #include <gtk/gtk.h>
31224 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31229 rm -f conftest.$ac_objext conftest$ac_exeext
31230 if { (ac_try="$ac_link"
31231 case "(($ac_try" in
31232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31233 *) ac_try_echo=$ac_try;;
31235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31236 (eval "$ac_link") 2>conftest.er1
31238 grep -v '^
*+' conftest.er1 >conftest.err
31240 cat conftest.err >&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } && {
31243 test -z "$ac_c_werror_flag" ||
31244 test ! -s conftest.err
31245 } && test -s conftest$ac_exeext &&
31246 $as_test_x conftest$ac_exeext; then
31247 echo "*** The test program compiled, but did not run. This usually means"
31248 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31249 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31250 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31251 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31252 echo "*** is required on your system
"
31254 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31255 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31257 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31258 echo "*** came with the system with the
command"
31260 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31262 echo "$as_me: failed program was
:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31265 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31266 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31267 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31268 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31272 conftest$ac_exeext conftest.$ac_ext
31273 CFLAGS="$ac_save_CFLAGS"
31274 LIBS="$ac_save_LIBS"
31286 if test -z "$wx_cv_lib_gtk"; then
31288 # Check whether --with-gtk-prefix was given.
31289 if test "${with_gtk_prefix+set}" = set; then
31290 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31292 gtk_config_prefix=""
31296 # Check whether --with-gtk-exec-prefix was given.
31297 if test "${with_gtk_exec_prefix+set}" = set; then
31298 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31300 gtk_config_exec_prefix=""
31303 # Check whether --enable-gtktest was given.
31304 if test "${enable_gtktest+set}" = set; then
31305 enableval=$enable_gtktest;
31311 for module in . $GTK_MODULES
31315 gtk_config_args="$gtk_config_args gthread
"
31320 if test x$gtk_config_exec_prefix != x ; then
31321 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31322 if test x${GTK_CONFIG+set} != xset ; then
31323 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31326 if test x$gtk_config_prefix != x ; then
31327 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31328 if test x${GTK_CONFIG+set} != xset ; then
31329 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31333 # Extract the first word of "gtk
-config", so it can be a program name with args.
31334 set dummy gtk-config; ac_word=$2
31335 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31336 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31337 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31338 echo $ECHO_N "(cached
) $ECHO_C" >&6
31340 case $GTK_CONFIG in
31342 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31346 for as_dir in $PATH
31349 test -z "$as_dir" && as_dir=.
31350 for ac_exec_ext in '' $ac_executable_extensions; do
31351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31352 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31353 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31360 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31364 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31365 if test -n "$GTK_CONFIG"; then
31366 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31367 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31369 { echo "$as_me:$LINENO: result
: no
" >&5
31370 echo "${ECHO_T}no
" >&6; }
31374 min_gtk_version=1.2.3
31375 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31376 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31378 if test "$GTK_CONFIG" = "no
" ; then
31381 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31382 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31383 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31385 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31387 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31389 if test "x
$enable_gtktest" = "xyes
" ; then
31390 ac_save_CFLAGS="$CFLAGS"
31391 ac_save_LIBS="$LIBS"
31392 CFLAGS="$CFLAGS $GTK_CFLAGS"
31393 LIBS="$GTK_LIBS $LIBS"
31395 if test "$cross_compiling" = yes; then
31396 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31398 cat >conftest.$ac_ext <<_ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31405 #include <gtk/gtk.h>
31407 #include <stdlib.h>
31412 int major, minor, micro;
31415 system ("touch conf.gtktest
");
31417 /* HP/UX 9 (%@#!) writes to sscanf strings */
31418 tmp_version = g_strdup("$min_gtk_version");
31419 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31420 printf("%s
, bad version string
\n", "$min_gtk_version");
31424 if ((gtk_major_version != $gtk_config_major_version) ||
31425 (gtk_minor_version != $gtk_config_minor_version) ||
31426 (gtk_micro_version != $gtk_config_micro_version))
31428 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31429 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31430 gtk_major_version, gtk_minor_version, gtk_micro_version);
31431 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31432 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31433 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31434 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31435 printf("*** required on your system.
\n");
31436 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31437 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31438 printf("*** before re
-running configure
\n");
31440 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31441 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31442 (gtk_minor_version != GTK_MINOR_VERSION) ||
31443 (gtk_micro_version != GTK_MICRO_VERSION))
31445 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31446 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31447 printf("*** library
(version
%d.
%d.
%d
)\n",
31448 gtk_major_version, gtk_minor_version, gtk_micro_version);
31450 #endif /* defined (GTK_MAJOR_VERSION) ... */
31453 if ((gtk_major_version > major) ||
31454 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31455 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31461 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31462 gtk_major_version, gtk_minor_version, gtk_micro_version);
31463 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31464 major, minor, micro);
31465 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31467 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31468 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31469 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31470 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31471 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31472 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31473 printf("*** so that the correct libraries are found
at run
-time))\n");
31480 rm -f conftest$ac_exeext
31481 if { (ac_try="$ac_link"
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_link") 2>&5
31489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31491 { (case "(($ac_try" in
31492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31493 *) ac_try_echo=$ac_try;;
31495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31496 (eval "$ac_try") 2>&5
31498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31499 (exit $ac_status); }; }; then
31502 echo "$as_me: program exited with status
$ac_status" >&5
31503 echo "$as_me: failed program was
:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31506 ( exit $ac_status )
31509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31513 CFLAGS="$ac_save_CFLAGS"
31514 LIBS="$ac_save_LIBS"
31517 if test "x
$no_gtk" = x ; then
31518 { echo "$as_me:$LINENO: result
: yes" >&5
31519 echo "${ECHO_T}yes" >&6; }
31520 wx_cv_lib_gtk=1.2.3
31522 { echo "$as_me:$LINENO: result
: no
" >&5
31523 echo "${ECHO_T}no
" >&6; }
31524 if test "$GTK_CONFIG" = "no
" ; then
31525 echo "*** The gtk
-config script installed by GTK could not be found
"
31526 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31527 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31528 echo "*** full path to gtk
-config.
"
31530 if test -f conf.gtktest ; then
31533 echo "*** Could not run GTK
test program
, checking why...
"
31534 CFLAGS="$CFLAGS $GTK_CFLAGS"
31535 LIBS="$LIBS $GTK_LIBS"
31536 cat >conftest.$ac_ext <<_ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31543 #include <gtk/gtk.h>
31549 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31554 rm -f conftest.$ac_objext conftest$ac_exeext
31555 if { (ac_try="$ac_link"
31556 case "(($ac_try" in
31557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31558 *) ac_try_echo=$ac_try;;
31560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31561 (eval "$ac_link") 2>conftest.er1
31563 grep -v '^ *+' conftest.er1 >conftest.err
31565 cat conftest.err >&5
31566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31567 (exit $ac_status); } && {
31568 test -z "$ac_c_werror_flag" ||
31569 test ! -s conftest.err
31570 } && test -s conftest$ac_exeext &&
31571 $as_test_x conftest$ac_exeext; then
31572 echo "*** The
test program compiled
, but did not run. This usually means
"
31573 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31574 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31575 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31576 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31577 echo "*** is required on your system"
31579 echo "*** If you have an old version installed, it is best to remove it, although"
31580 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31582 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31583 echo "*** came with the system with the command"
31585 echo "*** rpm --erase --nodeps gtk gtk-devel"
31587 echo "$as_me: failed program was:" >&5
31588 sed 's
/^
/| /' conftest.$ac_ext >&5
31590 echo "*** The test program failed to compile or link. See the file config.log for the"
31591 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31592 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31593 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31597 conftest$ac_exeext conftest.$ac_ext
31598 CFLAGS="$ac_save_CFLAGS"
31599 LIBS="$ac_save_LIBS"
31614 if test -z "$wx_cv_lib_gtk"; then
31617 wx_cv_cflags_gtk=$GTK_CFLAGS
31618 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31625 if test "$gtk_version_cached" = 1; then
31626 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31627 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31630 case "$wx_cv_lib_gtk" in
31639 *) { { echo "$as_me:$LINENO: error:
31640 The development files for GTK+ were not found. For GTK+ 2, please
31641 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31642 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31643 and that the version is 1.2.3 or above. Also check that the
31644 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31645 --libs' are in the LD_LIBRARY_PATH or equivalent.
31647 echo "$as_me: error:
31648 The development files for GTK+ were not found. For GTK+ 2, please
31649 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31650 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31651 and that the version is 1.2.3 or above. Also check that the
31652 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31653 --libs' are in the LD_LIBRARY_PATH or equivalent.
31655 { (exit 1); exit 1; }; }
31659 if test "$WXGTK20" = 1; then
31660 save_CFLAGS="$CFLAGS"
31662 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31663 LIBS="$LIBS $wx_cv_libs_gtk"
31665 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31666 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31667 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31670 cat >conftest.$ac_ext <<_ACEOF
31673 cat confdefs.h >>conftest.$ac_ext
31674 cat >>conftest.$ac_ext <<_ACEOF
31675 /* end confdefs.h. */
31676 #include <gtk/gtk.h>
31681 #ifndef gtk_icon_size_lookup
31682 (void) gtk_icon_size_lookup;
31689 rm -f conftest.$ac_objext
31690 if { (ac_try="$ac_compile"
31691 case "(($ac_try" in
31692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31693 *) ac_try_echo=$ac_try;;
31695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31696 (eval "$ac_compile") 2>conftest.er1
31698 grep -v '^
*+' conftest.er1 >conftest.err
31700 cat conftest.err >&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } && {
31703 test -z "$ac_c_werror_flag" ||
31704 test ! -s conftest.err
31705 } && test -s conftest.$ac_objext; then
31706 ac_cv_have_decl_gtk_icon_size_lookup=yes
31708 echo "$as_me: failed program was:" >&5
31709 sed 's
/^
/| /' conftest.$ac_ext >&5
31711 ac_cv_have_decl_gtk_icon_size_lookup=no
31714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31716 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31717 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31718 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31720 cat >>confdefs.h <<_ACEOF
31721 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31726 cat >>confdefs.h <<_ACEOF
31727 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31730 cat >>confdefs.h <<\_ACEOF
31731 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31739 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31740 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31741 cat >conftest.$ac_ext <<_ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31748 #include <gtk/gtk.h>
31754 #if !GTK_CHECK_VERSION(2,10,0)
31762 rm -f conftest.$ac_objext
31763 if { (ac_try="$ac_compile"
31764 case "(($ac_try" in
31765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31766 *) ac_try_echo=$ac_try;;
31768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31769 (eval "$ac_compile") 2>conftest.er1
31771 grep -v '^
*+' conftest.er1 >conftest.err
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } && {
31776 test -z "$ac_c_werror_flag" ||
31777 test ! -s conftest.err
31778 } && test -s conftest.$ac_objext; then
31780 cat >>confdefs.h <<\_ACEOF
31781 #define __WXGTK210__ 1
31784 cat >>confdefs.h <<\_ACEOF
31785 #define __WXGTK26__ 1
31788 cat >>confdefs.h <<\_ACEOF
31789 #define __WXGTK24__ 1
31792 { echo "$as_me:$LINENO: result: yes" >&5
31793 echo "${ECHO_T}yes" >&6; }
31797 echo "$as_me: failed program was:" >&5
31798 sed 's
/^
/| /' conftest.$ac_ext >&5
31801 { echo "$as_me:$LINENO: result: no" >&5
31802 echo "${ECHO_T}no" >&6; }
31807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31809 if test "$ac_wxgtk210" = 0; then
31810 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31811 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31812 cat >conftest.$ac_ext <<_ACEOF
31815 cat confdefs.h >>conftest.$ac_ext
31816 cat >>conftest.$ac_ext <<_ACEOF
31817 /* end confdefs.h. */
31819 #include <gtk/gtk.h>
31825 #if !GTK_CHECK_VERSION(2,6,0)
31833 rm -f conftest.$ac_objext
31834 if { (ac_try="$ac_compile"
31835 case "(($ac_try" in
31836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31837 *) ac_try_echo=$ac_try;;
31839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31840 (eval "$ac_compile") 2>conftest.er1
31842 grep -v '^
*+' conftest.er1 >conftest.err
31844 cat conftest.err >&5
31845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31846 (exit $ac_status); } && {
31847 test -z "$ac_c_werror_flag" ||
31848 test ! -s conftest.err
31849 } && test -s conftest.$ac_objext; then
31851 cat >>confdefs.h <<\_ACEOF
31852 #define __WXGTK26__ 1
31855 cat >>confdefs.h <<\_ACEOF
31856 #define __WXGTK24__ 1
31859 { echo "$as_me:$LINENO: result: yes" >&5
31860 echo "${ECHO_T}yes" >&6; }
31864 echo "$as_me: failed program was:" >&5
31865 sed 's
/^
/| /' conftest.$ac_ext >&5
31868 { echo "$as_me:$LINENO: result: no" >&5
31869 echo "${ECHO_T}no" >&6; }
31874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31877 if test "$ac_wxgtk26" = 0; then
31878 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31879 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31880 cat >conftest.$ac_ext <<_ACEOF
31883 cat confdefs.h >>conftest.$ac_ext
31884 cat >>conftest.$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31887 #include <gtk/gtk.h>
31893 #if !GTK_CHECK_VERSION(2,4,0)
31901 rm -f conftest.$ac_objext
31902 if { (ac_try="$ac_compile"
31903 case "(($ac_try" in
31904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31905 *) ac_try_echo=$ac_try;;
31907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31908 (eval "$ac_compile") 2>conftest.er1
31910 grep -v '^
*+' conftest.er1 >conftest.err
31912 cat conftest.err >&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); } && {
31915 test -z "$ac_c_werror_flag" ||
31916 test ! -s conftest.err
31917 } && test -s conftest.$ac_objext; then
31919 cat >>confdefs.h <<\_ACEOF
31920 #define __WXGTK24__ 1
31923 { echo "$as_me:$LINENO: result: yes" >&5
31924 echo "${ECHO_T}yes" >&6; }
31927 echo "$as_me: failed program was:" >&5
31928 sed 's
/^
/| /' conftest.$ac_ext >&5
31931 { echo "$as_me:$LINENO: result: no" >&5
31932 echo "${ECHO_T}no" >&6; }
31936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 CFLAGS="$save_CFLAGS"
31942 if test "$wxUSE_UNICODE" = "yes"; then
31943 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31944 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31948 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31949 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31950 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31951 echo $ECHO_N "(cached) $ECHO_C" >&6
31953 ac_check_lib_save_LIBS=$LIBS
31955 cat >conftest.$ac_ext <<_ACEOF
31958 cat confdefs.h >>conftest.$ac_ext
31959 cat >>conftest.$ac_ext <<_ACEOF
31960 /* end confdefs.h. */
31962 /* Override any GCC internal prototype to avoid an error.
31963 Use char because int might match the return type of a GCC
31964 builtin and then its argument prototype would still apply. */
31968 char gdk_im_open ();
31972 return gdk_im_open ();
31977 rm -f conftest.$ac_objext conftest$ac_exeext
31978 if { (ac_try="$ac_link"
31979 case "(($ac_try" in
31980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31981 *) ac_try_echo=$ac_try;;
31983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31984 (eval "$ac_link") 2>conftest.er1
31986 grep -v '^
*+' conftest.er1 >conftest.err
31988 cat conftest.err >&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); } && {
31991 test -z "$ac_c_werror_flag" ||
31992 test ! -s conftest.err
31993 } && test -s conftest$ac_exeext &&
31994 $as_test_x conftest$ac_exeext; then
31995 ac_cv_lib_gdk_gdk_im_open=yes
31997 echo "$as_me: failed program was:" >&5
31998 sed 's
/^
/| /' conftest.$ac_ext >&5
32000 ac_cv_lib_gdk_gdk_im_open=no
32003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32004 conftest$ac_exeext conftest.$ac_ext
32005 LIBS=$ac_check_lib_save_LIBS
32007 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32008 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32009 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32010 cat >>confdefs.h <<\_ACEOF
32017 if test "$USE_DARWIN" != 1; then
32019 for ac_func in poll
32021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32027 cat >conftest.$ac_ext <<_ACEOF
32030 cat confdefs.h >>conftest.$ac_ext
32031 cat >>conftest.$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32035 #define $ac_func innocuous_$ac_func
32037 /* System header to define __stub macros and hopefully few prototypes,
32038 which can conflict with char $ac_func (); below.
32039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32040 <limits.h> exists even on freestanding compilers. */
32043 # include <limits.h>
32045 # include <assert.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. */
32057 /* The GNU C library defines this for functions which it implements
32058 to always fail with ENOSYS. Some functions are actually named
32059 something starting with __ and the normal name is an alias. */
32060 #if defined __stub_$ac_func || defined __stub___$ac_func
32067 return $ac_func ();
32072 rm -f conftest.$ac_objext conftest$ac_exeext
32073 if { (ac_try="$ac_link"
32074 case "(($ac_try" in
32075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32076 *) ac_try_echo=$ac_try;;
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_link") 2>conftest.er1
32081 grep -v '^
*+' conftest.er1 >conftest.err
32083 cat conftest.err >&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } && {
32086 test -z "$ac_c_werror_flag" ||
32087 test ! -s conftest.err
32088 } && test -s conftest$ac_exeext &&
32089 $as_test_x conftest$ac_exeext; then
32090 eval "$as_ac_var=yes"
32092 echo "$as_me: failed program was:" >&5
32093 sed 's
/^
/| /' conftest.$ac_ext >&5
32095 eval "$as_ac_var=no"
32098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32099 conftest$ac_exeext conftest.$ac_ext
32101 ac_res=`eval echo '${'$as_ac_var'}'`
32102 { echo "$as_me:$LINENO: result: $ac_res" >&5
32103 echo "${ECHO_T}$ac_res" >&6; }
32104 if test `eval echo '${'$as_ac_var'}'` = yes; then
32105 cat >>confdefs.h <<_ACEOF
32106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32115 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32116 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32118 AFMINSTALL=afminstall
32122 if test "$wxUSE_GPE" = "yes"; then
32123 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32124 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32127 for ac_dir in $SEARCH_LIB;
32129 for ac_extension in a so sl dylib dll.a; do
32130 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32131 ac_find_libraries=$ac_dir
32137 if test "$ac_find_libraries" != "" ; then
32139 if test "$ac_find_libraries" = "default location"; then
32142 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32144 if test $result = 0; then
32147 ac_path_to_link=" -L$ac_find_libraries"
32151 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32153 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32154 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32156 { echo "$as_me:$LINENO: result: not found" >&5
32157 echo "${ECHO_T}not found" >&6; }
32163 if test "$wxUSE_MGL" = 1; then
32164 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32165 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32166 if test "x$MGL_ROOT" = x ; then
32167 { echo "$as_me:$LINENO: result: not found" >&5
32168 echo "${ECHO_T}not found" >&6; }
32169 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32170 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32171 { (exit 1); exit 1; }; }
32173 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32174 echo "${ECHO_T}$MGL_ROOT" >&6; }
32177 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32178 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32181 if test "x$wxUSE_SHARED" = xyes ; then
32182 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32184 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32188 mgl_os_candidates="dos32/dj2"
32191 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32192 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32193 { (exit 1); exit 1; }; }
32199 for mgl_os_i in $mgl_os_candidates ; do
32200 if test "x$mgl_os" = x ; then
32201 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32202 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32203 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32208 if test "x$mgl_lib_type" = x ; then
32209 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32210 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32211 mgl_lib_type=release
32218 if test "x$mgl_os" = x ; then
32219 { echo "$as_me:$LINENO: result: not found" >&5
32220 echo "${ECHO_T}not found" >&6; }
32221 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32222 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32223 { (exit 1); exit 1; }; }
32225 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32226 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32228 wxUSE_UNIVERSAL="yes"
32230 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32231 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32233 AFMINSTALL=afminstall
32238 if test "$wxUSE_DFB" = 1; then
32241 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32242 if test -n "$ac_tool_prefix"; then
32243 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32244 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32247 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32248 echo $ECHO_N "(cached) $ECHO_C" >&6
32250 case $PKG_CONFIG in
32252 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32256 for as_dir in $PATH
32259 test -z "$as_dir" && as_dir=.
32260 for ac_exec_ext in '' $ac_executable_extensions; do
32261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32262 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32273 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32274 if test -n "$PKG_CONFIG"; then
32275 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32276 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32278 { echo "$as_me:$LINENO: result: no" >&5
32279 echo "${ECHO_T}no" >&6; }
32284 if test -z "$ac_cv_path_PKG_CONFIG"; then
32285 ac_pt_PKG_CONFIG=$PKG_CONFIG
32286 # Extract the first word of "pkg-config", so it can be a program name with args.
32287 set dummy pkg-config; ac_word=$2
32288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32290 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32291 echo $ECHO_N "(cached) $ECHO_C" >&6
32293 case $ac_pt_PKG_CONFIG in
32295 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32299 for as_dir in $PATH
32302 test -z "$as_dir" && as_dir=.
32303 for ac_exec_ext in '' $ac_executable_extensions; do
32304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32305 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32316 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32317 if test -n "$ac_pt_PKG_CONFIG"; then
32318 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32319 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32321 { echo "$as_me:$LINENO: result: no" >&5
32322 echo "${ECHO_T}no" >&6; }
32325 if test "x$ac_pt_PKG_CONFIG" = x; then
32328 case $cross_compiling:$ac_tool_warned in
32330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32331 whose name does not start with the host triplet. If you think this
32332 configuration is useful to you, please write to autoconf@gnu.org." >&5
32333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32334 whose name does not start with the host triplet. If you think this
32335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32336 ac_tool_warned=yes ;;
32338 PKG_CONFIG=$ac_pt_PKG_CONFIG
32341 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32345 if test -n "$PKG_CONFIG"; then
32346 _pkg_min_version=0.9.0
32347 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32348 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32349 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32350 { echo "$as_me:$LINENO: result: yes" >&5
32351 echo "${ECHO_T}yes" >&6; }
32353 { echo "$as_me:$LINENO: result: no" >&5
32354 echo "${ECHO_T}no" >&6; }
32362 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32363 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32365 if test -n "$PKG_CONFIG"; then
32366 if test -n "$DIRECTFB_CFLAGS"; then
32367 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32369 if test -n "$PKG_CONFIG" && \
32370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32371 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; then
32375 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32383 if test -n "$PKG_CONFIG"; then
32384 if test -n "$DIRECTFB_LIBS"; then
32385 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32387 if test -n "$PKG_CONFIG" && \
32388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32389 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); }; then
32393 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32404 if test $pkg_failed = yes; then
32406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32407 _pkg_short_errors_supported=yes
32409 _pkg_short_errors_supported=no
32411 if test $_pkg_short_errors_supported = yes; then
32412 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32414 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32416 # Put the nasty error message in config.log where it belongs
32417 echo "$DIRECTFB_PKG_ERRORS" >&5
32420 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32421 echo "$as_me: error: DirectFB not found." >&2;}
32422 { (exit 1); exit 1; }; }
32425 elif test $pkg_failed = untried; then
32427 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32428 echo "$as_me: error: DirectFB not found." >&2;}
32429 { (exit 1); exit 1; }; }
32433 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32434 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32435 { echo "$as_me:$LINENO: result: yes" >&5
32436 echo "${ECHO_T}yes" >&6; }
32438 wxUSE_UNIVERSAL="yes"
32439 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32440 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32447 if test "$wxUSE_MICROWIN" = 1; then
32448 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32449 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32450 if test "x$MICROWINDOWS" = x ; then
32451 { echo "$as_me:$LINENO: result: not found" >&5
32452 echo "${ECHO_T}not found" >&6; }
32453 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32454 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32455 { (exit 1); exit 1; }; }
32457 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32458 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32461 if test -f $MICROWINDOWS/lib/libmwin.a; then
32462 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32463 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32465 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32466 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32467 { (exit 1); exit 1; }; }
32470 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32471 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32473 wxUSE_UNIVERSAL="yes"
32475 AFMINSTALL=afminstall
32477 GUIDIST=MICROWIN_DIST
32479 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32482 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32483 { echo "$as_me:$LINENO: checking for X" >&5
32484 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32487 # Check whether --with-x was given.
32488 if test "${with_x+set}" = set; then
32492 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32493 if test "x$with_x" = xno; then
32494 # The user explicitly disabled X.
32497 case $x_includes,$x_libraries in #(
32498 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32499 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32500 { (exit 1); exit 1; }; };; #(
32501 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32504 # One or both of the vars are not set, and there is no cached value.
32505 ac_x_includes=no ac_x_libraries=no
32506 rm -f -r conftest.dir
32507 if mkdir conftest.dir; then
32509 cat >Imakefile <<'_ACEOF'
32511 @echo incroot='${INCROOT}'
32513 @echo usrlibdir='${USRLIBDIR}'
32515 @echo libdir='${LIBDIR}'
32517 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32518 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32519 for ac_var in incroot usrlibdir libdir; do
32520 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32522 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32523 for ac_extension in a so sl; do
32524 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32525 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32526 ac_im_usrlibdir=$ac_im_libdir; break
32529 # Screen out bogus values from the imake configuration. They are
32530 # bogus both because they are the default anyway, and because
32531 # using them would break gcc on systems where it needs fixed includes.
32532 case $ac_im_incroot in
32533 /usr/include) ac_x_includes= ;;
32534 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32536 case $ac_im_usrlibdir in
32537 /usr/lib | /lib) ;;
32538 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32542 rm -f -r conftest.dir
32545 # Standard set of common directories for X headers.
32546 # Check X11 before X11Rn because it is often a symlink to the current release.
32558 /usr
/local
/X
11/include
32559 /usr
/local
/X
11R
6/include
32560 /usr
/local
/X
11R
5/include
32561 /usr
/local
/X
11R
4/include
32563 /usr
/local
/include
/X11
32564 /usr
/local
/include
/X11R6
32565 /usr
/local
/include
/X11R5
32566 /usr
/local
/include
/X11R4
32570 /usr
/XFree
86/include
/X11
32574 /usr
/unsupported
/include
32575 /usr
/athena
/include
32576 /usr
/local
/x
11r
5/include
32577 /usr
/lpp
/Xamples
/include
32579 /usr
/openwin
/include
32580 /usr
/openwin
/share
/include
'
32582 if test "$ac_x_includes" = no; then
32583 # Guess where to find include files, by looking for Xlib.h.
32584 # First, try using that file with no special directory specified.
32585 cat >conftest.$ac_ext <<_ACEOF
32588 cat confdefs.h >>conftest.$ac_ext
32589 cat >>conftest.$ac_ext <<_ACEOF
32590 /* end confdefs.h. */
32591 #include <X11/Xlib.h>
32593 if { (ac_try="$ac_cpp conftest.$ac_ext"
32594 case "(($ac_try" in
32595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32596 *) ac_try_echo=$ac_try;;
32598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32601 grep -v '^
*+' conftest.er1 >conftest.err
32603 cat conftest.err >&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); } >/dev/null && {
32606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32607 test ! -s conftest.err
32609 # We can compile using X headers with no special include directory.
32612 echo "$as_me: failed program was:" >&5
32613 sed 's
/^
/| /' conftest.$ac_ext >&5
32615 for ac_dir in $ac_x_header_dirs; do
32616 if test -r "$ac_dir/X11/Xlib.h"; then
32617 ac_x_includes=$ac_dir
32623 rm -f conftest.err conftest.$ac_ext
32624 fi # $ac_x_includes = no
32626 if test "$ac_x_libraries" = no; then
32627 # Check for the libraries.
32628 # See if we find them without any special options.
32629 # Don't add to
$LIBS permanently.
32632 cat >conftest.
$ac_ext <<_ACEOF
32635 cat confdefs.h
>>conftest.
$ac_ext
32636 cat >>conftest.
$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638 #include <X11/Xlib.h>
32647 rm -f conftest.
$ac_objext conftest
$ac_exeext
32648 if { (ac_try
="$ac_link"
32649 case "(($ac_try" in
32650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32651 *) ac_try_echo=$ac_try;;
32653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32654 (eval "$ac_link") 2>conftest.er1
32656 grep -v '^ *+' conftest.er1 >conftest.err
32658 cat conftest.err >&5
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); } && {
32661 test -z "$ac_c_werror_flag" ||
32662 test ! -s conftest.err
32663 } && test -s conftest$ac_exeext &&
32664 $as_test_x conftest$ac_exeext; then
32666 # We can link X programs with no special library path.
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.$ac_ext >&5
32673 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32675 # Don't even attempt the hair of trying to link an X program!
32676 for ac_extension in a so sl; do
32677 if test -r "$ac_dir/libX11.$ac_extension"; then
32678 ac_x_libraries=$ac_dir
32685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32686 conftest$ac_exeext conftest.$ac_ext
32687 fi # $ac_x_libraries = no
32689 case $ac_x_includes,$ac_x_libraries in #(
32690 no,* | *,no | *\'*)
32691 # Didn't find X, or a directory has "'" in its name.
32692 ac_cv_have_x="have_x=no";; #(
32694 # Record where we found X for the cache.
32695 ac_cv_have_x="have_x=yes\
32696 ac_x_includes='$ac_x_includes'\
32697 ac_x_libraries='$ac_x_libraries'"
32703 eval "$ac_cv_have_x"
32706 if test "$have_x" != yes; then
32707 { echo "$as_me:$LINENO: result: $have_x" >&5
32708 echo "${ECHO_T}$have_x" >&6; }
32711 # If each of the values was on the command line, it overrides each guess.
32712 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32713 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32714 # Update the cache value to reflect the command line values.
32715 ac_cv_have_x="have_x=yes\
32716 ac_x_includes='$x_includes'\
32717 ac_x_libraries='$x_libraries'"
32718 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32719 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32722 if test "$no_x" = yes; then
32723 # Not all programs may use this symbol, but it does not hurt to define it.
32725 cat >>confdefs.h <<\_ACEOF
32726 #define X_DISPLAY_MISSING 1
32729 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32731 if test -n "$x_includes"; then
32732 X_CFLAGS="$X_CFLAGS -I$x_includes"
32735 # It would also be nice to do this for all -L options, not just this one.
32736 if test -n "$x_libraries"; then
32737 X_LIBS="$X_LIBS -L$x_libraries"
32738 # For Solaris; some versions of Sun CC require a space after -R and
32739 # others require no space. Words are not sufficient . . . .
32740 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32741 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32742 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32743 ac_xsave_c_werror_flag=$ac_c_werror_flag
32744 ac_c_werror_flag=yes
32745 cat >conftest.$ac_ext <<_ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h. */
32760 rm -f conftest.$ac_objext conftest$ac_exeext
32761 if { (ac_try="$ac_link"
32762 case "(($ac_try" in
32763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32764 *) ac_try_echo
=$ac_try;;
32766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32767 (eval "$ac_link") 2>conftest.er1
32769 grep -v '^ *+' conftest.er1
>conftest.err
32771 cat conftest.err
>&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } && {
32774 test -z "$ac_c_werror_flag" ||
32775 test ! -s conftest.err
32776 } && test -s conftest
$ac_exeext &&
32777 $as_test_x conftest
$ac_exeext; then
32778 { echo "$as_me:$LINENO: result: no" >&5
32779 echo "${ECHO_T}no" >&6; }
32780 X_LIBS
="$X_LIBS -R$x_libraries"
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.
$ac_ext >&5
32785 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32786 cat >conftest.
$ac_ext <<_ACEOF
32789 cat confdefs.h
>>conftest.
$ac_ext
32790 cat >>conftest.
$ac_ext <<_ACEOF
32791 /* end confdefs.h. */
32801 rm -f conftest.
$ac_objext conftest
$ac_exeext
32802 if { (ac_try
="$ac_link"
32803 case "(($ac_try" in
32804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32805 *) ac_try_echo=$ac_try;;
32807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32808 (eval "$ac_link") 2>conftest.er1
32810 grep -v '^ *+' conftest.er1 >conftest.err
32812 cat conftest.err >&5
32813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814 (exit $ac_status); } && {
32815 test -z "$ac_c_werror_flag" ||
32816 test ! -s conftest.err
32817 } && test -s conftest$ac_exeext &&
32818 $as_test_x conftest$ac_exeext; then
32819 { echo "$as_me:$LINENO: result: yes" >&5
32820 echo "${ECHO_T}yes" >&6; }
32821 X_LIBS="$X_LIBS -R $x_libraries"
32823 echo "$as_me: failed program was:" >&5
32824 sed 's/^/| /' conftest.$ac_ext >&5
32826 { echo "$as_me:$LINENO: result: neither works" >&5
32827 echo "${ECHO_T}neither works" >&6; }
32830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32831 conftest$ac_exeext conftest.$ac_ext
32834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32835 conftest$ac_exeext conftest.$ac_ext
32836 ac_c_werror_flag=$ac_xsave_c_werror_flag
32837 LIBS=$ac_xsave_LIBS
32840 # Check for system-dependent libraries X programs must link with.
32841 # Do this before checking for the system-independent R6 libraries
32842 # (-lICE), since we may need -lsocket or whatever for X linking.
32844 if test "$ISC" = yes; then
32845 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32847 # Martyn Johnson says this is needed for Ultrix, if the X
32848 # libraries were built with DECnet support. And Karl Berry says
32849 # the Alpha needs dnet_stub (dnet does not exist).
32850 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32851 cat >conftest.$ac_ext <<_ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32858 /* Override any GCC internal prototype to avoid an error.
32859 Use char because int might match the return type of a GCC
32860 builtin and then its argument prototype would still apply. */
32864 char XOpenDisplay ();
32868 return XOpenDisplay ();
32873 rm -f conftest.$ac_objext conftest$ac_exeext
32874 if { (ac_try="$ac_link"
32875 case "(($ac_try" in
32876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32877 *) ac_try_echo
=$ac_try;;
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_link") 2>conftest.er1
32882 grep -v '^ *+' conftest.er1
>conftest.err
32884 cat conftest.err
>&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } && {
32887 test -z "$ac_c_werror_flag" ||
32888 test ! -s conftest.err
32889 } && test -s conftest
$ac_exeext &&
32890 $as_test_x conftest
$ac_exeext; then
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.
$ac_ext >&5
32896 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32897 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32898 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32899 echo $ECHO_N "(cached) $ECHO_C" >&6
32901 ac_check_lib_save_LIBS
=$LIBS
32902 LIBS
="-ldnet $LIBS"
32903 cat >conftest.
$ac_ext <<_ACEOF
32906 cat confdefs.h
>>conftest.
$ac_ext
32907 cat >>conftest.
$ac_ext <<_ACEOF
32908 /* end confdefs.h. */
32910 /* Override any GCC internal prototype to avoid an error.
32911 Use char because int might match the return type of a GCC
32912 builtin and then its argument prototype would still apply. */
32920 return dnet_ntoa ();
32925 rm -f conftest.
$ac_objext conftest
$ac_exeext
32926 if { (ac_try
="$ac_link"
32927 case "(($ac_try" in
32928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32929 *) ac_try_echo=$ac_try;;
32931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32932 (eval "$ac_link") 2>conftest.er1
32934 grep -v '^ *+' conftest.er1 >conftest.err
32936 cat conftest.err >&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } && {
32939 test -z "$ac_c_werror_flag" ||
32940 test ! -s conftest.err
32941 } && test -s conftest$ac_exeext &&
32942 $as_test_x conftest$ac_exeext; then
32943 ac_cv_lib_dnet_dnet_ntoa=yes
32945 echo "$as_me: failed program was:" >&5
32946 sed 's/^/| /' conftest.$ac_ext >&5
32948 ac_cv_lib_dnet_dnet_ntoa=no
32951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32952 conftest$ac_exeext conftest.$ac_ext
32953 LIBS=$ac_check_lib_save_LIBS
32955 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32956 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32957 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32958 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32961 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32962 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32963 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32964 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32967 ac_check_lib_save_LIBS=$LIBS
32968 LIBS="-ldnet_stub $LIBS"
32969 cat >conftest.$ac_ext <<_ACEOF
32972 cat confdefs.h >>conftest.$ac_ext
32973 cat >>conftest.$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32976 /* Override any GCC internal prototype to avoid an error.
32977 Use char because int might match the return type of a GCC
32978 builtin and then its argument prototype would still apply. */
32986 return dnet_ntoa ();
32991 rm -f conftest.$ac_objext conftest$ac_exeext
32992 if { (ac_try="$ac_link"
32993 case "(($ac_try" in
32994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32995 *) ac_try_echo
=$ac_try;;
32997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32998 (eval "$ac_link") 2>conftest.er1
33000 grep -v '^ *+' conftest.er1
>conftest.err
33002 cat conftest.err
>&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); } && {
33005 test -z "$ac_c_werror_flag" ||
33006 test ! -s conftest.err
33007 } && test -s conftest
$ac_exeext &&
33008 $as_test_x conftest
$ac_exeext; then
33009 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
33011 echo "$as_me: failed program was:" >&5
33012 sed 's/^/| /' conftest.
$ac_ext >&5
33014 ac_cv_lib_dnet_stub_dnet_ntoa
=no
33017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33018 conftest
$ac_exeext conftest.
$ac_ext
33019 LIBS
=$ac_check_lib_save_LIBS
33021 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33022 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33023 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33024 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
33030 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33031 conftest
$ac_exeext conftest.
$ac_ext
33032 LIBS
="$ac_xsave_LIBS"
33034 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33035 # to get the SysV transport functions.
33036 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33038 # The nsl library prevents programs from opening the X display
33039 # on Irix 5.2, according to T.E. Dickey.
33040 # The functions gethostbyname, getservbyname, and inet_addr are
33041 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33042 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33043 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33044 if test "${ac_cv_func_gethostbyname+set}" = set; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33047 cat >conftest.
$ac_ext <<_ACEOF
33050 cat confdefs.h
>>conftest.
$ac_ext
33051 cat >>conftest.
$ac_ext <<_ACEOF
33052 /* end confdefs.h. */
33053 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33055 #define gethostbyname innocuous_gethostbyname
33057 /* System header to define __stub macros and hopefully few prototypes,
33058 which can conflict with char gethostbyname (); below.
33059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33060 <limits.h> exists even on freestanding compilers. */
33063 # include <limits.h>
33065 # include <assert.h>
33068 #undef gethostbyname
33070 /* Override any GCC internal prototype to avoid an error.
33071 Use char because int might match the return type of a GCC
33072 builtin and then its argument prototype would still apply. */
33076 char gethostbyname ();
33077 /* The GNU C library defines this for functions which it implements
33078 to always fail with ENOSYS. Some functions are actually named
33079 something starting with __ and the normal name is an alias. */
33080 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33087 return gethostbyname ();
33092 rm -f conftest.
$ac_objext conftest
$ac_exeext
33093 if { (ac_try
="$ac_link"
33094 case "(($ac_try" in
33095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33096 *) ac_try_echo=$ac_try;;
33098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33099 (eval "$ac_link") 2>conftest.er1
33101 grep -v '^ *+' conftest.er1 >conftest.err
33103 cat conftest.err >&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); } && {
33106 test -z "$ac_c_werror_flag" ||
33107 test ! -s conftest.err
33108 } && test -s conftest$ac_exeext &&
33109 $as_test_x conftest$ac_exeext; then
33110 ac_cv_func_gethostbyname=yes
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33115 ac_cv_func_gethostbyname=no
33118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33119 conftest$ac_exeext conftest.$ac_ext
33121 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33122 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33124 if test $ac_cv_func_gethostbyname = no; then
33125 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33126 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33127 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33130 ac_check_lib_save_LIBS=$LIBS
33132 cat >conftest.$ac_ext <<_ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33139 /* Override any GCC internal prototype to avoid an error.
33140 Use char because int might match the return type of a GCC
33141 builtin and then its argument prototype would still apply. */
33145 char gethostbyname ();
33149 return gethostbyname ();
33154 rm -f conftest.$ac_objext conftest$ac_exeext
33155 if { (ac_try="$ac_link"
33156 case "(($ac_try" in
33157 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33158 *) ac_try_echo
=$ac_try;;
33160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33161 (eval "$ac_link") 2>conftest.er1
33163 grep -v '^ *+' conftest.er1
>conftest.err
33165 cat conftest.err
>&5
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); } && {
33168 test -z "$ac_c_werror_flag" ||
33169 test ! -s conftest.err
33170 } && test -s conftest
$ac_exeext &&
33171 $as_test_x conftest
$ac_exeext; then
33172 ac_cv_lib_nsl_gethostbyname
=yes
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.
$ac_ext >&5
33177 ac_cv_lib_nsl_gethostbyname
=no
33180 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33181 conftest
$ac_exeext conftest.
$ac_ext
33182 LIBS
=$ac_check_lib_save_LIBS
33184 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33185 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33186 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33187 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33190 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33191 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33192 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33193 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 ac_check_lib_save_LIBS
=$LIBS
33198 cat >conftest.
$ac_ext <<_ACEOF
33201 cat confdefs.h
>>conftest.
$ac_ext
33202 cat >>conftest.
$ac_ext <<_ACEOF
33203 /* end confdefs.h. */
33205 /* Override any GCC internal prototype to avoid an error.
33206 Use char because int might match the return type of a GCC
33207 builtin and then its argument prototype would still apply. */
33211 char gethostbyname ();
33215 return gethostbyname ();
33220 rm -f conftest.
$ac_objext conftest
$ac_exeext
33221 if { (ac_try
="$ac_link"
33222 case "(($ac_try" in
33223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33224 *) ac_try_echo=$ac_try;;
33226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33227 (eval "$ac_link") 2>conftest.er1
33229 grep -v '^ *+' conftest.er1 >conftest.err
33231 cat conftest.err >&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); } && {
33234 test -z "$ac_c_werror_flag" ||
33235 test ! -s conftest.err
33236 } && test -s conftest$ac_exeext &&
33237 $as_test_x conftest$ac_exeext; then
33238 ac_cv_lib_bsd_gethostbyname=yes
33240 echo "$as_me: failed program was:" >&5
33241 sed 's/^/| /' conftest.$ac_ext >&5
33243 ac_cv_lib_bsd_gethostbyname=no
33246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33247 conftest$ac_exeext conftest.$ac_ext
33248 LIBS=$ac_check_lib_save_LIBS
33250 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33251 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33252 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33259 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33260 # socket/setsockopt and other routines are undefined under SCO ODT
33261 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33262 # on later versions), says Simon Leinen: it contains gethostby*
33263 # variants that don't use the name server (or something). -lsocket
33264 # must be given before -lnsl if both are needed. We assume that
33265 # if connect needs -lnsl, so does gethostbyname.
33266 { echo "$as_me:$LINENO: checking for connect" >&5
33267 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33268 if test "${ac_cv_func_connect+set}" = set; then
33269 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 cat >conftest.$ac_ext <<_ACEOF
33274 cat confdefs.h >>conftest.$ac_ext
33275 cat >>conftest.$ac_ext <<_ACEOF
33276 /* end confdefs.h. */
33277 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33279 #define connect innocuous_connect
33281 /* System header to define __stub macros and hopefully few prototypes,
33282 which can conflict with char connect (); below.
33283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33284 <limits.h> exists even on freestanding compilers. */
33287 # include <limits.h>
33289 # include <assert.h>
33294 /* Override any GCC internal prototype to avoid an error.
33295 Use char because int might match the return type of a GCC
33296 builtin and then its argument prototype would still apply. */
33301 /* The GNU C library defines this for functions which it implements
33302 to always fail with ENOSYS. Some functions are actually named
33303 something starting with __ and the normal name is an alias. */
33304 #if defined __stub_connect || defined __stub___connect
33316 rm -f conftest.$ac_objext conftest$ac_exeext
33317 if { (ac_try="$ac_link"
33318 case "(($ac_try" in
33319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33320 *) ac_try_echo
=$ac_try;;
33322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33323 (eval "$ac_link") 2>conftest.er1
33325 grep -v '^ *+' conftest.er1
>conftest.err
33327 cat conftest.err
>&5
33328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329 (exit $ac_status); } && {
33330 test -z "$ac_c_werror_flag" ||
33331 test ! -s conftest.err
33332 } && test -s conftest
$ac_exeext &&
33333 $as_test_x conftest
$ac_exeext; then
33334 ac_cv_func_connect
=yes
33336 echo "$as_me: failed program was:" >&5
33337 sed 's/^/| /' conftest.
$ac_ext >&5
33339 ac_cv_func_connect
=no
33342 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33343 conftest
$ac_exeext conftest.
$ac_ext
33345 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33346 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33348 if test $ac_cv_func_connect = no
; then
33349 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33350 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33351 if test "${ac_cv_lib_socket_connect+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 ac_check_lib_save_LIBS
=$LIBS
33355 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33356 cat >conftest.
$ac_ext <<_ACEOF
33359 cat confdefs.h
>>conftest.
$ac_ext
33360 cat >>conftest.
$ac_ext <<_ACEOF
33361 /* end confdefs.h. */
33363 /* Override any GCC internal prototype to avoid an error.
33364 Use char because int might match the return type of a GCC
33365 builtin and then its argument prototype would still apply. */
33378 rm -f conftest.
$ac_objext conftest
$ac_exeext
33379 if { (ac_try
="$ac_link"
33380 case "(($ac_try" in
33381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33382 *) ac_try_echo=$ac_try;;
33384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33385 (eval "$ac_link") 2>conftest.er1
33387 grep -v '^ *+' conftest.er1 >conftest.err
33389 cat conftest.err >&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } && {
33392 test -z "$ac_c_werror_flag" ||
33393 test ! -s conftest.err
33394 } && test -s conftest$ac_exeext &&
33395 $as_test_x conftest$ac_exeext; then
33396 ac_cv_lib_socket_connect=yes
33398 echo "$as_me: failed program was:" >&5
33399 sed 's/^/| /' conftest.$ac_ext >&5
33401 ac_cv_lib_socket_connect=no
33404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33405 conftest$ac_exeext conftest.$ac_ext
33406 LIBS=$ac_check_lib_save_LIBS
33408 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33409 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33410 if test $ac_cv_lib_socket_connect = yes; then
33411 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33416 # Guillermo Gomez says -lposix is necessary on A/UX.
33417 { echo "$as_me:$LINENO: checking for remove" >&5
33418 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33419 if test "${ac_cv_func_remove+set}" = set; then
33420 echo $ECHO_N "(cached) $ECHO_C" >&6
33422 cat >conftest.$ac_ext <<_ACEOF
33425 cat confdefs.h >>conftest.$ac_ext
33426 cat >>conftest.$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33428 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33430 #define remove innocuous_remove
33432 /* System header to define __stub macros and hopefully few prototypes,
33433 which can conflict with char remove (); below.
33434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33435 <limits.h> exists even on freestanding compilers. */
33438 # include <limits.h>
33440 # include <assert.h>
33445 /* Override any GCC internal prototype to avoid an error.
33446 Use char because int might match the return type of a GCC
33447 builtin and then its argument prototype would still apply. */
33452 /* The GNU C library defines this for functions which it implements
33453 to always fail with ENOSYS. Some functions are actually named
33454 something starting with __ and the normal name is an alias. */
33455 #if defined __stub_remove || defined __stub___remove
33467 rm -f conftest.$ac_objext conftest$ac_exeext
33468 if { (ac_try="$ac_link"
33469 case "(($ac_try" in
33470 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33471 *) ac_try_echo
=$ac_try;;
33473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33474 (eval "$ac_link") 2>conftest.er1
33476 grep -v '^ *+' conftest.er1
>conftest.err
33478 cat conftest.err
>&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); } && {
33481 test -z "$ac_c_werror_flag" ||
33482 test ! -s conftest.err
33483 } && test -s conftest
$ac_exeext &&
33484 $as_test_x conftest
$ac_exeext; then
33485 ac_cv_func_remove
=yes
33487 echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.
$ac_ext >&5
33490 ac_cv_func_remove
=no
33493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33494 conftest
$ac_exeext conftest.
$ac_ext
33496 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33497 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33499 if test $ac_cv_func_remove = no
; then
33500 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33501 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33502 if test "${ac_cv_lib_posix_remove+set}" = set; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 ac_check_lib_save_LIBS
=$LIBS
33506 LIBS
="-lposix $LIBS"
33507 cat >conftest.
$ac_ext <<_ACEOF
33510 cat confdefs.h
>>conftest.
$ac_ext
33511 cat >>conftest.
$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33514 /* Override any GCC internal prototype to avoid an error.
33515 Use char because int might match the return type of a GCC
33516 builtin and then its argument prototype would still apply. */
33529 rm -f conftest.
$ac_objext conftest
$ac_exeext
33530 if { (ac_try
="$ac_link"
33531 case "(($ac_try" in
33532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33533 *) ac_try_echo=$ac_try;;
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_link") 2>conftest.er1
33538 grep -v '^ *+' conftest.er1 >conftest.err
33540 cat conftest.err >&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } && {
33543 test -z "$ac_c_werror_flag" ||
33544 test ! -s conftest.err
33545 } && test -s conftest$ac_exeext &&
33546 $as_test_x conftest$ac_exeext; then
33547 ac_cv_lib_posix_remove=yes
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33552 ac_cv_lib_posix_remove=no
33555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33556 conftest$ac_exeext conftest.$ac_ext
33557 LIBS=$ac_check_lib_save_LIBS
33559 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33560 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33561 if test $ac_cv_lib_posix_remove = yes; then
33562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33567 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33568 { echo "$as_me:$LINENO: checking for shmat" >&5
33569 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33570 if test "${ac_cv_func_shmat+set}" = set; then
33571 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 cat >conftest.$ac_ext <<_ACEOF
33576 cat confdefs.h >>conftest.$ac_ext
33577 cat >>conftest.$ac_ext <<_ACEOF
33578 /* end confdefs.h. */
33579 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33581 #define shmat innocuous_shmat
33583 /* System header to define __stub macros and hopefully few prototypes,
33584 which can conflict with char shmat (); below.
33585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33586 <limits.h> exists even on freestanding compilers. */
33589 # include <limits.h>
33591 # include <assert.h>
33596 /* Override any GCC internal prototype to avoid an error.
33597 Use char because int might match the return type of a GCC
33598 builtin and then its argument prototype would still apply. */
33603 /* The GNU C library defines this for functions which it implements
33604 to always fail with ENOSYS. Some functions are actually named
33605 something starting with __ and the normal name is an alias. */
33606 #if defined __stub_shmat || defined __stub___shmat
33618 rm -f conftest.$ac_objext conftest$ac_exeext
33619 if { (ac_try="$ac_link"
33620 case "(($ac_try" in
33621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33622 *) ac_try_echo
=$ac_try;;
33624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33625 (eval "$ac_link") 2>conftest.er1
33627 grep -v '^ *+' conftest.er1
>conftest.err
33629 cat conftest.err
>&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); } && {
33632 test -z "$ac_c_werror_flag" ||
33633 test ! -s conftest.err
33634 } && test -s conftest
$ac_exeext &&
33635 $as_test_x conftest
$ac_exeext; then
33636 ac_cv_func_shmat
=yes
33638 echo "$as_me: failed program was:" >&5
33639 sed 's/^/| /' conftest.
$ac_ext >&5
33641 ac_cv_func_shmat
=no
33644 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33645 conftest
$ac_exeext conftest.
$ac_ext
33647 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33648 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33650 if test $ac_cv_func_shmat = no
; then
33651 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33652 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33653 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33654 echo $ECHO_N "(cached) $ECHO_C" >&6
33656 ac_check_lib_save_LIBS
=$LIBS
33658 cat >conftest.
$ac_ext <<_ACEOF
33661 cat confdefs.h
>>conftest.
$ac_ext
33662 cat >>conftest.
$ac_ext <<_ACEOF
33663 /* end confdefs.h. */
33665 /* Override any GCC internal prototype to avoid an error.
33666 Use char because int might match the return type of a GCC
33667 builtin and then its argument prototype would still apply. */
33680 rm -f conftest.
$ac_objext conftest
$ac_exeext
33681 if { (ac_try
="$ac_link"
33682 case "(($ac_try" in
33683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33684 *) ac_try_echo=$ac_try;;
33686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33687 (eval "$ac_link") 2>conftest.er1
33689 grep -v '^ *+' conftest.er1 >conftest.err
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } && {
33694 test -z "$ac_c_werror_flag" ||
33695 test ! -s conftest.err
33696 } && test -s conftest$ac_exeext &&
33697 $as_test_x conftest$ac_exeext; then
33698 ac_cv_lib_ipc_shmat=yes
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.$ac_ext >&5
33703 ac_cv_lib_ipc_shmat=no
33706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33707 conftest$ac_exeext conftest.$ac_ext
33708 LIBS=$ac_check_lib_save_LIBS
33710 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33711 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33712 if test $ac_cv_lib_ipc_shmat = yes; then
33713 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33719 # Check for libraries that X11R6 Xt/Xaw programs need.
33720 ac_save_LDFLAGS=$LDFLAGS
33721 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33722 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33723 # check for ICE first), but we must link in the order -lSM -lICE or
33724 # we get undefined symbols. So assume we have SM if we have ICE.
33725 # These have to be linked with before -lX11, unlike the other
33726 # libraries we check for below, so use a different variable.
33727 # John Interrante, Karl Berry
33728 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33729 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33730 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33733 ac_check_lib_save_LIBS=$LIBS
33734 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33735 cat >conftest.$ac_ext <<_ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33742 /* Override any GCC internal prototype to avoid an error.
33743 Use char because int might match the return type of a GCC
33744 builtin and then its argument prototype would still apply. */
33748 char IceConnectionNumber ();
33752 return IceConnectionNumber ();
33757 rm -f conftest.$ac_objext conftest$ac_exeext
33758 if { (ac_try="$ac_link"
33759 case "(($ac_try" in
33760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33761 *) ac_try_echo
=$ac_try;;
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_link") 2>conftest.er1
33766 grep -v '^ *+' conftest.er1
>conftest.err
33768 cat conftest.err
>&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest
$ac_exeext &&
33774 $as_test_x conftest
$ac_exeext; then
33775 ac_cv_lib_ICE_IceConnectionNumber
=yes
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.
$ac_ext >&5
33780 ac_cv_lib_ICE_IceConnectionNumber
=no
33783 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33784 conftest
$ac_exeext conftest.
$ac_ext
33785 LIBS
=$ac_check_lib_save_LIBS
33787 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33788 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33789 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33790 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33793 LDFLAGS
=$ac_save_LDFLAGS
33798 if test "$no_x" = "yes"; then
33799 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33800 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33801 { (exit 1); exit 1; }; }
33804 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33805 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33806 AFMINSTALL
=afminstall
33807 COMPILED_X_PROGRAM
=0
33811 if test "$wxUSE_X11" = 1; then
33812 if test "$wxUSE_NANOX" = "yes"; then
33813 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33814 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33815 if test "x$MICROWIN" = x
; then
33816 { echo "$as_me:$LINENO: result: not found" >&5
33817 echo "${ECHO_T}not found" >&6; }
33818 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33819 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33820 { (exit 1); exit 1; }; }
33822 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33823 echo "${ECHO_T}$MICROWIN" >&6; }
33824 cat >>confdefs.h
<<\_ACEOF
33825 #define wxUSE_NANOX 1
33831 if test "$wxUSE_UNICODE" = "yes"; then
33834 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33835 if test -n "$ac_tool_prefix"; then
33836 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33837 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33840 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33841 echo $ECHO_N "(cached) $ECHO_C" >&6
33843 case $PKG_CONFIG in
33845 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33849 for as_dir
in $PATH
33852 test -z "$as_dir" && as_dir
=.
33853 for ac_exec_ext
in '' $ac_executable_extensions; do
33854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33855 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33866 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33867 if test -n "$PKG_CONFIG"; then
33868 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33869 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33871 { echo "$as_me:$LINENO: result: no" >&5
33872 echo "${ECHO_T}no" >&6; }
33877 if test -z "$ac_cv_path_PKG_CONFIG"; then
33878 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33879 # Extract the first word of "pkg-config", so it can be a program name with args.
33880 set dummy pkg
-config; ac_word
=$2
33881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33883 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33884 echo $ECHO_N "(cached) $ECHO_C" >&6
33886 case $ac_pt_PKG_CONFIG in
33888 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33892 for as_dir
in $PATH
33895 test -z "$as_dir" && as_dir
=.
33896 for ac_exec_ext
in '' $ac_executable_extensions; do
33897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33898 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33909 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33910 if test -n "$ac_pt_PKG_CONFIG"; then
33911 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33912 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33914 { echo "$as_me:$LINENO: result: no" >&5
33915 echo "${ECHO_T}no" >&6; }
33918 if test "x$ac_pt_PKG_CONFIG" = x
; then
33921 case $cross_compiling:$ac_tool_warned in
33923 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33924 whose name does not start with the host triplet. If you think this
33925 configuration is useful to you, please write to autoconf@gnu.org." >&5
33926 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33927 whose name does not start with the host triplet. If you think this
33928 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33929 ac_tool_warned
=yes ;;
33931 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33934 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33938 if test -n "$PKG_CONFIG"; then
33939 _pkg_min_version
=0.9.0
33940 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33941 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33942 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33943 { echo "$as_me:$LINENO: result: yes" >&5
33944 echo "${ECHO_T}yes" >&6; }
33946 { echo "$as_me:$LINENO: result: no" >&5
33947 echo "${ECHO_T}no" >&6; }
33955 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33956 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33958 if test -n "$PKG_CONFIG"; then
33959 if test -n "$PANGOX_CFLAGS"; then
33960 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33962 if test -n "$PKG_CONFIG" && \
33963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33964 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; then
33968 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33976 if test -n "$PKG_CONFIG"; then
33977 if test -n "$PANGOX_LIBS"; then
33978 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33980 if test -n "$PKG_CONFIG" && \
33981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33982 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; then
33986 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33997 if test $pkg_failed = yes; then
33999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34000 _pkg_short_errors_supported
=yes
34002 _pkg_short_errors_supported
=no
34004 if test $_pkg_short_errors_supported = yes; then
34005 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34007 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34009 # Put the nasty error message in config.log where it belongs
34010 echo "$PANGOX_PKG_ERRORS" >&5
34013 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34014 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34015 { (exit 1); exit 1; }; }
34018 elif test $pkg_failed = untried
; then
34020 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34021 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34022 { (exit 1); exit 1; }; }
34026 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
34027 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
34028 { echo "$as_me:$LINENO: result: yes" >&5
34029 echo "${ECHO_T}yes" >&6; }
34031 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
34032 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
34033 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
34038 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34039 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34041 if test -n "$PKG_CONFIG"; then
34042 if test -n "$PANGOFT2_CFLAGS"; then
34043 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
34045 if test -n "$PKG_CONFIG" && \
34046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34047 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); }; then
34051 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34059 if test -n "$PKG_CONFIG"; then
34060 if test -n "$PANGOFT2_LIBS"; then
34061 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
34063 if test -n "$PKG_CONFIG" && \
34064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34065 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); }; then
34069 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34080 if test $pkg_failed = yes; then
34082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34083 _pkg_short_errors_supported
=yes
34085 _pkg_short_errors_supported
=no
34087 if test $_pkg_short_errors_supported = yes; then
34088 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34090 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34092 # Put the nasty error message in config.log where it belongs
34093 echo "$PANGOFT2_PKG_ERRORS" >&5
34096 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34097 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34098 wxUSE_PRINTING_ARCHITECTURE
="no"
34101 elif test $pkg_failed = untried
; then
34103 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34104 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34105 wxUSE_PRINTING_ARCHITECTURE
="no"
34109 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
34110 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
34111 { echo "$as_me:$LINENO: result: yes" >&5
34112 echo "${ECHO_T}yes" >&6; }
34114 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
34115 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
34116 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34121 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34122 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34124 if test -n "$PKG_CONFIG"; then
34125 if test -n "$PANGOXFT_CFLAGS"; then
34126 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
34128 if test -n "$PKG_CONFIG" && \
34129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34130 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); }; then
34134 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34142 if test -n "$PKG_CONFIG"; then
34143 if test -n "$PANGOXFT_LIBS"; then
34144 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34146 if test -n "$PKG_CONFIG" && \
34147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34148 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; then
34152 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34163 if test $pkg_failed = yes; then
34165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34166 _pkg_short_errors_supported
=yes
34168 _pkg_short_errors_supported
=no
34170 if test $_pkg_short_errors_supported = yes; then
34171 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34173 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34175 # Put the nasty error message in config.log where it belongs
34176 echo "$PANGOXFT_PKG_ERRORS" >&5
34179 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34180 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34183 elif test $pkg_failed = untried
; then
34185 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34186 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34190 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34191 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34192 { echo "$as_me:$LINENO: result: yes" >&5
34193 echo "${ECHO_T}yes" >&6; }
34195 cat >>confdefs.h
<<\_ACEOF
34196 #define HAVE_PANGO_XFT 1
34199 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34200 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34201 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34205 LIBS
="$LIBS $PANGOX_LIBS"
34207 for ac_func
in pango_font_family_is_monospace
34209 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34212 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34213 echo $ECHO_N "(cached) $ECHO_C" >&6
34215 cat >conftest.
$ac_ext <<_ACEOF
34218 cat confdefs.h
>>conftest.
$ac_ext
34219 cat >>conftest.
$ac_ext <<_ACEOF
34220 /* end confdefs.h. */
34221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34223 #define $ac_func innocuous_$ac_func
34225 /* System header to define __stub macros and hopefully few prototypes,
34226 which can conflict with char $ac_func (); below.
34227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34228 <limits.h> exists even on freestanding compilers. */
34231 # include <limits.h>
34233 # include <assert.h>
34238 /* Override any GCC internal prototype to avoid an error.
34239 Use char because int might match the return type of a GCC
34240 builtin and then its argument prototype would still apply. */
34245 /* The GNU C library defines this for functions which it implements
34246 to always fail with ENOSYS. Some functions are actually named
34247 something starting with __ and the normal name is an alias. */
34248 #if defined __stub_$ac_func || defined __stub___$ac_func
34255 return $ac_func ();
34260 rm -f conftest.
$ac_objext conftest
$ac_exeext
34261 if { (ac_try
="$ac_link"
34262 case "(($ac_try" in
34263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_link") 2>conftest.er1
34269 grep -v '^ *+' conftest.er1 >conftest.err
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest$ac_exeext &&
34277 $as_test_x conftest$ac_exeext; then
34278 eval "$as_ac_var=yes"
34280 echo "$as_me: failed program was:" >&5
34281 sed 's/^/| /' conftest.$ac_ext >&5
34283 eval "$as_ac_var=no"
34286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34287 conftest$ac_exeext conftest.$ac_ext
34289 ac_res=`eval echo '${'$as_ac_var'}'`
34290 { echo "$as_me:$LINENO: result: $ac_res" >&5
34291 echo "${ECHO_T}$ac_res" >&6; }
34292 if test `eval echo '${'$as_ac_var'}'` = yes; then
34293 cat >>confdefs.h <<_ACEOF
34294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34303 wxUSE_UNIVERSAL="yes"
34305 if test "$wxUSE_NANOX" = "yes"; then
34306 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34307 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"
34308 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34317 if test "$wxUSE_MOTIF" = 1; then
34318 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34319 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34322 for ac_dir in $SEARCH_INCLUDE /usr/include;
34324 if test -f "$ac_dir/Xm/Xm.h"; then
34325 ac_find_includes=$ac_dir
34330 if test "$ac_find_includes" != "" ; then
34331 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34332 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34334 if test "x$ac_find_includes" = "x/usr/include"; then
34335 ac_path_to_include=""
34337 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34339 if test $result = 0; then
34340 ac_path_to_include=""
34342 ac_path_to_include=" -I$ac_find_includes"
34346 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34348 save_CFLAGS=$CFLAGS
34349 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34351 cat >conftest.$ac_ext <<_ACEOF
34354 cat confdefs.h >>conftest.$ac_ext
34355 cat >>conftest.$ac_ext <<_ACEOF
34356 /* end confdefs.h. */
34365 version = xmUseVersion;
34371 rm -f conftest.$ac_objext
34372 if { (ac_try="$ac_compile"
34373 case "(($ac_try" in
34374 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34375 *) ac_try_echo
=$ac_try;;
34377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34378 (eval "$ac_compile") 2>conftest.er1
34380 grep -v '^ *+' conftest.er1
>conftest.err
34382 cat conftest.err
>&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); } && {
34385 test -z "$ac_c_werror_flag" ||
34386 test ! -s conftest.err
34387 } && test -s conftest.
$ac_objext; then
34389 { echo "$as_me:$LINENO: result: found in default search path" >&5
34390 echo "${ECHO_T}found in default search path" >&6; }
34391 COMPILED_X_PROGRAM
=1
34394 echo "$as_me: failed program was:" >&5
34395 sed 's/^/| /' conftest.
$ac_ext >&5
34398 { echo "$as_me:$LINENO: result: no" >&5
34399 echo "${ECHO_T}no" >&6; }
34400 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34401 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34402 { (exit 1); exit 1; }; }
34407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34409 CFLAGS
=$save_CFLAGS
34413 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34414 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34417 for ac_dir
in $SEARCH_LIB;
34419 for ac_extension
in a so sl dylib dll.a
; do
34420 if test -f "$ac_dir/libXm.$ac_extension"; then
34421 ac_find_libraries
=$ac_dir
34428 if test "x$ac_find_libraries" != "x" ; then
34429 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34430 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34433 if test "$ac_find_libraries" = "default location"; then
34436 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34438 if test $result = 0; then
34441 ac_path_to_link
=" -L$ac_find_libraries"
34445 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34447 save_CFLAGS
=$CFLAGS
34448 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34450 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34452 cat >conftest.
$ac_ext <<_ACEOF
34455 cat confdefs.h
>>conftest.
$ac_ext
34456 cat >>conftest.
$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34466 version = xmUseVersion;
34472 rm -f conftest.
$ac_objext conftest
$ac_exeext
34473 if { (ac_try
="$ac_link"
34474 case "(($ac_try" in
34475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34476 *) ac_try_echo=$ac_try;;
34478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34479 (eval "$ac_link") 2>conftest.er1
34481 grep -v '^ *+' conftest.er1 >conftest.err
34483 cat conftest.err >&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); } && {
34486 test -z "$ac_c_werror_flag" ||
34487 test ! -s conftest.err
34488 } && test -s conftest$ac_exeext &&
34489 $as_test_x conftest$ac_exeext; then
34491 { echo "$as_me:$LINENO: result: found in default search path" >&5
34492 echo "${ECHO_T}found in default search path" >&6; }
34493 COMPILED_X_PROGRAM=1
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.$ac_ext >&5
34500 { echo "$as_me:$LINENO: result: no" >&5
34501 echo "${ECHO_T}no" >&6; }
34502 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34503 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34504 { (exit 1); exit 1; }; }
34509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34510 conftest$ac_exeext conftest.$ac_ext
34512 CFLAGS=$save_CFLAGS
34516 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34517 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34521 for libp in "" " -lXp"; do
34522 if test "$libs_found" = "0"; then
34523 for libsm_ice in "" " -lSM -lICE"; do
34524 if test "$libs_found" = "0"; then
34526 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34527 save_CFLAGS=$CFLAGS
34528 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34530 cat >conftest.$ac_ext <<_ACEOF
34533 cat confdefs.h >>conftest.$ac_ext
34534 cat >>conftest.$ac_ext <<_ACEOF
34535 /* end confdefs.h. */
34538 #include <Xm/List.h>
34544 XmString string = NULL;
34547 XmListAddItem(w, string, position);
34553 rm -f conftest.$ac_objext conftest$ac_exeext
34554 if { (ac_try="$ac_link"
34555 case "(($ac_try" in
34556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34557 *) ac_try_echo
=$ac_try;;
34559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34560 (eval "$ac_link") 2>conftest.er1
34562 grep -v '^ *+' conftest.er1
>conftest.err
34564 cat conftest.err
>&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); } && {
34567 test -z "$ac_c_werror_flag" ||
34568 test ! -s conftest.err
34569 } && test -s conftest
$ac_exeext &&
34570 $as_test_x conftest
$ac_exeext; then
34573 libsm_ice_link
="$libsm_ice"
34574 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34575 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.
$ac_ext >&5
34586 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34587 conftest
$ac_exeext conftest.
$ac_ext
34590 CFLAGS
=$save_CFLAGS
34596 if test "$libs_found" = "0"; then
34597 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34598 echo "${ECHO_T}can't find the right libraries" >&6; }
34599 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34600 echo "$as_me: error: can't link a simple motif program" >&2;}
34601 { (exit 1); exit 1; }; }
34604 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34605 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34606 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34607 echo $ECHO_N "(cached) $ECHO_C" >&6
34609 ac_check_lib_save_LIBS
=$LIBS
34611 cat >conftest.
$ac_ext <<_ACEOF
34614 cat confdefs.h
>>conftest.
$ac_ext
34615 cat >>conftest.
$ac_ext <<_ACEOF
34616 /* end confdefs.h. */
34618 /* Override any GCC internal prototype to avoid an error.
34619 Use char because int might match the return type of a GCC
34620 builtin and then its argument prototype would still apply. */
34624 char SgCreateList ();
34628 return SgCreateList ();
34633 rm -f conftest.
$ac_objext conftest
$ac_exeext
34634 if { (ac_try
="$ac_link"
34635 case "(($ac_try" in
34636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34637 *) ac_try_echo=$ac_try;;
34639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34640 (eval "$ac_link") 2>conftest.er1
34642 grep -v '^ *+' conftest.er1 >conftest.err
34644 cat conftest.err >&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); } && {
34647 test -z "$ac_c_werror_flag" ||
34648 test ! -s conftest.err
34649 } && test -s conftest$ac_exeext &&
34650 $as_test_x conftest$ac_exeext; then
34651 ac_cv_lib_Sgm_SgCreateList=yes
34653 echo "$as_me: failed program was:" >&5
34654 sed 's/^/| /' conftest.$ac_ext >&5
34656 ac_cv_lib_Sgm_SgCreateList=no
34659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34660 conftest$ac_exeext conftest.$ac_ext
34661 LIBS=$ac_check_lib_save_LIBS
34663 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34664 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34665 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34666 libsgm_link=" -lSgm"
34670 save_CFLAGS=$CFLAGS
34671 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34673 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34674 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34675 if test "${wx_cv_lib_motif2+set}" = set; then
34676 echo $ECHO_N "(cached) $ECHO_C" >&6
34678 cat >conftest.$ac_ext <<_ACEOF
34681 cat confdefs.h >>conftest.$ac_ext
34682 cat >>conftest.$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34691 #if XmVersion < 2000
34699 rm -f conftest.$ac_objext
34700 if { (ac_try="$ac_compile"
34701 case "(($ac_try" in
34702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34703 *) ac_try_echo
=$ac_try;;
34705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34706 (eval "$ac_compile") 2>conftest.er1
34708 grep -v '^ *+' conftest.er1
>conftest.err
34710 cat conftest.err
>&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); } && {
34713 test -z "$ac_c_werror_flag" ||
34714 test ! -s conftest.err
34715 } && test -s conftest.
$ac_objext; then
34716 wx_cv_lib_motif2
="yes"
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.
$ac_ext >&5
34721 wx_cv_lib_motif2
="no"
34724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34726 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34727 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34728 if test "$wx_cv_lib_motif2" = "yes"; then
34729 cat >>confdefs.h
<<\_ACEOF
34730 #define __WXMOTIF20__ 1
34734 cat >>confdefs.h
<<\_ACEOF
34735 #define __WXMOTIF20__ 0
34740 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34741 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34742 if test "${wx_cv_lib_lesstif+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 cat >conftest.
$ac_ext <<_ACEOF
34748 cat confdefs.h
>>conftest.
$ac_ext
34749 cat >>conftest.
$ac_ext <<_ACEOF
34750 /* end confdefs.h. */
34758 #if !defined(LesstifVersion) || LesstifVersion <= 0
34766 rm -f conftest.
$ac_objext
34767 if { (ac_try
="$ac_compile"
34768 case "(($ac_try" in
34769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34770 *) ac_try_echo=$ac_try;;
34772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34773 (eval "$ac_compile") 2>conftest.er1
34775 grep -v '^ *+' conftest.er1 >conftest.err
34777 cat conftest.err >&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } && {
34780 test -z "$ac_c_werror_flag" ||
34781 test ! -s conftest.err
34782 } && test -s conftest.$ac_objext; then
34783 wx_cv_lib_lesstif="yes"
34785 echo "$as_me: failed program was:" >&5
34786 sed 's/^/| /' conftest.$ac_ext >&5
34788 wx_cv_lib_lesstif="no"
34791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34794 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34795 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34796 if test "$wx_cv_lib_lesstif" = "yes"; then
34797 cat >>confdefs.h <<\_ACEOF
34798 #define __WXLESSTIF__ 1
34802 cat >>confdefs.h <<\_ACEOF
34803 #define __WXLESSTIF__ 0
34808 CFLAGS=$save_CFLAGS
34810 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34815 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34816 if test "$wxUSE_LIBXPM" = "sys"; then
34817 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34818 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34821 for ac_dir in $SEARCH_LIB;
34823 for ac_extension in a so sl dylib dll.a; do
34824 if test -f "$ac_dir/libXpm.$ac_extension"; then
34825 ac_find_libraries=$ac_dir
34831 if test "$ac_find_libraries" != "" ; then
34833 if test "$ac_find_libraries" = "default location"; then
34836 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34838 if test $result = 0; then
34841 ac_path_to_link=" -L$ac_find_libraries"
34845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34846 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34847 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34849 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34850 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34851 if test "${wx_cv_x11_xpm_h+set}" = set; then
34852 echo $ECHO_N "(cached) $ECHO_C" >&6
34855 save_CFLAGS=$CFLAGS
34856 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34858 cat >conftest.$ac_ext <<_ACEOF
34861 cat confdefs.h >>conftest.$ac_ext
34862 cat >>conftest.$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34865 #include <X11/xpm.h>
34872 version = XpmLibraryVersion();
34878 rm -f conftest.$ac_objext
34879 if { (ac_try="$ac_compile"
34880 case "(($ac_try" in
34881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34882 *) ac_try_echo
=$ac_try;;
34884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34885 (eval "$ac_compile") 2>conftest.er1
34887 grep -v '^ *+' conftest.er1
>conftest.err
34889 cat conftest.err
>&5
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); } && {
34892 test -z "$ac_c_werror_flag" ||
34893 test ! -s conftest.err
34894 } && test -s conftest.
$ac_objext; then
34895 wx_cv_x11_xpm_h
=yes
34897 echo "$as_me: failed program was:" >&5
34898 sed 's/^/| /' conftest.
$ac_ext >&5
34904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34906 CFLAGS
=$save_CFLAGS
34910 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34911 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34913 if test $wx_cv_x11_xpm_h = "yes"; then
34914 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34915 cat >>confdefs.h
<<\_ACEOF
34916 #define wxHAVE_LIB_XPM 1
34920 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34921 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34927 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34928 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34929 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 ac_check_lib_save_LIBS
=$LIBS
34933 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34934 cat >conftest.
$ac_ext <<_ACEOF
34937 cat confdefs.h
>>conftest.
$ac_ext
34938 cat >>conftest.
$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34941 /* Override any GCC internal prototype to avoid an error.
34942 Use char because int might match the return type of a GCC
34943 builtin and then its argument prototype would still apply. */
34947 char XShapeQueryExtension ();
34951 return XShapeQueryExtension ();
34956 rm -f conftest.
$ac_objext conftest
$ac_exeext
34957 if { (ac_try
="$ac_link"
34958 case "(($ac_try" in
34959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34960 *) ac_try_echo=$ac_try;;
34962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34963 (eval "$ac_link") 2>conftest.er1
34965 grep -v '^ *+' conftest.er1 >conftest.err
34967 cat conftest.err >&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); } && {
34970 test -z "$ac_c_werror_flag" ||
34971 test ! -s conftest.err
34972 } && test -s conftest$ac_exeext &&
34973 $as_test_x conftest$ac_exeext; then
34974 ac_cv_lib_Xext_XShapeQueryExtension=yes
34976 echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.$ac_ext >&5
34979 ac_cv_lib_Xext_XShapeQueryExtension=no
34982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34983 conftest$ac_exeext conftest.$ac_ext
34984 LIBS=$ac_check_lib_save_LIBS
34986 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34987 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34988 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34990 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34996 if test "$wxHAVE_XEXT_LIB" = 1; then
34997 save_CFLAGS="$CFLAGS"
34998 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35000 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35001 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35002 cat >conftest.$ac_ext <<_ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35009 #include <X11/Xlib.h>
35010 #include <X11/extensions/shape.h>
35016 int dummy1, dummy2;
35017 XShapeQueryExtension((Display*)NULL,
35018 (int*)NULL, (int*)NULL);
35024 rm -f conftest.$ac_objext
35025 if { (ac_try="$ac_compile"
35026 case "(($ac_try" in
35027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35028 *) ac_try_echo
=$ac_try;;
35030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35031 (eval "$ac_compile") 2>conftest.er1
35033 grep -v '^ *+' conftest.er1
>conftest.err
35035 cat conftest.err
>&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } && {
35038 test -z "$ac_c_werror_flag" ||
35039 test ! -s conftest.err
35040 } && test -s conftest.
$ac_objext; then
35042 cat >>confdefs.h
<<\_ACEOF
35043 #define HAVE_XSHAPE 1
35046 { echo "$as_me:$LINENO: result: found" >&5
35047 echo "${ECHO_T}found" >&6; }
35050 echo "$as_me: failed program was:" >&5
35051 sed 's/^/| /' conftest.
$ac_ext >&5
35054 { echo "$as_me:$LINENO: result: not found" >&5
35055 echo "${ECHO_T}not found" >&6; }
35059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35060 CFLAGS
="$save_CFLAGS"
35065 if test "$wxUSE_MAC" = 1; then
35066 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35067 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35068 if test "$GCC" = yes; then
35069 { echo "$as_me:$LINENO: result: gcc" >&5
35070 echo "${ECHO_T}gcc" >&6; }
35071 CPPFLAGS_PASCAL
="-fpascal-strings"
35072 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35073 { echo "$as_me:$LINENO: result: xlc" >&5
35074 echo "${ECHO_T}xlc" >&6; }
35075 CPPFLAGS_PASCAL
="-qmacpstr"
35077 { echo "$as_me:$LINENO: result: none" >&5
35078 echo "${ECHO_T}none" >&6; }
35081 if test "x$wxUSE_UNIX" = "xyes"; then
35082 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35084 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35089 WXBASEPORT
="_carbon"
35092 if test "$wxUSE_COCOA" = 1; then
35097 if test "$wxUSE_PM" = 1; then
35100 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35101 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35102 if test "${wx_cv_spbcdata+set}" = set; then
35103 echo $ECHO_N "(cached) $ECHO_C" >&6
35106 cat >conftest.
$ac_ext <<_ACEOF
35109 cat confdefs.h
>>conftest.
$ac_ext
35110 cat >>conftest.
$ac_ext <<_ACEOF
35111 /* end confdefs.h. */
35126 rm -f conftest.
$ac_objext
35127 if { (ac_try
="$ac_compile"
35128 case "(($ac_try" in
35129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35130 *) ac_try_echo=$ac_try;;
35132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35133 (eval "$ac_compile") 2>conftest.er1
35135 grep -v '^ *+' conftest.er1 >conftest.err
35137 cat conftest.err >&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); } && {
35140 test -z "$ac_c_werror_flag" ||
35141 test ! -s conftest.err
35142 } && test -s conftest.$ac_objext; then
35145 echo "$as_me: failed program was:" >&5
35146 sed 's/^/| /' conftest.$ac_ext >&5
35152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35157 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35159 if test $wx_cv_spbcdata = "yes"; then
35160 cat >>confdefs.h <<\_ACEOF
35161 #define HAVE_SPBCDATA 1
35167 if test "$TOOLKIT" = "PM" ; then
35170 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35173 if test "$wxUSE_UNIVERSAL" = "yes"; then
35174 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35178 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35179 DISTDIR="wx\$(TOOLKIT)"
35185 if test "$USE_WIN32" = 1 ; then
35189 GUIDIST="BASE_DIST"
35195 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35196 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35197 wxUSE_UNICODE_UTF8=yes
35198 elif test "$USE_OS2" = "1" ; then
35199 wxUSE_UNICODE_UTF8=yes
35201 wxUSE_UNICODE_UTF8=no
35206 if test "$wxUSE_GUI" = "yes"; then
35207 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35209 for ac_header in X11/Xlib.h
35211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35217 cat >conftest.$ac_ext <<_ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h. */
35225 #include <$ac_header>
35227 rm -f conftest.$ac_objext
35228 if { (ac_try="$ac_compile"
35229 case "(($ac_try" in
35230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35231 *) ac_try_echo
=$ac_try;;
35233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35234 (eval "$ac_compile") 2>conftest.er1
35236 grep -v '^ *+' conftest.er1
>conftest.err
35238 cat conftest.err
>&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } && {
35241 test -z "$ac_c_werror_flag" ||
35242 test ! -s conftest.err
35243 } && test -s conftest.
$ac_objext; then
35244 eval "$as_ac_Header=yes"
35246 echo "$as_me: failed program was:" >&5
35247 sed 's/^/| /' conftest.
$ac_ext >&5
35249 eval "$as_ac_Header=no"
35252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35254 ac_res
=`eval echo '${'$as_ac_Header'}'`
35255 { echo "$as_me:$LINENO: result: $ac_res" >&5
35256 echo "${ECHO_T}$ac_res" >&6; }
35257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35258 cat >>confdefs.h
<<_ACEOF
35259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35267 for ac_header
in X
11/XKBlib.h
35269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35272 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 cat >conftest.
$ac_ext <<_ACEOF
35278 cat confdefs.h
>>conftest.
$ac_ext
35279 cat >>conftest.
$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35282 #if HAVE_X11_XLIB_H
35283 #include <X11/Xlib.h>
35287 #include <$ac_header>
35289 rm -f conftest.
$ac_objext
35290 if { (ac_try
="$ac_compile"
35291 case "(($ac_try" in
35292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35293 *) ac_try_echo=$ac_try;;
35295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35296 (eval "$ac_compile") 2>conftest.er1
35298 grep -v '^ *+' conftest.er1 >conftest.err
35300 cat conftest.err >&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); } && {
35303 test -z "$ac_c_werror_flag" ||
35304 test ! -s conftest.err
35305 } && test -s conftest.$ac_objext; then
35306 eval "$as_ac_Header=yes"
35308 echo "$as_me: failed program was:" >&5
35309 sed 's/^/| /' conftest.$ac_ext >&5
35311 eval "$as_ac_Header=no"
35314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35316 ac_res=`eval echo '${'$as_ac_Header'}'`
35317 { echo "$as_me:$LINENO: result: $ac_res" >&5
35318 echo "${ECHO_T}$ac_res" >&6; }
35319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35320 cat >>confdefs.h <<_ACEOF
35321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35336 if test "$TOOLKIT" != "MSW" ; then
35338 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35340 { echo "$as_me:$LINENO: checking for sql.h" >&5
35341 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35342 if test "${ac_cv_header_sql_h+set}" = set; then
35343 echo $ECHO_N "(cached) $ECHO_C" >&6
35345 cat >conftest.$ac_ext <<_ACEOF
35348 cat confdefs.h >>conftest.$ac_ext
35349 cat >>conftest.$ac_ext <<_ACEOF
35350 /* end confdefs.h. */
35355 rm -f conftest.$ac_objext
35356 if { (ac_try="$ac_compile"
35357 case "(($ac_try" in
35358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35359 *) ac_try_echo
=$ac_try;;
35361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35362 (eval "$ac_compile") 2>conftest.er1
35364 grep -v '^ *+' conftest.er1
>conftest.err
35366 cat conftest.err
>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } && {
35369 test -z "$ac_c_werror_flag" ||
35370 test ! -s conftest.err
35371 } && test -s conftest.
$ac_objext; then
35372 ac_cv_header_sql_h
=yes
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.
$ac_ext >&5
35377 ac_cv_header_sql_h
=no
35380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35382 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35383 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35384 if test $ac_cv_header_sql_h = yes; then
35389 if test "x$found_sql_h" = "x1" ; then
35390 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35391 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35392 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35395 ac_check_lib_save_LIBS
=$LIBS
35396 LIBS
="-liodbc $LIBS"
35397 cat >conftest.
$ac_ext <<_ACEOF
35400 cat confdefs.h
>>conftest.
$ac_ext
35401 cat >>conftest.
$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35404 /* Override any GCC internal prototype to avoid an error.
35405 Use char because int might match the return type of a GCC
35406 builtin and then its argument prototype would still apply. */
35410 char SQLAllocEnv ();
35414 return SQLAllocEnv ();
35419 rm -f conftest.
$ac_objext conftest
$ac_exeext
35420 if { (ac_try
="$ac_link"
35421 case "(($ac_try" in
35422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35423 *) ac_try_echo=$ac_try;;
35425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35426 (eval "$ac_link") 2>conftest.er1
35428 grep -v '^ *+' conftest.er1 >conftest.err
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } && {
35433 test -z "$ac_c_werror_flag" ||
35434 test ! -s conftest.err
35435 } && test -s conftest$ac_exeext &&
35436 $as_test_x conftest$ac_exeext; then
35437 ac_cv_lib_iodbc_SQLAllocEnv=yes
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35442 ac_cv_lib_iodbc_SQLAllocEnv=no
35445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35446 conftest$ac_exeext conftest.$ac_ext
35447 LIBS=$ac_check_lib_save_LIBS
35449 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35450 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35451 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35452 ODBC_LINK=" -liodbc"
35455 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35456 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35457 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35460 ac_check_lib_save_LIBS=$LIBS
35461 LIBS="-lunixodbc $LIBS"
35462 cat >conftest.$ac_ext <<_ACEOF
35465 cat confdefs.h >>conftest.$ac_ext
35466 cat >>conftest.$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35469 /* Override any GCC internal prototype to avoid an error.
35470 Use char because int might match the return type of a GCC
35471 builtin and then its argument prototype would still apply. */
35475 char SQLAllocEnv ();
35479 return SQLAllocEnv ();
35484 rm -f conftest.$ac_objext conftest$ac_exeext
35485 if { (ac_try="$ac_link"
35486 case "(($ac_try" in
35487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35488 *) ac_try_echo
=$ac_try;;
35490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35491 (eval "$ac_link") 2>conftest.er1
35493 grep -v '^ *+' conftest.er1
>conftest.err
35495 cat conftest.err
>&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } && {
35498 test -z "$ac_c_werror_flag" ||
35499 test ! -s conftest.err
35500 } && test -s conftest
$ac_exeext &&
35501 $as_test_x conftest
$ac_exeext; then
35502 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.
$ac_ext >&5
35507 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35511 conftest
$ac_exeext conftest.
$ac_ext
35512 LIBS
=$ac_check_lib_save_LIBS
35514 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35515 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35516 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35517 ODBC_LINK
=" -lunixodbc"
35520 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35521 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35522 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35523 echo $ECHO_N "(cached) $ECHO_C" >&6
35525 ac_check_lib_save_LIBS
=$LIBS
35526 LIBS
="-lodbc $LIBS"
35527 cat >conftest.
$ac_ext <<_ACEOF
35530 cat confdefs.h
>>conftest.
$ac_ext
35531 cat >>conftest.
$ac_ext <<_ACEOF
35532 /* end confdefs.h. */
35534 /* Override any GCC internal prototype to avoid an error.
35535 Use char because int might match the return type of a GCC
35536 builtin and then its argument prototype would still apply. */
35540 char SQLAllocEnv ();
35544 return SQLAllocEnv ();
35549 rm -f conftest.
$ac_objext conftest
$ac_exeext
35550 if { (ac_try
="$ac_link"
35551 case "(($ac_try" in
35552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_link") 2>conftest.er1
35558 grep -v '^ *+' conftest.er1 >conftest.err
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_c_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest$ac_exeext &&
35566 $as_test_x conftest$ac_exeext; then
35567 ac_cv_lib_odbc_SQLAllocEnv=yes
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.$ac_ext >&5
35572 ac_cv_lib_odbc_SQLAllocEnv=no
35575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35576 conftest$ac_exeext conftest.$ac_ext
35577 LIBS=$ac_check_lib_save_LIBS
35579 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35580 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35581 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35582 ODBC_LINK=" -lodbc"
35592 if test "x$ODBC_LINK" = "x" ; then
35593 if test "$wxUSE_ODBC" = "sys" ; then
35594 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35595 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35596 { (exit 1); exit 1; }; }
35598 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35599 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35607 if test "$wxUSE_ODBC" = "builtin" ; then
35608 cat >>confdefs.h <<\_ACEOF
35609 #define wxUSE_BUILTIN_IODBC 1
35615 if test "$wxUSE_ODBC" != "no" ; then
35616 cat >>confdefs.h <<\_ACEOF
35617 #define wxUSE_ODBC 1
35620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35622 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35626 if test "$wxUSE_DISPLAY" = "yes"; then
35627 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35628 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35629 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35632 for ac_dir in $SEARCH_LIB;
35634 for ac_extension in a so sl dylib dll.a; do
35635 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35636 ac_find_libraries=$ac_dir
35642 if test "$ac_find_libraries" != "" ; then
35644 if test "$ac_find_libraries" = "default location"; then
35647 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35649 if test $result = 0; then
35652 ac_path_to_link=" -L$ac_find_libraries"
35656 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35657 LDFLAGS="$LDFLAGS $ac_path_to_link"
35659 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35660 { echo "$as_me:$LINENO: result: yes" >&5
35661 echo "${ECHO_T}yes" >&6; }
35663 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35664 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35667 for ac_dir in $SEARCH_LIB;
35669 for ac_extension in a so sl dylib dll.a; do
35670 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35671 ac_find_libraries=$ac_dir
35677 if test "$ac_find_libraries" != "" ; then
35678 { echo "$as_me:$LINENO: result: yes" >&5
35679 echo "${ECHO_T}yes" >&6; }
35681 for ac_header in X11/extensions/xf86vmode.h
35683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35687 echo $ECHO_N "(cached) $ECHO_C" >&6
35689 cat >conftest.$ac_ext <<_ACEOF
35692 cat confdefs.h >>conftest.$ac_ext
35693 cat >>conftest.$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35696 #if HAVE_X11_XLIB_H
35697 #include <X11/Xlib.h>
35701 #include <$ac_header>
35703 rm -f conftest.$ac_objext
35704 if { (ac_try="$ac_compile"
35705 case "(($ac_try" in
35706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35707 *) ac_try_echo
=$ac_try;;
35709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35710 (eval "$ac_compile") 2>conftest.er1
35712 grep -v '^ *+' conftest.er1
>conftest.err
35714 cat conftest.err
>&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); } && {
35717 test -z "$ac_c_werror_flag" ||
35718 test ! -s conftest.err
35719 } && test -s conftest.
$ac_objext; then
35720 eval "$as_ac_Header=yes"
35722 echo "$as_me: failed program was:" >&5
35723 sed 's/^/| /' conftest.
$ac_ext >&5
35725 eval "$as_ac_Header=no"
35728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35730 ac_res
=`eval echo '${'$as_ac_Header'}'`
35731 { echo "$as_me:$LINENO: result: $ac_res" >&5
35732 echo "${ECHO_T}$ac_res" >&6; }
35733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35734 cat >>confdefs.h
<<_ACEOF
35735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35738 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35745 { echo "$as_me:$LINENO: result: no" >&5
35746 echo "${ECHO_T}no" >&6; }
35750 { echo "$as_me:$LINENO: result: no" >&5
35751 echo "${ECHO_T}no" >&6; }
35752 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35753 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35756 elif test "$wxUSE_MSW" = 1; then
35757 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35758 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35759 if test "${ac_cv_header_ddraw_h+set}" = set; then
35760 echo $ECHO_N "(cached) $ECHO_C" >&6
35762 cat >conftest.
$ac_ext <<_ACEOF
35765 cat confdefs.h
>>conftest.
$ac_ext
35766 cat >>conftest.
$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35768 #include <windows.h>
35772 rm -f conftest.
$ac_objext
35773 if { (ac_try
="$ac_compile"
35774 case "(($ac_try" in
35775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35776 *) ac_try_echo=$ac_try;;
35778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35779 (eval "$ac_compile") 2>conftest.er1
35781 grep -v '^ *+' conftest.er1 >conftest.err
35783 cat conftest.err >&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); } && {
35786 test -z "$ac_c_werror_flag" ||
35787 test ! -s conftest.err
35788 } && test -s conftest.$ac_objext; then
35789 ac_cv_header_ddraw_h=yes
35791 echo "$as_me: failed program was:" >&5
35792 sed 's/^/| /' conftest.$ac_ext >&5
35794 ac_cv_header_ddraw_h=no
35797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35799 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35800 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35806 if test "$wxUSE_DETECT_SM" = "yes"; then
35807 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35808 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35809 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35812 for ac_dir in $SEARCH_LIB;
35814 for ac_extension in a so sl dylib dll.a; do
35815 if test -f "$ac_dir/libSM.$ac_extension"; then
35816 ac_find_libraries=$ac_dir
35822 if test "$ac_find_libraries" != "" ; then
35824 if test "$ac_find_libraries" = "default location"; then
35827 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35829 if test $result = 0; then
35832 ac_path_to_link=" -L$ac_find_libraries"
35836 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35837 LDFLAGS="$LDFLAGS $ac_path_to_link"
35839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35840 { echo "$as_me:$LINENO: result: yes" >&5
35841 echo "${ECHO_T}yes" >&6; }
35843 { echo "$as_me:$LINENO: result: no" >&5
35844 echo "${ECHO_T}no" >&6; }
35845 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35846 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35847 wxUSE_DETECT_SM="no"
35850 wxUSE_DETECT_SM="no"
35857 if test "$wxUSE_OPENGL" = "yes"; then
35858 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35859 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35860 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35862 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35863 OPENGL_LIBS="-framework OpenGL -framework AGL"
35864 elif test "$wxUSE_MSW" = 1; then
35865 OPENGL_LIBS="-lopengl32 -lglu32"
35867 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35868 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35871 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35873 if test -f "$ac_dir/GL/gl.h"; then
35874 ac_find_includes=$ac_dir
35879 if test "$ac_find_includes" != "" ; then
35880 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35881 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35883 if test "x$ac_find_includes" = "x/usr/include"; then
35884 ac_path_to_include=""
35886 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35888 if test $result = 0; then
35889 ac_path_to_include=""
35891 ac_path_to_include=" -I$ac_find_includes"
35895 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35897 { echo "$as_me:$LINENO: result: not found" >&5
35898 echo "${ECHO_T}not found" >&6; }
35901 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35902 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35903 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35904 echo $ECHO_N "(cached) $ECHO_C" >&6
35906 cat >conftest.$ac_ext <<_ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35916 rm -f conftest.$ac_objext
35917 if { (ac_try="$ac_compile"
35918 case "(($ac_try" in
35919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35920 *) ac_try_echo
=$ac_try;;
35922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35923 (eval "$ac_compile") 2>conftest.er1
35925 grep -v '^ *+' conftest.er1
>conftest.err
35927 cat conftest.err
>&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } && {
35930 test -z "$ac_c_werror_flag" ||
35931 test ! -s conftest.err
35932 } && test -s conftest.
$ac_objext; then
35933 ac_cv_header_GL_gl_h
=yes
35935 echo "$as_me: failed program was:" >&5
35936 sed 's/^/| /' conftest.
$ac_ext >&5
35938 ac_cv_header_GL_gl_h
=no
35941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35943 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35944 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35945 if test $ac_cv_header_GL_gl_h = yes; then
35947 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35948 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35949 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35950 echo $ECHO_N "(cached) $ECHO_C" >&6
35952 cat >conftest.
$ac_ext <<_ACEOF
35955 cat confdefs.h
>>conftest.
$ac_ext
35956 cat >>conftest.
$ac_ext <<_ACEOF
35957 /* end confdefs.h. */
35960 #include <GL/glu.h>
35962 rm -f conftest.
$ac_objext
35963 if { (ac_try
="$ac_compile"
35964 case "(($ac_try" in
35965 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35966 *) ac_try_echo=$ac_try;;
35968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35969 (eval "$ac_compile") 2>conftest.er1
35971 grep -v '^ *+' conftest.er1 >conftest.err
35973 cat conftest.err >&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); } && {
35976 test -z "$ac_c_werror_flag" ||
35977 test ! -s conftest.err
35978 } && test -s conftest.$ac_objext; then
35979 ac_cv_header_GL_glu_h=yes
35981 echo "$as_me: failed program was:" >&5
35982 sed 's/^/| /' conftest.$ac_ext >&5
35984 ac_cv_header_GL_glu_h=no
35987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35989 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35990 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35991 if test $ac_cv_header_GL_glu_h = yes; then
35995 { echo "$as_me:$LINENO: checking for -lGL" >&5
35996 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35999 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36001 for ac_extension in a so sl dylib dll.a; do
36002 if test -f "$ac_dir/libGL.$ac_extension"; then
36003 ac_find_libraries=$ac_dir
36009 if test "$ac_find_libraries" != "" ; then
36010 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36011 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36014 if test "$ac_find_libraries" = "default location"; then
36017 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36019 if test $result = 0; then
36022 ac_path_to_link=" -L$ac_find_libraries"
36026 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36027 LDFLAGS_GL="$ac_path_to_link"
36030 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36031 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36034 for ac_dir in $SEARCH_LIB;
36036 for ac_extension in a so sl dylib dll.a; do
36037 if test -f "$ac_dir/libGLU.$ac_extension"; then
36038 ac_find_libraries=$ac_dir
36044 if test "$ac_find_libraries" != "" ; then
36046 if test "$ac_find_libraries" = "default location"; then
36049 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36051 if test $result = 0; then
36054 ac_path_to_link=" -L$ac_find_libraries"
36058 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36059 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36060 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36064 OPENGL_LIBS="-lGL -lGLU"
36065 { echo "$as_me:$LINENO: result: yes" >&5
36066 echo "${ECHO_T}yes" >&6; }
36068 { echo "$as_me:$LINENO: result: no" >&5
36069 echo "${ECHO_T}no" >&6; }
36072 { echo "$as_me:$LINENO: result: no" >&5
36073 echo "${ECHO_T}no" >&6; }
36076 if test "$found_gl" != 1; then
36077 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36078 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36081 for ac_dir in $SEARCH_LIB;
36083 for ac_extension in a so sl dylib dll.a; do
36084 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36085 ac_find_libraries=$ac_dir
36091 if test "$ac_find_libraries" != "" ; then
36093 if test "$ac_find_libraries" = "default location"; then
36096 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36098 if test $result = 0; then
36101 ac_path_to_link=" -L$ac_find_libraries"
36105 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36106 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36107 { echo "$as_me:$LINENO: result: yes" >&5
36108 echo "${ECHO_T}yes" >&6; }
36110 { echo "$as_me:$LINENO: result: no" >&5
36111 echo "${ECHO_T}no" >&6; }
36123 if test "x$OPENGL_LIBS" = "x"; then
36124 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36125 echo "$as_me: error: OpenGL libraries not available" >&2;}
36126 { (exit 1); exit 1; }; }
36130 if test "$wxUSE_OPENGL" = "yes"; then
36132 cat >>confdefs.h <<\_ACEOF
36133 #define wxUSE_OPENGL 1
36136 cat >>confdefs.h <<\_ACEOF
36137 #define wxUSE_GLCANVAS 1
36140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36145 if test -n "$TOOLKIT" ; then
36146 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36151 if test "$wxUSE_SHARED" = "yes"; then
36155 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36156 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36161 if test "$wxUSE_SHARED" = "yes"; then
36165 *-*-cygwin* | *-*-mingw* )
36166 wx_cv_version_script=no
36170 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36171 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36172 if test "${wx_cv_version_script+set}" = set; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36176 echo "VER_1 { *; };" >conftest.sym
36177 echo "int main() { return 0; }" >conftest.cpp
36180 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36181 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36183 (eval $ac_try) 2>&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); }; } ; then
36187 if test -s conftest.stderr ; then
36188 wx_cv_version_script=no
36190 wx_cv_version_script=yes
36193 wx_cv_version_script=no
36196 if test $wx_cv_version_script = yes
36198 echo "struct B { virtual ~B() { } }; \
36199 struct D : public B { }; \
36200 void F() { D d; }" > conftest.cpp
36203 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36204 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36206 (eval $ac_try) 2>&5
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); }; } &&
36211 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36212 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 (eval $ac_try) 2>&5
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); }; }
36220 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36221 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36223 (eval $ac_try) 2>&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); }; }
36228 wx_cv_version_script=yes
36230 wx_cv_version_script=no
36235 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36236 rm -f conftest1.output conftest2.output conftest3.output
36239 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36240 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36242 if test $wx_cv_version_script = yes ; then
36243 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36249 if test "$wxUSE_VISIBILITY" != "no"; then
36252 if test -n "$GCC"; then
36253 CFLAGS_VISIBILITY="-fvisibility=hidden"
36254 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36255 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36256 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36257 if test "${wx_cv_cc_visibility+set}" = set; then
36258 echo $ECHO_N "(cached) $ECHO_C" >&6
36261 wx_save_CXXFLAGS="$CXXFLAGS"
36262 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36264 ac_cpp='$CXXCPP $CPPFLAGS'
36265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36269 cat >conftest.$ac_ext <<_ACEOF
36272 cat confdefs.h >>conftest.$ac_ext
36273 cat >>conftest.$ac_ext <<_ACEOF
36274 /* end confdefs.h. */
36276 /* we need gcc >= 4.0, older versions with visibility support
36277 didn't have class visibility: */
36278 #if defined(__GNUC__) && __GNUC__ < 4
36279 error this gcc is too old;
36282 /* visibility only makes sense for ELF shared libs: */
36283 #if !defined(__ELF__) && !defined(__APPLE__)
36284 error this platform has no visibility;
36287 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36288 extern __attribute__((__visibility__("default"))) int exportedvar;
36289 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36290 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36291 class __attribute__((__visibility__("default"))) Foo {
36303 rm -f conftest.$ac_objext
36304 if { (ac_try="$ac_compile"
36305 case "(($ac_try" in
36306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36307 *) ac_try_echo
=$ac_try;;
36309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36310 (eval "$ac_compile") 2>conftest.er1
36312 grep -v '^ *+' conftest.er1
>conftest.err
36314 cat conftest.err
>&5
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); } && {
36317 test -z "$ac_cxx_werror_flag" ||
36318 test ! -s conftest.err
36319 } && test -s conftest.
$ac_objext; then
36320 wx_cv_cc_visibility
=yes
36322 echo "$as_me: failed program was:" >&5
36323 sed 's/^/| /' conftest.
$ac_ext >&5
36325 wx_cv_cc_visibility
=no
36328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36330 ac_cpp
='$CPP $CPPFLAGS'
36331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36335 CXXFLAGS
="$wx_save_CXXFLAGS"
36338 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36339 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36340 if test $wx_cv_cc_visibility = yes; then
36341 cat >>confdefs.h
<<\_ACEOF
36342 #define HAVE_VISIBILITY 1
36346 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36347 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36348 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 wx_save_CXXFLAGS
="$CXXFLAGS"
36353 wx_save_LDFLAGS
="$LDFLAGS"
36354 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36355 LDFLAGS
="$LDFLAGS -shared -fPIC"
36357 ac_cpp
='$CXXCPP $CPPFLAGS'
36358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36362 cat >conftest.
$ac_ext <<_ACEOF
36365 cat confdefs.h
>>conftest.
$ac_ext
36366 cat >>conftest.
$ac_ext <<_ACEOF
36367 /* end confdefs.h. */
36375 std::string s("hello");
36382 rm -f conftest.
$ac_objext conftest
$ac_exeext
36383 if { (ac_try
="$ac_link"
36384 case "(($ac_try" in
36385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36386 *) ac_try_echo=$ac_try;;
36388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36389 (eval "$ac_link") 2>conftest.er1
36391 grep -v '^ *+' conftest.er1 >conftest.err
36393 cat conftest.err >&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); } && {
36396 test -z "$ac_cxx_werror_flag" ||
36397 test ! -s conftest.err
36398 } && test -s conftest$ac_exeext &&
36399 $as_test_x conftest$ac_exeext; then
36400 wx_cv_cc_broken_libstdcxx_visibility=no
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.$ac_ext >&5
36405 wx_cv_cc_broken_libstdcxx_visibility=yes
36408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36409 conftest$ac_exeext conftest.$ac_ext
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36416 CXXFLAGS="$wx_save_CXXFLAGS"
36417 LDFLAGS="$wx_save_LDFLAGS"
36420 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36421 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36422 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36423 cat >>confdefs.h <<\_ACEOF
36424 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36430 CFLAGS_VISIBILITY=""
36431 CXXFLAGS_VISIBILITY=""
36439 if test "x$SUNCXX" = xyes; then
36440 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36441 WXCONFIG_RPATH="-R\$libdir"
36444 *-*-linux* | *-*-gnu* )
36445 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36446 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36451 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36453 saveLdflags="$LDFLAGS"
36454 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36455 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36456 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36457 cat >conftest.$ac_ext <<_ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36472 rm -f conftest.$ac_objext conftest$ac_exeext
36473 if { (ac_try="$ac_link"
36474 case "(($ac_try" in
36475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36476 *) ac_try_echo
=$ac_try;;
36478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36479 (eval "$ac_link") 2>conftest.er1
36481 grep -v '^ *+' conftest.er1
>conftest.err
36483 cat conftest.err
>&5
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); } && {
36486 test -z "$ac_c_werror_flag" ||
36487 test ! -s conftest.err
36488 } && test -s conftest
$ac_exeext &&
36489 $as_test_x conftest
$ac_exeext; then
36491 { echo "$as_me:$LINENO: result: yes" >&5
36492 echo "${ECHO_T}yes" >&6; }
36493 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36494 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.
$ac_ext >&5
36501 { echo "$as_me:$LINENO: result: no" >&5
36502 echo "${ECHO_T}no" >&6; }
36503 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36504 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36505 LDFLAGS
="$saveLdflags -Wl,-R,/"
36506 cat >conftest.
$ac_ext <<_ACEOF
36509 cat confdefs.h
>>conftest.
$ac_ext
36510 cat >>conftest.
$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36521 rm -f conftest.
$ac_objext conftest
$ac_exeext
36522 if { (ac_try
="$ac_link"
36523 case "(($ac_try" in
36524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36525 *) ac_try_echo=$ac_try;;
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_link") 2>conftest.er1
36530 grep -v '^ *+' conftest.er1 >conftest.err
36532 cat conftest.err >&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_c_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest$ac_exeext &&
36538 $as_test_x conftest$ac_exeext; then
36540 { echo "$as_me:$LINENO: result: yes" >&5
36541 echo "${ECHO_T}yes" >&6; }
36542 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36543 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36546 echo "$as_me: failed program was:" >&5
36547 sed 's/^/| /' conftest.$ac_ext >&5
36550 { echo "$as_me:$LINENO: result: no" >&5
36551 echo "${ECHO_T}no" >&6; }
36555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36556 conftest$ac_exeext conftest.$ac_ext
36560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36561 conftest$ac_exeext conftest.$ac_ext
36562 LDFLAGS="$saveLdflags"
36566 install_name_tool=`which install_name_tool
`
36567 if test "$install_name_tool" -a -x "$install_name_tool"; then
36568 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36569 cat <<EOF >change-install-names
36571 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
36572 inst_cmd="install_name_tool "
36573 for i in \${libnames} ; do
36574 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36578 chmod +x change-install-names
36582 *-*-cygwin* | *-*-mingw32* )
36583 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36587 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36588 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36594 if test $wxUSE_RPATH = "no"; then
36595 SAMPLES_RPATH_FLAG=''
36596 SAMPLES_RPATH_POSTLINK=''
36604 config_linkage_component="-static"
36611 lib_unicode_suffix=
36613 if test "$wxUSE_UNICODE" = "yes"; then
36614 lib_unicode_suffix=u
36615 WX_CHARTYPE="unicode"
36620 WX_DEBUGTYPE="release"
36622 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36624 WX_DEBUGTYPE="debug"
36628 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36629 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36632 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36636 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36638 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36640 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36642 if test "$cross_compiling" = "yes"; then
36643 HOST_SUFFIX="-$host_alias"
36644 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36645 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36648 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36649 if test "${TOOLKIT_DIR}" = "os2"; then
36650 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36652 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36657 if test "$wxUSE_COCOA" = 1; then
36660 ac_cpp='$CPP $CPPFLAGS'
36661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36667 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36668 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36669 cat >conftest.$ac_ext <<_ACEOF
36672 cat confdefs.h >>conftest.$ac_ext
36673 cat >>conftest.$ac_ext <<_ACEOF
36674 /* end confdefs.h. */
36675 #include <AppKit/NSEvent.h>
36676 #include <CoreFoundation/CoreFoundation.h>
36686 rm -f conftest.$ac_objext
36687 if { (ac_try="$ac_compile"
36688 case "(($ac_try" in
36689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36690 *) ac_try_echo
=$ac_try;;
36692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36693 (eval "$ac_compile") 2>conftest.er1
36695 grep -v '^ *+' conftest.er1
>conftest.err
36697 cat conftest.err
>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } && {
36700 test -z "$ac_c_werror_flag" ||
36701 test ! -s conftest.err
36702 } && test -s conftest.
$ac_objext; then
36703 { echo "$as_me:$LINENO: result: no" >&5
36704 echo "${ECHO_T}no" >&6; }
36706 echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.
$ac_ext >&5
36709 { echo "$as_me:$LINENO: result: yes" >&5
36710 echo "${ECHO_T}yes" >&6; }
36711 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36712 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36713 cat >conftest.
$ac_ext <<_ACEOF
36716 cat confdefs.h
>>conftest.
$ac_ext
36717 cat >>conftest.
$ac_ext <<_ACEOF
36718 /* end confdefs.h. */
36719 #define __Point__ 1
36720 #include <AppKit/NSEvent.h>
36721 #include <CoreFoundation/CoreFoundation.h>
36731 rm -f conftest.
$ac_objext
36732 if { (ac_try
="$ac_compile"
36733 case "(($ac_try" in
36734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_compile") 2>conftest.er1
36740 grep -v '^ *+' conftest.er1 >conftest.err
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_c_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest.$ac_objext; then
36748 { echo "$as_me:$LINENO: result: yes" >&5
36749 echo "${ECHO_T}yes" >&6; }
36750 cat >>confdefs.h <<\_ACEOF
36751 #define __Point__ 1
36756 echo "$as_me: failed program was:" >&5
36757 sed 's/^/| /' conftest.$ac_ext >&5
36759 { { echo "$as_me:$LINENO: error: no
36760 See \`config.log
' for more details." >&5
36761 echo "$as_me: error: no
36762 See \`config.log' for more details.
" >&2;}
36763 { (exit 1); exit 1; }; }
36767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36781 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36782 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36783 if test "${ac_cv_type_mode_t+set}" = set; then
36784 echo $ECHO_N "(cached
) $ECHO_C" >&6
36786 cat >conftest.$ac_ext <<_ACEOF
36789 cat confdefs.h >>conftest.$ac_ext
36790 cat >>conftest.$ac_ext <<_ACEOF
36791 /* end confdefs.h. */
36792 $ac_includes_default
36793 typedef mode_t ac__type_new_;
36797 if ((ac__type_new_ *) 0)
36799 if (sizeof (ac__type_new_))
36805 rm -f conftest.$ac_objext
36806 if { (ac_try="$ac_compile"
36807 case "(($ac_try" in
36808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36809 *) ac_try_echo=$ac_try;;
36811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36812 (eval "$ac_compile") 2>conftest.er1
36814 grep -v '^ *+' conftest.er1 >conftest.err
36816 cat conftest.err >&5
36817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36818 (exit $ac_status); } && {
36819 test -z "$ac_c_werror_flag" ||
36820 test ! -s conftest.err
36821 } && test -s conftest.$ac_objext; then
36822 ac_cv_type_mode_t=yes
36824 echo "$as_me: failed program was
:" >&5
36825 sed 's/^/| /' conftest.$ac_ext >&5
36827 ac_cv_type_mode_t=no
36830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36832 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36833 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36834 if test $ac_cv_type_mode_t = yes; then
36838 cat >>confdefs.h <<_ACEOF
36844 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36845 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36846 if test "${ac_cv_type_off_t+set}" = set; then
36847 echo $ECHO_N "(cached
) $ECHO_C" >&6
36849 cat >conftest.$ac_ext <<_ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855 $ac_includes_default
36856 typedef off_t ac__type_new_;
36860 if ((ac__type_new_ *) 0)
36862 if (sizeof (ac__type_new_))
36868 rm -f conftest.$ac_objext
36869 if { (ac_try="$ac_compile"
36870 case "(($ac_try" in
36871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36872 *) ac_try_echo=$ac_try;;
36874 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36875 (eval "$ac_compile") 2>conftest.er1
36877 grep -v '^ *+' conftest.er1 >conftest.err
36879 cat conftest.err >&5
36880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36881 (exit $ac_status); } && {
36882 test -z "$ac_c_werror_flag" ||
36883 test ! -s conftest.err
36884 } && test -s conftest.$ac_objext; then
36885 ac_cv_type_off_t=yes
36887 echo "$as_me: failed program was
:" >&5
36888 sed 's/^/| /' conftest.$ac_ext >&5
36890 ac_cv_type_off_t=no
36893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36895 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36896 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36897 if test $ac_cv_type_off_t = yes; then
36901 cat >>confdefs.h <<_ACEOF
36902 #define off_t long int
36907 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36908 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36909 if test "${ac_cv_type_pid_t+set}" = set; then
36910 echo $ECHO_N "(cached
) $ECHO_C" >&6
36912 cat >conftest.$ac_ext <<_ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 $ac_includes_default
36919 typedef pid_t ac__type_new_;
36923 if ((ac__type_new_ *) 0)
36925 if (sizeof (ac__type_new_))
36931 rm -f conftest.$ac_objext
36932 if { (ac_try="$ac_compile"
36933 case "(($ac_try" in
36934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36935 *) ac_try_echo=$ac_try;;
36937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36938 (eval "$ac_compile") 2>conftest.er1
36940 grep -v '^ *+' conftest.er1 >conftest.err
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36944 (exit $ac_status); } && {
36945 test -z "$ac_c_werror_flag" ||
36946 test ! -s conftest.err
36947 } && test -s conftest.$ac_objext; then
36948 ac_cv_type_pid_t=yes
36950 echo "$as_me: failed program was
:" >&5
36951 sed 's/^/| /' conftest.$ac_ext >&5
36953 ac_cv_type_pid_t=no
36956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36958 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
36959 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36960 if test $ac_cv_type_pid_t = yes; then
36964 cat >>confdefs.h <<_ACEOF
36970 { echo "$as_me:$LINENO: checking
for size_t
" >&5
36971 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
36972 if test "${ac_cv_type_size_t+set}" = set; then
36973 echo $ECHO_N "(cached
) $ECHO_C" >&6
36975 cat >conftest.$ac_ext <<_ACEOF
36978 cat confdefs.h >>conftest.$ac_ext
36979 cat >>conftest.$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36981 $ac_includes_default
36982 typedef size_t ac__type_new_;
36986 if ((ac__type_new_ *) 0)
36988 if (sizeof (ac__type_new_))
36994 rm -f conftest.$ac_objext
36995 if { (ac_try="$ac_compile"
36996 case "(($ac_try" in
36997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36998 *) ac_try_echo=$ac_try;;
37000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37001 (eval "$ac_compile") 2>conftest.er1
37003 grep -v '^ *+' conftest.er1 >conftest.err
37005 cat conftest.err >&5
37006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37007 (exit $ac_status); } && {
37008 test -z "$ac_c_werror_flag" ||
37009 test ! -s conftest.err
37010 } && test -s conftest.$ac_objext; then
37011 ac_cv_type_size_t=yes
37013 echo "$as_me: failed program was
:" >&5
37014 sed 's/^/| /' conftest.$ac_ext >&5
37016 ac_cv_type_size_t=no
37019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
37022 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37023 if test $ac_cv_type_size_t = yes; then
37027 cat >>confdefs.h <<_ACEOF
37028 #define size_t unsigned int
37033 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
37034 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
37035 if test "${ac_cv_type_uid_t+set}" = set; then
37036 echo $ECHO_N "(cached
) $ECHO_C" >&6
37038 cat >conftest.$ac_ext <<_ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 #include <sys/types.h>
37047 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
37048 $EGREP "uid_t
" >/dev/null 2>&1; then
37049 ac_cv_type_uid_t=yes
37051 ac_cv_type_uid_t=no
37056 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
37057 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37058 if test $ac_cv_type_uid_t = no; then
37060 cat >>confdefs.h <<\_ACEOF
37065 cat >>confdefs.h <<\_ACEOF
37072 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
37073 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
37074 if test "${ac_cv_type_ssize_t+set}" = set; then
37075 echo $ECHO_N "(cached
) $ECHO_C" >&6
37077 cat >conftest.$ac_ext <<_ACEOF
37080 cat confdefs.h >>conftest.$ac_ext
37081 cat >>conftest.$ac_ext <<_ACEOF
37082 /* end confdefs.h. */
37083 $ac_includes_default
37084 typedef ssize_t ac__type_new_;
37088 if ((ac__type_new_ *) 0)
37090 if (sizeof (ac__type_new_))
37096 rm -f conftest.$ac_objext
37097 if { (ac_try="$ac_compile"
37098 case "(($ac_try" in
37099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37100 *) ac_try_echo=$ac_try;;
37102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37103 (eval "$ac_compile") 2>conftest.er1
37105 grep -v '^ *+' conftest.er1 >conftest.err
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37109 (exit $ac_status); } && {
37110 test -z "$ac_c_werror_flag" ||
37111 test ! -s conftest.err
37112 } && test -s conftest.$ac_objext; then
37113 ac_cv_type_ssize_t=yes
37115 echo "$as_me: failed program was
:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37118 ac_cv_type_ssize_t=no
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37123 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
37124 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37125 if test $ac_cv_type_ssize_t = yes; then
37127 cat >>confdefs.h <<_ACEOF
37128 #define HAVE_SSIZE_T 1
37136 ac_cpp='$CXXCPP $CPPFLAGS'
37137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37140 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
37141 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
37142 if test "${wx_cv_size_t_is_uint+set}" = set; then
37143 echo $ECHO_N "(cached
) $ECHO_C" >&6
37146 cat >conftest.$ac_ext <<_ACEOF
37149 cat confdefs.h >>conftest.$ac_ext
37150 cat >>conftest.$ac_ext <<_ACEOF
37151 /* end confdefs.h. */
37152 #include <stddef.h>
37159 struct Foo { void foo(size_t); void foo(unsigned int); };
37167 rm -f conftest.$ac_objext
37168 if { (ac_try="$ac_compile"
37169 case "(($ac_try" in
37170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37171 *) ac_try_echo=$ac_try;;
37173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37174 (eval "$ac_compile") 2>conftest.er1
37176 grep -v '^ *+' conftest.er1 >conftest.err
37178 cat conftest.err >&5
37179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37180 (exit $ac_status); } && {
37181 test -z "$ac_cxx_werror_flag" ||
37182 test ! -s conftest.err
37183 } && test -s conftest.$ac_objext; then
37184 wx_cv_size_t_is_uint=no
37186 echo "$as_me: failed program was
:" >&5
37187 sed 's/^/| /' conftest.$ac_ext >&5
37189 wx_cv_size_t_is_uint=yes
37193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37197 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
37198 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37200 if test "$wx_cv_size_t_is_uint" = "yes"; then
37201 cat >>confdefs.h <<\_ACEOF
37202 #define wxSIZE_T_IS_UINT 1
37206 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
37207 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
37208 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37209 echo $ECHO_N "(cached
) $ECHO_C" >&6
37211 cat >conftest.$ac_ext <<_ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 #include <stddef.h>
37224 struct Foo { void foo(size_t); void foo(unsigned long); };
37232 rm -f conftest.$ac_objext
37233 if { (ac_try="$ac_compile"
37234 case "(($ac_try" in
37235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37236 *) ac_try_echo=$ac_try;;
37238 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37239 (eval "$ac_compile") 2>conftest.er1
37241 grep -v '^ *+' conftest.er1 >conftest.err
37243 cat conftest.err >&5
37244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37245 (exit $ac_status); } && {
37246 test -z "$ac_cxx_werror_flag" ||
37247 test ! -s conftest.err
37248 } && test -s conftest.$ac_objext; then
37249 wx_cv_size_t_is_ulong=no
37251 echo "$as_me: failed program was
:" >&5
37252 sed 's/^/| /' conftest.$ac_ext >&5
37254 wx_cv_size_t_is_ulong=yes
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37261 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
37262 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37264 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37265 cat >>confdefs.h <<\_ACEOF
37266 #define wxSIZE_T_IS_ULONG 1
37272 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
37273 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
37274 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37275 echo $ECHO_N "(cached
) $ECHO_C" >&6
37277 cat >conftest.$ac_ext <<_ACEOF
37280 cat confdefs.h >>conftest.$ac_ext
37281 cat >>conftest.$ac_ext <<_ACEOF
37282 /* end confdefs.h. */
37290 struct Foo { void foo(wchar_t);
37291 void foo(unsigned short);
37292 void foo(unsigned int);
37293 void foo(unsigned long); };
37301 rm -f conftest.$ac_objext
37302 if { (ac_try="$ac_compile"
37303 case "(($ac_try" in
37304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37305 *) ac_try_echo=$ac_try;;
37307 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37308 (eval "$ac_compile") 2>conftest.er1
37310 grep -v '^ *+' conftest.er1 >conftest.err
37312 cat conftest.err >&5
37313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37314 (exit $ac_status); } && {
37315 test -z "$ac_cxx_werror_flag" ||
37316 test ! -s conftest.err
37317 } && test -s conftest.$ac_objext; then
37318 wx_cv_wchar_t_is_separate_type=yes
37320 echo "$as_me: failed program was
:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37323 wx_cv_wchar_t_is_separate_type=no
37327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37330 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
37331 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37333 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37334 cat >>confdefs.h <<\_ACEOF
37335 #define wxWCHAR_T_IS_REAL_TYPE 1
37339 cat >>confdefs.h <<\_ACEOF
37340 #define wxWCHAR_T_IS_REAL_TYPE 0
37346 ac_cpp='$CPP $CPPFLAGS'
37347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37352 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
37353 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
37354 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37355 echo $ECHO_N "(cached
) $ECHO_C" >&6
37358 cat >conftest.$ac_ext <<_ACEOF
37361 cat confdefs.h >>conftest.$ac_ext
37362 cat >>conftest.$ac_ext <<_ACEOF
37363 /* end confdefs.h. */
37377 rm -f conftest.$ac_objext
37378 if { (ac_try="$ac_compile"
37379 case "(($ac_try" in
37380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37381 *) ac_try_echo=$ac_try;;
37383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37384 (eval "$ac_compile") 2>conftest.er1
37386 grep -v '^ *+' conftest.er1 >conftest.err
37388 cat conftest.err >&5
37389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37390 (exit $ac_status); } && {
37391 test -z "$ac_c_werror_flag" ||
37392 test ! -s conftest.err
37393 } && test -s conftest.$ac_objext; then
37395 wx_cv_struct_pw_gecos=yes
37398 echo "$as_me: failed program was
:" >&5
37399 sed 's/^/| /' conftest.$ac_ext >&5
37402 wx_cv_struct_pw_gecos=no
37407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37411 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
37412 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37414 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37415 cat >>confdefs.h <<\_ACEOF
37416 #define HAVE_PW_GECOS 1
37422 if test "$wxUSE_WCHAR_T" = "yes"; then
37423 cat >>confdefs.h <<\_ACEOF
37424 #define wxUSE_WCHAR_T 1
37431 for ac_func in wcslen
37433 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37434 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37435 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37436 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37437 echo $ECHO_N "(cached
) $ECHO_C" >&6
37439 cat >conftest.$ac_ext <<_ACEOF
37442 cat confdefs.h >>conftest.$ac_ext
37443 cat >>conftest.$ac_ext <<_ACEOF
37444 /* end confdefs.h. */
37445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37447 #define $ac_func innocuous_$ac_func
37449 /* System header to define __stub macros and hopefully few prototypes,
37450 which can conflict with char $ac_func (); below.
37451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37452 <limits.h> exists even on freestanding compilers. */
37455 # include <limits.h>
37457 # include <assert.h>
37462 /* Override any GCC internal prototype to avoid an error.
37463 Use char because int might match the return type of a GCC
37464 builtin and then its argument prototype would still apply. */
37469 /* The GNU C library defines this for functions which it implements
37470 to always fail with ENOSYS. Some functions are actually named
37471 something starting with __ and the normal name is an alias. */
37472 #if defined __stub_$ac_func || defined __stub___$ac_func
37479 return $ac_func ();
37484 rm -f conftest.$ac_objext conftest$ac_exeext
37485 if { (ac_try="$ac_link"
37486 case "(($ac_try" in
37487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37488 *) ac_try_echo=$ac_try;;
37490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37491 (eval "$ac_link") 2>conftest.er1
37493 grep -v '^ *+' conftest.er1 >conftest.err
37495 cat conftest.err >&5
37496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37497 (exit $ac_status); } && {
37498 test -z "$ac_c_werror_flag" ||
37499 test ! -s conftest.err
37500 } && test -s conftest$ac_exeext &&
37501 $as_test_x conftest$ac_exeext; then
37502 eval "$as_ac_var=yes"
37504 echo "$as_me: failed program was
:" >&5
37505 sed 's/^/| /' conftest.$ac_ext >&5
37507 eval "$as_ac_var=no
"
37510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37511 conftest$ac_exeext conftest.$ac_ext
37513 ac_res=`eval echo '${'$as_ac_var'}'`
37514 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37515 echo "${ECHO_T}$ac_res" >&6; }
37516 if test `eval echo '${'$as_ac_var'}'` = yes; then
37517 cat >>confdefs.h <<_ACEOF
37518 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37525 if test "$WCSLEN_FOUND" = 0; then
37526 if test "$TOOLKIT" = "MSW
"; then
37527 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37528 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37529 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37530 echo $ECHO_N "(cached
) $ECHO_C" >&6
37532 ac_check_lib_save_LIBS=$LIBS
37533 LIBS="-lmsvcrt $LIBS"
37534 cat >conftest.$ac_ext <<_ACEOF
37537 cat confdefs.h >>conftest.$ac_ext
37538 cat >>conftest.$ac_ext <<_ACEOF
37539 /* end confdefs.h. */
37541 /* Override any GCC internal prototype to avoid an error.
37542 Use char because int might match the return type of a GCC
37543 builtin and then its argument prototype would still apply. */
37556 rm -f conftest.$ac_objext conftest$ac_exeext
37557 if { (ac_try="$ac_link"
37558 case "(($ac_try" in
37559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37560 *) ac_try_echo=$ac_try;;
37562 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37563 (eval "$ac_link") 2>conftest.er1
37565 grep -v '^ *+' conftest.er1 >conftest.err
37567 cat conftest.err >&5
37568 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37569 (exit $ac_status); } && {
37570 test -z "$ac_c_werror_flag" ||
37571 test ! -s conftest.err
37572 } && test -s conftest$ac_exeext &&
37573 $as_test_x conftest$ac_exeext; then
37574 ac_cv_lib_msvcrt_wcslen=yes
37576 echo "$as_me: failed program was
:" >&5
37577 sed 's/^/| /' conftest.$ac_ext >&5
37579 ac_cv_lib_msvcrt_wcslen=no
37582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37583 conftest$ac_exeext conftest.$ac_ext
37584 LIBS=$ac_check_lib_save_LIBS
37586 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37587 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37588 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37593 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37594 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37595 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37596 echo $ECHO_N "(cached
) $ECHO_C" >&6
37598 ac_check_lib_save_LIBS=$LIBS
37600 cat >conftest.$ac_ext <<_ACEOF
37603 cat confdefs.h >>conftest.$ac_ext
37604 cat >>conftest.$ac_ext <<_ACEOF
37605 /* end confdefs.h. */
37607 /* Override any GCC internal prototype to avoid an error.
37608 Use char because int might match the return type of a GCC
37609 builtin and then its argument prototype would still apply. */
37622 rm -f conftest.$ac_objext conftest$ac_exeext
37623 if { (ac_try="$ac_link"
37624 case "(($ac_try" in
37625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37626 *) ac_try_echo=$ac_try;;
37628 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37629 (eval "$ac_link") 2>conftest.er1
37631 grep -v '^ *+' conftest.er1 >conftest.err
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37635 (exit $ac_status); } && {
37636 test -z "$ac_c_werror_flag" ||
37637 test ! -s conftest.err
37638 } && test -s conftest$ac_exeext &&
37639 $as_test_x conftest$ac_exeext; then
37640 ac_cv_lib_w_wcslen=yes
37642 echo "$as_me: failed program was
:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37645 ac_cv_lib_w_wcslen=no
37648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37649 conftest$ac_exeext conftest.$ac_ext
37650 LIBS=$ac_check_lib_save_LIBS
37652 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37653 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37654 if test $ac_cv_lib_w_wcslen = yes; then
37664 if test "$WCSLEN_FOUND" = 1; then
37665 cat >>confdefs.h <<\_ACEOF
37666 #define HAVE_WCSLEN 1
37672 for ac_func in wcsdup
37674 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37675 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37676 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37677 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37678 echo $ECHO_N "(cached
) $ECHO_C" >&6
37680 cat >conftest.$ac_ext <<_ACEOF
37683 cat confdefs.h >>conftest.$ac_ext
37684 cat >>conftest.$ac_ext <<_ACEOF
37685 /* end confdefs.h. */
37686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37688 #define $ac_func innocuous_$ac_func
37690 /* System header to define __stub macros and hopefully few prototypes,
37691 which can conflict with char $ac_func (); below.
37692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37693 <limits.h> exists even on freestanding compilers. */
37696 # include <limits.h>
37698 # include <assert.h>
37703 /* Override any GCC internal prototype to avoid an error.
37704 Use char because int might match the return type of a GCC
37705 builtin and then its argument prototype would still apply. */
37710 /* The GNU C library defines this for functions which it implements
37711 to always fail with ENOSYS. Some functions are actually named
37712 something starting with __ and the normal name is an alias. */
37713 #if defined __stub_$ac_func || defined __stub___$ac_func
37720 return $ac_func ();
37725 rm -f conftest.$ac_objext conftest$ac_exeext
37726 if { (ac_try="$ac_link"
37727 case "(($ac_try" in
37728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37729 *) ac_try_echo=$ac_try;;
37731 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37732 (eval "$ac_link") 2>conftest.er1
37734 grep -v '^ *+' conftest.er1 >conftest.err
37736 cat conftest.err >&5
37737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37738 (exit $ac_status); } && {
37739 test -z "$ac_c_werror_flag" ||
37740 test ! -s conftest.err
37741 } && test -s conftest$ac_exeext &&
37742 $as_test_x conftest$ac_exeext; then
37743 eval "$as_ac_var=yes"
37745 echo "$as_me: failed program was
:" >&5
37746 sed 's/^/| /' conftest.$ac_ext >&5
37748 eval "$as_ac_var=no
"
37751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37752 conftest$ac_exeext conftest.$ac_ext
37754 ac_res=`eval echo '${'$as_ac_var'}'`
37755 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37756 echo "${ECHO_T}$ac_res" >&6; }
37757 if test `eval echo '${'$as_ac_var'}'` = yes; then
37758 cat >>confdefs.h <<_ACEOF
37759 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37766 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37767 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37770 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37771 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37772 if test "${ac_cv_type_mbstate_t+set}" = set; then
37773 echo $ECHO_N "(cached
) $ECHO_C" >&6
37775 cat >conftest.$ac_ext <<_ACEOF
37778 cat confdefs.h >>conftest.$ac_ext
37779 cat >>conftest.$ac_ext <<_ACEOF
37780 /* end confdefs.h. */
37783 typedef mbstate_t ac__type_new_;
37787 if ((ac__type_new_ *) 0)
37789 if (sizeof (ac__type_new_))
37795 rm -f conftest.$ac_objext
37796 if { (ac_try="$ac_compile"
37797 case "(($ac_try" in
37798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37799 *) ac_try_echo=$ac_try;;
37801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37802 (eval "$ac_compile") 2>conftest.er1
37804 grep -v '^ *+' conftest.er1 >conftest.err
37806 cat conftest.err >&5
37807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37808 (exit $ac_status); } && {
37809 test -z "$ac_c_werror_flag" ||
37810 test ! -s conftest.err
37811 } && test -s conftest.$ac_objext; then
37812 ac_cv_type_mbstate_t=yes
37814 echo "$as_me: failed program was
:" >&5
37815 sed 's/^/| /' conftest.$ac_ext >&5
37817 ac_cv_type_mbstate_t=no
37820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37822 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37823 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37824 if test $ac_cv_type_mbstate_t = yes; then
37826 cat >>confdefs.h <<_ACEOF
37827 #define HAVE_MBSTATE_T 1
37831 for ac_func in wcsrtombs
37833 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37834 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37835 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37836 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37837 echo $ECHO_N "(cached
) $ECHO_C" >&6
37839 cat >conftest.$ac_ext <<_ACEOF
37842 cat confdefs.h >>conftest.$ac_ext
37843 cat >>conftest.$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37847 #define $ac_func innocuous_$ac_func
37849 /* System header to define __stub macros and hopefully few prototypes,
37850 which can conflict with char $ac_func (); below.
37851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37852 <limits.h> exists even on freestanding compilers. */
37855 # include <limits.h>
37857 # include <assert.h>
37862 /* Override any GCC internal prototype to avoid an error.
37863 Use char because int might match the return type of a GCC
37864 builtin and then its argument prototype would still apply. */
37869 /* The GNU C library defines this for functions which it implements
37870 to always fail with ENOSYS. Some functions are actually named
37871 something starting with __ and the normal name is an alias. */
37872 #if defined __stub_$ac_func || defined __stub___$ac_func
37879 return $ac_func ();
37884 rm -f conftest.$ac_objext conftest$ac_exeext
37885 if { (ac_try="$ac_link"
37886 case "(($ac_try" in
37887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37888 *) ac_try_echo=$ac_try;;
37890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37891 (eval "$ac_link") 2>conftest.er1
37893 grep -v '^ *+' conftest.er1 >conftest.err
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37897 (exit $ac_status); } && {
37898 test -z "$ac_c_werror_flag" ||
37899 test ! -s conftest.err
37900 } && test -s conftest$ac_exeext &&
37901 $as_test_x conftest$ac_exeext; then
37902 eval "$as_ac_var=yes"
37904 echo "$as_me: failed program was
:" >&5
37905 sed 's/^/| /' conftest.$ac_ext >&5
37907 eval "$as_ac_var=no
"
37910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37911 conftest$ac_exeext conftest.$ac_ext
37913 ac_res=`eval echo '${'$as_ac_var'}'`
37914 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37915 echo "${ECHO_T}$ac_res" >&6; }
37916 if test `eval echo '${'$as_ac_var'}'` = yes; then
37917 cat >>confdefs.h <<_ACEOF
37918 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37927 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37928 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37933 for ac_func in snprintf vsnprintf
37935 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37936 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37937 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37938 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37939 echo $ECHO_N "(cached
) $ECHO_C" >&6
37941 cat >conftest.$ac_ext <<_ACEOF
37944 cat confdefs.h >>conftest.$ac_ext
37945 cat >>conftest.$ac_ext <<_ACEOF
37946 /* end confdefs.h. */
37947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37949 #define $ac_func innocuous_$ac_func
37951 /* System header to define __stub macros and hopefully few prototypes,
37952 which can conflict with char $ac_func (); below.
37953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37954 <limits.h> exists even on freestanding compilers. */
37957 # include <limits.h>
37959 # include <assert.h>
37964 /* Override any GCC internal prototype to avoid an error.
37965 Use char because int might match the return type of a GCC
37966 builtin and then its argument prototype would still apply. */
37971 /* The GNU C library defines this for functions which it implements
37972 to always fail with ENOSYS. Some functions are actually named
37973 something starting with __ and the normal name is an alias. */
37974 #if defined __stub_$ac_func || defined __stub___$ac_func
37981 return $ac_func ();
37986 rm -f conftest.$ac_objext conftest$ac_exeext
37987 if { (ac_try="$ac_link"
37988 case "(($ac_try" in
37989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37990 *) ac_try_echo=$ac_try;;
37992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37993 (eval "$ac_link") 2>conftest.er1
37995 grep -v '^ *+' conftest.er1 >conftest.err
37997 cat conftest.err >&5
37998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37999 (exit $ac_status); } && {
38000 test -z "$ac_c_werror_flag" ||
38001 test ! -s conftest.err
38002 } && test -s conftest$ac_exeext &&
38003 $as_test_x conftest$ac_exeext; then
38004 eval "$as_ac_var=yes"
38006 echo "$as_me: failed program was
:" >&5
38007 sed 's/^/| /' conftest.$ac_ext >&5
38009 eval "$as_ac_var=no
"
38012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38013 conftest$ac_exeext conftest.$ac_ext
38015 ac_res=`eval echo '${'$as_ac_var'}'`
38016 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38017 echo "${ECHO_T}$ac_res" >&6; }
38018 if test `eval echo '${'$as_ac_var'}'` = yes; then
38019 cat >>confdefs.h <<_ACEOF
38020 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38027 if test "$ac_cv_func_vsnprintf" = "yes"; then
38028 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
38029 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
38030 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38031 echo $ECHO_N "(cached
) $ECHO_C" >&6
38034 cat >conftest.$ac_ext <<_ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38042 #include <stdarg.h>
38044 #if __MSL__ >= 0x6000
38046 using namespace std;
38056 vsnprintf(buf, 10u, "%s
", ap);
38062 rm -f conftest.$ac_objext
38063 if { (ac_try="$ac_compile"
38064 case "(($ac_try" in
38065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38068 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_compile") 2>conftest.er1
38071 grep -v '^ *+' conftest.er1 >conftest.err
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest.$ac_objext; then
38079 wx_cv_func_vsnprintf_decl=yes
38081 echo "$as_me: failed program was
:" >&5
38082 sed 's/^/| /' conftest.$ac_ext >&5
38084 wx_cv_func_vsnprintf_decl=no
38088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38092 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
38093 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38095 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_VSNPRINTF_DECL 1
38101 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
38102 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
38103 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38104 echo $ECHO_N "(cached
) $ECHO_C" >&6
38107 cat >conftest.$ac_ext <<_ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38115 #include <stdarg.h>
38117 #if __MSL__ >= 0x6000
38119 using namespace std;
38129 const char *fmt = "%s
";
38130 vsnprintf(buf, 10u, fmt, ap);
38136 rm -f conftest.$ac_objext
38137 if { (ac_try="$ac_compile"
38138 case "(($ac_try" in
38139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38140 *) ac_try_echo=$ac_try;;
38142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38143 (eval "$ac_compile") 2>conftest.er1
38145 grep -v '^ *+' conftest.er1 >conftest.err
38147 cat conftest.err >&5
38148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38149 (exit $ac_status); } && {
38150 test -z "$ac_c_werror_flag" ||
38151 test ! -s conftest.err
38152 } && test -s conftest.$ac_objext; then
38153 wx_cv_func_broken_vsnprintf_decl=no
38155 echo "$as_me: failed program was
:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38158 wx_cv_func_broken_vsnprintf_decl=yes
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38166 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
38167 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38169 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38170 cat >>confdefs.h <<\_ACEOF
38171 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38178 if test "$ac_cv_func_snprintf" = "yes"; then
38179 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
38180 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
38181 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38182 echo $ECHO_N "(cached
) $ECHO_C" >&6
38185 cat >conftest.$ac_ext <<_ACEOF
38188 cat confdefs.h >>conftest.$ac_ext
38189 cat >>conftest.$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38193 #include <stdarg.h>
38195 #if __MSL__ >= 0x6000
38197 using namespace std;
38206 snprintf(buf, 10u, "%s
", "wx
");
38212 rm -f conftest.$ac_objext
38213 if { (ac_try="$ac_compile"
38214 case "(($ac_try" in
38215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38216 *) ac_try_echo=$ac_try;;
38218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38219 (eval "$ac_compile") 2>conftest.er1
38221 grep -v '^ *+' conftest.er1 >conftest.err
38223 cat conftest.err >&5
38224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38225 (exit $ac_status); } && {
38226 test -z "$ac_c_werror_flag" ||
38227 test ! -s conftest.err
38228 } && test -s conftest.$ac_objext; then
38229 wx_cv_func_snprintf_decl=yes
38231 echo "$as_me: failed program was
:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38234 wx_cv_func_snprintf_decl=no
38238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38242 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
38243 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38245 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38246 cat >>confdefs.h <<\_ACEOF
38247 #define HAVE_SNPRINTF_DECL 1
38252 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38254 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
38255 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
38256 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38257 echo $ECHO_N "(cached
) $ECHO_C" >&6
38260 if test "$cross_compiling" = yes; then
38262 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
38263 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
38264 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
38265 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
38266 wx_cv_func_snprintf_pos_params=no
38270 cat >conftest.$ac_ext <<_ACEOF
38273 cat confdefs.h >>conftest.$ac_ext
38274 cat >>conftest.$ac_ext <<_ACEOF
38275 /* end confdefs.h. */
38282 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38283 if (strcmp ("2 3 1", buffer) == 0)
38289 rm -f conftest$ac_exeext
38290 if { (ac_try="$ac_link"
38291 case "(($ac_try" in
38292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38293 *) ac_try_echo=$ac_try;;
38295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38296 (eval "$ac_link") 2>&5
38298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38300 { (case "(($ac_try" in
38301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38302 *) ac_try_echo=$ac_try;;
38304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38305 (eval "$ac_try") 2>&5
38307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38308 (exit $ac_status); }; }; then
38309 wx_cv_func_snprintf_pos_params=no
38311 echo "$as_me: program exited with status
$ac_status" >&5
38312 echo "$as_me: failed program was
:" >&5
38313 sed 's/^/| /' conftest.$ac_ext >&5
38315 ( exit $ac_status )
38316 wx_cv_func_snprintf_pos_params=yes
38318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38325 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
38326 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38328 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38329 cat >>confdefs.h <<\_ACEOF
38330 #define HAVE_UNIX98_PRINTF 1
38337 if test "$wxUSE_UNICODE" = yes; then
38339 wchar_headers="#include <stdio.h>
38340 #include <wchar.h>"
38344 for ac_header
in widec.h
38346 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38347 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38349 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38352 cat >conftest.
$ac_ext <<_ACEOF
38355 cat confdefs.h
>>conftest.
$ac_ext
38356 cat >>conftest.
$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358 $ac_includes_default
38360 #include <$ac_header>
38362 rm -f conftest.
$ac_objext
38363 if { (ac_try
="$ac_compile"
38364 case "(($ac_try" in
38365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38366 *) ac_try_echo=$ac_try;;
38368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38369 (eval "$ac_compile") 2>conftest.er1
38371 grep -v '^ *+' conftest.er1 >conftest.err
38373 cat conftest.err >&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); } && {
38376 test -z "$ac_c_werror_flag" ||
38377 test ! -s conftest.err
38378 } && test -s conftest.$ac_objext; then
38379 eval "$as_ac_Header=yes"
38381 echo "$as_me: failed program was:" >&5
38382 sed 's/^/| /' conftest.$ac_ext >&5
38384 eval "$as_ac_Header=no"
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38389 ac_res=`eval echo '${'$as_ac_Header'}'`
38390 { echo "$as_me:$LINENO: result: $ac_res" >&5
38391 echo "${ECHO_T}$ac_res" >&6; }
38392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38393 cat >>confdefs.h <<_ACEOF
38394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38401 if test "$ac_cv_header_widec_h" = "yes"; then
38402 wchar_headers="$wchar_headers
38403 #include <widec.h>"
38408 for wx_func in putws fputws wprintf vswprintf
38410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38412 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38416 cat >conftest.$ac_ext <<_ACEOF
38420 cat confdefs.h >>conftest.$ac_ext
38421 cat >>conftest.$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38425 $ac_includes_default
38441 rm -f conftest.$ac_objext conftest$ac_exeext
38442 if { (ac_try="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38445 *) ac_try_echo
=$ac_try;;
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38450 grep -v '^ *+' conftest.er1
>conftest.err
38452 cat conftest.err
>&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_c_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest
$ac_exeext &&
38458 $as_test_x conftest
$ac_exeext; then
38459 eval wx_cv_func_
$wx_func=yes
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.
$ac_ext >&5
38464 eval wx_cv_func_
$wx_func=no
38467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38468 conftest
$ac_exeext conftest.
$ac_ext
38471 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38475 if eval test \
$wx_cv_func_$wx_func = yes
38477 cat >>confdefs.h
<<_ACEOF
38478 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38489 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38490 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38491 cat >conftest.
$ac_ext <<_ACEOF
38494 cat confdefs.h
>>conftest.
$ac_ext
38495 cat >>conftest.
$ac_ext <<_ACEOF
38496 /* end confdefs.h. */
38506 rm -f conftest.
$ac_objext
38507 if { (ac_try
="$ac_compile"
38508 case "(($ac_try" in
38509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38510 *) ac_try_echo=$ac_try;;
38512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38513 (eval "$ac_compile") 2>conftest.er1
38515 grep -v '^ *+' conftest.er1 >conftest.err
38517 cat conftest.err >&5
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); } && {
38520 test -z "$ac_c_werror_flag" ||
38521 test ! -s conftest.err
38522 } && test -s conftest.$ac_objext; then
38523 { echo "$as_me:$LINENO: result: yes" >&5
38524 echo "${ECHO_T}yes" >&6; }
38525 cat >>confdefs.h <<\_ACEOF
38526 #define HAVE__VSNWPRINTF 1
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38533 { echo "$as_me:$LINENO: result: no" >&5
38534 echo "${ECHO_T}no" >&6; }
38537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38540 if test "$wxUSE_FILE" = "yes"; then
38542 for wx_func in fsync
38544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38546 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38547 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 cat >conftest.$ac_ext <<_ACEOF
38554 cat confdefs.h >>conftest.$ac_ext
38555 cat >>conftest.$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38559 $ac_includes_default
38575 rm -f conftest.$ac_objext conftest$ac_exeext
38576 if { (ac_try="$ac_link"
38577 case "(($ac_try" in
38578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38579 *) ac_try_echo
=$ac_try;;
38581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38582 (eval "$ac_link") 2>conftest.er1
38584 grep -v '^ *+' conftest.er1
>conftest.err
38586 cat conftest.err
>&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } && {
38589 test -z "$ac_c_werror_flag" ||
38590 test ! -s conftest.err
38591 } && test -s conftest
$ac_exeext &&
38592 $as_test_x conftest
$ac_exeext; then
38593 eval wx_cv_func_
$wx_func=yes
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.
$ac_ext >&5
38598 eval wx_cv_func_
$wx_func=no
38601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38602 conftest
$ac_exeext conftest.
$ac_ext
38605 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38606 { echo "$as_me:$LINENO: result: $ac_res" >&5
38607 echo "${ECHO_T}$ac_res" >&6; }
38609 if eval test \
$wx_cv_func_$wx_func = yes
38611 cat >>confdefs.h
<<_ACEOF
38612 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38625 ac_cpp
='$CXXCPP $CPPFLAGS'
38626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38631 for wx_func
in round
38633 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38634 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38635 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38639 cat >conftest.
$ac_ext <<_ACEOF
38643 cat confdefs.h
>>conftest.
$ac_ext
38644 cat >>conftest.
$ac_ext <<_ACEOF
38645 /* end confdefs.h. */
38648 $ac_includes_default
38664 rm -f conftest.
$ac_objext conftest
$ac_exeext
38665 if { (ac_try
="$ac_link"
38666 case "(($ac_try" in
38667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38668 *) ac_try_echo=$ac_try;;
38670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38671 (eval "$ac_link") 2>conftest.er1
38673 grep -v '^ *+' conftest.er1 >conftest.err
38675 cat conftest.err >&5
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); } && {
38678 test -z "$ac_cxx_werror_flag" ||
38679 test ! -s conftest.err
38680 } && test -s conftest$ac_exeext &&
38681 $as_test_x conftest$ac_exeext; then
38682 eval wx_cv_func_$wx_func=yes
38684 echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.$ac_ext >&5
38687 eval wx_cv_func_$wx_func=no
38690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38691 conftest$ac_exeext conftest.$ac_ext
38694 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38695 { echo "$as_me:$LINENO: result: $ac_res" >&5
38696 echo "${ECHO_T}$ac_res" >&6; }
38698 if eval test \$wx_cv_func_$wx_func = yes
38700 cat >>confdefs.h <<_ACEOF
38701 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38712 ac_cpp='$CPP $CPPFLAGS'
38713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38718 if test "$TOOLKIT" != "MSW"; then
38724 # Check whether --with-libiconv-prefix was given.
38725 if test "${with_libiconv_prefix+set}" = set; then
38726 withval=$with_libiconv_prefix;
38727 for dir in `echo "$withval" | tr : ' '`; do
38728 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38729 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38735 { echo "$as_me:$LINENO: checking for iconv" >&5
38736 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38737 if test "${am_cv_func_iconv+set}" = set; then
38738 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 am_cv_func_iconv="no, consider installing GNU libiconv"
38743 cat >conftest.$ac_ext <<_ACEOF
38746 cat confdefs.h >>conftest.$ac_ext
38747 cat >>conftest.$ac_ext <<_ACEOF
38748 /* end confdefs.h. */
38749 #include <stdlib.h>
38754 iconv_t cd = iconv_open("","");
38755 iconv(cd,NULL,NULL,NULL,NULL);
38761 rm -f conftest.$ac_objext conftest$ac_exeext
38762 if { (ac_try="$ac_link"
38763 case "(($ac_try" in
38764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38765 *) ac_try_echo
=$ac_try;;
38767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38768 (eval "$ac_link") 2>conftest.er1
38770 grep -v '^ *+' conftest.er1
>conftest.err
38772 cat conftest.err
>&5
38773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38774 (exit $ac_status); } && {
38775 test -z "$ac_c_werror_flag" ||
38776 test ! -s conftest.err
38777 } && test -s conftest
$ac_exeext &&
38778 $as_test_x conftest
$ac_exeext; then
38779 am_cv_func_iconv
=yes
38781 echo "$as_me: failed program was:" >&5
38782 sed 's/^/| /' conftest.
$ac_ext >&5
38787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38788 conftest
$ac_exeext conftest.
$ac_ext
38789 if test "$am_cv_func_iconv" != yes; then
38790 am_save_LIBS
="$LIBS"
38791 LIBS
="$LIBS -liconv"
38792 cat >conftest.
$ac_ext <<_ACEOF
38795 cat confdefs.h
>>conftest.
$ac_ext
38796 cat >>conftest.
$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38798 #include <stdlib.h>
38803 iconv_t cd = iconv_open("","");
38804 iconv(cd,NULL,NULL,NULL,NULL);
38810 rm -f conftest.
$ac_objext conftest
$ac_exeext
38811 if { (ac_try
="$ac_link"
38812 case "(($ac_try" in
38813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38814 *) ac_try_echo=$ac_try;;
38816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38817 (eval "$ac_link") 2>conftest.er1
38819 grep -v '^ *+' conftest.er1 >conftest.err
38821 cat conftest.err >&5
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); } && {
38824 test -z "$ac_c_werror_flag" ||
38825 test ! -s conftest.err
38826 } && test -s conftest$ac_exeext &&
38827 $as_test_x conftest$ac_exeext; then
38828 am_cv_lib_iconv=yes
38829 am_cv_func_iconv=yes
38831 echo "$as_me: failed program was:" >&5
38832 sed 's/^/| /' conftest.$ac_ext >&5
38837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38838 conftest$ac_exeext conftest.$ac_ext
38839 LIBS="$am_save_LIBS"
38843 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38844 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38845 if test "$am_cv_func_iconv" = yes; then
38847 cat >>confdefs.h <<\_ACEOF
38848 #define HAVE_ICONV 1
38851 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38852 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38853 if test "${wx_cv_func_iconv_const+set}" = set; then
38854 echo $ECHO_N "(cached) $ECHO_C" >&6
38856 cat >conftest.$ac_ext <<_ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h. */
38863 #include <stdlib.h>
38869 #if defined(__STDC__) || defined(__cplusplus)
38870 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38883 rm -f conftest.$ac_objext
38884 if { (ac_try="$ac_compile"
38885 case "(($ac_try" in
38886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38887 *) ac_try_echo
=$ac_try;;
38889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38890 (eval "$ac_compile") 2>conftest.er1
38892 grep -v '^ *+' conftest.er1
>conftest.err
38894 cat conftest.err
>&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); } && {
38897 test -z "$ac_c_werror_flag" ||
38898 test ! -s conftest.err
38899 } && test -s conftest.
$ac_objext; then
38900 wx_cv_func_iconv_const
="no"
38902 echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.
$ac_ext >&5
38905 wx_cv_func_iconv_const
="yes"
38909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38912 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38913 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38916 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38917 iconv_const
="const"
38921 cat >>confdefs.h
<<_ACEOF
38922 #define ICONV_CONST $iconv_const
38927 if test "$am_cv_lib_iconv" = yes; then
38932 LIBS
="$LIBICONV $LIBS"
38934 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38936 for ac_func
in sigaction
38938 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38941 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38942 echo $ECHO_N "(cached) $ECHO_C" >&6
38944 cat >conftest.
$ac_ext <<_ACEOF
38947 cat confdefs.h
>>conftest.
$ac_ext
38948 cat >>conftest.
$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38952 #define $ac_func innocuous_$ac_func
38954 /* System header to define __stub macros and hopefully few prototypes,
38955 which can conflict with char $ac_func (); below.
38956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38957 <limits.h> exists even on freestanding compilers. */
38960 # include <limits.h>
38962 # include <assert.h>
38967 /* Override any GCC internal prototype to avoid an error.
38968 Use char because int might match the return type of a GCC
38969 builtin and then its argument prototype would still apply. */
38974 /* The GNU C library defines this for functions which it implements
38975 to always fail with ENOSYS. Some functions are actually named
38976 something starting with __ and the normal name is an alias. */
38977 #if defined __stub_$ac_func || defined __stub___$ac_func
38984 return $ac_func ();
38989 rm -f conftest.
$ac_objext conftest
$ac_exeext
38990 if { (ac_try
="$ac_link"
38991 case "(($ac_try" in
38992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38993 *) ac_try_echo=$ac_try;;
38995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38996 (eval "$ac_link") 2>conftest.er1
38998 grep -v '^ *+' conftest.er1 >conftest.err
39000 cat conftest.err >&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } && {
39003 test -z "$ac_c_werror_flag" ||
39004 test ! -s conftest.err
39005 } && test -s conftest$ac_exeext &&
39006 $as_test_x conftest$ac_exeext; then
39007 eval "$as_ac_var=yes"
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.$ac_ext >&5
39012 eval "$as_ac_var=no"
39015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39016 conftest$ac_exeext conftest.$ac_ext
39018 ac_res=`eval echo '${'$as_ac_var'}'`
39019 { echo "$as_me:$LINENO: result: $ac_res" >&5
39020 echo "${ECHO_T}$ac_res" >&6; }
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022 cat >>confdefs.h <<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39030 if test "$ac_cv_func_sigaction" = "no"; then
39031 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39032 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39033 wxUSE_ON_FATAL_EXCEPTION=no
39036 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39037 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39038 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39039 if test "${wx_cv_type_sa_handler+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39044 ac_cpp='$CXXCPP $CPPFLAGS'
39045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39049 cat >conftest.$ac_ext <<_ACEOF
39052 cat confdefs.h >>conftest.$ac_ext
39053 cat >>conftest.$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 #include <signal.h>
39060 extern void testSigHandler(int);
39062 struct sigaction sa;
39063 sa.sa_handler = testSigHandler;
39069 rm -f conftest.$ac_objext
39070 if { (ac_try="$ac_compile"
39071 case "(($ac_try" in
39072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39073 *) ac_try_echo
=$ac_try;;
39075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39076 (eval "$ac_compile") 2>conftest.er1
39078 grep -v '^ *+' conftest.er1
>conftest.err
39080 cat conftest.err
>&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); } && {
39083 test -z "$ac_cxx_werror_flag" ||
39084 test ! -s conftest.err
39085 } && test -s conftest.
$ac_objext; then
39087 wx_cv_type_sa_handler
=int
39090 echo "$as_me: failed program was:" >&5
39091 sed 's/^/| /' conftest.
$ac_ext >&5
39094 wx_cv_type_sa_handler
=void
39098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39100 ac_cpp
='$CPP $CPPFLAGS'
39101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39107 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39108 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39110 cat >>confdefs.h
<<_ACEOF
39111 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39117 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39118 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39119 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39120 if test "${wx_cv_func_backtrace+set}" = set; then
39121 echo $ECHO_N "(cached) $ECHO_C" >&6
39125 ac_cpp
='$CXXCPP $CPPFLAGS'
39126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39130 cat >conftest.
$ac_ext <<_ACEOF
39133 cat confdefs.h
>>conftest.
$ac_ext
39134 cat >>conftest.
$ac_ext <<_ACEOF
39135 /* end confdefs.h. */
39136 #include <execinfo.h>
39144 backtrace(trace, 1);
39145 messages = backtrace_symbols(trace, 1);
39151 rm -f conftest.
$ac_objext
39152 if { (ac_try
="$ac_compile"
39153 case "(($ac_try" in
39154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39155 *) ac_try_echo=$ac_try;;
39157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39158 (eval "$ac_compile") 2>conftest.er1
39160 grep -v '^ *+' conftest.er1 >conftest.err
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } && {
39165 test -z "$ac_cxx_werror_flag" ||
39166 test ! -s conftest.err
39167 } && test -s conftest.$ac_objext; then
39168 wx_cv_func_backtrace=yes
39170 echo "$as_me: failed program was:" >&5
39171 sed 's/^/| /' conftest.$ac_ext >&5
39173 wx_cv_func_backtrace=no
39177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39179 ac_cpp='$CPP $CPPFLAGS'
39180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39187 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39188 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39191 if test "$wx_cv_func_backtrace" = "no"; then
39192 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39193 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39194 wxUSE_STACKWALKER=no
39196 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39197 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39198 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39199 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 ac_cpp='$CXXCPP $CPPFLAGS'
39204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39208 cat >conftest.$ac_ext <<_ACEOF
39211 cat confdefs.h >>conftest.$ac_ext
39212 cat >>conftest.$ac_ext <<_ACEOF
39213 /* end confdefs.h. */
39214 #include <cxxabi.h>
39220 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39226 rm -f conftest.$ac_objext conftest$ac_exeext
39227 if { (ac_try="$ac_link"
39228 case "(($ac_try" in
39229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39230 *) ac_try_echo
=$ac_try;;
39232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39233 (eval "$ac_link") 2>conftest.er1
39235 grep -v '^ *+' conftest.er1
>conftest.err
39237 cat conftest.err
>&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); } && {
39240 test -z "$ac_cxx_werror_flag" ||
39241 test ! -s conftest.err
39242 } && test -s conftest
$ac_exeext &&
39243 $as_test_x conftest
$ac_exeext; then
39244 wx_cv_func_cxa_demangle
=yes
39246 echo "$as_me: failed program was:" >&5
39247 sed 's/^/| /' conftest.
$ac_ext >&5
39249 wx_cv_func_cxa_demangle
=no
39253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39254 conftest
$ac_exeext conftest.
$ac_ext
39256 ac_cpp
='$CPP $CPPFLAGS'
39257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39264 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39265 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39267 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39268 cat >>confdefs.h
<<\_ACEOF
39269 #define HAVE_CXA_DEMANGLE 1
39276 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39277 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39278 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39279 wxUSE_STACKWALKER
=no
39285 for ac_func
in mkstemp mktemp
39287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39288 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39290 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39293 cat >conftest.
$ac_ext <<_ACEOF
39296 cat confdefs.h
>>conftest.
$ac_ext
39297 cat >>conftest.
$ac_ext <<_ACEOF
39298 /* end confdefs.h. */
39299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39301 #define $ac_func innocuous_$ac_func
39303 /* System header to define __stub macros and hopefully few prototypes,
39304 which can conflict with char $ac_func (); below.
39305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39306 <limits.h> exists even on freestanding compilers. */
39309 # include <limits.h>
39311 # include <assert.h>
39316 /* Override any GCC internal prototype to avoid an error.
39317 Use char because int might match the return type of a GCC
39318 builtin and then its argument prototype would still apply. */
39323 /* The GNU C library defines this for functions which it implements
39324 to always fail with ENOSYS. Some functions are actually named
39325 something starting with __ and the normal name is an alias. */
39326 #if defined __stub_$ac_func || defined __stub___$ac_func
39333 return $ac_func ();
39338 rm -f conftest.
$ac_objext conftest
$ac_exeext
39339 if { (ac_try
="$ac_link"
39340 case "(($ac_try" in
39341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39342 *) ac_try_echo=$ac_try;;
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_link") 2>conftest.er1
39347 grep -v '^ *+' conftest.er1 >conftest.err
39349 cat conftest.err >&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_c_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest$ac_exeext &&
39355 $as_test_x conftest$ac_exeext; then
39356 eval "$as_ac_var=yes"
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39361 eval "$as_ac_var=no"
39364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39365 conftest$ac_exeext conftest.$ac_ext
39367 ac_res=`eval echo '${'$as_ac_var'}'`
39368 { echo "$as_me:$LINENO: result: $ac_res" >&5
39369 echo "${ECHO_T}$ac_res" >&6; }
39370 if test `eval echo '${'$as_ac_var'}'` = yes; then
39371 cat >>confdefs.h <<_ACEOF
39372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39379 { echo "$as_me:$LINENO: checking for statfs" >&5
39380 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39381 if test "${wx_cv_func_statfs+set}" = set; then
39382 echo $ECHO_N "(cached) $ECHO_C" >&6
39384 cat >conftest.$ac_ext <<_ACEOF
39387 cat confdefs.h >>conftest.$ac_ext
39388 cat >>conftest.$ac_ext <<_ACEOF
39389 /* end confdefs.h. */
39391 #if defined(__BSD__)
39392 #include <sys/param.h>
39393 #include <sys/mount.h>
39395 #include <sys/vfs.h>
39413 rm -f conftest.$ac_objext
39414 if { (ac_try="$ac_compile"
39415 case "(($ac_try" in
39416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39417 *) ac_try_echo
=$ac_try;;
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_compile") 2>conftest.er1
39422 grep -v '^ *+' conftest.er1
>conftest.err
39424 cat conftest.err
>&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_c_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest.
$ac_objext; then
39430 wx_cv_func_statfs
=yes
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.
$ac_ext >&5
39435 wx_cv_func_statfs
=no
39439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39442 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39443 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39445 if test "$wx_cv_func_statfs" = "yes"; then
39446 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39447 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39448 if test "${wx_cv_func_statfs_decl+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39452 ac_cpp
='$CXXCPP $CPPFLAGS'
39453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39457 cat >conftest.
$ac_ext <<_ACEOF
39460 cat confdefs.h
>>conftest.
$ac_ext
39461 cat >>conftest.
$ac_ext <<_ACEOF
39462 /* end confdefs.h. */
39464 #if defined(__BSD__)
39465 #include <sys/param.h>
39466 #include <sys/mount.h>
39468 #include <sys/vfs.h>
39482 rm -f conftest.
$ac_objext
39483 if { (ac_try
="$ac_compile"
39484 case "(($ac_try" in
39485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39486 *) ac_try_echo=$ac_try;;
39488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39489 (eval "$ac_compile") 2>conftest.er1
39491 grep -v '^ *+' conftest.er1 >conftest.err
39493 cat conftest.err >&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); } && {
39496 test -z "$ac_cxx_werror_flag" ||
39497 test ! -s conftest.err
39498 } && test -s conftest.$ac_objext; then
39499 wx_cv_func_statfs_decl=yes
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39504 wx_cv_func_statfs_decl=no
39508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39510 ac_cpp='$CPP $CPPFLAGS'
39511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39517 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39518 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39520 if test "$wx_cv_func_statfs_decl" = "yes"; then
39521 cat >>confdefs.h <<\_ACEOF
39522 #define HAVE_STATFS_DECL 1
39527 wx_cv_type_statvfs_t="struct statfs"
39528 cat >>confdefs.h <<\_ACEOF
39529 #define HAVE_STATFS 1
39533 { echo "$as_me:$LINENO: checking for statvfs" >&5
39534 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39535 if test "${wx_cv_func_statvfs+set}" = set; then
39536 echo $ECHO_N "(cached) $ECHO_C" >&6
39538 cat >conftest.$ac_ext <<_ACEOF
39541 cat confdefs.h >>conftest.$ac_ext
39542 cat >>conftest.$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39545 #include <stddef.h>
39546 #include <sys/statvfs.h>
39552 statvfs("/", NULL);
39558 rm -f conftest.$ac_objext
39559 if { (ac_try="$ac_compile"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39562 *) ac_try_echo
=$ac_try;;
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_compile") 2>conftest.er1
39567 grep -v '^ *+' conftest.er1
>conftest.err
39569 cat conftest.err
>&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest.
$ac_objext; then
39575 wx_cv_func_statvfs
=yes
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.
$ac_ext >&5
39580 wx_cv_func_statvfs
=no
39584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39587 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39588 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39590 if test "$wx_cv_func_statvfs" = "yes"; then
39591 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39592 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39593 if test "${wx_cv_type_statvfs_t+set}" = set; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39597 ac_cpp
='$CXXCPP $CPPFLAGS'
39598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39602 cat >conftest.
$ac_ext <<_ACEOF
39605 cat confdefs.h
>>conftest.
$ac_ext
39606 cat >>conftest.
$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39609 #include <sys/statvfs.h>
39626 rm -f conftest.
$ac_objext
39627 if { (ac_try
="$ac_compile"
39628 case "(($ac_try" in
39629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_compile") 2>conftest.er1
39635 grep -v '^ *+' conftest.er1 >conftest.err
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } && {
39640 test -z "$ac_cxx_werror_flag" ||
39641 test ! -s conftest.err
39642 } && test -s conftest.$ac_objext; then
39643 wx_cv_type_statvfs_t=statvfs_t
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.$ac_ext >&5
39649 cat >conftest.$ac_ext <<_ACEOF
39652 cat confdefs.h >>conftest.$ac_ext
39653 cat >>conftest.$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39656 #include <sys/statvfs.h>
39673 rm -f conftest.$ac_objext
39674 if { (ac_try="$ac_compile"
39675 case "(($ac_try" in
39676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39677 *) ac_try_echo
=$ac_try;;
39679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39680 (eval "$ac_compile") 2>conftest.er1
39682 grep -v '^ *+' conftest.er1
>conftest.err
39684 cat conftest.err
>&5
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); } && {
39687 test -z "$ac_cxx_werror_flag" ||
39688 test ! -s conftest.err
39689 } && test -s conftest.
$ac_objext; then
39690 wx_cv_type_statvfs_t
="struct statvfs"
39692 echo "$as_me: failed program was:" >&5
39693 sed 's/^/| /' conftest.
$ac_ext >&5
39695 wx_cv_type_statvfs_t
="unknown"
39699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39706 ac_cpp
='$CPP $CPPFLAGS'
39707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39713 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39714 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39716 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39717 cat >>confdefs.h
<<\_ACEOF
39718 #define HAVE_STATVFS 1
39723 wx_cv_type_statvfs_t
="unknown"
39727 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39728 cat >>confdefs.h
<<_ACEOF
39729 #define WX_STATFS_T $wx_cv_type_statvfs_t
39733 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39734 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39737 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39740 for ac_func
in fcntl flock
39742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39745 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39748 cat >conftest.
$ac_ext <<_ACEOF
39751 cat confdefs.h
>>conftest.
$ac_ext
39752 cat >>conftest.
$ac_ext <<_ACEOF
39753 /* end confdefs.h. */
39754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39756 #define $ac_func innocuous_$ac_func
39758 /* System header to define __stub macros and hopefully few prototypes,
39759 which can conflict with char $ac_func (); below.
39760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39761 <limits.h> exists even on freestanding compilers. */
39764 # include <limits.h>
39766 # include <assert.h>
39771 /* Override any GCC internal prototype to avoid an error.
39772 Use char because int might match the return type of a GCC
39773 builtin and then its argument prototype would still apply. */
39778 /* The GNU C library defines this for functions which it implements
39779 to always fail with ENOSYS. Some functions are actually named
39780 something starting with __ and the normal name is an alias. */
39781 #if defined __stub_$ac_func || defined __stub___$ac_func
39788 return $ac_func ();
39793 rm -f conftest.
$ac_objext conftest
$ac_exeext
39794 if { (ac_try
="$ac_link"
39795 case "(($ac_try" in
39796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39797 *) ac_try_echo=$ac_try;;
39799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39800 (eval "$ac_link") 2>conftest.er1
39802 grep -v '^ *+' conftest.er1 >conftest.err
39804 cat conftest.err >&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); } && {
39807 test -z "$ac_c_werror_flag" ||
39808 test ! -s conftest.err
39809 } && test -s conftest$ac_exeext &&
39810 $as_test_x conftest$ac_exeext; then
39811 eval "$as_ac_var=yes"
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39816 eval "$as_ac_var=no"
39819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39820 conftest$ac_exeext conftest.$ac_ext
39822 ac_res=`eval echo '${'$as_ac_var'}'`
39823 { echo "$as_me:$LINENO: result: $ac_res" >&5
39824 echo "${ECHO_T}$ac_res" >&6; }
39825 if test `eval echo '${'$as_ac_var'}'` = yes; then
39826 cat >>confdefs.h <<_ACEOF
39827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39834 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39835 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39836 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39837 wxUSE_SNGLINST_CHECKER=no
39843 for ac_func in setenv putenv
39845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39849 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 cat >conftest.$ac_ext <<_ACEOF
39854 cat confdefs.h >>conftest.$ac_ext
39855 cat >>conftest.$ac_ext <<_ACEOF
39856 /* end confdefs.h. */
39857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39859 #define $ac_func innocuous_$ac_func
39861 /* System header to define __stub macros and hopefully few prototypes,
39862 which can conflict with char $ac_func (); below.
39863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39864 <limits.h> exists even on freestanding compilers. */
39867 # include <limits.h>
39869 # include <assert.h>
39874 /* Override any GCC internal prototype to avoid an error.
39875 Use char because int might match the return type of a GCC
39876 builtin and then its argument prototype would still apply. */
39881 /* The GNU C library defines this for functions which it implements
39882 to always fail with ENOSYS. Some functions are actually named
39883 something starting with __ and the normal name is an alias. */
39884 #if defined __stub_$ac_func || defined __stub___$ac_func
39891 return $ac_func ();
39896 rm -f conftest.$ac_objext conftest$ac_exeext
39897 if { (ac_try="$ac_link"
39898 case "(($ac_try" in
39899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39900 *) ac_try_echo
=$ac_try;;
39902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39903 (eval "$ac_link") 2>conftest.er1
39905 grep -v '^ *+' conftest.er1
>conftest.err
39907 cat conftest.err
>&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); } && {
39910 test -z "$ac_c_werror_flag" ||
39911 test ! -s conftest.err
39912 } && test -s conftest
$ac_exeext &&
39913 $as_test_x conftest
$ac_exeext; then
39914 eval "$as_ac_var=yes"
39916 echo "$as_me: failed program was:" >&5
39917 sed 's/^/| /' conftest.
$ac_ext >&5
39919 eval "$as_ac_var=no"
39922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39923 conftest
$ac_exeext conftest.
$ac_ext
39925 ac_res
=`eval echo '${'$as_ac_var'}'`
39926 { echo "$as_me:$LINENO: result: $ac_res" >&5
39927 echo "${ECHO_T}$ac_res" >&6; }
39928 if test `eval echo '${'$as_ac_var'}'` = yes; then
39929 cat >>confdefs.h
<<_ACEOF
39930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39936 if test "$ac_cv_func_setenv" = "yes"; then
39938 for ac_func
in unsetenv
39940 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39943 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39944 echo $ECHO_N "(cached) $ECHO_C" >&6
39946 cat >conftest.
$ac_ext <<_ACEOF
39949 cat confdefs.h
>>conftest.
$ac_ext
39950 cat >>conftest.
$ac_ext <<_ACEOF
39951 /* end confdefs.h. */
39952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39954 #define $ac_func innocuous_$ac_func
39956 /* System header to define __stub macros and hopefully few prototypes,
39957 which can conflict with char $ac_func (); below.
39958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39959 <limits.h> exists even on freestanding compilers. */
39962 # include <limits.h>
39964 # include <assert.h>
39969 /* Override any GCC internal prototype to avoid an error.
39970 Use char because int might match the return type of a GCC
39971 builtin and then its argument prototype would still apply. */
39976 /* The GNU C library defines this for functions which it implements
39977 to always fail with ENOSYS. Some functions are actually named
39978 something starting with __ and the normal name is an alias. */
39979 #if defined __stub_$ac_func || defined __stub___$ac_func
39986 return $ac_func ();
39991 rm -f conftest.
$ac_objext conftest
$ac_exeext
39992 if { (ac_try
="$ac_link"
39993 case "(($ac_try" in
39994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39995 *) ac_try_echo=$ac_try;;
39997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39998 (eval "$ac_link") 2>conftest.er1
40000 grep -v '^ *+' conftest.er1 >conftest.err
40002 cat conftest.err >&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); } && {
40005 test -z "$ac_c_werror_flag" ||
40006 test ! -s conftest.err
40007 } && test -s conftest$ac_exeext &&
40008 $as_test_x conftest$ac_exeext; then
40009 eval "$as_ac_var=yes"
40011 echo "$as_me: failed program was:" >&5
40012 sed 's/^/| /' conftest.$ac_ext >&5
40014 eval "$as_ac_var=no"
40017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40018 conftest$ac_exeext conftest.$ac_ext
40020 ac_res=`eval echo '${'$as_ac_var'}'`
40021 { echo "$as_me:$LINENO: result: $ac_res" >&5
40022 echo "${ECHO_T}$ac_res" >&6; }
40023 if test `eval echo '${'$as_ac_var'}'` = yes; then
40024 cat >>confdefs.h <<_ACEOF
40025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40033 HAVE_SOME_SLEEP_FUNC=0
40034 if test "$USE_BEOS" = 1; then
40035 cat >>confdefs.h <<\_ACEOF
40036 #define HAVE_SLEEP 1
40039 HAVE_SOME_SLEEP_FUNC=1
40042 if test "$USE_DARWIN" = 1; then
40043 cat >>confdefs.h <<\_ACEOF
40044 #define HAVE_USLEEP 1
40047 HAVE_SOME_SLEEP_FUNC=1
40050 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40053 for ac_func in nanosleep
40055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40059 echo $ECHO_N "(cached) $ECHO_C" >&6
40061 cat >conftest.$ac_ext <<_ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40069 #define $ac_func innocuous_$ac_func
40071 /* System header to define __stub macros and hopefully few prototypes,
40072 which can conflict with char $ac_func (); below.
40073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40074 <limits.h> exists even on freestanding compilers. */
40077 # include <limits.h>
40079 # include <assert.h>
40084 /* Override any GCC internal prototype to avoid an error.
40085 Use char because int might match the return type of a GCC
40086 builtin and then its argument prototype would still apply. */
40091 /* The GNU C library defines this for functions which it implements
40092 to always fail with ENOSYS. Some functions are actually named
40093 something starting with __ and the normal name is an alias. */
40094 #if defined __stub_$ac_func || defined __stub___$ac_func
40101 return $ac_func ();
40106 rm -f conftest.$ac_objext conftest$ac_exeext
40107 if { (ac_try="$ac_link"
40108 case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40110 *) ac_try_echo
=$ac_try;;
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_link") 2>conftest.er1
40115 grep -v '^ *+' conftest.er1
>conftest.err
40117 cat conftest.err
>&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); } && {
40120 test -z "$ac_c_werror_flag" ||
40121 test ! -s conftest.err
40122 } && test -s conftest
$ac_exeext &&
40123 $as_test_x conftest
$ac_exeext; then
40124 eval "$as_ac_var=yes"
40126 echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.
$ac_ext >&5
40129 eval "$as_ac_var=no"
40132 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40133 conftest
$ac_exeext conftest.
$ac_ext
40135 ac_res
=`eval echo '${'$as_ac_var'}'`
40136 { echo "$as_me:$LINENO: result: $ac_res" >&5
40137 echo "${ECHO_T}$ac_res" >&6; }
40138 if test `eval echo '${'$as_ac_var'}'` = yes; then
40139 cat >>confdefs.h
<<_ACEOF
40140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40142 cat >>confdefs.h
<<\_ACEOF
40143 #define HAVE_NANOSLEEP 1
40148 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40149 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40150 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40151 echo $ECHO_N "(cached) $ECHO_C" >&6
40153 ac_check_lib_save_LIBS
=$LIBS
40154 LIBS
="-lposix4 $LIBS"
40155 cat >conftest.
$ac_ext <<_ACEOF
40158 cat confdefs.h
>>conftest.
$ac_ext
40159 cat >>conftest.
$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40162 /* Override any GCC internal prototype to avoid an error.
40163 Use char because int might match the return type of a GCC
40164 builtin and then its argument prototype would still apply. */
40172 return nanosleep ();
40177 rm -f conftest.
$ac_objext conftest
$ac_exeext
40178 if { (ac_try
="$ac_link"
40179 case "(($ac_try" in
40180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40181 *) ac_try_echo=$ac_try;;
40183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40184 (eval "$ac_link") 2>conftest.er1
40186 grep -v '^ *+' conftest.er1 >conftest.err
40188 cat conftest.err >&5
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); } && {
40191 test -z "$ac_c_werror_flag" ||
40192 test ! -s conftest.err
40193 } && test -s conftest$ac_exeext &&
40194 $as_test_x conftest$ac_exeext; then
40195 ac_cv_lib_posix4_nanosleep=yes
40197 echo "$as_me: failed program was:" >&5
40198 sed 's/^/| /' conftest.$ac_ext >&5
40200 ac_cv_lib_posix4_nanosleep=no
40203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40204 conftest$ac_exeext conftest.$ac_ext
40205 LIBS=$ac_check_lib_save_LIBS
40207 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40208 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40209 if test $ac_cv_lib_posix4_nanosleep = yes; then
40211 cat >>confdefs.h <<\_ACEOF
40212 #define HAVE_NANOSLEEP 1
40215 POSIX4_LINK=" -lposix4"
40220 for wx_func in usleep
40222 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40223 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40224 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40225 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 cat >conftest.$ac_ext <<_ACEOF
40232 cat confdefs.h >>conftest.$ac_ext
40233 cat >>conftest.$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40237 $ac_includes_default
40253 rm -f conftest.$ac_objext conftest$ac_exeext
40254 if { (ac_try="$ac_link"
40255 case "(($ac_try" in
40256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40257 *) ac_try_echo
=$ac_try;;
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_link") 2>conftest.er1
40262 grep -v '^ *+' conftest.er1
>conftest.err
40264 cat conftest.err
>&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest
$ac_exeext &&
40270 $as_test_x conftest
$ac_exeext; then
40271 eval wx_cv_func_
$wx_func=yes
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.
$ac_ext >&5
40276 eval wx_cv_func_
$wx_func=no
40279 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40280 conftest
$ac_exeext conftest.
$ac_ext
40283 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40284 { echo "$as_me:$LINENO: result: $ac_res" >&5
40285 echo "${ECHO_T}$ac_res" >&6; }
40287 if eval test \
$wx_cv_func_$wx_func = yes
40289 cat >>confdefs.h
<<_ACEOF
40290 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40296 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40297 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40314 for wx_func
in uname
40316 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40317 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40318 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40319 echo $ECHO_N "(cached) $ECHO_C" >&6
40322 cat >conftest.
$ac_ext <<_ACEOF
40326 cat confdefs.h
>>conftest.
$ac_ext
40327 cat >>conftest.
$ac_ext <<_ACEOF
40328 /* end confdefs.h. */
40330 #include <sys/utsname.h>
40331 $ac_includes_default
40347 rm -f conftest.
$ac_objext conftest
$ac_exeext
40348 if { (ac_try
="$ac_link"
40349 case "(($ac_try" in
40350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40351 *) ac_try_echo=$ac_try;;
40353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40354 (eval "$ac_link") 2>conftest.er1
40356 grep -v '^ *+' conftest.er1 >conftest.err
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } && {
40361 test -z "$ac_c_werror_flag" ||
40362 test ! -s conftest.err
40363 } && test -s conftest$ac_exeext &&
40364 $as_test_x conftest$ac_exeext; then
40365 eval wx_cv_func_$wx_func=yes
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.$ac_ext >&5
40370 eval wx_cv_func_$wx_func=no
40373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40374 conftest$ac_exeext conftest.$ac_ext
40377 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40378 { echo "$as_me:$LINENO: result: $ac_res" >&5
40379 echo "${ECHO_T}$ac_res" >&6; }
40381 if eval test \$wx_cv_func_$wx_func = yes
40383 cat >>confdefs.h <<_ACEOF
40384 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40394 if test "$wx_cv_func_uname" != yes; then
40396 for wx_func in gethostname
40398 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40399 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40400 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40401 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 cat >conftest.$ac_ext <<_ACEOF
40408 cat confdefs.h >>conftest.$ac_ext
40409 cat >>conftest.$ac_ext <<_ACEOF
40410 /* end confdefs.h. */
40413 $ac_includes_default
40429 rm -f conftest.$ac_objext conftest$ac_exeext
40430 if { (ac_try="$ac_link"
40431 case "(($ac_try" in
40432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40433 *) ac_try_echo
=$ac_try;;
40435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40436 (eval "$ac_link") 2>conftest.er1
40438 grep -v '^ *+' conftest.er1
>conftest.err
40440 cat conftest.err
>&5
40441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442 (exit $ac_status); } && {
40443 test -z "$ac_c_werror_flag" ||
40444 test ! -s conftest.err
40445 } && test -s conftest
$ac_exeext &&
40446 $as_test_x conftest
$ac_exeext; then
40447 eval wx_cv_func_
$wx_func=yes
40449 echo "$as_me: failed program was:" >&5
40450 sed 's/^/| /' conftest.
$ac_ext >&5
40452 eval wx_cv_func_
$wx_func=no
40455 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40456 conftest
$ac_exeext conftest.
$ac_ext
40459 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40460 { echo "$as_me:$LINENO: result: $ac_res" >&5
40461 echo "${ECHO_T}$ac_res" >&6; }
40463 if eval test \
$wx_cv_func_$wx_func = yes
40465 cat >>confdefs.h
<<_ACEOF
40466 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40479 for wx_func
in strtok_r
40481 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40482 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40483 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40484 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 cat >conftest.
$ac_ext <<_ACEOF
40491 cat confdefs.h
>>conftest.
$ac_ext
40492 cat >>conftest.
$ac_ext <<_ACEOF
40493 /* end confdefs.h. */
40496 $ac_includes_default
40512 rm -f conftest.
$ac_objext conftest
$ac_exeext
40513 if { (ac_try
="$ac_link"
40514 case "(($ac_try" in
40515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40516 *) ac_try_echo=$ac_try;;
40518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40519 (eval "$ac_link") 2>conftest.er1
40521 grep -v '^ *+' conftest.er1 >conftest.err
40523 cat conftest.err >&5
40524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40525 (exit $ac_status); } && {
40526 test -z "$ac_c_werror_flag" ||
40527 test ! -s conftest.err
40528 } && test -s conftest$ac_exeext &&
40529 $as_test_x conftest$ac_exeext; then
40530 eval wx_cv_func_$wx_func=yes
40532 echo "$as_me: failed program was:" >&5
40533 sed 's/^/| /' conftest.$ac_ext >&5
40535 eval wx_cv_func_$wx_func=no
40538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40539 conftest$ac_exeext conftest.$ac_ext
40542 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40543 { echo "$as_me:$LINENO: result: $ac_res" >&5
40544 echo "${ECHO_T}$ac_res" >&6; }
40546 if eval test \$wx_cv_func_$wx_func = yes
40548 cat >>confdefs.h <<_ACEOF
40549 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40562 for ac_func in inet_addr
40564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40567 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40568 echo $ECHO_N "(cached) $ECHO_C" >&6
40570 cat >conftest.$ac_ext <<_ACEOF
40573 cat confdefs.h >>conftest.$ac_ext
40574 cat >>conftest.$ac_ext <<_ACEOF
40575 /* end confdefs.h. */
40576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40578 #define $ac_func innocuous_$ac_func
40580 /* System header to define __stub macros and hopefully few prototypes,
40581 which can conflict with char $ac_func (); below.
40582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40583 <limits.h> exists even on freestanding compilers. */
40586 # include <limits.h>
40588 # include <assert.h>
40593 /* Override any GCC internal prototype to avoid an error.
40594 Use char because int might match the return type of a GCC
40595 builtin and then its argument prototype would still apply. */
40600 /* The GNU C library defines this for functions which it implements
40601 to always fail with ENOSYS. Some functions are actually named
40602 something starting with __ and the normal name is an alias. */
40603 #if defined __stub_$ac_func || defined __stub___$ac_func
40610 return $ac_func ();
40615 rm -f conftest.$ac_objext conftest$ac_exeext
40616 if { (ac_try="$ac_link"
40617 case "(($ac_try" in
40618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40619 *) ac_try_echo
=$ac_try;;
40621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40622 (eval "$ac_link") 2>conftest.er1
40624 grep -v '^ *+' conftest.er1
>conftest.err
40626 cat conftest.err
>&5
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); } && {
40629 test -z "$ac_c_werror_flag" ||
40630 test ! -s conftest.err
40631 } && test -s conftest
$ac_exeext &&
40632 $as_test_x conftest
$ac_exeext; then
40633 eval "$as_ac_var=yes"
40635 echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.
$ac_ext >&5
40638 eval "$as_ac_var=no"
40641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40642 conftest
$ac_exeext conftest.
$ac_ext
40644 ac_res
=`eval echo '${'$as_ac_var'}'`
40645 { echo "$as_me:$LINENO: result: $ac_res" >&5
40646 echo "${ECHO_T}$ac_res" >&6; }
40647 if test `eval echo '${'$as_ac_var'}'` = yes; then
40648 cat >>confdefs.h
<<_ACEOF
40649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40651 cat >>confdefs.h
<<\_ACEOF
40652 #define HAVE_INET_ADDR 1
40657 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40658 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40659 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40662 ac_check_lib_save_LIBS
=$LIBS
40664 cat >conftest.
$ac_ext <<_ACEOF
40667 cat confdefs.h
>>conftest.
$ac_ext
40668 cat >>conftest.
$ac_ext <<_ACEOF
40669 /* end confdefs.h. */
40671 /* Override any GCC internal prototype to avoid an error.
40672 Use char because int might match the return type of a GCC
40673 builtin and then its argument prototype would still apply. */
40681 return inet_addr ();
40686 rm -f conftest.
$ac_objext conftest
$ac_exeext
40687 if { (ac_try
="$ac_link"
40688 case "(($ac_try" in
40689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40690 *) ac_try_echo=$ac_try;;
40692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40693 (eval "$ac_link") 2>conftest.er1
40695 grep -v '^ *+' conftest.er1 >conftest.err
40697 cat conftest.err >&5
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); } && {
40700 test -z "$ac_c_werror_flag" ||
40701 test ! -s conftest.err
40702 } && test -s conftest$ac_exeext &&
40703 $as_test_x conftest$ac_exeext; then
40704 ac_cv_lib_nsl_inet_addr=yes
40706 echo "$as_me: failed program was:" >&5
40707 sed 's/^/| /' conftest.$ac_ext >&5
40709 ac_cv_lib_nsl_inet_addr=no
40712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40713 conftest$ac_exeext conftest.$ac_ext
40714 LIBS=$ac_check_lib_save_LIBS
40716 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40717 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40718 if test $ac_cv_lib_nsl_inet_addr = yes; then
40722 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40723 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40724 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40725 echo $ECHO_N "(cached) $ECHO_C" >&6
40727 ac_check_lib_save_LIBS=$LIBS
40728 LIBS="-lresolv $LIBS"
40729 cat >conftest.$ac_ext <<_ACEOF
40732 cat confdefs.h >>conftest.$ac_ext
40733 cat >>conftest.$ac_ext <<_ACEOF
40734 /* end confdefs.h. */
40736 /* Override any GCC internal prototype to avoid an error.
40737 Use char because int might match the return type of a GCC
40738 builtin and then its argument prototype would still apply. */
40746 return inet_addr ();
40751 rm -f conftest.$ac_objext conftest$ac_exeext
40752 if { (ac_try="$ac_link"
40753 case "(($ac_try" in
40754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40755 *) ac_try_echo
=$ac_try;;
40757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40758 (eval "$ac_link") 2>conftest.er1
40760 grep -v '^ *+' conftest.er1
>conftest.err
40762 cat conftest.err
>&5
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); } && {
40765 test -z "$ac_c_werror_flag" ||
40766 test ! -s conftest.err
40767 } && test -s conftest
$ac_exeext &&
40768 $as_test_x conftest
$ac_exeext; then
40769 ac_cv_lib_resolv_inet_addr
=yes
40771 echo "$as_me: failed program was:" >&5
40772 sed 's/^/| /' conftest.
$ac_ext >&5
40774 ac_cv_lib_resolv_inet_addr
=no
40777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40778 conftest
$ac_exeext conftest.
$ac_ext
40779 LIBS
=$ac_check_lib_save_LIBS
40781 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40782 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40783 if test $ac_cv_lib_resolv_inet_addr = yes; then
40787 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40788 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40789 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40792 ac_check_lib_save_LIBS
=$LIBS
40793 LIBS
="-lsocket $LIBS"
40794 cat >conftest.
$ac_ext <<_ACEOF
40797 cat confdefs.h
>>conftest.
$ac_ext
40798 cat >>conftest.
$ac_ext <<_ACEOF
40799 /* end confdefs.h. */
40801 /* Override any GCC internal prototype to avoid an error.
40802 Use char because int might match the return type of a GCC
40803 builtin and then its argument prototype would still apply. */
40811 return inet_addr ();
40816 rm -f conftest.
$ac_objext conftest
$ac_exeext
40817 if { (ac_try
="$ac_link"
40818 case "(($ac_try" in
40819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40820 *) ac_try_echo=$ac_try;;
40822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40823 (eval "$ac_link") 2>conftest.er1
40825 grep -v '^ *+' conftest.er1 >conftest.err
40827 cat conftest.err >&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); } && {
40830 test -z "$ac_c_werror_flag" ||
40831 test ! -s conftest.err
40832 } && test -s conftest$ac_exeext &&
40833 $as_test_x conftest$ac_exeext; then
40834 ac_cv_lib_socket_inet_addr=yes
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.$ac_ext >&5
40839 ac_cv_lib_socket_inet_addr=no
40842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40843 conftest$ac_exeext conftest.$ac_ext
40844 LIBS=$ac_check_lib_save_LIBS
40846 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40847 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40848 if test $ac_cv_lib_socket_inet_addr = yes; then
40868 for ac_func in inet_aton
40870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40876 cat >conftest.$ac_ext <<_ACEOF
40879 cat confdefs.h >>conftest.$ac_ext
40880 cat >>conftest.$ac_ext <<_ACEOF
40881 /* end confdefs.h. */
40882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40884 #define $ac_func innocuous_$ac_func
40886 /* System header to define __stub macros and hopefully few prototypes,
40887 which can conflict with char $ac_func (); below.
40888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40889 <limits.h> exists even on freestanding compilers. */
40892 # include <limits.h>
40894 # include <assert.h>
40899 /* Override any GCC internal prototype to avoid an error.
40900 Use char because int might match the return type of a GCC
40901 builtin and then its argument prototype would still apply. */
40906 /* The GNU C library defines this for functions which it implements
40907 to always fail with ENOSYS. Some functions are actually named
40908 something starting with __ and the normal name is an alias. */
40909 #if defined __stub_$ac_func || defined __stub___$ac_func
40916 return $ac_func ();
40921 rm -f conftest.$ac_objext conftest$ac_exeext
40922 if { (ac_try="$ac_link"
40923 case "(($ac_try" in
40924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40925 *) ac_try_echo
=$ac_try;;
40927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40928 (eval "$ac_link") 2>conftest.er1
40930 grep -v '^ *+' conftest.er1
>conftest.err
40932 cat conftest.err
>&5
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); } && {
40935 test -z "$ac_c_werror_flag" ||
40936 test ! -s conftest.err
40937 } && test -s conftest
$ac_exeext &&
40938 $as_test_x conftest
$ac_exeext; then
40939 eval "$as_ac_var=yes"
40941 echo "$as_me: failed program was:" >&5
40942 sed 's/^/| /' conftest.
$ac_ext >&5
40944 eval "$as_ac_var=no"
40947 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40948 conftest
$ac_exeext conftest.
$ac_ext
40950 ac_res
=`eval echo '${'$as_ac_var'}'`
40951 { echo "$as_me:$LINENO: result: $ac_res" >&5
40952 echo "${ECHO_T}$ac_res" >&6; }
40953 if test `eval echo '${'$as_ac_var'}'` = yes; then
40954 cat >>confdefs.h
<<_ACEOF
40955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40957 cat >>confdefs.h
<<\_ACEOF
40958 #define HAVE_INET_ATON 1
40963 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40964 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40965 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40966 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40967 echo $ECHO_N "(cached) $ECHO_C" >&6
40969 ac_check_lib_save_LIBS
=$LIBS
40970 LIBS
="-l$INET_LINK $LIBS"
40971 cat >conftest.
$ac_ext <<_ACEOF
40974 cat confdefs.h
>>conftest.
$ac_ext
40975 cat >>conftest.
$ac_ext <<_ACEOF
40976 /* end confdefs.h. */
40978 /* Override any GCC internal prototype to avoid an error.
40979 Use char because int might match the return type of a GCC
40980 builtin and then its argument prototype would still apply. */
40988 return inet_aton ();
40993 rm -f conftest.
$ac_objext conftest
$ac_exeext
40994 if { (ac_try
="$ac_link"
40995 case "(($ac_try" in
40996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40997 *) ac_try_echo=$ac_try;;
40999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41000 (eval "$ac_link") 2>conftest.er1
41002 grep -v '^ *+' conftest.er1 >conftest.err
41004 cat conftest.err >&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); } && {
41007 test -z "$ac_c_werror_flag" ||
41008 test ! -s conftest.err
41009 } && test -s conftest$ac_exeext &&
41010 $as_test_x conftest$ac_exeext; then
41011 eval "$as_ac_Lib=yes"
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41016 eval "$as_ac_Lib=no"
41019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41020 conftest$ac_exeext conftest.$ac_ext
41021 LIBS=$ac_check_lib_save_LIBS
41023 ac_res=`eval echo '${'$as_ac_Lib'}'`
41024 { echo "$as_me:$LINENO: result: $ac_res" >&5
41025 echo "${ECHO_T}$ac_res" >&6; }
41026 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41027 cat >>confdefs.h <<\_ACEOF
41028 #define HAVE_INET_ATON 1
41038 if test "x$INET_LINK" != "x"; then
41039 cat >>confdefs.h <<\_ACEOF
41040 #define HAVE_INET_ADDR 1
41043 INET_LINK=" -l$INET_LINK"
41047 for wx_func in fdopen
41049 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41050 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41051 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41052 echo $ECHO_N "(cached) $ECHO_C" >&6
41055 cat >conftest.$ac_ext <<_ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41064 $ac_includes_default
41080 rm -f conftest.$ac_objext conftest$ac_exeext
41081 if { (ac_try="$ac_link"
41082 case "(($ac_try" in
41083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41084 *) ac_try_echo
=$ac_try;;
41086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41087 (eval "$ac_link") 2>conftest.er1
41089 grep -v '^ *+' conftest.er1
>conftest.err
41091 cat conftest.err
>&5
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); } && {
41094 test -z "$ac_c_werror_flag" ||
41095 test ! -s conftest.err
41096 } && test -s conftest
$ac_exeext &&
41097 $as_test_x conftest
$ac_exeext; then
41098 eval wx_cv_func_
$wx_func=yes
41100 echo "$as_me: failed program was:" >&5
41101 sed 's/^/| /' conftest.
$ac_ext >&5
41103 eval wx_cv_func_
$wx_func=no
41106 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41107 conftest
$ac_exeext conftest.
$ac_ext
41110 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41111 { echo "$as_me:$LINENO: result: $ac_res" >&5
41112 echo "${ECHO_T}$ac_res" >&6; }
41114 if eval test \
$wx_cv_func_$wx_func = yes
41116 cat >>confdefs.h
<<_ACEOF
41117 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41132 cat >confcache
<<\_ACEOF
41133 # This file is a shell script that caches the results of configure
41134 # tests run on this system so they can be shared between configure
41135 # scripts and configure runs, see configure's option --config-cache.
41136 # It is not useful on other systems. If it contains results you don't
41137 # want to keep, you may remove or edit it.
41139 # config.status only pays attention to the cache file if you give it
41140 # the --recheck option to rerun configure.
41142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41144 # following values.
41148 # The following way of writing the cache mishandles newlines in values,
41149 # but we know of no workaround that is simple, portable, and efficient.
41150 # So, we kill variables containing newlines.
41151 # Ultrix sh set writes to stderr and can't be redirected directly,
41152 # and sets the high bit in the cache file unless we assign to the vars.
41154 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41155 eval ac_val
=\$
$ac_var
41159 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41160 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41163 _
| IFS
| as_nl
) ;; #(
41164 *) $as_unset $ac_var ;;
41170 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41171 *${as_nl}ac_space
=\
*)
41172 # `set' does not quote correctly, so add quotes (double-quote
41173 # substitution turns \\\\ into \\, and sed turns \\ into \).
41176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41179 # `set' quotes correctly as required by POSIX, so do not add quotes.
41180 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41189 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41191 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41193 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41194 if test -w "$cache_file"; then
41195 test "x$cache_file" != "x/dev/null" &&
41196 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41197 echo "$as_me: updating cache $cache_file" >&6;}
41198 cat confcache
>$cache_file
41200 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41201 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41207 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41213 if test "$wxUSE_THREADS" = "yes" ; then
41214 if test "$USE_BEOS" = 1; then
41215 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41216 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41221 if test "$wxUSE_THREADS" = "yes" ; then
41224 THREAD_OPTS
="-pthread"
41225 if test "x$SUNCXX" = xyes
; then
41226 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41230 *-*-solaris2* | *-*-sunos4* )
41231 if test "x$GCC" = "xyes"; then
41232 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41236 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41238 *-*-darwin* | *-*-cygwin* )
41242 THREAD_OPTS
="pthreads"
41245 if test "x$GCC" = "xyes"; then
41246 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41254 if test "x$GCC" = "xyes"; then
41260 if test "x$GCC" != "xyes"; then
41261 THREAD_OPTS
="-Ethread"
41266 THREAD_OPTS
="$THREAD_OPTS pthread none"
41269 for flag
in $THREAD_OPTS; do
41272 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41273 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41277 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41278 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41279 THREADS_CFLAGS
="$flag"
41283 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41284 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41285 THREADS_LINK
="-l$flag"
41290 save_CFLAGS
="$CFLAGS"
41291 LIBS
="$THREADS_LINK $LIBS"
41292 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41294 cat >conftest.
$ac_ext <<_ACEOF
41297 cat confdefs.h
>>conftest.
$ac_ext
41298 cat >>conftest.
$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 #include <pthread.h>
41304 pthread_create(0,0,0,0);
41309 rm -f conftest.
$ac_objext conftest
$ac_exeext
41310 if { (ac_try
="$ac_link"
41311 case "(($ac_try" in
41312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41313 *) ac_try_echo=$ac_try;;
41315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41316 (eval "$ac_link") 2>conftest.er1
41318 grep -v '^ *+' conftest.er1 >conftest.err
41320 cat conftest.err >&5
41321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41322 (exit $ac_status); } && {
41323 test -z "$ac_c_werror_flag" ||
41324 test ! -s conftest.err
41325 } && test -s conftest$ac_exeext &&
41326 $as_test_x conftest$ac_exeext; then
41329 echo "$as_me: failed program was:" >&5
41330 sed 's/^/| /' conftest.$ac_ext >&5
41335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41336 conftest$ac_exeext conftest.$ac_ext
41339 CFLAGS="$save_CFLAGS"
41341 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41342 echo "${ECHO_T}$THREADS_OK" >&6; }
41343 if test "x$THREADS_OK" = "xyes"; then
41351 if test "x$THREADS_OK" != "xyes"; then
41353 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41354 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41356 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41357 LIBS="$THREADS_LINK $LIBS"
41359 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41360 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41364 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41365 flag="-D_THREAD_SAFE"
41368 flag="-D_THREAD_SAFE"
41371 flag="-D_REENTRANT"
41372 if test "x$GCC" != "xyes"; then
41373 flag="$flag -D_RWSTD_MULTI_THREAD"
41376 *solaris* | alpha*-osf*)
41377 flag="-D_REENTRANT"
41380 { echo "$as_me:$LINENO: result: ${flag}" >&5
41381 echo "${ECHO_T}${flag}" >&6; }
41382 if test "x$flag" != xno; then
41383 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41386 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41390 if test "$wxUSE_THREADS" = "yes" ; then
41392 for ac_func in thr_setconcurrency
41394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41400 cat >conftest.$ac_ext <<_ACEOF
41403 cat confdefs.h >>conftest.$ac_ext
41404 cat >>conftest.$ac_ext <<_ACEOF
41405 /* end confdefs.h. */
41406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41408 #define $ac_func innocuous_$ac_func
41410 /* System header to define __stub macros and hopefully few prototypes,
41411 which can conflict with char $ac_func (); below.
41412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41413 <limits.h> exists even on freestanding compilers. */
41416 # include <limits.h>
41418 # include <assert.h>
41423 /* Override any GCC internal prototype to avoid an error.
41424 Use char because int might match the return type of a GCC
41425 builtin and then its argument prototype would still apply. */
41430 /* The GNU C library defines this for functions which it implements
41431 to always fail with ENOSYS. Some functions are actually named
41432 something starting with __ and the normal name is an alias. */
41433 #if defined __stub_$ac_func || defined __stub___$ac_func
41440 return $ac_func ();
41445 rm -f conftest.$ac_objext conftest$ac_exeext
41446 if { (ac_try="$ac_link"
41447 case "(($ac_try" in
41448 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41449 *) ac_try_echo
=$ac_try;;
41451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41452 (eval "$ac_link") 2>conftest.er1
41454 grep -v '^ *+' conftest.er1
>conftest.err
41456 cat conftest.err
>&5
41457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41458 (exit $ac_status); } && {
41459 test -z "$ac_c_werror_flag" ||
41460 test ! -s conftest.err
41461 } && test -s conftest
$ac_exeext &&
41462 $as_test_x conftest
$ac_exeext; then
41463 eval "$as_ac_var=yes"
41465 echo "$as_me: failed program was:" >&5
41466 sed 's/^/| /' conftest.
$ac_ext >&5
41468 eval "$as_ac_var=no"
41471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41472 conftest
$ac_exeext conftest.
$ac_ext
41474 ac_res
=`eval echo '${'$as_ac_var'}'`
41475 { echo "$as_me:$LINENO: result: $ac_res" >&5
41476 echo "${ECHO_T}$ac_res" >&6; }
41477 if test `eval echo '${'$as_ac_var'}'` = yes; then
41478 cat >>confdefs.h
<<_ACEOF
41479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41486 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41487 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41488 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41489 echo $ECHO_N "(cached) $ECHO_C" >&6
41493 ac_cpp
='$CXXCPP $CPPFLAGS'
41494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41498 cat >conftest.
$ac_ext <<_ACEOF
41501 cat confdefs.h
>>conftest.
$ac_ext
41502 cat >>conftest.
$ac_ext <<_ACEOF
41503 /* end confdefs.h. */
41504 #include <pthread.h>
41505 void ThreadCleanupFunc(void *p);
41512 pthread_cleanup_push(ThreadCleanupFunc, p);
41513 pthread_cleanup_pop(0);
41519 rm -f conftest.
$ac_objext
41520 if { (ac_try
="$ac_compile"
41521 case "(($ac_try" in
41522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41523 *) ac_try_echo=$ac_try;;
41525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41526 (eval "$ac_compile") 2>conftest.er1
41528 grep -v '^ *+' conftest.er1 >conftest.err
41530 cat conftest.err >&5
41531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532 (exit $ac_status); } && {
41533 test -z "$ac_cxx_werror_flag" ||
41534 test ! -s conftest.err
41535 } && test -s conftest.$ac_objext; then
41537 wx_cv_func_pthread_cleanup=yes
41540 echo "$as_me: failed program was:" >&5
41541 sed 's/^/| /' conftest.$ac_ext >&5
41544 wx_cv_func_pthread_cleanup=no
41549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41558 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41559 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41560 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41561 cat >>confdefs.h <<\_ACEOF
41562 #define wxHAVE_PTHREAD_CLEANUP 1
41568 for ac_header in sched.h
41570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41574 echo $ECHO_N "(cached) $ECHO_C" >&6
41576 cat >conftest.$ac_ext <<_ACEOF
41579 cat confdefs.h >>conftest.$ac_ext
41580 cat >>conftest.$ac_ext <<_ACEOF
41581 /* end confdefs.h. */
41582 $ac_includes_default
41584 #include <$ac_header>
41586 rm -f conftest.$ac_objext
41587 if { (ac_try="$ac_compile"
41588 case "(($ac_try" in
41589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41590 *) ac_try_echo
=$ac_try;;
41592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41593 (eval "$ac_compile") 2>conftest.er1
41595 grep -v '^ *+' conftest.er1
>conftest.err
41597 cat conftest.err
>&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); } && {
41600 test -z "$ac_c_werror_flag" ||
41601 test ! -s conftest.err
41602 } && test -s conftest.
$ac_objext; then
41603 eval "$as_ac_Header=yes"
41605 echo "$as_me: failed program was:" >&5
41606 sed 's/^/| /' conftest.
$ac_ext >&5
41608 eval "$as_ac_Header=no"
41611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41613 ac_res
=`eval echo '${'$as_ac_Header'}'`
41614 { echo "$as_me:$LINENO: result: $ac_res" >&5
41615 echo "${ECHO_T}$ac_res" >&6; }
41616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41617 cat >>confdefs.h
<<_ACEOF
41618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41625 if test "$ac_cv_header_sched_h" = "yes"; then
41626 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41627 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41628 if test "${ac_cv_func_sched_yield+set}" = set; then
41629 echo $ECHO_N "(cached) $ECHO_C" >&6
41631 cat >conftest.
$ac_ext <<_ACEOF
41634 cat confdefs.h
>>conftest.
$ac_ext
41635 cat >>conftest.
$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41637 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41639 #define sched_yield innocuous_sched_yield
41641 /* System header to define __stub macros and hopefully few prototypes,
41642 which can conflict with char sched_yield (); below.
41643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41644 <limits.h> exists even on freestanding compilers. */
41647 # include <limits.h>
41649 # include <assert.h>
41654 /* Override any GCC internal prototype to avoid an error.
41655 Use char because int might match the return type of a GCC
41656 builtin and then its argument prototype would still apply. */
41660 char sched_yield ();
41661 /* The GNU C library defines this for functions which it implements
41662 to always fail with ENOSYS. Some functions are actually named
41663 something starting with __ and the normal name is an alias. */
41664 #if defined __stub_sched_yield || defined __stub___sched_yield
41671 return sched_yield ();
41676 rm -f conftest.
$ac_objext conftest
$ac_exeext
41677 if { (ac_try
="$ac_link"
41678 case "(($ac_try" in
41679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41680 *) ac_try_echo=$ac_try;;
41682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41683 (eval "$ac_link") 2>conftest.er1
41685 grep -v '^ *+' conftest.er1 >conftest.err
41687 cat conftest.err >&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); } && {
41690 test -z "$ac_c_werror_flag" ||
41691 test ! -s conftest.err
41692 } && test -s conftest$ac_exeext &&
41693 $as_test_x conftest$ac_exeext; then
41694 ac_cv_func_sched_yield=yes
41696 echo "$as_me: failed program was:" >&5
41697 sed 's/^/| /' conftest.$ac_ext >&5
41699 ac_cv_func_sched_yield=no
41702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41703 conftest$ac_exeext conftest.$ac_ext
41705 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41706 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41707 if test $ac_cv_func_sched_yield = yes; then
41708 cat >>confdefs.h <<\_ACEOF
41709 #define HAVE_SCHED_YIELD 1
41714 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41715 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41716 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41717 echo $ECHO_N "(cached) $ECHO_C" >&6
41719 ac_check_lib_save_LIBS=$LIBS
41720 LIBS="-lposix4 $LIBS"
41721 cat >conftest.$ac_ext <<_ACEOF
41724 cat confdefs.h >>conftest.$ac_ext
41725 cat >>conftest.$ac_ext <<_ACEOF
41726 /* end confdefs.h. */
41728 /* Override any GCC internal prototype to avoid an error.
41729 Use char because int might match the return type of a GCC
41730 builtin and then its argument prototype would still apply. */
41734 char sched_yield ();
41738 return sched_yield ();
41743 rm -f conftest.$ac_objext conftest$ac_exeext
41744 if { (ac_try="$ac_link"
41745 case "(($ac_try" in
41746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41747 *) ac_try_echo
=$ac_try;;
41749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41750 (eval "$ac_link") 2>conftest.er1
41752 grep -v '^ *+' conftest.er1
>conftest.err
41754 cat conftest.err
>&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } && {
41757 test -z "$ac_c_werror_flag" ||
41758 test ! -s conftest.err
41759 } && test -s conftest
$ac_exeext &&
41760 $as_test_x conftest
$ac_exeext; then
41761 ac_cv_lib_posix4_sched_yield
=yes
41763 echo "$as_me: failed program was:" >&5
41764 sed 's/^/| /' conftest.
$ac_ext >&5
41766 ac_cv_lib_posix4_sched_yield
=no
41769 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41770 conftest
$ac_exeext conftest.
$ac_ext
41771 LIBS
=$ac_check_lib_save_LIBS
41773 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41774 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41775 if test $ac_cv_lib_posix4_sched_yield = yes; then
41776 cat >>confdefs.h
<<\_ACEOF
41777 #define HAVE_SCHED_YIELD 1
41779 POSIX4_LINK
=" -lposix4"
41781 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41782 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41793 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41794 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41795 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41796 echo $ECHO_N "(cached) $ECHO_C" >&6
41798 cat >conftest.
$ac_ext <<_ACEOF
41801 cat confdefs.h
>>conftest.
$ac_ext
41802 cat >>conftest.
$ac_ext <<_ACEOF
41803 /* end confdefs.h. */
41804 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41806 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41808 /* System header to define __stub macros and hopefully few prototypes,
41809 which can conflict with char pthread_attr_getschedpolicy (); below.
41810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41811 <limits.h> exists even on freestanding compilers. */
41814 # include <limits.h>
41816 # include <assert.h>
41819 #undef pthread_attr_getschedpolicy
41821 /* Override any GCC internal prototype to avoid an error.
41822 Use char because int might match the return type of a GCC
41823 builtin and then its argument prototype would still apply. */
41827 char pthread_attr_getschedpolicy ();
41828 /* The GNU C library defines this for functions which it implements
41829 to always fail with ENOSYS. Some functions are actually named
41830 something starting with __ and the normal name is an alias. */
41831 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41838 return pthread_attr_getschedpolicy ();
41843 rm -f conftest.
$ac_objext conftest
$ac_exeext
41844 if { (ac_try
="$ac_link"
41845 case "(($ac_try" in
41846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41847 *) ac_try_echo=$ac_try;;
41849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41850 (eval "$ac_link") 2>conftest.er1
41852 grep -v '^ *+' conftest.er1 >conftest.err
41854 cat conftest.err >&5
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); } && {
41857 test -z "$ac_c_werror_flag" ||
41858 test ! -s conftest.err
41859 } && test -s conftest$ac_exeext &&
41860 $as_test_x conftest$ac_exeext; then
41861 ac_cv_func_pthread_attr_getschedpolicy=yes
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41866 ac_cv_func_pthread_attr_getschedpolicy=no
41869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41870 conftest$ac_exeext conftest.$ac_ext
41872 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41873 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41874 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41875 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41876 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41877 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41878 echo $ECHO_N "(cached) $ECHO_C" >&6
41880 cat >conftest.$ac_ext <<_ACEOF
41883 cat confdefs.h >>conftest.$ac_ext
41884 cat >>conftest.$ac_ext <<_ACEOF
41885 /* end confdefs.h. */
41886 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41888 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41890 /* System header to define __stub macros and hopefully few prototypes,
41891 which can conflict with char pthread_attr_setschedparam (); below.
41892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41893 <limits.h> exists even on freestanding compilers. */
41896 # include <limits.h>
41898 # include <assert.h>
41901 #undef pthread_attr_setschedparam
41903 /* Override any GCC internal prototype to avoid an error.
41904 Use char because int might match the return type of a GCC
41905 builtin and then its argument prototype would still apply. */
41909 char pthread_attr_setschedparam ();
41910 /* The GNU C library defines this for functions which it implements
41911 to always fail with ENOSYS. Some functions are actually named
41912 something starting with __ and the normal name is an alias. */
41913 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41920 return pthread_attr_setschedparam ();
41925 rm -f conftest.$ac_objext conftest$ac_exeext
41926 if { (ac_try="$ac_link"
41927 case "(($ac_try" in
41928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41929 *) ac_try_echo
=$ac_try;;
41931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41932 (eval "$ac_link") 2>conftest.er1
41934 grep -v '^ *+' conftest.er1
>conftest.err
41936 cat conftest.err
>&5
41937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 (exit $ac_status); } && {
41939 test -z "$ac_c_werror_flag" ||
41940 test ! -s conftest.err
41941 } && test -s conftest
$ac_exeext &&
41942 $as_test_x conftest
$ac_exeext; then
41943 ac_cv_func_pthread_attr_setschedparam
=yes
41945 echo "$as_me: failed program was:" >&5
41946 sed 's/^/| /' conftest.
$ac_ext >&5
41948 ac_cv_func_pthread_attr_setschedparam
=no
41951 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41952 conftest
$ac_exeext conftest.
$ac_ext
41954 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41955 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41956 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41957 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41958 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41959 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41960 echo $ECHO_N "(cached) $ECHO_C" >&6
41962 cat >conftest.
$ac_ext <<_ACEOF
41965 cat confdefs.h
>>conftest.
$ac_ext
41966 cat >>conftest.
$ac_ext <<_ACEOF
41967 /* end confdefs.h. */
41968 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41970 #define sched_get_priority_max innocuous_sched_get_priority_max
41972 /* System header to define __stub macros and hopefully few prototypes,
41973 which can conflict with char sched_get_priority_max (); below.
41974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41975 <limits.h> exists even on freestanding compilers. */
41978 # include <limits.h>
41980 # include <assert.h>
41983 #undef sched_get_priority_max
41985 /* Override any GCC internal prototype to avoid an error.
41986 Use char because int might match the return type of a GCC
41987 builtin and then its argument prototype would still apply. */
41991 char sched_get_priority_max ();
41992 /* The GNU C library defines this for functions which it implements
41993 to always fail with ENOSYS. Some functions are actually named
41994 something starting with __ and the normal name is an alias. */
41995 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42002 return sched_get_priority_max ();
42007 rm -f conftest.
$ac_objext conftest
$ac_exeext
42008 if { (ac_try
="$ac_link"
42009 case "(($ac_try" in
42010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42011 *) ac_try_echo=$ac_try;;
42013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42014 (eval "$ac_link") 2>conftest.er1
42016 grep -v '^ *+' conftest.er1 >conftest.err
42018 cat conftest.err >&5
42019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42020 (exit $ac_status); } && {
42021 test -z "$ac_c_werror_flag" ||
42022 test ! -s conftest.err
42023 } && test -s conftest$ac_exeext &&
42024 $as_test_x conftest$ac_exeext; then
42025 ac_cv_func_sched_get_priority_max=yes
42027 echo "$as_me: failed program was:" >&5
42028 sed 's/^/| /' conftest.$ac_ext >&5
42030 ac_cv_func_sched_get_priority_max=no
42033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42034 conftest$ac_exeext conftest.$ac_ext
42036 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42037 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42038 if test $ac_cv_func_sched_get_priority_max = yes; then
42041 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42042 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42043 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42044 echo $ECHO_N "(cached) $ECHO_C" >&6
42046 ac_check_lib_save_LIBS=$LIBS
42047 LIBS="-lposix4 $LIBS"
42048 cat >conftest.$ac_ext <<_ACEOF
42051 cat confdefs.h >>conftest.$ac_ext
42052 cat >>conftest.$ac_ext <<_ACEOF
42053 /* end confdefs.h. */
42055 /* Override any GCC internal prototype to avoid an error.
42056 Use char because int might match the return type of a GCC
42057 builtin and then its argument prototype would still apply. */
42061 char sched_get_priority_max ();
42065 return sched_get_priority_max ();
42070 rm -f conftest.$ac_objext conftest$ac_exeext
42071 if { (ac_try="$ac_link"
42072 case "(($ac_try" in
42073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42074 *) ac_try_echo
=$ac_try;;
42076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42077 (eval "$ac_link") 2>conftest.er1
42079 grep -v '^ *+' conftest.er1
>conftest.err
42081 cat conftest.err
>&5
42082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42083 (exit $ac_status); } && {
42084 test -z "$ac_c_werror_flag" ||
42085 test ! -s conftest.err
42086 } && test -s conftest
$ac_exeext &&
42087 $as_test_x conftest
$ac_exeext; then
42088 ac_cv_lib_posix4_sched_get_priority_max
=yes
42090 echo "$as_me: failed program was:" >&5
42091 sed 's/^/| /' conftest.
$ac_ext >&5
42093 ac_cv_lib_posix4_sched_get_priority_max
=no
42096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42097 conftest
$ac_exeext conftest.
$ac_ext
42098 LIBS
=$ac_check_lib_save_LIBS
42100 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42101 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42102 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42105 POSIX4_LINK
=" -lposix4"
42119 if test "$HAVE_PRIOR_FUNCS" = 1; then
42120 cat >>confdefs.h
<<\_ACEOF
42121 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42125 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42126 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42129 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42130 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42131 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42132 echo $ECHO_N "(cached) $ECHO_C" >&6
42134 cat >conftest.
$ac_ext <<_ACEOF
42137 cat confdefs.h
>>conftest.
$ac_ext
42138 cat >>conftest.
$ac_ext <<_ACEOF
42139 /* end confdefs.h. */
42140 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42142 #define pthread_cancel innocuous_pthread_cancel
42144 /* System header to define __stub macros and hopefully few prototypes,
42145 which can conflict with char pthread_cancel (); below.
42146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42147 <limits.h> exists even on freestanding compilers. */
42150 # include <limits.h>
42152 # include <assert.h>
42155 #undef pthread_cancel
42157 /* Override any GCC internal prototype to avoid an error.
42158 Use char because int might match the return type of a GCC
42159 builtin and then its argument prototype would still apply. */
42163 char pthread_cancel ();
42164 /* The GNU C library defines this for functions which it implements
42165 to always fail with ENOSYS. Some functions are actually named
42166 something starting with __ and the normal name is an alias. */
42167 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42174 return pthread_cancel ();
42179 rm -f conftest.
$ac_objext conftest
$ac_exeext
42180 if { (ac_try
="$ac_link"
42181 case "(($ac_try" in
42182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42183 *) ac_try_echo=$ac_try;;
42185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42186 (eval "$ac_link") 2>conftest.er1
42188 grep -v '^ *+' conftest.er1 >conftest.err
42190 cat conftest.err >&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } && {
42193 test -z "$ac_c_werror_flag" ||
42194 test ! -s conftest.err
42195 } && test -s conftest$ac_exeext &&
42196 $as_test_x conftest$ac_exeext; then
42197 ac_cv_func_pthread_cancel=yes
42199 echo "$as_me: failed program was:" >&5
42200 sed 's/^/| /' conftest.$ac_ext >&5
42202 ac_cv_func_pthread_cancel=no
42205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42206 conftest$ac_exeext conftest.$ac_ext
42208 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42209 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42210 if test $ac_cv_func_pthread_cancel = yes; then
42211 cat >>confdefs.h <<\_ACEOF
42212 #define HAVE_PTHREAD_CANCEL 1
42216 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42217 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42221 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42222 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42223 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42224 echo $ECHO_N "(cached) $ECHO_C" >&6
42226 cat >conftest.$ac_ext <<_ACEOF
42229 cat confdefs.h >>conftest.$ac_ext
42230 cat >>conftest.$ac_ext <<_ACEOF
42231 /* end confdefs.h. */
42232 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42234 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42236 /* System header to define __stub macros and hopefully few prototypes,
42237 which can conflict with char pthread_mutex_timedlock (); below.
42238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42239 <limits.h> exists even on freestanding compilers. */
42242 # include <limits.h>
42244 # include <assert.h>
42247 #undef pthread_mutex_timedlock
42249 /* Override any GCC internal prototype to avoid an error.
42250 Use char because int might match the return type of a GCC
42251 builtin and then its argument prototype would still apply. */
42255 char pthread_mutex_timedlock ();
42256 /* The GNU C library defines this for functions which it implements
42257 to always fail with ENOSYS. Some functions are actually named
42258 something starting with __ and the normal name is an alias. */
42259 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42266 return pthread_mutex_timedlock ();
42271 rm -f conftest.$ac_objext conftest$ac_exeext
42272 if { (ac_try="$ac_link"
42273 case "(($ac_try" in
42274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42275 *) ac_try_echo
=$ac_try;;
42277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42278 (eval "$ac_link") 2>conftest.er1
42280 grep -v '^ *+' conftest.er1
>conftest.err
42282 cat conftest.err
>&5
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); } && {
42285 test -z "$ac_c_werror_flag" ||
42286 test ! -s conftest.err
42287 } && test -s conftest
$ac_exeext &&
42288 $as_test_x conftest
$ac_exeext; then
42289 ac_cv_func_pthread_mutex_timedlock
=yes
42291 echo "$as_me: failed program was:" >&5
42292 sed 's/^/| /' conftest.
$ac_ext >&5
42294 ac_cv_func_pthread_mutex_timedlock
=no
42297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42298 conftest
$ac_exeext conftest.
$ac_ext
42300 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42301 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42302 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42303 cat >>confdefs.h
<<\_ACEOF
42304 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42308 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42309 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42313 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42314 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42315 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42316 echo $ECHO_N "(cached) $ECHO_C" >&6
42318 cat >conftest.
$ac_ext <<_ACEOF
42321 cat confdefs.h
>>conftest.
$ac_ext
42322 cat >>conftest.
$ac_ext <<_ACEOF
42323 /* end confdefs.h. */
42324 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42326 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42328 /* System header to define __stub macros and hopefully few prototypes,
42329 which can conflict with char pthread_attr_setstacksize (); below.
42330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42331 <limits.h> exists even on freestanding compilers. */
42334 # include <limits.h>
42336 # include <assert.h>
42339 #undef pthread_attr_setstacksize
42341 /* Override any GCC internal prototype to avoid an error.
42342 Use char because int might match the return type of a GCC
42343 builtin and then its argument prototype would still apply. */
42347 char pthread_attr_setstacksize ();
42348 /* The GNU C library defines this for functions which it implements
42349 to always fail with ENOSYS. Some functions are actually named
42350 something starting with __ and the normal name is an alias. */
42351 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42358 return pthread_attr_setstacksize ();
42363 rm -f conftest.
$ac_objext conftest
$ac_exeext
42364 if { (ac_try
="$ac_link"
42365 case "(($ac_try" in
42366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42367 *) ac_try_echo=$ac_try;;
42369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42370 (eval "$ac_link") 2>conftest.er1
42372 grep -v '^ *+' conftest.er1 >conftest.err
42374 cat conftest.err >&5
42375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42376 (exit $ac_status); } && {
42377 test -z "$ac_c_werror_flag" ||
42378 test ! -s conftest.err
42379 } && test -s conftest$ac_exeext &&
42380 $as_test_x conftest$ac_exeext; then
42381 ac_cv_func_pthread_attr_setstacksize=yes
42383 echo "$as_me: failed program was:" >&5
42384 sed 's/^/| /' conftest.$ac_ext >&5
42386 ac_cv_func_pthread_attr_setstacksize=no
42389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42390 conftest$ac_exeext conftest.$ac_ext
42392 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42393 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42394 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42395 cat >>confdefs.h <<\_ACEOF
42396 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42403 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42404 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42405 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42409 cat >conftest.$ac_ext <<_ACEOF
42412 cat confdefs.h >>conftest.$ac_ext
42413 cat >>conftest.$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42415 #include <pthread.h>
42420 pthread_mutexattr_t attr;
42421 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42427 rm -f conftest.$ac_objext
42428 if { (ac_try="$ac_compile"
42429 case "(($ac_try" in
42430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42431 *) ac_try_echo
=$ac_try;;
42433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42434 (eval "$ac_compile") 2>conftest.er1
42436 grep -v '^ *+' conftest.er1
>conftest.err
42438 cat conftest.err
>&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } && {
42441 test -z "$ac_c_werror_flag" ||
42442 test ! -s conftest.err
42443 } && test -s conftest.
$ac_objext; then
42444 wx_cv_type_pthread_mutexattr_t
=yes
42446 echo "$as_me: failed program was:" >&5
42447 sed 's/^/| /' conftest.
$ac_ext >&5
42449 wx_cv_type_pthread_mutexattr_t
=no
42453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42456 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42457 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42459 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42460 cat >>confdefs.h
<<\_ACEOF
42461 #define HAVE_PTHREAD_MUTEXATTR_T 1
42465 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42466 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42467 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42468 echo $ECHO_N "(cached) $ECHO_C" >&6
42471 cat >conftest.
$ac_ext <<_ACEOF
42474 cat confdefs.h
>>conftest.
$ac_ext
42475 cat >>conftest.
$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477 #include <pthread.h>
42482 pthread_mutexattr_t attr;
42483 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42489 rm -f conftest.
$ac_objext
42490 if { (ac_try
="$ac_compile"
42491 case "(($ac_try" in
42492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42493 *) ac_try_echo=$ac_try;;
42495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42496 (eval "$ac_compile") 2>conftest.er1
42498 grep -v '^ *+' conftest.er1 >conftest.err
42500 cat conftest.err >&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); } && {
42503 test -z "$ac_c_werror_flag" ||
42504 test ! -s conftest.err
42505 } && test -s conftest.$ac_objext; then
42506 wx_cv_func_pthread_mutexattr_settype_decl=yes
42508 echo "$as_me: failed program was:" >&5
42509 sed 's/^/| /' conftest.$ac_ext >&5
42511 wx_cv_func_pthread_mutexattr_settype_decl=no
42515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42518 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42519 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42520 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42521 cat >>confdefs.h <<\_ACEOF
42522 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42527 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42528 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42529 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42530 echo $ECHO_N "(cached) $ECHO_C" >&6
42533 cat >conftest.$ac_ext <<_ACEOF
42536 cat confdefs.h >>conftest.$ac_ext
42537 cat >>conftest.$ac_ext <<_ACEOF
42538 /* end confdefs.h. */
42539 #include <pthread.h>
42544 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42550 rm -f conftest.$ac_objext
42551 if { (ac_try="$ac_compile"
42552 case "(($ac_try" in
42553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42554 *) ac_try_echo
=$ac_try;;
42556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42557 (eval "$ac_compile") 2>conftest.er1
42559 grep -v '^ *+' conftest.er1
>conftest.err
42561 cat conftest.err
>&5
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); } && {
42564 test -z "$ac_c_werror_flag" ||
42565 test ! -s conftest.err
42566 } && test -s conftest.
$ac_objext; then
42568 wx_cv_type_pthread_rec_mutex_init
=yes
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.
$ac_ext >&5
42575 wx_cv_type_pthread_rec_mutex_init
=no
42580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42583 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42584 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42585 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42586 cat >>confdefs.h
<<\_ACEOF
42587 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42591 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42592 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42598 if test "$wxUSE_THREADS" = "yes" ; then
42601 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42602 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42603 if test "${wx_cv_cflags_mthread+set}" = set; then
42604 echo $ECHO_N "(cached) $ECHO_C" >&6
42607 CFLAGS_OLD
="$CFLAGS"
42608 CFLAGS
="-mthreads $CFLAGS"
42609 cat >conftest.
$ac_ext <<_ACEOF
42612 cat confdefs.h
>>conftest.
$ac_ext
42613 cat >>conftest.
$ac_ext <<_ACEOF
42614 /* end confdefs.h. */
42624 rm -f conftest.
$ac_objext
42625 if { (ac_try
="$ac_compile"
42626 case "(($ac_try" in
42627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42628 *) ac_try_echo=$ac_try;;
42630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42631 (eval "$ac_compile") 2>conftest.er1
42633 grep -v '^ *+' conftest.er1 >conftest.err
42635 cat conftest.err >&5
42636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42637 (exit $ac_status); } && {
42638 test -z "$ac_c_werror_flag" ||
42639 test ! -s conftest.err
42640 } && test -s conftest.$ac_objext; then
42641 wx_cv_cflags_mthread=yes
42643 echo "$as_me: failed program was:" >&5
42644 sed 's/^/| /' conftest.$ac_ext >&5
42646 wx_cv_cflags_mthread=no
42650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42654 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42655 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42657 if test "$wx_cv_cflags_mthread" = "yes"; then
42658 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42659 LDFLAGS="$LDFLAGS -mthreads"
42661 CFLAGS="$CFLAGS_OLD"
42665 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42666 LDFLAGS="$LDFLAGS -Zmt"
42672 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42673 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42674 if test "${ac_cv_func_localtime_r+set}" = set; then
42675 echo $ECHO_N "(cached) $ECHO_C" >&6
42677 cat >conftest.$ac_ext <<_ACEOF
42680 cat confdefs.h >>conftest.$ac_ext
42681 cat >>conftest.$ac_ext <<_ACEOF
42682 /* end confdefs.h. */
42683 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42685 #define localtime_r innocuous_localtime_r
42687 /* System header to define __stub macros and hopefully few prototypes,
42688 which can conflict with char localtime_r (); below.
42689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42690 <limits.h> exists even on freestanding compilers. */
42693 # include <limits.h>
42695 # include <assert.h>
42700 /* Override any GCC internal prototype to avoid an error.
42701 Use char because int might match the return type of a GCC
42702 builtin and then its argument prototype would still apply. */
42706 char localtime_r ();
42707 /* The GNU C library defines this for functions which it implements
42708 to always fail with ENOSYS. Some functions are actually named
42709 something starting with __ and the normal name is an alias. */
42710 #if defined __stub_localtime_r || defined __stub___localtime_r
42717 return localtime_r ();
42722 rm -f conftest.$ac_objext conftest$ac_exeext
42723 if { (ac_try="$ac_link"
42724 case "(($ac_try" in
42725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42726 *) ac_try_echo
=$ac_try;;
42728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42729 (eval "$ac_link") 2>conftest.er1
42731 grep -v '^ *+' conftest.er1
>conftest.err
42733 cat conftest.err
>&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } && {
42736 test -z "$ac_c_werror_flag" ||
42737 test ! -s conftest.err
42738 } && test -s conftest
$ac_exeext &&
42739 $as_test_x conftest
$ac_exeext; then
42740 ac_cv_func_localtime_r
=yes
42742 echo "$as_me: failed program was:" >&5
42743 sed 's/^/| /' conftest.
$ac_ext >&5
42745 ac_cv_func_localtime_r
=no
42748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42749 conftest
$ac_exeext conftest.
$ac_ext
42751 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42752 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42753 if test $ac_cv_func_localtime_r = yes; then
42754 cat >>confdefs.h
<<\_ACEOF
42755 #define HAVE_LOCALTIME_R 1
42760 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42761 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42762 if test "${ac_cv_func_gmtime_r+set}" = set; then
42763 echo $ECHO_N "(cached) $ECHO_C" >&6
42765 cat >conftest.
$ac_ext <<_ACEOF
42768 cat confdefs.h
>>conftest.
$ac_ext
42769 cat >>conftest.
$ac_ext <<_ACEOF
42770 /* end confdefs.h. */
42771 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42773 #define gmtime_r innocuous_gmtime_r
42775 /* System header to define __stub macros and hopefully few prototypes,
42776 which can conflict with char gmtime_r (); below.
42777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42778 <limits.h> exists even on freestanding compilers. */
42781 # include <limits.h>
42783 # include <assert.h>
42788 /* Override any GCC internal prototype to avoid an error.
42789 Use char because int might match the return type of a GCC
42790 builtin and then its argument prototype would still apply. */
42795 /* The GNU C library defines this for functions which it implements
42796 to always fail with ENOSYS. Some functions are actually named
42797 something starting with __ and the normal name is an alias. */
42798 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42805 return gmtime_r ();
42810 rm -f conftest.
$ac_objext conftest
$ac_exeext
42811 if { (ac_try
="$ac_link"
42812 case "(($ac_try" in
42813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42814 *) ac_try_echo=$ac_try;;
42816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42817 (eval "$ac_link") 2>conftest.er1
42819 grep -v '^ *+' conftest.er1 >conftest.err
42821 cat conftest.err >&5
42822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42823 (exit $ac_status); } && {
42824 test -z "$ac_c_werror_flag" ||
42825 test ! -s conftest.err
42826 } && test -s conftest$ac_exeext &&
42827 $as_test_x conftest$ac_exeext; then
42828 ac_cv_func_gmtime_r=yes
42830 echo "$as_me: failed program was:" >&5
42831 sed 's/^/| /' conftest.$ac_ext >&5
42833 ac_cv_func_gmtime_r=no
42836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42837 conftest$ac_exeext conftest.$ac_ext
42839 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42840 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42841 if test $ac_cv_func_gmtime_r = yes; then
42842 cat >>confdefs.h <<\_ACEOF
42843 #define HAVE_GMTIME_R 1
42852 ac_cpp='$CPP $CPPFLAGS'
42853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42857 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42858 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42860 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42861 echo $ECHO_N "(cached) $ECHO_C" >&6
42865 ################################################################
42867 ac_cv_func_which_gethostbyname_r=unknown
42870 # ONE ARGUMENT (sanity check)
42873 # This should fail, as there is no variant of gethostbyname_r() that takes
42874 # a single argument. If it actually compiles, then we can assume that
42875 # netdb.h is not declaring the function, and the compiler is thereby
42876 # assuming an implicit prototype. In which case, we're out of luck.
42878 cat >conftest.$ac_ext <<_ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42889 char *name = "www.gnu.org";
42890 (void)gethostbyname_r(name) /* ; */
42896 rm -f conftest.$ac_objext
42897 if { (ac_try="$ac_compile"
42898 case "(($ac_try" in
42899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42900 *) ac_try_echo
=$ac_try;;
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_compile") 2>conftest.er1
42905 grep -v '^ *+' conftest.er1
>conftest.err
42907 cat conftest.err
>&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest.
$ac_objext; then
42913 ac_cv_func_which_gethostbyname_r
=no
42915 echo "$as_me: failed program was:" >&5
42916 sed 's/^/| /' conftest.
$ac_ext >&5
42921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42928 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42930 cat >conftest.
$ac_ext <<_ACEOF
42933 cat confdefs.h
>>conftest.
$ac_ext
42934 cat >>conftest.
$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42941 char *name = "www.gnu.org";
42942 struct hostent ret, *retp;
42946 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42952 rm -f conftest.
$ac_objext
42953 if { (ac_try
="$ac_compile"
42954 case "(($ac_try" in
42955 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42956 *) ac_try_echo=$ac_try;;
42958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42959 (eval "$ac_compile") 2>conftest.er1
42961 grep -v '^ *+' conftest.er1 >conftest.err
42963 cat conftest.err >&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); } && {
42966 test -z "$ac_c_werror_flag" ||
42967 test ! -s conftest.err
42968 } && test -s conftest.$ac_objext; then
42969 ac_cv_func_which_gethostbyname_r=six
42971 echo "$as_me: failed program was:" >&5
42972 sed 's/^/| /' conftest.$ac_ext >&5
42977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42988 cat >conftest.$ac_ext <<_ACEOF
42991 cat confdefs.h >>conftest.$ac_ext
42992 cat >>conftest.$ac_ext <<_ACEOF
42993 /* end confdefs.h. */
42999 char *name = "www.gnu.org";
43000 struct hostent ret;
43004 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43010 rm -f conftest.$ac_objext
43011 if { (ac_try="$ac_compile"
43012 case "(($ac_try" in
43013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43014 *) ac_try_echo
=$ac_try;;
43016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43017 (eval "$ac_compile") 2>conftest.er1
43019 grep -v '^ *+' conftest.er1
>conftest.err
43021 cat conftest.err
>&5
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); } && {
43024 test -z "$ac_c_werror_flag" ||
43025 test ! -s conftest.err
43026 } && test -s conftest.
$ac_objext; then
43027 ac_cv_func_which_gethostbyname_r
=five
43029 echo "$as_me: failed program was:" >&5
43030 sed 's/^/| /' conftest.
$ac_ext >&5
43035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43041 # (e.g. AIX, HP-UX, Tru64)
43044 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43046 cat >conftest.
$ac_ext <<_ACEOF
43049 cat confdefs.h
>>conftest.
$ac_ext
43050 cat >>conftest.
$ac_ext <<_ACEOF
43051 /* end confdefs.h. */
43057 char *name = "www.gnu.org";
43058 struct hostent ret;
43059 struct hostent_data data;
43060 (void)gethostbyname_r(name, &ret, &data) /* ; */
43066 rm -f conftest.
$ac_objext
43067 if { (ac_try
="$ac_compile"
43068 case "(($ac_try" in
43069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43070 *) ac_try_echo=$ac_try;;
43072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43073 (eval "$ac_compile") 2>conftest.er1
43075 grep -v '^ *+' conftest.er1 >conftest.err
43077 cat conftest.err >&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); } && {
43080 test -z "$ac_c_werror_flag" ||
43081 test ! -s conftest.err
43082 } && test -s conftest.$ac_objext; then
43083 ac_cv_func_which_gethostbyname_r=three
43085 echo "$as_me: failed program was:" >&5
43086 sed 's/^/| /' conftest.$ac_ext >&5
43091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43095 ################################################################
43100 case "$ac_cv_func_which_gethostbyname_r" in
43102 { echo "$as_me:$LINENO: result: three" >&5
43103 echo "${ECHO_T}three" >&6; }
43104 cat >>confdefs.h <<\_ACEOF
43105 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43111 { echo "$as_me:$LINENO: result: five" >&5
43112 echo "${ECHO_T}five" >&6; }
43113 cat >>confdefs.h <<\_ACEOF
43114 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43120 { echo "$as_me:$LINENO: result: six" >&5
43121 echo "${ECHO_T}six" >&6; }
43122 cat >>confdefs.h <<\_ACEOF
43123 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43129 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43130 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43134 { echo "$as_me:$LINENO: result: can't tell" >&5
43135 echo "${ECHO_T}can't tell" >&6; }
43139 { { echo "$as_me:$LINENO: error: internal error" >&5
43140 echo "$as_me: error: internal error" >&2;}
43141 { (exit 1); exit 1; }; }
43146 ac_cpp='$CPP $CPPFLAGS'
43147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43153 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43154 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43155 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43156 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43157 if test "${ac_cv_func_gethostbyname+set}" = set; then
43158 echo $ECHO_N "(cached) $ECHO_C" >&6
43160 cat >conftest.$ac_ext <<_ACEOF
43163 cat confdefs.h >>conftest.$ac_ext
43164 cat >>conftest.$ac_ext <<_ACEOF
43165 /* end confdefs.h. */
43166 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43168 #define gethostbyname innocuous_gethostbyname
43170 /* System header to define __stub macros and hopefully few prototypes,
43171 which can conflict with char gethostbyname (); below.
43172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43173 <limits.h> exists even on freestanding compilers. */
43176 # include <limits.h>
43178 # include <assert.h>
43181 #undef gethostbyname
43183 /* Override any GCC internal prototype to avoid an error.
43184 Use char because int might match the return type of a GCC
43185 builtin and then its argument prototype would still apply. */
43189 char gethostbyname ();
43190 /* The GNU C library defines this for functions which it implements
43191 to always fail with ENOSYS. Some functions are actually named
43192 something starting with __ and the normal name is an alias. */
43193 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43200 return gethostbyname ();
43205 rm -f conftest.$ac_objext conftest$ac_exeext
43206 if { (ac_try="$ac_link"
43207 case "(($ac_try" in
43208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43209 *) ac_try_echo
=$ac_try;;
43211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43212 (eval "$ac_link") 2>conftest.er1
43214 grep -v '^ *+' conftest.er1
>conftest.err
43216 cat conftest.err
>&5
43217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218 (exit $ac_status); } && {
43219 test -z "$ac_c_werror_flag" ||
43220 test ! -s conftest.err
43221 } && test -s conftest
$ac_exeext &&
43222 $as_test_x conftest
$ac_exeext; then
43223 ac_cv_func_gethostbyname
=yes
43225 echo "$as_me: failed program was:" >&5
43226 sed 's/^/| /' conftest.
$ac_ext >&5
43228 ac_cv_func_gethostbyname
=no
43231 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43232 conftest
$ac_exeext conftest.
$ac_ext
43234 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43235 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43236 if test $ac_cv_func_gethostbyname = yes; then
43237 cat >>confdefs.h
<<\_ACEOF
43238 #define HAVE_GETHOSTBYNAME 1
43245 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43246 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43247 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43248 echo $ECHO_N "(cached) $ECHO_C" >&6
43252 ac_cpp
='$CXXCPP $CPPFLAGS'
43253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43258 cat >conftest.
$ac_ext <<_ACEOF
43261 cat confdefs.h
>>conftest.
$ac_ext
43262 cat >>conftest.
$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43271 struct servent *se, *res;
43274 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43280 rm -f conftest.
$ac_objext
43281 if { (ac_try
="$ac_compile"
43282 case "(($ac_try" in
43283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43284 *) ac_try_echo=$ac_try;;
43286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43287 (eval "$ac_compile") 2>conftest.er1
43289 grep -v '^ *+' conftest.er1 >conftest.err
43291 cat conftest.err >&5
43292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43293 (exit $ac_status); } && {
43294 test -z "$ac_cxx_werror_flag" ||
43295 test ! -s conftest.err
43296 } && test -s conftest.$ac_objext; then
43297 ac_cv_func_which_getservbyname_r=six
43299 echo "$as_me: failed program was:" >&5
43300 sed 's/^/| /' conftest.$ac_ext >&5
43303 cat >conftest.$ac_ext <<_ACEOF
43306 cat confdefs.h >>conftest.$ac_ext
43307 cat >>conftest.$ac_ext <<_ACEOF
43308 /* end confdefs.h. */
43316 struct servent *se;
43319 (void) getservbyname_r(name, proto, se, buffer, buflen)
43325 rm -f conftest.$ac_objext
43326 if { (ac_try="$ac_compile"
43327 case "(($ac_try" in
43328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43329 *) ac_try_echo
=$ac_try;;
43331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43332 (eval "$ac_compile") 2>conftest.er1
43334 grep -v '^ *+' conftest.er1
>conftest.err
43336 cat conftest.err
>&5
43337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43338 (exit $ac_status); } && {
43339 test -z "$ac_cxx_werror_flag" ||
43340 test ! -s conftest.err
43341 } && test -s conftest.
$ac_objext; then
43342 ac_cv_func_which_getservbyname_r
=five
43344 echo "$as_me: failed program was:" >&5
43345 sed 's/^/| /' conftest.
$ac_ext >&5
43348 cat >conftest.
$ac_ext <<_ACEOF
43351 cat confdefs.h
>>conftest.
$ac_ext
43352 cat >>conftest.
$ac_ext <<_ACEOF
43353 /* end confdefs.h. */
43361 struct servent *se;
43362 struct servent_data data;
43363 (void) getservbyname_r(name, proto, se, &data);
43369 rm -f conftest.
$ac_objext
43370 if { (ac_try
="$ac_compile"
43371 case "(($ac_try" in
43372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43373 *) ac_try_echo=$ac_try;;
43375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43376 (eval "$ac_compile") 2>conftest.er1
43378 grep -v '^ *+' conftest.er1 >conftest.err
43380 cat conftest.err >&5
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); } && {
43383 test -z "$ac_cxx_werror_flag" ||
43384 test ! -s conftest.err
43385 } && test -s conftest.$ac_objext; then
43386 ac_cv_func_which_getservbyname_r=four
43388 echo "$as_me: failed program was:" >&5
43389 sed 's/^/| /' conftest.$ac_ext >&5
43391 ac_cv_func_which_getservbyname_r=no
43395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43407 ac_cpp='$CPP $CPPFLAGS'
43408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43415 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43416 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43418 if test $ac_cv_func_which_getservbyname_r = six; then
43419 cat >>confdefs.h <<\_ACEOF
43420 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43423 elif test $ac_cv_func_which_getservbyname_r = five; then
43424 cat >>confdefs.h <<\_ACEOF
43425 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43428 elif test $ac_cv_func_which_getservbyname_r = four; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43436 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43437 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43439 for ac_func in getservbyname
43441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43447 cat >conftest.$ac_ext <<_ACEOF
43450 cat confdefs.h >>conftest.$ac_ext
43451 cat >>conftest.$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43455 #define $ac_func innocuous_$ac_func
43457 /* System header to define __stub macros and hopefully few prototypes,
43458 which can conflict with char $ac_func (); below.
43459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43460 <limits.h> exists even on freestanding compilers. */
43463 # include <limits.h>
43465 # include <assert.h>
43470 /* Override any GCC internal prototype to avoid an error.
43471 Use char because int might match the return type of a GCC
43472 builtin and then its argument prototype would still apply. */
43477 /* The GNU C library defines this for functions which it implements
43478 to always fail with ENOSYS. Some functions are actually named
43479 something starting with __ and the normal name is an alias. */
43480 #if defined __stub_$ac_func || defined __stub___$ac_func
43487 return $ac_func ();
43492 rm -f conftest.$ac_objext conftest$ac_exeext
43493 if { (ac_try="$ac_link"
43494 case "(($ac_try" in
43495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43496 *) ac_try_echo
=$ac_try;;
43498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43499 (eval "$ac_link") 2>conftest.er1
43501 grep -v '^ *+' conftest.er1
>conftest.err
43503 cat conftest.err
>&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } && {
43506 test -z "$ac_c_werror_flag" ||
43507 test ! -s conftest.err
43508 } && test -s conftest
$ac_exeext &&
43509 $as_test_x conftest
$ac_exeext; then
43510 eval "$as_ac_var=yes"
43512 echo "$as_me: failed program was:" >&5
43513 sed 's/^/| /' conftest.
$ac_ext >&5
43515 eval "$as_ac_var=no"
43518 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43519 conftest
$ac_exeext conftest.
$ac_ext
43521 ac_res
=`eval echo '${'$as_ac_var'}'`
43522 { echo "$as_me:$LINENO: result: $ac_res" >&5
43523 echo "${ECHO_T}$ac_res" >&6; }
43524 if test `eval echo '${'$as_ac_var'}'` = yes; then
43525 cat >>confdefs.h
<<_ACEOF
43526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43528 cat >>confdefs.h
<<\_ACEOF
43529 #define HAVE_GETSERVBYNAME 1
43537 if test "$wxUSE_THREADS" = "yes"; then
43538 cat >>confdefs.h
<<\_ACEOF
43539 #define wxUSE_THREADS 1
43543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
43545 if test "$wx_cv_func_strtok_r" = "yes"; then
43546 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43547 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43548 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43549 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43550 { echo "$as_me:$LINENO: result: yes" >&5
43551 echo "${ECHO_T}yes" >&6; }
43553 { echo "$as_me:$LINENO: result: no" >&5
43554 echo "${ECHO_T}no" >&6; }
43559 if test "$WXGTK20" = 1 ; then
43560 cat >>confdefs.h
<<_ACEOF
43561 #define __WXGTK20__ $WXGTK20
43567 if test "$WXGTK12" = 1 ; then
43568 cat >>confdefs.h
<<_ACEOF
43569 #define __WXGTK12__ $WXGTK12
43574 if test "$WXGTK127" = 1 ; then
43575 cat >>confdefs.h
<<_ACEOF
43576 #define __WXGTK127__ $WXGTK127
43581 if test "$WXGPE" = 1 ; then
43582 cat >>confdefs.h
<<_ACEOF
43583 #define __WXGPE__ $WXGPE
43589 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43594 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43595 wxUSE_DEBUG_INFO
=yes
43596 if test "$GCC" = yes; then
43597 DEBUG_CFLAGS
="-ggdb"
43601 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43602 cat >>confdefs.h
<<\_ACEOF
43606 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43608 if test "$wxUSE_GTK" = 1 ; then
43609 if test "x$wxGTK_VERSION" = "x1" ; then
43610 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43615 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43616 cat >>confdefs.h
<<\_ACEOF
43617 #define wxUSE_MEMORY_TRACING 1
43620 cat >>confdefs.h
<<\_ACEOF
43621 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43624 cat >>confdefs.h
<<\_ACEOF
43625 #define wxUSE_DEBUG_NEW_ALWAYS 1
43628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
43631 if test "$wxUSE_DMALLOC" = "yes" ; then
43632 DMALLOC_LIBS
="-ldmallocthcxx"
43636 if test "$wxUSE_PROFILE" = "yes" ; then
43637 PROFILE_FLAGS
=" -pg"
43640 if test "$GCC" = "yes" ; then
43641 if test "$wxUSE_NO_RTTI" = "yes" ; then
43642 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
43644 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43645 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
43647 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43648 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
43653 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
43656 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
43662 if test "$wxUSE_OPTIMISE" = "no" ; then
43663 if test "$GCC" = yes ; then
43664 OPTIMISE_CFLAGS
="-O0"
43667 if test "$GCC" = yes ; then
43669 *-pc-os2_emx | *-pc-os2-emx )
43670 OPTIMISE_CFLAGS
="-O2"
43673 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
43677 OPTIMISE_CFLAGS
="-O"
43682 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43683 cat >>confdefs.h
<<\_ACEOF
43684 #define WXWIN_COMPATIBILITY_2_6 1
43688 WXWIN_COMPATIBILITY_2_8
="yes"
43691 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43692 cat >>confdefs.h
<<\_ACEOF
43693 #define WXWIN_COMPATIBILITY_2_8 1
43699 if test "$wxUSE_GUI" = "yes"; then
43700 cat >>confdefs.h
<<\_ACEOF
43701 #define wxUSE_GUI 1
43708 if test "$wxUSE_UNIX" = "yes"; then
43709 cat >>confdefs.h
<<\_ACEOF
43710 #define wxUSE_UNIX 1
43716 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43720 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43721 if test "$USE_DARWIN" = 1; then
43723 elif test "$USE_DOS" = 1; then
43727 for ac_func
in dlopen
43729 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43730 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43732 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43733 echo $ECHO_N "(cached) $ECHO_C" >&6
43735 cat >conftest.
$ac_ext <<_ACEOF
43738 cat confdefs.h
>>conftest.
$ac_ext
43739 cat >>conftest.
$ac_ext <<_ACEOF
43740 /* end confdefs.h. */
43741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43743 #define $ac_func innocuous_$ac_func
43745 /* System header to define __stub macros and hopefully few prototypes,
43746 which can conflict with char $ac_func (); below.
43747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43748 <limits.h> exists even on freestanding compilers. */
43751 # include <limits.h>
43753 # include <assert.h>
43758 /* Override any GCC internal prototype to avoid an error.
43759 Use char because int might match the return type of a GCC
43760 builtin and then its argument prototype would still apply. */
43765 /* The GNU C library defines this for functions which it implements
43766 to always fail with ENOSYS. Some functions are actually named
43767 something starting with __ and the normal name is an alias. */
43768 #if defined __stub_$ac_func || defined __stub___$ac_func
43775 return $ac_func ();
43780 rm -f conftest.
$ac_objext conftest
$ac_exeext
43781 if { (ac_try
="$ac_link"
43782 case "(($ac_try" in
43783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43784 *) ac_try_echo=$ac_try;;
43786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43787 (eval "$ac_link") 2>conftest.er1
43789 grep -v '^ *+' conftest.er1 >conftest.err
43791 cat conftest.err >&5
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); } && {
43794 test -z "$ac_c_werror_flag" ||
43795 test ! -s conftest.err
43796 } && test -s conftest$ac_exeext &&
43797 $as_test_x conftest$ac_exeext; then
43798 eval "$as_ac_var=yes"
43800 echo "$as_me: failed program was:" >&5
43801 sed 's/^/| /' conftest.$ac_ext >&5
43803 eval "$as_ac_var=no"
43806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43807 conftest$ac_exeext conftest.$ac_ext
43809 ac_res=`eval echo '${'$as_ac_var'}'`
43810 { echo "$as_me:$LINENO: result: $ac_res" >&5
43811 echo "${ECHO_T}$ac_res" >&6; }
43812 if test `eval echo '${'$as_ac_var'}'` = yes; then
43813 cat >>confdefs.h <<_ACEOF
43814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43817 cat >>confdefs.h <<\_ACEOF
43818 #define HAVE_DLOPEN 1
43825 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43826 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43827 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43828 echo $ECHO_N "(cached) $ECHO_C" >&6
43830 ac_check_lib_save_LIBS=$LIBS
43832 cat >conftest.$ac_ext <<_ACEOF
43835 cat confdefs.h >>conftest.$ac_ext
43836 cat >>conftest.$ac_ext <<_ACEOF
43837 /* end confdefs.h. */
43839 /* Override any GCC internal prototype to avoid an error.
43840 Use char because int might match the return type of a GCC
43841 builtin and then its argument prototype would still apply. */
43854 rm -f conftest.$ac_objext conftest$ac_exeext
43855 if { (ac_try="$ac_link"
43856 case "(($ac_try" in
43857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43858 *) ac_try_echo
=$ac_try;;
43860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43861 (eval "$ac_link") 2>conftest.er1
43863 grep -v '^ *+' conftest.er1
>conftest.err
43865 cat conftest.err
>&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } && {
43868 test -z "$ac_c_werror_flag" ||
43869 test ! -s conftest.err
43870 } && test -s conftest
$ac_exeext &&
43871 $as_test_x conftest
$ac_exeext; then
43872 ac_cv_lib_dl_dlopen
=yes
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.
$ac_ext >&5
43877 ac_cv_lib_dl_dlopen
=no
43880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43881 conftest
$ac_exeext conftest.
$ac_ext
43882 LIBS
=$ac_check_lib_save_LIBS
43884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43885 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43886 if test $ac_cv_lib_dl_dlopen = yes; then
43888 cat >>confdefs.h
<<\_ACEOF
43889 #define HAVE_DLOPEN 1
43893 DL_LINK
=" -ldl$DL_LINK"
43898 for ac_func
in shl_load
43900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43903 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43904 echo $ECHO_N "(cached) $ECHO_C" >&6
43906 cat >conftest.
$ac_ext <<_ACEOF
43909 cat confdefs.h
>>conftest.
$ac_ext
43910 cat >>conftest.
$ac_ext <<_ACEOF
43911 /* end confdefs.h. */
43912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43914 #define $ac_func innocuous_$ac_func
43916 /* System header to define __stub macros and hopefully few prototypes,
43917 which can conflict with char $ac_func (); below.
43918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43919 <limits.h> exists even on freestanding compilers. */
43922 # include <limits.h>
43924 # include <assert.h>
43929 /* Override any GCC internal prototype to avoid an error.
43930 Use char because int might match the return type of a GCC
43931 builtin and then its argument prototype would still apply. */
43936 /* The GNU C library defines this for functions which it implements
43937 to always fail with ENOSYS. Some functions are actually named
43938 something starting with __ and the normal name is an alias. */
43939 #if defined __stub_$ac_func || defined __stub___$ac_func
43946 return $ac_func ();
43951 rm -f conftest.
$ac_objext conftest
$ac_exeext
43952 if { (ac_try
="$ac_link"
43953 case "(($ac_try" in
43954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43955 *) ac_try_echo=$ac_try;;
43957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43958 (eval "$ac_link") 2>conftest.er1
43960 grep -v '^ *+' conftest.er1 >conftest.err
43962 cat conftest.err >&5
43963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43964 (exit $ac_status); } && {
43965 test -z "$ac_c_werror_flag" ||
43966 test ! -s conftest.err
43967 } && test -s conftest$ac_exeext &&
43968 $as_test_x conftest$ac_exeext; then
43969 eval "$as_ac_var=yes"
43971 echo "$as_me: failed program was:" >&5
43972 sed 's/^/| /' conftest.$ac_ext >&5
43974 eval "$as_ac_var=no"
43977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43978 conftest$ac_exeext conftest.$ac_ext
43980 ac_res=`eval echo '${'$as_ac_var'}'`
43981 { echo "$as_me:$LINENO: result: $ac_res" >&5
43982 echo "${ECHO_T}$ac_res" >&6; }
43983 if test `eval echo '${'$as_ac_var'}'` = yes; then
43984 cat >>confdefs.h <<_ACEOF
43985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43988 cat >>confdefs.h <<\_ACEOF
43989 #define HAVE_SHL_LOAD 1
43996 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43997 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43998 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43999 echo $ECHO_N "(cached) $ECHO_C" >&6
44001 ac_check_lib_save_LIBS=$LIBS
44002 LIBS="-lshl_load $LIBS"
44003 cat >conftest.$ac_ext <<_ACEOF
44006 cat confdefs.h >>conftest.$ac_ext
44007 cat >>conftest.$ac_ext <<_ACEOF
44008 /* end confdefs.h. */
44010 /* Override any GCC internal prototype to avoid an error.
44011 Use char because int might match the return type of a GCC
44012 builtin and then its argument prototype would still apply. */
44025 rm -f conftest.$ac_objext conftest$ac_exeext
44026 if { (ac_try="$ac_link"
44027 case "(($ac_try" in
44028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44029 *) ac_try_echo
=$ac_try;;
44031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44032 (eval "$ac_link") 2>conftest.er1
44034 grep -v '^ *+' conftest.er1
>conftest.err
44036 cat conftest.err
>&5
44037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038 (exit $ac_status); } && {
44039 test -z "$ac_c_werror_flag" ||
44040 test ! -s conftest.err
44041 } && test -s conftest
$ac_exeext &&
44042 $as_test_x conftest
$ac_exeext; then
44043 ac_cv_lib_shl_load_dld
=yes
44045 echo "$as_me: failed program was:" >&5
44046 sed 's/^/| /' conftest.
$ac_ext >&5
44048 ac_cv_lib_shl_load_dld
=no
44051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44052 conftest
$ac_exeext conftest.
$ac_ext
44053 LIBS
=$ac_check_lib_save_LIBS
44055 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44056 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44057 if test $ac_cv_lib_shl_load_dld = yes; then
44060 DL_LINK
=" -ldld$DL_LINK"
44076 if test "$HAVE_DL_FUNCS" = 1; then
44078 for ac_func
in dlerror
44080 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44083 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44084 echo $ECHO_N "(cached) $ECHO_C" >&6
44086 cat >conftest.
$ac_ext <<_ACEOF
44089 cat confdefs.h
>>conftest.
$ac_ext
44090 cat >>conftest.
$ac_ext <<_ACEOF
44091 /* end confdefs.h. */
44092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44094 #define $ac_func innocuous_$ac_func
44096 /* System header to define __stub macros and hopefully few prototypes,
44097 which can conflict with char $ac_func (); below.
44098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44099 <limits.h> exists even on freestanding compilers. */
44102 # include <limits.h>
44104 # include <assert.h>
44109 /* Override any GCC internal prototype to avoid an error.
44110 Use char because int might match the return type of a GCC
44111 builtin and then its argument prototype would still apply. */
44116 /* The GNU C library defines this for functions which it implements
44117 to always fail with ENOSYS. Some functions are actually named
44118 something starting with __ and the normal name is an alias. */
44119 #if defined __stub_$ac_func || defined __stub___$ac_func
44126 return $ac_func ();
44131 rm -f conftest.
$ac_objext conftest
$ac_exeext
44132 if { (ac_try
="$ac_link"
44133 case "(($ac_try" in
44134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44135 *) ac_try_echo=$ac_try;;
44137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44138 (eval "$ac_link") 2>conftest.er1
44140 grep -v '^ *+' conftest.er1 >conftest.err
44142 cat conftest.err >&5
44143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44144 (exit $ac_status); } && {
44145 test -z "$ac_c_werror_flag" ||
44146 test ! -s conftest.err
44147 } && test -s conftest$ac_exeext &&
44148 $as_test_x conftest$ac_exeext; then
44149 eval "$as_ac_var=yes"
44151 echo "$as_me: failed program was:" >&5
44152 sed 's/^/| /' conftest.$ac_ext >&5
44154 eval "$as_ac_var=no"
44157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44158 conftest$ac_exeext conftest.$ac_ext
44160 ac_res=`eval echo '${'$as_ac_var'}'`
44161 { echo "$as_me:$LINENO: result: $ac_res" >&5
44162 echo "${ECHO_T}$ac_res" >&6; }
44163 if test `eval echo '${'$as_ac_var'}'` = yes; then
44164 cat >>confdefs.h <<_ACEOF
44165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44167 cat >>confdefs.h <<\_ACEOF
44168 #define HAVE_DLERROR 1
44173 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44174 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44175 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44176 echo $ECHO_N "(cached) $ECHO_C" >&6
44178 ac_check_lib_save_LIBS=$LIBS
44180 cat >conftest.$ac_ext <<_ACEOF
44183 cat confdefs.h >>conftest.$ac_ext
44184 cat >>conftest.$ac_ext <<_ACEOF
44185 /* end confdefs.h. */
44187 /* Override any GCC internal prototype to avoid an error.
44188 Use char because int might match the return type of a GCC
44189 builtin and then its argument prototype would still apply. */
44202 rm -f conftest.$ac_objext conftest$ac_exeext
44203 if { (ac_try="$ac_link"
44204 case "(($ac_try" in
44205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44206 *) ac_try_echo
=$ac_try;;
44208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44209 (eval "$ac_link") 2>conftest.er1
44211 grep -v '^ *+' conftest.er1
>conftest.err
44213 cat conftest.err
>&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } && {
44216 test -z "$ac_c_werror_flag" ||
44217 test ! -s conftest.err
44218 } && test -s conftest
$ac_exeext &&
44219 $as_test_x conftest
$ac_exeext; then
44220 ac_cv_lib_dl_dlerror
=yes
44222 echo "$as_me: failed program was:" >&5
44223 sed 's/^/| /' conftest.
$ac_ext >&5
44225 ac_cv_lib_dl_dlerror
=no
44228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44229 conftest
$ac_exeext conftest.
$ac_ext
44230 LIBS
=$ac_check_lib_save_LIBS
44232 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44233 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44234 if test $ac_cv_lib_dl_dlerror = yes; then
44235 cat >>confdefs.h
<<\_ACEOF
44236 #define HAVE_DLERROR 1
44249 if test "$HAVE_DL_FUNCS" = 0; then
44250 if test "$HAVE_SHL_FUNCS" = 0; then
44251 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44252 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44253 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44254 wxUSE_DYNAMIC_LOADER
=no
44255 wxUSE_DYNLIB_CLASS
=no
44257 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44258 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44265 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44266 cat >>confdefs.h
<<\_ACEOF
44267 #define wxUSE_DYNAMIC_LOADER 1
44271 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44272 cat >>confdefs.h
<<\_ACEOF
44273 #define wxUSE_DYNLIB_CLASS 1
44280 if test "$wxUSE_PLUGINS" = "yes" ; then
44281 if test "$wxUSE_SHARED" = "no" ; then
44282 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44283 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44286 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44287 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44288 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44291 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44292 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44293 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44296 if test "$wxUSE_PLUGINS" = "yes" ; then
44297 cat >>confdefs.h
<<\_ACEOF
44298 #define wxUSE_PLUGINS 1
44305 if test "$wxUSE_STL" = "yes"; then
44306 cat >>confdefs.h
<<\_ACEOF
44307 #define wxUSE_STL 1
44312 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44313 cat >>confdefs.h
<<\_ACEOF
44314 #define wxUSE_EXTENDED_RTTI 1
44319 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44320 cat >>confdefs.h
<<\_ACEOF
44321 #define wxUSE_APPLE_IEEE 1
44326 if test "$wxUSE_TIMER" = "yes"; then
44327 cat >>confdefs.h
<<\_ACEOF
44328 #define wxUSE_TIMER 1
44333 if test "$USE_UNIX" = "1" ; then
44334 if test "$wxUSE_MGL" != 1; then
44335 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44336 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44337 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44338 echo $ECHO_N "(cached) $ECHO_C" >&6
44341 cat >conftest.
$ac_ext <<_ACEOF
44344 cat confdefs.h
>>conftest.
$ac_ext
44345 cat >>conftest.
$ac_ext <<_ACEOF
44346 /* end confdefs.h. */
44348 #include <sys/ioctl.h>
44349 #include <sys/soundcard.h>
44355 ioctl(0, SNDCTL_DSP_SPEED, 0);
44361 rm -f conftest.
$ac_objext conftest
$ac_exeext
44362 if { (ac_try
="$ac_link"
44363 case "(($ac_try" in
44364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44365 *) ac_try_echo=$ac_try;;
44367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44368 (eval "$ac_link") 2>conftest.er1
44370 grep -v '^ *+' conftest.er1 >conftest.err
44372 cat conftest.err >&5
44373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44374 (exit $ac_status); } && {
44375 test -z "$ac_c_werror_flag" ||
44376 test ! -s conftest.err
44377 } && test -s conftest$ac_exeext &&
44378 $as_test_x conftest$ac_exeext; then
44379 ac_cv_header_sys_soundcard=yes
44381 echo "$as_me: failed program was:" >&5
44382 sed 's/^/| /' conftest.$ac_ext >&5
44386 LIBS="$saveLibs -lossaudio"
44387 cat >conftest.$ac_ext <<_ACEOF
44390 cat confdefs.h >>conftest.$ac_ext
44391 cat >>conftest.$ac_ext <<_ACEOF
44392 /* end confdefs.h. */
44394 #include <sys/ioctl.h>
44395 #include <sys/soundcard.h>
44401 ioctl(0, SNDCTL_DSP_SPEED, 0);
44407 rm -f conftest.$ac_objext conftest$ac_exeext
44408 if { (ac_try="$ac_link"
44409 case "(($ac_try" in
44410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44411 *) ac_try_echo
=$ac_try;;
44413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44414 (eval "$ac_link") 2>conftest.er1
44416 grep -v '^ *+' conftest.er1
>conftest.err
44418 cat conftest.err
>&5
44419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); } && {
44421 test -z "$ac_c_werror_flag" ||
44422 test ! -s conftest.err
44423 } && test -s conftest
$ac_exeext &&
44424 $as_test_x conftest
$ac_exeext; then
44425 ac_cv_header_sys_soundcard
=yes
44427 echo "$as_me: failed program was:" >&5
44428 sed 's/^/| /' conftest.
$ac_ext >&5
44432 ac_cv_header_sys_soundcard
=no
44437 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44438 conftest
$ac_exeext conftest.
$ac_ext
44443 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44444 conftest
$ac_exeext conftest.
$ac_ext
44447 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44448 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44451 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44452 cat >>confdefs.h
<<\_ACEOF
44453 #define HAVE_SYS_SOUNDCARD_H 1
44460 if test "$wxUSE_SOUND" = "yes"; then
44461 if test "$USE_UNIX" = "1" ; then
44462 if test "$wxUSE_LIBSDL" != "no"; then
44464 # Check whether --with-sdl-prefix was given.
44465 if test "${with_sdl_prefix+set}" = set; then
44466 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
44472 # Check whether --with-sdl-exec-prefix was given.
44473 if test "${with_sdl_exec_prefix+set}" = set; then
44474 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
44479 # Check whether --enable-sdltest was given.
44480 if test "${enable_sdltest+set}" = set; then
44481 enableval
=$enable_sdltest;
44487 if test x
$sdl_exec_prefix != x
; then
44488 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
44489 if test x
${SDL_CONFIG+set} != xset
; then
44490 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
44493 if test x
$sdl_prefix != x
; then
44494 sdl_args
="$sdl_args --prefix=$sdl_prefix"
44495 if test x
${SDL_CONFIG+set} != xset
; then
44496 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
44500 if test "x$prefix" != xNONE
; then
44501 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
44503 # Extract the first word of "sdl-config", so it can be a program name with args.
44504 set dummy sdl
-config; ac_word
=$2
44505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44507 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44508 echo $ECHO_N "(cached) $ECHO_C" >&6
44510 case $SDL_CONFIG in
44512 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
44515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44516 for as_dir
in $PATH
44519 test -z "$as_dir" && as_dir
=.
44520 for ac_exec_ext
in '' $ac_executable_extensions; do
44521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44522 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44530 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
44534 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
44535 if test -n "$SDL_CONFIG"; then
44536 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44537 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44539 { echo "$as_me:$LINENO: result: no" >&5
44540 echo "${ECHO_T}no" >&6; }
44544 min_sdl_version
=1.2.0
44545 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44546 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44548 if test "$SDL_CONFIG" = "no" ; then
44551 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
44552 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
44554 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
44555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44556 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
44557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44558 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
44559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44560 if test "x$enable_sdltest" = "xyes" ; then
44561 ac_save_CFLAGS
="$CFLAGS"
44562 ac_save_CXXFLAGS
="$CXXFLAGS"
44563 ac_save_LIBS
="$LIBS"
44564 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44565 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44566 LIBS
="$LIBS $SDL_LIBS"
44568 if test "$cross_compiling" = yes; then
44569 echo $ac_n "cross compiling; assumed OK... $ac_c"
44571 cat >conftest.
$ac_ext <<_ACEOF
44574 cat confdefs.h
>>conftest.
$ac_ext
44575 cat >>conftest.
$ac_ext <<_ACEOF
44576 /* end confdefs.h. */
44579 #include <stdlib.h>
44580 #include <string.h>
44584 my_strdup (char *str)
44590 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44591 strcpy (new_str, str);
44599 int main (int argc, char *argv[])
44601 int major, minor, micro;
44604 /* This hangs on some systems (?)
44605 system ("touch conf.sdltest");
44607 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44609 /* HP/UX 9 (%@#!) writes to sscanf strings */
44610 tmp_version = my_strdup("$min_sdl_version");
44611 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44612 printf("%s, bad version string\n", "$min_sdl_version");
44616 if (($sdl_major_version > major) ||
44617 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44618 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44624 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44625 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44626 printf("*** best to upgrade to the required version.\n");
44627 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44628 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44629 printf("*** config.cache before re-running configure\n");
44636 rm -f conftest
$ac_exeext
44637 if { (ac_try
="$ac_link"
44638 case "(($ac_try" in
44639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44640 *) ac_try_echo=$ac_try;;
44642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44643 (eval "$ac_link") 2>&5
44645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44647 { (case "(($ac_try" in
44648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44649 *) ac_try_echo
=$ac_try;;
44651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44652 (eval "$ac_try") 2>&5
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; }; then
44658 echo "$as_me: program exited with status $ac_status" >&5
44659 echo "$as_me: failed program was:" >&5
44660 sed 's/^/| /' conftest.
$ac_ext >&5
44662 ( exit $ac_status )
44665 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
44669 CFLAGS
="$ac_save_CFLAGS"
44670 CXXFLAGS
="$ac_save_CXXFLAGS"
44671 LIBS
="$ac_save_LIBS"
44674 if test "x$no_sdl" = x
; then
44675 { echo "$as_me:$LINENO: result: yes" >&5
44676 echo "${ECHO_T}yes" >&6; }
44678 EXTRALIBS_SDL
="$SDL_LIBS"
44679 CFLAGS
="$SDL_CFLAGS $CFLAGS"
44680 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
44681 cat >>confdefs.h
<<\_ACEOF
44682 #define wxUSE_LIBSDL 1
44687 { echo "$as_me:$LINENO: result: no" >&5
44688 echo "${ECHO_T}no" >&6; }
44689 if test "$SDL_CONFIG" = "no" ; then
44690 echo "*** The sdl-config script installed by SDL could not be found"
44691 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44692 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44693 echo "*** full path to sdl-config."
44695 if test -f conf.sdltest
; then
44698 echo "*** Could not run SDL test program, checking why..."
44699 CFLAGS
="$CFLAGS $SDL_CFLAGS"
44700 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
44701 LIBS
="$LIBS $SDL_LIBS"
44702 cat >conftest.
$ac_ext <<_ACEOF
44705 cat confdefs.h
>>conftest.
$ac_ext
44706 cat >>conftest.
$ac_ext <<_ACEOF
44707 /* end confdefs.h. */
44712 int main(int argc, char *argv[])
44715 #define main K_and_R_C_main
44725 rm -f conftest.
$ac_objext conftest
$ac_exeext
44726 if { (ac_try
="$ac_link"
44727 case "(($ac_try" in
44728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44729 *) ac_try_echo=$ac_try;;
44731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44732 (eval "$ac_link") 2>conftest.er1
44734 grep -v '^ *+' conftest.er1 >conftest.err
44736 cat conftest.err >&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); } && {
44739 test -z "$ac_c_werror_flag" ||
44740 test ! -s conftest.err
44741 } && test -s conftest$ac_exeext &&
44742 $as_test_x conftest$ac_exeext; then
44743 echo "*** The test program compiled, but did not run. This usually means"
44744 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44745 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44746 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44747 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44748 echo "*** is required on your system"
44750 echo "*** If you have an old version installed, it is best to remove it, although"
44751 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44753 echo "$as_me: failed program was:" >&5
44754 sed 's/^/| /' conftest.$ac_ext >&5
44756 echo "*** The test program failed to compile or link. See the file config.log for the"
44757 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44758 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44759 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44763 conftest$ac_exeext conftest.$ac_ext
44764 CFLAGS="$ac_save_CFLAGS"
44765 CXXFLAGS="$ac_save_CXXFLAGS"
44766 LIBS="$ac_save_LIBS"
44777 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44782 if test "$wxUSE_MGL" = 1; then
44783 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44784 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44790 if test "$wxUSE_SOUND" = "yes"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_SOUND 1
44795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44798 if test "$WXGTK20" = 1; then
44801 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44802 if test -n "$ac_tool_prefix"; then
44803 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44804 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44807 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44808 echo $ECHO_N "(cached) $ECHO_C" >&6
44810 case $PKG_CONFIG in
44812 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44816 for as_dir in $PATH
44819 test -z "$as_dir" && as_dir=.
44820 for ac_exec_ext in '' $ac_executable_extensions; do
44821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44822 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44833 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44834 if test -n "$PKG_CONFIG"; then
44835 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44836 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44838 { echo "$as_me:$LINENO: result: no" >&5
44839 echo "${ECHO_T}no" >&6; }
44844 if test -z "$ac_cv_path_PKG_CONFIG"; then
44845 ac_pt_PKG_CONFIG=$PKG_CONFIG
44846 # Extract the first word of "pkg-config", so it can be a program name with args.
44847 set dummy pkg-config; ac_word=$2
44848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44850 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44851 echo $ECHO_N "(cached) $ECHO_C" >&6
44853 case $ac_pt_PKG_CONFIG in
44855 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44859 for as_dir in $PATH
44862 test -z "$as_dir" && as_dir=.
44863 for ac_exec_ext in '' $ac_executable_extensions; do
44864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44865 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44876 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44877 if test -n "$ac_pt_PKG_CONFIG"; then
44878 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44879 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44881 { echo "$as_me:$LINENO: result: no" >&5
44882 echo "${ECHO_T}no" >&6; }
44885 if test "x$ac_pt_PKG_CONFIG" = x; then
44888 case $cross_compiling:$ac_tool_warned in
44890 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44891 whose name does not start with the host triplet. If you think this
44892 configuration is useful to you, please write to autoconf@gnu.org." >&5
44893 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44894 whose name does not start with the host triplet. If you think this
44895 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44896 ac_tool_warned=yes ;;
44898 PKG_CONFIG=$ac_pt_PKG_CONFIG
44901 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44905 if test -n "$PKG_CONFIG"; then
44906 _pkg_min_version=0.9.0
44907 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44908 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44909 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44910 { echo "$as_me:$LINENO: result: yes" >&5
44911 echo "${ECHO_T}yes" >&6; }
44913 { echo "$as_me:$LINENO: result: no" >&5
44914 echo "${ECHO_T}no" >&6; }
44920 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44922 if test "$wxUSE_GTKPRINT" = "yes" ; then
44926 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44927 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44929 if test -n "$PKG_CONFIG"; then
44930 if test -n "$GTKPRINT_CFLAGS"; then
44931 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44933 if test -n "$PKG_CONFIG" && \
44934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44935 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); }; then
44939 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44947 if test -n "$PKG_CONFIG"; then
44948 if test -n "$GTKPRINT_LIBS"; then
44949 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44951 if test -n "$PKG_CONFIG" && \
44952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44953 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44956 (exit $ac_status); }; then
44957 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
44968 if test $pkg_failed = yes; then
44970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44971 _pkg_short_errors_supported=yes
44973 _pkg_short_errors_supported=no
44975 if test $_pkg_short_errors_supported = yes; then
44976 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44978 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44980 # Put the nasty error message in config.log where it belongs
44981 echo "$GTKPRINT_PKG_ERRORS" >&5
44984 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44985 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44986 wxUSE_GTKPRINT="no"
44989 elif test $pkg_failed = untried; then
44991 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44992 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44993 wxUSE_GTKPRINT="no"
44997 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44998 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44999 { echo "$as_me:$LINENO: result: yes" >&5
45000 echo "${ECHO_T}yes" >&6; }
45002 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45003 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_GTKPRINT 1
45012 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45016 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45017 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45019 if test -n "$PKG_CONFIG"; then
45020 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45021 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45023 if test -n "$PKG_CONFIG" && \
45024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45025 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; then
45029 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45037 if test -n "$PKG_CONFIG"; then
45038 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45039 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45041 if test -n "$PKG_CONFIG" && \
45042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45043 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); }; then
45047 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
45058 if test $pkg_failed = yes; then
45060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45061 _pkg_short_errors_supported=yes
45063 _pkg_short_errors_supported=no
45065 if test $_pkg_short_errors_supported = yes; then
45066 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45068 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45070 # Put the nasty error message in config.log where it belongs
45071 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45074 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45075 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45076 wxUSE_LIBGNOMEPRINT="no"
45079 elif test $pkg_failed = untried; then
45081 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45082 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45083 wxUSE_LIBGNOMEPRINT="no"
45087 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45088 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45089 { echo "$as_me:$LINENO: result: yes" >&5
45090 echo "${ECHO_T}yes" >&6; }
45092 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45093 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_LIBGNOMEPRINT 1
45103 if test "$wxUSE_MIMETYPE" = "yes" ; then
45104 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45108 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45109 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45111 if test -n "$PKG_CONFIG"; then
45112 if test -n "$GNOMEVFS_CFLAGS"; then
45113 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45115 if test -n "$PKG_CONFIG" && \
45116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45117 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 (exit $ac_status); }; then
45121 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45129 if test -n "$PKG_CONFIG"; then
45130 if test -n "$GNOMEVFS_LIBS"; then
45131 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45133 if test -n "$PKG_CONFIG" && \
45134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45135 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45138 (exit $ac_status); }; then
45139 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
45150 if test $pkg_failed = yes; then
45152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45153 _pkg_short_errors_supported=yes
45155 _pkg_short_errors_supported=no
45157 if test $_pkg_short_errors_supported = yes; then
45158 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45160 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45162 # Put the nasty error message in config.log where it belongs
45163 echo "$GNOMEVFS_PKG_ERRORS" >&5
45166 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45167 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45168 wxUSE_LIBGNOMEVFS="no"
45171 elif test $pkg_failed = untried; then
45173 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45174 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45175 wxUSE_LIBGNOMEVFS="no"
45179 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45180 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45181 { echo "$as_me:$LINENO: result: yes" >&5
45182 echo "${ECHO_T}yes" >&6; }
45184 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45185 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_LIBGNOMEVFS 1
45195 if test "$wxUSE_LIBHILDON" = "yes" ; then
45198 { echo "$as_me:$LINENO: checking for HILDON" >&5
45199 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45201 if test -n "$PKG_CONFIG"; then
45202 if test -n "$HILDON_CFLAGS"; then
45203 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45205 if test -n "$PKG_CONFIG" && \
45206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45207 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; then
45211 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
45219 if test -n "$PKG_CONFIG"; then
45220 if test -n "$HILDON_LIBS"; then
45221 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45223 if test -n "$PKG_CONFIG" && \
45224 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45225 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); }; then
45229 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
45240 if test $pkg_failed = yes; then
45242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45243 _pkg_short_errors_supported=yes
45245 _pkg_short_errors_supported=no
45247 if test $_pkg_short_errors_supported = yes; then
45248 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45250 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45252 # Put the nasty error message in config.log where it belongs
45253 echo "$HILDON_PKG_ERRORS" >&5
45256 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45257 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45258 wxUSE_LIBHILDON="no"
45261 elif test $pkg_failed = untried; then
45263 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45264 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45265 wxUSE_LIBHILDON="no"
45269 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45270 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45271 { echo "$as_me:$LINENO: result: yes" >&5
45272 echo "${ECHO_T}yes" >&6; }
45274 EXTRALIBS_HILDON="$HILDON_LIBS"
45275 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45276 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_LIBHILDON 1
45286 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_CMDLINE_PARSER 1
45293 if test "$wxUSE_STOPWATCH" = "yes"; then
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_STOPWATCH 1
45300 if test "$wxUSE_DATETIME" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_DATETIME 1
45307 if test "$wxUSE_FILE" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_FILE 1
45314 if test "$wxUSE_FFILE" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_FFILE 1
45321 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45322 if test "$wxUSE_STREAMS" != yes; then
45323 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45324 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45325 wxUSE_ARCHIVE_STREAMS=no
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_ARCHIVE_STREAMS 1
45334 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45335 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45336 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45337 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45338 elif test "$wxUSE_ZLIB" = "no"; then
45339 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45340 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_ZIPSTREAM 1
45349 if test "$wxUSE_TARSTREAM" = "yes"; then
45350 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45351 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45352 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_TARSTREAM 1
45361 if test "$wxUSE_FILESYSTEM" = "yes"; then
45362 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45363 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45364 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45365 wxUSE_FILESYSTEM=no
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_FILESYSTEM 1
45374 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45375 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45376 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45377 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_FS_ARCHIVE 1
45386 if test "$wxUSE_FS_ZIP" = "yes"; then
45387 if test "$wxUSE_FS_ARCHIVE" != yes; then
45388 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45389 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_FS_ZIP 1
45398 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45399 if test "$USE_UNIX" != 1; then
45400 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45401 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45402 wxUSE_ON_FATAL_EXCEPTION=no
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_ON_FATAL_EXCEPTION 1
45411 if test "$wxUSE_STACKWALKER" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_STACKWALKER 1
45418 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45419 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45420 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45421 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45422 wxUSE_DEBUGREPORT=no
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_DEBUGREPORT 1
45428 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45434 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_SNGLINST_CHECKER 1
45441 if test "$wxUSE_BUSYINFO" = "yes"; then
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_BUSYINFO 1
45448 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_STD_IOSTREAM 1
45455 if test "$wxUSE_STD_STRING" = "yes"; then
45456 cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_STD_STRING 1
45462 if test "$wxUSE_STDPATHS" = "yes"; then
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_STDPATHS 1
45469 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_TEXTBUFFER 1
45476 if test "$wxUSE_TEXTFILE" = "yes"; then
45477 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45478 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45479 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_TEXTFILE 1
45488 if test "$wxUSE_CONFIG" = "yes" ; then
45489 if test "$wxUSE_TEXTFILE" != "yes"; then
45490 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45491 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_CONFIG 1
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_CONFIG_NATIVE 1
45501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45505 if test "$wxUSE_INTL" = "yes" ; then
45506 if test "$wxUSE_FILE" != "yes"; then
45507 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45508 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_INTL 1
45514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45515 GUIDIST="$GUIDIST INTL_DIST"
45519 if test "$wxUSE_LOG" = "yes"; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_LOG 1
45525 if test "$wxUSE_LOGGUI" = "yes"; then
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_LOGGUI 1
45532 if test "$wxUSE_LOGWINDOW" = "yes"; then
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_LOGWINDOW 1
45539 if test "$wxUSE_LOGDIALOG" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_LOG_DIALOG 1
45546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45549 if test "$wxUSE_LONGLONG" = "yes"; then
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_LONGLONG 1
45556 if test "$wxUSE_GEOMETRY" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_GEOMETRY 1
45563 if test "$wxUSE_BASE64" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_BASE64 1
45570 if test "$wxUSE_STREAMS" = "yes" ; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_STREAMS 1
45577 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_PRINTF_POS_PARAMS 1
45584 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_OBJC_UNIQUIFYING 1
45592 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_CONSOLE_EVENTLOOP 1
45598 if test "$wxUSE_UNIX" = "yes"; then
45599 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_SELECT_DISPATCHER 1
45606 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45608 for ac_header in sys/epoll.h
45610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45616 cat >conftest.$ac_ext <<_ACEOF
45619 cat confdefs.h >>conftest.$ac_ext
45620 cat >>conftest.$ac_ext <<_ACEOF
45621 /* end confdefs.h. */
45622 $ac_includes_default
45624 #include <$ac_header>
45626 rm -f conftest.$ac_objext
45627 if { (ac_try="$ac_compile"
45628 case "(($ac_try" in
45629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45630 *) ac_try_echo
=$ac_try;;
45632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45633 (eval "$ac_compile") 2>conftest.er1
45635 grep -v '^ *+' conftest.er1
>conftest.err
45637 cat conftest.err
>&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } && {
45640 test -z "$ac_c_werror_flag" ||
45641 test ! -s conftest.err
45642 } && test -s conftest.
$ac_objext; then
45643 eval "$as_ac_Header=yes"
45645 echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.
$ac_ext >&5
45648 eval "$as_ac_Header=no"
45651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45653 ac_res
=`eval echo '${'$as_ac_Header'}'`
45654 { echo "$as_me:$LINENO: result: $ac_res" >&5
45655 echo "${ECHO_T}$ac_res" >&6; }
45656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45657 cat >>confdefs.h
<<_ACEOF
45658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45665 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45666 cat >>confdefs.h
<<\_ACEOF
45667 #define wxUSE_EPOLL_DISPATCHER 1
45671 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45672 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45681 for ac_func
in gettimeofday ftime
45683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45686 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45687 echo $ECHO_N "(cached) $ECHO_C" >&6
45689 cat >conftest.
$ac_ext <<_ACEOF
45692 cat confdefs.h
>>conftest.
$ac_ext
45693 cat >>conftest.
$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45697 #define $ac_func innocuous_$ac_func
45699 /* System header to define __stub macros and hopefully few prototypes,
45700 which can conflict with char $ac_func (); below.
45701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45702 <limits.h> exists even on freestanding compilers. */
45705 # include <limits.h>
45707 # include <assert.h>
45712 /* Override any GCC internal prototype to avoid an error.
45713 Use char because int might match the return type of a GCC
45714 builtin and then its argument prototype would still apply. */
45719 /* The GNU C library defines this for functions which it implements
45720 to always fail with ENOSYS. Some functions are actually named
45721 something starting with __ and the normal name is an alias. */
45722 #if defined __stub_$ac_func || defined __stub___$ac_func
45729 return $ac_func ();
45734 rm -f conftest.
$ac_objext conftest
$ac_exeext
45735 if { (ac_try
="$ac_link"
45736 case "(($ac_try" in
45737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45738 *) ac_try_echo=$ac_try;;
45740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45741 (eval "$ac_link") 2>conftest.er1
45743 grep -v '^ *+' conftest.er1 >conftest.err
45745 cat conftest.err >&5
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); } && {
45748 test -z "$ac_c_werror_flag" ||
45749 test ! -s conftest.err
45750 } && test -s conftest$ac_exeext &&
45751 $as_test_x conftest$ac_exeext; then
45752 eval "$as_ac_var=yes"
45754 echo "$as_me: failed program was:" >&5
45755 sed 's/^/| /' conftest.$ac_ext >&5
45757 eval "$as_ac_var=no"
45760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45761 conftest$ac_exeext conftest.$ac_ext
45763 ac_res=`eval echo '${'$as_ac_var'}'`
45764 { echo "$as_me:$LINENO: result: $ac_res" >&5
45765 echo "${ECHO_T}$ac_res" >&6; }
45766 if test `eval echo '${'$as_ac_var'}'` = yes; then
45767 cat >>confdefs.h <<_ACEOF
45768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45775 if test "$ac_cv_func_gettimeofday" = "yes"; then
45776 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45777 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45778 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45779 echo $ECHO_N "(cached) $ECHO_C" >&6
45782 cat >conftest.$ac_ext <<_ACEOF
45785 cat confdefs.h >>conftest.$ac_ext
45786 cat >>conftest.$ac_ext <<_ACEOF
45787 /* end confdefs.h. */
45789 #include <sys/time.h>
45790 #include <unistd.h>
45797 gettimeofday(&tv, NULL);
45803 rm -f conftest.$ac_objext
45804 if { (ac_try="$ac_compile"
45805 case "(($ac_try" in
45806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45807 *) ac_try_echo
=$ac_try;;
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_compile") 2>conftest.er1
45812 grep -v '^ *+' conftest.er1
>conftest.err
45814 cat conftest.err
>&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } && {
45817 test -z "$ac_c_werror_flag" ||
45818 test ! -s conftest.err
45819 } && test -s conftest.
$ac_objext; then
45820 wx_cv_func_gettimeofday_has_2_args
=yes
45822 echo "$as_me: failed program was:" >&5
45823 sed 's/^/| /' conftest.
$ac_ext >&5
45825 cat >conftest.
$ac_ext <<_ACEOF
45828 cat confdefs.h
>>conftest.
$ac_ext
45829 cat >>conftest.
$ac_ext <<_ACEOF
45830 /* end confdefs.h. */
45832 #include <sys/time.h>
45833 #include <unistd.h>
45846 rm -f conftest.
$ac_objext
45847 if { (ac_try
="$ac_compile"
45848 case "(($ac_try" in
45849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45850 *) ac_try_echo=$ac_try;;
45852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45853 (eval "$ac_compile") 2>conftest.er1
45855 grep -v '^ *+' conftest.er1 >conftest.err
45857 cat conftest.err >&5
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); } && {
45860 test -z "$ac_c_werror_flag" ||
45861 test ! -s conftest.err
45862 } && test -s conftest.$ac_objext; then
45863 wx_cv_func_gettimeofday_has_2_args=no
45865 echo "$as_me: failed program was:" >&5
45866 sed 's/^/| /' conftest.$ac_ext >&5
45869 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45870 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45871 wx_cv_func_gettimeofday_has_2_args=unknown
45876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45883 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45884 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45886 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define WX_GETTIMEOFDAY_NO_TZ 1
45894 if test "$wxUSE_DATETIME" = "yes"; then
45895 { echo "$as_me:$LINENO: checking for strptime" >&5
45896 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45897 if test "${ac_cv_func_strptime+set}" = set; then
45898 echo $ECHO_N "(cached) $ECHO_C" >&6
45900 cat >conftest.$ac_ext <<_ACEOF
45903 cat confdefs.h >>conftest.$ac_ext
45904 cat >>conftest.$ac_ext <<_ACEOF
45905 /* end confdefs.h. */
45906 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45908 #define strptime innocuous_strptime
45910 /* System header to define __stub macros and hopefully few prototypes,
45911 which can conflict with char strptime (); below.
45912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45913 <limits.h> exists even on freestanding compilers. */
45916 # include <limits.h>
45918 # include <assert.h>
45923 /* Override any GCC internal prototype to avoid an error.
45924 Use char because int might match the return type of a GCC
45925 builtin and then its argument prototype would still apply. */
45930 /* The GNU C library defines this for functions which it implements
45931 to always fail with ENOSYS. Some functions are actually named
45932 something starting with __ and the normal name is an alias. */
45933 #if defined __stub_strptime || defined __stub___strptime
45940 return strptime ();
45945 rm -f conftest.$ac_objext conftest$ac_exeext
45946 if { (ac_try="$ac_link"
45947 case "(($ac_try" in
45948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45949 *) ac_try_echo
=$ac_try;;
45951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45952 (eval "$ac_link") 2>conftest.er1
45954 grep -v '^ *+' conftest.er1
>conftest.err
45956 cat conftest.err
>&5
45957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45958 (exit $ac_status); } && {
45959 test -z "$ac_c_werror_flag" ||
45960 test ! -s conftest.err
45961 } && test -s conftest
$ac_exeext &&
45962 $as_test_x conftest
$ac_exeext; then
45963 ac_cv_func_strptime
=yes
45965 echo "$as_me: failed program was:" >&5
45966 sed 's/^/| /' conftest.
$ac_ext >&5
45968 ac_cv_func_strptime
=no
45971 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45972 conftest
$ac_exeext conftest.
$ac_ext
45974 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45975 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45977 if test "$ac_cv_func_strptime" = "yes"; then
45978 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45979 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45980 if test "${wx_cv_func_strptime_decl+set}" = set; then
45981 echo $ECHO_N "(cached) $ECHO_C" >&6
45985 ac_cpp
='$CXXCPP $CPPFLAGS'
45986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45990 cat >conftest.
$ac_ext <<_ACEOF
45993 cat confdefs.h
>>conftest.
$ac_ext
45994 cat >>conftest.
$ac_ext <<_ACEOF
45995 /* end confdefs.h. */
46004 strptime("foo", "bar", &t);
46010 rm -f conftest.
$ac_objext
46011 if { (ac_try
="$ac_compile"
46012 case "(($ac_try" in
46013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46014 *) ac_try_echo=$ac_try;;
46016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46017 (eval "$ac_compile") 2>conftest.er1
46019 grep -v '^ *+' conftest.er1 >conftest.err
46021 cat conftest.err >&5
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); } && {
46024 test -z "$ac_cxx_werror_flag" ||
46025 test ! -s conftest.err
46026 } && test -s conftest.$ac_objext; then
46027 wx_cv_func_strptime_decl=yes
46029 echo "$as_me: failed program was:" >&5
46030 sed 's/^/| /' conftest.$ac_ext >&5
46032 wx_cv_func_strptime_decl=no
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46046 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46047 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46049 if test "$wx_cv_func_strptime_decl" = "yes"; then
46050 cat >>confdefs.h <<\_ACEOF
46051 #define HAVE_STRPTIME_DECL 1
46055 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46057 if test "$ac_cv_func_strptime" = "yes"; then
46058 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46059 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46060 if test "${wx_cv_func_strptime_ok+set}" = set; then
46061 echo $ECHO_N "(cached) $ECHO_C" >&6
46063 if test "$cross_compiling" = yes; then
46064 wx_cv_func_strptime_ok=no
46067 cat >conftest.$ac_ext <<_ACEOF
46069 #include <stdlib.h>
46071 #include "confdefs.h"
46078 return !!strptime("", "%x", &t);
46082 rm -f conftest$ac_exeext
46083 if { (ac_try="$ac_link"
46084 case "(($ac_try" in
46085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46086 *) ac_try_echo
=$ac_try;;
46088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46089 (eval "$ac_link") 2>&5
46091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46093 { (case "(($ac_try" in
46094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46095 *) ac_try_echo=$ac_try;;
46097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46098 (eval "$ac_try") 2>&5
46100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46101 (exit $ac_status); }; }; then
46102 wx_cv_func_strptime_ok=yes
46104 echo "$as_me: program exited with status $ac_status" >&5
46105 echo "$as_me: failed program was:" >&5
46106 sed 's/^/| /' conftest.$ac_ext >&5
46108 ( exit $ac_status )
46109 wx_cv_func_strptime_ok=no
46111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46117 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46118 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46120 if test "$wx_cv_func_strptime_ok" = "yes"; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define HAVE_STRPTIME 1
46128 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46129 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46130 if test "${wx_cv_var_timezone+set}" = set; then
46131 echo $ECHO_N "(cached) $ECHO_C" >&6
46135 ac_cpp='$CXXCPP $CPPFLAGS'
46136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46140 cat >conftest.$ac_ext <<_ACEOF
46143 cat confdefs.h >>conftest.$ac_ext
46144 cat >>conftest.$ac_ext <<_ACEOF
46145 /* end confdefs.h. */
46160 rm -f conftest.$ac_objext
46161 if { (ac_try="$ac_compile"
46162 case "(($ac_try" in
46163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46164 *) ac_try_echo
=$ac_try;;
46166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46167 (eval "$ac_compile") 2>conftest.er1
46169 grep -v '^ *+' conftest.er1
>conftest.err
46171 cat conftest.err
>&5
46172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46173 (exit $ac_status); } && {
46174 test -z "$ac_cxx_werror_flag" ||
46175 test ! -s conftest.err
46176 } && test -s conftest.
$ac_objext; then
46178 wx_cv_var_timezone
=timezone
46181 echo "$as_me: failed program was:" >&5
46182 sed 's/^/| /' conftest.
$ac_ext >&5
46185 cat >conftest.
$ac_ext <<_ACEOF
46188 cat confdefs.h
>>conftest.
$ac_ext
46189 cat >>conftest.
$ac_ext <<_ACEOF
46190 /* end confdefs.h. */
46205 rm -f conftest.
$ac_objext
46206 if { (ac_try
="$ac_compile"
46207 case "(($ac_try" in
46208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46209 *) ac_try_echo=$ac_try;;
46211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46212 (eval "$ac_compile") 2>conftest.er1
46214 grep -v '^ *+' conftest.er1 >conftest.err
46216 cat conftest.err >&5
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); } && {
46219 test -z "$ac_cxx_werror_flag" ||
46220 test ! -s conftest.err
46221 } && test -s conftest.$ac_objext; then
46223 wx_cv_var_timezone=_timezone
46226 echo "$as_me: failed program was:" >&5
46227 sed 's/^/| /' conftest.$ac_ext >&5
46230 cat >conftest.$ac_ext <<_ACEOF
46233 cat confdefs.h >>conftest.$ac_ext
46234 cat >>conftest.$ac_ext <<_ACEOF
46235 /* end confdefs.h. */
46250 rm -f conftest.$ac_objext
46251 if { (ac_try="$ac_compile"
46252 case "(($ac_try" in
46253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46254 *) ac_try_echo
=$ac_try;;
46256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46257 (eval "$ac_compile") 2>conftest.er1
46259 grep -v '^ *+' conftest.er1
>conftest.err
46261 cat conftest.err
>&5
46262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46263 (exit $ac_status); } && {
46264 test -z "$ac_cxx_werror_flag" ||
46265 test ! -s conftest.err
46266 } && test -s conftest.
$ac_objext; then
46268 wx_cv_var_timezone
=__timezone
46271 echo "$as_me: failed program was:" >&5
46272 sed 's/^/| /' conftest.
$ac_ext >&5
46275 if test "$USE_DOS" = 0 ; then
46276 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46277 echo "$as_me: WARNING: no timezone variable" >&2;}
46283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46295 ac_cpp
='$CPP $CPPFLAGS'
46296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46303 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46304 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46306 if test "x$wx_cv_var_timezone" != x
; then
46307 cat >>confdefs.h
<<_ACEOF
46308 #define WX_TIMEZONE $wx_cv_var_timezone
46314 for ac_func
in localtime
46316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46319 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46320 echo $ECHO_N "(cached) $ECHO_C" >&6
46322 cat >conftest.
$ac_ext <<_ACEOF
46325 cat confdefs.h
>>conftest.
$ac_ext
46326 cat >>conftest.
$ac_ext <<_ACEOF
46327 /* end confdefs.h. */
46328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46330 #define $ac_func innocuous_$ac_func
46332 /* System header to define __stub macros and hopefully few prototypes,
46333 which can conflict with char $ac_func (); below.
46334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46335 <limits.h> exists even on freestanding compilers. */
46338 # include <limits.h>
46340 # include <assert.h>
46345 /* Override any GCC internal prototype to avoid an error.
46346 Use char because int might match the return type of a GCC
46347 builtin and then its argument prototype would still apply. */
46352 /* The GNU C library defines this for functions which it implements
46353 to always fail with ENOSYS. Some functions are actually named
46354 something starting with __ and the normal name is an alias. */
46355 #if defined __stub_$ac_func || defined __stub___$ac_func
46362 return $ac_func ();
46367 rm -f conftest.
$ac_objext conftest
$ac_exeext
46368 if { (ac_try
="$ac_link"
46369 case "(($ac_try" in
46370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46371 *) ac_try_echo=$ac_try;;
46373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46374 (eval "$ac_link") 2>conftest.er1
46376 grep -v '^ *+' conftest.er1 >conftest.err
46378 cat conftest.err >&5
46379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380 (exit $ac_status); } && {
46381 test -z "$ac_c_werror_flag" ||
46382 test ! -s conftest.err
46383 } && test -s conftest$ac_exeext &&
46384 $as_test_x conftest$ac_exeext; then
46385 eval "$as_ac_var=yes"
46387 echo "$as_me: failed program was:" >&5
46388 sed 's/^/| /' conftest.$ac_ext >&5
46390 eval "$as_ac_var=no"
46393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46394 conftest$ac_exeext conftest.$ac_ext
46396 ac_res=`eval echo '${'$as_ac_var'}'`
46397 { echo "$as_me:$LINENO: result: $ac_res" >&5
46398 echo "${ECHO_T}$ac_res" >&6; }
46399 if test `eval echo '${'$as_ac_var'}'` = yes; then
46400 cat >>confdefs.h <<_ACEOF
46401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46408 if test "$ac_cv_func_localtime" = "yes"; then
46409 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46410 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46411 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46412 echo $ECHO_N "(cached) $ECHO_C" >&6
46415 cat >conftest.$ac_ext <<_ACEOF
46418 cat confdefs.h >>conftest.$ac_ext
46419 cat >>conftest.$ac_ext <<_ACEOF
46420 /* end confdefs.h. */
46435 rm -f conftest.$ac_objext
46436 if { (ac_try="$ac_compile"
46437 case "(($ac_try" in
46438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46439 *) ac_try_echo
=$ac_try;;
46441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46442 (eval "$ac_compile") 2>conftest.er1
46444 grep -v '^ *+' conftest.er1
>conftest.err
46446 cat conftest.err
>&5
46447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46448 (exit $ac_status); } && {
46449 test -z "$ac_c_werror_flag" ||
46450 test ! -s conftest.err
46451 } && test -s conftest.
$ac_objext; then
46453 wx_cv_struct_tm_has_gmtoff
=yes
46456 echo "$as_me: failed program was:" >&5
46457 sed 's/^/| /' conftest.
$ac_ext >&5
46459 wx_cv_struct_tm_has_gmtoff
=no
46463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46466 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46467 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46470 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46471 cat >>confdefs.h
<<\_ACEOF
46472 #define WX_GMTOFF_IN_TM 1
46477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46481 if test "$wxUSE_SOCKETS" = "yes"; then
46482 if test "$wxUSE_MGL" = "1"; then
46483 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46484 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46489 if test "$wxUSE_SOCKETS" = "yes"; then
46490 if test "$TOOLKIT" != "MSW"; then
46491 { echo "$as_me:$LINENO: checking for socket" >&5
46492 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46493 if test "${ac_cv_func_socket+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46496 cat >conftest.
$ac_ext <<_ACEOF
46499 cat confdefs.h
>>conftest.
$ac_ext
46500 cat >>conftest.
$ac_ext <<_ACEOF
46501 /* end confdefs.h. */
46502 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46504 #define socket innocuous_socket
46506 /* System header to define __stub macros and hopefully few prototypes,
46507 which can conflict with char socket (); below.
46508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46509 <limits.h> exists even on freestanding compilers. */
46512 # include <limits.h>
46514 # include <assert.h>
46519 /* Override any GCC internal prototype to avoid an error.
46520 Use char because int might match the return type of a GCC
46521 builtin and then its argument prototype would still apply. */
46526 /* The GNU C library defines this for functions which it implements
46527 to always fail with ENOSYS. Some functions are actually named
46528 something starting with __ and the normal name is an alias. */
46529 #if defined __stub_socket || defined __stub___socket
46541 rm -f conftest.
$ac_objext conftest
$ac_exeext
46542 if { (ac_try
="$ac_link"
46543 case "(($ac_try" in
46544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46545 *) ac_try_echo=$ac_try;;
46547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46548 (eval "$ac_link") 2>conftest.er1
46550 grep -v '^ *+' conftest.er1 >conftest.err
46552 cat conftest.err >&5
46553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554 (exit $ac_status); } && {
46555 test -z "$ac_c_werror_flag" ||
46556 test ! -s conftest.err
46557 } && test -s conftest$ac_exeext &&
46558 $as_test_x conftest$ac_exeext; then
46559 ac_cv_func_socket=yes
46561 echo "$as_me: failed program was:" >&5
46562 sed 's/^/| /' conftest.$ac_ext >&5
46564 ac_cv_func_socket=no
46567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46568 conftest$ac_exeext conftest.$ac_ext
46570 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46571 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46572 if test $ac_cv_func_socket = yes; then
46576 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46577 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46578 if test "${ac_cv_lib_socket_socket+set}" = set; then
46579 echo $ECHO_N "(cached) $ECHO_C" >&6
46581 ac_check_lib_save_LIBS=$LIBS
46582 LIBS="-lsocket $LIBS"
46583 cat >conftest.$ac_ext <<_ACEOF
46586 cat confdefs.h >>conftest.$ac_ext
46587 cat >>conftest.$ac_ext <<_ACEOF
46588 /* end confdefs.h. */
46590 /* Override any GCC internal prototype to avoid an error.
46591 Use char because int might match the return type of a GCC
46592 builtin and then its argument prototype would still apply. */
46605 rm -f conftest.$ac_objext conftest$ac_exeext
46606 if { (ac_try="$ac_link"
46607 case "(($ac_try" in
46608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46609 *) ac_try_echo
=$ac_try;;
46611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46612 (eval "$ac_link") 2>conftest.er1
46614 grep -v '^ *+' conftest.er1
>conftest.err
46616 cat conftest.err
>&5
46617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46618 (exit $ac_status); } && {
46619 test -z "$ac_c_werror_flag" ||
46620 test ! -s conftest.err
46621 } && test -s conftest
$ac_exeext &&
46622 $as_test_x conftest
$ac_exeext; then
46623 ac_cv_lib_socket_socket
=yes
46625 echo "$as_me: failed program was:" >&5
46626 sed 's/^/| /' conftest.
$ac_ext >&5
46628 ac_cv_lib_socket_socket
=no
46631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46632 conftest
$ac_exeext conftest.
$ac_ext
46633 LIBS
=$ac_check_lib_save_LIBS
46635 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46636 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46637 if test $ac_cv_lib_socket_socket = yes; then
46638 if test "$INET_LINK" != " -lsocket"; then
46639 INET_LINK
="$INET_LINK -lsocket"
46643 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46644 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46657 if test "$wxUSE_SOCKETS" = "yes" ; then
46658 if test "$TOOLKIT" != "MSW"; then
46659 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46660 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46661 if test "${wx_cv_type_getsockname3+set}" = set; then
46662 echo $ECHO_N "(cached) $ECHO_C" >&6
46666 ac_cpp
='$CXXCPP $CPPFLAGS'
46667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46671 cat >conftest.
$ac_ext <<_ACEOF
46674 cat confdefs.h
>>conftest.
$ac_ext
46675 cat >>conftest.
$ac_ext <<_ACEOF
46676 /* end confdefs.h. */
46678 #include <sys/types.h>
46679 #include <sys/socket.h>
46686 getsockname(0, 0, &len);
46692 rm -f conftest.
$ac_objext
46693 if { (ac_try
="$ac_compile"
46694 case "(($ac_try" in
46695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46696 *) ac_try_echo=$ac_try;;
46698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46699 (eval "$ac_compile") 2>conftest.er1
46701 grep -v '^ *+' conftest.er1 >conftest.err
46703 cat conftest.err >&5
46704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705 (exit $ac_status); } && {
46706 test -z "$ac_cxx_werror_flag" ||
46707 test ! -s conftest.err
46708 } && test -s conftest.$ac_objext; then
46709 wx_cv_type_getsockname3=socklen_t
46711 echo "$as_me: failed program was:" >&5
46712 sed 's/^/| /' conftest.$ac_ext >&5
46715 CFLAGS_OLD="$CFLAGS"
46716 if test "$GCC" = yes ; then
46717 CFLAGS="-Werror $CFLAGS"
46720 cat >conftest.$ac_ext <<_ACEOF
46723 cat confdefs.h >>conftest.$ac_ext
46724 cat >>conftest.$ac_ext <<_ACEOF
46725 /* end confdefs.h. */
46727 #include <sys/types.h>
46728 #include <sys/socket.h>
46735 getsockname(0, 0, &len);
46741 rm -f conftest.$ac_objext
46742 if { (ac_try="$ac_compile"
46743 case "(($ac_try" in
46744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46745 *) ac_try_echo
=$ac_try;;
46747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46748 (eval "$ac_compile") 2>conftest.er1
46750 grep -v '^ *+' conftest.er1
>conftest.err
46752 cat conftest.err
>&5
46753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754 (exit $ac_status); } && {
46755 test -z "$ac_cxx_werror_flag" ||
46756 test ! -s conftest.err
46757 } && test -s conftest.
$ac_objext; then
46758 wx_cv_type_getsockname3
=size_t
46760 echo "$as_me: failed program was:" >&5
46761 sed 's/^/| /' conftest.
$ac_ext >&5
46763 cat >conftest.
$ac_ext <<_ACEOF
46766 cat confdefs.h
>>conftest.
$ac_ext
46767 cat >>conftest.
$ac_ext <<_ACEOF
46768 /* end confdefs.h. */
46770 #include <sys/types.h>
46771 #include <sys/socket.h>
46778 getsockname(0, 0, &len);
46784 rm -f conftest.
$ac_objext
46785 if { (ac_try
="$ac_compile"
46786 case "(($ac_try" in
46787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46788 *) ac_try_echo=$ac_try;;
46790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46791 (eval "$ac_compile") 2>conftest.er1
46793 grep -v '^ *+' conftest.er1 >conftest.err
46795 cat conftest.err >&5
46796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46797 (exit $ac_status); } && {
46798 test -z "$ac_cxx_werror_flag" ||
46799 test ! -s conftest.err
46800 } && test -s conftest.$ac_objext; then
46801 wx_cv_type_getsockname3=int
46803 echo "$as_me: failed program was:" >&5
46804 sed 's/^/| /' conftest.$ac_ext >&5
46806 wx_cv_type_getsockname3=unknown
46810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46816 CFLAGS="$CFLAGS_OLD"
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46830 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46831 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46833 if test "$wx_cv_type_getsockname3" = "unknown"; then
46835 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46836 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46838 cat >>confdefs.h <<_ACEOF
46839 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46843 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46844 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46845 if test "${wx_cv_type_getsockopt5+set}" = set; then
46846 echo $ECHO_N "(cached) $ECHO_C" >&6
46850 ac_cpp='$CXXCPP $CPPFLAGS'
46851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46855 cat >conftest.$ac_ext <<_ACEOF
46858 cat confdefs.h >>conftest.$ac_ext
46859 cat >>conftest.$ac_ext <<_ACEOF
46860 /* end confdefs.h. */
46862 #include <sys/types.h>
46863 #include <sys/socket.h>
46870 getsockopt(0, 0, 0, 0, &len);
46876 rm -f conftest.$ac_objext
46877 if { (ac_try="$ac_compile"
46878 case "(($ac_try" in
46879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46880 *) ac_try_echo
=$ac_try;;
46882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46883 (eval "$ac_compile") 2>conftest.er1
46885 grep -v '^ *+' conftest.er1
>conftest.err
46887 cat conftest.err
>&5
46888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46889 (exit $ac_status); } && {
46890 test -z "$ac_cxx_werror_flag" ||
46891 test ! -s conftest.err
46892 } && test -s conftest.
$ac_objext; then
46893 wx_cv_type_getsockopt5
=socklen_t
46895 echo "$as_me: failed program was:" >&5
46896 sed 's/^/| /' conftest.
$ac_ext >&5
46899 cat >conftest.
$ac_ext <<_ACEOF
46902 cat confdefs.h
>>conftest.
$ac_ext
46903 cat >>conftest.
$ac_ext <<_ACEOF
46904 /* end confdefs.h. */
46906 #include <sys/types.h>
46907 #include <sys/socket.h>
46914 getsockopt(0, 0, 0, 0, &len);
46920 rm -f conftest.
$ac_objext
46921 if { (ac_try
="$ac_compile"
46922 case "(($ac_try" in
46923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46924 *) ac_try_echo=$ac_try;;
46926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46927 (eval "$ac_compile") 2>conftest.er1
46929 grep -v '^ *+' conftest.er1 >conftest.err
46931 cat conftest.err >&5
46932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46933 (exit $ac_status); } && {
46934 test -z "$ac_cxx_werror_flag" ||
46935 test ! -s conftest.err
46936 } && test -s conftest.$ac_objext; then
46937 wx_cv_type_getsockopt5=size_t
46939 echo "$as_me: failed program was:" >&5
46940 sed 's/^/| /' conftest.$ac_ext >&5
46942 cat >conftest.$ac_ext <<_ACEOF
46945 cat confdefs.h >>conftest.$ac_ext
46946 cat >>conftest.$ac_ext <<_ACEOF
46947 /* end confdefs.h. */
46949 #include <sys/types.h>
46950 #include <sys/socket.h>
46957 getsockopt(0, 0, 0, 0, &len);
46963 rm -f conftest.$ac_objext
46964 if { (ac_try="$ac_compile"
46965 case "(($ac_try" in
46966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46967 *) ac_try_echo
=$ac_try;;
46969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46970 (eval "$ac_compile") 2>conftest.er1
46972 grep -v '^ *+' conftest.er1
>conftest.err
46974 cat conftest.err
>&5
46975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46976 (exit $ac_status); } && {
46977 test -z "$ac_cxx_werror_flag" ||
46978 test ! -s conftest.err
46979 } && test -s conftest.
$ac_objext; then
46980 wx_cv_type_getsockopt5
=int
46982 echo "$as_me: failed program was:" >&5
46983 sed 's/^/| /' conftest.
$ac_ext >&5
46985 wx_cv_type_getsockopt5
=unknown
46989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47000 ac_cpp
='$CPP $CPPFLAGS'
47001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47007 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47008 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47010 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47012 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47013 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47015 cat >>confdefs.h
<<_ACEOF
47016 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47023 if test "$wxUSE_SOCKETS" = "yes" ; then
47024 cat >>confdefs.h
<<\_ACEOF
47025 #define wxUSE_SOCKETS 1
47028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47031 if test "$wxUSE_PROTOCOL" = "yes"; then
47032 if test "$wxUSE_SOCKETS" != "yes"; then
47033 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47034 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47039 if test "$wxUSE_PROTOCOL" = "yes"; then
47040 cat >>confdefs.h
<<\_ACEOF
47041 #define wxUSE_PROTOCOL 1
47045 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47046 cat >>confdefs.h
<<\_ACEOF
47047 #define wxUSE_PROTOCOL_HTTP 1
47051 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47052 cat >>confdefs.h
<<\_ACEOF
47053 #define wxUSE_PROTOCOL_FTP 1
47057 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47058 cat >>confdefs.h
<<\_ACEOF
47059 #define wxUSE_PROTOCOL_FILE 1
47064 if test "$wxUSE_FS_INET" = "yes"; then
47065 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47066 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47071 if test "$wxUSE_URL" = "yes"; then
47072 if test "$wxUSE_PROTOCOL" != "yes"; then
47073 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47074 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47077 if test "$wxUSE_URL" = "yes"; then
47078 cat >>confdefs.h
<<\_ACEOF
47079 #define wxUSE_URL 1
47085 if test "$wxUSE_VARIANT" = "yes"; then
47086 cat >>confdefs.h
<<\_ACEOF
47087 #define wxUSE_VARIANT 1
47092 if test "$wxUSE_FS_INET" = "yes"; then
47093 cat >>confdefs.h
<<\_ACEOF
47094 #define wxUSE_FS_INET 1
47100 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47103 if test "$TOOLKIT" = "MSW"; then
47106 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47107 if test "$USE_DARWIN" = 1; then
47108 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47109 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47111 ac_cpp
='$CXXCPP $CPPFLAGS'
47112 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47116 cat >conftest.
$ac_ext <<_ACEOF
47119 cat confdefs.h
>>conftest.
$ac_ext
47120 cat >>conftest.
$ac_ext <<_ACEOF
47121 /* end confdefs.h. */
47122 #include <IOKit/hid/IOHIDLib.h>
47126 IOHIDQueueInterface *qi = NULL;
47127 IOHIDCallbackFunction cb = NULL;
47128 qi->setEventCallout(NULL, cb, NULL, NULL);
47133 rm -f conftest.
$ac_objext
47134 if { (ac_try
="$ac_compile"
47135 case "(($ac_try" in
47136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47137 *) ac_try_echo=$ac_try;;
47139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47140 (eval "$ac_compile") 2>conftest.er1
47142 grep -v '^ *+' conftest.er1 >conftest.err
47144 cat conftest.err >&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); } && {
47147 test -z "$ac_cxx_werror_flag" ||
47148 test ! -s conftest.err
47149 } && test -s conftest.$ac_objext; then
47153 echo "$as_me: failed program was:" >&5
47154 sed 's/^/| /' conftest.$ac_ext >&5
47159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47161 ac_cpp='$CPP $CPPFLAGS'
47162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47166 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47167 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47171 if test "$wxUSE_MGL" != "1"; then
47173 for ac_header in linux/joystick.h
47175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47179 echo $ECHO_N "(cached) $ECHO_C" >&6
47181 cat >conftest.$ac_ext <<_ACEOF
47184 cat confdefs.h >>conftest.$ac_ext
47185 cat >>conftest.$ac_ext <<_ACEOF
47186 /* end confdefs.h. */
47187 $ac_includes_default
47189 #include <$ac_header>
47191 rm -f conftest.$ac_objext
47192 if { (ac_try="$ac_compile"
47193 case "(($ac_try" in
47194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47195 *) ac_try_echo
=$ac_try;;
47197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47198 (eval "$ac_compile") 2>conftest.er1
47200 grep -v '^ *+' conftest.er1
>conftest.err
47202 cat conftest.err
>&5
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); } && {
47205 test -z "$ac_c_werror_flag" ||
47206 test ! -s conftest.err
47207 } && test -s conftest.
$ac_objext; then
47208 eval "$as_ac_Header=yes"
47210 echo "$as_me: failed program was:" >&5
47211 sed 's/^/| /' conftest.
$ac_ext >&5
47213 eval "$as_ac_Header=no"
47216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47218 ac_res
=`eval echo '${'$as_ac_Header'}'`
47219 { echo "$as_me:$LINENO: result: $ac_res" >&5
47220 echo "${ECHO_T}$ac_res" >&6; }
47221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47222 cat >>confdefs.h
<<_ACEOF
47223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47233 if test "$wxUSE_JOYSTICK" = "yes"; then
47234 cat >>confdefs.h
<<\_ACEOF
47235 #define wxUSE_JOYSTICK 1
47238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
47240 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47241 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47247 if test "$wxUSE_FONTENUM" = "yes" ; then
47248 cat >>confdefs.h
<<\_ACEOF
47249 #define wxUSE_FONTENUM 1
47254 if test "$wxUSE_FONTMAP" = "yes" ; then
47255 cat >>confdefs.h
<<\_ACEOF
47256 #define wxUSE_FONTMAP 1
47261 if test "$wxUSE_UNICODE" = "yes" ; then
47262 cat >>confdefs.h
<<\_ACEOF
47263 #define wxUSE_UNICODE 1
47267 if test "$USE_WIN32" != 1; then
47268 wxUSE_UNICODE_MSLU
=no
47271 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47272 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47273 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47274 if test "${ac_cv_lib_unicows_main+set}" = set; then
47275 echo $ECHO_N "(cached) $ECHO_C" >&6
47277 ac_check_lib_save_LIBS
=$LIBS
47278 LIBS
="-lunicows $LIBS"
47279 cat >conftest.
$ac_ext <<_ACEOF
47282 cat confdefs.h
>>conftest.
$ac_ext
47283 cat >>conftest.
$ac_ext <<_ACEOF
47284 /* end confdefs.h. */
47295 rm -f conftest.
$ac_objext conftest
$ac_exeext
47296 if { (ac_try
="$ac_link"
47297 case "(($ac_try" in
47298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47299 *) ac_try_echo=$ac_try;;
47301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47302 (eval "$ac_link") 2>conftest.er1
47304 grep -v '^ *+' conftest.er1 >conftest.err
47306 cat conftest.err >&5
47307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308 (exit $ac_status); } && {
47309 test -z "$ac_c_werror_flag" ||
47310 test ! -s conftest.err
47311 } && test -s conftest$ac_exeext &&
47312 $as_test_x conftest$ac_exeext; then
47313 ac_cv_lib_unicows_main=yes
47315 echo "$as_me: failed program was:" >&5
47316 sed 's/^/| /' conftest.$ac_ext >&5
47318 ac_cv_lib_unicows_main=no
47321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47322 conftest$ac_exeext conftest.$ac_ext
47323 LIBS=$ac_check_lib_save_LIBS
47325 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47326 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47327 if test $ac_cv_lib_unicows_main = yes; then
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_UNICODE_MSLU 1
47336 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47337 Applications will only run on Windows NT/2000/XP!" >&5
47338 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47339 Applications will only run on Windows NT/2000/XP!" >&2;}
47340 wxUSE_UNICODE_MSLU=no
47347 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_UNICODE_UTF8 1
47353 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_UTF8_LOCALE_ONLY 1
47362 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_CONSTRAINTS 1
47367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47370 if test "$wxUSE_MDI" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_MDI 1
47376 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_MDI_ARCHITECTURE 1
47381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47385 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47391 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47396 if test "$wxUSE_HELP" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_HELP 1
47401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47403 if test "$wxUSE_MSW" = 1; then
47404 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47405 cat >>confdefs.h <<\_ACEOF
47406 #define wxUSE_MS_HTML_HELP 1
47412 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47413 if test "$wxUSE_HTML" = "yes"; then
47414 cat >>confdefs.h <<\_ACEOF
47415 #define wxUSE_WXHTML_HELP 1
47419 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47420 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47421 wxUSE_WXHTML_HELP=no
47426 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47427 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47428 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47429 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_PRINTING_ARCHITECTURE 1
47436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47439 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_POSTSCRIPT 1
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47451 if test "$wxUSE_SVG" = "yes"; then
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_SVG 1
47459 if test "$wxUSE_METAFILE" = "yes"; then
47460 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47461 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47462 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47468 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47469 -o "$wxUSE_CLIPBOARD" = "yes" \
47470 -o "$wxUSE_OLE" = "yes" \
47471 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47472 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47473 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47474 if test "${ac_cv_header_ole2_h+set}" = set; then
47475 echo $ECHO_N "(cached) $ECHO_C" >&6
47477 cat >conftest.$ac_ext <<_ACEOF
47480 cat confdefs.h >>conftest.$ac_ext
47481 cat >>conftest.$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47487 rm -f conftest.$ac_objext
47488 if { (ac_try="$ac_compile"
47489 case "(($ac_try" in
47490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47491 *) ac_try_echo
=$ac_try;;
47493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47494 (eval "$ac_compile") 2>conftest.er1
47496 grep -v '^ *+' conftest.er1
>conftest.err
47498 cat conftest.err
>&5
47499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 (exit $ac_status); } && {
47501 test -z "$ac_c_werror_flag" ||
47502 test ! -s conftest.err
47503 } && test -s conftest.
$ac_objext; then
47504 ac_cv_header_ole2_h
=yes
47506 echo "$as_me: failed program was:" >&5
47507 sed 's/^/| /' conftest.
$ac_ext >&5
47509 ac_cv_header_ole2_h
=no
47512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47514 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47515 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47519 if test "$ac_cv_header_ole2_h" = "yes" ; then
47520 if test "$GCC" = yes ; then
47521 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47522 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47523 cat >conftest.
$ac_ext <<_ACEOF
47526 cat confdefs.h
>>conftest.
$ac_ext
47527 cat >>conftest.
$ac_ext <<_ACEOF
47528 /* end confdefs.h. */
47529 #include <windows.h>
47539 rm -f conftest.
$ac_objext
47540 if { (ac_try
="$ac_compile"
47541 case "(($ac_try" in
47542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47543 *) ac_try_echo=$ac_try;;
47545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47546 (eval "$ac_compile") 2>conftest.er1
47548 grep -v '^ *+' conftest.er1 >conftest.err
47550 cat conftest.err >&5
47551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47552 (exit $ac_status); } && {
47553 test -z "$ac_c_werror_flag" ||
47554 test ! -s conftest.err
47555 } && test -s conftest.$ac_objext; then
47556 { echo "$as_me:$LINENO: result: no" >&5
47557 echo "${ECHO_T}no" >&6; }
47559 echo "$as_me: failed program was:" >&5
47560 sed 's/^/| /' conftest.$ac_ext >&5
47562 { echo "$as_me:$LINENO: result: yes" >&5
47563 echo "${ECHO_T}yes" >&6; }
47564 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47568 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47569 if test "$wxUSE_OLE" = "yes" ; then
47570 cat >>confdefs.h <<\_ACEOF
47571 #define wxUSE_OLE 1
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_OLE_AUTOMATION 1
47578 cat >>confdefs.h <<\_ACEOF
47579 #define wxUSE_ACTIVEX 1
47582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47586 if test "$wxUSE_DATAOBJ" = "yes" ; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_DATAOBJ 1
47593 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47594 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47597 wxUSE_DRAG_AND_DROP=no
47602 if test "$wxUSE_METAFILE" = "yes"; then
47603 cat >>confdefs.h <<\_ACEOF
47604 #define wxUSE_METAFILE 1
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_ENH_METAFILE 1
47615 if test "$wxUSE_IPC" = "yes"; then
47616 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47617 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47618 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47622 if test "$wxUSE_IPC" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_IPC 1
47627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47631 if test "$wxUSE_DATAOBJ" = "yes"; then
47632 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47633 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47634 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_DATAOBJ 1
47643 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47644 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47646 wxUSE_DRAG_AND_DROP=no
47649 if test "$wxUSE_CLIPBOARD" = "yes"; then
47650 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47651 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47652 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47656 if test "$wxUSE_CLIPBOARD" = "yes"; then
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_CLIPBOARD 1
47664 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47665 if test "$wxUSE_GTK" = 1; then
47666 if test "$WXGTK12" != 1; then
47667 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47668 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47669 wxUSE_DRAG_AND_DROP=no
47673 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47674 "$wxUSE_DFB" = 1; then
47675 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47676 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47677 wxUSE_DRAG_AND_DROP=no
47680 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_DRAG_AND_DROP 1
47689 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47693 if test "$wxUSE_SPLINES" = "yes" ; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_SPLINES 1
47700 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_MOUSEWHEEL 1
47709 if test "$wxUSE_CONTROLS" = "yes"; then
47713 if test "$wxUSE_ACCEL" = "yes"; then
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_ACCEL 1
47721 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47722 cat >>confdefs.h <<\_ACEOF
47723 #define wxUSE_ANIMATIONCTRL 1
47727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47730 if test "$wxUSE_BUTTON" = "yes"; then
47731 cat >>confdefs.h <<\_ACEOF
47732 #define wxUSE_BUTTON 1
47738 if test "$wxUSE_BMPBUTTON" = "yes"; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_BMPBUTTON 1
47746 if test "$wxUSE_CALCTRL" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_CALENDARCTRL 1
47752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47755 if test "$wxUSE_CARET" = "yes"; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_CARET 1
47761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47764 if test "$wxUSE_COLLPANE" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_COLLPANE 1
47770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47773 if test "$wxUSE_COMBOBOX" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_COMBOBOX 1
47781 if test "$wxUSE_COMBOCTRL" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_COMBOCTRL 1
47789 if test "$wxUSE_CHOICE" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_CHOICE 1
47797 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_CHOICEBOOK 1
47805 if test "$wxUSE_CHECKBOX" = "yes"; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_CHECKBOX 1
47813 if test "$wxUSE_CHECKLST" = "yes"; then
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_CHECKLISTBOX 1
47821 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47822 cat >>confdefs.h <<\_ACEOF
47823 #define wxUSE_COLOURPICKERCTRL 1
47829 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_DATEPICKCTRL 1
47837 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_DIRPICKERCTRL 1
47845 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_FILEPICKERCTRL 1
47853 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_FONTPICKERCTRL 1
47861 if test "$wxUSE_DISPLAY" = "yes"; then
47862 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47863 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47864 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_DISPLAY 1
47871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47875 if test "$wxUSE_DETECT_SM" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_DETECT_SM 1
47882 if test "$wxUSE_GAUGE" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_GAUGE 1
47890 if test "$wxUSE_GRID" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_GRID 1
47896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47899 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47900 cat >>confdefs.h <<\_ACEOF
47901 #define wxUSE_HYPERLINKCTRL 1
47907 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_BITMAPCOMBOBOX 1
47915 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47916 cat >>confdefs.h <<\_ACEOF
47917 #define wxUSE_DATAVIEWCTRL 1
47921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47924 if test "$wxUSE_IMAGLIST" = "yes"; then
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_IMAGLIST 1
47931 if test "$wxUSE_LISTBOOK" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_LISTBOOK 1
47939 if test "$wxUSE_LISTBOX" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_LISTBOX 1
47947 if test "$wxUSE_LISTCTRL" = "yes"; then
47948 if test "$wxUSE_IMAGLIST" = "yes"; then
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_LISTCTRL 1
47954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47956 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47957 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47961 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_EDITABLELISTBOX 1
47967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47970 if test "$wxUSE_NOTEBOOK" = "yes"; then
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_NOTEBOOK 1
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47979 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_ODCOMBOBOX 1
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47988 if test "$wxUSE_RADIOBOX" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_RADIOBOX 1
47996 if test "$wxUSE_RADIOBTN" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_RADIOBTN 1
48004 if test "$wxUSE_SASH" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_SASH 1
48009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48012 if test "$wxUSE_SCROLLBAR" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_SCROLLBAR 1
48018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48021 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_SEARCHCTRL 1
48029 if test "$wxUSE_SLIDER" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_SLIDER 1
48037 if test "$wxUSE_SPINBTN" = "yes"; then
48038 cat >>confdefs.h <<\_ACEOF
48039 #define wxUSE_SPINBTN 1
48045 if test "$wxUSE_SPINCTRL" = "yes"; then
48046 cat >>confdefs.h <<\_ACEOF
48047 #define wxUSE_SPINCTRL 1
48053 if test "$wxUSE_SPLITTER" = "yes"; then
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_SPLITTER 1
48058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48061 if test "$wxUSE_STATBMP" = "yes"; then
48062 cat >>confdefs.h <<\_ACEOF
48063 #define wxUSE_STATBMP 1
48069 if test "$wxUSE_STATBOX" = "yes"; then
48070 cat >>confdefs.h <<\_ACEOF
48071 #define wxUSE_STATBOX 1
48077 if test "$wxUSE_STATTEXT" = "yes"; then
48078 cat >>confdefs.h <<\_ACEOF
48079 #define wxUSE_STATTEXT 1
48085 if test "$wxUSE_STATLINE" = "yes"; then
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_STATLINE 1
48093 if test "$wxUSE_STATUSBAR" = "yes"; then
48094 cat >>confdefs.h <<\_ACEOF
48095 #define wxUSE_NATIVE_STATUSBAR 1
48098 cat >>confdefs.h <<\_ACEOF
48099 #define wxUSE_STATUSBAR 1
48104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48107 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48108 cat >>confdefs.h <<\_ACEOF
48109 #define wxUSE_TAB_DIALOG 1
48114 if test "$wxUSE_TEXTCTRL" = "yes"; then
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_TEXTCTRL 1
48120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48123 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48124 if test "$wxUSE_COCOA" = 1 ; then
48125 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48126 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48130 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_TOGGLEBTN 1
48139 if test "$wxUSE_TOOLBAR" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_TOOLBAR 1
48146 if test "$wxUSE_UNIVERSAL" = "yes"; then
48147 wxUSE_TOOLBAR_NATIVE="no"
48149 wxUSE_TOOLBAR_NATIVE="yes"
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_TOOLBAR_NATIVE 1
48156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48159 if test "$wxUSE_TOOLTIPS" = "yes"; then
48160 if test "$wxUSE_MOTIF" = 1; then
48161 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48162 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48164 if test "$wxUSE_UNIVERSAL" = "yes"; then
48165 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48166 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_TOOLTIPS 1
48176 if test "$wxUSE_TREEBOOK" = "yes"; then
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_TREEBOOK 1
48184 if test "$wxUSE_TOOLBOOK" = "yes"; then
48185 cat >>confdefs.h <<\_ACEOF
48186 #define wxUSE_TOOLBOOK 1
48192 if test "$wxUSE_TREECTRL" = "yes"; then
48193 if test "$wxUSE_IMAGLIST" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TREECTRL 1
48199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48201 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48202 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48206 if test "$wxUSE_POPUPWIN" = "yes"; then
48207 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48208 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48209 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48211 if test "$wxUSE_PM" = 1; then
48212 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48213 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_POPUPWIN 1
48219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48226 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48227 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48228 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48229 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_DIALUP_MANAGER 1
48235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48239 if test "$wxUSE_TIPWINDOW" = "yes"; then
48240 if test "$wxUSE_PM" = 1; then
48241 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48242 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48244 cat >>confdefs.h <<\_ACEOF
48245 #define wxUSE_TIPWINDOW 1
48251 if test "$USES_CONTROLS" = 1; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_CONTROLS 1
48259 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_ACCESSIBILITY 1
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48267 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_DRAGIMAGE 1
48272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48275 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48276 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48277 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48278 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48280 cat >>confdefs.h <<\_ACEOF
48281 #define wxUSE_EXCEPTIONS 1
48284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48289 if test "$wxUSE_HTML" = "yes"; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_HTML 1
48295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48296 if test "$wxUSE_MAC" = 1; then
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48300 if test "$wxUSE_WEBKIT" = "yes"; then
48301 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48302 old_CPPFLAGS="$CPPFLAGS"
48303 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48304 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48305 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48306 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48307 echo $ECHO_N "(cached) $ECHO_C" >&6
48309 cat >conftest.$ac_ext <<_ACEOF
48312 cat confdefs.h >>conftest.$ac_ext
48313 cat >>conftest.$ac_ext <<_ACEOF
48314 /* end confdefs.h. */
48316 #include <Carbon/Carbon.h>
48317 #include <WebKit/WebKit.h>
48320 #include <WebKit/HIWebView.h>
48322 rm -f conftest.$ac_objext
48323 if { (ac_try="$ac_compile"
48324 case "(($ac_try" in
48325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48326 *) ac_try_echo
=$ac_try;;
48328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48329 (eval "$ac_compile") 2>conftest.er1
48331 grep -v '^ *+' conftest.er1
>conftest.err
48333 cat conftest.err
>&5
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); } && {
48336 test -z "$ac_c_werror_flag" ||
48337 test ! -s conftest.err
48338 } && test -s conftest.
$ac_objext; then
48339 ac_cv_header_WebKit_HIWebView_h
=yes
48341 echo "$as_me: failed program was:" >&5
48342 sed 's/^/| /' conftest.
$ac_ext >&5
48344 ac_cv_header_WebKit_HIWebView_h
=no
48347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48349 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48350 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48351 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48353 cat >>confdefs.h
<<\_ACEOF
48354 #define wxUSE_WEBKIT 1
48357 WEBKIT_LINK
="-framework WebKit"
48361 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48362 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48368 CPPFLAGS
="$old_CPPFLAGS"
48369 elif test "$wxUSE_COCOA" = 1; then
48370 cat >>confdefs.h
<<\_ACEOF
48371 #define wxUSE_WEBKIT 1
48380 if test "$wxUSE_XRC" = "yes"; then
48381 if test "$wxUSE_XML" != "yes"; then
48382 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48383 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48386 cat >>confdefs.h
<<\_ACEOF
48387 #define wxUSE_XRC 1
48391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48396 if test "$wxUSE_AUI" = "yes"; then
48397 cat >>confdefs.h
<<\_ACEOF
48398 #define wxUSE_AUI 1
48402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48406 if test "$wxUSE_STC" = "yes"; then
48407 cat >>confdefs.h
<<\_ACEOF
48408 #define wxUSE_STC 1
48412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48415 if test "$wxUSE_MENUS" = "yes"; then
48416 cat >>confdefs.h
<<\_ACEOF
48417 #define wxUSE_MENUS 1
48420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48423 if test "$wxUSE_METAFILE" = "yes"; then
48424 cat >>confdefs.h
<<\_ACEOF
48425 #define wxUSE_METAFILE 1
48430 if test "$wxUSE_MIMETYPE" = "yes"; then
48431 cat >>confdefs.h
<<\_ACEOF
48432 #define wxUSE_MIMETYPE 1
48437 if test "$wxUSE_MINIFRAME" = "yes"; then
48438 cat >>confdefs.h
<<\_ACEOF
48439 #define wxUSE_MINIFRAME 1
48444 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48445 cat >>confdefs.h
<<\_ACEOF
48446 #define wxUSE_SYSTEM_OPTIONS 1
48451 if test "$wxUSE_TASKBARICON" = "yes"; then
48452 cat >>confdefs.h
<<\_ACEOF
48453 #define wxUSE_TASKBARICON 1
48456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48460 if test "$wxUSE_VALIDATORS" = "yes"; then
48461 cat >>confdefs.h
<<\_ACEOF
48462 #define wxUSE_VALIDATORS 1
48465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48468 if test "$wxUSE_PALETTE" = "yes" ; then
48469 if test "$wxUSE_DFB" = 1; then
48470 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48471 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48474 cat >>confdefs.h
<<\_ACEOF
48475 #define wxUSE_PALETTE 1
48481 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48482 LIBS
=" -lunicows $LIBS"
48486 if test "$wxUSE_RICHTEXT" = "yes"; then
48487 cat >>confdefs.h
<<\_ACEOF
48488 #define wxUSE_RICHTEXT 1
48492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48496 if test "$wxUSE_IMAGE" = "yes" ; then
48497 cat >>confdefs.h
<<\_ACEOF
48498 #define wxUSE_IMAGE 1
48502 if test "$wxUSE_GIF" = "yes" ; then
48503 cat >>confdefs.h
<<\_ACEOF
48504 #define wxUSE_GIF 1
48509 if test "$wxUSE_PCX" = "yes" ; then
48510 cat >>confdefs.h
<<\_ACEOF
48511 #define wxUSE_PCX 1
48516 if test "$wxUSE_TGA" = "yes" ; then
48517 cat >>confdefs.h
<<\_ACEOF
48518 #define wxUSE_TGA 1
48523 if test "$wxUSE_IFF" = "yes" ; then
48524 cat >>confdefs.h
<<\_ACEOF
48525 #define wxUSE_IFF 1
48530 if test "$wxUSE_PNM" = "yes" ; then
48531 cat >>confdefs.h
<<\_ACEOF
48532 #define wxUSE_PNM 1
48537 if test "$wxUSE_XPM" = "yes" ; then
48538 cat >>confdefs.h
<<\_ACEOF
48539 #define wxUSE_XPM 1
48544 if test "$wxUSE_ICO_CUR" = "yes" ; then
48545 cat >>confdefs.h
<<\_ACEOF
48546 #define wxUSE_ICO_CUR 1
48553 if test "$wxUSE_ABOUTDLG" = "yes"; then
48554 cat >>confdefs.h
<<\_ACEOF
48555 #define wxUSE_ABOUTDLG 1
48560 if test "$wxUSE_CHOICEDLG" = "yes"; then
48561 cat >>confdefs.h
<<\_ACEOF
48562 #define wxUSE_CHOICEDLG 1
48567 if test "$wxUSE_COLOURDLG" = "yes"; then
48568 cat >>confdefs.h
<<\_ACEOF
48569 #define wxUSE_COLOURDLG 1
48574 if test "$wxUSE_FILEDLG" = "yes"; then
48575 cat >>confdefs.h
<<\_ACEOF
48576 #define wxUSE_FILEDLG 1
48581 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48582 cat >>confdefs.h
<<\_ACEOF
48583 #define wxUSE_FINDREPLDLG 1
48588 if test "$wxUSE_FONTDLG" = "yes"; then
48589 cat >>confdefs.h
<<\_ACEOF
48590 #define wxUSE_FONTDLG 1
48595 if test "$wxUSE_DIRDLG" = "yes"; then
48596 if test "$wxUSE_TREECTRL" != "yes"; then
48597 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48598 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48600 cat >>confdefs.h
<<\_ACEOF
48601 #define wxUSE_DIRDLG 1
48607 if test "$wxUSE_MSGDLG" = "yes"; then
48608 cat >>confdefs.h
<<\_ACEOF
48609 #define wxUSE_MSGDLG 1
48614 if test "$wxUSE_NUMBERDLG" = "yes"; then
48615 cat >>confdefs.h
<<\_ACEOF
48616 #define wxUSE_NUMBERDLG 1
48621 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48622 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48623 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48624 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48626 cat >>confdefs.h
<<\_ACEOF
48627 #define wxUSE_PROGRESSDLG 1
48633 if test "$wxUSE_SPLASH" = "yes"; then
48634 cat >>confdefs.h
<<\_ACEOF
48635 #define wxUSE_SPLASH 1
48638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48641 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48642 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48643 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48644 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48646 cat >>confdefs.h
<<\_ACEOF
48647 #define wxUSE_STARTUP_TIPS 1
48653 if test "$wxUSE_TEXTDLG" = "yes"; then
48654 cat >>confdefs.h
<<\_ACEOF
48655 #define wxUSE_TEXTDLG 1
48660 if test "$wxUSE_WIZARDDLG" = "yes"; then
48661 cat >>confdefs.h
<<\_ACEOF
48662 #define wxUSE_WIZARDDLG 1
48665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48669 if test "$wxUSE_MSW" = 1 ; then
48671 if test "$wxUSE_DC_CACHEING" = "yes"; then
48672 cat >>confdefs.h
<<\_ACEOF
48673 #define wxUSE_DC_CACHEING 1
48678 if test "$wxUSE_DIB" = "yes"; then
48679 cat >>confdefs.h
<<\_ACEOF
48680 #define wxUSE_WXDIB 1
48685 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48686 cat >>confdefs.h
<<\_ACEOF
48687 #define wxUSE_OWNER_DRAWN 1
48692 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48693 cat >>confdefs.h
<<\_ACEOF
48694 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48699 if test "$wxUSE_UXTHEME" = "yes"; then
48700 cat >>confdefs.h
<<\_ACEOF
48701 #define wxUSE_UXTHEME 1
48709 if test "$USE_WIN32" = 1 ; then
48710 if test "$wxUSE_INICONF" = "yes"; then
48711 cat >>confdefs.h
<<\_ACEOF
48712 #define wxUSE_INICONF 1
48717 if test "$wxUSE_REGKEY" = "yes"; then
48718 cat >>confdefs.h
<<\_ACEOF
48719 #define wxUSE_REGKEY 1
48726 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48727 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48728 cat >>confdefs.h
<<\_ACEOF
48729 #define wxUSE_GRAPHICS_CONTEXT 1
48732 elif test "$wxUSE_GTK" != 1; then
48733 cat >>confdefs.h
<<\_ACEOF
48734 #define wxUSE_GRAPHICS_CONTEXT 1
48740 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48741 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48743 if test -n "$PKG_CONFIG"; then
48744 if test -n "$CAIRO_CFLAGS"; then
48745 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48747 if test -n "$PKG_CONFIG" && \
48748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48749 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48752 (exit $ac_status); }; then
48753 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48761 if test -n "$PKG_CONFIG"; then
48762 if test -n "$CAIRO_LIBS"; then
48763 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48765 if test -n "$PKG_CONFIG" && \
48766 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48767 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770 (exit $ac_status); }; then
48771 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48782 if test $pkg_failed = yes; then
48784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48785 _pkg_short_errors_supported
=yes
48787 _pkg_short_errors_supported
=no
48789 if test $_pkg_short_errors_supported = yes; then
48790 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48792 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48794 # Put the nasty error message in config.log where it belongs
48795 echo "$CAIRO_PKG_ERRORS" >&5
48797 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48798 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48800 elif test $pkg_failed = untried
; then
48801 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48802 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48805 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48806 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48807 { echo "$as_me:$LINENO: result: yes" >&5
48808 echo "${ECHO_T}yes" >&6; }
48809 cat >>confdefs.h
<<\_ACEOF
48810 #define wxUSE_GRAPHICS_CONTEXT 1
48820 if test "$wxUSE_MEDIACTRL" = "yes"; then
48823 if test "$wxUSE_GTK" = 1; then
48824 wxUSE_GSTREAMER
="no"
48826 GST_VERSION_MAJOR
=0
48827 GST_VERSION_MINOR
=10
48828 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48830 if test "$wxUSE_GSTREAMER8" = "no"; then
48833 { echo "$as_me:$LINENO: checking for GST" >&5
48834 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48836 if test -n "$PKG_CONFIG"; then
48837 if test -n "$GST_CFLAGS"; then
48838 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48840 if test -n "$PKG_CONFIG" && \
48841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48842 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48845 (exit $ac_status); }; then
48846 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48854 if test -n "$PKG_CONFIG"; then
48855 if test -n "$GST_LIBS"; then
48856 pkg_cv_GST_LIBS
="$GST_LIBS"
48858 if test -n "$PKG_CONFIG" && \
48859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48860 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48863 (exit $ac_status); }; then
48864 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48875 if test $pkg_failed = yes; then
48877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48878 _pkg_short_errors_supported
=yes
48880 _pkg_short_errors_supported
=no
48882 if test $_pkg_short_errors_supported = yes; then
48883 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48885 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48887 # Put the nasty error message in config.log where it belongs
48888 echo "$GST_PKG_ERRORS" >&5
48891 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48892 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48893 GST_VERSION_MINOR
=8
48896 elif test $pkg_failed = untried
; then
48898 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48899 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48900 GST_VERSION_MINOR
=8
48904 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48905 GST_LIBS
=$pkg_cv_GST_LIBS
48906 { echo "$as_me:$LINENO: result: yes" >&5
48907 echo "${ECHO_T}yes" >&6; }
48909 wxUSE_GSTREAMER
="yes"
48910 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48914 GST_VERSION_MINOR
=8
48917 if test $GST_VERSION_MINOR = "8"; then
48918 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48921 { echo "$as_me:$LINENO: checking for GST" >&5
48922 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48924 if test -n "$PKG_CONFIG"; then
48925 if test -n "$GST_CFLAGS"; then
48926 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48928 if test -n "$PKG_CONFIG" && \
48929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48930 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48933 (exit $ac_status); }; then
48934 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48942 if test -n "$PKG_CONFIG"; then
48943 if test -n "$GST_LIBS"; then
48944 pkg_cv_GST_LIBS
="$GST_LIBS"
48946 if test -n "$PKG_CONFIG" && \
48947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48948 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48951 (exit $ac_status); }; then
48952 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48963 if test $pkg_failed = yes; then
48965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48966 _pkg_short_errors_supported
=yes
48968 _pkg_short_errors_supported
=no
48970 if test $_pkg_short_errors_supported = yes; then
48971 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48973 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48975 # Put the nasty error message in config.log where it belongs
48976 echo "$GST_PKG_ERRORS" >&5
48979 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48980 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48982 elif test $pkg_failed = untried
; then
48984 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48985 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48988 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48989 GST_LIBS
=$pkg_cv_GST_LIBS
48990 { echo "$as_me:$LINENO: result: yes" >&5
48991 echo "${ECHO_T}yes" >&6; }
48992 wxUSE_GSTREAMER
="yes"
48997 if test "$wxUSE_GSTREAMER" = "yes"; then
48998 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48999 LIBS
="$GST_LIBS $LIBS"
49001 cat >>confdefs.h
<<\_ACEOF
49002 #define wxUSE_GSTREAMER 1
49010 if test $USE_MEDIA = 1; then
49011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49012 cat >>confdefs.h
<<\_ACEOF
49013 #define wxUSE_MEDIACTRL 1
49020 if test "$cross_compiling" = "yes"; then
49023 OSINFO
=`uname -s -r -m`
49024 OSINFO
="\"$OSINFO\""
49027 cat >>confdefs.h
<<_ACEOF
49028 #define WXWIN_OS_DESCRIPTION $OSINFO
49033 if test "x$prefix" != "xNONE"; then
49036 wxPREFIX
=$ac_default_prefix
49039 cat >>confdefs.h
<<_ACEOF
49040 #define wxINSTALL_PREFIX "$wxPREFIX"
49046 STD_BASE_LIBS
="base"
49048 BUILT_WX_LIBS
="base"
49049 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49051 if test "$wxUSE_SOCKETS" = "yes" ; then
49052 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49053 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49055 if test "$wxUSE_ODBC" != "no" ; then
49056 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
49058 if test "$wxUSE_XML" = "yes" ; then
49059 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49060 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49063 if test "$wxUSE_GUI" = "yes"; then
49064 STD_GUI_LIBS
="adv core"
49065 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49067 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49068 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49069 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49071 if test "$wxUSE_ODBC" != "no" ; then
49072 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
49074 if test "$wxUSE_HTML" = "yes" ; then
49075 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49076 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49078 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49079 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49081 if test "$wxUSE_OPENGL" = "yes" ; then
49082 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49084 if test "$wxUSE_AUI" = "yes" ; then
49085 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49087 if test "$wxUSE_STC" = "yes" ; then
49088 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49090 if test "$wxUSE_XRC" = "yes" ; then
49091 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49092 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49103 if test "$wxUSE_MAC" = 1 ; then
49104 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49105 if test "$USE_DARWIN" = 1; then
49106 LDFLAGS
="$LDFLAGS -framework QuickTime"
49108 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
49111 if test "$USE_DARWIN" = 1; then
49112 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49114 LDFLAGS
="$LDFLAGS -lCarbonLib"
49117 if test "$wxUSE_COCOA" = 1 ; then
49118 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
49119 if test "$wxUSE_MEDIACTRL" = "yes"; then
49120 LDFLAGS
="$LDFLAGS -framework QuickTime"
49123 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49124 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49127 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49129 if test "$wxUSE_GUI" = "yes"; then
49132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49133 erase event exec font image minimal mobile \
49134 mobile/wxedit mobile/styles render \
49135 shaped svg taborder vscroll widgets"
49137 if test "$wxUSE_MONOLITHIC" != "yes"; then
49138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49140 if test "$TOOLKIT" = "MSW"; then
49141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49142 if test "$wxUSE_UNIVERSAL" != "yes"; then
49143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49146 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49150 SAMPLES_SUBDIRS
="console"
49154 if test "x$INTELCC" = "xyes" ; then
49155 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
49156 elif test "$GCC" = yes ; then
49157 CWARNINGS
="-Wall -Wundef"
49160 if test "x$INTELCXX" = "xyes" ; then
49161 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
49162 elif test "$GXX" = yes ; then
49163 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
49167 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49168 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49171 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49172 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49173 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49176 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49177 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49178 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49180 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49183 if test "x$MWCC" = "xyes"; then
49185 CC
="$CC -cwd source -I-"
49186 CXX
="$CXX -cwd source -I-"
49191 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49192 EXTRALIBS_XML
="$EXPAT_LINK"
49193 EXTRALIBS_HTML
="$MSPACK_LINK"
49194 EXTRALIBS_ODBC
="$ODBC_LINK"
49195 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49196 if test "$wxUSE_GUI" = "yes"; then
49197 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49199 if test "$wxUSE_OPENGL" = "yes"; then
49200 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49203 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49205 WXCONFIG_LIBS
="$LIBS"
49207 if test "$wxUSE_REGEX" = "builtin" ; then
49208 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49210 if test "$wxUSE_EXPAT" = "builtin" ; then
49211 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49213 if test "$wxUSE_ODBC" = "builtin" ; then
49214 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
49216 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49217 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49219 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49220 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49222 if test "$wxUSE_LIBPNG" = "builtin" ; then
49223 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49225 if test "$wxUSE_ZLIB" = "builtin" ; then
49226 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49229 for i
in $wxconfig_3rdparty ; do
49230 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49234 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49237 case "$wxUNIV_THEMES" in
49239 cat >>confdefs.h
<<\_ACEOF
49240 #define wxUSE_ALL_THEMES 1
49246 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49247 cat >>confdefs.h
<<_ACEOF
49248 #define wxUSE_THEME_$t 1
49265 if test $wxUSE_MONOLITHIC = "yes" ; then
49271 if test $wxUSE_PLUGINS = "yes" ; then
49277 if test $wxUSE_ODBC != "no" ; then
49283 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49289 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49321 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49332 TOOLKIT_DESC
="GTK+"
49333 if test "$WXGTK20" = 1; then
49334 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49335 if test "$wxUSE_GTKPRINT" = "yes" ; then
49336 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49338 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49339 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49341 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49342 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49344 if test "$wxUSE_LIBHILDON" = "yes"; then
49345 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49348 if test "$TOOLKIT_EXTRA" != ""; then
49349 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49355 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49359 TOOLKIT_DESC
="base only"
49363 if test "$wxUSE_WINE" = "yes"; then
49364 BAKEFILE_FORCE_PLATFORM
=win32
49367 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49369 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49370 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49371 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49372 echo $ECHO_N "(cached) $ECHO_C" >&6
49375 echo '#include <stdio.h>
49376 const wchar_t test_var[] = L"awidetest";' > conftest.h
49378 echo '#include "conftest.h"
49381 printf("%ls", test_var);
49385 wx_cv_gcc_pch_bug
="pch not supported"
49387 if $CXX conftest.h
>/dev
/null
2>&1
49391 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49393 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49394 grep awidetest
>/dev
/null
49396 wx_cv_gcc_pch_bug
=no
49398 wx_cv_gcc_pch_bug
=yes
49403 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49406 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49407 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49409 if test "$wx_cv_gcc_pch_bug" = yes; then
49417 if test "x$BAKEFILE_HOST" = "x"; then
49418 if test "x${host}" = "x" ; then
49419 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49420 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49421 { (exit 1); exit 1; }; }
49424 BAKEFILE_HOST
="${host}"
49427 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49429 if test -n "$ac_tool_prefix"; then
49430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49431 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49434 if test "${ac_cv_prog_RANLIB+set}" = set; then
49435 echo $ECHO_N "(cached) $ECHO_C" >&6
49437 if test -n "$RANLIB"; then
49438 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49441 for as_dir
in $PATH
49444 test -z "$as_dir" && as_dir
=.
49445 for ac_exec_ext
in '' $ac_executable_extensions; do
49446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49447 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49457 RANLIB
=$ac_cv_prog_RANLIB
49458 if test -n "$RANLIB"; then
49459 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49460 echo "${ECHO_T}$RANLIB" >&6; }
49462 { echo "$as_me:$LINENO: result: no" >&5
49463 echo "${ECHO_T}no" >&6; }
49468 if test -z "$ac_cv_prog_RANLIB"; then
49469 ac_ct_RANLIB
=$RANLIB
49470 # Extract the first word of "ranlib", so it can be a program name with args.
49471 set dummy ranlib
; ac_word
=$2
49472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49474 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49475 echo $ECHO_N "(cached) $ECHO_C" >&6
49477 if test -n "$ac_ct_RANLIB"; then
49478 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49481 for as_dir
in $PATH
49484 test -z "$as_dir" && as_dir
=.
49485 for ac_exec_ext
in '' $ac_executable_extensions; do
49486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49487 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49497 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49498 if test -n "$ac_ct_RANLIB"; then
49499 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49500 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49502 { echo "$as_me:$LINENO: result: no" >&5
49503 echo "${ECHO_T}no" >&6; }
49506 if test "x$ac_ct_RANLIB" = x
; then
49509 case $cross_compiling:$ac_tool_warned in
49511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49512 whose name does not start with the host triplet. If you think this
49513 configuration is useful to you, please write to autoconf@gnu.org." >&5
49514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49515 whose name does not start with the host triplet. If you think this
49516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49517 ac_tool_warned
=yes ;;
49519 RANLIB
=$ac_ct_RANLIB
49522 RANLIB
="$ac_cv_prog_RANLIB"
49525 # Find a good install program. We prefer a C program (faster),
49526 # so one script is as good as another. But avoid the broken or
49527 # incompatible versions:
49528 # SysV /etc/install, /usr/sbin/install
49529 # SunOS /usr/etc/install
49530 # IRIX /sbin/install
49532 # AmigaOS /C/install, which installs bootblocks on floppy discs
49533 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49536 # OS/2's system install, which has a completely different semantic
49537 # ./install, which can be erroneously created by make from ./install.sh.
49538 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49539 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49540 if test -z "$INSTALL"; then
49541 if test "${ac_cv_path_install+set}" = set; then
49542 echo $ECHO_N "(cached) $ECHO_C" >&6
49544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49545 for as_dir
in $PATH
49548 test -z "$as_dir" && as_dir
=.
49549 # Account for people who put trailing slashes in PATH elements.
49551 .
/ | .
// | /cC
/* | \
49552 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49553 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49556 # OSF1 and SCO ODT 3.0 have their own names for install.
49557 # Don't use installbsd from OSF since it installs stuff as root
49559 for ac_prog
in ginstall scoinst
install; do
49560 for ac_exec_ext
in '' $ac_executable_extensions; do
49561 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49562 if test $ac_prog = install &&
49563 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49564 # AIX install. It has an incompatible calling convention.
49566 elif test $ac_prog = install &&
49567 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49568 # program-specific install script used by HP pwplus--don't use.
49571 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49584 if test "${ac_cv_path_install+set}" = set; then
49585 INSTALL
=$ac_cv_path_install
49587 # As a last resort, use the slow shell script. Don't cache a
49588 # value for INSTALL within a source directory, because that will
49589 # break other packages using the cache if that directory is
49590 # removed, or if the value is a relative name.
49591 INSTALL
=$ac_install_sh
49594 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49595 echo "${ECHO_T}$INSTALL" >&6; }
49597 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49598 # It thinks the first close brace ends the variable substitution.
49599 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49601 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49603 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49605 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49606 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49608 if test "$LN_S" = "ln -s"; then
49609 { echo "$as_me:$LINENO: result: yes" >&5
49610 echo "${ECHO_T}yes" >&6; }
49612 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49613 echo "${ECHO_T}no, using $LN_S" >&6; }
49617 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49618 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49619 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49620 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49621 echo $ECHO_N "(cached) $ECHO_C" >&6
49623 cat >conftest.
make <<\_ACEOF
49626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49628 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49630 *@@@
%%%=?
*=@@@
%%%*)
49631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49635 rm -f conftest.
make
49637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49638 { echo "$as_me:$LINENO: result: yes" >&5
49639 echo "${ECHO_T}yes" >&6; }
49642 { echo "$as_me:$LINENO: result: no" >&5
49643 echo "${ECHO_T}no" >&6; }
49644 SET_MAKE
="MAKE=${MAKE-make}"
49649 if test "x$SUNCXX" = "xyes"; then
49651 AROPTIONS
="-xar -o"
49653 elif test "x$SGICC" = "xyes"; then
49658 if test -n "$ac_tool_prefix"; then
49659 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49660 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49663 if test "${ac_cv_prog_AR+set}" = set; then
49664 echo $ECHO_N "(cached) $ECHO_C" >&6
49666 if test -n "$AR"; then
49667 ac_cv_prog_AR
="$AR" # Let the user override the test.
49669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49670 for as_dir
in $PATH
49673 test -z "$as_dir" && as_dir
=.
49674 for ac_exec_ext
in '' $ac_executable_extensions; do
49675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49676 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49687 if test -n "$AR"; then
49688 { echo "$as_me:$LINENO: result: $AR" >&5
49689 echo "${ECHO_T}$AR" >&6; }
49691 { echo "$as_me:$LINENO: result: no" >&5
49692 echo "${ECHO_T}no" >&6; }
49697 if test -z "$ac_cv_prog_AR"; then
49699 # Extract the first word of "ar", so it can be a program name with args.
49700 set dummy
ar; ac_word
=$2
49701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49703 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49704 echo $ECHO_N "(cached) $ECHO_C" >&6
49706 if test -n "$ac_ct_AR"; then
49707 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49710 for as_dir
in $PATH
49713 test -z "$as_dir" && as_dir
=.
49714 for ac_exec_ext
in '' $ac_executable_extensions; do
49715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49716 ac_cv_prog_ac_ct_AR
="ar"
49717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49726 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49727 if test -n "$ac_ct_AR"; then
49728 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49729 echo "${ECHO_T}$ac_ct_AR" >&6; }
49731 { echo "$as_me:$LINENO: result: no" >&5
49732 echo "${ECHO_T}no" >&6; }
49735 if test "x$ac_ct_AR" = x
; then
49738 case $cross_compiling:$ac_tool_warned in
49740 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49741 whose name does not start with the host triplet. If you think this
49742 configuration is useful to you, please write to autoconf@gnu.org." >&5
49743 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49744 whose name does not start with the host triplet. If you think this
49745 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49746 ac_tool_warned
=yes ;;
49751 AR
="$ac_cv_prog_AR"
49758 if test -n "$ac_tool_prefix"; then
49759 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49760 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49763 if test "${ac_cv_prog_STRIP+set}" = set; then
49764 echo $ECHO_N "(cached) $ECHO_C" >&6
49766 if test -n "$STRIP"; then
49767 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49770 for as_dir
in $PATH
49773 test -z "$as_dir" && as_dir
=.
49774 for ac_exec_ext
in '' $ac_executable_extensions; do
49775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49776 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49786 STRIP
=$ac_cv_prog_STRIP
49787 if test -n "$STRIP"; then
49788 { echo "$as_me:$LINENO: result: $STRIP" >&5
49789 echo "${ECHO_T}$STRIP" >&6; }
49791 { echo "$as_me:$LINENO: result: no" >&5
49792 echo "${ECHO_T}no" >&6; }
49797 if test -z "$ac_cv_prog_STRIP"; then
49799 # Extract the first word of "strip", so it can be a program name with args.
49800 set dummy strip
; ac_word
=$2
49801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49803 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49804 echo $ECHO_N "(cached) $ECHO_C" >&6
49806 if test -n "$ac_ct_STRIP"; then
49807 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49810 for as_dir
in $PATH
49813 test -z "$as_dir" && as_dir
=.
49814 for ac_exec_ext
in '' $ac_executable_extensions; do
49815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49816 ac_cv_prog_ac_ct_STRIP
="strip"
49817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49826 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49827 if test -n "$ac_ct_STRIP"; then
49828 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49829 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49831 { echo "$as_me:$LINENO: result: no" >&5
49832 echo "${ECHO_T}no" >&6; }
49835 if test "x$ac_ct_STRIP" = x
; then
49838 case $cross_compiling:$ac_tool_warned in
49840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49841 whose name does not start with the host triplet. If you think this
49842 configuration is useful to you, please write to autoconf@gnu.org." >&5
49843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49844 whose name does not start with the host triplet. If you think this
49845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49846 ac_tool_warned
=yes ;;
49851 STRIP
="$ac_cv_prog_STRIP"
49854 if test -n "$ac_tool_prefix"; then
49855 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49856 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49859 if test "${ac_cv_prog_NM+set}" = set; then
49860 echo $ECHO_N "(cached) $ECHO_C" >&6
49862 if test -n "$NM"; then
49863 ac_cv_prog_NM
="$NM" # Let the user override the test.
49865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49866 for as_dir
in $PATH
49869 test -z "$as_dir" && as_dir
=.
49870 for ac_exec_ext
in '' $ac_executable_extensions; do
49871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49872 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49883 if test -n "$NM"; then
49884 { echo "$as_me:$LINENO: result: $NM" >&5
49885 echo "${ECHO_T}$NM" >&6; }
49887 { echo "$as_me:$LINENO: result: no" >&5
49888 echo "${ECHO_T}no" >&6; }
49893 if test -z "$ac_cv_prog_NM"; then
49895 # Extract the first word of "nm", so it can be a program name with args.
49896 set dummy nm
; ac_word
=$2
49897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49899 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49900 echo $ECHO_N "(cached) $ECHO_C" >&6
49902 if test -n "$ac_ct_NM"; then
49903 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49906 for as_dir
in $PATH
49909 test -z "$as_dir" && as_dir
=.
49910 for ac_exec_ext
in '' $ac_executable_extensions; do
49911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49912 ac_cv_prog_ac_ct_NM
="nm"
49913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49922 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49923 if test -n "$ac_ct_NM"; then
49924 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49925 echo "${ECHO_T}$ac_ct_NM" >&6; }
49927 { echo "$as_me:$LINENO: result: no" >&5
49928 echo "${ECHO_T}no" >&6; }
49931 if test "x$ac_ct_NM" = x
; then
49934 case $cross_compiling:$ac_tool_warned in
49936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49937 whose name does not start with the host triplet. If you think this
49938 configuration is useful to you, please write to autoconf@gnu.org." >&5
49939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49940 whose name does not start with the host triplet. If you think this
49941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49942 ac_tool_warned
=yes ;;
49947 NM
="$ac_cv_prog_NM"
49951 case ${BAKEFILE_HOST} in
49953 INSTALL_DIR
="mkdir -p"
49956 INSTALL_DIR
='$(INSTALL) -d'
49962 case ${BAKEFILE_HOST} in
49963 *-*-cygwin* | *-*-mingw32* )
49964 LDFLAGS_GUI
="-mwindows"
49970 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49971 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49972 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49973 echo $ECHO_N "(cached) $ECHO_C" >&6
49976 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49977 egrep -s GNU
> /dev
/null
); then
49978 bakefile_cv_prog_makeisgnu
="yes"
49980 bakefile_cv_prog_makeisgnu
="no"
49984 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49985 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49987 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50004 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50005 case "${BAKEFILE_HOST}" in
50012 *-pc-os2_emx | *-pc-os2-emx )
50022 powerpc
-apple-macos* )
50031 case "$BAKEFILE_FORCE_PLATFORM" in
50066 # Check whether --enable-omf was given.
50067 if test "${enable_omf+set}" = set; then
50068 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50072 case "${BAKEFILE_HOST}" in
50074 if test "x$GCC" = "xyes"; then
50075 CFLAGS
="$CFLAGS -fno-common"
50076 CXXFLAGS
="$CXXFLAGS -fno-common"
50078 if test "x$XLCC" = "xyes"; then
50079 CFLAGS
="$CFLAGS -qnocommon"
50080 CXXFLAGS
="$CXXFLAGS -qnocommon"
50084 *-pc-os2_emx | *-pc-os2-emx )
50085 if test "x$bk_os2_use_omf" = "xyes" ; then
50088 LDFLAGS
="-Zomf $LDFLAGS"
50089 CFLAGS
="-Zomf $CFLAGS"
50090 CXXFLAGS
="-Zomf $CXXFLAGS"
50098 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50104 SO_SUFFIX_MODULE
="so"
50109 DLLPREFIX_MODULE
=""
50113 case "${BAKEFILE_HOST}" in
50116 SO_SUFFIX_MODULE
="sl"
50120 SO_SUFFIX_MODULE
="a"
50124 SO_SUFFIX_MODULE
="dll"
50125 DLLIMP_SUFFIX
="dll.a"
50132 SO_SUFFIX_MODULE
="dll"
50133 DLLIMP_SUFFIX
="dll.a"
50143 *-pc-os2_emx | *-pc-os2-emx )
50145 SO_SUFFIX_MODULE
="dll"
50146 DLLIMP_SUFFIX
=$OS2_LIBEXT
50150 LIBEXT
=".$OS2_LIBEXT"
50155 SO_SUFFIX_MODULE
="bundle"
50159 if test "x$DLLIMP_SUFFIX" = "x" ; then
50160 DLLIMP_SUFFIX
="$SO_SUFFIX"
50175 if test "x$GCC" = "xyes"; then
50179 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50180 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50183 case "${BAKEFILE_HOST}" in
50185 if test "x$GCC" != "xyes"; then
50186 LDFLAGS
="$LDFLAGS -L/usr/lib"
50188 SHARED_LD_CC
="${CC} -b -o"
50189 SHARED_LD_CXX
="${CXX} -b -o"
50195 if test "$INTELCC" = "yes"; then
50197 elif test "x$SUNCXX" = "xyes"; then
50198 SHARED_LD_CC
="${CC} -G -o"
50199 SHARED_LD_CXX
="${CXX} -G -o"
50205 if test "x$SUNCXX" = xyes
; then
50206 SHARED_LD_CC
="${CC} -G -o"
50207 SHARED_LD_CXX
="${CXX} -G -o"
50215 cat <<EOF >shared-ld-sh
50217 #-----------------------------------------------------------------------------
50218 #-- Name: distrib/mac/shared-ld-sh
50219 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50220 #-- Author: Gilles Depeyrot
50221 #-- Copyright: (c) 2002 Gilles Depeyrot
50222 #-- Licence: any use permitted
50223 #-----------------------------------------------------------------------------
50228 linking_flag="-dynamiclib"
50229 ldargs="-r -keep_private_externs -nostdlib"
50231 while test ${D}# -gt 0; do
50238 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50239 # collect these options and values
50240 args="${D}{args} ${D}1 ${D}2"
50245 # collect these load args
50246 ldargs="${D}{ldargs} ${D}1"
50249 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50250 # collect these options
50251 args="${D}{args} ${D}1"
50254 -dynamiclib|-bundle)
50255 linking_flag="${D}1"
50259 echo "shared-ld: unhandled option '${D}1'"
50263 *.o | *.a | *.dylib)
50264 # collect object files
50265 objects="${D}{objects} ${D}1"
50269 echo "shared-ld: unhandled argument '${D}1'"
50280 # Link one module containing all the others
50282 if test ${D}{verbose} = 1; then
50283 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50285 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50289 # Link the shared library from the single module created, but only if the
50290 # previous command didn't fail:
50292 if test ${D}{status} = 0; then
50293 if test ${D}{verbose} = 1; then
50294 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50296 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50301 # Remove intermediate module
50303 rm -f master.${D}${D}.o
50308 chmod +x shared
-ld-sh
50310 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50311 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50314 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50315 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50316 if test "${bakefile_cv_gcc31+set}" = set; then
50317 echo $ECHO_N "(cached) $ECHO_C" >&6
50320 cat >conftest.
$ac_ext <<_ACEOF
50323 cat confdefs.h
>>conftest.
$ac_ext
50324 cat >>conftest.
$ac_ext <<_ACEOF
50325 /* end confdefs.h. */
50331 #if (__GNUC__ < 3) || \
50332 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50340 rm -f conftest.
$ac_objext
50341 if { (ac_try
="$ac_compile"
50342 case "(($ac_try" in
50343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50344 *) ac_try_echo=$ac_try;;
50346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50347 (eval "$ac_compile") 2>conftest.er1
50349 grep -v '^ *+' conftest.er1 >conftest.err
50351 cat conftest.err >&5
50352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50353 (exit $ac_status); } && {
50354 test -z "$ac_c_werror_flag" ||
50355 test ! -s conftest.err
50356 } && test -s conftest.$ac_objext; then
50358 bakefile_cv_gcc31=yes
50361 echo "$as_me: failed program was:" >&5
50362 sed 's/^/| /' conftest.$ac_ext >&5
50365 bakefile_cv_gcc31=no
50370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50373 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50374 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50375 if test "$bakefile_cv_gcc31" = "no"; then
50376 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50377 SHARED_LD_CXX="$SHARED_LD_CC"
50379 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50380 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50383 if test "x$GCC" == "xyes"; then
50384 PIC_FLAG="-dynamic -fPIC"
50386 if test "x$XLCC" = "xyes"; then
50387 PIC_FLAG="-dynamic -DPIC"
50392 if test "x$GCC" = "xyes"; then
50395 case "${BAKEFILE_HOST}" in
50397 LD_EXPFULL="-Wl,-bexpfull"
50401 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50402 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50404 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50405 set dummy makeC++SharedLib; ac_word=$2
50406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50408 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50409 echo $ECHO_N "(cached) $ECHO_C" >&6
50411 if test -n "$AIX_CXX_LD"; then
50412 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50415 for as_dir in $PATH
50418 test -z "$as_dir" && as_dir=.
50419 for ac_exec_ext in '' $ac_executable_extensions; do
50420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50421 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50429 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50432 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50433 if test -n "$AIX_CXX_LD"; then
50434 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50435 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50437 { echo "$as_me:$LINENO: result: no" >&5
50438 echo "${ECHO_T}no" >&6; }
50442 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50443 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50448 SHARED_LD_CC="${LD} -nostart -o"
50449 SHARED_LD_CXX="${LD} -nostart -o"
50453 if test "x$GCC" != "xyes"; then
50458 *-*-cygwin* | *-*-mingw32* )
50460 SHARED_LD_CC="\$(CC) -shared -o"
50461 SHARED_LD_CXX="\$(CXX) -shared -o"
50465 *-pc-os2_emx | *-pc-os2-emx )
50466 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50467 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50471 cat <<EOF >dllar.sh
50474 # dllar - a tool to build both a .dll and an .a file
50475 # from a set of object (.o) files for EMX/OS2.
50477 # Written by Andrew Zabolotny, bit@freya.etu.ru
50478 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50480 # This script will accept a set of files on the command line.
50481 # All the public symbols from the .o files will be exported into
50482 # a .DEF file, then linker will be run (through gcc) against them to
50483 # build a shared library consisting of all given .o files. All libraries
50484 # (.a) will be first decompressed into component .o files then act as
50485 # described above. You can optionally give a description (-d "description")
50486 # which will be put into .DLL. To see the list of accepted options (as well
50487 # as command-line format) simply run this program without options. The .DLL
50488 # is built to be imported by name (there is no guarantee that new versions
50489 # of the library you build will have same ordinals for same symbols).
50491 # dllar is free software; you can redistribute it and/or modify
50492 # it under the terms of the GNU General Public License as published by
50493 # the Free Software Foundation; either version 2, or (at your option)
50494 # any later version.
50496 # dllar is distributed in the hope that it will be useful,
50497 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50498 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50499 # GNU General Public License for more details.
50501 # You should have received a copy of the GNU General Public License
50502 # along with dllar; see the file COPYING. If not, write to the Free
50503 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50506 # To successfuly run this program you will need:
50507 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50508 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50510 # (used to build the .dll)
50512 # (used to create .def file from .o files)
50514 # (used to create .a file from .def file)
50515 # - GNU text utilites (cat, sort, uniq)
50516 # used to process emxexp output
50517 # - GNU file utilities (mv, rm)
50519 # - lxlite (optional, see flag below)
50520 # (used for general .dll cleanup)
50527 # basnam, variant of basename, which does _not_ remove the path, _iff_
50528 # second argument (suffix to remove) is given
50532 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50535 echo ${D}1 | sed 's/'${D}2'${D}//'
50538 echo "error in basnam ${D}*"
50544 # Cleanup temporary files and output
50547 for i in ${D}inputFiles ; do
50550 rm -rf \`basnam
${D}i
!\
`
50557 # Kill result in case of failure as there is just to many stupid make/nmake
50558 # things out there which doesn't do this.
50559 if [ ${D}# -eq 0 ]; then
50560 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50564 # Print usage and exit script with rc=1.
50566 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50567 echo ' [-name-mangler-script script.sh]'
50568 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50569 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50570 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50571 echo ' [*.o] [*.a]'
50572 echo '*> "output_file" should have no extension.'
50573 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50574 echo ' The import library name is derived from this and is set to "name".a,'
50575 echo ' unless overridden by -import'
50576 echo '*> "importlib_name" should have no extension.'
50577 echo ' If it has the .o, or .a extension, it is automatically removed.'
50578 echo ' This name is used as the import library name and may be longer and'
50579 echo ' more descriptive than the DLL name which has to follow the old '
50580 echo ' 8.3 convention of FAT.'
50581 echo '*> "script.sh may be given to override the output_file name by a'
50582 echo ' different name. It is mainly useful if the regular make process'
50583 echo ' of some package does not take into account OS/2 restriction of'
50584 echo ' DLL name lengths. It takes the importlib name as input and is'
50585 echo ' supposed to procude a shorter name as output. The script should'
50586 echo ' expect to get importlib_name without extension and should produce'
50587 echo ' a (max.) 8 letter name without extension.'
50588 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50589 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50590 echo ' These flags will be put at the start of GCC command line.'
50591 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50592 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50593 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50594 echo ' If the last character of a symbol is "*", all symbols beginning'
50595 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50596 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50597 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50598 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50599 echo ' C runtime DLLs.'
50600 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50601 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50602 echo ' unchanged to GCC at the end of command line.'
50603 echo '*> If you create a DLL from a library and you do not specify -o,'
50604 echo ' the basename for DLL and import library will be set to library name,'
50605 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50606 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50607 echo ' library will be renamed into gcc_s.a.'
50610 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50611 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50616 # Execute a command.
50617 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50618 # @Uses Whatever CleanUp() uses.
50624 if [ ${D}rcCmd -ne 0 ]; then
50625 echo "command failed, exit code="${D}rcCmd
50640 CFLAGS="-s -Zcrtdll"
50642 EXPORT_BY_ORDINALS=0
50647 case ${D}curDirS in
50651 curDirS=${D}{curDirS}"/"
50654 # Parse commandline
50657 while [ ${D}1 ]; do
50660 EXPORT_BY_ORDINALS=1;
50670 -name-mangler-script)
50691 exclude_symbols=${D}{exclude_symbols}${D}1" "
50695 library_flags=${D}{library_flags}${D}1" "
50714 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50717 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50718 if [ ${D}omfLinking -eq 1 ]; then
50719 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50721 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50726 if [ ${D}libsToLink -ne 0 ]; then
50727 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50729 for file in ${D}1 ; do
50730 if [ -f ${D}file ]; then
50731 inputFiles="${D}{inputFiles} ${D}file"
50735 if [ ${D}found -eq 0 ]; then
50736 echo "ERROR: No file(s) found: "${D}1
50743 done # iterate cmdline words
50746 if [ -z "${D}inputFiles" ]; then
50747 echo "dllar: no input files"
50751 # Now extract all .o files from .a files
50753 for file in ${D}inputFiles ; do
50764 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50769 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50771 if [ ${D}? -ne 0 ]; then
50772 echo "Failed to create subdirectory ./${D}dirname"
50776 # Append '!' to indicate archive
50777 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50778 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50781 for subfile in ${D}dirname/*.o* ; do
50782 if [ -f ${D}subfile ]; then
50784 if [ -s ${D}subfile ]; then
50785 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50786 newInputFiles="${D}newInputFiles ${D}subfile"
50790 if [ ${D}found -eq 0 ]; then
50791 echo "WARNING: there are no files in archive \\'${D}file\\'"
50795 newInputFiles="${D}{newInputFiles} ${D}file"
50799 inputFiles="${D}newInputFiles"
50801 # Output filename(s).
50803 if [ -z ${D}outFile ]; then
50805 set outFile ${D}inputFiles; outFile=${D}2
50808 # If it is an archive, remove the '!' and the '_%' suffixes
50809 case ${D}outFile in
50811 outFile=\`basnam
${D}outFile _
%!\
`
50816 case ${D}outFile in
50818 outFile=\`basnam
${D}outFile .dll\
`
50821 outFile=\`basnam
${D}outFile .DLL\
`
50824 outFile=\`basnam
${D}outFile .o\
`
50827 outFile=\`basnam
${D}outFile .obj\
`
50830 outFile=\`basnam
${D}outFile .a\
`
50833 outFile=\`basnam
${D}outFile .lib\
`
50838 case ${D}outimpFile in
50840 outimpFile=\`basnam
${D}outimpFile .a\
`
50843 outimpFile=\`basnam
${D}outimpFile .lib\
`
50848 if [ -z ${D}outimpFile ]; then
50849 outimpFile=${D}outFile
50851 defFile="${D}{outFile}.def"
50852 arcFile="${D}{outimpFile}.a"
50853 arcFile2="${D}{outimpFile}.lib"
50855 #create ${D}dllFile as something matching 8.3 restrictions,
50856 if [ -z ${D}renameScript ] ; then
50857 dllFile="${D}outFile"
50859 dllFile=\`${D}renameScript
${D}outimpFile\
`
50862 if [ ${D}do_backup -ne 0 ] ; then
50863 if [ -f ${D}arcFile ] ; then
50864 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50866 if [ -f ${D}arcFile2 ] ; then
50867 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50871 # Extract public symbols from all the object files.
50872 tmpdefFile=${D}{defFile}_%
50873 rm -f ${D}tmpdefFile
50874 for file in ${D}inputFiles ; do
50879 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50884 # Create the def file.
50886 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50887 dllFile="${D}{dllFile}.dll"
50888 if [ ! -z ${D}description ]; then
50889 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50891 echo "EXPORTS" >> ${D}defFile
50893 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50894 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50896 # Checks if the export is ok or not.
50897 for word in ${D}exclude_symbols; do
50898 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50899 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50903 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50904 sed "=" < ${D}tmpdefFile | \\
50908 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50910 ' > ${D}{tmpdefFile}%
50911 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50913 rm -f ${D}{tmpdefFile}%
50915 cat ${D}tmpdefFile >> ${D}defFile
50916 rm -f ${D}tmpdefFile
50918 # Do linking, create implib, and apply lxlite.
50920 for file in ${D}inputFiles ; do
50925 gccCmdl="${D}gccCmdl ${D}file"
50929 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50930 touch "${D}{outFile}.dll"
50932 doCommand "emximp -o ${D}arcFile ${D}defFile"
50933 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50935 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50938 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50940 doCommand "emxomf -s -l ${D}arcFile"
50950 powerpc-apple-macos* | \
50951 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50961 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50962 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50963 { (exit 1); exit 1; }; }
50966 if test "x$PIC_FLAG" != "x" ; then
50967 PIC_FLAG="$PIC_FLAG -DPIC"
50970 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50971 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50973 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50974 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50993 case "${BAKEFILE_HOST}" in
50994 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50995 if test "x$SUNCXX" = "xyes"; then
50998 SONAME_FLAG="-Wl,-soname,"
51033 # Check whether --enable-dependency-tracking was given.
51034 if test "${enable_dependency_tracking+set}" = set; then
51035 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51039 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51040 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51043 if test "x$bk_use_trackdeps" = "xno" ; then
51045 { echo "$as_me:$LINENO: result: disabled" >&5
51046 echo "${ECHO_T}disabled" >&6; }
51050 if test "x$GCC" = "xyes"; then
51052 case "${BAKEFILE_HOST}" in
51054 DEPSFLAG="-no-cpp-precomp -MMD"
51060 { echo "$as_me:$LINENO: result: gcc" >&5
51061 echo "${ECHO_T}gcc" >&6; }
51062 elif test "x$MWCC" = "xyes"; then
51065 { echo "$as_me:$LINENO: result: mwcc" >&5
51066 echo "${ECHO_T}mwcc" >&6; }
51067 elif test "x$SUNCC" = "xyes"; then
51070 { echo "$as_me:$LINENO: result: Sun cc" >&5
51071 echo "${ECHO_T}Sun cc" >&6; }
51072 elif test "x$SGICC" = "xyes"; then
51075 { echo "$as_me:$LINENO: result: SGI cc" >&5
51076 echo "${ECHO_T}SGI cc" >&6; }
51077 elif test "x$HPCC" = "xyes"; then
51080 { echo "$as_me:$LINENO: result: HP cc" >&5
51081 echo "${ECHO_T}HP cc" >&6; }
51082 elif test "x$COMPAQCC" = "xyes"; then
51085 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51086 echo "${ECHO_T}Compaq cc" >&6; }
51089 { echo "$as_me:$LINENO: result: none" >&5
51090 echo "${ECHO_T}none" >&6; }
51093 if test $DEPS_TRACKING = 1 ; then
51099 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51100 # script. It is used to track C/C++ files dependencies in portable way.
51102 # Permission is given to use this file in any way.
51104 DEPSMODE=${DEPSMODE}
51106 DEPSFLAG="${DEPSFLAG}"
51108 mkdir -p ${D}DEPSDIR
51110 if test ${D}DEPSMODE = gcc ; then
51111 ${D}* ${D}{DEPSFLAG}
51113 if test ${D}{status} != 0 ; then
51116 # move created file to the location we want it in:
51117 while test ${D}# -gt 0; do
51131 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51132 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51133 if test -f ${D}depfile ; then
51134 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51137 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51138 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
51139 if test ! -f ${D}depfile ; then
51140 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51141 depfile="${D}objfile.d"
51143 if test -f ${D}depfile ; then
51144 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51149 elif test ${D}DEPSMODE = mwcc ; then
51150 ${D}* || exit ${D}?
51151 # Run mwcc again with -MM and redirect into the dep file we want
51152 # NOTE: We can't use shift here because we need ${D}* to be valid
51154 for arg in ${D}* ; do
51155 if test "${D}prevarg" = "-o"; then
51168 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51170 elif test ${D}DEPSMODE = unixcc; then
51171 ${D}* || exit ${D}?
51172 # Run compiler again with deps flag and redirect into the dep file.
51173 # It doesn't work if the '-o FILE' option is used, but without it the
51174 # dependency file will contain the wrong name for the object. So it is
51175 # removed from the command line, and the dep file is fixed with sed.
51177 while test ${D}# -gt 0; do
51184 eval arg${D}#=\\${D}1
51185 cmd="${D}cmd \\${D}arg${D}#"
51190 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51199 BK_DEPS="`pwd`/bk-deps"
51207 case ${BAKEFILE_HOST} in
51208 *-*-cygwin* | *-*-mingw32* )
51209 if test -n "$ac_tool_prefix"; then
51210 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51211 set dummy ${ac_tool_prefix}windres; ac_word=$2
51212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51214 if test "${ac_cv_prog_WINDRES+set}" = set; then
51215 echo $ECHO_N "(cached) $ECHO_C" >&6
51217 if test -n "$WINDRES"; then
51218 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51221 for as_dir in $PATH
51224 test -z "$as_dir" && as_dir=.
51225 for ac_exec_ext in '' $ac_executable_extensions; do
51226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51227 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51237 WINDRES=$ac_cv_prog_WINDRES
51238 if test -n "$WINDRES"; then
51239 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51240 echo "${ECHO_T}$WINDRES" >&6; }
51242 { echo "$as_me:$LINENO: result: no" >&5
51243 echo "${ECHO_T}no" >&6; }
51248 if test -z "$ac_cv_prog_WINDRES"; then
51249 ac_ct_WINDRES=$WINDRES
51250 # Extract the first word of "windres", so it can be a program name with args.
51251 set dummy windres; ac_word=$2
51252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51254 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51255 echo $ECHO_N "(cached) $ECHO_C" >&6
51257 if test -n "$ac_ct_WINDRES"; then
51258 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51261 for as_dir in $PATH
51264 test -z "$as_dir" && as_dir=.
51265 for ac_exec_ext in '' $ac_executable_extensions; do
51266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51267 ac_cv_prog_ac_ct_WINDRES="windres"
51268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51277 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51278 if test -n "$ac_ct_WINDRES"; then
51279 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51280 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51282 { echo "$as_me:$LINENO: result: no" >&5
51283 echo "${ECHO_T}no" >&6; }
51286 if test "x$ac_ct_WINDRES" = x; then
51289 case $cross_compiling:$ac_tool_warned in
51291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51292 whose name does not start with the host triplet. If you think this
51293 configuration is useful to you, please write to autoconf@gnu.org." >&5
51294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51295 whose name does not start with the host triplet. If you think this
51296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51297 ac_tool_warned=yes ;;
51299 WINDRES=$ac_ct_WINDRES
51302 WINDRES="$ac_cv_prog_WINDRES"
51307 *-*-darwin* | powerpc-apple-macos* )
51308 # Extract the first word of "Rez", so it can be a program name with args.
51309 set dummy Rez; ac_word=$2
51310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51312 if test "${ac_cv_prog_REZ+set}" = set; then
51313 echo $ECHO_N "(cached) $ECHO_C" >&6
51315 if test -n "$REZ"; then
51316 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51319 for as_dir in $PATH
51322 test -z "$as_dir" && as_dir=.
51323 for ac_exec_ext in '' $ac_executable_extensions; do
51324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51325 ac_cv_prog_REZ="Rez"
51326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51333 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51336 REZ=$ac_cv_prog_REZ
51337 if test -n "$REZ"; then
51338 { echo "$as_me:$LINENO: result: $REZ" >&5
51339 echo "${ECHO_T}$REZ" >&6; }
51341 { echo "$as_me:$LINENO: result: no" >&5
51342 echo "${ECHO_T}no" >&6; }
51346 # Extract the first word of "SetFile", so it can be a program name with args.
51347 set dummy SetFile; ac_word=$2
51348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51350 if test "${ac_cv_prog_SETFILE+set}" = set; then
51351 echo $ECHO_N "(cached) $ECHO_C" >&6
51353 if test -n "$SETFILE"; then
51354 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51357 for as_dir in $PATH
51360 test -z "$as_dir" && as_dir=.
51361 for ac_exec_ext in '' $ac_executable_extensions; do
51362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51363 ac_cv_prog_SETFILE="SetFile"
51364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51371 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51374 SETFILE=$ac_cv_prog_SETFILE
51375 if test -n "$SETFILE"; then
51376 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51377 echo "${ECHO_T}$SETFILE" >&6; }
51379 { echo "$as_me:$LINENO: result: no" >&5
51380 echo "${ECHO_T}no" >&6; }
51392 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51395 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51399 # Check whether --enable-precomp-headers was given.
51400 if test "${enable_precomp_headers+set}" = set; then
51401 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51410 case ${BAKEFILE_HOST} in
51416 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51417 if test "x$GCC" = "xyes"; then
51418 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51419 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51420 cat >conftest.$ac_ext <<_ACEOF
51423 cat confdefs.h >>conftest.$ac_ext
51424 cat >>conftest.$ac_ext <<_ACEOF
51425 /* end confdefs.h. */
51431 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51432 There is no PCH support
51435 There is no PCH support
51437 #if (__GNUC__ == 3) && \
51438 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51439 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51440 ( defined(__INTEL_COMPILER) )
51441 There is no PCH support
51448 rm -f conftest.$ac_objext
51449 if { (ac_try="$ac_compile"
51450 case "(($ac_try" in
51451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51452 *) ac_try_echo
=$ac_try;;
51454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51455 (eval "$ac_compile") 2>conftest.er1
51457 grep -v '^ *+' conftest.er1
>conftest.err
51459 cat conftest.err
>&5
51460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51461 (exit $ac_status); } && {
51462 test -z "$ac_c_werror_flag" ||
51463 test ! -s conftest.err
51464 } && test -s conftest.
$ac_objext; then
51466 { echo "$as_me:$LINENO: result: yes" >&5
51467 echo "${ECHO_T}yes" >&6; }
51471 echo "$as_me: failed program was:" >&5
51472 sed 's/^/| /' conftest.
$ac_ext >&5
51475 cat >conftest.
$ac_ext <<_ACEOF
51478 cat confdefs.h
>>conftest.
$ac_ext
51479 cat >>conftest.
$ac_ext <<_ACEOF
51480 /* end confdefs.h. */
51486 #if !defined(__INTEL_COMPILER) || \
51487 (__INTEL_COMPILER < 800)
51488 There is no PCH support
51495 rm -f conftest.
$ac_objext
51496 if { (ac_try
="$ac_compile"
51497 case "(($ac_try" in
51498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51499 *) ac_try_echo=$ac_try;;
51501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51502 (eval "$ac_compile") 2>conftest.er1
51504 grep -v '^ *+' conftest.er1 >conftest.err
51506 cat conftest.err >&5
51507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51508 (exit $ac_status); } && {
51509 test -z "$ac_c_werror_flag" ||
51510 test ! -s conftest.err
51511 } && test -s conftest.$ac_objext; then
51513 { echo "$as_me:$LINENO: result: yes" >&5
51514 echo "${ECHO_T}yes" >&6; }
51518 echo "$as_me: failed program was:" >&5
51519 sed 's/^/| /' conftest.$ac_ext >&5
51522 { echo "$as_me:$LINENO: result: no" >&5
51523 echo "${ECHO_T}no" >&6; }
51527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51532 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51536 cat <<EOF >bk-make-pch
51539 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51540 # script. It is used to generated precompiled headers.
51542 # Permission is given to use this file in any way.
51552 while test ${D}{#} -gt 0; do
51556 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51557 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51558 headerfile="${D}{incdir}/${D}{header}"
51561 -use-pch|-use_pch )
51566 if test ${D}add_to_cmdline = 1 ; then
51567 compiler="${D}{compiler} ${D}{1}"
51572 if test "x${D}{headerfile}" = "x" ; then
51573 echo "error: can't find header ${D}{header} in include paths" >&2
51575 if test -f ${D}{outfile} ; then
51576 rm -f ${D}{outfile}
51578 mkdir -p \`dirname ${D}{outfile
}\
`
51580 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51582 if test "x${GCC_PCH}" = "x1" ; then
51583 # can do this because gcc is >= 3.4:
51584 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51585 elif test "x${ICC_PCH}" = "x1" ; then
51586 filename=pch_gen-${D}${D}
51587 file=${D}{filename}.c
51588 dfile=${D}{filename}.d
51589 cat > ${D}file <<EOT
51590 #include "${D}header"
51592 # using -MF icc complains about differing command lines in creation/use
51593 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51594 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51595 rm -f ${D}file ${D}dfile ${D}{filename}.o
51601 chmod +x bk-make-pch
51602 BK_MAKE_PCH="`pwd`/bk-make-pch"
51611 COND_BUILD_DEBUG="#"
51612 if test "x$BUILD" = "xdebug" ; then
51613 COND_BUILD_DEBUG=""
51616 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51617 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51618 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51621 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51622 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51623 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51626 COND_BUILD_DEBUG_UNICODE_0="#"
51627 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51628 COND_BUILD_DEBUG_UNICODE_0=""
51631 COND_BUILD_DEBUG_UNICODE_1="#"
51632 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51633 COND_BUILD_DEBUG_UNICODE_1=""
51636 COND_BUILD_RELEASE="#"
51637 if test "x$BUILD" = "xrelease" ; then
51638 COND_BUILD_RELEASE=""
51641 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51642 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51643 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51646 COND_BUILD_RELEASE_UNICODE_0="#"
51647 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51648 COND_BUILD_RELEASE_UNICODE_0=""
51651 COND_BUILD_RELEASE_UNICODE_1="#"
51652 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51653 COND_BUILD_RELEASE_UNICODE_1=""
51656 COND_DEBUG_FLAG_1="#"
51657 if test "x$DEBUG_FLAG" = "x1" ; then
51658 COND_DEBUG_FLAG_1=""
51661 COND_DEBUG_INFO_0="#"
51662 if test "x$DEBUG_INFO" = "x0" ; then
51663 COND_DEBUG_INFO_0=""
51666 COND_DEBUG_INFO_1="#"
51667 if test "x$DEBUG_INFO" = "x1" ; then
51668 COND_DEBUG_INFO_1=""
51671 COND_DEPS_TRACKING_0="#"
51672 if test "x$DEPS_TRACKING" = "x0" ; then
51673 COND_DEPS_TRACKING_0=""
51676 COND_DEPS_TRACKING_1="#"
51677 if test "x$DEPS_TRACKING" = "x1" ; then
51678 COND_DEPS_TRACKING_1=""
51682 if test "x$GCC_PCH" = "x1" ; then
51687 if test "x$ICC_PCH" = "x1" ; then
51691 COND_MONOLITHIC_0="#"
51692 if test "x$MONOLITHIC" = "x0" ; then
51693 COND_MONOLITHIC_0=""
51696 COND_MONOLITHIC_0_SHARED_0="#"
51697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51698 COND_MONOLITHIC_0_SHARED_0=""
51701 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51703 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51706 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51731 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51733 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51736 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51738 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51741 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51743 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51746 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51748 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51751 COND_MONOLITHIC_0_SHARED_1="#"
51752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51753 COND_MONOLITHIC_0_SHARED_1=""
51756 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51758 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51766 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51771 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51776 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51781 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51786 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51788 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51791 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51793 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51796 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51798 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51801 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51803 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51806 COND_MONOLITHIC_0_USE_AUI_1="#"
51807 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51808 COND_MONOLITHIC_0_USE_AUI_1=""
51811 COND_MONOLITHIC_0_USE_GUI_1="#"
51812 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51813 COND_MONOLITHIC_0_USE_GUI_1=""
51816 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51817 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51818 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51821 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51822 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51823 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51826 COND_MONOLITHIC_0_USE_HTML_1="#"
51827 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51828 COND_MONOLITHIC_0_USE_HTML_1=""
51831 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51832 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51833 COND_MONOLITHIC_0_USE_MEDIA_1=""
51836 COND_MONOLITHIC_0_USE_ODBC_1="#"
51837 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51838 COND_MONOLITHIC_0_USE_ODBC_1=""
51841 COND_MONOLITHIC_0_USE_QA_1="#"
51842 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51843 COND_MONOLITHIC_0_USE_QA_1=""
51846 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51847 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51848 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51851 COND_MONOLITHIC_0_USE_STC_1="#"
51852 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51853 COND_MONOLITHIC_0_USE_STC_1=""
51856 COND_MONOLITHIC_0_USE_XRC_1="#"
51857 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51858 COND_MONOLITHIC_0_USE_XRC_1=""
51861 COND_MONOLITHIC_1="#"
51862 if test "x$MONOLITHIC" = "x1" ; then
51863 COND_MONOLITHIC_1=""
51866 COND_MONOLITHIC_1_SHARED_0="#"
51867 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51868 COND_MONOLITHIC_1_SHARED_0=""
51871 COND_MONOLITHIC_1_SHARED_1="#"
51872 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51873 COND_MONOLITHIC_1_SHARED_1=""
51876 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51877 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51882 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51886 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51887 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51888 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51891 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51892 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51893 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51896 COND_PLATFORM_MACOSX_1="#"
51897 if test "x$PLATFORM_MACOSX" = "x1" ; then
51898 COND_PLATFORM_MACOSX_1=""
51901 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51902 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51903 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51906 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51907 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51908 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51911 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51912 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51913 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51916 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51918 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51921 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51923 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51926 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51928 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51931 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51933 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51936 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51938 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51941 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51943 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51946 COND_PLATFORM_MACOS_1="#"
51947 if test "x$PLATFORM_MACOS" = "x1" ; then
51948 COND_PLATFORM_MACOS_1=""
51951 COND_PLATFORM_MAC_1="#"
51952 if test "x$PLATFORM_MAC" = "x1" ; then
51953 COND_PLATFORM_MAC_1=""
51956 COND_PLATFORM_MSDOS_0="#"
51957 if test "x$PLATFORM_MSDOS" = "x0" ; then
51958 COND_PLATFORM_MSDOS_0=""
51961 COND_PLATFORM_MSDOS_1="#"
51962 if test "x$PLATFORM_MSDOS" = "x1" ; then
51963 COND_PLATFORM_MSDOS_1=""
51966 COND_PLATFORM_OS2_1="#"
51967 if test "x$PLATFORM_OS2" = "x1" ; then
51968 COND_PLATFORM_OS2_1=""
51971 COND_PLATFORM_UNIX_0="#"
51972 if test "x$PLATFORM_UNIX" = "x0" ; then
51973 COND_PLATFORM_UNIX_0=""
51976 COND_PLATFORM_UNIX_1="#"
51977 if test "x$PLATFORM_UNIX" = "x1" ; then
51978 COND_PLATFORM_UNIX_1=""
51981 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51982 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51983 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51986 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51987 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51988 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51991 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51992 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51993 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51996 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51997 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51998 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52001 COND_PLATFORM_WIN32_0="#"
52002 if test "x$PLATFORM_WIN32" = "x0" ; then
52003 COND_PLATFORM_WIN32_0=""
52006 COND_PLATFORM_WIN32_1="#"
52007 if test "x$PLATFORM_WIN32" = "x1" ; then
52008 COND_PLATFORM_WIN32_1=""
52012 if test "x$SHARED" = "x0" ; then
52016 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52017 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52018 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52021 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52022 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52023 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52026 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52027 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52028 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52031 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52032 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52033 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52036 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52037 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52038 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52041 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52042 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52043 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52046 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52047 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52048 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52051 COND_SHARED_0_USE_STC_1="#"
52052 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52053 COND_SHARED_0_USE_STC_1=""
52056 COND_SHARED_0_USE_XRC_1="#"
52057 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52058 COND_SHARED_0_USE_XRC_1=""
52061 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52062 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52063 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52066 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52067 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52068 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52071 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52072 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52073 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52076 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52077 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52078 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52082 if test "x$SHARED" = "x1" ; then
52086 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52087 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52088 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52091 COND_SHARED_1_USE_XRC_1="#"
52092 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52093 COND_SHARED_1_USE_XRC_1=""
52097 if test "x$TOOLKIT" = "x" ; then
52101 COND_TOOLKIT_COCOA="#"
52102 if test "x$TOOLKIT" = "xCOCOA" ; then
52103 COND_TOOLKIT_COCOA=""
52106 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52107 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52108 COND_TOOLKIT_COCOA_USE_GUI_1=""
52111 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52112 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52113 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52116 COND_TOOLKIT_DFB="#"
52117 if test "x$TOOLKIT" = "xDFB" ; then
52118 COND_TOOLKIT_DFB=""
52121 COND_TOOLKIT_DFB_USE_GUI_1="#"
52122 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52123 COND_TOOLKIT_DFB_USE_GUI_1=""
52126 COND_TOOLKIT_GTK="#"
52127 if test "x$TOOLKIT" = "xGTK" ; then
52128 COND_TOOLKIT_GTK=""
52131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52132 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52133 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52137 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52138 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52141 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52142 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52143 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52147 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52148 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52151 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52153 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52156 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52158 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52161 COND_TOOLKIT_GTK_USE_GUI_1="#"
52162 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52163 COND_TOOLKIT_GTK_USE_GUI_1=""
52166 COND_TOOLKIT_MAC="#"
52167 if test "x$TOOLKIT" = "xMAC" ; then
52168 COND_TOOLKIT_MAC=""
52171 COND_TOOLKIT_MAC_USE_GUI_1="#"
52172 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52173 COND_TOOLKIT_MAC_USE_GUI_1=""
52176 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52177 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52178 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52181 COND_TOOLKIT_MGL="#"
52182 if test "x$TOOLKIT" = "xMGL" ; then
52183 COND_TOOLKIT_MGL=""
52186 COND_TOOLKIT_MGL_USE_GUI_1="#"
52187 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52188 COND_TOOLKIT_MGL_USE_GUI_1=""
52191 COND_TOOLKIT_MOTIF="#"
52192 if test "x$TOOLKIT" = "xMOTIF" ; then
52193 COND_TOOLKIT_MOTIF=""
52196 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52197 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52198 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52201 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52202 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52203 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52206 COND_TOOLKIT_MSW="#"
52207 if test "x$TOOLKIT" = "xMSW" ; then
52208 COND_TOOLKIT_MSW=""
52211 COND_TOOLKIT_MSW_USE_GUI_1="#"
52212 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52213 COND_TOOLKIT_MSW_USE_GUI_1=""
52216 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52217 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52218 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52221 COND_TOOLKIT_MSW_WXUNIV_0="#"
52222 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52223 COND_TOOLKIT_MSW_WXUNIV_0=""
52226 COND_TOOLKIT_PM="#"
52227 if test "x$TOOLKIT" = "xPM" ; then
52231 COND_TOOLKIT_PM_USE_GUI_1="#"
52232 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52233 COND_TOOLKIT_PM_USE_GUI_1=""
52236 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52237 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52238 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52241 COND_TOOLKIT_WINCE="#"
52242 if test "x$TOOLKIT" = "xWINCE" ; then
52243 COND_TOOLKIT_WINCE=""
52246 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52247 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52248 COND_TOOLKIT_WINCE_USE_GUI_1=""
52251 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52252 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52253 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52256 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52257 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52258 COND_TOOLKIT_WINCE_WXUNIV_0=""
52261 COND_TOOLKIT_X11="#"
52262 if test "x$TOOLKIT" = "xX11" ; then
52263 COND_TOOLKIT_X11=""
52266 COND_TOOLKIT_X11_USE_GUI_1="#"
52267 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52268 COND_TOOLKIT_X11_USE_GUI_1=""
52272 if test "x$UNICODE" = "x1" ; then
52276 COND_USE_EXCEPTIONS_0="#"
52277 if test "x$USE_EXCEPTIONS" = "x0" ; then
52278 COND_USE_EXCEPTIONS_0=""
52281 COND_USE_EXCEPTIONS_1="#"
52282 if test "x$USE_EXCEPTIONS" = "x1" ; then
52283 COND_USE_EXCEPTIONS_1=""
52287 if test "x$USE_GUI" = "x0" ; then
52292 if test "x$USE_GUI" = "x1" ; then
52296 COND_USE_GUI_1_USE_OPENGL_1="#"
52297 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52298 COND_USE_GUI_1_USE_OPENGL_1=""
52301 COND_USE_GUI_1_WXUNIV_0="#"
52302 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52303 COND_USE_GUI_1_WXUNIV_0=""
52306 COND_USE_GUI_1_WXUNIV_1="#"
52307 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52308 COND_USE_GUI_1_WXUNIV_1=""
52311 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52312 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52313 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52316 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52317 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52318 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52321 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52322 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52323 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52326 COND_USE_ODBC_1="#"
52327 if test "x$USE_ODBC" = "x1" ; then
52331 COND_USE_OPENGL_1="#"
52332 if test "x$USE_OPENGL" = "x1" ; then
52333 COND_USE_OPENGL_1=""
52337 if test "x$USE_PCH" = "x1" ; then
52341 COND_USE_PLUGINS_0="#"
52342 if test "x$USE_PLUGINS" = "x0" ; then
52343 COND_USE_PLUGINS_0=""
52346 COND_USE_RTTI_0="#"
52347 if test "x$USE_RTTI" = "x0" ; then
52351 COND_USE_RTTI_1="#"
52352 if test "x$USE_RTTI" = "x1" ; then
52356 COND_USE_SOSYMLINKS_1="#"
52357 if test "x$USE_SOSYMLINKS" = "x1" ; then
52358 COND_USE_SOSYMLINKS_1=""
52361 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52362 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52363 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52366 COND_USE_SOVERLINUX_1="#"
52367 if test "x$USE_SOVERLINUX" = "x1" ; then
52368 COND_USE_SOVERLINUX_1=""
52371 COND_USE_SOVERSION_0="#"
52372 if test "x$USE_SOVERSION" = "x0" ; then
52373 COND_USE_SOVERSION_0=""
52376 COND_USE_SOVERSOLARIS_1="#"
52377 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52378 COND_USE_SOVERSOLARIS_1=""
52382 if test "x$USE_STC" = "x1" ; then
52386 COND_USE_THREADS_0="#"
52387 if test "x$USE_THREADS" = "x0" ; then
52388 COND_USE_THREADS_0=""
52391 COND_USE_THREADS_1="#"
52392 if test "x$USE_THREADS" = "x1" ; then
52393 COND_USE_THREADS_1=""
52397 if test "x$USE_XRC" = "x1" ; then
52401 COND_WINDOWS_IMPLIB_1="#"
52402 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52403 COND_WINDOWS_IMPLIB_1=""
52406 COND_WITH_PLUGIN_SDL_1="#"
52407 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52408 COND_WITH_PLUGIN_SDL_1=""
52412 if test "x$WXUNIV" = "x0" ; then
52417 if test "x$WXUNIV" = "x1" ; then
52421 COND_WXUSE_EXPAT_BUILTIN="#"
52422 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52423 COND_WXUSE_EXPAT_BUILTIN=""
52426 COND_WXUSE_LIBJPEG_BUILTIN="#"
52427 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52428 COND_WXUSE_LIBJPEG_BUILTIN=""
52431 COND_WXUSE_LIBPNG_BUILTIN="#"
52432 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52433 COND_WXUSE_LIBPNG_BUILTIN=""
52436 COND_WXUSE_LIBTIFF_BUILTIN="#"
52437 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52438 COND_WXUSE_LIBTIFF_BUILTIN=""
52441 COND_WXUSE_ODBC_BUILTIN="#"
52442 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52443 COND_WXUSE_ODBC_BUILTIN=""
52446 COND_WXUSE_REGEX_BUILTIN="#"
52447 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52448 COND_WXUSE_REGEX_BUILTIN=""
52451 COND_WXUSE_ZLIB_BUILTIN="#"
52452 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52453 COND_WXUSE_ZLIB_BUILTIN=""
52458 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52459 { { 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
52460 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;}
52461 { (exit 1); exit 1; }; }
52464 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52465 { { 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
52466 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;}
52467 { (exit 1); exit 1; }; }
52474 ?:* ) # Drive letter, considered as absolute.
52477 INSTALL=`pwd`/${INSTALL} ;;
52480 if test "$wxUSE_GUI" = "yes"; then
52482 if test "$wxUSE_MSW" = 1 ; then
52483 if test "x$WINDRES" = "x"; then
52484 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52485 echo "$as_me: error: Required windres program not found" >&2;}
52486 { (exit 1); exit 1; }; }
52492 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52493 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52494 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52496 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52498 # Extract the first word of "DeRez", so it can be a program name with args.
52499 set dummy DeRez; ac_word=$2
52500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52502 if test "${ac_cv_prog_DEREZ+set}" = set; then
52503 echo $ECHO_N "(cached) $ECHO_C" >&6
52505 if test -n "$DEREZ"; then
52506 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52509 for as_dir in $PATH
52512 test -z "$as_dir" && as_dir=.
52513 for ac_exec_ext in '' $ac_executable_extensions; do
52514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52515 ac_cv_prog_DEREZ="DeRez"
52516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52523 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52526 DEREZ=$ac_cv_prog_DEREZ
52527 if test -n "$DEREZ"; then
52528 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52529 echo "${ECHO_T}$DEREZ" >&6; }
52531 { echo "$as_me:$LINENO: result: no" >&5
52532 echo "${ECHO_T}no" >&6; }
52537 MACSETFILE="\$(SETFILE)"
52539 if test "$wxUSE_MAC" = 1; then
52540 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52542 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52544 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52545 RESCOMP="cat /dev/null \| $REZ"
52546 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52552 if test "$wxUSE_PM" = 1; then
52554 WXCONFIG_RESFLAGS="-ep"
52556 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52558 POSTLINK_COMMAND="@true"
52565 if test $GCC_PCH = 1
52567 if test "$wx_cv_gcc_pch_bug" = yes; then
52568 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52569 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52570 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52571 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52572 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52573 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52576 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52580 if test "$wxUSE_MAC" = 1 ; then
52581 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52582 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52588 if test "$wxUSE_SHARED" = "yes"; then
52590 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52591 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52594 *-pc-os2_emx | *-pc-os2-emx )
52595 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52596 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52597 cp -p ${srcdir}/src/os2/dllnames.sh .
52598 cp -p ${srcdir}/src/os2/dllar.sh .
52603 EXE_LINKER="$CXX -o"
52606 if test "$wxUSE_OMF" = "yes"; then
52608 *-pc-os2_emx | *-pc-os2-emx )
52609 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52610 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52611 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52616 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52621 if "$GCC" = yes; then
52622 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52623 LIBS=`echo $LIBS | sed 's/-mt//'`
52624 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52629 if test "x$SUNCXX" = xyes; then
52630 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52631 LIBS=`echo $LIBS | sed 's/-pthread//'`
52632 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52637 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52638 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52640 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52702 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52703 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52704 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52705 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52706 echo $ECHO_N "(cached) $ECHO_C" >&6
52708 cat >conftest.make <<\_ACEOF
52711 @echo '@@@%%%=$(MAKE)=@@@%%%'
52713 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52714 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52715 *@@@%%%=?*=@@@%%%*)
52716 eval ac_cv_prog_make_${ac_make}_set=yes;;
52718 eval ac_cv_prog_make_${ac_make}_set=no;;
52720 rm -f conftest.make
52722 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52723 { echo "$as_me:$LINENO: result: yes" >&5
52724 echo "${ECHO_T}yes" >&6; }
52727 { echo "$as_me:$LINENO: result: no" >&5
52728 echo "${ECHO_T}no" >&6; }
52729 SET_MAKE="MAKE=${MAKE-make}"
52734 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52737 if test "$USE_WIN32" = 1; then
52738 ac_config_commands="$ac_config_commands
52744 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52747 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52750 if test "$wx_cv_version_script" = "yes"; then
52751 ac_config_files="$ac_config_files version-script"
52754 ac_config_files="$ac_config_files Makefile"
52757 ac_config_commands="$ac_config_commands wx-config"
52761 if test "$wxWITH_SUBDIRS" != "no"; then
52762 if test "$wxUSE_GUI" = "yes"; then
52763 SUBDIRS="samples demos utils"
52764 else SUBDIRS="samples utils"
52769 # Check whether --with-cppunit-prefix was given.
52770 if test "${with_cppunit_prefix+set}" = set; then
52771 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52773 cppunit_config_prefix=""
52777 # Check whether --with-cppunit-exec-prefix was given.
52778 if test "${with_cppunit_exec_prefix+set}" = set; then
52779 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52781 cppunit_config_exec_prefix=""
52785 if test x$cppunit_config_exec_prefix != x ; then
52786 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52787 if test x${CPPUNIT_CONFIG+set} != xset ; then
52788 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52791 if test x$cppunit_config_prefix != x ; then
52792 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52793 if test x${CPPUNIT_CONFIG+set} != xset ; then
52794 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52798 # Extract the first word of "cppunit-config", so it can be a program name with args.
52799 set dummy cppunit-config; ac_word=$2
52800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52802 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52803 echo $ECHO_N "(cached) $ECHO_C" >&6
52805 case $CPPUNIT_CONFIG in
52807 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52811 for as_dir in $PATH
52814 test -z "$as_dir" && as_dir=.
52815 for ac_exec_ext in '' $ac_executable_extensions; do
52816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52817 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52825 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52829 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52830 if test -n "$CPPUNIT_CONFIG"; then
52831 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52832 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52834 { echo "$as_me:$LINENO: result: no" >&5
52835 echo "${ECHO_T}no" >&6; }
52839 cppunit_version_min=1.8.0
52841 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52842 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52844 if test "$CPPUNIT_CONFIG" = "no" ; then
52845 { echo "$as_me:$LINENO: result: no" >&5
52846 echo "${ECHO_T}no" >&6; }
52849 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52850 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52851 cppunit_version=`$CPPUNIT_CONFIG --version`
52853 cppunit_major_version=`echo $cppunit_version | \
52854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52855 cppunit_minor_version=`echo $cppunit_version | \
52856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52857 cppunit_micro_version=`echo $cppunit_version | \
52858 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52860 cppunit_major_min=`echo $cppunit_version_min | \
52861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52862 cppunit_minor_min=`echo $cppunit_version_min | \
52863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52864 cppunit_micro_min=`echo $cppunit_version_min | \
52865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52867 cppunit_version_proper=`expr \
52868 $cppunit_major_version \
> $cppunit_major_min \
| \
52869 $cppunit_major_version \
= $cppunit_major_min \
& \
52870 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52871 $cppunit_major_version \
= $cppunit_major_min \
& \
52872 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52873 $cppunit_micro_version \
>= $cppunit_micro_min `
52875 if test "$cppunit_version_proper" = "1" ; then
52876 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52877 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52879 { echo "$as_me:$LINENO: result: no" >&5
52880 echo "${ECHO_T}no" >&6; }
52885 if test "x$no_cppunit" = x ; then
52886 SUBDIRS="$SUBDIRS tests"
52897 for subdir in `echo $SUBDIRS`; do
52898 if test -d ${srcdir}/${subdir} ; then
52899 if test "$wxUSE_GUI" = "yes"; then
52900 if test ${subdir} = "samples"; then
52901 makefiles="samples/Makefile.in $makefiles"
52902 for sample in `echo $SAMPLES_SUBDIRS`; do
52903 if test -d $srcdir/samples/$sample; then
52904 makefiles="samples/$sample/Makefile.in $makefiles"
52908 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52909 eval "disabled=\$$disabled_var"
52910 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52911 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52913 else if test ${subdir} = "samples"; then
52914 makefiles="samples/Makefile.in samples/console/Makefile.in"
52915 elif test ${subdir} = "utils"; then
52917 for util in HelpGen tex2rtf ; do
52918 if test -d $srcdir/utils/$util ; then
52919 makefiles="utils/$util/Makefile.in \
52920 utils/$util/src/Makefile.in \
52924 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52928 for mkin in $makefiles ; do
52929 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52930 ac_config_files="$ac_config_files $mk"
52936 cat >confcache <<\_ACEOF
52937 # This file is a shell script that caches the results of configure
52938 # tests run on this system so they can be shared between configure
52939 # scripts and configure runs, see configure's option --config-cache.
52940 # It is not useful on other systems. If it contains results you don't
52941 # want to keep, you may remove or edit it.
52943 # config.status only pays attention to the cache file if you give it
52944 # the --recheck option to rerun configure.
52946 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52948 # following values.
52952 # The following way of writing the cache mishandles newlines in values,
52953 # but we know of no workaround that is simple, portable, and efficient.
52954 # So, we kill variables containing newlines.
52955 # Ultrix sh set writes to stderr and can't be redirected directly,
52956 # and sets the high bit in the cache file unless we assign to the vars.
52958 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52959 eval ac_val
=\$
$ac_var
52963 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52964 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52967 _
| IFS
| as_nl
) ;; #(
52968 *) $as_unset $ac_var ;;
52974 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52975 *${as_nl}ac_space
=\
*)
52976 # `set' does not quote correctly, so add quotes (double-quote
52977 # substitution turns \\\\ into \\, and sed turns \\ into \).
52980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52983 # `set' quotes correctly as required by POSIX, so do not add quotes.
52984 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52995 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52997 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52998 if test -w "$cache_file"; then
52999 test "x$cache_file" != "x/dev/null" &&
53000 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53001 echo "$as_me: updating cache $cache_file" >&6;}
53002 cat confcache
>$cache_file
53004 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53005 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53010 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53011 # Let make expand exec_prefix.
53012 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53014 DEFS
=-DHAVE_CONFIG_H
53018 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53019 # 1. Remove the extension, and $U if already installed.
53020 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53021 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53022 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53023 # will be set to the directory where LIBOBJS objects are built.
53024 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53025 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53027 LIBOBJS
=$ac_libobjs
53029 LTLIBOBJS
=$ac_ltlibobjs
53033 : ${CONFIG_STATUS=./config.status}
53034 ac_clean_files_save
=$ac_clean_files
53035 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53036 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53037 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53038 cat >$CONFIG_STATUS <<_ACEOF
53040 # Generated by $as_me.
53041 # Run this file to recreate the current configuration.
53042 # Compiler output produced by configure, useful for debugging
53043 # configure, is in config.log if it exists.
53046 ac_cs_recheck=false
53048 SHELL=\${CONFIG_SHELL-$SHELL}
53051 cat >>$CONFIG_STATUS <<\_ACEOF
53052 ## --------------------- ##
53053 ## M4sh Initialization. ##
53054 ## --------------------- ##
53056 # Be more Bourne compatible
53057 DUALCASE
=1; export DUALCASE
# for MKS sh
53058 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53061 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53062 # is contrary to our usage. Disable this feature.
53063 alias -g '${1+"$@"}'='"$@"'
53064 setopt NO_GLOB_SUBST
53066 case `(set -o) 2>/dev/null` in
53067 *posix
*) set -o posix
;;
53076 # Avoid depending upon Character Ranges.
53077 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53078 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53079 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53080 as_cr_digits
='0123456789'
53081 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53083 # The user is always right.
53084 if test "${PATH_SEPARATOR+set}" != set; then
53085 echo "#! /bin/sh" >conf$$.sh
53086 echo "exit 0" >>conf$$.sh
53088 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53096 # Support unset when possible.
53097 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53105 # We need space, tab and new line, in precisely that order. Quoting is
53106 # there to prevent editors from complaining about space-tab.
53107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53108 # splitting by setting IFS to empty value.)
53113 # Find who we are. Look in the path if we contain no directory separator.
53115 *[\\/]* ) as_myself
=$0 ;;
53116 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53117 for as_dir
in $PATH
53120 test -z "$as_dir" && as_dir
=.
53121 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53127 # We did not find ourselves, most probably we were run as `sh COMMAND'
53128 # in which case we are not to be found in the path.
53129 if test "x$as_myself" = x
; then
53132 if test ! -f "$as_myself"; then
53133 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53134 { (exit 1); exit 1; }
53137 # Work around bugs in pre-3.0 UWIN ksh.
53138 for as_var
in ENV MAIL MAILPATH
53139 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53147 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53148 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53149 LC_TELEPHONE LC_TIME
53151 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53152 eval $as_var=C
; export $as_var
53154 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53158 # Required to use basename.
53159 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53160 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53166 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53167 as_basename
=basename
53173 # Name of the executable.
53174 as_me
=`$as_basename -- "$0" ||
53175 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53176 X"$0" : 'X\(//\)$' \| \
53177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53179 sed '/^.*\/\([^/][^/]*\)\/*$/{
53198 as_lineno_1
=$LINENO
53199 as_lineno_2
=$LINENO
53200 test "x$as_lineno_1" != "x$as_lineno_2" &&
53201 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53203 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53204 # uniformly replaced by the line number. The first 'sed' inserts a
53205 # line-number line after each line using $LINENO; the second 'sed'
53206 # does the real work. The second script uses 'N' to pair each
53207 # line-number line with the line containing $LINENO, and appends
53208 # trailing '-' during substitution so that $LINENO is not a special
53209 # case at line end.
53210 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53211 # scripts with optimization help from Paolo Bonzini. Blame Lee
53212 # E. McMahon (1931-1989) for sed's syntax. :-)
53224 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53227 ' >$as_me.lineno
&&
53228 chmod +x
"$as_me.lineno" ||
53229 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53230 { (exit 1); exit 1; }; }
53232 # Don't try to exec as it changes $[0], causing all sort of problems
53233 # (the dirname of $[0] is not the place where we might find the
53234 # original and so on. Autoconf is especially sensitive to this).
53235 .
"./$as_me.lineno"
53236 # Exit status is that of the last command.
53241 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53247 ECHO_C
= ECHO_N
= ECHO_T
=
53248 case `echo -n x` in
53250 case `echo 'x\c'` in
53251 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53258 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53259 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53265 rm -f conf$$ conf$$.exe conf$$.
file
53266 if test -d conf$$.dir
; then
53267 rm -f conf$$.dir
/conf$$.
file
53273 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53275 # ... but there are two gotchas:
53276 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53277 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53278 # In both cases, we have to default to `cp -p'.
53279 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53281 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53286 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53287 rmdir conf$$.dir
2>/dev
/null
53289 if mkdir -p .
2>/dev
/null
; then
53292 test -d .
/-p && rmdir .
/-p
53296 if test -x / >/dev
/null
2>&1; then
53297 as_test_x
='test -x'
53299 if ls -dL / >/dev
/null
2>&1; then
53306 if test -d "$1"; then
53312 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53313 ???[sx]*):;;*)false;;esac;fi
53317 as_executable_p
=$as_test_x
53319 # Sed expression to map a string onto a valid CPP name.
53320 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53322 # Sed expression to map a string onto a valid variable name.
53323 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53328 # Save the log message, to keep $[0] and so on meaningful, and to
53329 # report actual input values of CONFIG_FILES etc. instead of their
53330 # values after options handling.
53332 This file was extended by wxWidgets $as_me 2.9.0, which was
53333 generated by GNU Autoconf 2.61. Invocation command line was
53335 CONFIG_FILES = $CONFIG_FILES
53336 CONFIG_HEADERS = $CONFIG_HEADERS
53337 CONFIG_LINKS = $CONFIG_LINKS
53338 CONFIG_COMMANDS = $CONFIG_COMMANDS
53341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53346 cat >>$CONFIG_STATUS <<_ACEOF
53347 # Files that config.status was made for.
53348 config_files="$ac_config_files"
53349 config_headers="$ac_config_headers"
53350 config_commands="$ac_config_commands"
53354 cat >>$CONFIG_STATUS <<\_ACEOF
53356 \`$as_me' instantiates files from templates according to the
53357 current configuration.
53359 Usage: $0 [OPTIONS] [FILE]...
53361 -h, --help print this help, then exit
53362 -V, --version print version number and configuration settings, then exit
53363 -q, --quiet do not print progress messages
53364 -d, --debug don't remove temporary files
53365 --recheck update $as_me by reconfiguring in the same conditions
53366 --file=FILE[:TEMPLATE]
53367 instantiate the configuration file FILE
53368 --header=FILE[:TEMPLATE]
53369 instantiate the configuration header FILE
53371 Configuration files:
53374 Configuration headers:
53377 Configuration commands:
53380 Report bugs to <bug-autoconf@gnu.org>."
53383 cat >>$CONFIG_STATUS <<_ACEOF
53385 wxWidgets config.status 2.9.0
53386 configured by $0, generated by GNU Autoconf 2.61,
53387 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53389 Copyright (C) 2006 Free Software Foundation, Inc.
53390 This config.status script is free software; the Free Software Foundation
53391 gives unlimited permission to copy, distribute and modify it."
53398 cat >>$CONFIG_STATUS <<\_ACEOF
53399 # If no file are specified by the user, then we need to provide default
53400 # value. By we need to know if files were specified by the user.
53406 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53407 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53418 # Handling of the options.
53419 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53421 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53422 echo "$ac_cs_version"; exit ;;
53423 --debug | --debu | --deb | --de | --d | -d )
53425 --file | --fil | --fi | --f )
53427 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53428 ac_need_defaults
=false
;;
53429 --header | --heade | --head | --hea )
53431 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53432 ac_need_defaults
=false
;;
53434 # Conflict between --help and --header
53435 { echo "$as_me: error: ambiguous option: $1
53436 Try \`$0 --help' for more information." >&2
53437 { (exit 1); exit 1; }; };;
53438 --help | --hel | -h )
53439 echo "$ac_cs_usage"; exit ;;
53440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53441 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53444 # This is an error.
53445 -*) { echo "$as_me: error: unrecognized option: $1
53446 Try \`$0 --help' for more information." >&2
53447 { (exit 1); exit 1; }; } ;;
53449 *) ac_config_targets
="$ac_config_targets $1"
53450 ac_need_defaults
=false
;;
53456 ac_configure_extra_args
=
53458 if $ac_cs_silent; then
53460 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53464 cat >>$CONFIG_STATUS <<_ACEOF
53465 if \$ac_cs_recheck; then
53466 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53467 CONFIG_SHELL=$SHELL
53468 export CONFIG_SHELL
53469 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53473 cat >>$CONFIG_STATUS <<\_ACEOF
53477 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53478 ## Running $as_me. ##
53484 cat >>$CONFIG_STATUS <<_ACEOF
53490 infile="$srcdir/include/wx/msw/genrcdefs.h"
53491 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53494 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53495 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53496 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53502 cat >>$CONFIG_STATUS <<\_ACEOF
53504 # Handling of arguments.
53505 for ac_config_target
in $ac_config_targets
53507 case $ac_config_target in
53508 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53509 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53510 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53511 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53512 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53513 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53514 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53515 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53517 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53518 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53519 { (exit 1); exit 1; }; };;
53524 # If the user did not use the arguments to specify the items to instantiate,
53525 # then the envvar interface is used. Set only those that are not.
53526 # We use the long form for the default assignment because of an extremely
53527 # bizarre bug on SunOS 4.1.3.
53528 if $ac_need_defaults; then
53529 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53530 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53531 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53534 # Have a temporary directory for convenience. Make it in the build tree
53535 # simply because there is no reason against having it here, and in addition,
53536 # creating and moving files from /tmp can sometimes cause problems.
53537 # Hook for its removal unless debugging.
53538 # Note that there is a small window in which the directory will not be cleaned:
53539 # after its creation but before its name has been assigned to `$tmp'.
53543 trap 'exit_status=$?
53544 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53546 trap '{ (exit 1); exit 1; }' 1 2 13 15
53548 # Create a (secure) tmp directory for tmp files.
53551 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53552 test -n "$tmp" && test -d "$tmp"
53555 tmp
=.
/conf$$
-$RANDOM
53556 (umask 077 && mkdir "$tmp")
53559 echo "$me: cannot create a temporary directory in ." >&2
53560 { (exit 1); exit 1; }
53564 # Set up the sed scripts for CONFIG_FILES section.
53567 # No need to generate the scripts if there are no CONFIG_FILES.
53568 # This happens for instance when ./config.status config.h
53569 if test -n "$CONFIG_FILES"; then
53576 for ac_last_try
in false false false false false
:; do
53577 cat >conf$
$subs.
sed <<_ACEOF
53578 SHELL!$SHELL$ac_delim
53579 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53580 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53581 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53582 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53583 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53584 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53585 exec_prefix!$exec_prefix$ac_delim
53586 prefix!$prefix$ac_delim
53587 program_transform_name!$program_transform_name$ac_delim
53588 bindir!$bindir$ac_delim
53589 sbindir!$sbindir$ac_delim
53590 libexecdir!$libexecdir$ac_delim
53591 datarootdir!$datarootdir$ac_delim
53592 datadir!$datadir$ac_delim
53593 sysconfdir!$sysconfdir$ac_delim
53594 sharedstatedir!$sharedstatedir$ac_delim
53595 localstatedir!$localstatedir$ac_delim
53596 includedir!$includedir$ac_delim
53597 oldincludedir!$oldincludedir$ac_delim
53598 docdir!$docdir$ac_delim
53599 infodir!$infodir$ac_delim
53600 htmldir!$htmldir$ac_delim
53601 dvidir!$dvidir$ac_delim
53602 pdfdir!$pdfdir$ac_delim
53603 psdir!$psdir$ac_delim
53604 libdir!$libdir$ac_delim
53605 localedir!$localedir$ac_delim
53606 mandir!$mandir$ac_delim
53607 DEFS!$DEFS$ac_delim
53608 ECHO_C!$ECHO_C$ac_delim
53609 ECHO_N!$ECHO_N$ac_delim
53610 ECHO_T!$ECHO_T$ac_delim
53611 LIBS!$LIBS$ac_delim
53612 build_alias!$build_alias$ac_delim
53613 host_alias!$host_alias$ac_delim
53614 target_alias!$target_alias$ac_delim
53615 build!$build$ac_delim
53616 build_cpu!$build_cpu$ac_delim
53617 build_vendor!$build_vendor$ac_delim
53618 build_os!$build_os$ac_delim
53619 host!$host$ac_delim
53620 host_cpu!$host_cpu$ac_delim
53621 host_vendor!$host_vendor$ac_delim
53622 host_os!$host_os$ac_delim
53623 target!$target$ac_delim
53624 target_cpu!$target_cpu$ac_delim
53625 target_vendor!$target_vendor$ac_delim
53626 target_os!$target_os$ac_delim
53627 wx_top_builddir!$wx_top_builddir$ac_delim
53629 CFLAGS!$CFLAGS$ac_delim
53630 LDFLAGS!$LDFLAGS$ac_delim
53631 CPPFLAGS!$CPPFLAGS$ac_delim
53632 ac_ct_CC!$ac_ct_CC$ac_delim
53633 EXEEXT!$EXEEXT$ac_delim
53634 OBJEXT!$OBJEXT$ac_delim
53636 GREP!$GREP$ac_delim
53637 EGREP!$EGREP$ac_delim
53639 CXXFLAGS!$CXXFLAGS$ac_delim
53640 ac_ct_CXX!$ac_ct_CXX$ac_delim
53642 subdirs!$subdirs$ac_delim
53643 PKG_CONFIG!$PKG_CONFIG$ac_delim
53644 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53645 GTK_LIBS!$GTK_LIBS$ac_delim
53646 GTK_CONFIG!$GTK_CONFIG$ac_delim
53647 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53648 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53649 XMKMF!$XMKMF$ac_delim
53650 X_CFLAGS!$X_CFLAGS$ac_delim
53651 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53652 X_LIBS!$X_LIBS$ac_delim
53653 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53654 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53655 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53656 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53657 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53658 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53659 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53660 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53661 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53662 LIBICONV!$LIBICONV$ac_delim
53663 SDL_CONFIG!$SDL_CONFIG$ac_delim
53664 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53665 SDL_LIBS!$SDL_LIBS$ac_delim
53666 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53667 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53668 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53669 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53670 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53671 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53672 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53673 HILDON_LIBS!$HILDON_LIBS$ac_delim
53674 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53677 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53679 elif $ac_last_try; then
53680 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53681 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53682 { (exit 1); exit 1; }; }
53684 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53688 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53689 if test -n "$ac_eof"; then
53690 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53691 ac_eof
=`expr $ac_eof + 1`
53694 cat >>$CONFIG_STATUS <<_ACEOF
53695 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53699 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53700 s/^/s,@/; s/!/@,|#_!!_#|/
53703 s/'"$ac_delim"'$/,g/; t
53705 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53706 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53707 rm -f conf$
$subs.
sed
53708 cat >>$CONFIG_STATUS <<_ACEOF
53714 for ac_last_try
in false false false false false
:; do
53715 cat >conf$
$subs.
sed <<_ACEOF
53716 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53717 GST_CFLAGS!$GST_CFLAGS$ac_delim
53718 GST_LIBS!$GST_LIBS$ac_delim
53719 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53720 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53721 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53722 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53723 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53724 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53725 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53726 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53727 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53728 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53729 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53730 VENDOR!$VENDOR$ac_delim
53731 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53732 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53733 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53734 WXUNIV!$WXUNIV$ac_delim
53735 MONOLITHIC!$MONOLITHIC$ac_delim
53736 USE_PLUGINS!$USE_PLUGINS$ac_delim
53737 CXXWARNINGS!$CXXWARNINGS$ac_delim
53738 EXTRALIBS!$EXTRALIBS$ac_delim
53739 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53740 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53741 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53742 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53743 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53744 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53745 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53746 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53747 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53748 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53749 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53750 UNICODE!$UNICODE$ac_delim
53751 BUILD!$BUILD$ac_delim
53752 DEBUG_INFO!$DEBUG_INFO$ac_delim
53753 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53754 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53755 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53756 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53757 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53758 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53759 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53760 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53761 RANLIB!$RANLIB$ac_delim
53762 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53763 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53764 INSTALL_DATA!$INSTALL_DATA$ac_delim
53765 LN_S!$LN_S$ac_delim
53766 SET_MAKE!$SET_MAKE$ac_delim
53767 MAKE_SET!$MAKE_SET$ac_delim
53768 AROPTIONS!$AROPTIONS$ac_delim
53769 STRIP!$STRIP$ac_delim
53771 INSTALL_DIR!$INSTALL_DIR$ac_delim
53772 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53773 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53774 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53775 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53776 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53777 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53778 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53779 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53780 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53781 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53782 SO_SUFFIX!$SO_SUFFIX$ac_delim
53783 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53784 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53785 LIBPREFIX!$LIBPREFIX$ac_delim
53786 LIBEXT!$LIBEXT$ac_delim
53787 DLLPREFIX!$DLLPREFIX$ac_delim
53788 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53789 dlldir!$dlldir$ac_delim
53790 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53791 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53792 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53793 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53794 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53795 PIC_FLAG!$PIC_FLAG$ac_delim
53796 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53797 USE_SOVERSION!$USE_SOVERSION$ac_delim
53798 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53799 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53800 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53801 USE_MACVERSION!$USE_MACVERSION$ac_delim
53802 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53803 SONAME_FLAG!$SONAME_FLAG$ac_delim
53804 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53805 BK_DEPS!$BK_DEPS$ac_delim
53806 WINDRES!$WINDRES$ac_delim
53808 SETFILE!$SETFILE$ac_delim
53809 GCC_PCH!$GCC_PCH$ac_delim
53810 ICC_PCH!$ICC_PCH$ac_delim
53811 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53812 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53815 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53817 elif $ac_last_try; then
53818 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53819 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53820 { (exit 1); exit 1; }; }
53822 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53826 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53827 if test -n "$ac_eof"; then
53828 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53829 ac_eof
=`expr $ac_eof + 1`
53832 cat >>$CONFIG_STATUS <<_ACEOF
53833 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53837 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53838 s/^/s,@/; s/!/@,|#_!!_#|/
53841 s/'"$ac_delim"'$/,g/; t
53843 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53844 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53845 rm -f conf$
$subs.
sed
53846 cat >>$CONFIG_STATUS <<_ACEOF
53852 for ac_last_try
in false false false false false
:; do
53853 cat >conf$
$subs.
sed <<_ACEOF
53854 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53855 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53856 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53857 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53858 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53859 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53860 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53861 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53862 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53863 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53864 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53865 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53866 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53867 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53868 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53869 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53870 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53871 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53875 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53877 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53878 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53879 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53880 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53881 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53882 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53888 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53889 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53890 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53891 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53892 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53893 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53894 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53895 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53896 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53897 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53898 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53899 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53900 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53901 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53902 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53903 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53904 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53905 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53906 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53907 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53908 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53909 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53910 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53911 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53912 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53913 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53914 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53915 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53916 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53917 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53918 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53919 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53920 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53921 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53922 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53923 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53924 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53925 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53926 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53927 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53928 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53929 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53930 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53931 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53932 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53933 COND_SHARED_0!$COND_SHARED_0$ac_delim
53934 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53935 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53936 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53937 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53938 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53939 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53940 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53941 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53942 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53943 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53944 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53945 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53946 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53947 COND_SHARED_1!$COND_SHARED_1$ac_delim
53948 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53949 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53950 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53953 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53955 elif $ac_last_try; then
53956 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53957 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53958 { (exit 1); exit 1; }; }
53960 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53964 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53965 if test -n "$ac_eof"; then
53966 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53967 ac_eof
=`expr $ac_eof + 1`
53970 cat >>$CONFIG_STATUS <<_ACEOF
53971 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53975 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53976 s/^/s,@/; s/!/@,|#_!!_#|/
53979 s/'"$ac_delim"'$/,g/; t
53981 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53982 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53983 rm -f conf$
$subs.
sed
53984 cat >>$CONFIG_STATUS <<_ACEOF
53990 for ac_last_try
in false false false false false
:; do
53991 cat >conf$
$subs.
sed <<_ACEOF
53992 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53993 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53994 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53995 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53996 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53997 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53999 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54001 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54002 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54003 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54004 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54005 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54006 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54007 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54008 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54009 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54010 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54011 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54012 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54013 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54014 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54015 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54016 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54017 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54018 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54019 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54020 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54021 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54022 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54023 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54024 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54025 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54026 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54027 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54028 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54029 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54030 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54031 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54032 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54033 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54034 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54035 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54036 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54037 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54038 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54039 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54040 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54041 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54042 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54043 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54044 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54045 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54046 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54047 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54048 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54049 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54050 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54051 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54052 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54053 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54054 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54055 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54056 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54057 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54058 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54059 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54060 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54061 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54062 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54063 DEREZ!$DEREZ$ac_delim
54064 SHARED!$SHARED$ac_delim
54065 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54066 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54067 USE_GUI!$USE_GUI$ac_delim
54068 AFMINSTALL!$AFMINSTALL$ac_delim
54069 WIN32INSTALL!$WIN32INSTALL$ac_delim
54070 TOOLKIT!$TOOLKIT$ac_delim
54071 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54072 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54073 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54074 cross_compiling!$cross_compiling$ac_delim
54075 WIDGET_SET!$WIDGET_SET$ac_delim
54076 WX_RELEASE!$WX_RELEASE$ac_delim
54077 WX_VERSION!$WX_VERSION$ac_delim
54078 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54079 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54080 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54081 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54082 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54083 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54084 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54085 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54086 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54087 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54088 EXE_LINKER!$EXE_LINKER$ac_delim
54091 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54093 elif $ac_last_try; then
54094 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54095 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54096 { (exit 1); exit 1; }; }
54098 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54102 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54103 if test -n "$ac_eof"; then
54104 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54105 ac_eof
=`expr $ac_eof + 1`
54108 cat >>$CONFIG_STATUS <<_ACEOF
54109 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54110 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54113 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54114 s/^/s,@/; s/!/@,|#_!!_#|/
54117 s/'"$ac_delim"'$/,g/; t
54119 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54120 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54121 rm -f conf$
$subs.
sed
54122 cat >>$CONFIG_STATUS <<_ACEOF
54128 for ac_last_try
in false false false false false
:; do
54129 cat >conf$
$subs.
sed <<_ACEOF
54130 GUIDIST!$GUIDIST$ac_delim
54131 DISTDIR!$DISTDIR$ac_delim
54132 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54133 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54134 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54135 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54136 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54137 RESCOMP!$RESCOMP$ac_delim
54138 RESFLAGS!$RESFLAGS$ac_delim
54139 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54140 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54141 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54142 LIBWXMACRES!$LIBWXMACRES$ac_delim
54143 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54144 MACSETFILE!$MACSETFILE$ac_delim
54146 DLLTOOL!$DLLTOOL$ac_delim
54147 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54148 LIBOBJS!$LIBOBJS$ac_delim
54149 LTLIBOBJS!$LTLIBOBJS$ac_delim
54152 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
54154 elif $ac_last_try; then
54155 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54156 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54157 { (exit 1); exit 1; }; }
54159 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54163 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54164 if test -n "$ac_eof"; then
54165 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54166 ac_eof
=`expr $ac_eof + 1`
54169 cat >>$CONFIG_STATUS <<_ACEOF
54170 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54171 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54174 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54175 s/^/s,@/; s/!/@,|#_!!_#|/
54178 s/'"$ac_delim"'$/,g/; t
54180 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54181 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54182 rm -f conf$
$subs.
sed
54183 cat >>$CONFIG_STATUS <<_ACEOF
54190 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54191 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54192 # trailing colons and then remove the whole line if VPATH becomes empty
54193 # (actually we leave an empty line to preserve line numbers).
54194 if test "x$srcdir" = x.
; then
54195 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54196 s/:*\$(srcdir):*/:/
54197 s/:*\${srcdir}:*/:/
54199 s/^\([^=]*=[ ]*\):*/\1/
54205 cat >>$CONFIG_STATUS <<\_ACEOF
54206 fi # test -n "$CONFIG_FILES"
54209 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54212 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54214 case $ac_mode$ac_tag in
54216 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54217 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54218 { (exit 1); exit 1; }; };;
54219 :[FH
]-) ac_tag
=-:-;;
54220 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54237 -) ac_f
="$tmp/stdin";;
54238 *) # Look for the file first in the build tree, then in the source tree
54239 # (if the path is not absolute). The absolute path cannot be DOS-style,
54240 # because $ac_f cannot contain `:'.
54244 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54246 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54247 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54248 { (exit 1); exit 1; }; };;
54250 ac_file_inputs
="$ac_file_inputs $ac_f"
54253 # Let's still pretend it is `configure' which instantiates (i.e., don't
54254 # use $as_me), people would be surprised to read:
54255 # /* config.h. Generated by config.status. */
54256 configure_input
="Generated from "`IFS=:
54257 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54258 if test x
"$ac_file" != x
-; then
54259 configure_input
="$ac_file. $configure_input"
54260 { echo "$as_me:$LINENO: creating $ac_file" >&5
54261 echo "$as_me: creating $ac_file" >&6;}
54265 *:-:* | *:-) cat >"$tmp/stdin";;
54270 ac_dir
=`$as_dirname -- "$ac_file" ||
54271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54272 X"$ac_file" : 'X\(//\)[^/]' \| \
54273 X"$ac_file" : 'X\(//\)$' \| \
54274 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54280 /^X\(\/\/\)[^/].*/{
54295 -*) as_dir
=.
/$as_dir;;
54297 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54301 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54302 *) as_qdir
=$as_dir;;
54304 as_dirs
="'$as_qdir' $as_dirs"
54305 as_dir
=`$as_dirname -- "$as_dir" ||
54306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54307 X"$as_dir" : 'X\(//\)[^/]' \| \
54308 X"$as_dir" : 'X\(//\)$' \| \
54309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54315 /^X\(\/\/\)[^/].*/{
54328 test -d "$as_dir" && break
54330 test -z "$as_dirs" || eval "mkdir $as_dirs"
54331 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54332 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54333 { (exit 1); exit 1; }; }; }
54337 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54339 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54340 # A ".." for each directory in $ac_dir_suffix.
54341 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54342 case $ac_top_builddir_sub in
54343 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54344 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54347 ac_abs_top_builddir
=$ac_pwd
54348 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54349 # for backward compatibility:
54350 ac_top_builddir
=$ac_top_build_prefix
54353 .
) # We are building in place.
54355 ac_top_srcdir
=$ac_top_builddir_sub
54356 ac_abs_top_srcdir
=$ac_pwd ;;
54357 [\\/]* | ?
:[\\/]* ) # Absolute name.
54358 ac_srcdir
=$srcdir$ac_dir_suffix;
54359 ac_top_srcdir
=$srcdir
54360 ac_abs_top_srcdir
=$srcdir ;;
54361 *) # Relative name.
54362 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54363 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54364 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54366 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54376 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54377 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54381 cat >>$CONFIG_STATUS <<\_ACEOF
54382 # If the template does not know about datarootdir, expand it.
54383 # FIXME: This hack should be removed a few years after 2.60.
54384 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54386 case `sed -n '/datarootdir/ {
54395 ' $ac_file_inputs` in
54396 *datarootdir
*) ac_datarootdir_seen
=yes;;
54397 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54398 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54399 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54401 cat >>$CONFIG_STATUS <<_ACEOF
54402 ac_datarootdir_hack='
54403 s&@datadir@&$datadir&g
54404 s&@docdir@&$docdir&g
54405 s&@infodir@&$infodir&g
54406 s&@localedir@&$localedir&g
54407 s&@mandir@&$mandir&g
54408 s&\\\${datarootdir}&$datarootdir&g' ;;
54412 # Neutralize VPATH when `$srcdir' = `.'.
54413 # Shell code in configure.ac might set extrasub.
54414 # FIXME: do we really want to maintain this feature?
54415 cat >>$CONFIG_STATUS <<_ACEOF
54419 cat >>$CONFIG_STATUS <<\_ACEOF
54421 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54422 s
&@configure_input@
&$configure_input&;t t
54423 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54424 s
&@srcdir@
&$ac_srcdir&;t t
54425 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54426 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54427 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54428 s
&@builddir@
&$ac_builddir&;t t
54429 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54430 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54431 s
&@INSTALL@
&$ac_INSTALL&;t t
54432 $ac_datarootdir_hack
54433 " $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
54435 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54436 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54437 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54438 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54439 which seems to be undefined. Please make sure it is defined." >&5
54440 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54441 which seems to be undefined. Please make sure it is defined." >&2;}
54445 -) cat "$tmp/out"; rm -f "$tmp/out";;
54446 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54455 # Transform confdefs.h into a sed script `conftest.defines', that
54456 # substitutes the proper values into config.h.in to produce config.h.
54457 rm -f conftest.defines conftest.
tail
54458 # First, append a space to every undef/define line, to ease matching.
54459 echo 's/$/ /' >conftest.defines
54460 # Then, protect against being on the right side of a sed subst, or in
54461 # an unquoted here document, in config.status. If some macros were
54462 # called several times there might be several #defines for the same
54463 # symbol, which is useless. But do not sort them, since the last
54464 # AC_DEFINE must be honored.
54465 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54466 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54467 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54468 # PARAMS is the parameter list in the macro definition--in most cases, it's
54469 # just an empty string.
54470 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54471 ac_dB
='\\)[ (].*,\\1define\\2'
54479 s/^[ ]*#[ ]*define[ ][ ]*//
54484 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54485 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54486 ' >>conftest.defines
54488 # Remove the space that was appended to ease matching.
54489 # Then replace #undef with comments. This is necessary, for
54490 # example, in the case of _POSIX_SOURCE, which is predefined and required
54491 # on some systems where configure will not decide to define it.
54492 # (The regexp can be short, since the line contains either #define or #undef.)
54494 s,^[ #]*u.*,/* & */,' >>conftest.defines
54496 # Break up conftest.defines:
54497 ac_max_sed_lines
=50
54499 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54500 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54501 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54503 ac_in
='$ac_file_inputs'
54504 ac_out
='"$tmp/out1"'
54505 ac_nxt
='"$tmp/out2"'
54509 # Write a here document:
54510 cat >>$CONFIG_STATUS <<_ACEOF
54511 # First, check the format of the line:
54512 cat >"\$tmp/defines.sed" <<\\CEOF
54513 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54514 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54518 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54520 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54521 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54522 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54523 grep . conftest.
tail >/dev
/null
|| break
54524 rm -f conftest.defines
54525 mv conftest.
tail conftest.defines
54527 rm -f conftest.defines conftest.
tail
54529 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54530 cat >>$CONFIG_STATUS <<\_ACEOF
54531 if test x
"$ac_file" != x
-; then
54532 echo "/* $configure_input */" >"$tmp/config.h"
54533 cat "$ac_result" >>"$tmp/config.h"
54534 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54535 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54536 echo "$as_me: $ac_file is unchanged" >&6;}
54539 mv "$tmp/config.h" $ac_file
54542 echo "/* $configure_input */"
54548 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54549 echo "$as_me: executing $ac_file commands" >&6;}
54554 case $ac_file$ac_mode in
54556 mkdir -p $outdir &&
54557 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54559 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54560 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54561 "wx-config":C
) rm -f wx
-config
54562 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54569 { (exit 0); exit 0; }
54571 chmod +x
$CONFIG_STATUS
54572 ac_clean_files
=$ac_clean_files_save
54575 # configure is writing to config.log, and then calls config.status.
54576 # config.status does its own redirection, appending to config.log.
54577 # Unfortunately, on DOS this fails, as config.log is still kept open
54578 # by configure, so config.status won't be able to write to it; its
54579 # output is simply discarded. So we exec the FD to /dev/null,
54580 # effectively closing config.log, so it can be properly (re)opened and
54581 # appended to by config.status. When coming back to configure, we
54582 # need to make the FD available again.
54583 if test "$no_create" != yes; then
54585 ac_config_status_args
=
54586 test "$silent" = yes &&
54587 ac_config_status_args
="$ac_config_status_args --quiet"
54589 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54591 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54592 # would make configure fail if this is the last instruction.
54593 $ac_cs_success || { (exit 1); exit 1; }
54597 # CONFIG_SUBDIRS section.
54599 if test "$no_recursion" != yes; then
54601 # Remove --cache-file and --srcdir arguments so they do not pile up.
54602 ac_sub_configure_args
=
54604 eval "set x $ac_configure_args"
54608 if test -n "$ac_prev"; then
54613 -cache-file | --cache-file | --cache-fil | --cache-fi \
54614 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54615 ac_prev
=cache_file
;;
54616 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54617 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54620 --config-cache | -C)
54622 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54624 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54626 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54628 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54632 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54634 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54638 # Always prepend --prefix to ensure using the same prefix
54639 # in subdir configurations.
54640 ac_arg
="--prefix=$prefix"
54642 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54644 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54647 if test "$silent" = yes; then
54648 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54652 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54654 # Do not complain, so a configure script can configure whichever
54655 # parts of a large source tree are present.
54656 test -d "$srcdir/$ac_dir" || continue
54658 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54659 echo "$as_me:$LINENO: $ac_msg" >&5
54663 -*) as_dir
=.
/$as_dir;;
54665 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54669 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54670 *) as_qdir
=$as_dir;;
54672 as_dirs
="'$as_qdir' $as_dirs"
54673 as_dir
=`$as_dirname -- "$as_dir" ||
54674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54675 X"$as_dir" : 'X\(//\)[^/]' \| \
54676 X"$as_dir" : 'X\(//\)$' \| \
54677 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54683 /^X\(\/\/\)[^/].*/{
54696 test -d "$as_dir" && break
54698 test -z "$as_dirs" || eval "mkdir $as_dirs"
54699 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54700 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54701 { (exit 1); exit 1; }; }; }
54705 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54707 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54708 # A ".." for each directory in $ac_dir_suffix.
54709 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54710 case $ac_top_builddir_sub in
54711 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54712 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54715 ac_abs_top_builddir
=$ac_pwd
54716 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54717 # for backward compatibility:
54718 ac_top_builddir
=$ac_top_build_prefix
54721 .
) # We are building in place.
54723 ac_top_srcdir
=$ac_top_builddir_sub
54724 ac_abs_top_srcdir
=$ac_pwd ;;
54725 [\\/]* | ?
:[\\/]* ) # Absolute name.
54726 ac_srcdir
=$srcdir$ac_dir_suffix;
54727 ac_top_srcdir
=$srcdir
54728 ac_abs_top_srcdir
=$srcdir ;;
54729 *) # Relative name.
54730 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54731 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54732 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54734 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54739 # Check for guested configure; otherwise get Cygnus style configure.
54740 if test -f "$ac_srcdir/configure.gnu"; then
54741 ac_sub_configure
=$ac_srcdir/configure.gnu
54742 elif test -f "$ac_srcdir/configure"; then
54743 ac_sub_configure
=$ac_srcdir/configure
54744 elif test -f "$ac_srcdir/configure.in"; then
54745 # This should be Cygnus configure.
54746 ac_sub_configure
=$ac_aux_dir/configure
54748 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54749 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54753 # The recursion is here.
54754 if test -n "$ac_sub_configure"; then
54755 # Make the cache file name correct relative to the subdirectory.
54756 case $cache_file in
54757 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54758 *) # Relative name.
54759 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54762 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54763 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54764 # The eval makes quoting arguments work.
54765 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54766 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54767 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54768 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54769 { (exit 1); exit 1; }; }
54778 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54780 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54781 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54783 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54784 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54785 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54786 if test "$wxUSE_UNICODE" = "yes"; then
54787 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54788 echo " (using UTF-8)"
54790 echo " (using wchar_t)"
54796 echo " What level of wxWidgets compatibility should be enabled?"
54797 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54798 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54800 echo " Which libraries should wxWidgets use?"
54801 echo " STL ${wxUSE_STL}"
54802 echo " jpeg ${wxUSE_LIBJPEG-none}"
54803 echo " png ${wxUSE_LIBPNG-none}"
54804 echo " regex ${wxUSE_REGEX}"
54805 echo " tiff ${wxUSE_LIBTIFF-none}"
54806 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54807 echo " xpm ${wxUSE_LIBXPM-none}"
54809 echo " zlib ${wxUSE_ZLIB}"
54810 echo " odbc ${wxUSE_ODBC}"
54811 echo " expat ${wxUSE_EXPAT}"
54812 echo " libmspack ${wxUSE_LIBMSPACK}"
54813 echo " sdl ${wxUSE_LIBSDL}"